Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Curvature.Terms

States, and the terms of the expansion of det [[X, AΛB], [B'ΛA', Y]] #

For the coefficients step of the proof of Proposition B.2 (prop:identity) of VP ≠ VNP over every field [Ant26]. A state is a pair of finite sets of natural numbers, and its energy is ∑ (2 i + 1) over both sets (energy, lowStates). For a set T of inner indices, termMat T is the matrix whose determinant is the term of T in the expansion of det [[X, AΛB], [B'ΛA', Y]] (Matrix.det_sumElim_smul_add); it is a glued matrix (termMat_eq_glue, Matrix.glue), so the term is a product. In the paper's letters X = M₁, Y = M₂, A = F, A' = F', B = G, B' = −G' and Λ = D.

Main definitions #

Main results #

References #

def Cslib.Circuits.Arithmetic.Separation.Curvature.topRows {p : Type u_1} {q : Type u_2} {ρ : Type u_3} {R : Type u_4} [CommRing R] (X : Matrix p p R) (A : Matrix p ρ R) (Y : Matrix q q R) (B' : Matrix q ρ R) :
p ⊕ q → (p ⊕ q) ⊕ ρ ⊕ ρ → R

The upper rows (X, 0, A, 0) and (0, Y, 0, B') of the big matrix.

def Cslib.Circuits.Arithmetic.Separation.Curvature.lowRows {p : Type u_1} {q : Type u_2} {ρ : Type u_3} {R : Type u_4} [CommRing R] (A' : Matrix ρ p R) (B : Matrix ρ q R) :
ρ ⊕ ρ → (p ⊕ q) ⊕ ρ ⊕ ρ → R

The parts (0, −B, 0, 0) and (−A', 0, 0, 0) of the lower rows, without the factors from Λ.

def Cslib.Circuits.Arithmetic.Separation.Curvature.unitRows {p : Type u_1} {q : Type u_2} {ρ : Type u_3} [DecidableEq ρ] {R : Type u_4} [CommRing R] :
ρ ⊕ ρ → (p ⊕ q) ⊕ ρ ⊕ ρ → R

The parts of the lower rows with the entry 1.

def Cslib.Circuits.Arithmetic.Separation.Curvature.termMat {p : Type u_1} {q : Type u_2} {ρ : Type u_3} [DecidableEq ρ] {R : Type u_4} [CommRing R] (T : Finset (ρ ⊕ ρ)) (X : Matrix p p R) (A : Matrix p ρ R) (A' : Matrix ρ p R) (Y : Matrix q q R) (B : Matrix ρ q R) (B' : Matrix q ρ R) :
Matrix ((p ⊕ q) ⊕ ρ ⊕ ρ) ((p ⊕ q) ⊕ ρ ⊕ ρ) R

The matrix of the term of T: in the lower rows in T the first part is taken, in the others the entry 1.

def Cslib.Circuits.Arithmetic.Separation.Curvature.colGroup {p : Type u_1} {q : Type u_2} {ρ : Type u_3} :
(p ⊕ q) ⊕ ρ ⊕ ρ → Prop

Columns of the first group.

Instances For
    def Cslib.Circuits.Arithmetic.Separation.Curvature.rowGroup {p : Type u_1} {q : Type u_2} {ρ : Type u_3} (T : Finset (ρ ⊕ ρ)) :
    (p ⊕ q) ⊕ ρ ⊕ ρ → Prop

    Rows of the first group.

    Instances For
      @[instance_reducible]
      theorem Cslib.Circuits.Arithmetic.Separation.Curvature.termMat_eq_glue {p : Type u_1} {q : Type u_2} {ρ : Type u_3} [DecidableEq ρ] {R : Type u_4} [CommRing R] (T : Finset (ρ ⊕ ρ)) (X : Matrix p p R) (A : Matrix p ρ R) (A' : Matrix ρ p R) (Y : Matrix q q R) (B : Matrix ρ q R) (B' : Matrix q ρ R) :
      termMat T X A A' Y B B' = Matrix.glue (rowGroup T) colGroup (termMat T X A A' 0 0 0) (termMat T 0 0 0 Y B B')

      The matrix of a term falls into two blocks: one made of X, A, A' and one made of Y, B, B'.