Circuit flags and the defect ledger #
The definitions in this file isolate the two components of a circuit flag: the target dimension and the complementary defect dimension. The main identity is the reusable form of the manuscript's ledger
The wire-space flag associated with a semantic circuit.
Equations
Instances For
A gate is nonredundant when its output is not already in the preceding wire space. Minimal circuits have this property at every gate.
Equations
Instances For
theorem
UnrestrictedBooleanMul.N4.prefixGates_mono
{m r j k : ℕ}
{g : Fin r → ANF m}
(hjk : j ≤ k)
:
prefixGates g j ⊆ prefixGates g k
@[simp]
theorem
UnrestrictedBooleanMul.N4.finrank_inf_extension_le_one
{K : Type u_1}
{V : Type u_2}
[DivisionRing K]
[AddCommGroup V]
[Module K V]
[FiniteDimensional K V]
(A W : Submodule K V)
(x : V)
:
Intersecting a one-vector extension with any fixed ambient subspace can raise dimension by at most one. This is the linear-algebra core of “one gate buys at most one target dimension.”
theorem
UnrestrictedBooleanMul.N4.circuitFlag_finrank
{m r j : ℕ}
(C : Circuit m r)
(hj : j ≤ r)
(hnr : ∀ (i : Fin r), ↑i < j → NonredundantAt C i)
:
A nonredundant prefix of j AND gates has quotient dimension exactly
j modulo affine functions.
theorem
UnrestrictedBooleanMul.N4.circuit_flag_defect_count
{m r j : ℕ}
(C : Circuit m r)
(T : Submodule F₂ (ANF m))
(hj : j ≤ r)
(hnr : ∀ (i : Fin r), ↑i < j → NonredundantAt C i)
:
The manuscript identity j = t(V_j) + e(V_j) for a nonredundant circuit
prefix.