Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Flag.Para

Quadrangles in a metric on the matrices over F₂ #

Definitions for the step "Flat or contracting" of the proof of Theorem thm:alt in VP ≠ VNP over every field [Ant26] (module Nc.Flag.Para): Flag.nn w a W = |a, a + W|², the defect Flag.defect, and Flag.X p q S = p · dg S · q. The matrices X p q S for disjoint sets S in one frame (p, q) are the transversal families of Flag.Transversal.

Main definitions #

Main results #

@[reducible, inline]

Square matrices over F₂.

def Cslib.Circuits.Arithmetic.Separation.Flag.defect {m : ℕ} (w : Mt m → Mt m → ℝ) (a M N : Mt m) :

The squared sides minus the squared diagonals of the quadrangle a, a+M, a+M+N, a+N.

def Cslib.Circuits.Arithmetic.Separation.Flag.nn {m : ℕ} (w : Mt m → Mt m → ℝ) (a M : Mt m) :

The squared distance n_a(M) from a to a + M.

theorem Cslib.Circuits.Arithmetic.Separation.Flag.sum_defect {m : ℕ} {w : Mt m → Mt m → ℝ} (hw : ∀ (a b : Mt m), w a b = w b a) (M N : Mt m) :
∑ a : Mt m, defect w a M N = 2 * (∑ a : Mt m, nn w a M + ∑ a : Mt m, nn w a N - ∑ a : Mt m, nn w a (M + N))

The matrix of a set of indices in a frame.

theorem Cslib.Circuits.Arithmetic.Separation.Flag.X_union {m : ℕ} (p q : GLM (Fin m)) {S T : Finset (Fin m)} (h : Disjoint S T) :
X p q (S ∪ T) = X p q S + X p q T
theorem Cslib.Circuits.Arithmetic.Separation.Flag.exists_factor {m : ℕ} (M : Mt m) :
∃ (p : GLM (Fin m)) (q : GLM (Fin m)) (S : Finset (Fin m)), M = ↑p * dg S * ↑q

Every matrix is diagonal with entries 0 and 1 in some frame.

theorem Cslib.Circuits.Arithmetic.Separation.Flag.exists_X {m : ℕ} (M : Mt m) :
∃ (p : GLM (Fin m)) (q : GLM (Fin m)) (S : Finset (Fin m)), M = X p q S
noncomputable def Cslib.Circuits.Arithmetic.Separation.Flag.MD {m : ℕ} (w : Mt m → Mt m → ℝ) (E : Mt m) :

The sum of |a, a + p·E·q|² over all a and all invertible p, q.

theorem Cslib.Circuits.Arithmetic.Separation.Flag.MD_eq {m : ℕ} {w : Mt m → Mt m → ℝ} (S : Finset (Fin m)) :
MD w (dg S) = ∑ p : GLM (Fin m), ∑ q : GLM (Fin m), ∑ a : Mt m, nn w a (X p q S)
theorem Cslib.Circuits.Arithmetic.Separation.Flag.sum_all_defect {m : ℕ} {w : Mt m → Mt m → ℝ} (hw : ∀ (a b : Mt m), w a b = w b a) {S T : Finset (Fin m)} (h : Disjoint S T) :
∑ p : GLM (Fin m), ∑ q : GLM (Fin m), ∑ a : Mt m, defect w a (X p q S) (X p q T) = 2 * (MD w (dg S) + MD w (dg T) - MD w (dg (S ∪ T)))

The defects of the quadrangles with sides W = X p q S and W' = X p q T, added over all frames and all a.

noncomputable def Cslib.Circuits.Arithmetic.Separation.Flag.BB {m : ℕ} (w : Mt m → Mt m → ℝ) (a M N : Mt m) :

The scalar product B_a(M, N) = ½(n_a(M+N) − n_a(M) − n_a(N)).

theorem Cslib.Circuits.Arithmetic.Separation.Flag.BB_comm {m : ℕ} {w : Mt m → Mt m → ℝ} (a M N : Mt m) :
BB w a M N = BB w a N M