cfahlgren1's picture
download
raw
8.65 kB
import OAI.Analysis.MutuallyUnbiased.GramEntries.Block3Data
import OAI.Analysis.MutuallyUnbiased.GramFunctions.Block3
import OAI.Analysis.MutuallyUnbiased.GramRows.Block84
import OAI.Analysis.MutuallyUnbiased.GramRows.Block85
namespace OAI
namespace MUB6.Certificate.GramEntries.Block3
open GramRows GramNormalization GramPolynomial
open scoped BigOperators
def rows6_0 : Fin GramFunctions.Block3.form6.size → Integer.Sparse Key := ![row7790, row7791, row7792, row7793, row7794]
theorem entryCheck6_0 : entry6_0 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form6.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form6.terms k).coefficient) (rows6_0 k)) := by decide +kernel
theorem rowsSound6_0 (k : Fin GramFunctions.Block3.form6.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows6_0 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form6.terms k).tag (GramFunctions.Block3.form6.terms k).charge GramFunctions.Block3.form0) x := by
fin_cases k
· exact rowEval7790 x
· exact rowEval7791 x
· exact rowEval7792 x
· exact rowEval7793 x
· exact rowEval7794 x
theorem entryEval6_0 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry6_0 (GramNormalization.eval B) = GramFunctions.Block3.form6.mixedGram GramFunctions.Block3.form0 B := by
rw [entryCheck6_0, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form6 GramFunctions.Block3.form0 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound6_0]
def rows6_1 : Fin GramFunctions.Block3.form6.size → Integer.Sparse Key := ![row7795, row7796, row7797, row7798, row7799]
theorem entryCheck6_1 : entry6_1 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form6.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form6.terms k).coefficient) (rows6_1 k)) := by decide +kernel
theorem rowsSound6_1 (k : Fin GramFunctions.Block3.form6.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows6_1 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form6.terms k).tag (GramFunctions.Block3.form6.terms k).charge GramFunctions.Block3.form1) x := by
fin_cases k
· exact rowEval7795 x
· exact rowEval7796 x
· exact rowEval7797 x
· exact rowEval7798 x
· exact rowEval7799 x
theorem entryEval6_1 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry6_1 (GramNormalization.eval B) = GramFunctions.Block3.form6.mixedGram GramFunctions.Block3.form1 B := by
rw [entryCheck6_1, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form6 GramFunctions.Block3.form1 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound6_1]
def rows6_2 : Fin GramFunctions.Block3.form6.size → Integer.Sparse Key := ![row7800, row7801, row7802, row7803, row7804]
theorem entryCheck6_2 : entry6_2 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form6.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form6.terms k).coefficient) (rows6_2 k)) := by decide +kernel
theorem rowsSound6_2 (k : Fin GramFunctions.Block3.form6.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows6_2 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form6.terms k).tag (GramFunctions.Block3.form6.terms k).charge GramFunctions.Block3.form2) x := by
fin_cases k
· exact rowEval7800 x
· exact rowEval7801 x
· exact rowEval7802 x
· exact rowEval7803 x
· exact rowEval7804 x
theorem entryEval6_2 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry6_2 (GramNormalization.eval B) = GramFunctions.Block3.form6.mixedGram GramFunctions.Block3.form2 B := by
rw [entryCheck6_2, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form6 GramFunctions.Block3.form2 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound6_2]
def rows6_3 : Fin GramFunctions.Block3.form6.size → Integer.Sparse Key := ![row7805, row7806, row7807, row7808, row7809]
theorem entryCheck6_3 : entry6_3 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form6.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form6.terms k).coefficient) (rows6_3 k)) := by decide +kernel
theorem rowsSound6_3 (k : Fin GramFunctions.Block3.form6.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows6_3 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form6.terms k).tag (GramFunctions.Block3.form6.terms k).charge GramFunctions.Block3.form3) x := by
fin_cases k
· exact rowEval7805 x
· exact rowEval7806 x
· exact rowEval7807 x
· exact rowEval7808 x
· exact rowEval7809 x
theorem entryEval6_3 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry6_3 (GramNormalization.eval B) = GramFunctions.Block3.form6.mixedGram GramFunctions.Block3.form3 B := by
rw [entryCheck6_3, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form6 GramFunctions.Block3.form3 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound6_3]
def rows6_4 : Fin GramFunctions.Block3.form6.size → Integer.Sparse Key := ![row7810, row7811, row7812, row7813, row7814]
theorem entryCheck6_4 : entry6_4 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form6.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form6.terms k).coefficient) (rows6_4 k)) := by decide +kernel
theorem rowsSound6_4 (k : Fin GramFunctions.Block3.form6.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows6_4 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form6.terms k).tag (GramFunctions.Block3.form6.terms k).charge GramFunctions.Block3.form4) x := by
fin_cases k
· exact rowEval7810 x
· exact rowEval7811 x
· exact rowEval7812 x
· exact rowEval7813 x
· exact rowEval7814 x
theorem entryEval6_4 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry6_4 (GramNormalization.eval B) = GramFunctions.Block3.form6.mixedGram GramFunctions.Block3.form4 B := by
rw [entryCheck6_4, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form6 GramFunctions.Block3.form4 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound6_4]
def rows6_5 : Fin GramFunctions.Block3.form6.size → Integer.Sparse Key := ![row7815, row7816, row7817, row7818, row7819]
theorem entryCheck6_5 : entry6_5 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form6.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form6.terms k).coefficient) (rows6_5 k)) := by decide +kernel
theorem rowsSound6_5 (k : Fin GramFunctions.Block3.form6.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows6_5 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form6.terms k).tag (GramFunctions.Block3.form6.terms k).charge GramFunctions.Block3.form5) x := by
fin_cases k
· exact rowEval7815 x
· exact rowEval7816 x
· exact rowEval7817 x
· exact rowEval7818 x
· exact rowEval7819 x
theorem entryEval6_5 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry6_5 (GramNormalization.eval B) = GramFunctions.Block3.form6.mixedGram GramFunctions.Block3.form5 B := by
rw [entryCheck6_5, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form6 GramFunctions.Block3.form5 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound6_5]
def rows6_6 : Fin GramFunctions.Block3.form6.size → Integer.Sparse Key := ![row7820, row7821, row7822, row7823, row7824]
theorem entryCheck6_6 : entry6_6 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form6.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form6.terms k).coefficient) (rows6_6 k)) := by decide +kernel
theorem rowsSound6_6 (k : Fin GramFunctions.Block3.form6.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows6_6 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form6.terms k).tag (GramFunctions.Block3.form6.terms k).charge GramFunctions.Block3.form6) x := by
fin_cases k
· exact rowEval7820 x
· exact rowEval7821 x
· exact rowEval7822 x
· exact rowEval7823 x
· exact rowEval7824 x
theorem entryEval6_6 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry6_6 (GramNormalization.eval B) = GramFunctions.Block3.form6.mixedGram GramFunctions.Block3.form6 B := by
rw [entryCheck6_6, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form6 GramFunctions.Block3.form6 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound6_6]
end MUB6.Certificate.GramEntries.Block3
end OAI

Xet Storage Details

Size:
8.65 kB
·
Xet hash:
6e8daf85a1fb1fc0747252be2fd905490c1cd042424f160b67b3e35236b54ca6

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