Buckets:
| import Mathlib.Logic.Equiv.Fintype | |
| import OAI.Analysis.MutuallyUnbiased.MixedMoments.MixedReduction | |
| namespace OAI | |
| noncomputable section | |
| namespace MUB6 | |
| /-- Injective renaming, including adding unused labels, preserves the moment. -/ | |
| theorem mixedMoment_label_embedding {p n l k : ℕ} (hk : k ≤ 6) (B : Fin 7 → Basis) | |
| (A : Matrix (Fin p) (Fin n) ℤ) (e : Fin l ↪ Fin k) (label : Fin n → Fin l) : | |
| mixedMoment B A (e ∘ label) = mixedMoment B A label := by | |
| have hcard : l ≤ k := by | |
| simpa using Fintype.card_le_of_injective e e.injective | |
| induction k generalizing l with | |
| | zero => | |
| have hl : l = 0 := Nat.eq_zero_of_le_zero hcard | |
| subst l | |
| have he : e ∘ label = label := funext fun j => Fin.elim0 (label j) | |
| rw [he] | |
| | succ k ih => | |
| by_cases hl : l = k + 1 | |
| · subst l | |
| let σ : Equiv.Perm (Fin (k + 1)) := Equiv.ofBijective e | |
| ⟨e.injective, Finite.surjective_of_injective e.injective⟩ | |
| exact mixedMoment_label_permutation B A label σ | |
| · have hlk : l ≤ k := by omega | |
| let f : Fin l ↪ Fin k := Fin.castLEEmb hlk | |
| obtain ⟨σ, hσ⟩ := Equiv.Perm.exists_extending_pair | |
| (fun i => (f i).succ) e (fun _ _ h => f.injective (Fin.succ_inj.mp h)) e.injective | |
| have he : e ∘ label = σ ∘ (Fin.succ ∘ (f ∘ label)) := by | |
| funext j | |
| exact (hσ (label j)).symm | |
| rw [he, mixedMoment_label_permutation, | |
| mixedMoment_unused_first_label (show k < 6 by omega)] | |
| exact ih (by omega) f label hlk | |
| end MUB6 | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 1.58 kB
- Xet hash:
- f3ae2b4bb8dffeb46fce5055001fcfeda73c2e2c13380a1c061e4d2dad97eecc
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.