Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Flag.Transversal

Transversal matrices #

"We call W₁, W₂, … transversal if both their column spaces and their row spaces are independent." Flag.transversal_iff: this holds if and only if W_k = p · dg(S_k) · q for some invertible p, q and disjoint sets S_k.

From VP ≠ VNP over every field [Ant26], module Nc.Flag.Transversal (step "Flat or contracting").

Main definitions #

Main results #

The column space of a matrix.

The row space of a matrix.

"We call W₁, W₂, … transversal if both their column spaces and their row spaces are independent."

The transpose of an invertible matrix: Mathlib's transposeMulEquiv, unwrapped from the opposite group.

theorem Cslib.Circuits.Arithmetic.Separation.Flag.X_apply {m : ℕ} (p q : GLM (Fin m)) (S : Finset (Fin m)) (a b : Fin m) :
X p q S a b = ∑ i ∈ S, ↑p a i * ↑q i b
theorem Cslib.Circuits.Arithmetic.Separation.Flag.colSpace_X {m : ℕ} (p q : GLM (Fin m)) (S : Finset (Fin m)) :
colSpace (X p q S) = Submodule.span F2 ((↑p).col '' ↑S)

The column space of p·dg(S)·q is spanned by the columns of p in S.

theorem Cslib.Circuits.Arithmetic.Separation.Flag.iSupIndep_colSpace {m : ℕ} {ι : Type} (p q : GLM (Fin m)) (S : ι → Finset (Fin m)) (hd : ∀ (k l : ι), k ≠ l → Disjoint (S k) (S l)) :
iSupIndep fun (k : ι) => colSpace (X p q (S k))
theorem Cslib.Circuits.Arithmetic.Separation.Flag.exists_perm_comp {m : ℕ} {α : Type} (f g : α → Fin m) (hf : Function.Injective f) (hg : Function.Injective g) :
∃ (σ : Equiv.Perm (Fin m)), ∀ (k : α), σ (f k) = g k
theorem Cslib.Circuits.Arithmetic.Separation.Flag.exists_glm_col {m : ℕ} {α : Type} (v : α → Fin m → F2) (hv : LinearIndependent F2 v) (ε : α → Fin m) (hε : Function.Injective ε) :
∃ (P : GLM (Fin m)), ∀ (k : α), (↑P).col (ε k) = v k

Linearly independent vectors are columns, at given places, of an invertible matrix.

theorem Cslib.Circuits.Arithmetic.Separation.Flag.exists_glm_row {m : ℕ} {α : Type} (v : α → Fin m → F2) (hv : LinearIndependent F2 v) (ε : α → Fin m) (hε : Function.Injective ε) :
∃ (Q : GLM (Fin m)), ∀ (k : α), (↑Q).row (ε k) = v k

Linearly independent vectors are rows, at given places, of an invertible matrix.

theorem Cslib.Circuits.Arithmetic.Separation.Flag.linearIndependent_sigma {m : ℕ} {ι : Type} {W : ι → Mt m} (h : iSupIndep fun (k : ι) => colSpace (W k)) (p q : ι → GLM (Fin m)) (S : ι → Finset (Fin m)) (hW : ∀ (k : ι), W k = X (p k) (q k) (S k)) :
LinearIndependent F2 fun (x : (k : ι) × ↥(S k)) => (↑(p x.fst)).col ↑x.snd
theorem Cslib.Circuits.Arithmetic.Separation.Flag.transversal_iff {m : ℕ} {ι : Type} [Finite ι] (W : ι → Mt m) :
Transversal W ↔ ∃ (p : GLM (Fin m)) (q : GLM (Fin m)) (S : ι → Finset (Fin m)), (∀ (k l : ι), k ≠ l → Disjoint (S k) (S l)) ∧ ∀ (k : ι), W k = X p q (S k)

Matrices are transversal if and only if in some frame (p, q) they are diagonal, with entries 0 and 1 and with disjoint supports.