Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Flag.Uni

The unitriangular group: matrices, windows, blocks #

The matrix of an element of U h (Flag.mat) and its inverse construction (Flag.mk), and the windows: the embedding Flag.win of U n into U h on the indices p, …, p + n − 1.

From VP ≠ VNP over every field [Ant26], module Nc.Flag.Uni.

Main definitions #

Main results #

@[reducible, inline]

The matrix of an element.

theorem Cslib.Circuits.Arithmetic.Separation.Flag.mat_inj {h : ℕ} {A B : ↥(SLTower.U h)} (hAB : mat A = mat B) :
A = B
theorem Cslib.Circuits.Arithmetic.Separation.Flag.mat_lt {h : ℕ} (A : ↥(SLTower.U h)) {i j : Fin h} (hij : j < i) :
mat A i j = 0
def Cslib.Circuits.Arithmetic.Separation.Flag.mk {h : ℕ} (M : Matrix (Fin h) (Fin h) F2) (h0 : ∀ (i j : Fin h), j < i → M i j = 0) (h1 : ∀ (i : Fin h), M i i = 1) :
↥(SLTower.U h)

An element from its matrix.

theorem Cslib.Circuits.Arithmetic.Separation.Flag.mat_mk {h : ℕ} (M : Matrix (Fin h) (Fin h) F2) (h0 : ∀ (i j : Fin h), j < i → M i j = 0) (h1 : ∀ (i : Fin h), M i i = 1) :
mat (mk M h0 h1) = M
theorem Cslib.Circuits.Arithmetic.Separation.Flag.mul_sandwich {k c d e f : ℕ} (P : Matrix (Fin k) (Fin c) F2) (X : Matrix (Fin c) (Fin d) F2) (W : Matrix (Fin k) (Fin d) F2) (V : Matrix (Fin k) (Fin e) F2) (Y : Matrix (Fin e) (Fin f) F2) (Q : Matrix (Fin f) (Fin k) F2) :
P * X * W.transpose * (V * Y * Q) = P * (X * (W.transpose * V) * Y) * Q

Regrouping a product of two sandwiches P X Wᵀ and V Y Q around the middle factor Wᵀ V.

def Cslib.Circuits.Arithmetic.Separation.Flag.we {p n h : ℕ} (hp : p + n ≤ h) (i : Fin n) :
Fin h

The place of an index of a window.

theorem Cslib.Circuits.Arithmetic.Separation.Flag.we_inj {p n h : ℕ} (hp : p + n ≤ h) {i j : Fin n} :
we hp i = we hp j ↔ i = j
theorem Cslib.Circuits.Arithmetic.Separation.Flag.we_lt {p n h : ℕ} (hp : p + n ≤ h) {i j : Fin n} :
we hp i < we hp j ↔ i < j

The window as an embedding.

@[simp]
theorem Cslib.Circuits.Arithmetic.Separation.Flag.weEmb_apply {p n h : ℕ} (hp : p + n ≤ h) (a : Fin n) :
(weEmb hp) a = we hp a
@[reducible, inline]
abbrev Cslib.Circuits.Arithmetic.Separation.Flag.wi {p n h : ℕ} (hp : p + n ≤ h) :
Matrix (Fin h) (Fin n) F2

The inclusion matrix of a window.

theorem Cslib.Circuits.Arithmetic.Separation.Flag.wi_mul_apply {p n h : ℕ} (hp : p + n ≤ h) (A : Matrix (Fin n) (Fin n) F2) (i j : Fin h) :
(wi hp * A * (wi hp).transpose) i j = ∑ b : Fin n, ∑ a : Fin n, if i = we hp a ∧ j = we hp b then A a b else 0
theorem Cslib.Circuits.Arithmetic.Separation.Flag.wi_mul_we {p n h : ℕ} (hp : p + n ≤ h) (A : Matrix (Fin n) (Fin n) F2) (a b : Fin n) :
(wi hp * A * (wi hp).transpose) (we hp a) (we hp b) = A a b
theorem Cslib.Circuits.Arithmetic.Separation.Flag.wi_mul_not {p n h : ℕ} (hp : p + n ≤ h) (A : Matrix (Fin n) (Fin n) F2) {i : Fin h} (hi : ∀ (a : Fin n), i ≠ we hp a) (j : Fin h) :
(wi hp * A * (wi hp).transpose) i j = 0
theorem Cslib.Circuits.Arithmetic.Separation.Flag.wi_mul_not' {p n h : ℕ} (hp : p + n ≤ h) (A : Matrix (Fin n) (Fin n) F2) {j : Fin h} (hj : ∀ (a : Fin n), j ≠ we hp a) (i : Fin h) :
(wi hp * A * (wi hp).transpose) i j = 0
def Cslib.Circuits.Arithmetic.Separation.Flag.wm {p n h : ℕ} (hp : p + n ≤ h) (A : Matrix (Fin n) (Fin n) F2) :
Matrix (Fin h) (Fin h) F2

The matrix of a window element.

theorem Cslib.Circuits.Arithmetic.Separation.Flag.wm_one {p n h : ℕ} (hp : p + n ≤ h) :
wm hp 1 = 1
theorem Cslib.Circuits.Arithmetic.Separation.Flag.wm_mul {p n h : ℕ} (hp : p + n ≤ h) (A B : Matrix (Fin n) (Fin n) F2) :
wm hp (A * B) = wm hp A * wm hp B

The embedding of the unitriangular group of a window.

theorem Cslib.Circuits.Arithmetic.Separation.Flag.mat_win {p n h : ℕ} (hp : p + n ≤ h) (A : ↥(SLTower.U n)) :
mat ((win hp) A) = wm hp (mat A)
def Cslib.Circuits.Arithmetic.Separation.Flag.wt {p n h : ℕ} (hp : p + n ≤ h) (j : Fin (n - 1)) :
Fin (h - 1)

The place of a type of a window.

theorem Cslib.Circuits.Arithmetic.Separation.Flag.win_x {p n h : ℕ} (hp : p + n ≤ h) (j : Fin (n - 1)) :
(win hp) (SLTower.x n j) = SLTower.x h (wt hp j)