cfahlgren1's picture
download
raw
2.25 kB
import Mathlib.Tactic.FinCases
import OAI.Analysis.MutuallyUnbiased.Moments.MomentSymmetry
namespace OAI
/-! Small semantic steps used by the generated canonicalization traces. Each
step preserves the actual averaged injective moment. The finite side conditions
(state dimensions, permutation inverses, and zero entries) are checked separately.
-/
noncomputable section
namespace MUB6.Certificate
/-- Move a zero row to the front and delete it. -/
theorem moment_delete_zero_row {p q : ℕ} (hp : p < 6) (H : CMatrix)
(A : Matrix (Fin (p + 1)) (Fin q) ℤ) (σ : Equiv.Perm (Fin (p + 1)))
(hzero : ∀ j, A (σ 0) j = 0) :
injectiveMoment H A = injectiveMoment H (fun i j => A (σ i.succ) j) := by
calc
injectiveMoment H A = injectiveMoment H (fun i j => A (σ i) j) :=
(injectiveMoment_row_permutation H A σ).symm
_ = injectiveMoment H (fun i j => A (σ i.succ) j) :=
injectiveMoment_zero_first_row hp H _ hzero
/-- The column version uses the transpose symmetry already present in the
manuscript's normalization. -/
theorem moment_delete_zero_column {p q : ℕ} (hq : q < 6) (H : CMatrix)
(A : Matrix (Fin p) (Fin (q + 1)) ℤ) (σ : Equiv.Perm (Fin (q + 1)))
(hzero : ∀ i, A i (σ 0) = 0) :
injectiveMoment H A = injectiveMoment H (fun i j => A i (σ j.succ)) := by
calc
injectiveMoment H A = injectiveMoment H A.transpose :=
(injectiveMoment_transpose H A).symm
_ = injectiveMoment H (fun i j => A.transpose (σ i.succ) j) :=
moment_delete_zero_row hq H A.transpose σ hzero
_ = injectiveMoment H (fun i j => A i (σ j.succ)) :=
injectiveMoment_transpose H (fun i j => A i (σ j.succ))
/-- Simultaneous row and column relabeling. -/
theorem moment_permute {p q : ℕ} (H : CMatrix)
(A : Matrix (Fin p) (Fin q) ℤ)
(σ : Equiv.Perm (Fin p)) (τ : Equiv.Perm (Fin q)) :
injectiveMoment H A = injectiveMoment H (fun i j => A (σ i) (τ j)) := by
calc
injectiveMoment H A = injectiveMoment H (fun i j => A (σ i) j) :=
(injectiveMoment_row_permutation H A σ).symm
_ = injectiveMoment H (fun i j => A (σ i) (τ j)) :=
(injectiveMoment_column_permutation H (fun i j => A (σ i) j) τ).symm
end MUB6.Certificate
end
end OAI

Xet Storage Details

Size:
2.25 kB
·
Xet hash:
35e55c52d296189e180347336ca4db3a6bb8737be389d7045a2825bbfbcea00e

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.