cfahlgren1/math / lean /ComparatorChallenges /HadamardCubeFiber.lean
cfahlgren1's picture
download
raw
1.08 kB
import Mathlib
namespace OAI
/-! Cancellation of row ratios on a prescribed cubic fibre. -/
open scoped BigOperators Matrix
namespace HadamardSix
abbrev Index := Fin 6
abbrev Matrix6 := Matrix Index Index ℂ
def Unimodular (H : Matrix6) : Prop := ∀ i j, ‖H i j‖ = 1
def IsComplexHadamard (H : Matrix6) : Prop :=
Unimodular H ∧ H.conjTranspose * H = (6 : ℂ) • (1 : Matrix6)
def entrywiseSquare (H : Matrix6) : Matrix6 := fun i j => H i j ^ 2
noncomputable def cubeFiber (v : Index → ℂ) (z : ℂ) : Finset Index := by
classical
exact Finset.univ.filter (fun i => v i ^ 3 = z)
noncomputable def rowRatio (H : Matrix6) (i j : Index) : Index → ℂ :=
fun k => H i k * star (H j k)
lemma rowRatio_cubeFiber_sum_zero {H : Matrix6} (hH : IsComplexHadamard H)
(hs : IsComplexHadamard (entrywiseSquare H)) {i j : Index} (hij : i ≠ j)
(a b : ℂ) (hne : a ≠ b)
(hab : ∀ k, rowRatio H i j k ^ 3 = a ∨ rowRatio H i j k ^ 3 = b) :
∑ k ∈ cubeFiber (rowRatio H i j) a, H i k * star (H j k) = 0 := by
sorry
end HadamardSix
end OAI

Xet Storage Details

Size:
1.08 kB
·
Xet hash:
6cae47f0815805ff1cc8810574fe5b47e22f32420916397e760d1c095369b002

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