Identities with slots of one bit #
The identities Separation.Prices.WireId in the form in which the proof of Theorem G.2 (thm:laws)
of VP ≠ VNP over every field [Ant26] uses them: slots of one bit, and all roles see
all copies (Separation.Prices.BitId, Separation.Prices.WireId.bitId).
Main definitions #
Main results #
References #
- Anthropic, VP ≠ VNP over every field, paper and Lean formalization,
Theorem G.2 of the paper; module
Nc.Price.LawF
def Cslib.Circuits.Arithmetic.Separation.Prices.BitId (R : Type) [CommRing R] {V S N ι : Type} [Fintype V] [Fintype S] [Fintype N] [DecidableEq N] [Fintype ι] (a b : S → V) (c d : N → V) (len : ι → N → ℕ) (tab :
(p : V) →
(i : ι) →
({ e : S // a e = p ∨ b e = p } → Bool) → ((ν : { ν : N // c ν = p ∨ d ν = p }) → Fin (len i ↑ν) → Bool) → R) :
An identity that rewrites wires of one bit (slots): the form of Nc.G.Law.law.
theorem Cslib.Circuits.Arithmetic.Separation.Prices.WireId.bitId {R : Type} [CommRing R] {V E N ι : Type} [Fintype V] [Fintype E] [Fintype N] [DecidableEq N] [Fintype ι] {a b : E → V} {c d : N → V} {n : E → ℕ} {len : ι → N → ℕ} {tab :
(i : ι) →
(p : V) →
((e : { e : E // a e = p ∨ b e = p }) → Fin (n ↑e) → Bool) →
((ν : { ν : N // c ν = p ∨ d ν = p }) → Fin (len i ↑ν) → Bool) → R} (h : WireId R a b c d n len tab) :
BitId R (fun (s : (e : E) × Fin (n e)) => a s.fst) (fun (s : (e : E) × Fin (n e)) => b s.fst) c d len
fun (p : V) (i : ι) (x : { e : (e : E) × Fin (n e) // a e.fst = p ∨ b e.fst = p } → Bool)
(g : (ν : { ν : N // c ν = p ∨ d ν = p }) → Fin (len i ↑ν) → Bool) =>
tab i p (fun (e : { e : E // a e = p ∨ b e = p }) (k : Fin (n ↑e)) => x ⟨⟨↑e, k⟩, ⋯⟩) g
Wires of several bits are several wires of one bit.