cfahlgren1's picture
download
raw
16 kB
import OAI.Analysis.MutuallyUnbiased.GramEntries.Block3Data
import OAI.Analysis.MutuallyUnbiased.GramFunctions.Block3
import OAI.Analysis.MutuallyUnbiased.GramRows.Block91
import OAI.Analysis.MutuallyUnbiased.GramRows.Block92
namespace OAI
namespace MUB6.Certificate.GramEntries.Block3
open GramRows GramNormalization GramPolynomial
open scoped BigOperators
def rows11_0 : Fin GramFunctions.Block3.form11.size → Integer.Sparse Key := ![row8661, row8662, row8663, row8664, row8665, row8666, row8667, row8668]
theorem entryCheck11_0 : entry11_0 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form11.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form11.terms k).coefficient) (rows11_0 k)) := by decide +kernel
theorem rowsSound11_0 (k : Fin GramFunctions.Block3.form11.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows11_0 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form11.terms k).tag (GramFunctions.Block3.form11.terms k).charge GramFunctions.Block3.form0) x := by
fin_cases k
· exact rowEval8661 x
· exact rowEval8662 x
· exact rowEval8663 x
· exact rowEval8664 x
· exact rowEval8665 x
· exact rowEval8666 x
· exact rowEval8667 x
· exact rowEval8668 x
theorem entryEval11_0 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry11_0 (GramNormalization.eval B) = GramFunctions.Block3.form11.mixedGram GramFunctions.Block3.form0 B := by
rw [entryCheck11_0, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form11 GramFunctions.Block3.form0 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound11_0]
def rows11_1 : Fin GramFunctions.Block3.form11.size → Integer.Sparse Key := ![row8669, row8670, row8671, row8672, row8673, row8674, row8675, row8676]
theorem entryCheck11_1 : entry11_1 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form11.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form11.terms k).coefficient) (rows11_1 k)) := by decide +kernel
theorem rowsSound11_1 (k : Fin GramFunctions.Block3.form11.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows11_1 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form11.terms k).tag (GramFunctions.Block3.form11.terms k).charge GramFunctions.Block3.form1) x := by
fin_cases k
· exact rowEval8669 x
· exact rowEval8670 x
· exact rowEval8671 x
· exact rowEval8672 x
· exact rowEval8673 x
· exact rowEval8674 x
· exact rowEval8675 x
· exact rowEval8676 x
theorem entryEval11_1 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry11_1 (GramNormalization.eval B) = GramFunctions.Block3.form11.mixedGram GramFunctions.Block3.form1 B := by
rw [entryCheck11_1, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form11 GramFunctions.Block3.form1 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound11_1]
def rows11_2 : Fin GramFunctions.Block3.form11.size → Integer.Sparse Key := ![row8677, row8678, row8679, row8680, row8681, row8682, row8683, row8684]
theorem entryCheck11_2 : entry11_2 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form11.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form11.terms k).coefficient) (rows11_2 k)) := by decide +kernel
theorem rowsSound11_2 (k : Fin GramFunctions.Block3.form11.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows11_2 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form11.terms k).tag (GramFunctions.Block3.form11.terms k).charge GramFunctions.Block3.form2) x := by
fin_cases k
· exact rowEval8677 x
· exact rowEval8678 x
· exact rowEval8679 x
· exact rowEval8680 x
· exact rowEval8681 x
· exact rowEval8682 x
· exact rowEval8683 x
· exact rowEval8684 x
theorem entryEval11_2 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry11_2 (GramNormalization.eval B) = GramFunctions.Block3.form11.mixedGram GramFunctions.Block3.form2 B := by
rw [entryCheck11_2, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form11 GramFunctions.Block3.form2 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound11_2]
def rows11_3 : Fin GramFunctions.Block3.form11.size → Integer.Sparse Key := ![row8685, row8686, row8687, row8688, row8689, row8690, row8691, row8692]
theorem entryCheck11_3 : entry11_3 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form11.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form11.terms k).coefficient) (rows11_3 k)) := by decide +kernel
theorem rowsSound11_3 (k : Fin GramFunctions.Block3.form11.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows11_3 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form11.terms k).tag (GramFunctions.Block3.form11.terms k).charge GramFunctions.Block3.form3) x := by
fin_cases k
· exact rowEval8685 x
· exact rowEval8686 x
· exact rowEval8687 x
· exact rowEval8688 x
· exact rowEval8689 x
· exact rowEval8690 x
· exact rowEval8691 x
· exact rowEval8692 x
theorem entryEval11_3 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry11_3 (GramNormalization.eval B) = GramFunctions.Block3.form11.mixedGram GramFunctions.Block3.form3 B := by
rw [entryCheck11_3, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form11 GramFunctions.Block3.form3 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound11_3]
def rows11_4 : Fin GramFunctions.Block3.form11.size → Integer.Sparse Key := ![row8693, row8694, row8695, row8696, row8697, row8698, row8699, row8700]
theorem entryCheck11_4 : entry11_4 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form11.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form11.terms k).coefficient) (rows11_4 k)) := by decide +kernel
theorem rowsSound11_4 (k : Fin GramFunctions.Block3.form11.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows11_4 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form11.terms k).tag (GramFunctions.Block3.form11.terms k).charge GramFunctions.Block3.form4) x := by
fin_cases k
· exact rowEval8693 x
· exact rowEval8694 x
· exact rowEval8695 x
· exact rowEval8696 x
· exact rowEval8697 x
· exact rowEval8698 x
· exact rowEval8699 x
· exact rowEval8700 x
theorem entryEval11_4 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry11_4 (GramNormalization.eval B) = GramFunctions.Block3.form11.mixedGram GramFunctions.Block3.form4 B := by
rw [entryCheck11_4, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form11 GramFunctions.Block3.form4 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound11_4]
def rows11_5 : Fin GramFunctions.Block3.form11.size → Integer.Sparse Key := ![row8701, row8702, row8703, row8704, row8705, row8706, row8707, row8708]
theorem entryCheck11_5 : entry11_5 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form11.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form11.terms k).coefficient) (rows11_5 k)) := by decide +kernel
theorem rowsSound11_5 (k : Fin GramFunctions.Block3.form11.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows11_5 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form11.terms k).tag (GramFunctions.Block3.form11.terms k).charge GramFunctions.Block3.form5) x := by
fin_cases k
· exact rowEval8701 x
· exact rowEval8702 x
· exact rowEval8703 x
· exact rowEval8704 x
· exact rowEval8705 x
· exact rowEval8706 x
· exact rowEval8707 x
· exact rowEval8708 x
theorem entryEval11_5 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry11_5 (GramNormalization.eval B) = GramFunctions.Block3.form11.mixedGram GramFunctions.Block3.form5 B := by
rw [entryCheck11_5, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form11 GramFunctions.Block3.form5 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound11_5]
def rows11_6 : Fin GramFunctions.Block3.form11.size → Integer.Sparse Key := ![row8709, row8710, row8711, row8712, row8713, row8714, row8715, row8716]
theorem entryCheck11_6 : entry11_6 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form11.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form11.terms k).coefficient) (rows11_6 k)) := by decide +kernel
theorem rowsSound11_6 (k : Fin GramFunctions.Block3.form11.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows11_6 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form11.terms k).tag (GramFunctions.Block3.form11.terms k).charge GramFunctions.Block3.form6) x := by
fin_cases k
· exact rowEval8709 x
· exact rowEval8710 x
· exact rowEval8711 x
· exact rowEval8712 x
· exact rowEval8713 x
· exact rowEval8714 x
· exact rowEval8715 x
· exact rowEval8716 x
theorem entryEval11_6 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry11_6 (GramNormalization.eval B) = GramFunctions.Block3.form11.mixedGram GramFunctions.Block3.form6 B := by
rw [entryCheck11_6, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form11 GramFunctions.Block3.form6 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound11_6]
def rows11_7 : Fin GramFunctions.Block3.form11.size → Integer.Sparse Key := ![row8717, row8718, row8719, row8720, row8721, row8722, row8723, row8724]
theorem entryCheck11_7 : entry11_7 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form11.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form11.terms k).coefficient) (rows11_7 k)) := by decide +kernel
theorem rowsSound11_7 (k : Fin GramFunctions.Block3.form11.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows11_7 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form11.terms k).tag (GramFunctions.Block3.form11.terms k).charge GramFunctions.Block3.form7) x := by
fin_cases k
· exact rowEval8717 x
· exact rowEval8718 x
· exact rowEval8719 x
· exact rowEval8720 x
· exact rowEval8721 x
· exact rowEval8722 x
· exact rowEval8723 x
· exact rowEval8724 x
theorem entryEval11_7 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry11_7 (GramNormalization.eval B) = GramFunctions.Block3.form11.mixedGram GramFunctions.Block3.form7 B := by
rw [entryCheck11_7, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form11 GramFunctions.Block3.form7 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound11_7]
def rows11_8 : Fin GramFunctions.Block3.form11.size → Integer.Sparse Key := ![row8725, row8726, row8727, row8728, row8729, row8730, row8731, row8732]
theorem entryCheck11_8 : entry11_8 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form11.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form11.terms k).coefficient) (rows11_8 k)) := by decide +kernel
theorem rowsSound11_8 (k : Fin GramFunctions.Block3.form11.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows11_8 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form11.terms k).tag (GramFunctions.Block3.form11.terms k).charge GramFunctions.Block3.form8) x := by
fin_cases k
· exact rowEval8725 x
· exact rowEval8726 x
· exact rowEval8727 x
· exact rowEval8728 x
· exact rowEval8729 x
· exact rowEval8730 x
· exact rowEval8731 x
· exact rowEval8732 x
theorem entryEval11_8 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry11_8 (GramNormalization.eval B) = GramFunctions.Block3.form11.mixedGram GramFunctions.Block3.form8 B := by
rw [entryCheck11_8, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form11 GramFunctions.Block3.form8 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound11_8]
def rows11_9 : Fin GramFunctions.Block3.form11.size → Integer.Sparse Key := ![row8733, row8734, row8735, row8736, row8737, row8738, row8739, row8740]
theorem entryCheck11_9 : entry11_9 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form11.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form11.terms k).coefficient) (rows11_9 k)) := by decide +kernel
theorem rowsSound11_9 (k : Fin GramFunctions.Block3.form11.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows11_9 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form11.terms k).tag (GramFunctions.Block3.form11.terms k).charge GramFunctions.Block3.form9) x := by
fin_cases k
· exact rowEval8733 x
· exact rowEval8734 x
· exact rowEval8735 x
· exact rowEval8736 x
· exact rowEval8737 x
· exact rowEval8738 x
· exact rowEval8739 x
· exact rowEval8740 x
theorem entryEval11_9 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry11_9 (GramNormalization.eval B) = GramFunctions.Block3.form11.mixedGram GramFunctions.Block3.form9 B := by
rw [entryCheck11_9, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form11 GramFunctions.Block3.form9 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound11_9]
def rows11_10 : Fin GramFunctions.Block3.form11.size → Integer.Sparse Key := ![row8741, row8742, row8743, row8744, row8745, row8746, row8747, row8748]
theorem entryCheck11_10 : entry11_10 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form11.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form11.terms k).coefficient) (rows11_10 k)) := by decide +kernel
theorem rowsSound11_10 (k : Fin GramFunctions.Block3.form11.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows11_10 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form11.terms k).tag (GramFunctions.Block3.form11.terms k).charge GramFunctions.Block3.form10) x := by
fin_cases k
· exact rowEval8741 x
· exact rowEval8742 x
· exact rowEval8743 x
· exact rowEval8744 x
· exact rowEval8745 x
· exact rowEval8746 x
· exact rowEval8747 x
· exact rowEval8748 x
theorem entryEval11_10 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry11_10 (GramNormalization.eval B) = GramFunctions.Block3.form11.mixedGram GramFunctions.Block3.form10 B := by
rw [entryCheck11_10, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form11 GramFunctions.Block3.form10 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound11_10]
def rows11_11 : Fin GramFunctions.Block3.form11.size → Integer.Sparse Key := ![row8749, row8750, row8751, row8752, row8753, row8754, row8755, row8756]
theorem entryCheck11_11 : entry11_11 =
Integer.Sparse.collectLevels keyLess GramFunctions.Block3.form11.size
(List.ofFn fun k => Integer.Sparse.scale ((GramFunctions.Block3.form11.terms k).coefficient) (rows11_11 k)) := by decide +kernel
theorem rowsSound11_11 (k : Fin GramFunctions.Block3.form11.size) (x : Key → ℝ) :
Integer.Sparse.eval (rows11_11 k) x =
Integer.Sparse.eval (normalizedRow (GramFunctions.Block3.form11.terms k).tag (GramFunctions.Block3.form11.terms k).charge GramFunctions.Block3.form11) x := by
fin_cases k
· exact rowEval8749 x
· exact rowEval8750 x
· exact rowEval8751 x
· exact rowEval8752 x
· exact rowEval8753 x
· exact rowEval8754 x
· exact rowEval8755 x
· exact rowEval8756 x
theorem entryEval11_11 (B : Fin 7 → Basis) (hB : IsMUBFamily B) :
Integer.Sparse.eval entry11_11 (GramNormalization.eval B) = GramFunctions.Block3.form11.mixedGram GramFunctions.Block3.form11 B := by
rw [entryCheck11_11, collectWeightedRows_eval, mixedGram_eq_rows GramFunctions.Block3.form11 GramFunctions.Block3.form11 B hB]
apply Finset.sum_congr rfl
intro k _
rw [rowsSound11_11]
end MUB6.Certificate.GramEntries.Block3
end OAI

Xet Storage Details

Size:
16 kB
·
Xet hash:
85fac8b8b6142068cb04b10960ea15f28c883f67565ceb62acbf6cfb7b0412e6

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