Add lean source and binary files (part 30)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup14.leanAdded+929
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup15.leanAdded+1087
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup16.leanAdded+934
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup17.leanAdded+927
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup18.leanAdded+927
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup19.leanAdded+931
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup2.leanAdded+930
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup20.leanAdded+925
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup21.leanAdded+928
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup22.leanAdded+929
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup23.leanAdded+927
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup24.leanAdded+928
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup25.leanAdded+935
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup26.leanAdded+1088
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup27.leanAdded+928
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup28.leanAdded+928
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup29.leanAdded+927
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup3.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup30.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup31.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup32.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup4.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup5.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup6.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup7.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup8.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup9.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SinglePriority.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleRules.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons10.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons18.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons19.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons20.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons21.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons22.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons23.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons36.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons39.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons40.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons41.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons43.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons44.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons45.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons46.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons48.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons49.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons50.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons57.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons58.leanAdded
- lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons59.leanAdded
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929import OAI.Analysis.MutuallyUnbiased.MixedSemantics.GroupedColumnsimport OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes3import OAI.Analysis.MutuallyUnbiased.MixedSemantics.SingleRulesimport OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical13import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical14import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical249import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical26import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical27import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical28import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical280import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical281import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical282import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound0import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound10import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound17import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound2import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound20import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound22import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound3import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound35import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound43import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound5
namespace OAI
namespace MUB6.Certificate.MixedSemantics
open scoped BigOperators
def singlePairValue232 : Sparse (Fin 909) := [(0, (47 / 864)), (1, (-35 / 288)), (2, (-25 / 216)), (3, (-10 / 27)), (5, (-5 / 216)), (6, (5 / 432)), (12, (-5 / 54)), (13, (-10 / 27)), (35, (-5 / 54)), (52, (-5 / 27))]
theorem singlePair232 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node232 node232Labels = Sparse.eval singlePairValue232 (familyPairVector B) := by have hp := single_label_three B hB node232 have hl : node232Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node232 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node232 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node232 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node232 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node232 (EqualityPatterns.family3.label 1) = PairSemantics.raw879 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node232 PairSemantics.raw879; decide +kernel rw [heq] exact (PairSemantics.canonical879 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node232 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node232 (EqualityPatterns.family3.label 2) = PairSemantics.raw9031 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node232 PairSemantics.raw9031; decide +kernel rw [heq] exact (PairSemantics.canonical9031 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node232 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value383 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node232 (EqualityPatterns.family3.label 3) = PairSemantics.raw866 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node232 PairSemantics.raw866; decide +kernel rw [heq] exact (PairSemantics.canonical866 hH).trans (PairSemantics.sound383 hH) have hm4 : familyPairMoment B (groupedColumns node232 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2790 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node232 (EqualityPatterns.family3.label 4) = PairSemantics.raw437 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node232 PairSemantics.raw437; decide +kernel rw [heq] exact (PairSemantics.canonical437 hH).trans (PairSemantics.sound2790 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue232, PairSemantics.value0, PairSemantics.value10, PairSemantics.value65, PairSemantics.value383, PairSemantics.value2790, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue233 : Sparse (Fin 909) := [(0, (13 / 288)), (1, (5 / 432)), (2, (185 / 864)), (5, (5 / 216)), (13, (5 / 54)), (35, (5 / 54))]
theorem singlePair233 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node233 node233Labels = Sparse.eval singlePairValue233 (familyPairVector B) := by have hp := single_label_three B hB node233 have hl : node233Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node233 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node233 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node233 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node233 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value3 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node233 (EqualityPatterns.family3.label 1) = PairSemantics.raw881 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node233 PairSemantics.raw881; decide +kernel rw [heq] exact (PairSemantics.canonical881 hH).trans (PairSemantics.sound3 hH) have hm2 : familyPairMoment B (groupedColumns node233 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node233 (EqualityPatterns.family3.label 2) = PairSemantics.raw9030 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node233 PairSemantics.raw9030; decide +kernel rw [heq] exact (PairSemantics.canonical9030 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node233 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node233 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node233 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node233 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1287 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node233 (EqualityPatterns.family3.label 4) = PairSemantics.raw438 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node233 PairSemantics.raw438; decide +kernel rw [heq] exact (PairSemantics.canonical438 hH).trans (PairSemantics.sound1287 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue233, PairSemantics.value0, PairSemantics.value3, PairSemantics.value65, PairSemantics.value118, PairSemantics.value1287, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue234 : Sparse (Fin 909) := [(0, (19 / 432)), (1, (-5 / 288)), (2, (-5 / 144)), (3, (5 / 54)), (6, (-5 / 864)), (13, (5 / 54)), (52, (5 / 54))]
theorem singlePair234 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node234 node234Labels = Sparse.eval singlePairValue234 (familyPairVector B) := by have hp := single_label_three B hB node234 have hl : node234Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node234 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node234 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node234 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node234 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node234 (EqualityPatterns.family3.label 1) = PairSemantics.raw886 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node234 PairSemantics.raw886; decide +kernel rw [heq] exact (PairSemantics.canonical886 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node234 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node234 (EqualityPatterns.family3.label 2) = PairSemantics.raw9025 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node234 PairSemantics.raw9025; decide +kernel rw [heq] exact (PairSemantics.canonical9025 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node234 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node234 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node234 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node234 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1138 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node234 (EqualityPatterns.family3.label 4) = PairSemantics.raw439 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node234 PairSemantics.raw439; decide +kernel rw [heq] exact (PairSemantics.canonical439 hH).trans (PairSemantics.sound1138 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue234, PairSemantics.value0, PairSemantics.value10, PairSemantics.value65, PairSemantics.value118, PairSemantics.value1138, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue235 : Sparse (Fin 909) := [(0, (5 / 144)), (1, (-5 / 108)), (2, (-5 / 288)), (3, (5 / 27)), (5, (5 / 216)), (6, (-5 / 864)), (12, (5 / 54)), (13, (5 / 18)), (35, (5 / 54)), (52, (5 / 54))]
theorem singlePair235 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node235 node235Labels = Sparse.eval singlePairValue235 (familyPairVector B) := by have hp := single_label_three B hB node235 have hl : node235Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node235 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node235 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node235 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node235 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node235 (EqualityPatterns.family3.label 1) = PairSemantics.raw896 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node235 PairSemantics.raw896; decide +kernel rw [heq] exact (PairSemantics.canonical896 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node235 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node235 (EqualityPatterns.family3.label 2) = PairSemantics.raw9018 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node235 PairSemantics.raw9018; decide +kernel rw [heq] exact (PairSemantics.canonical9018 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node235 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node235 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node235 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node235 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value662 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node235 (EqualityPatterns.family3.label 4) = PairSemantics.raw440 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node235 PairSemantics.raw440; decide +kernel rw [heq] exact (PairSemantics.canonical440 hH).trans (PairSemantics.sound662 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue235, PairSemantics.value0, PairSemantics.value10, PairSemantics.value11, PairSemantics.value118, PairSemantics.value662, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue236 : Sparse (Fin 909) := [(0, (5 / 144)), (1, (-35 / 432)), (2, (-35 / 432)), (6, (5 / 432)), (13, (-5 / 27)), (52, (-5 / 27))]
theorem singlePair236 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node236 node236Labels = Sparse.eval singlePairValue236 (familyPairVector B) := by have hp := single_label_three B hB node236 have hl : node236Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node236 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node236 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node236 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node236 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node236 (EqualityPatterns.family3.label 1) = PairSemantics.raw898 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node236 PairSemantics.raw898; decide +kernel rw [heq] exact (PairSemantics.canonical898 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node236 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node236 (EqualityPatterns.family3.label 2) = PairSemantics.raw9013 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node236 PairSemantics.raw9013; decide +kernel rw [heq] exact (PairSemantics.canonical9013 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node236 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node236 (EqualityPatterns.family3.label 3) = PairSemantics.raw869 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node236 PairSemantics.raw869; decide +kernel rw [heq] exact (PairSemantics.canonical869 hH).trans (PairSemantics.sound24 hH) have hm4 : familyPairMoment B (groupedColumns node236 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value187 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node236 (EqualityPatterns.family3.label 4) = PairSemantics.raw441 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node236 PairSemantics.raw441; decide +kernel rw [heq] exact (PairSemantics.canonical441 hH).trans (PairSemantics.sound187 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue236, PairSemantics.value0, PairSemantics.value10, PairSemantics.value11, PairSemantics.value24, PairSemantics.value187, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue237 : Sparse (Fin 909) := [(0, (5 / 144)), (1, (-5 / 216)), (2, (85 / 432)), (5, (-5 / 108)), (13, (-5 / 27)), (35, (-5 / 27))]
theorem singlePair237 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node237 node237Labels = Sparse.eval singlePairValue237 (familyPairVector B) := by have hp := single_label_three B hB node237 have hl : node237Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node237 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node237 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node237 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node237 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value3 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node237 (EqualityPatterns.family3.label 1) = PairSemantics.raw887 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node237 PairSemantics.raw887; decide +kernel rw [heq] exact (PairSemantics.canonical887 hH).trans (PairSemantics.sound3 hH) have hm2 : familyPairMoment B (groupedColumns node237 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node237 (EqualityPatterns.family3.label 2) = PairSemantics.raw9032 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node237 PairSemantics.raw9032; decide +kernel rw [heq] exact (PairSemantics.canonical9032 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node237 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node237 (EqualityPatterns.family3.label 3) = PairSemantics.raw872 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node237 PairSemantics.raw872; decide +kernel rw [heq] exact (PairSemantics.canonical872 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node237 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value214 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node237 (EqualityPatterns.family3.label 4) = PairSemantics.raw442 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node237 PairSemantics.raw442; decide +kernel rw [heq] exact (PairSemantics.canonical442 hH).trans (PairSemantics.sound214 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue237, PairSemantics.value0, PairSemantics.value3, PairSemantics.value11, PairSemantics.value25, PairSemantics.value214, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue238 : Sparse (Fin 909) := [(0, (25 / 864)), (1, (35 / 864)), (2, (5 / 288)), (3, (-20 / 27)), (4, (-5 / 54)), (5, (5 / 216)), (6, (-5 / 864)), (12, (-10 / 27)), (13, (-25 / 27)), (26, (-5 / 54)), (32, (-5 / 54)), (33, (5 / 18)), (34, (-5 / 54)), (35, (-5 / 27)), (51, (5 / 18)), (52, (-5 / 54)), (54, (5 / 9)), (56, (5 / 18)), (60, (-5 / 54)), (61, (5 / 18)), (62, (5 / 18))]
theorem singlePair238 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node238 node238Labels = Sparse.eval singlePairValue238 (familyPairVector B) := by have hp := single_label_three B hB node238 have hl : node238Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node238 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node238 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node238 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node238 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node238 (EqualityPatterns.family3.label 1) = PairSemantics.raw913 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node238 PairSemantics.raw913; decide +kernel rw [heq] exact (PairSemantics.canonical913 hH).trans (PairSemantics.sound26 hH) have hm2 : familyPairMoment B (groupedColumns node238 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node238 (EqualityPatterns.family3.label 2) = PairSemantics.raw8960 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node238 PairSemantics.raw8960; decide +kernel rw [heq] exact (PairSemantics.canonical8960 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node238 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node238 (EqualityPatterns.family3.label 3) = PairSemantics.raw859 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node238 PairSemantics.raw859; decide +kernel rw [heq] exact (PairSemantics.canonical859 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node238 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1413 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node238 (EqualityPatterns.family3.label 4) = PairSemantics.raw443 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node238 PairSemantics.raw443; decide +kernel rw [heq] exact (PairSemantics.canonical443 hH).trans (PairSemantics.sound1413 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue238, PairSemantics.value0, PairSemantics.value26, PairSemantics.value46, PairSemantics.value118, PairSemantics.value1413, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue239 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (35 / 864)), (2, (5 / 864)), (3, (5 / 27)), (6, (5 / 432)), (13, (5 / 27)), (26, (5 / 54)), (34, (5 / 54)), (35, (5 / 27)), (52, (5 / 54)), (60, (5 / 54))]
theorem singlePair239 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node239 node239Labels = Sparse.eval singlePairValue239 (familyPairVector B) := by have hp := single_label_three B hB node239 have hl : node239Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node239 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node239 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node239 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node239 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node239 (EqualityPatterns.family3.label 1) = PairSemantics.raw912 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node239 PairSemantics.raw912; decide +kernel rw [heq] exact (PairSemantics.canonical912 hH).trans (PairSemantics.sound26 hH) have hm2 : familyPairMoment B (groupedColumns node239 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node239 (EqualityPatterns.family3.label 2) = PairSemantics.raw8962 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node239 PairSemantics.raw8962; decide +kernel rw [heq] exact (PairSemantics.canonical8962 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node239 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node239 (EqualityPatterns.family3.label 3) = PairSemantics.raw860 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node239 PairSemantics.raw860; decide +kernel rw [heq] exact (PairSemantics.canonical860 hH).trans (PairSemantics.sound24 hH) have hm4 : familyPairMoment B (groupedColumns node239 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value349 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node239 (EqualityPatterns.family3.label 4) = PairSemantics.raw444 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node239 PairSemantics.raw444; decide +kernel rw [heq] exact (PairSemantics.canonical444 hH).trans (PairSemantics.sound349 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue239, PairSemantics.value0, PairSemantics.value24, PairSemantics.value26, PairSemantics.value46, PairSemantics.value349, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue240 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (5 / 144)), (2, (25 / 432)), (5, (-5 / 108)), (51, (-5 / 18)), (54, (-5 / 18)), (56, (-5 / 18)), (61, (-5 / 18))]
theorem singlePair240 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node240 node240Labels = Sparse.eval singlePairValue240 (familyPairVector B) := by have hp := single_label_three B hB node240 have hl : node240Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node240 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node240 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node240 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node240 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node240 (EqualityPatterns.family3.label 1) = PairSemantics.raw912 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node240 PairSemantics.raw912; decide +kernel rw [heq] exact (PairSemantics.canonical912 hH).trans (PairSemantics.sound26 hH) have hm2 : familyPairMoment B (groupedColumns node240 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node240 (EqualityPatterns.family3.label 2) = PairSemantics.raw8964 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node240 PairSemantics.raw8964; decide +kernel rw [heq] exact (PairSemantics.canonical8964 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node240 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node240 (EqualityPatterns.family3.label 3) = PairSemantics.raw861 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node240 PairSemantics.raw861; decide +kernel rw [heq] exact (PairSemantics.canonical861 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node240 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value351 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node240 (EqualityPatterns.family3.label 4) = PairSemantics.raw445 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node240 PairSemantics.raw445; decide +kernel rw [heq] exact (PairSemantics.canonical445 hH).trans (PairSemantics.sound351 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue240, PairSemantics.value0, PairSemantics.value25, PairSemantics.value26, PairSemantics.value46, PairSemantics.value351, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue241 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (35 / 216)), (2, (-5 / 108)), (6, (5 / 216)), (226, (5 / 9))]
theorem singlePair241 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node241 node241Labels = Sparse.eval singlePairValue241 (familyPairVector B) := by have hp := single_label_three B hB node241 have hl : node241Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node241 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node241 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node241 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node241 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node241 (EqualityPatterns.family3.label 1) = PairSemantics.raw903 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node241 PairSemantics.raw903; decide +kernel rw [heq] exact (PairSemantics.canonical903 hH).trans (PairSemantics.sound24 hH) have hm2 : familyPairMoment B (groupedColumns node241 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node241 (EqualityPatterns.family3.label 2) = PairSemantics.raw8987 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node241 PairSemantics.raw8987; decide +kernel rw [heq] exact (PairSemantics.canonical8987 hH).trans (PairSemantics.sound4 hH) have hm3 : familyPairMoment B (groupedColumns node241 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node241 (EqualityPatterns.family3.label 3) = PairSemantics.raw869 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node241 PairSemantics.raw869; decide +kernel rw [heq] exact (PairSemantics.canonical869 hH).trans (PairSemantics.sound24 hH) have hm4 : familyPairMoment B (groupedColumns node241 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value220 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node241 (EqualityPatterns.family3.label 4) = PairSemantics.raw446 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node241 PairSemantics.raw446; decide +kernel rw [heq] exact (PairSemantics.canonical446 hH).trans (PairSemantics.sound220 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue241, PairSemantics.value0, PairSemantics.value4, PairSemantics.value24, PairSemantics.value220, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue242 : Sparse (Fin 909) := [(0, (29 / 864)), (1, (-65 / 864)), (2, (-85 / 864)), (3, (-5 / 9)), (5, (-5 / 72)), (6, (5 / 288)), (13, (-5 / 18)), (26, (-5 / 18)), (33, (5 / 6)), (35, (-5 / 54)), (54, (5 / 6)), (62, (5 / 9))]
theorem singlePair242 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node242 node242Labels = Sparse.eval singlePairValue242 (familyPairVector B) := by have hp := single_label_three B hB node242 have hl : node242Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node242 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node242 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node242 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node242 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node242 (EqualityPatterns.family3.label 1) = PairSemantics.raw904 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node242 PairSemantics.raw904; decide +kernel rw [heq] exact (PairSemantics.canonical904 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node242 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node242 (EqualityPatterns.family3.label 2) = PairSemantics.raw8983 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node242 PairSemantics.raw8983; decide +kernel rw [heq] exact (PairSemantics.canonical8983 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node242 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value383 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node242 (EqualityPatterns.family3.label 3) = PairSemantics.raw866 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node242 PairSemantics.raw866; decide +kernel rw [heq] exact (PairSemantics.canonical866 hH).trans (PairSemantics.sound383 hH) have hm4 : familyPairMoment B (groupedColumns node242 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1409 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node242 (EqualityPatterns.family3.label 4) = PairSemantics.raw447 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node242 PairSemantics.raw447; decide +kernel rw [heq] exact (PairSemantics.canonical447 hH).trans (PairSemantics.sound1409 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue242, PairSemantics.value0, PairSemantics.value10, PairSemantics.value232, PairSemantics.value383, PairSemantics.value1409, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue243 : Sparse (Fin 909) := [(0, (11 / 288)), (1, (5 / 288)), (2, (5 / 288)), (3, (-5 / 6)), (4, (-10 / 27)), (5, (-5 / 72)), (6, (5 / 288)), (12, (-5 / 27)), (13, (-25 / 54)), (26, (-10 / 27)), (35, (-5 / 18)), (54, (5 / 18)), (56, (5 / 9))]
theorem singlePair243 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node243 node243Labels = Sparse.eval singlePairValue243 (familyPairVector B) := by have hp := single_label_three B hB node243 have hl : node243Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node243 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node243 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node243 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node243 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node243 (EqualityPatterns.family3.label 1) = PairSemantics.raw905 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node243 PairSemantics.raw905; decide +kernel rw [heq] exact (PairSemantics.canonical905 hH).trans (PairSemantics.sound26 hH) have hm2 : familyPairMoment B (groupedColumns node243 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node243 (EqualityPatterns.family3.label 2) = PairSemantics.raw8982 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node243 PairSemantics.raw8982; decide +kernel rw [heq] exact (PairSemantics.canonical8982 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node243 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value383 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node243 (EqualityPatterns.family3.label 3) = PairSemantics.raw866 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node243 PairSemantics.raw866; decide +kernel rw [heq] exact (PairSemantics.canonical866 hH).trans (PairSemantics.sound383 hH) have hm4 : familyPairMoment B (groupedColumns node243 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2297 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node243 (EqualityPatterns.family3.label 4) = PairSemantics.raw448 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node243 PairSemantics.raw448; decide +kernel rw [heq] exact (PairSemantics.canonical448 hH).trans (PairSemantics.sound2297 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue243, PairSemantics.value0, PairSemantics.value11, PairSemantics.value26, PairSemantics.value383, PairSemantics.value2297, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue244 : Sparse (Fin 909) := [(0, (31 / 864)), (1, (-5 / 48)), (2, (-5 / 72)), (3, (5 / 54)), (5, (5 / 216)), (6, (-5 / 864)), (26, (5 / 27)), (35, (5 / 54)), (54, (-5 / 18))]
theorem singlePair244 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node244 node244Labels = Sparse.eval singlePairValue244 (familyPairVector B) := by have hp := single_label_three B hB node244 have hl : node244Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node244 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node244 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node244 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node244 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node244 (EqualityPatterns.family3.label 1) = PairSemantics.raw906 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node244 PairSemantics.raw906; decide +kernel rw [heq] exact (PairSemantics.canonical906 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node244 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node244 (EqualityPatterns.family3.label 2) = PairSemantics.raw8981 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node244 PairSemantics.raw8981; decide +kernel rw [heq] exact (PairSemantics.canonical8981 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node244 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node244 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node244 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node244 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value699 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node244 (EqualityPatterns.family3.label 4) = PairSemantics.raw449 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node244 PairSemantics.raw449; decide +kernel rw [heq] exact (PairSemantics.canonical449 hH).trans (PairSemantics.sound699 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue244, PairSemantics.value0, PairSemantics.value10, PairSemantics.value11, PairSemantics.value118, PairSemantics.value699, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue245 : Sparse (Fin 909) := [(0, (7 / 216)), (1, (5 / 432)), (2, (25 / 864)), (3, (5 / 27)), (4, (5 / 54)), (5, (5 / 216)), (6, (-5 / 864)), (13, (5 / 54)), (26, (5 / 54)), (35, (5 / 54)), (56, (-5 / 18))]
theorem singlePair245 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node245 node245Labels = Sparse.eval singlePairValue245 (familyPairVector B) := by have hp := single_label_three B hB node245 have hl : node245Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node245 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node245 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node245 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node245 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node245 (EqualityPatterns.family3.label 1) = PairSemantics.raw907 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node245 PairSemantics.raw907; decide +kernel rw [heq] exact (PairSemantics.canonical907 hH).trans (PairSemantics.sound26 hH) have hm2 : familyPairMoment B (groupedColumns node245 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node245 (EqualityPatterns.family3.label 2) = PairSemantics.raw8978 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node245 PairSemantics.raw8978; decide +kernel rw [heq] exact (PairSemantics.canonical8978 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node245 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node245 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node245 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node245 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value697 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node245 (EqualityPatterns.family3.label 4) = PairSemantics.raw450 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node245 PairSemantics.raw450; decide +kernel rw [heq] exact (PairSemantics.canonical450 hH).trans (PairSemantics.sound697 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue245, PairSemantics.value0, PairSemantics.value11, PairSemantics.value26, PairSemantics.value118, PairSemantics.value697, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue246 : Sparse (Fin 909) := [(0, (23 / 864)), (1, (-5 / 144)), (3, (5 / 54)), (5, (5 / 216)), (6, (-5 / 864)), (13, (5 / 54)), (33, (-5 / 18)), (54, (-5 / 18)), (62, (-5 / 18))]
theorem singlePair246 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node246 node246Labels = Sparse.eval singlePairValue246 (familyPairVector B) := by have hp := single_label_three B hB node246 have hl : node246Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node246 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node246 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node246 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node246 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node246 (EqualityPatterns.family3.label 1) = PairSemantics.raw910 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node246 PairSemantics.raw910; decide +kernel rw [heq] exact (PairSemantics.canonical910 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node246 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node246 (EqualityPatterns.family3.label 2) = PairSemantics.raw8974 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node246 PairSemantics.raw8974; decide +kernel rw [heq] exact (PairSemantics.canonical8974 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node246 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node246 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node246 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node246 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value345 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node246 (EqualityPatterns.family3.label 4) = PairSemantics.raw451 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node246 PairSemantics.raw451; decide +kernel rw [heq] exact (PairSemantics.canonical451 hH).trans (PairSemantics.sound345 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue246, PairSemantics.value0, PairSemantics.value10, PairSemantics.value46, PairSemantics.value118, PairSemantics.value345, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue247 : Sparse (Fin 909) := [(0, (5 / 144)), (1, (-5 / 72)), (2, (-5 / 216)), (6, (5 / 432)), (26, (-5 / 27)), (35, (-5 / 27))]
theorem singlePair247 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node247 node247Labels = Sparse.eval singlePairValue247 (familyPairVector B) := by have hp := single_label_three B hB node247 have hl : node247Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node247 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node247 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node247 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node247 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node247 (EqualityPatterns.family3.label 1) = PairSemantics.raw909 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node247 PairSemantics.raw909; decide +kernel rw [heq] exact (PairSemantics.canonical909 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node247 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node247 (EqualityPatterns.family3.label 2) = PairSemantics.raw8979 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node247 PairSemantics.raw8979; decide +kernel rw [heq] exact (PairSemantics.canonical8979 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node247 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node247 (EqualityPatterns.family3.label 3) = PairSemantics.raw869 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node247 PairSemantics.raw869; decide +kernel rw [heq] exact (PairSemantics.canonical869 hH).trans (PairSemantics.sound24 hH) have hm4 : familyPairMoment B (groupedColumns node247 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value222 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node247 (EqualityPatterns.family3.label 4) = PairSemantics.raw452 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node247 PairSemantics.raw452; decide +kernel rw [heq] exact (PairSemantics.canonical452 hH).trans (PairSemantics.sound222 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue247, PairSemantics.value0, PairSemantics.value10, PairSemantics.value11, PairSemantics.value24, PairSemantics.value222, Sparse.eval] at hp ⊢ linarith only [hp]
end MUB6.Certificate.MixedSemantics
end OAI1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087import OAI.Analysis.MutuallyUnbiased.MixedSemantics.GroupedColumnsimport OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes3import OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes4import OAI.Analysis.MutuallyUnbiased.MixedSemantics.SingleRulesimport OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical14import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical16import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical249import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical27import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical279import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical28import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical280import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical281import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound0import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound10import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound17import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound2import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound22import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound3import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound43import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound5
namespace OAI
namespace MUB6.Certificate.MixedSemantics
open scoped BigOperators
def singlePairValue248 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (145 / 864)), (2, (5 / 144)), (3, (5 / 27)), (5, (5 / 216)), (6, (-5 / 864)), (12, (5 / 27)), (13, (5 / 18)), (35, (5 / 54)), (54, (-5 / 18))]
theorem singlePair248 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node248 node248Labels = Sparse.eval singlePairValue248 (familyPairVector B) := by have hp := single_label_three B hB node248 have hl : node248Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node248 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node248 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node248 PairSemantics.raw7981 decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node248 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node248 (EqualityPatterns.family3.label 1) = PairSemantics.raw915 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node248 PairSemantics.raw915 decide +kernel rw [heq] exact (PairSemantics.canonical915 hH).trans (PairSemantics.sound26 hH) have hm2 : familyPairMoment B (groupedColumns node248 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node248 (EqualityPatterns.family3.label 2) = PairSemantics.raw8969 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node248 PairSemantics.raw8969 decide +kernel rw [heq] exact (PairSemantics.canonical8969 hH).trans (PairSemantics.sound4 hH) have hm3 : familyPairMoment B (groupedColumns node248 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node248 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node248 PairSemantics.raw867 decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node248 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value651 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node248 (EqualityPatterns.family3.label 4) = PairSemantics.raw453 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node248 PairSemantics.raw453 decide +kernel rw [heq] exact (PairSemantics.canonical453 hH).trans (PairSemantics.sound651 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue248, PairSemantics.value0, PairSemantics.value4, PairSemantics.value26, PairSemantics.value118, PairSemantics.value651, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue249 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (5 / 27)), (3, (-5 / 27)), (6, (5 / 432)), (13, (-5 / 27)), (35, (-5 / 27))]
theorem singlePair249 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node249 node249Labels = Sparse.eval singlePairValue249 (familyPairVector B) := by have hp := single_label_three B hB node249 have hl : node249Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node249 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node249 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node249 PairSemantics.raw7980 decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node249 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node249 (EqualityPatterns.family3.label 1) = PairSemantics.raw914 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node249 PairSemantics.raw914 decide +kernel rw [heq] exact (PairSemantics.canonical914 hH).trans (PairSemantics.sound26 hH) have hm2 : familyPairMoment B (groupedColumns node249 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node249 (EqualityPatterns.family3.label 2) = PairSemantics.raw8972 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node249 PairSemantics.raw8972 decide +kernel rw [heq] exact (PairSemantics.canonical8972 hH).trans (PairSemantics.sound4 hH) have hm3 : familyPairMoment B (groupedColumns node249 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node249 (EqualityPatterns.family3.label 3) = PairSemantics.raw869 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node249 PairSemantics.raw869 decide +kernel rw [heq] exact (PairSemantics.canonical869 hH).trans (PairSemantics.sound24 hH) have hm4 : familyPairMoment B (groupedColumns node249 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value170 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node249 (EqualityPatterns.family3.label 4) = PairSemantics.raw454 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node249 PairSemantics.raw454 decide +kernel rw [heq] exact (PairSemantics.canonical454 hH).trans (PairSemantics.sound170 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue249, PairSemantics.value0, PairSemantics.value4, PairSemantics.value24, PairSemantics.value26, PairSemantics.value170, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue250 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (-25 / 432)), (2, (-5 / 54)), (6, (5 / 432)), (62, (5 / 9))]
theorem singlePair250 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node250 node250Labels = Sparse.eval singlePairValue250 (familyPairVector B) := by have hp := single_label_three B hB node250 have hl : node250Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node250 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node250 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node250 PairSemantics.raw7980 decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node250 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node250 (EqualityPatterns.family3.label 1) = PairSemantics.raw918 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node250 PairSemantics.raw918 decide +kernel rw [heq] exact (PairSemantics.canonical918 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node250 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node250 (EqualityPatterns.family3.label 2) = PairSemantics.raw8966 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node250 PairSemantics.raw8966 decide +kernel rw [heq] exact (PairSemantics.canonical8966 hH).trans (PairSemantics.sound10 hH) have hm3 : familyPairMoment B (groupedColumns node250 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node250 (EqualityPatterns.family3.label 3) = PairSemantics.raw869 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node250 PairSemantics.raw869 decide +kernel rw [heq] exact (PairSemantics.canonical869 hH).trans (PairSemantics.sound24 hH) have hm4 : familyPairMoment B (groupedColumns node250 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value98 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node250 (EqualityPatterns.family3.label 4) = PairSemantics.raw455 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node250 PairSemantics.raw455 decide +kernel rw [heq] exact (PairSemantics.canonical455 hH).trans (PairSemantics.sound98 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue250, PairSemantics.value0, PairSemantics.value10, PairSemantics.value24, PairSemantics.value98, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue251 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (55 / 432)), (2, (-5 / 432)), (5, (-5 / 108)), (54, (5 / 9))]
theorem singlePair251 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node251 node251Labels = Sparse.eval singlePairValue251 (familyPairVector B) := by have hp := single_label_three B hB node251 have hl : node251Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node251 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node251 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node251 PairSemantics.raw7980 decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node251 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node251 (EqualityPatterns.family3.label 1) = PairSemantics.raw909 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node251 PairSemantics.raw909 decide +kernel rw [heq] exact (PairSemantics.canonical909 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node251 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node251 (EqualityPatterns.family3.label 2) = PairSemantics.raw8987 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node251 PairSemantics.raw8987 decide +kernel rw [heq] exact (PairSemantics.canonical8987 hH).trans (PairSemantics.sound4 hH) have hm3 : familyPairMoment B (groupedColumns node251 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node251 (EqualityPatterns.family3.label 3) = PairSemantics.raw872 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node251 PairSemantics.raw872 decide +kernel rw [heq] exact (PairSemantics.canonical872 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node251 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value198 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node251 (EqualityPatterns.family3.label 4) = PairSemantics.raw456 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node251 PairSemantics.raw456 decide +kernel rw [heq] exact (PairSemantics.canonical456 hH).trans (PairSemantics.sound198 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue251, PairSemantics.value0, PairSemantics.value4, PairSemantics.value10, PairSemantics.value25, PairSemantics.value198, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue252 : Sparse (Fin 909) := [(0, (7 / 216)), (1, (5 / 216)), (2, (5 / 108)), (5, (-5 / 108)), (56, (5 / 9))]
theorem singlePair252 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node252 node252Labels = Sparse.eval singlePairValue252 (familyPairVector B) := by have hp := single_label_three B hB node252 have hl : node252Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node252 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node252 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node252 PairSemantics.raw7980 decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node252 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node252 (EqualityPatterns.family3.label 1) = PairSemantics.raw914 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node252 PairSemantics.raw914 decide +kernel rw [heq] exact (PairSemantics.canonical914 hH).trans (PairSemantics.sound26 hH) have hm2 : familyPairMoment B (groupedColumns node252 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node252 (EqualityPatterns.family3.label 2) = PairSemantics.raw8979 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node252 PairSemantics.raw8979 decide +kernel rw [heq] exact (PairSemantics.canonical8979 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node252 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node252 (EqualityPatterns.family3.label 3) = PairSemantics.raw872 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node252 PairSemantics.raw872 decide +kernel rw [heq] exact (PairSemantics.canonical872 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node252 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value223 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node252 (EqualityPatterns.family3.label 4) = PairSemantics.raw457 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node252 PairSemantics.raw457 decide +kernel rw [heq] exact (PairSemantics.canonical457 hH).trans (PairSemantics.sound223 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue252, PairSemantics.value0, PairSemantics.value11, PairSemantics.value25, PairSemantics.value26, PairSemantics.value223, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue253 : Sparse (Fin 909) := [(0, (1 / 27)), (1, (-5 / 48)), (2, (-25 / 288)), (3, (-5 / 6)), (5, (-5 / 72)), (6, (5 / 288)), (12, (-5 / 18)), (13, (-35 / 27)), (26, (-5 / 18)), (32, (-5 / 27)), (34, (-5 / 9)), (60, (-5 / 18)), (61, (5 / 6))]
theorem singlePair253 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node253 node253Labels = Sparse.eval singlePairValue253 (familyPairVector B) := by have hp := single_label_three B hB node253 have hl : node253Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node253 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node253 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node253 PairSemantics.raw7982 decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node253 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node253 (EqualityPatterns.family3.label 1) = PairSemantics.raw920 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node253 PairSemantics.raw920 decide +kernel rw [heq] exact (PairSemantics.canonical920 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node253 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node253 (EqualityPatterns.family3.label 2) = PairSemantics.raw8952 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node253 PairSemantics.raw8952 decide +kernel rw [heq] exact (PairSemantics.canonical8952 hH).trans (PairSemantics.sound26 hH) have hm3 : familyPairMoment B (groupedColumns node253 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value383 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node253 (EqualityPatterns.family3.label 3) = PairSemantics.raw866 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node253 PairSemantics.raw866 decide +kernel rw [heq] exact (PairSemantics.canonical866 hH).trans (PairSemantics.sound383 hH) have hm4 : familyPairMoment B (groupedColumns node253 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1411 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node253 (EqualityPatterns.family3.label 4) = PairSemantics.raw458 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node253 PairSemantics.raw458 decide +kernel rw [heq] exact (PairSemantics.canonical458 hH).trans (PairSemantics.sound1411 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue253, PairSemantics.value0, PairSemantics.value10, PairSemantics.value26, PairSemantics.value383, PairSemantics.value1411, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue254 : Sparse (Fin 909) := [(0, (23 / 864)), (1, (5 / 216)), (2, (5 / 432)), (3, (5 / 27)), (5, (5 / 216)), (6, (-5 / 864)), (13, (5 / 27)), (26, (5 / 54)), (34, (5 / 27)), (60, (5 / 54)), (61, (-5 / 18))]
theorem singlePair254 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node254 node254Labels = Sparse.eval singlePairValue254 (familyPairVector B) := by have hp := single_label_three B hB node254 have hl : node254Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node254 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node254 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node254 PairSemantics.raw7981 decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node254 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node254 (EqualityPatterns.family3.label 1) = PairSemantics.raw921 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node254 PairSemantics.raw921 decide +kernel rw [heq] exact (PairSemantics.canonical921 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node254 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node254 (EqualityPatterns.family3.label 2) = PairSemantics.raw8951 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node254 PairSemantics.raw8951 decide +kernel rw [heq] exact (PairSemantics.canonical8951 hH).trans (PairSemantics.sound26 hH) have hm3 : familyPairMoment B (groupedColumns node254 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node254 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node254 PairSemantics.raw867 decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node254 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value343 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node254 (EqualityPatterns.family3.label 4) = PairSemantics.raw459 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node254 PairSemantics.raw459 decide +kernel rw [heq] exact (PairSemantics.canonical459 hH).trans (PairSemantics.sound343 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue254, PairSemantics.value0, PairSemantics.value10, PairSemantics.value26, PairSemantics.value118, PairSemantics.value343, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue255 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (-25 / 432)), (2, (-5 / 54)), (6, (5 / 432)), (13, (-5 / 27)), (34, (-5 / 27)), (60, (-5 / 27))]
theorem singlePair255 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node255 node255Labels = Sparse.eval singlePairValue255 (familyPairVector B) := by have hp := single_label_three B hB node255 have hl : node255Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node255 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node255 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node255 PairSemantics.raw7980 decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node255 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node255 (EqualityPatterns.family3.label 1) = PairSemantics.raw922 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node255 PairSemantics.raw922 decide +kernel rw [heq] exact (PairSemantics.canonical922 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node255 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node255 (EqualityPatterns.family3.label 2) = PairSemantics.raw8953 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node255 PairSemantics.raw8953 decide +kernel rw [heq] exact (PairSemantics.canonical8953 hH).trans (PairSemantics.sound10 hH) have hm3 : familyPairMoment B (groupedColumns node255 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node255 (EqualityPatterns.family3.label 3) = PairSemantics.raw869 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node255 PairSemantics.raw869 decide +kernel rw [heq] exact (PairSemantics.canonical869 hH).trans (PairSemantics.sound24 hH) have hm4 : familyPairMoment B (groupedColumns node255 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value95 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node255 (EqualityPatterns.family3.label 4) = PairSemantics.raw460 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node255 PairSemantics.raw460 decide +kernel rw [heq] exact (PairSemantics.canonical460 hH).trans (PairSemantics.sound95 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue255, PairSemantics.value0, PairSemantics.value10, PairSemantics.value24, PairSemantics.value95, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue256 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (-5 / 108)), (2, (-5 / 108)), (5, (-5 / 108)), (61, (5 / 9))]
theorem singlePair256 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node256 node256Labels = Sparse.eval singlePairValue256 (familyPairVector B) := by have hp := single_label_three B hB node256 have hl : node256Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node256 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node256 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node256 PairSemantics.raw7980 decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node256 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node256 (EqualityPatterns.family3.label 1) = PairSemantics.raw922 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node256 PairSemantics.raw922 decide +kernel rw [heq] exact (PairSemantics.canonical922 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node256 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node256 (EqualityPatterns.family3.label 2) = PairSemantics.raw8955 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node256 PairSemantics.raw8955 decide +kernel rw [heq] exact (PairSemantics.canonical8955 hH).trans (PairSemantics.sound10 hH) have hm3 : familyPairMoment B (groupedColumns node256 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node256 (EqualityPatterns.family3.label 3) = PairSemantics.raw872 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node256 PairSemantics.raw872 decide +kernel rw [heq] exact (PairSemantics.canonical872 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node256 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value97 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node256 (EqualityPatterns.family3.label 4) = PairSemantics.raw461 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node256 PairSemantics.raw461 decide +kernel rw [heq] exact (PairSemantics.canonical461 hH).trans (PairSemantics.sound97 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue256, PairSemantics.value0, PairSemantics.value10, PairSemantics.value25, PairSemantics.value97, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue257 : Sparse (Fin 909) := [(0, (23 / 864)), (1, (5 / 96)), (2, (-5 / 72)), (3, (-5 / 6)), (12, (-5 / 9)), (13, (-85 / 54)), (32, (-5 / 27))]
theorem singlePair257 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node257 node257Labels = Sparse.eval singlePairValue257 (familyPairVector B) := by have hp := single_label_three B hB node257 have hl : node257Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node257 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node257 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node257 PairSemantics.raw7982 decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node257 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node257 (EqualityPatterns.family3.label 1) = PairSemantics.raw916 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node257 PairSemantics.raw916 decide +kernel rw [heq] exact (PairSemantics.canonical916 hH).trans (PairSemantics.sound26 hH) have hm2 : familyPairMoment B (groupedColumns node257 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node257 (EqualityPatterns.family3.label 2) = PairSemantics.raw9002 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node257 PairSemantics.raw9002 decide +kernel rw [heq] exact (PairSemantics.canonical9002 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node257 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node257 (EqualityPatterns.family3.label 3) = PairSemantics.raw879 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node257 PairSemantics.raw879 decide +kernel rw [heq] exact (PairSemantics.canonical879 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node257 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1410 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node257 (EqualityPatterns.family3.label 4) = PairSemantics.raw514 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node257 PairSemantics.raw514 decide +kernel rw [heq] exact (PairSemantics.canonical514 hH).trans (PairSemantics.sound1410 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue257, PairSemantics.value0, PairSemantics.value10, PairSemantics.value26, PairSemantics.value232, PairSemantics.value1410, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue258 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (5 / 48)), (2, (25 / 144)), (13, (5 / 9)), (32, (5 / 27))]
theorem singlePair258 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node258 node258Labels = Sparse.eval singlePairValue258 (familyPairVector B) := by have hp := single_label_three B hB node258 have hl : node258Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node258 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node258 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node258 PairSemantics.raw7981 decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node258 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node258 (EqualityPatterns.family3.label 1) = PairSemantics.raw915 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node258 PairSemantics.raw915 decide +kernel rw [heq] exact (PairSemantics.canonical915 hH).trans (PairSemantics.sound26 hH) have hm2 : familyPairMoment B (groupedColumns node258 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node258 (EqualityPatterns.family3.label 2) = PairSemantics.raw9004 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node258 PairSemantics.raw9004 decide +kernel rw [heq] exact (PairSemantics.canonical9004 hH).trans (PairSemantics.sound26 hH) have hm3 : familyPairMoment B (groupedColumns node258 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value3 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node258 (EqualityPatterns.family3.label 3) = PairSemantics.raw881 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node258 PairSemantics.raw881 decide +kernel rw [heq] exact (PairSemantics.canonical881 hH).trans (PairSemantics.sound3 hH) have hm4 : familyPairMoment B (groupedColumns node258 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value341 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node258 (EqualityPatterns.family3.label 4) = PairSemantics.raw515 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node258 PairSemantics.raw515 decide +kernel rw [heq] exact (PairSemantics.canonical515 hH).trans (PairSemantics.sound341 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue258, PairSemantics.value0, PairSemantics.value3, PairSemantics.value26, PairSemantics.value341, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue259 : Sparse (Fin 909) := [(0, (13 / 432)), (1, (115 / 432)), (2, (5 / 54)), (3, (-10 / 27)), (12, (-5 / 54)), (13, (-10 / 27))]
theorem singlePair259 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node259 node259Labels = Sparse.eval singlePairValue259 (familyPairVector B) := by have hp := single_label_three B hB node259 have hl : node259Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node259 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node259 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node259 PairSemantics.raw7982 decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node259 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node259 (EqualityPatterns.family3.label 1) = PairSemantics.raw911 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node259 PairSemantics.raw911 decide +kernel rw [heq] exact (PairSemantics.canonical911 hH).trans (PairSemantics.sound26 hH) have hm2 : familyPairMoment B (groupedColumns node259 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node259 (EqualityPatterns.family3.label 2) = PairSemantics.raw9012 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node259 PairSemantics.raw9012 decide +kernel rw [heq] exact (PairSemantics.canonical9012 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node259 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node259 (EqualityPatterns.family3.label 3) = PairSemantics.raw883 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node259 PairSemantics.raw883 decide +kernel rw [heq] exact (PairSemantics.canonical883 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node259 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2791 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node259 (EqualityPatterns.family3.label 4) = PairSemantics.raw518 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node259 PairSemantics.raw518 decide +kernel rw [heq] exact (PairSemantics.canonical518 hH).trans (PairSemantics.sound2791 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue259, PairSemantics.value0, PairSemantics.value26, PairSemantics.value65, PairSemantics.value2791, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue260 : Sparse (Fin 909) := [(0, (11 / 288)), (1, (-5 / 864)), (2, (-5 / 216)), (3, (5 / 54)), (13, (5 / 54))]
theorem singlePair260 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node260 node260Labels = Sparse.eval singlePairValue260 (familyPairVector B) := by have hp := single_label_three B hB node260 have hl : node260Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node260 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node260 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node260 PairSemantics.raw7981 decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node260 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node260 (EqualityPatterns.family3.label 1) = PairSemantics.raw912 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node260 PairSemantics.raw912 decide +kernel rw [heq] exact (PairSemantics.canonical912 hH).trans (PairSemantics.sound26 hH) have hm2 : familyPairMoment B (groupedColumns node260 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node260 (EqualityPatterns.family3.label 2) = PairSemantics.raw9011 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node260 PairSemantics.raw9011 decide +kernel rw [heq] exact (PairSemantics.canonical9011 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node260 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node260 (EqualityPatterns.family3.label 3) = PairSemantics.raw884 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node260 PairSemantics.raw884 decide +kernel rw [heq] exact (PairSemantics.canonical884 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node260 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1139 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node260 (EqualityPatterns.family3.label 4) = PairSemantics.raw519 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node260 PairSemantics.raw519 decide +kernel rw [heq] exact (PairSemantics.canonical519 hH).trans (PairSemantics.sound1139 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue260, PairSemantics.value0, PairSemantics.value10, PairSemantics.value26, PairSemantics.value65, PairSemantics.value1139, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue261 : Sparse (Fin 909) := [(0, (13 / 432)), (1, (-25 / 864)), (2, (5 / 864)), (3, (5 / 27)), (12, (5 / 54)), (13, (5 / 18))]
theorem singlePair261 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node261 node261Labels = Sparse.eval singlePairValue261 (familyPairVector B) := by have hp := single_label_three B hB node261 have hl : node261Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node261 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node261 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node261 PairSemantics.raw7981 decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node261 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node261 (EqualityPatterns.family3.label 1) = PairSemantics.raw915 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node261 PairSemantics.raw915 decide +kernel rw [heq] exact (PairSemantics.canonical915 hH).trans (PairSemantics.sound26 hH) have hm2 : familyPairMoment B (groupedColumns node261 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node261 (EqualityPatterns.family3.label 2) = PairSemantics.raw9008 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node261 PairSemantics.raw9008 decide +kernel rw [heq] exact (PairSemantics.canonical9008 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node261 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node261 (EqualityPatterns.family3.label 3) = PairSemantics.raw884 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node261 PairSemantics.raw884 decide +kernel rw [heq] exact (PairSemantics.canonical884 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node261 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value663 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node261 (EqualityPatterns.family3.label 4) = PairSemantics.raw520 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node261 PairSemantics.raw520 decide +kernel rw [heq] exact (PairSemantics.canonical520 hH).trans (PairSemantics.sound663 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue261, PairSemantics.value0, PairSemantics.value10, PairSemantics.value11, PairSemantics.value26, PairSemantics.value663, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue262 : Sparse (Fin 909) := [(0, (7 / 216)), (1, (-5 / 144)), (2, (25 / 144)), (13, (-5 / 27))]
theorem singlePair262 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node262 node262Labels = Sparse.eval singlePairValue262 (familyPairVector B) := by have hp := single_label_three B hB node262 have hl : node262Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node262 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node262 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node262 PairSemantics.raw7980 decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node262 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node262 (EqualityPatterns.family3.label 1) = PairSemantics.raw914 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node262 PairSemantics.raw914 decide +kernel rw [heq] exact (PairSemantics.canonical914 hH).trans (PairSemantics.sound26 hH) have hm2 : familyPairMoment B (groupedColumns node262 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node262 (EqualityPatterns.family3.label 2) = PairSemantics.raw9013 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node262 PairSemantics.raw9013 decide +kernel rw [heq] exact (PairSemantics.canonical9013 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node262 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value3 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node262 (EqualityPatterns.family3.label 3) = PairSemantics.raw887 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node262 PairSemantics.raw887 decide +kernel rw [heq] exact (PairSemantics.canonical887 hH).trans (PairSemantics.sound3 hH) have hm4 : familyPairMoment B (groupedColumns node262 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value188 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node262 (EqualityPatterns.family3.label 4) = PairSemantics.raw522 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node262 PairSemantics.raw522 decide +kernel rw [heq] exact (PairSemantics.canonical522 hH).trans (PairSemantics.sound188 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue262, PairSemantics.value0, PairSemantics.value3, PairSemantics.value11, PairSemantics.value26, PairSemantics.value188, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue263 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (-35 / 432)), (2, (-5 / 108)), (3, (5 / 27)), (12, (5 / 27)), (13, (5 / 9)), (32, (5 / 54))]
theorem singlePair263 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node263 node263Labels = Sparse.eval singlePairValue263 (familyPairVector B) := by have hp := single_label_three B hB node263 have hl : node263Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node263 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node263 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node263 PairSemantics.raw7981 decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node263 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node263 (EqualityPatterns.family3.label 1) = PairSemantics.raw919 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node263 PairSemantics.raw919 decide +kernel rw [heq] exact (PairSemantics.canonical919 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node263 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node263 (EqualityPatterns.family3.label 2) = PairSemantics.raw8995 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node263 PairSemantics.raw8995 decide +kernel rw [heq] exact (PairSemantics.canonical8995 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node263 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node263 (EqualityPatterns.family3.label 3) = PairSemantics.raw884 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node263 PairSemantics.raw884 decide +kernel rw [heq] exact (PairSemantics.canonical884 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node263 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value346 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node263 (EqualityPatterns.family3.label 4) = PairSemantics.raw525 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node263 PairSemantics.raw525 decide +kernel rw [heq] exact (PairSemantics.canonical525 hH).trans (PairSemantics.sound346 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue263, PairSemantics.value0, PairSemantics.value10, PairSemantics.value46, PairSemantics.value346, Sparse.eval] at hp ⊢ linarith only [hp]
end MUB6.Certificate.MixedSemantics
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934import OAI.Analysis.MutuallyUnbiased.MixedSemantics.GroupedColumnsimport OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes4import OAI.Analysis.MutuallyUnbiased.MixedSemantics.SingleRulesimport OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical16import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical160import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical161import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical17import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical18import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical238import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical239import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical249import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical26import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical27import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical279import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical28import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical280import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical281import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical282import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound0import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound10import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound13import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound2import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound20import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound29import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound3import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound4import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound8
namespace OAI
namespace MUB6.Certificate.MixedSemantics
open scoped BigOperators
def singlePairValue264 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (-5 / 72)), (2, (5 / 72)), (13, (-10 / 27)), (32, (-5 / 27))]
theorem singlePair264 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node264 node264Labels = Sparse.eval singlePairValue264 (familyPairVector B) := by have hp := single_label_three B hB node264 have hl : node264Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node264 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node264 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node264 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node264 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node264 (EqualityPatterns.family3.label 1) = PairSemantics.raw918 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node264 PairSemantics.raw918; decide +kernel rw [heq] exact (PairSemantics.canonical918 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node264 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node264 (EqualityPatterns.family3.label 2) = PairSemantics.raw9000 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node264 PairSemantics.raw9000; decide +kernel rw [heq] exact (PairSemantics.canonical9000 hH).trans (PairSemantics.sound10 hH) have hm3 : familyPairMoment B (groupedColumns node264 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value3 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node264 (EqualityPatterns.family3.label 3) = PairSemantics.raw887 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node264 PairSemantics.raw887; decide +kernel rw [heq] exact (PairSemantics.canonical887 hH).trans (PairSemantics.sound3 hH) have hm4 : familyPairMoment B (groupedColumns node264 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value93 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node264 (EqualityPatterns.family3.label 4) = PairSemantics.raw527 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node264 PairSemantics.raw527; decide +kernel rw [heq] exact (PairSemantics.canonical527 hH).trans (PairSemantics.sound93 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue264, PairSemantics.value0, PairSemantics.value3, PairSemantics.value10, PairSemantics.value93, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue265 : Sparse (Fin 909) := []
theorem singlePair265 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node265 node265Labels = Sparse.eval singlePairValue265 (familyPairVector B) := by have hp := single_label_three B hB node265 have hl : node265Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node265 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node265 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node265 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node265 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node265 (EqualityPatterns.family3.label 1) = PairSemantics.raw907 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node265 PairSemantics.raw907; decide +kernel rw [heq] exact (PairSemantics.canonical907 hH).trans (PairSemantics.sound26 hH) have hm2 : familyPairMoment B (groupedColumns node265 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value5 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node265 (EqualityPatterns.family3.label 2) = PairSemantics.raw9028 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node265 PairSemantics.raw9028; decide +kernel rw [heq] exact (PairSemantics.canonical9028 hH).trans (PairSemantics.sound5 hH) have hm3 : familyPairMoment B (groupedColumns node265 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node265 (EqualityPatterns.family3.label 3) = PairSemantics.raw893 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node265 PairSemantics.raw893; decide +kernel rw [heq] exact (PairSemantics.canonical893 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node265 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1293 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node265 (EqualityPatterns.family3.label 4) = PairSemantics.raw535 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node265 PairSemantics.raw535; decide +kernel rw [heq] exact (PairSemantics.canonical535 hH).trans (PairSemantics.sound1293 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue265, PairSemantics.value0, PairSemantics.value5, PairSemantics.value26, PairSemantics.value1293, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue266 : Sparse (Fin 909) := []
theorem singlePair266 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node266 node266Labels = Sparse.eval singlePairValue266 (familyPairVector B) := by have hp := single_label_three B hB node266 have hl : node266Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node266 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node266 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node266 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node266 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node266 (EqualityPatterns.family3.label 1) = PairSemantics.raw909 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node266 PairSemantics.raw909; decide +kernel rw [heq] exact (PairSemantics.canonical909 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node266 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value5 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node266 (EqualityPatterns.family3.label 2) = PairSemantics.raw9027 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node266 PairSemantics.raw9027; decide +kernel rw [heq] exact (PairSemantics.canonical9027 hH).trans (PairSemantics.sound5 hH) have hm3 : familyPairMoment B (groupedColumns node266 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node266 (EqualityPatterns.family3.label 3) = PairSemantics.raw895 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node266 PairSemantics.raw895; decide +kernel rw [heq] exact (PairSemantics.canonical895 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node266 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value292 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node266 (EqualityPatterns.family3.label 4) = PairSemantics.raw536 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node266 PairSemantics.raw536; decide +kernel rw [heq] exact (PairSemantics.canonical536 hH).trans (PairSemantics.sound292 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue266, PairSemantics.value0, PairSemantics.value5, PairSemantics.value10, PairSemantics.value292, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue267 : Sparse (Fin 909) := []
theorem singlePair267 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node267 node267Labels = Sparse.eval singlePairValue267 (familyPairVector B) := by have hp := single_label_three B hB node267 have hl : node267Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node267 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node267 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node267 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node267 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node267 (EqualityPatterns.family3.label 1) = PairSemantics.raw914 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node267 PairSemantics.raw914; decide +kernel rw [heq] exact (PairSemantics.canonical914 hH).trans (PairSemantics.sound26 hH) have hm2 : familyPairMoment B (groupedColumns node267 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value5 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node267 (EqualityPatterns.family3.label 2) = PairSemantics.raw9020 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node267 PairSemantics.raw9020; decide +kernel rw [heq] exact (PairSemantics.canonical9020 hH).trans (PairSemantics.sound5 hH) have hm3 : familyPairMoment B (groupedColumns node267 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node267 (EqualityPatterns.family3.label 3) = PairSemantics.raw895 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node267 PairSemantics.raw895; decide +kernel rw [heq] exact (PairSemantics.canonical895 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node267 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value285 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node267 (EqualityPatterns.family3.label 4) = PairSemantics.raw537 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node267 PairSemantics.raw537; decide +kernel rw [heq] exact (PairSemantics.canonical537 hH).trans (PairSemantics.sound285 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue267, PairSemantics.value0, PairSemantics.value5, PairSemantics.value10, PairSemantics.value26, PairSemantics.value285, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue268 : Sparse (Fin 909) := [(0, (5 / 144)), (1, (-55 / 432)), (2, (-5 / 54)), (3, (-5 / 27)), (13, (-5 / 27))]
theorem singlePair268 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node268 node268Labels = Sparse.eval singlePairValue268 (familyPairVector B) := by have hp := single_label_three B hB node268 have hl : node268Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node268 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node268 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node268 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node268 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node268 (EqualityPatterns.family3.label 1) = PairSemantics.raw918 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node268 PairSemantics.raw918; decide +kernel rw [heq] exact (PairSemantics.canonical918 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node268 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node268 (EqualityPatterns.family3.label 2) = PairSemantics.raw9013 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node268 PairSemantics.raw9013; decide +kernel rw [heq] exact (PairSemantics.canonical9013 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node268 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node268 (EqualityPatterns.family3.label 3) = PairSemantics.raw895 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node268 PairSemantics.raw895; decide +kernel rw [heq] exact (PairSemantics.canonical895 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node268 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value215 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node268 (EqualityPatterns.family3.label 4) = PairSemantics.raw538 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node268 PairSemantics.raw538; decide +kernel rw [heq] exact (PairSemantics.canonical538 hH).trans (PairSemantics.sound215 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue268, PairSemantics.value0, PairSemantics.value10, PairSemantics.value11, PairSemantics.value215, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue269 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (5 / 72)), (2, (-5 / 72)), (12, (-5 / 27)), (13, (-10 / 27))]
theorem singlePair269 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node269 node269Labels = Sparse.eval singlePairValue269 (familyPairVector B) := by have hp := single_label_three B hB node269 have hl : node269Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node269 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node269 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node269 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node269 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node269 (EqualityPatterns.family3.label 1) = PairSemantics.raw925 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node269 PairSemantics.raw925; decide +kernel rw [heq] exact (PairSemantics.canonical925 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node269 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node269 (EqualityPatterns.family3.label 2) = PairSemantics.raw8972 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node269 PairSemantics.raw8972; decide +kernel rw [heq] exact (PairSemantics.canonical8972 hH).trans (PairSemantics.sound4 hH) have hm3 : familyPairMoment B (groupedColumns node269 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node269 (EqualityPatterns.family3.label 3) = PairSemantics.raw895 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node269 PairSemantics.raw895; decide +kernel rw [heq] exact (PairSemantics.canonical895 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node269 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value204 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node269 (EqualityPatterns.family3.label 4) = PairSemantics.raw553 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node269 PairSemantics.raw553; decide +kernel rw [heq] exact (PairSemantics.canonical553 hH).trans (PairSemantics.sound204 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue269, PairSemantics.value0, PairSemantics.value4, PairSemantics.value10, PairSemantics.value204, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue270 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (5 / 48)), (2, (5 / 48)), (13, (5 / 9))]
theorem singlePair270 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node270 node270Labels = Sparse.eval singlePairValue270 (familyPairVector B) := by have hp := single_label_three B hB node270 have hl : node270Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node270 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node270 (EqualityPatterns.family3.label 0) = PairSemantics.raw7979 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node270 PairSemantics.raw7979; decide +kernel rw [heq] exact (PairSemantics.canonical7979 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node270 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node270 (EqualityPatterns.family3.label 1) = PairSemantics.raw924 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node270 PairSemantics.raw924; decide +kernel rw [heq] exact (PairSemantics.canonical924 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node270 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node270 (EqualityPatterns.family3.label 2) = PairSemantics.raw8985 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node270 PairSemantics.raw8985; decide +kernel rw [heq] exact (PairSemantics.canonical8985 hH).trans (PairSemantics.sound4 hH) have hm3 : familyPairMoment B (groupedColumns node270 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value3 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node270 (EqualityPatterns.family3.label 3) = PairSemantics.raw900 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node270 PairSemantics.raw900; decide +kernel rw [heq] exact (PairSemantics.canonical900 hH).trans (PairSemantics.sound3 hH) have hm4 : familyPairMoment B (groupedColumns node270 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value37 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node270 (EqualityPatterns.family3.label 4) = PairSemantics.raw556 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node270 PairSemantics.raw556; decide +kernel rw [heq] exact (PairSemantics.canonical556 hH).trans (PairSemantics.sound37 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue270, PairSemantics.value0, PairSemantics.value3, PairSemantics.value4, PairSemantics.value10, PairSemantics.value37, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue271 : Sparse (Fin 909) := [(0, (1 / 36)), (2, (5 / 12)), (32, (5 / 9))]
theorem singlePair271 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node271 node271Labels = Sparse.eval singlePairValue271 (familyPairVector B) := by have hp := single_label_three B hB node271 have hl : node271Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node271 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node271 (EqualityPatterns.family3.label 0) = PairSemantics.raw7979 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node271 PairSemantics.raw7979; decide +kernel rw [heq] exact (PairSemantics.canonical7979 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node271 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value3 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node271 (EqualityPatterns.family3.label 1) = PairSemantics.raw927 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node271 PairSemantics.raw927; decide +kernel rw [heq] exact (PairSemantics.canonical927 hH).trans (PairSemantics.sound3 hH) have hm2 : familyPairMoment B (groupedColumns node271 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value3 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node271 (EqualityPatterns.family3.label 2) = PairSemantics.raw8956 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node271 PairSemantics.raw8956; decide +kernel rw [heq] exact (PairSemantics.canonical8956 hH).trans (PairSemantics.sound3 hH) have hm3 : familyPairMoment B (groupedColumns node271 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value3 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node271 (EqualityPatterns.family3.label 3) = PairSemantics.raw900 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node271 PairSemantics.raw900; decide +kernel rw [heq] exact (PairSemantics.canonical900 hH).trans (PairSemantics.sound3 hH) have hm4 : familyPairMoment B (groupedColumns node271 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value19 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node271 (EqualityPatterns.family3.label 4) = PairSemantics.raw565 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node271 PairSemantics.raw565; decide +kernel rw [heq] exact (PairSemantics.canonical565 hH).trans (PairSemantics.sound19 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue271, PairSemantics.value0, PairSemantics.value3, PairSemantics.value19, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue272 : Sparse (Fin 909) := []
theorem singlePair272 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node272 node272Labels = Sparse.eval singlePairValue272 (familyPairVector B) := by have hp := single_label_three B hB node272 have hl : node272Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node272 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node272 (EqualityPatterns.family3.label 0) = PairSemantics.raw7979 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node272 PairSemantics.raw7979; decide +kernel rw [heq] exact (PairSemantics.canonical7979 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node272 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node272 (EqualityPatterns.family3.label 1) = PairSemantics.raw924 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node272 PairSemantics.raw924; decide +kernel rw [heq] exact (PairSemantics.canonical924 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node272 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value5 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node272 (EqualityPatterns.family3.label 2) = PairSemantics.raw9021 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node272 PairSemantics.raw9021; decide +kernel rw [heq] exact (PairSemantics.canonical9021 hH).trans (PairSemantics.sound5 hH) have hm3 : familyPairMoment B (groupedColumns node272 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node272 (EqualityPatterns.family3.label 3) = PairSemantics.raw917 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node272 PairSemantics.raw917; decide +kernel rw [heq] exact (PairSemantics.canonical917 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node272 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value63 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node272 (EqualityPatterns.family3.label 4) = PairSemantics.raw580 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node272 PairSemantics.raw580; decide +kernel rw [heq] exact (PairSemantics.canonical580 hH).trans (PairSemantics.sound63 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue272, PairSemantics.value0, PairSemantics.value5, PairSemantics.value10, PairSemantics.value63, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue273 : Sparse (Fin 909) := [(0, (17 / 432)), (1, (-25 / 864)), (2, (5 / 216)), (6, (-5 / 864)), (8, (5 / 54)), (9, (5 / 216)), (68, (-5 / 72)), (71, (5 / 54)), (236, (-5 / 18))]
theorem singlePair273 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node273 node273Labels = Sparse.eval singlePairValue273 (familyPairVector B) := by have hp := single_label_three B hB node273 have hl : node273Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node273 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node273 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node273 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node273 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node273 (EqualityPatterns.family3.label 1) = PairSemantics.raw5128 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node273 PairSemantics.raw5128; decide +kernel rw [heq] exact (PairSemantics.canonical5128 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node273 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node273 (EqualityPatterns.family3.label 2) = PairSemantics.raw7677 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node273 PairSemantics.raw7677; decide +kernel rw [heq] exact (PairSemantics.canonical7677 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node273 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value116 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node273 (EqualityPatterns.family3.label 3) = PairSemantics.raw848 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node273 PairSemantics.raw848; decide +kernel rw [heq] exact (PairSemantics.canonical848 hH).trans (PairSemantics.sound116 hH) have hm4 : familyPairMoment B (groupedColumns node273 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value855 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node273 (EqualityPatterns.family3.label 4) = PairSemantics.raw597 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node273 PairSemantics.raw597; decide +kernel rw [heq] exact (PairSemantics.canonical597 hH).trans (PairSemantics.sound855 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue273, PairSemantics.value0, PairSemantics.value46, PairSemantics.value65, PairSemantics.value116, PairSemantics.value855, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue274 : Sparse (Fin 909) := [(0, (19 / 864)), (1, (35 / 864)), (2, (5 / 216)), (6, (-5 / 432)), (8, (5 / 27)), (9, (5 / 216)), (68, (-5 / 72)), (71, (5 / 54)), (126, (-5 / 18))]
theorem singlePair274 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node274 node274Labels = Sparse.eval singlePairValue274 (familyPairVector B) := by have hp := single_label_three B hB node274 have hl : node274Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node274 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node274 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node274 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node274 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node274 (EqualityPatterns.family3.label 1) = PairSemantics.raw5139 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node274 PairSemantics.raw5139; decide +kernel rw [heq] exact (PairSemantics.canonical5139 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node274 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node274 (EqualityPatterns.family3.label 2) = PairSemantics.raw7669 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node274 PairSemantics.raw7669; decide +kernel rw [heq] exact (PairSemantics.canonical7669 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node274 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value116 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node274 (EqualityPatterns.family3.label 3) = PairSemantics.raw848 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node274 PairSemantics.raw848; decide +kernel rw [heq] exact (PairSemantics.canonical848 hH).trans (PairSemantics.sound116 hH) have hm4 : familyPairMoment B (groupedColumns node274 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value554 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node274 (EqualityPatterns.family3.label 4) = PairSemantics.raw600 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node274 PairSemantics.raw600; decide +kernel rw [heq] exact (PairSemantics.canonical600 hH).trans (PairSemantics.sound554 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue274, PairSemantics.value0, PairSemantics.value11, PairSemantics.value116, PairSemantics.value232, PairSemantics.value554, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue275 : Sparse (Fin 909) := [(0, (7 / 216)), (1, (-25 / 288)), (2, (5 / 864)), (3, (5 / 54)), (5, (5 / 216)), (7, (5 / 54)), (24, (-5 / 18)), (27, (-5 / 72)), (68, (-5 / 36)), (126, (-5 / 18)), (197, (-5 / 18))]
theorem singlePair275 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node275 node275Labels = Sparse.eval singlePairValue275 (familyPairVector B) := by have hp := single_label_three B hB node275 have hl : node275Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node275 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node275 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node275 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node275 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node275 (EqualityPatterns.family3.label 1) = PairSemantics.raw5136 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node275 PairSemantics.raw5136; decide +kernel rw [heq] exact (PairSemantics.canonical5136 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node275 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node275 (EqualityPatterns.family3.label 2) = PairSemantics.raw7672 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node275 PairSemantics.raw7672; decide +kernel rw [heq] exact (PairSemantics.canonical7672 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node275 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value117 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node275 (EqualityPatterns.family3.label 3) = PairSemantics.raw849 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node275 PairSemantics.raw849; decide +kernel rw [heq] exact (PairSemantics.canonical849 hH).trans (PairSemantics.sound117 hH) have hm4 : familyPairMoment B (groupedColumns node275 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value640 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node275 (EqualityPatterns.family3.label 4) = PairSemantics.raw601 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node275 PairSemantics.raw601; decide +kernel rw [heq] exact (PairSemantics.canonical601 hH).trans (PairSemantics.sound640 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue275, PairSemantics.value0, PairSemantics.value11, PairSemantics.value46, PairSemantics.value117, PairSemantics.value640, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue276 : Sparse (Fin 909) := [(0, (7 / 216)), (1, (25 / 432)), (2, (-5 / 432)), (5, (5 / 216)), (8, (5 / 54)), (27, (-5 / 72)), (30, (-5 / 18)), (68, (-5 / 36)), (236, (-5 / 9))]
theorem singlePair276 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node276 node276Labels = Sparse.eval singlePairValue276 (familyPairVector B) := by have hp := single_label_three B hB node276 have hl : node276Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node276 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node276 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node276 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node276 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node276 (EqualityPatterns.family3.label 1) = PairSemantics.raw5139 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node276 PairSemantics.raw5139; decide +kernel rw [heq] exact (PairSemantics.canonical5139 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node276 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node276 (EqualityPatterns.family3.label 2) = PairSemantics.raw7670 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node276 PairSemantics.raw7670; decide +kernel rw [heq] exact (PairSemantics.canonical7670 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node276 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value117 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node276 (EqualityPatterns.family3.label 3) = PairSemantics.raw849 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node276 PairSemantics.raw849; decide +kernel rw [heq] exact (PairSemantics.canonical849 hH).trans (PairSemantics.sound117 hH) have hm4 : familyPairMoment B (groupedColumns node276 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value856 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node276 (EqualityPatterns.family3.label 4) = PairSemantics.raw602 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node276 PairSemantics.raw602; decide +kernel rw [heq] exact (PairSemantics.canonical602 hH).trans (PairSemantics.sound856 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue276, PairSemantics.value0, PairSemantics.value65, PairSemantics.value117, PairSemantics.value232, PairSemantics.value856, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue277 : Sparse (Fin 909) := [(0, (7 / 216)), (1, (-25 / 432)), (2, (5 / 432)), (68, (5 / 36)), (126, (5 / 9))]
theorem singlePair277 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node277 node277Labels = Sparse.eval singlePairValue277 (familyPairVector B) := by have hp := single_label_three B hB node277 have hl : node277Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node277 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node277 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node277 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node277 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node277 (EqualityPatterns.family3.label 1) = PairSemantics.raw5149 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node277 PairSemantics.raw5149; decide +kernel rw [heq] exact (PairSemantics.canonical5149 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node277 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node277 (EqualityPatterns.family3.label 2) = PairSemantics.raw7671 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node277 PairSemantics.raw7671; decide +kernel rw [heq] exact (PairSemantics.canonical7671 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node277 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value23 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node277 (EqualityPatterns.family3.label 3) = PairSemantics.raw852 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node277 PairSemantics.raw852; decide +kernel rw [heq] exact (PairSemantics.canonical852 hH).trans (PairSemantics.sound23 hH) have hm4 : familyPairMoment B (groupedColumns node277 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value167 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node277 (EqualityPatterns.family3.label 4) = PairSemantics.raw603 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node277 PairSemantics.raw603; decide +kernel rw [heq] exact (PairSemantics.canonical603 hH).trans (PairSemantics.sound167 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue277, PairSemantics.value0, PairSemantics.value11, PairSemantics.value23, PairSemantics.value46, PairSemantics.value167, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue278 : Sparse (Fin 909) := [(0, (7 / 288)), (1, (-5 / 432)), (2, (-5 / 864)), (3, (-5 / 27)), (5, (5 / 216)), (7, (-5 / 27)), (23, (5 / 9)), (24, (5 / 18)), (27, (-5 / 36)), (51, (5 / 18)), (54, (5 / 18)), (55, (5 / 18)), (64, (5 / 18)), (68, (-5 / 36)), (124, (5 / 9)), (125, (5 / 6)), (126, (5 / 9)), (196, (5 / 18)), (197, (5 / 18)), (266, (5 / 18))]
theorem singlePair278 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node278 node278Labels = Sparse.eval singlePairValue278 (familyPairVector B) := by have hp := single_label_three B hB node278 have hl : node278Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node278 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node278 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node278 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node278 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node278 (EqualityPatterns.family3.label 1) = PairSemantics.raw5155 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node278 PairSemantics.raw5155; decide +kernel rw [heq] exact (PairSemantics.canonical5155 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node278 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node278 (EqualityPatterns.family3.label 2) = PairSemantics.raw7632 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node278 PairSemantics.raw7632; decide +kernel rw [heq] exact (PairSemantics.canonical7632 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node278 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value117 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node278 (EqualityPatterns.family3.label 3) = PairSemantics.raw845 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node278 PairSemantics.raw845; decide +kernel rw [heq] exact (PairSemantics.canonical845 hH).trans (PairSemantics.sound117 hH) have hm4 : familyPairMoment B (groupedColumns node278 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1857 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node278 (EqualityPatterns.family3.label 4) = PairSemantics.raw604 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node278 PairSemantics.raw604; decide +kernel rw [heq] exact (PairSemantics.canonical604 hH).trans (PairSemantics.sound1857 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue278, PairSemantics.value0, PairSemantics.value46, PairSemantics.value117, PairSemantics.value1857, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue279 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (-5 / 108)), (2, (5 / 216)), (68, (5 / 36)), (125, (-5 / 9)), (126, (-5 / 9))]
theorem singlePair279 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node279 node279Labels = Sparse.eval singlePairValue279 (familyPairVector B) := by have hp := single_label_three B hB node279 have hl : node279Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node279 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node279 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node279 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node279 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node279 (EqualityPatterns.family3.label 1) = PairSemantics.raw5159 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node279 PairSemantics.raw5159; decide +kernel rw [heq] exact (PairSemantics.canonical5159 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node279 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node279 (EqualityPatterns.family3.label 2) = PairSemantics.raw7631 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node279 PairSemantics.raw7631; decide +kernel rw [heq] exact (PairSemantics.canonical7631 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node279 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value23 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node279 (EqualityPatterns.family3.label 3) = PairSemantics.raw846 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node279 PairSemantics.raw846; decide +kernel rw [heq] exact (PairSemantics.canonical846 hH).trans (PairSemantics.sound23 hH) have hm4 : familyPairMoment B (groupedColumns node279 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value530 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node279 (EqualityPatterns.family3.label 4) = PairSemantics.raw605 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node279 PairSemantics.raw605; decide +kernel rw [heq] exact (PairSemantics.canonical605 hH).trans (PairSemantics.sound530 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue279, PairSemantics.value0, PairSemantics.value23, PairSemantics.value46, PairSemantics.value530, Sparse.eval] at hp ⊢ linarith only [hp]
end MUB6.Certificate.MixedSemantics
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927import OAI.Analysis.MutuallyUnbiased.MixedSemantics.GroupedColumnsimport OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes4import OAI.Analysis.MutuallyUnbiased.MixedSemantics.SingleRulesimport OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical160import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical161import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical18import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical19import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical238import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical240import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical249import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical26import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound0import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound2import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound28import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound29import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound3import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound33import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound38import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound5import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound8
namespace OAI
namespace MUB6.Certificate.MixedSemantics
open scoped BigOperators
def singlePairValue280 : Sparse (Fin 909) := [(0, (19 / 864)), (1, (5 / 144)), (2, (5 / 72)), (3, (-10 / 27)), (4, (-5 / 54)), (5, (-5 / 36)), (6, (5 / 288)), (7, (-5 / 54)), (9, (-5 / 216)), (12, (-5 / 54)), (23, (5 / 18)), (25, (5 / 18)), (26, (-5 / 27)), (27, (5 / 24)), (35, (-5 / 54)), (51, (5 / 18)), (54, (5 / 18)), (55, (5 / 18)), (64, (5 / 18)), (68, (25 / 72)), (123, (5 / 18)), (124, (5 / 18)), (125, (5 / 18)), (259, (5 / 18)), (266, (5 / 18)), (487, (-5 / 9))]
theorem singlePair280 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node280 node280Labels = Sparse.eval singlePairValue280 (familyPairVector B) := by have hp := single_label_three B hB node280 have hl : node280Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node280 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node280 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node280 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node280 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node280 (EqualityPatterns.family3.label 1) = PairSemantics.raw5153 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node280 PairSemantics.raw5153; decide +kernel rw [heq] exact (PairSemantics.canonical5153 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node280 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node280 (EqualityPatterns.family3.label 2) = PairSemantics.raw7641 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node280 PairSemantics.raw7641; decide +kernel rw [heq] exact (PairSemantics.canonical7641 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node280 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value380 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node280 (EqualityPatterns.family3.label 3) = PairSemantics.raw847 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node280 PairSemantics.raw847; decide +kernel rw [heq] exact (PairSemantics.canonical847 hH).trans (PairSemantics.sound380 hH) have hm4 : familyPairMoment B (groupedColumns node280 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1864 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node280 (EqualityPatterns.family3.label 4) = PairSemantics.raw606 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node280 PairSemantics.raw606; decide +kernel rw [heq] exact (PairSemantics.canonical606 hH).trans (PairSemantics.sound1864 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue280, PairSemantics.value0, PairSemantics.value46, PairSemantics.value380, PairSemantics.value1864, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue281 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (-55 / 864)), (2, (5 / 288)), (5, (5 / 108)), (6, (-5 / 432)), (9, (5 / 216)), (51, (-5 / 18)), (68, (-5 / 72)), (123, (-5 / 18)), (124, (-5 / 18)), (259, (-5 / 18))]
theorem singlePair281 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node281 node281Labels = Sparse.eval singlePairValue281 (familyPairVector B) := by have hp := single_label_three B hB node281 have hl : node281Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node281 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node281 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node281 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node281 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node281 (EqualityPatterns.family3.label 1) = PairSemantics.raw5157 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node281 PairSemantics.raw5157; decide +kernel rw [heq] exact (PairSemantics.canonical5157 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node281 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node281 (EqualityPatterns.family3.label 2) = PairSemantics.raw7638 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node281 PairSemantics.raw7638; decide +kernel rw [heq] exact (PairSemantics.canonical7638 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node281 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value116 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node281 (EqualityPatterns.family3.label 3) = PairSemantics.raw848 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node281 PairSemantics.raw848; decide +kernel rw [heq] exact (PairSemantics.canonical848 hH).trans (PairSemantics.sound116 hH) have hm4 : familyPairMoment B (groupedColumns node281 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value528 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node281 (EqualityPatterns.family3.label 4) = PairSemantics.raw607 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node281 PairSemantics.raw607; decide +kernel rw [heq] exact (PairSemantics.canonical607 hH).trans (PairSemantics.sound528 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue281, PairSemantics.value0, PairSemantics.value46, PairSemantics.value116, PairSemantics.value528, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue282 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (-25 / 432)), (2, (5 / 432)), (5, (5 / 216)), (27, (-5 / 72)), (68, (-5 / 36)), (487, (5 / 9))]
theorem singlePair282 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node282 node282Labels = Sparse.eval singlePairValue282 (familyPairVector B) := by have hp := single_label_three B hB node282 have hl : node282Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node282 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node282 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node282 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node282 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node282 (EqualityPatterns.family3.label 1) = PairSemantics.raw5157 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node282 PairSemantics.raw5157; decide +kernel rw [heq] exact (PairSemantics.canonical5157 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node282 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node282 (EqualityPatterns.family3.label 2) = PairSemantics.raw7640 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node282 PairSemantics.raw7640; decide +kernel rw [heq] exact (PairSemantics.canonical7640 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node282 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value117 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node282 (EqualityPatterns.family3.label 3) = PairSemantics.raw849 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node282 PairSemantics.raw849; decide +kernel rw [heq] exact (PairSemantics.canonical849 hH).trans (PairSemantics.sound117 hH) have hm4 : familyPairMoment B (groupedColumns node282 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value534 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node282 (EqualityPatterns.family3.label 4) = PairSemantics.raw608 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node282 PairSemantics.raw608; decide +kernel rw [heq] exact (PairSemantics.canonical608 hH).trans (PairSemantics.sound534 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue282, PairSemantics.value0, PairSemantics.value46, PairSemantics.value117, PairSemantics.value534, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue283 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (55 / 864)), (2, (-25 / 432)), (3, (-5 / 18)), (4, (-5 / 54)), (5, (-5 / 72)), (6, (5 / 288)), (7, (-5 / 27)), (8, (-5 / 27)), (9, (-5 / 216)), (24, (5 / 9)), (27, (5 / 36)), (51, (5 / 18)), (52, (-5 / 54)), (68, (25 / 72)), (69, (-5 / 54)), (124, (5 / 18)), (126, (10 / 9))]
theorem singlePair283 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node283 node283Labels = Sparse.eval singlePairValue283 (familyPairVector B) := by have hp := single_label_three B hB node283 have hl : node283Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node283 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node283 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node283 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node283 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node283 (EqualityPatterns.family3.label 1) = PairSemantics.raw5164 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node283 PairSemantics.raw5164; decide +kernel rw [heq] exact (PairSemantics.canonical5164 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node283 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node283 (EqualityPatterns.family3.label 2) = PairSemantics.raw7633 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node283 PairSemantics.raw7633; decide +kernel rw [heq] exact (PairSemantics.canonical7633 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node283 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value380 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node283 (EqualityPatterns.family3.label 3) = PairSemantics.raw847 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node283 PairSemantics.raw847; decide +kernel rw [heq] exact (PairSemantics.canonical847 hH).trans (PairSemantics.sound380 hH) have hm4 : familyPairMoment B (groupedColumns node283 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1871 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node283 (EqualityPatterns.family3.label 4) = PairSemantics.raw609 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node283 PairSemantics.raw609; decide +kernel rw [heq] exact (PairSemantics.canonical609 hH).trans (PairSemantics.sound1871 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue283, PairSemantics.value0, PairSemantics.value11, PairSemantics.value232, PairSemantics.value380, PairSemantics.value1871, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue284 : Sparse (Fin 909) := [(0, (1 / 54)), (1, (95 / 864)), (2, (-5 / 288)), (3, (5 / 54)), (6, (-5 / 432)), (7, (5 / 27)), (9, (5 / 216)), (68, (-5 / 72)), (69, (5 / 54)), (124, (-5 / 18))]
theorem singlePair284 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node284 node284Labels = Sparse.eval singlePairValue284 (familyPairVector B) := by have hp := single_label_three B hB node284 have hl : node284Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node284 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node284 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node284 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node284 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node284 (EqualityPatterns.family3.label 1) = PairSemantics.raw5165 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node284 PairSemantics.raw5165; decide +kernel rw [heq] exact (PairSemantics.canonical5165 hH).trans (PairSemantics.sound4 hH) have hm2 : familyPairMoment B (groupedColumns node284 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node284 (EqualityPatterns.family3.label 2) = PairSemantics.raw7634 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node284 PairSemantics.raw7634; decide +kernel rw [heq] exact (PairSemantics.canonical7634 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node284 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value116 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node284 (EqualityPatterns.family3.label 3) = PairSemantics.raw848 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node284 PairSemantics.raw848; decide +kernel rw [heq] exact (PairSemantics.canonical848 hH).trans (PairSemantics.sound116 hH) have hm4 : familyPairMoment B (groupedColumns node284 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value541 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node284 (EqualityPatterns.family3.label 4) = PairSemantics.raw610 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node284 PairSemantics.raw610; decide +kernel rw [heq] exact (PairSemantics.canonical610 hH).trans (PairSemantics.sound541 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue284, PairSemantics.value0, PairSemantics.value4, PairSemantics.value116, PairSemantics.value232, PairSemantics.value541, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue285 : Sparse (Fin 909) := [(0, (1 / 32)), (1, (-25 / 432)), (2, (35 / 864)), (3, (5 / 54)), (6, (-5 / 432)), (7, (5 / 54)), (9, (5 / 216)), (52, (5 / 54)), (68, (-5 / 72)), (69, (5 / 54)), (126, (-5 / 18))]
theorem singlePair285 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node285 node285Labels = Sparse.eval singlePairValue285 (familyPairVector B) := by have hp := single_label_three B hB node285 have hl : node285Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node285 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node285 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node285 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node285 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node285 (EqualityPatterns.family3.label 1) = PairSemantics.raw5167 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node285 PairSemantics.raw5167; decide +kernel rw [heq] exact (PairSemantics.canonical5167 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node285 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node285 (EqualityPatterns.family3.label 2) = PairSemantics.raw7631 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node285 PairSemantics.raw7631; decide +kernel rw [heq] exact (PairSemantics.canonical7631 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node285 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value116 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node285 (EqualityPatterns.family3.label 3) = PairSemantics.raw848 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node285 PairSemantics.raw848; decide +kernel rw [heq] exact (PairSemantics.canonical848 hH).trans (PairSemantics.sound116 hH) have hm4 : familyPairMoment B (groupedColumns node285 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value544 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node285 (EqualityPatterns.family3.label 4) = PairSemantics.raw611 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node285 PairSemantics.raw611; decide +kernel rw [heq] exact (PairSemantics.canonical611 hH).trans (PairSemantics.sound544 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue285, PairSemantics.value0, PairSemantics.value11, PairSemantics.value46, PairSemantics.value116, PairSemantics.value544, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue286 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (25 / 288)), (2, (5 / 864)), (3, (5 / 54)), (5, (5 / 216)), (7, (5 / 54)), (23, (-5 / 18)), (27, (-5 / 72)), (68, (-5 / 36)), (124, (-5 / 18)), (125, (-5 / 18))]
theorem singlePair286 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node286 node286Labels = Sparse.eval singlePairValue286 (familyPairVector B) := by have hp := single_label_three B hB node286 have hl : node286Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node286 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node286 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node286 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node286 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node286 (EqualityPatterns.family3.label 1) = PairSemantics.raw5165 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node286 PairSemantics.raw5165; decide +kernel rw [heq] exact (PairSemantics.canonical5165 hH).trans (PairSemantics.sound4 hH) have hm2 : familyPairMoment B (groupedColumns node286 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node286 (EqualityPatterns.family3.label 2) = PairSemantics.raw7637 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node286 PairSemantics.raw7637; decide +kernel rw [heq] exact (PairSemantics.canonical7637 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node286 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value117 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node286 (EqualityPatterns.family3.label 3) = PairSemantics.raw849 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node286 PairSemantics.raw849; decide +kernel rw [heq] exact (PairSemantics.canonical849 hH).trans (PairSemantics.sound117 hH) have hm4 : familyPairMoment B (groupedColumns node286 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value542 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node286 (EqualityPatterns.family3.label 4) = PairSemantics.raw612 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node286 PairSemantics.raw612; decide +kernel rw [heq] exact (PairSemantics.canonical612 hH).trans (PairSemantics.sound542 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue286, PairSemantics.value0, PairSemantics.value4, PairSemantics.value46, PairSemantics.value117, PairSemantics.value542, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue287 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (5 / 432)), (2, (-5 / 432)), (5, (5 / 216)), (8, (5 / 54)), (24, (-5 / 18)), (27, (-5 / 72)), (68, (-5 / 36)), (126, (-5 / 9))]
theorem singlePair287 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node287 node287Labels = Sparse.eval singlePairValue287 (familyPairVector B) := by have hp := single_label_three B hB node287 have hl : node287Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node287 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node287 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node287 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node287 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node287 (EqualityPatterns.family3.label 1) = PairSemantics.raw5167 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node287 PairSemantics.raw5167; decide +kernel rw [heq] exact (PairSemantics.canonical5167 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node287 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node287 (EqualityPatterns.family3.label 2) = PairSemantics.raw7634 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node287 PairSemantics.raw7634; decide +kernel rw [heq] exact (PairSemantics.canonical7634 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node287 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value117 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node287 (EqualityPatterns.family3.label 3) = PairSemantics.raw849 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node287 PairSemantics.raw849; decide +kernel rw [heq] exact (PairSemantics.canonical849 hH).trans (PairSemantics.sound117 hH) have hm4 : familyPairMoment B (groupedColumns node287 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value545 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node287 (EqualityPatterns.family3.label 4) = PairSemantics.raw613 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node287 PairSemantics.raw613; decide +kernel rw [heq] exact (PairSemantics.canonical613 hH).trans (PairSemantics.sound545 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue287, PairSemantics.value0, PairSemantics.value11, PairSemantics.value117, PairSemantics.value232, PairSemantics.value545, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue288 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (-5 / 72)), (2, (-5 / 144)), (5, (5 / 216)), (27, (-5 / 72)), (55, (-5 / 18)), (64, (-5 / 18)), (68, (-5 / 36)), (125, (-5 / 18)), (266, (-5 / 18))]
theorem singlePair288 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node288 node288Labels = Sparse.eval singlePairValue288 (familyPairVector B) := by have hp := single_label_three B hB node288 have hl : node288Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node288 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node288 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node288 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node288 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node288 (EqualityPatterns.family3.label 1) = PairSemantics.raw5173 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node288 PairSemantics.raw5173; decide +kernel rw [heq] exact (PairSemantics.canonical5173 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node288 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node288 (EqualityPatterns.family3.label 2) = PairSemantics.raw7628 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node288 PairSemantics.raw7628; decide +kernel rw [heq] exact (PairSemantics.canonical7628 hH).trans (PairSemantics.sound10 hH) have hm3 : familyPairMoment B (groupedColumns node288 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value117 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node288 (EqualityPatterns.family3.label 3) = PairSemantics.raw849 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node288 PairSemantics.raw849; decide +kernel rw [heq] exact (PairSemantics.canonical849 hH).trans (PairSemantics.sound117 hH) have hm4 : familyPairMoment B (groupedColumns node288 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value353 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node288 (EqualityPatterns.family3.label 4) = PairSemantics.raw614 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node288 PairSemantics.raw614; decide +kernel rw [heq] exact (PairSemantics.canonical614 hH).trans (PairSemantics.sound353 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue288, PairSemantics.value0, PairSemantics.value10, PairSemantics.value46, PairSemantics.value117, PairSemantics.value353, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue289 : Sparse (Fin 909) := [(0, (1 / 32)), (1, (-35 / 432)), (2, (5 / 864)), (5, (5 / 216)), (51, (-5 / 18)), (68, (-5 / 36)), (124, (-5 / 18)), (126, (-5 / 18))]
theorem singlePair289 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node289 node289Labels = Sparse.eval singlePairValue289 (familyPairVector B) := by have hp := single_label_three B hB node289 have hl : node289Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node289 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node289 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node289 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node289 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node289 (EqualityPatterns.family3.label 1) = PairSemantics.raw5175 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node289 PairSemantics.raw5175; decide +kernel rw [heq] exact (PairSemantics.canonical5175 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node289 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node289 (EqualityPatterns.family3.label 2) = PairSemantics.raw7626 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node289 PairSemantics.raw7626; decide +kernel rw [heq] exact (PairSemantics.canonical7626 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node289 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value117 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node289 (EqualityPatterns.family3.label 3) = PairSemantics.raw849 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node289 PairSemantics.raw849; decide +kernel rw [heq] exact (PairSemantics.canonical849 hH).trans (PairSemantics.sound117 hH) have hm4 : familyPairMoment B (groupedColumns node289 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value547 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node289 (EqualityPatterns.family3.label 4) = PairSemantics.raw615 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node289 PairSemantics.raw615; decide +kernel rw [heq] exact (PairSemantics.canonical615 hH).trans (PairSemantics.sound547 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue289, PairSemantics.value0, PairSemantics.value11, PairSemantics.value46, PairSemantics.value117, PairSemantics.value547, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue290 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (25 / 216)), (2, (5 / 432)), (68, (5 / 36)), (124, (5 / 9))]
theorem singlePair290 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node290 node290Labels = Sparse.eval singlePairValue290 (familyPairVector B) := by have hp := single_label_three B hB node290 have hl : node290Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node290 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node290 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node290 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node290 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node290 (EqualityPatterns.family3.label 1) = PairSemantics.raw5169 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node290 PairSemantics.raw5169; decide +kernel rw [heq] exact (PairSemantics.canonical5169 hH).trans (PairSemantics.sound4 hH) have hm2 : familyPairMoment B (groupedColumns node290 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node290 (EqualityPatterns.family3.label 2) = PairSemantics.raw7639 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node290 PairSemantics.raw7639; decide +kernel rw [heq] exact (PairSemantics.canonical7639 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node290 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value23 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node290 (EqualityPatterns.family3.label 3) = PairSemantics.raw852 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node290 PairSemantics.raw852; decide +kernel rw [heq] exact (PairSemantics.canonical852 hH).trans (PairSemantics.sound23 hH) have hm4 : familyPairMoment B (groupedColumns node290 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value162 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node290 (EqualityPatterns.family3.label 4) = PairSemantics.raw616 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node290 PairSemantics.raw616; decide +kernel rw [heq] exact (PairSemantics.canonical616 hH).trans (PairSemantics.sound162 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue290, PairSemantics.value0, PairSemantics.value4, PairSemantics.value23, PairSemantics.value46, PairSemantics.value162, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue291 : Sparse (Fin 909) := [(0, (37 / 864)), (1, (-5 / 108)), (2, (5 / 216)), (5, (5 / 108)), (6, (-5 / 108)), (8, (-5 / 27)), (9, (-5 / 216)), (58, (5 / 864)), (68, (5 / 72)), (71, (-5 / 27)), (236, (5 / 18))]
theorem singlePair291 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node291 node291Labels = Sparse.eval singlePairValue291 (familyPairVector B) := by have hp := single_label_three B hB node291 have hl : node291Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node291 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node291 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node291 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node291 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node291 (EqualityPatterns.family3.label 1) = PairSemantics.raw5123 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node291 PairSemantics.raw5123; decide +kernel rw [heq] exact (PairSemantics.canonical5123 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node291 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node291 (EqualityPatterns.family3.label 2) = PairSemantics.raw7702 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node291 PairSemantics.raw7702; decide +kernel rw [heq] exact (PairSemantics.canonical7702 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node291 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value381 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node291 (EqualityPatterns.family3.label 3) = PairSemantics.raw854 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node291 PairSemantics.raw854; decide +kernel rw [heq] exact (PairSemantics.canonical854 hH).trans (PairSemantics.sound381 hH) have hm4 : familyPairMoment B (groupedColumns node291 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2458 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node291 (EqualityPatterns.family3.label 4) = PairSemantics.raw617 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node291 PairSemantics.raw617; decide +kernel rw [heq] exact (PairSemantics.canonical617 hH).trans (PairSemantics.sound2458 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue291, PairSemantics.value0, PairSemantics.value46, PairSemantics.value65, PairSemantics.value381, PairSemantics.value2458, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue292 : Sparse (Fin 909) := [(0, (17 / 864)), (1, (-5 / 108)), (2, (-65 / 864)), (3, (-10 / 27)), (6, (-25 / 864)), (7, (-5 / 54)), (9, (-5 / 108)), (12, (-5 / 54)), (13, (-10 / 27)), (35, (-5 / 27)), (51, (5 / 18)), (52, (-10 / 27)), (58, (5 / 864)), (68, (5 / 72)), (69, (-5 / 54)), (126, (5 / 18)), (128, (-5 / 54)), (262, (5 / 18)), (495, (-5 / 54))]
theorem singlePair292 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node292 node292Labels = Sparse.eval singlePairValue292 (familyPairVector B) := by have hp := single_label_three B hB node292 have hl : node292Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node292 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node292 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node292 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node292 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node292 (EqualityPatterns.family3.label 1) = PairSemantics.raw5124 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node292 PairSemantics.raw5124; decide +kernel rw [heq] exact (PairSemantics.canonical5124 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node292 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node292 (EqualityPatterns.family3.label 2) = PairSemantics.raw7701 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node292 PairSemantics.raw7701; decide +kernel rw [heq] exact (PairSemantics.canonical7701 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node292 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value381 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node292 (EqualityPatterns.family3.label 3) = PairSemantics.raw854 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node292 PairSemantics.raw854; decide +kernel rw [heq] exact (PairSemantics.canonical854 hH).trans (PairSemantics.sound381 hH) have hm4 : familyPairMoment B (groupedColumns node292 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1850 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node292 (EqualityPatterns.family3.label 4) = PairSemantics.raw618 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node292 PairSemantics.raw618; decide +kernel rw [heq] exact (PairSemantics.canonical618 hH).trans (PairSemantics.sound1850 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue292, PairSemantics.value0, PairSemantics.value46, PairSemantics.value232, PairSemantics.value381, PairSemantics.value1850, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue293 : Sparse (Fin 909) := [(0, (19 / 432)), (1, (-55 / 864)), (2, (-25 / 432)), (3, (-5 / 27)), (5, (5 / 54)), (6, (5 / 288)), (7, (-5 / 27)), (8, (-5 / 27)), (9, (-5 / 108)), (52, (-5 / 54)), (68, (5 / 36)), (69, (-5 / 54)), (71, (-5 / 54)), (126, (5 / 18)), (236, (5 / 18))]
theorem singlePair293 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node293 node293Labels = Sparse.eval singlePairValue293 (familyPairVector B) := by have hp := single_label_three B hB node293 have hl : node293Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node293 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node293 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node293 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node293 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node293 (EqualityPatterns.family3.label 1) = PairSemantics.raw5123 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node293 PairSemantics.raw5123; decide +kernel rw [heq] exact (PairSemantics.canonical5123 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node293 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node293 (EqualityPatterns.family3.label 2) = PairSemantics.raw7704 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node293 PairSemantics.raw7704; decide +kernel rw [heq] exact (PairSemantics.canonical7704 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node293 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value382 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node293 (EqualityPatterns.family3.label 3) = PairSemantics.raw855 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node293 PairSemantics.raw855; decide +kernel rw [heq] exact (PairSemantics.canonical855 hH).trans (PairSemantics.sound382 hH) have hm4 : familyPairMoment B (groupedColumns node293 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2460 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node293 (EqualityPatterns.family3.label 4) = PairSemantics.raw619 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node293 PairSemantics.raw619; decide +kernel rw [heq] exact (PairSemantics.canonical619 hH).trans (PairSemantics.sound2460 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue293, PairSemantics.value0, PairSemantics.value46, PairSemantics.value65, PairSemantics.value382, PairSemantics.value2460, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue294 : Sparse (Fin 909) := [(0, (7 / 288)), (1, (5 / 288)), (2, (-5 / 108)), (3, (-5 / 27)), (6, (-35 / 864)), (7, (-5 / 54)), (8, (-5 / 27)), (9, (-5 / 216)), (52, (-5 / 27)), (58, (5 / 864)), (68, (5 / 72)), (69, (-5 / 54)), (71, (-5 / 54)), (126, (5 / 18))]
theorem singlePair294 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node294 node294Labels = Sparse.eval singlePairValue294 (familyPairVector B) := by have hp := single_label_three B hB node294 have hl : node294Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node294 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node294 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node294 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node294 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node294 (EqualityPatterns.family3.label 1) = PairSemantics.raw5127 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node294 PairSemantics.raw5127; decide +kernel rw [heq] exact (PairSemantics.canonical5127 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node294 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node294 (EqualityPatterns.family3.label 2) = PairSemantics.raw7698 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node294 PairSemantics.raw7698; decide +kernel rw [heq] exact (PairSemantics.canonical7698 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node294 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value381 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node294 (EqualityPatterns.family3.label 3) = PairSemantics.raw854 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node294 PairSemantics.raw854; decide +kernel rw [heq] exact (PairSemantics.canonical854 hH).trans (PairSemantics.sound381 hH) have hm4 : familyPairMoment B (groupedColumns node294 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1876 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node294 (EqualityPatterns.family3.label 4) = PairSemantics.raw620 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node294 PairSemantics.raw620; decide +kernel rw [heq] exact (PairSemantics.canonical620 hH).trans (PairSemantics.sound1876 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue294, PairSemantics.value0, PairSemantics.value11, PairSemantics.value232, PairSemantics.value381, PairSemantics.value1876, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue295 : Sparse (Fin 909) := [(0, (1 / 32)), (1, (-5 / 216)), (2, (-5 / 144)), (3, (-25 / 54)), (4, (-5 / 54)), (5, (5 / 108)), (6, (5 / 288)), (7, (-5 / 18)), (9, (-5 / 108)), (24, (5 / 18)), (26, (-5 / 27)), (27, (5 / 72)), (35, (-5 / 18)), (52, (-5 / 54)), (68, (5 / 36)), (69, (-5 / 54)), (70, (-5 / 54)), (126, (5 / 18)), (197, (5 / 18))]
theorem singlePair295 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node295 node295Labels = Sparse.eval singlePairValue295 (familyPairVector B) := by have hp := single_label_three B hB node295 have hl : node295Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node295 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node295 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node295 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node295 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node295 (EqualityPatterns.family3.label 1) = PairSemantics.raw5126 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node295 PairSemantics.raw5126; decide +kernel rw [heq] exact (PairSemantics.canonical5126 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node295 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node295 (EqualityPatterns.family3.label 2) = PairSemantics.raw7700 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node295 PairSemantics.raw7700; decide +kernel rw [heq] exact (PairSemantics.canonical7700 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node295 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value382 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node295 (EqualityPatterns.family3.label 3) = PairSemantics.raw855 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node295 PairSemantics.raw855; decide +kernel rw [heq] exact (PairSemantics.canonical855 hH).trans (PairSemantics.sound382 hH) have hm4 : familyPairMoment B (groupedColumns node295 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2114 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node295 (EqualityPatterns.family3.label 4) = PairSemantics.raw621 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node295 PairSemantics.raw621; decide +kernel rw [heq] exact (PairSemantics.canonical621 hH).trans (PairSemantics.sound2114 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue295, PairSemantics.value0, PairSemantics.value11, PairSemantics.value46, PairSemantics.value382, PairSemantics.value2114, Sparse.eval] at hp ⊢ linarith only [hp]
end MUB6.Certificate.MixedSemantics
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927import OAI.Analysis.MutuallyUnbiased.MixedSemantics.GroupedColumnsimport OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes4import OAI.Analysis.MutuallyUnbiased.MixedSemantics.SingleRulesimport OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical160import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical19import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical240import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical241import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical249import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical26import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical27import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound0import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound10import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound13import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound28import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound29import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound3import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound33import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound38import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound5import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound8
namespace OAI
namespace MUB6.Certificate.MixedSemantics
open scoped BigOperators
def singlePairValue296 : Sparse (Fin 909) := [(0, (17 / 864)), (1, (-5 / 216)), (2, (-25 / 288)), (3, (-10 / 27)), (4, (-5 / 54)), (5, (5 / 216)), (6, (5 / 216)), (7, (-5 / 27)), (8, (-5 / 54)), (9, (-5 / 108)), (12, (-5 / 54)), (13, (-5 / 54)), (26, (-5 / 54)), (27, (5 / 72)), (33, (5 / 18)), (35, (-5 / 27)), (51, (5 / 18)), (52, (-5 / 27)), (59, (5 / 18)), (68, (5 / 36)), (81, (5 / 18)), (256, (5 / 18)), (486, (-5 / 9))]
theorem singlePair296 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node296 node296Labels = Sparse.eval singlePairValue296 (familyPairVector B) := by have hp := single_label_three B hB node296 have hl : node296Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node296 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node296 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node296 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node296 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node296 (EqualityPatterns.family3.label 1) = PairSemantics.raw5130 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node296 PairSemantics.raw5130; decide +kernel rw [heq] exact (PairSemantics.canonical5130 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node296 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node296 (EqualityPatterns.family3.label 2) = PairSemantics.raw7697 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node296 PairSemantics.raw7697; decide +kernel rw [heq] exact (PairSemantics.canonical7697 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node296 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value382 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node296 (EqualityPatterns.family3.label 3) = PairSemantics.raw855 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node296 PairSemantics.raw855; decide +kernel rw [heq] exact (PairSemantics.canonical855 hH).trans (PairSemantics.sound382 hH) have hm4 : familyPairMoment B (groupedColumns node296 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1851 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node296 (EqualityPatterns.family3.label 4) = PairSemantics.raw622 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node296 PairSemantics.raw622; decide +kernel rw [heq] exact (PairSemantics.canonical622 hH).trans (PairSemantics.sound1851 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue296, PairSemantics.value0, PairSemantics.value46, PairSemantics.value232, PairSemantics.value382, PairSemantics.value1851, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue297 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (-5 / 432)), (2, (-5 / 144)), (3, (-25 / 54)), (6, (5 / 216)), (7, (-5 / 18)), (9, (-5 / 108)), (12, (-5 / 54)), (13, (-5 / 54)), (23, (5 / 18)), (25, (5 / 18)), (26, (-5 / 54)), (27, (5 / 72)), (35, (-5 / 54)), (51, (5 / 9)), (52, (-5 / 54)), (54, (5 / 9)), (64, (5 / 9)), (68, (5 / 36)), (123, (5 / 18)), (124, (5 / 18)), (125, (5 / 18)), (259, (5 / 18)), (260, (5 / 18))]
theorem singlePair297 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node297 node297Labels = Sparse.eval singlePairValue297 (familyPairVector B) := by have hp := single_label_three B hB node297 have hl : node297Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node297 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node297 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node297 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node297 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node297 (EqualityPatterns.family3.label 1) = PairSemantics.raw5134 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node297 PairSemantics.raw5134; decide +kernel rw [heq] exact (PairSemantics.canonical5134 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node297 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node297 (EqualityPatterns.family3.label 2) = PairSemantics.raw7694 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node297 PairSemantics.raw7694; decide +kernel rw [heq] exact (PairSemantics.canonical7694 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node297 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value382 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node297 (EqualityPatterns.family3.label 3) = PairSemantics.raw855 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node297 PairSemantics.raw855; decide +kernel rw [heq] exact (PairSemantics.canonical855 hH).trans (PairSemantics.sound382 hH) have hm4 : familyPairMoment B (groupedColumns node297 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1852 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node297 (EqualityPatterns.family3.label 4) = PairSemantics.raw623 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node297 PairSemantics.raw623; decide +kernel rw [heq] exact (PairSemantics.canonical623 hH).trans (PairSemantics.sound1852 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue297, PairSemantics.value0, PairSemantics.value46, PairSemantics.value382, PairSemantics.value1852, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue298 : Sparse (Fin 909) := [(0, (5 / 288)), (1, (5 / 432)), (2, (-35 / 864)), (3, (-5 / 27)), (5, (-5 / 216)), (6, (5 / 216)), (9, (-5 / 108)), (12, (-5 / 54)), (13, (-5 / 54)), (31, (5 / 18)), (33, (5 / 18)), (51, (5 / 9)), (52, (-5 / 54)), (59, (5 / 18)), (68, (5 / 36)), (123, (5 / 18)), (124, (5 / 18)), (126, (5 / 18)), (259, (5 / 18)), (262, (5 / 18))]
theorem singlePair298 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node298 node298Labels = Sparse.eval singlePairValue298 (familyPairVector B) := by have hp := single_label_three B hB node298 have hl : node298Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node298 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node298 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node298 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node298 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node298 (EqualityPatterns.family3.label 1) = PairSemantics.raw5138 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node298 PairSemantics.raw5138; decide +kernel rw [heq] exact (PairSemantics.canonical5138 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node298 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node298 (EqualityPatterns.family3.label 2) = PairSemantics.raw7692 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node298 PairSemantics.raw7692; decide +kernel rw [heq] exact (PairSemantics.canonical7692 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node298 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value382 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node298 (EqualityPatterns.family3.label 3) = PairSemantics.raw855 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node298 PairSemantics.raw855; decide +kernel rw [heq] exact (PairSemantics.canonical855 hH).trans (PairSemantics.sound382 hH) have hm4 : familyPairMoment B (groupedColumns node298 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1855 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node298 (EqualityPatterns.family3.label 4) = PairSemantics.raw624 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node298 PairSemantics.raw624; decide +kernel rw [heq] exact (PairSemantics.canonical624 hH).trans (PairSemantics.sound1855 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue298, PairSemantics.value0, PairSemantics.value46, PairSemantics.value232, PairSemantics.value382, PairSemantics.value1855, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue299 : Sparse (Fin 909) := [(0, (1 / 54)), (1, (5 / 48)), (2, (-25 / 432)), (3, (-10 / 27)), (5, (5 / 27)), (6, (-5 / 216)), (12, (-5 / 54)), (13, (-10 / 27)), (52, (-10 / 27)), (128, (-5 / 54))]
theorem singlePair299 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node299 node299Labels = Sparse.eval singlePairValue299 (familyPairVector B) := by have hp := single_label_three B hB node299 have hl : node299Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node299 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node299 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node299 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node299 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node299 (EqualityPatterns.family3.label 1) = PairSemantics.raw5138 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node299 PairSemantics.raw5138; decide +kernel rw [heq] exact (PairSemantics.canonical5138 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node299 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node299 (EqualityPatterns.family3.label 2) = PairSemantics.raw7696 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node299 PairSemantics.raw7696; decide +kernel rw [heq] exact (PairSemantics.canonical7696 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node299 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node299 (EqualityPatterns.family3.label 3) = PairSemantics.raw857 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node299 PairSemantics.raw857; decide +kernel rw [heq] exact (PairSemantics.canonical857 hH).trans (PairSemantics.sound24 hH) have hm4 : familyPairMoment B (groupedColumns node299 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1854 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node299 (EqualityPatterns.family3.label 4) = PairSemantics.raw625 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node299 PairSemantics.raw625; decide +kernel rw [heq] exact (PairSemantics.canonical625 hH).trans (PairSemantics.sound1854 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue299, PairSemantics.value0, PairSemantics.value24, PairSemantics.value232, PairSemantics.value1854, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue300 : Sparse (Fin 909) := [(0, (7 / 288)), (1, (65 / 864)), (2, (-65 / 432)), (3, (-5 / 9)), (5, (5 / 54)), (7, (-10 / 27)), (8, (-10 / 27)), (12, (-5 / 54)), (13, (-5 / 54)), (26, (-5 / 54)), (33, (5 / 18)), (35, (-5 / 54)), (51, (5 / 9)), (59, (5 / 18))]
theorem singlePair300 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node300 node300Labels = Sparse.eval singlePairValue300 (familyPairVector B) := by have hp := single_label_three B hB node300 have hl : node300Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node300 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node300 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node300 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node300 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node300 (EqualityPatterns.family3.label 1) = PairSemantics.raw5138 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node300 PairSemantics.raw5138; decide +kernel rw [heq] exact (PairSemantics.canonical5138 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node300 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node300 (EqualityPatterns.family3.label 2) = PairSemantics.raw7697 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node300 PairSemantics.raw7697; decide +kernel rw [heq] exact (PairSemantics.canonical7697 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node300 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node300 (EqualityPatterns.family3.label 3) = PairSemantics.raw858 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node300 PairSemantics.raw858; decide +kernel rw [heq] exact (PairSemantics.canonical858 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node300 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1856 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node300 (EqualityPatterns.family3.label 4) = PairSemantics.raw626 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node300 PairSemantics.raw626; decide +kernel rw [heq] exact (PairSemantics.canonical626 hH).trans (PairSemantics.sound1856 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue300, PairSemantics.value0, PairSemantics.value25, PairSemantics.value232, PairSemantics.value1856, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue301 : Sparse (Fin 909) := [(0, (37 / 864)), (1, (-5 / 864)), (2, (5 / 54)), (3, (-10 / 27)), (5, (25 / 216)), (6, (-5 / 216)), (7, (-5 / 27)), (26, (-5 / 27)), (35, (-5 / 54))]
theorem singlePair301 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node301 node301Labels = Sparse.eval singlePairValue301 (familyPairVector B) := by have hp := single_label_three B hB node301 have hl : node301Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node301 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node301 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node301 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node301 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node301 (EqualityPatterns.family3.label 1) = PairSemantics.raw5134 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node301 PairSemantics.raw5134; decide +kernel rw [heq] exact (PairSemantics.canonical5134 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node301 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node301 (EqualityPatterns.family3.label 2) = PairSemantics.raw7704 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node301 PairSemantics.raw7704; decide +kernel rw [heq] exact (PairSemantics.canonical7704 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node301 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node301 (EqualityPatterns.family3.label 3) = PairSemantics.raw859 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node301 PairSemantics.raw859; decide +kernel rw [heq] exact (PairSemantics.canonical859 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node301 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2467 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node301 (EqualityPatterns.family3.label 4) = PairSemantics.raw627 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node301 PairSemantics.raw627; decide +kernel rw [heq] exact (PairSemantics.canonical627 hH).trans (PairSemantics.sound2467 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue301, PairSemantics.value0, PairSemantics.value46, PairSemantics.value65, PairSemantics.value118, PairSemantics.value2467, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue302 : Sparse (Fin 909) := [(0, (23 / 864)), (1, (5 / 48)), (2, (-35 / 432)), (3, (-5 / 27)), (5, (5 / 36)), (6, (-5 / 288)), (8, (-5 / 27)), (52, (-5 / 54))]
theorem singlePair302 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node302 node302Labels = Sparse.eval singlePairValue302 (familyPairVector B) := by have hp := single_label_three B hB node302 have hl : node302Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node302 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node302 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node302 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node302 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node302 (EqualityPatterns.family3.label 1) = PairSemantics.raw5135 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node302 PairSemantics.raw5135; decide +kernel rw [heq] exact (PairSemantics.canonical5135 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node302 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node302 (EqualityPatterns.family3.label 2) = PairSemantics.raw7702 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node302 PairSemantics.raw7702; decide +kernel rw [heq] exact (PairSemantics.canonical7702 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node302 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node302 (EqualityPatterns.family3.label 3) = PairSemantics.raw859 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node302 PairSemantics.raw859; decide +kernel rw [heq] exact (PairSemantics.canonical859 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node302 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2466 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node302 (EqualityPatterns.family3.label 4) = PairSemantics.raw628 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node302 PairSemantics.raw628; decide +kernel rw [heq] exact (PairSemantics.canonical628 hH).trans (PairSemantics.sound2466 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue302, PairSemantics.value0, PairSemantics.value65, PairSemantics.value118, PairSemantics.value232, PairSemantics.value2466, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue303 : Sparse (Fin 909) := [(0, (17 / 432)), (1, (-5 / 216)), (2, (-5 / 144)), (5, (-5 / 108)), (6, (5 / 216))]
theorem singlePair303 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node303 node303Labels = Sparse.eval singlePairValue303 (familyPairVector B) := by have hp := single_label_three B hB node303 have hl : node303Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node303 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node303 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node303 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node303 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node303 (EqualityPatterns.family3.label 1) = PairSemantics.raw5136 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node303 PairSemantics.raw5136; decide +kernel rw [heq] exact (PairSemantics.canonical5136 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node303 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node303 (EqualityPatterns.family3.label 2) = PairSemantics.raw7703 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node303 PairSemantics.raw7703; decide +kernel rw [heq] exact (PairSemantics.canonical7703 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node303 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node303 (EqualityPatterns.family3.label 3) = PairSemantics.raw860 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node303 PairSemantics.raw860; decide +kernel rw [heq] exact (PairSemantics.canonical860 hH).trans (PairSemantics.sound24 hH) have hm4 : familyPairMoment B (groupedColumns node303 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value862 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node303 (EqualityPatterns.family3.label 4) = PairSemantics.raw629 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node303 PairSemantics.raw629; decide +kernel rw [heq] exact (PairSemantics.canonical629 hH).trans (PairSemantics.sound862 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue303, PairSemantics.value0, PairSemantics.value24, PairSemantics.value46, PairSemantics.value65, PairSemantics.value862, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue304 : Sparse (Fin 909) := [(0, (19 / 864)), (1, (5 / 144)), (2, (-5 / 96)), (3, (-5 / 18)), (4, (-5 / 27)), (5, (5 / 54)), (6, (-5 / 432)), (7, (-5 / 27)), (26, (-5 / 27)), (35, (-5 / 27)), (52, (-5 / 27))]
theorem singlePair304 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node304 node304Labels = Sparse.eval singlePairValue304 (familyPairVector B) := by have hp := single_label_three B hB node304 have hl : node304Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node304 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node304 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node304 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node304 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node304 (EqualityPatterns.family3.label 1) = PairSemantics.raw5140 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node304 PairSemantics.raw5140; decide +kernel rw [heq] exact (PairSemantics.canonical5140 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node304 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node304 (EqualityPatterns.family3.label 2) = PairSemantics.raw7698 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node304 PairSemantics.raw7698; decide +kernel rw [heq] exact (PairSemantics.canonical7698 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node304 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node304 (EqualityPatterns.family3.label 3) = PairSemantics.raw859 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node304 PairSemantics.raw859; decide +kernel rw [heq] exact (PairSemantics.canonical859 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node304 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2128 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node304 (EqualityPatterns.family3.label 4) = PairSemantics.raw630 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node304 PairSemantics.raw630; decide +kernel rw [heq] exact (PairSemantics.canonical630 hH).trans (PairSemantics.sound2128 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue304, PairSemantics.value0, PairSemantics.value11, PairSemantics.value118, PairSemantics.value232, PairSemantics.value2128, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue305 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (5 / 432)), (2, (-5 / 288)), (3, (5 / 54)), (5, (-5 / 108)), (6, (5 / 288)), (52, (5 / 54))]
theorem singlePair305 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node305 node305Labels = Sparse.eval singlePairValue305 (familyPairVector B) := by have hp := single_label_three B hB node305 have hl : node305Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node305 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node305 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node305 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node305 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node305 (EqualityPatterns.family3.label 1) = PairSemantics.raw5139 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node305 PairSemantics.raw5139; decide +kernel rw [heq] exact (PairSemantics.canonical5139 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node305 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node305 (EqualityPatterns.family3.label 2) = PairSemantics.raw7699 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node305 PairSemantics.raw7699; decide +kernel rw [heq] exact (PairSemantics.canonical7699 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node305 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node305 (EqualityPatterns.family3.label 3) = PairSemantics.raw860 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node305 PairSemantics.raw860; decide +kernel rw [heq] exact (PairSemantics.canonical860 hH).trans (PairSemantics.sound24 hH) have hm4 : familyPairMoment B (groupedColumns node305 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value559 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node305 (EqualityPatterns.family3.label 4) = PairSemantics.raw631 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node305 PairSemantics.raw631; decide +kernel rw [heq] exact (PairSemantics.canonical631 hH).trans (PairSemantics.sound559 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue305, PairSemantics.value0, PairSemantics.value11, PairSemantics.value24, PairSemantics.value232, PairSemantics.value559, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue306 : Sparse (Fin 909) := [(0, (1 / 32)), (1, (-5 / 72)), (2, (55 / 864)), (3, (5 / 18)), (5, (-5 / 72)), (7, (5 / 27)), (26, (5 / 54)), (35, (5 / 54))]
theorem singlePair306 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node306 node306Labels = Sparse.eval singlePairValue306 (familyPairVector B) := by have hp := single_label_three B hB node306 have hl : node306Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node306 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node306 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node306 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node306 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node306 (EqualityPatterns.family3.label 1) = PairSemantics.raw5136 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node306 PairSemantics.raw5136; decide +kernel rw [heq] exact (PairSemantics.canonical5136 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node306 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node306 (EqualityPatterns.family3.label 2) = PairSemantics.raw7706 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node306 PairSemantics.raw7706; decide +kernel rw [heq] exact (PairSemantics.canonical7706 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node306 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node306 (EqualityPatterns.family3.label 3) = PairSemantics.raw861 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node306 PairSemantics.raw861; decide +kernel rw [heq] exact (PairSemantics.canonical861 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node306 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value645 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node306 (EqualityPatterns.family3.label 4) = PairSemantics.raw632 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node306 PairSemantics.raw632; decide +kernel rw [heq] exact (PairSemantics.canonical632 hH).trans (PairSemantics.sound645 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue306, PairSemantics.value0, PairSemantics.value11, PairSemantics.value25, PairSemantics.value46, PairSemantics.value645, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue307 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (25 / 216)), (2, (5 / 72)), (5, (-5 / 54)), (8, (5 / 27))]
theorem singlePair307 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node307 node307Labels = Sparse.eval singlePairValue307 (familyPairVector B) := by have hp := single_label_three B hB node307 have hl : node307Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node307 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node307 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node307 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node307 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node307 (EqualityPatterns.family3.label 1) = PairSemantics.raw5139 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node307 PairSemantics.raw5139; decide +kernel rw [heq] exact (PairSemantics.canonical5139 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node307 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node307 (EqualityPatterns.family3.label 2) = PairSemantics.raw7703 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node307 PairSemantics.raw7703; decide +kernel rw [heq] exact (PairSemantics.canonical7703 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node307 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node307 (EqualityPatterns.family3.label 3) = PairSemantics.raw861 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node307 PairSemantics.raw861; decide +kernel rw [heq] exact (PairSemantics.canonical861 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node307 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value866 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node307 (EqualityPatterns.family3.label 4) = PairSemantics.raw633 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node307 PairSemantics.raw633; decide +kernel rw [heq] exact (PairSemantics.canonical633 hH).trans (PairSemantics.sound866 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue307, PairSemantics.value0, PairSemantics.value25, PairSemantics.value65, PairSemantics.value232, PairSemantics.value866, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue308 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (-5 / 432)), (2, (5 / 216)), (3, (5 / 27)), (6, (5 / 432)), (12, (5 / 54)), (13, (10 / 27)), (52, (5 / 27)), (128, (5 / 54))]
theorem singlePair308 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node308 node308Labels = Sparse.eval singlePairValue308 (familyPairVector B) := by have hp := single_label_three B hB node308 have hl : node308Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node308 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node308 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node308 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node308 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node308 (EqualityPatterns.family3.label 1) = PairSemantics.raw5147 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node308 PairSemantics.raw5147; decide +kernel rw [heq] exact (PairSemantics.canonical5147 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node308 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node308 (EqualityPatterns.family3.label 2) = PairSemantics.raw7693 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node308 PairSemantics.raw7693; decide +kernel rw [heq] exact (PairSemantics.canonical7693 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node308 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node308 (EqualityPatterns.family3.label 3) = PairSemantics.raw860 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node308 PairSemantics.raw860; decide +kernel rw [heq] exact (PairSemantics.canonical860 hH).trans (PairSemantics.sound24 hH) have hm4 : familyPairMoment B (groupedColumns node308 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value527 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node308 (EqualityPatterns.family3.label 4) = PairSemantics.raw634 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node308 PairSemantics.raw634; decide +kernel rw [heq] exact (PairSemantics.canonical634 hH).trans (PairSemantics.sound527 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue308, PairSemantics.value0, PairSemantics.value24, PairSemantics.value46, PairSemantics.value527, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue309 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (-5 / 216)), (2, (5 / 108)), (3, (5 / 54)), (5, (-5 / 108)), (12, (5 / 54)), (13, (5 / 54)), (33, (-5 / 18)), (51, (-5 / 18)), (59, (-5 / 18))]
theorem singlePair309 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node309 node309Labels = Sparse.eval singlePairValue309 (familyPairVector B) := by have hp := single_label_three B hB node309 have hl : node309Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node309 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node309 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node309 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node309 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node309 (EqualityPatterns.family3.label 1) = PairSemantics.raw5147 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node309 PairSemantics.raw5147; decide +kernel rw [heq] exact (PairSemantics.canonical5147 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node309 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node309 (EqualityPatterns.family3.label 2) = PairSemantics.raw7695 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node309 PairSemantics.raw7695; decide +kernel rw [heq] exact (PairSemantics.canonical7695 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node309 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node309 (EqualityPatterns.family3.label 3) = PairSemantics.raw861 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node309 PairSemantics.raw861; decide +kernel rw [heq] exact (PairSemantics.canonical861 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node309 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value529 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node309 (EqualityPatterns.family3.label 4) = PairSemantics.raw635 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node309 PairSemantics.raw635; decide +kernel rw [heq] exact (PairSemantics.canonical635 hH).trans (PairSemantics.sound529 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue309, PairSemantics.value0, PairSemantics.value25, PairSemantics.value46, PairSemantics.value529, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue310 : Sparse (Fin 909) := [(0, (37 / 864)), (1, (-25 / 288)), (2, (-5 / 54)), (3, (-10 / 27)), (4, (-5 / 27)), (5, (-5 / 216)), (6, (5 / 432)), (26, (-5 / 27)), (35, (-5 / 54)), (52, (-5 / 27))]
theorem singlePair310 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node310 node310Labels = Sparse.eval singlePairValue310 (familyPairVector B) := by have hp := single_label_three B hB node310 have hl : node310Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node310 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node310 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node310 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node310 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node310 (EqualityPatterns.family3.label 1) = PairSemantics.raw5123 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node310 PairSemantics.raw5123; decide +kernel rw [heq] exact (PairSemantics.canonical5123 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node310 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node310 (EqualityPatterns.family3.label 2) = PairSemantics.raw7715 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node310 PairSemantics.raw7715; decide +kernel rw [heq] exact (PairSemantics.canonical7715 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node310 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value383 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node310 (EqualityPatterns.family3.label 3) = PairSemantics.raw866 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node310 PairSemantics.raw866; decide +kernel rw [heq] exact (PairSemantics.canonical866 hH).trans (PairSemantics.sound383 hH) have hm4 : familyPairMoment B (groupedColumns node310 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2471 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node310 (EqualityPatterns.family3.label 4) = PairSemantics.raw636 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node310 PairSemantics.raw636; decide +kernel rw [heq] exact (PairSemantics.canonical636 hH).trans (PairSemantics.sound2471 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue310, PairSemantics.value0, PairSemantics.value46, PairSemantics.value65, PairSemantics.value383, PairSemantics.value2471, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue311 : Sparse (Fin 909) := [(0, (19 / 432)), (1, (-55 / 864)), (2, (-65 / 864)), (3, (5 / 54)), (5, (5 / 216)), (26, (5 / 27)), (35, (5 / 54))]
theorem singlePair311 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node311 node311Labels = Sparse.eval singlePairValue311 (familyPairVector B) := by have hp := single_label_three B hB node311 have hl : node311Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node311 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node311 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node311 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node311 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node311 (EqualityPatterns.family3.label 1) = PairSemantics.raw5125 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node311 PairSemantics.raw5125; decide +kernel rw [heq] exact (PairSemantics.canonical5125 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node311 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node311 (EqualityPatterns.family3.label 2) = PairSemantics.raw7714 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node311 PairSemantics.raw7714; decide +kernel rw [heq] exact (PairSemantics.canonical7714 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node311 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node311 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node311 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node311 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value876 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node311 (EqualityPatterns.family3.label 4) = PairSemantics.raw637 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node311 PairSemantics.raw637; decide +kernel rw [heq] exact (PairSemantics.canonical637 hH).trans (PairSemantics.sound876 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue311, PairSemantics.value0, PairSemantics.value10, PairSemantics.value65, PairSemantics.value118, PairSemantics.value876, Sparse.eval] at hp ⊢ linarith only [hp]
end MUB6.Certificate.MixedSemantics
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931import OAI.Analysis.MutuallyUnbiased.MixedSemantics.GroupedColumnsimport OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes4import OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes5import OAI.Analysis.MutuallyUnbiased.MixedSemantics.SingleRulesimport OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical160import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical161import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical19import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical20import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical239import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical240import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical241import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical249import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical26import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical27import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound0import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound10import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound13import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound2import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound22import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound29import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound3import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound38import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound5import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound8
namespace OAI
namespace MUB6.Certificate.MixedSemantics
open scoped BigOperators
def singlePairValue312 : Sparse (Fin 909) := [(0, (11 / 288)), (1, (5 / 432)), (2, (35 / 432)), (3, (5 / 27)), (6, (-5 / 864)), (52, (5 / 54))]
theorem singlePair312 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node312 node312Labels = Sparse.eval singlePairValue312 (familyPairVector B) := by have hp := single_label_three B hB node312 have hl : node312Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node312 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node312 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node312 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node312 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node312 (EqualityPatterns.family3.label 1) = PairSemantics.raw5131 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node312 PairSemantics.raw5131; decide +kernel rw [heq] exact (PairSemantics.canonical5131 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node312 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node312 (EqualityPatterns.family3.label 2) = PairSemantics.raw7712 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node312 PairSemantics.raw7712; decide +kernel rw [heq] exact (PairSemantics.canonical7712 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node312 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node312 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node312 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node312 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value870 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node312 (EqualityPatterns.family3.label 4) = PairSemantics.raw638 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node312 PairSemantics.raw638; decide +kernel rw [heq] exact (PairSemantics.canonical638 hH).trans (PairSemantics.sound870 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue312, PairSemantics.value0, PairSemantics.value46, PairSemantics.value65, PairSemantics.value118, PairSemantics.value870, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue313 : Sparse (Fin 909) := [(0, (23 / 864)), (1, (-5 / 108)), (2, (-5 / 432)), (3, (5 / 18)), (5, (5 / 216)), (6, (-5 / 864)), (12, (5 / 54)), (13, (5 / 18)), (26, (5 / 54)), (34, (5 / 27)), (35, (5 / 54)), (60, (5 / 54))]
theorem singlePair313 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node313 node313Labels = Sparse.eval singlePairValue313 (familyPairVector B) := by have hp := single_label_three B hB node313 have hl : node313Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node313 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node313 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node313 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node313 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node313 (EqualityPatterns.family3.label 1) = PairSemantics.raw5133 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node313 PairSemantics.raw5133; decide +kernel rw [heq] exact (PairSemantics.canonical5133 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node313 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node313 (EqualityPatterns.family3.label 2) = PairSemantics.raw7710 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node313 PairSemantics.raw7710; decide +kernel rw [heq] exact (PairSemantics.canonical7710 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node313 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node313 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node313 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node313 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value378 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node313 (EqualityPatterns.family3.label 4) = PairSemantics.raw639 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node313 PairSemantics.raw639; decide +kernel rw [heq] exact (PairSemantics.canonical639 hH).trans (PairSemantics.sound378 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue313, PairSemantics.value0, PairSemantics.value10, PairSemantics.value46, PairSemantics.value118, PairSemantics.value378, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue314 : Sparse (Fin 909) := [(0, (7 / 216)), (1, (-5 / 96)), (2, (5 / 144)), (4, (5 / 54)), (5, (5 / 216)), (6, (-5 / 864)), (26, (5 / 54)), (35, (5 / 54)), (52, (5 / 54))]
theorem singlePair314 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node314 node314Labels = Sparse.eval singlePairValue314 (familyPairVector B) := by have hp := single_label_three B hB node314 have hl : node314Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node314 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node314 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node314 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node314 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node314 (EqualityPatterns.family3.label 1) = PairSemantics.raw5142 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node314 PairSemantics.raw5142; decide +kernel rw [heq] exact (PairSemantics.canonical5142 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node314 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node314 (EqualityPatterns.family3.label 2) = PairSemantics.raw7707 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node314 PairSemantics.raw7707; decide +kernel rw [heq] exact (PairSemantics.canonical7707 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node314 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node314 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node314 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node314 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value658 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node314 (EqualityPatterns.family3.label 4) = PairSemantics.raw640 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node314 PairSemantics.raw640; decide +kernel rw [heq] exact (PairSemantics.canonical640 hH).trans (PairSemantics.sound658 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue314, PairSemantics.value0, PairSemantics.value11, PairSemantics.value46, PairSemantics.value118, PairSemantics.value658, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue315 : Sparse (Fin 909) := [(0, (7 / 216)), (1, (-5 / 72)), (2, (-5 / 144)), (3, (-5 / 27)), (6, (5 / 432)), (52, (-5 / 27))]
theorem singlePair315 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node315 node315Labels = Sparse.eval singlePairValue315 (familyPairVector B) := by have hp := single_label_three B hB node315 have hl : node315Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node315 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node315 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node315 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node315 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node315 (EqualityPatterns.family3.label 1) = PairSemantics.raw5149 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node315 PairSemantics.raw5149; decide +kernel rw [heq] exact (PairSemantics.canonical5149 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node315 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node315 (EqualityPatterns.family3.label 2) = PairSemantics.raw7705 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node315 PairSemantics.raw7705; decide +kernel rw [heq] exact (PairSemantics.canonical7705 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node315 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node315 (EqualityPatterns.family3.label 3) = PairSemantics.raw869 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node315 PairSemantics.raw869; decide +kernel rw [heq] exact (PairSemantics.canonical869 hH).trans (PairSemantics.sound24 hH) have hm4 : familyPairMoment B (groupedColumns node315 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value180 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node315 (EqualityPatterns.family3.label 4) = PairSemantics.raw641 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node315 PairSemantics.raw641; decide +kernel rw [heq] exact (PairSemantics.canonical641 hH).trans (PairSemantics.sound180 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue315, PairSemantics.value0, PairSemantics.value11, PairSemantics.value24, PairSemantics.value46, PairSemantics.value180, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue316 : Sparse (Fin 909) := [(0, (5 / 144)), (1, (-5 / 108)), (2, (-5 / 432)), (3, (-5 / 27)), (5, (-5 / 108)), (26, (-5 / 27)), (35, (-5 / 27))]
theorem singlePair316 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node316 node316Labels = Sparse.eval singlePairValue316 (familyPairVector B) := by have hp := single_label_three B hB node316 have hl : node316Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node316 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node316 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node316 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node316 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node316 (EqualityPatterns.family3.label 1) = PairSemantics.raw5132 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node316 PairSemantics.raw5132; decide +kernel rw [heq] exact (PairSemantics.canonical5132 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node316 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node316 (EqualityPatterns.family3.label 2) = PairSemantics.raw7716 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node316 PairSemantics.raw7716; decide +kernel rw [heq] exact (PairSemantics.canonical7716 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node316 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node316 (EqualityPatterns.family3.label 3) = PairSemantics.raw872 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node316 PairSemantics.raw872; decide +kernel rw [heq] exact (PairSemantics.canonical872 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node316 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value209 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node316 (EqualityPatterns.family3.label 4) = PairSemantics.raw642 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node316 PairSemantics.raw642; decide +kernel rw [heq] exact (PairSemantics.canonical642 hH).trans (PairSemantics.sound209 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue316, PairSemantics.value0, PairSemantics.value10, PairSemantics.value11, PairSemantics.value25, PairSemantics.value209, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue317 : Sparse (Fin 909) := [(0, (1 / 54)), (1, (35 / 288)), (2, (-5 / 288)), (3, (-5 / 54)), (5, (5 / 216)), (6, (5 / 216)), (7, (-5 / 54)), (9, (-5 / 108)), (12, (-5 / 54)), (13, (-5 / 54)), (23, (5 / 18)), (27, (5 / 72)), (35, (-5 / 27)), (68, (5 / 36)), (69, (-5 / 54)), (70, (-5 / 54)), (124, (5 / 18)), (125, (5 / 18))]
theorem singlePair317 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node317 node317Labels = Sparse.eval singlePairValue317 (familyPairVector B) := by have hp := single_label_three B hB node317 have hl : node317Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node317 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node317 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node317 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node317 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node317 (EqualityPatterns.family3.label 1) = PairSemantics.raw5163 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node317 PairSemantics.raw5163; decide +kernel rw [heq] exact (PairSemantics.canonical5163 hH).trans (PairSemantics.sound4 hH) have hm2 : familyPairMoment B (groupedColumns node317 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node317 (EqualityPatterns.family3.label 2) = PairSemantics.raw7660 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node317 PairSemantics.raw7660; decide +kernel rw [heq] exact (PairSemantics.canonical7660 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node317 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value382 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node317 (EqualityPatterns.family3.label 3) = PairSemantics.raw855 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node317 PairSemantics.raw855; decide +kernel rw [heq] exact (PairSemantics.canonical855 hH).trans (PairSemantics.sound382 hH) have hm4 : familyPairMoment B (groupedColumns node317 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1874 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node317 (EqualityPatterns.family3.label 4) = PairSemantics.raw644 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node317 PairSemantics.raw644; decide +kernel rw [heq] exact (PairSemantics.canonical644 hH).trans (PairSemantics.sound1874 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue317, PairSemantics.value0, PairSemantics.value4, PairSemantics.value232, PairSemantics.value382, PairSemantics.value1874, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue318 : Sparse (Fin 909) := [(0, (23 / 864)), (2, (-145 / 864)), (3, (-5 / 18)), (5, (5 / 36)), (6, (5 / 216)), (7, (-10 / 27)), (8, (-10 / 27)), (9, (-5 / 108)), (51, (5 / 9)), (68, (5 / 36)), (69, (-5 / 54)), (71, (-5 / 54)), (124, (5 / 18)), (126, (5 / 18))]
theorem singlePair318 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node318 node318Labels = Sparse.eval singlePairValue318 (familyPairVector B) := by have hp := single_label_three B hB node318 have hl : node318Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node318 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node318 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node318 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node318 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node318 (EqualityPatterns.family3.label 1) = PairSemantics.raw5166 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node318 PairSemantics.raw5166; decide +kernel rw [heq] exact (PairSemantics.canonical5166 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node318 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node318 (EqualityPatterns.family3.label 2) = PairSemantics.raw7655 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node318 PairSemantics.raw7655; decide +kernel rw [heq] exact (PairSemantics.canonical7655 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node318 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value382 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node318 (EqualityPatterns.family3.label 3) = PairSemantics.raw855 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node318 PairSemantics.raw855; decide +kernel rw [heq] exact (PairSemantics.canonical855 hH).trans (PairSemantics.sound382 hH) have hm4 : familyPairMoment B (groupedColumns node318 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1877 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node318 (EqualityPatterns.family3.label 4) = PairSemantics.raw645 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node318 PairSemantics.raw645; decide +kernel rw [heq] exact (PairSemantics.canonical645 hH).trans (PairSemantics.sound1877 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue318, PairSemantics.value0, PairSemantics.value11, PairSemantics.value232, PairSemantics.value382, PairSemantics.value1877, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue319 : Sparse (Fin 909) := [(0, (1 / 72)), (1, (35 / 432)), (2, (-5 / 108)), (3, (-10 / 27)), (5, (5 / 54)), (6, (-5 / 432)), (13, (-10 / 27)), (35, (-5 / 27)), (52, (-10 / 27))]
theorem singlePair319 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node319 node319Labels = Sparse.eval singlePairValue319 (familyPairVector B) := by have hp := single_label_three B hB node319 have hl : node319Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node319 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node319 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node319 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node319 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node319 (EqualityPatterns.family3.label 1) = PairSemantics.raw5156 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node319 PairSemantics.raw5156; decide +kernel rw [heq] exact (PairSemantics.canonical5156 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node319 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node319 (EqualityPatterns.family3.label 2) = PairSemantics.raw7673 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node319 PairSemantics.raw7673; decide +kernel rw [heq] exact (PairSemantics.canonical7673 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node319 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node319 (EqualityPatterns.family3.label 3) = PairSemantics.raw857 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node319 PairSemantics.raw857; decide +kernel rw [heq] exact (PairSemantics.canonical857 hH).trans (PairSemantics.sound24 hH) have hm4 : familyPairMoment B (groupedColumns node319 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1861 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node319 (EqualityPatterns.family3.label 4) = PairSemantics.raw646 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node319 PairSemantics.raw646; decide +kernel rw [heq] exact (PairSemantics.canonical646 hH).trans (PairSemantics.sound1861 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue319, PairSemantics.value0, PairSemantics.value24, PairSemantics.value232, PairSemantics.value1861, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue320 : Sparse (Fin 909) := [(0, (37 / 864)), (1, (-5 / 144)), (2, (5 / 216)), (3, (-10 / 27)), (4, (-5 / 54)), (5, (25 / 216)), (6, (-5 / 288)), (7, (-5 / 27)), (8, (-5 / 54)), (26, (-5 / 27)), (35, (-5 / 54))]
theorem singlePair320 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node320 node320Labels = Sparse.eval singlePairValue320 (familyPairVector B) := by have hp := single_label_three B hB node320 have hl : node320Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node320 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node320 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node320 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node320 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node320 (EqualityPatterns.family3.label 1) = PairSemantics.raw5153 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node320 PairSemantics.raw5153; decide +kernel rw [heq] exact (PairSemantics.canonical5153 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node320 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node320 (EqualityPatterns.family3.label 2) = PairSemantics.raw7680 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node320 PairSemantics.raw7680; decide +kernel rw [heq] exact (PairSemantics.canonical7680 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node320 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node320 (EqualityPatterns.family3.label 3) = PairSemantics.raw859 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node320 PairSemantics.raw859; decide +kernel rw [heq] exact (PairSemantics.canonical859 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node320 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2463 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node320 (EqualityPatterns.family3.label 4) = PairSemantics.raw647 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node320 PairSemantics.raw647; decide +kernel rw [heq] exact (PairSemantics.canonical647 hH).trans (PairSemantics.sound2463 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue320, PairSemantics.value0, PairSemantics.value46, PairSemantics.value65, PairSemantics.value118, PairSemantics.value2463, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue321 : Sparse (Fin 909) := [(0, (19 / 864)), (1, (85 / 432)), (2, (-25 / 432)), (3, (-5 / 27)), (5, (5 / 36)), (6, (-5 / 288)), (7, (-5 / 54)), (8, (-5 / 27))]
theorem singlePair321 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node321 node321Labels = Sparse.eval singlePairValue321 (familyPairVector B) := by have hp := single_label_three B hB node321 have hl : node321Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node321 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node321 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node321 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node321 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node321 (EqualityPatterns.family3.label 1) = PairSemantics.raw5156 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node321 PairSemantics.raw5156; decide +kernel rw [heq] exact (PairSemantics.canonical5156 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node321 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node321 (EqualityPatterns.family3.label 2) = PairSemantics.raw7676 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node321 PairSemantics.raw7676; decide +kernel rw [heq] exact (PairSemantics.canonical7676 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node321 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node321 (EqualityPatterns.family3.label 3) = PairSemantics.raw859 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node321 PairSemantics.raw859; decide +kernel rw [heq] exact (PairSemantics.canonical859 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node321 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2462 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node321 (EqualityPatterns.family3.label 4) = PairSemantics.raw648 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node321 PairSemantics.raw648; decide +kernel rw [heq] exact (PairSemantics.canonical648 hH).trans (PairSemantics.sound2462 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue321, PairSemantics.value0, PairSemantics.value65, PairSemantics.value118, PairSemantics.value232, PairSemantics.value2462, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue322 : Sparse (Fin 909) := [(0, (1 / 48)), (1, (65 / 864)), (2, (-25 / 432)), (3, (-35 / 54)), (4, (-5 / 27)), (5, (5 / 108)), (6, (-5 / 864)), (7, (-5 / 27)), (12, (-5 / 27)), (13, (-25 / 54)), (26, (-10 / 27)), (34, (-5 / 27)), (35, (-10 / 27)), (52, (-5 / 27)), (67, (-5 / 54))]
theorem singlePair322 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node322 node322Labels = Sparse.eval singlePairValue322 (familyPairVector B) := by have hp := single_label_three B hB node322 have hl : node322Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node322 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node322 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node322 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node322 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node322 (EqualityPatterns.family3.label 1) = PairSemantics.raw5158 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node322 PairSemantics.raw5158; decide +kernel rw [heq] exact (PairSemantics.canonical5158 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node322 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node322 (EqualityPatterns.family3.label 2) = PairSemantics.raw7675 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node322 PairSemantics.raw7675; decide +kernel rw [heq] exact (PairSemantics.canonical7675 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node322 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node322 (EqualityPatterns.family3.label 3) = PairSemantics.raw859 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node322 PairSemantics.raw859; decide +kernel rw [heq] exact (PairSemantics.canonical859 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node322 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1860 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node322 (EqualityPatterns.family3.label 4) = PairSemantics.raw649 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node322 PairSemantics.raw649; decide +kernel rw [heq] exact (PairSemantics.canonical649 hH).trans (PairSemantics.sound1860 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue322, PairSemantics.value0, PairSemantics.value46, PairSemantics.value118, PairSemantics.value232, PairSemantics.value1860, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue323 : Sparse (Fin 909) := [(0, (13 / 864)), (1, (65 / 864)), (2, (5 / 216)), (3, (5 / 27)), (5, (-5 / 216)), (6, (5 / 432)), (13, (5 / 27)), (35, (5 / 54)), (52, (5 / 27))]
theorem singlePair323 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node323 node323Labels = Sparse.eval singlePairValue323 (familyPairVector B) := by have hp := single_label_three B hB node323 have hl : node323Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node323 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node323 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node323 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node323 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node323 (EqualityPatterns.family3.label 1) = PairSemantics.raw5159 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node323 PairSemantics.raw5159; decide +kernel rw [heq] exact (PairSemantics.canonical5159 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node323 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node323 (EqualityPatterns.family3.label 2) = PairSemantics.raw7674 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node323 PairSemantics.raw7674; decide +kernel rw [heq] exact (PairSemantics.canonical7674 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node323 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node323 (EqualityPatterns.family3.label 3) = PairSemantics.raw860 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node323 PairSemantics.raw860; decide +kernel rw [heq] exact (PairSemantics.canonical860 hH).trans (PairSemantics.sound24 hH) have hm4 : familyPairMoment B (groupedColumns node323 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value531 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node323 (EqualityPatterns.family3.label 4) = PairSemantics.raw650 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node323 PairSemantics.raw650; decide +kernel rw [heq] exact (PairSemantics.canonical650 hH).trans (PairSemantics.sound531 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue323, PairSemantics.value0, PairSemantics.value24, PairSemantics.value46, PairSemantics.value232, PairSemantics.value531, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue324 : Sparse (Fin 909) := [(0, (1 / 54)), (1, (5 / 432)), (2, (-5 / 144)), (3, (5 / 27)), (5, (-5 / 108)), (7, (5 / 54)), (13, (5 / 54)), (26, (5 / 27)), (34, (5 / 54)), (35, (5 / 27)), (67, (5 / 54))]
theorem singlePair324 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node324 node324Labels = Sparse.eval singlePairValue324 (familyPairVector B) := by have hp := single_label_three B hB node324 have hl : node324Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node324 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node324 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node324 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node324 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node324 (EqualityPatterns.family3.label 1) = PairSemantics.raw5154 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node324 PairSemantics.raw5154; decide +kernel rw [heq] exact (PairSemantics.canonical5154 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node324 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node324 (EqualityPatterns.family3.label 2) = PairSemantics.raw7682 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node324 PairSemantics.raw7682; decide +kernel rw [heq] exact (PairSemantics.canonical7682 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node324 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node324 (EqualityPatterns.family3.label 3) = PairSemantics.raw861 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node324 PairSemantics.raw861; decide +kernel rw [heq] exact (PairSemantics.canonical861 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node324 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value355 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node324 (EqualityPatterns.family3.label 4) = PairSemantics.raw651 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node324 PairSemantics.raw651; decide +kernel rw [heq] exact (PairSemantics.canonical651 hH).trans (PairSemantics.sound355 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue324, PairSemantics.value0, PairSemantics.value10, PairSemantics.value25, PairSemantics.value232, PairSemantics.value355, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue325 : Sparse (Fin 909) := [(0, (11 / 288)), (1, (5 / 432)), (2, (55 / 864)), (3, (5 / 54)), (5, (-5 / 54)), (7, (5 / 54)), (8, (5 / 54))]
theorem singlePair325 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node325 node325Labels = Sparse.eval singlePairValue325 (familyPairVector B) := by have hp := single_label_three B hB node325 have hl : node325Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node325 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node325 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node325 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node325 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node325 (EqualityPatterns.family3.label 1) = PairSemantics.raw5157 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node325 PairSemantics.raw5157; decide +kernel rw [heq] exact (PairSemantics.canonical5157 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node325 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node325 (EqualityPatterns.family3.label 2) = PairSemantics.raw7679 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node325 PairSemantics.raw7679; decide +kernel rw [heq] exact (PairSemantics.canonical7679 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node325 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node325 (EqualityPatterns.family3.label 3) = PairSemantics.raw861 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node325 PairSemantics.raw861; decide +kernel rw [heq] exact (PairSemantics.canonical861 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node325 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value863 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node325 (EqualityPatterns.family3.label 4) = PairSemantics.raw652 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node325 PairSemantics.raw652; decide +kernel rw [heq] exact (PairSemantics.canonical652 hH).trans (PairSemantics.sound863 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue325, PairSemantics.value0, PairSemantics.value25, PairSemantics.value46, PairSemantics.value65, PairSemantics.value863, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue326 : Sparse (Fin 909) := [(0, (23 / 864)), (1, (35 / 432)), (2, (-65 / 864)), (3, (-10 / 27)), (5, (5 / 54)), (6, (-5 / 432)), (7, (-5 / 27)), (8, (-5 / 54)), (12, (-5 / 27)), (13, (-5 / 27)), (35, (-5 / 54)), (51, (5 / 18)), (52, (-5 / 54))]
theorem singlePair326 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node326 node326Labels = Sparse.eval singlePairValue326 (familyPairVector B) := by have hp := single_label_three B hB node326 have hl : node326Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node326 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node326 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node326 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node326 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node326 (EqualityPatterns.family3.label 1) = PairSemantics.raw5176 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node326 PairSemantics.raw5176; decide +kernel rw [heq] exact (PairSemantics.canonical5176 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node326 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node326 (EqualityPatterns.family3.label 2) = PairSemantics.raw7657 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node326 PairSemantics.raw7657; decide +kernel rw [heq] exact (PairSemantics.canonical7657 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node326 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node326 (EqualityPatterns.family3.label 3) = PairSemantics.raw859 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node326 PairSemantics.raw859; decide +kernel rw [heq] exact (PairSemantics.canonical859 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node326 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1885 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node326 (EqualityPatterns.family3.label 4) = PairSemantics.raw653 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node326 PairSemantics.raw653; decide +kernel rw [heq] exact (PairSemantics.canonical653 hH).trans (PairSemantics.sound1885 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue326, PairSemantics.value0, PairSemantics.value11, PairSemantics.value118, PairSemantics.value232, PairSemantics.value1885, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue327 : Sparse (Fin 909) := [(0, (17 / 864)), (1, (35 / 288)), (3, (-55 / 54)), (4, (-5 / 27)), (5, (5 / 108)), (6, (-5 / 432)), (7, (-5 / 54)), (13, (-10 / 27)), (26, (-20 / 27)), (34, (-25 / 54)), (35, (-5 / 18)), (52, (-5 / 54)), (64, (5 / 18)), (67, (-5 / 27))]
theorem singlePair327 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node327 node327Labels = Sparse.eval singlePairValue327 (familyPairVector B) := by have hp := single_label_three B hB node327 have hl : node327Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node327 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node327 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node327 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node327 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node327 (EqualityPatterns.family3.label 1) = PairSemantics.raw5181 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node327 PairSemantics.raw5181; decide +kernel rw [heq] exact (PairSemantics.canonical5181 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node327 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node327 (EqualityPatterns.family3.label 2) = PairSemantics.raw7653 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node327 PairSemantics.raw7653; decide +kernel rw [heq] exact (PairSemantics.canonical7653 hH).trans (PairSemantics.sound26 hH) have hm3 : familyPairMoment B (groupedColumns node327 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node327 (EqualityPatterns.family3.label 3) = PairSemantics.raw859 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node327 PairSemantics.raw859; decide +kernel rw [heq] exact (PairSemantics.canonical859 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node327 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1425 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node327 (EqualityPatterns.family3.label 4) = PairSemantics.raw654 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node327 PairSemantics.raw654; decide +kernel rw [heq] exact (PairSemantics.canonical654 hH).trans (PairSemantics.sound1425 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue327, PairSemantics.value0, PairSemantics.value26, PairSemantics.value118, PairSemantics.value232, PairSemantics.value1425, Sparse.eval] at hp ⊢ linarith only [hp]
end MUB6.Certificate.MixedSemantics
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930import OAI.Analysis.MutuallyUnbiased.MixedSemantics.GroupedColumnsimport OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes0import OAI.Analysis.MutuallyUnbiased.MixedSemantics.SingleRulesimport OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical160import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical161import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical162import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical2import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical249import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical28import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical280import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical281import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical282import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical6import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound0import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound10import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound13import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound17import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound2import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound3import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound41import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound43import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound8
namespace OAI
namespace MUB6.Certificate.MixedSemantics
open scoped BigOperators
def singlePairValue40 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (5 / 48)), (2, (-5 / 144)), (9, (5 / 36)), (69, (5 / 9))]
theorem singlePair40 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node40 node40Labels = Sparse.eval singlePairValue40 (familyPairVector B) := by have hp := single_label_three B hB node40 have hl : node40Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node40 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node40 (EqualityPatterns.family3.label 0) = PairSemantics.raw7979 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node40 PairSemantics.raw7979; decide +kernel rw [heq] exact (PairSemantics.canonical7979 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node40 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node40 (EqualityPatterns.family3.label 1) = PairSemantics.raw924 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node40 PairSemantics.raw924; decide +kernel rw [heq] exact (PairSemantics.canonical924 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node40 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node40 (EqualityPatterns.family3.label 2) = PairSemantics.raw5183 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node40 PairSemantics.raw5183; decide +kernel rw [heq] exact (PairSemantics.canonical5183 hH).trans (PairSemantics.sound4 hH) have hm3 : familyPairMoment B (groupedColumns node40 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value7 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node40 (EqualityPatterns.family3.label 3) = PairSemantics.raw51 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node40 PairSemantics.raw51; decide +kernel rw [heq] exact (PairSemantics.canonical51 hH).trans (PairSemantics.sound7 hH) have hm4 : familyPairMoment B (groupedColumns node40 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value27 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node40 (EqualityPatterns.family3.label 4) = PairSemantics.raw32 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node40 PairSemantics.raw32; decide +kernel rw [heq] exact (PairSemantics.canonical32 hH).trans (PairSemantics.sound27 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue40, PairSemantics.value0, PairSemantics.value4, PairSemantics.value7, PairSemantics.value10, PairSemantics.value27, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue41 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (-5 / 144)), (2, (5 / 48)), (9, (5 / 36)), (257, (5 / 9))]
theorem singlePair41 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node41 node41Labels = Sparse.eval singlePairValue41 (familyPairVector B) := by have hp := single_label_three B hB node41 have hl : node41Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node41 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node41 (EqualityPatterns.family3.label 0) = PairSemantics.raw7979 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node41 PairSemantics.raw7979; decide +kernel rw [heq] exact (PairSemantics.canonical7979 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node41 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value3 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node41 (EqualityPatterns.family3.label 1) = PairSemantics.raw927 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node41 PairSemantics.raw927; decide +kernel rw [heq] exact (PairSemantics.canonical927 hH).trans (PairSemantics.sound3 hH) have hm2 : familyPairMoment B (groupedColumns node41 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node41 (EqualityPatterns.family3.label 2) = PairSemantics.raw5151 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node41 PairSemantics.raw5151; decide +kernel rw [heq] exact (PairSemantics.canonical5151 hH).trans (PairSemantics.sound10 hH) have hm3 : familyPairMoment B (groupedColumns node41 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value7 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node41 (EqualityPatterns.family3.label 3) = PairSemantics.raw51 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node41 PairSemantics.raw51; decide +kernel rw [heq] exact (PairSemantics.canonical51 hH).trans (PairSemantics.sound7 hH) have hm4 : familyPairMoment B (groupedColumns node41 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value17 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node41 (EqualityPatterns.family3.label 4) = PairSemantics.raw33 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node41 PairSemantics.raw33; decide +kernel rw [heq] exact (PairSemantics.canonical33 hH).trans (PairSemantics.sound17 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue41, PairSemantics.value0, PairSemantics.value3, PairSemantics.value7, PairSemantics.value10, PairSemantics.value17, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue42 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (5 / 36)), (2, (5 / 36)), (9, (5 / 9)), (58, (5 / 36))]
theorem singlePair42 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node42 node42Labels = Sparse.eval singlePairValue42 (familyPairVector B) := by have hp := single_label_three B hB node42 have hl : node42Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node42 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node42 (EqualityPatterns.family3.label 0) = PairSemantics.raw7978 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node42 PairSemantics.raw7978; decide +kernel rw [heq] exact (PairSemantics.canonical7978 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node42 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value3 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node42 (EqualityPatterns.family3.label 1) = PairSemantics.raw926 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node42 PairSemantics.raw926; decide +kernel rw [heq] exact (PairSemantics.canonical926 hH).trans (PairSemantics.sound3 hH) have hm2 : familyPairMoment B (groupedColumns node42 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node42 (EqualityPatterns.family3.label 2) = PairSemantics.raw5210 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node42 PairSemantics.raw5210; decide +kernel rw [heq] exact (PairSemantics.canonical5210 hH).trans (PairSemantics.sound4 hH) have hm3 : familyPairMoment B (groupedColumns node42 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value1 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node42 (EqualityPatterns.family3.label 3) = PairSemantics.raw53 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node42 PairSemantics.raw53; decide +kernel rw [heq] exact (PairSemantics.canonical53 hH).trans (PairSemantics.sound1 hH) have hm4 : familyPairMoment B (groupedColumns node42 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value7 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node42 (EqualityPatterns.family3.label 4) = PairSemantics.raw34 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node42 PairSemantics.raw34; decide +kernel rw [heq] exact (PairSemantics.canonical34 hH).trans (PairSemantics.sound7 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue42, PairSemantics.value0, PairSemantics.value1, PairSemantics.value3, PairSemantics.value4, PairSemantics.value7, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue43 : Sparse (Fin 909) := [(0, (19 / 432)), (1, (35 / 432)), (2, (5 / 27)), (5, (-5 / 36)), (6, (5 / 72)), (7, (-5 / 27)), (35, (-10 / 27)), (82, (-5 / 27)), (199, (5 / 18))]
theorem singlePair43 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node43 node43Labels = Sparse.eval singlePairValue43 (familyPairVector B) := by have hp := single_label_three B hB node43 have hl : node43Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node43 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node43 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node43 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node43 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value16 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node43 (EqualityPatterns.family3.label 1) = PairSemantics.raw204 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node43 PairSemantics.raw204; decide +kernel rw [heq] exact (PairSemantics.canonical204 hH).trans (PairSemantics.sound16 hH) have hm2 : familyPairMoment B (groupedColumns node43 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node43 (EqualityPatterns.family3.label 2) = PairSemantics.raw9012 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node43 PairSemantics.raw9012; decide +kernel rw [heq] exact (PairSemantics.canonical9012 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node43 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value16 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node43 (EqualityPatterns.family3.label 3) = PairSemantics.raw192 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node43 PairSemantics.raw192; decide +kernel rw [heq] exact (PairSemantics.canonical192 hH).trans (PairSemantics.sound16 hH) have hm4 : familyPairMoment B (groupedColumns node43 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2789 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node43 (EqualityPatterns.family3.label 4) = PairSemantics.raw59 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node43 PairSemantics.raw59; decide +kernel rw [heq] exact (PairSemantics.canonical59 hH).trans (PairSemantics.sound2789 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue43, PairSemantics.value0, PairSemantics.value16, PairSemantics.value65, PairSemantics.value2789, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue44 : Sparse (Fin 909) := [(0, (7 / 144)), (1, (-5 / 48)), (2, (-55 / 432)), (3, (-5 / 54)), (5, (5 / 36)), (6, (-5 / 144)), (8, (-5 / 54)), (13, (-5 / 54)), (35, (-5 / 54)), (52, (-10 / 27)), (82, (-5 / 54)), (128, (-5 / 27)), (201, (5 / 18))]
theorem singlePair44 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node44 node44Labels = Sparse.eval singlePairValue44 (familyPairVector B) := by have hp := single_label_three B hB node44 have hl : node44Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node44 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node44 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node44 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node44 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value69 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node44 (EqualityPatterns.family3.label 1) = PairSemantics.raw205 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node44 PairSemantics.raw205; decide +kernel rw [heq] exact (PairSemantics.canonical205 hH).trans (PairSemantics.sound69 hH) have hm2 : familyPairMoment B (groupedColumns node44 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node44 (EqualityPatterns.family3.label 2) = PairSemantics.raw9010 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node44 PairSemantics.raw9010; decide +kernel rw [heq] exact (PairSemantics.canonical9010 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node44 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value16 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node44 (EqualityPatterns.family3.label 3) = PairSemantics.raw192 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node44 PairSemantics.raw192; decide +kernel rw [heq] exact (PairSemantics.canonical192 hH).trans (PairSemantics.sound16 hH) have hm4 : familyPairMoment B (groupedColumns node44 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2658 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node44 (EqualityPatterns.family3.label 4) = PairSemantics.raw60 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node44 PairSemantics.raw60; decide +kernel rw [heq] exact (PairSemantics.canonical60 hH).trans (PairSemantics.sound2658 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue44, PairSemantics.value0, PairSemantics.value16, PairSemantics.value65, PairSemantics.value69, PairSemantics.value2658, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue45 : Sparse (Fin 909) := [(0, (19 / 432)), (1, (35 / 864)), (2, (-5 / 108)), (5, (-25 / 216)), (6, (-5 / 96)), (35, (5 / 54)), (82, (5 / 54))]
theorem singlePair45 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node45 node45Labels = Sparse.eval singlePairValue45 (familyPairVector B) := by have hp := single_label_three B hB node45 have hl : node45Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node45 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node45 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node45 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node45 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value16 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node45 (EqualityPatterns.family3.label 1) = PairSemantics.raw206 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node45 PairSemantics.raw206; decide +kernel rw [heq] exact (PairSemantics.canonical206 hH).trans (PairSemantics.sound16 hH) have hm2 : familyPairMoment B (groupedColumns node45 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node45 (EqualityPatterns.family3.label 2) = PairSemantics.raw9011 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node45 PairSemantics.raw9011; decide +kernel rw [heq] exact (PairSemantics.canonical9011 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node45 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value8 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node45 (EqualityPatterns.family3.label 3) = PairSemantics.raw193 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node45 PairSemantics.raw193; decide +kernel rw [heq] exact (PairSemantics.canonical193 hH).trans (PairSemantics.sound8 hH) have hm4 : familyPairMoment B (groupedColumns node45 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value865 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node45 (EqualityPatterns.family3.label 4) = PairSemantics.raw61 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node45 PairSemantics.raw61; decide +kernel rw [heq] exact (PairSemantics.canonical61 hH).trans (PairSemantics.sound865 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue45, PairSemantics.value0, PairSemantics.value8, PairSemantics.value16, PairSemantics.value65, PairSemantics.value865, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue46 : Sparse (Fin 909) := [(0, (31 / 864)), (1, (-5 / 96)), (2, (-55 / 864)), (6, (-5 / 96)), (13, (5 / 54)), (52, (5 / 27)), (82, (5 / 54)), (128, (5 / 27))]
theorem singlePair46 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node46 node46Labels = Sparse.eval singlePairValue46 (familyPairVector B) := by have hp := single_label_three B hB node46 have hl : node46Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node46 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node46 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node46 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node46 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value69 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node46 (EqualityPatterns.family3.label 1) = PairSemantics.raw207 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node46 PairSemantics.raw207; decide +kernel rw [heq] exact (PairSemantics.canonical207 hH).trans (PairSemantics.sound69 hH) have hm2 : familyPairMoment B (groupedColumns node46 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node46 (EqualityPatterns.family3.label 2) = PairSemantics.raw9008 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node46 PairSemantics.raw9008; decide +kernel rw [heq] exact (PairSemantics.canonical9008 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node46 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value8 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node46 (EqualityPatterns.family3.label 3) = PairSemantics.raw193 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node46 PairSemantics.raw193; decide +kernel rw [heq] exact (PairSemantics.canonical193 hH).trans (PairSemantics.sound8 hH) have hm4 : familyPairMoment B (groupedColumns node46 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value565 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node46 (EqualityPatterns.family3.label 4) = PairSemantics.raw62 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node46 PairSemantics.raw62; decide +kernel rw [heq] exact (PairSemantics.canonical62 hH).trans (PairSemantics.sound565 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue46, PairSemantics.value0, PairSemantics.value8, PairSemantics.value11, PairSemantics.value69, PairSemantics.value565, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue47 : Sparse (Fin 909) := [(0, (5 / 144)), (1, (-5 / 432)), (2, (5 / 108)), (5, (5 / 54)), (6, (5 / 216)), (7, (5 / 54)), (35, (5 / 27)), (82, (5 / 54)), (199, (-5 / 18))]
theorem singlePair47 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node47 node47Labels = Sparse.eval singlePairValue47 (familyPairVector B) := by have hp := single_label_three B hB node47 have hl : node47Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node47 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node47 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node47 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node47 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value16 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node47 (EqualityPatterns.family3.label 1) = PairSemantics.raw206 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node47 PairSemantics.raw206; decide +kernel rw [heq] exact (PairSemantics.canonical206 hH).trans (PairSemantics.sound16 hH) have hm2 : familyPairMoment B (groupedColumns node47 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node47 (EqualityPatterns.family3.label 2) = PairSemantics.raw9015 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node47 PairSemantics.raw9015; decide +kernel rw [heq] exact (PairSemantics.canonical9015 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node47 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value9 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node47 (EqualityPatterns.family3.label 3) = PairSemantics.raw194 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node47 PairSemantics.raw194; decide +kernel rw [heq] exact (PairSemantics.canonical194 hH).trans (PairSemantics.sound9 hH) have hm4 : familyPairMoment B (groupedColumns node47 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value650 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node47 (EqualityPatterns.family3.label 4) = PairSemantics.raw63 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node47 PairSemantics.raw63; decide +kernel rw [heq] exact (PairSemantics.canonical63 hH).trans (PairSemantics.sound650 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue47, PairSemantics.value0, PairSemantics.value9, PairSemantics.value11, PairSemantics.value16, PairSemantics.value650, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue48 : Sparse (Fin 909) := [(0, (13 / 288)), (2, (-5 / 432)), (5, (55 / 216)), (6, (-5 / 864)), (8, (5 / 54)), (201, (-5 / 18))]
theorem singlePair48 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node48 node48Labels = Sparse.eval singlePairValue48 (familyPairVector B) := by have hp := single_label_three B hB node48 have hl : node48Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node48 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node48 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node48 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node48 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value69 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node48 (EqualityPatterns.family3.label 1) = PairSemantics.raw207 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node48 PairSemantics.raw207; decide +kernel rw [heq] exact (PairSemantics.canonical207 hH).trans (PairSemantics.sound69 hH) have hm2 : familyPairMoment B (groupedColumns node48 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node48 (EqualityPatterns.family3.label 2) = PairSemantics.raw9011 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node48 PairSemantics.raw9011; decide +kernel rw [heq] exact (PairSemantics.canonical9011 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node48 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value9 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node48 (EqualityPatterns.family3.label 3) = PairSemantics.raw194 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node48 PairSemantics.raw194; decide +kernel rw [heq] exact (PairSemantics.canonical194 hH).trans (PairSemantics.sound9 hH) have hm4 : familyPairMoment B (groupedColumns node48 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1134 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node48 (EqualityPatterns.family3.label 4) = PairSemantics.raw64 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node48 PairSemantics.raw64; decide +kernel rw [heq] exact (PairSemantics.canonical64 hH).trans (PairSemantics.sound1134 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue48, PairSemantics.value0, PairSemantics.value9, PairSemantics.value65, PairSemantics.value69, PairSemantics.value1134, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue49 : Sparse (Fin 909) := [(0, (5 / 144)), (1, (-5 / 216)), (6, (25 / 144)), (82, (-5 / 27))]
theorem singlePair49 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node49 node49Labels = Sparse.eval singlePairValue49 (familyPairVector B) := by have hp := single_label_three B hB node49 have hl : node49Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node49 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node49 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node49 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node49 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value16 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node49 (EqualityPatterns.family3.label 1) = PairSemantics.raw208 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node49 PairSemantics.raw208; decide +kernel rw [heq] exact (PairSemantics.canonical208 hH).trans (PairSemantics.sound16 hH) have hm2 : familyPairMoment B (groupedColumns node49 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node49 (EqualityPatterns.family3.label 2) = PairSemantics.raw9013 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node49 PairSemantics.raw9013; decide +kernel rw [heq] exact (PairSemantics.canonical9013 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node49 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value2 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node49 (EqualityPatterns.family3.label 3) = PairSemantics.raw195 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node49 PairSemantics.raw195; decide +kernel rw [heq] exact (PairSemantics.canonical195 hH).trans (PairSemantics.sound2 hH) have hm4 : familyPairMoment B (groupedColumns node49 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value157 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node49 (EqualityPatterns.family3.label 4) = PairSemantics.raw65 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node49 PairSemantics.raw65; decide +kernel rw [heq] exact (PairSemantics.canonical65 hH).trans (PairSemantics.sound157 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue49, PairSemantics.value0, PairSemantics.value2, PairSemantics.value11, PairSemantics.value16, PairSemantics.value157, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue50 : Sparse (Fin 909) := [(0, (19 / 432)), (1, (5 / 72)), (2, (5 / 48)), (5, (-5 / 36)), (6, (5 / 108)), (52, (5 / 27)), (128, (5 / 54))]
theorem singlePair50 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node50 node50Labels = Sparse.eval singlePairValue50 (familyPairVector B) := by have hp := single_label_three B hB node50 have hl : node50Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node50 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node50 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node50 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node50 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value16 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node50 (EqualityPatterns.family3.label 1) = PairSemantics.raw202 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node50 PairSemantics.raw202; decide +kernel rw [heq] exact (PairSemantics.canonical202 hH).trans (PairSemantics.sound16 hH) have hm2 : familyPairMoment B (groupedColumns node50 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node50 (EqualityPatterns.family3.label 2) = PairSemantics.raw9025 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node50 PairSemantics.raw9025; decide +kernel rw [heq] exact (PairSemantics.canonical9025 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node50 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value16 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node50 (EqualityPatterns.family3.label 3) = PairSemantics.raw197 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node50 PairSemantics.raw197; decide +kernel rw [heq] exact (PairSemantics.canonical197 hH).trans (PairSemantics.sound16 hH) have hm4 : familyPairMoment B (groupedColumns node50 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1140 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node50 (EqualityPatterns.family3.label 4) = PairSemantics.raw66 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node50 PairSemantics.raw66; decide +kernel rw [heq] exact (PairSemantics.canonical66 hH).trans (PairSemantics.sound1140 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue50, PairSemantics.value0, PairSemantics.value16, PairSemantics.value65, PairSemantics.value1140, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue51 : Sparse (Fin 909) := [(0, (5 / 144)), (2, (5 / 72)), (3, (5 / 54)), (5, (-5 / 36)), (6, (5 / 144)), (13, (5 / 54)), (35, (5 / 54)), (52, (5 / 54)), (82, (5 / 54)), (128, (5 / 54)), (201, (-5 / 18))]
theorem singlePair51 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node51 node51Labels = Sparse.eval singlePairValue51 (familyPairVector B) := by have hp := single_label_three B hB node51 have hl : node51Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node51 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node51 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node51 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node51 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value16 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node51 (EqualityPatterns.family3.label 1) = PairSemantics.raw209 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node51 PairSemantics.raw209; decide +kernel rw [heq] exact (PairSemantics.canonical209 hH).trans (PairSemantics.sound16 hH) have hm2 : familyPairMoment B (groupedColumns node51 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node51 (EqualityPatterns.family3.label 2) = PairSemantics.raw9018 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node51 PairSemantics.raw9018; decide +kernel rw [heq] exact (PairSemantics.canonical9018 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node51 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value16 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node51 (EqualityPatterns.family3.label 3) = PairSemantics.raw197 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node51 PairSemantics.raw197; decide +kernel rw [heq] exact (PairSemantics.canonical197 hH).trans (PairSemantics.sound16 hH) have hm4 : familyPairMoment B (groupedColumns node51 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value665 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node51 (EqualityPatterns.family3.label 4) = PairSemantics.raw67 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node51 PairSemantics.raw67; decide +kernel rw [heq] exact (PairSemantics.canonical67 hH).trans (PairSemantics.sound665 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue51, PairSemantics.value0, PairSemantics.value11, PairSemantics.value16, PairSemantics.value665, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue52 : Sparse (Fin 909) := [(0, (5 / 144)), (1, (-5 / 216)), (2, (-5 / 216)), (6, (-5 / 144)), (52, (-5 / 27)), (128, (-5 / 27))]
theorem singlePair52 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node52 node52Labels = Sparse.eval singlePairValue52 (familyPairVector B) := by have hp := single_label_three B hB node52 have hl : node52Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node52 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node52 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node52 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node52 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value16 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node52 (EqualityPatterns.family3.label 1) = PairSemantics.raw210 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node52 PairSemantics.raw210; decide +kernel rw [heq] exact (PairSemantics.canonical210 hH).trans (PairSemantics.sound16 hH) have hm2 : familyPairMoment B (groupedColumns node52 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node52 (EqualityPatterns.family3.label 2) = PairSemantics.raw9013 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node52 PairSemantics.raw9013; decide +kernel rw [heq] exact (PairSemantics.canonical9013 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node52 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value8 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node52 (EqualityPatterns.family3.label 3) = PairSemantics.raw198 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node52 PairSemantics.raw198; decide +kernel rw [heq] exact (PairSemantics.canonical198 hH).trans (PairSemantics.sound8 hH) have hm4 : familyPairMoment B (groupedColumns node52 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value190 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node52 (EqualityPatterns.family3.label 4) = PairSemantics.raw68 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node52 PairSemantics.raw68; decide +kernel rw [heq] exact (PairSemantics.canonical68 hH).trans (PairSemantics.sound190 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue52, PairSemantics.value0, PairSemantics.value8, PairSemantics.value11, PairSemantics.value16, PairSemantics.value190, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue53 : Sparse (Fin 909) := [(0, (5 / 144)), (1, (-5 / 144)), (2, (-5 / 108)), (5, (5 / 27)), (6, (-5 / 108)), (35, (-5 / 27)), (82, (-5 / 27))]
theorem singlePair53 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node53 node53Labels = Sparse.eval singlePairValue53 (familyPairVector B) := by have hp := single_label_three B hB node53 have hl : node53Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node53 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node53 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node53 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node53 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value8 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node53 (EqualityPatterns.family3.label 1) = PairSemantics.raw203 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node53 PairSemantics.raw203; decide +kernel rw [heq] exact (PairSemantics.canonical203 hH).trans (PairSemantics.sound8 hH) have hm2 : familyPairMoment B (groupedColumns node53 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node53 (EqualityPatterns.family3.label 2) = PairSemantics.raw9032 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node53 PairSemantics.raw9032; decide +kernel rw [heq] exact (PairSemantics.canonical9032 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node53 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value9 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node53 (EqualityPatterns.family3.label 3) = PairSemantics.raw199 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node53 PairSemantics.raw199; decide +kernel rw [heq] exact (PairSemantics.canonical199 hH).trans (PairSemantics.sound9 hH) have hm4 : familyPairMoment B (groupedColumns node53 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value217 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node53 (EqualityPatterns.family3.label 4) = PairSemantics.raw69 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node53 PairSemantics.raw69; decide +kernel rw [heq] exact (PairSemantics.canonical69 hH).trans (PairSemantics.sound217 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue53, PairSemantics.value0, PairSemantics.value8, PairSemantics.value9, PairSemantics.value11, PairSemantics.value217, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue54 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (65 / 432)), (2, (-5 / 432)), (5, (-5 / 108)), (6, (-5 / 216)), (13, (-5 / 27)), (82, (-5 / 27)), (128, (-5 / 27))]
theorem singlePair54 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node54 node54Labels = Sparse.eval singlePairValue54 (familyPairVector B) := by have hp := single_label_three B hB node54 have hl : node54Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node54 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node54 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node54 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node54 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value16 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node54 (EqualityPatterns.family3.label 1) = PairSemantics.raw213 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node54 PairSemantics.raw213; decide +kernel rw [heq] exact (PairSemantics.canonical213 hH).trans (PairSemantics.sound16 hH) have hm2 : familyPairMoment B (groupedColumns node54 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node54 (EqualityPatterns.family3.label 2) = PairSemantics.raw8972 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node54 PairSemantics.raw8972; decide +kernel rw [heq] exact (PairSemantics.canonical8972 hH).trans (PairSemantics.sound4 hH) have hm3 : familyPairMoment B (groupedColumns node54 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value8 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node54 (EqualityPatterns.family3.label 3) = PairSemantics.raw198 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node54 PairSemantics.raw198; decide +kernel rw [heq] exact (PairSemantics.canonical198 hH).trans (PairSemantics.sound8 hH) have hm4 : familyPairMoment B (groupedColumns node54 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value171 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node54 (EqualityPatterns.family3.label 4) = PairSemantics.raw70 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node54 PairSemantics.raw70; decide +kernel rw [heq] exact (PairSemantics.canonical70 hH).trans (PairSemantics.sound171 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue54, PairSemantics.value0, PairSemantics.value4, PairSemantics.value8, PairSemantics.value16, PairSemantics.value171, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue55 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (5 / 36)), (5, (5 / 18)), (199, (5 / 9))]
theorem singlePair55 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node55 node55Labels = Sparse.eval singlePairValue55 (familyPairVector B) := by have hp := single_label_three B hB node55 have hl : node55Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node55 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node55 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node55 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node55 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value9 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node55 (EqualityPatterns.family3.label 1) = PairSemantics.raw212 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node55 PairSemantics.raw212; decide +kernel rw [heq] exact (PairSemantics.canonical212 hH).trans (PairSemantics.sound9 hH) have hm2 : familyPairMoment B (groupedColumns node55 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node55 (EqualityPatterns.family3.label 2) = PairSemantics.raw8987 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node55 PairSemantics.raw8987; decide +kernel rw [heq] exact (PairSemantics.canonical8987 hH).trans (PairSemantics.sound4 hH) have hm3 : familyPairMoment B (groupedColumns node55 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value9 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node55 (EqualityPatterns.family3.label 3) = PairSemantics.raw199 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node55 PairSemantics.raw199; decide +kernel rw [heq] exact (PairSemantics.canonical199 hH).trans (PairSemantics.sound9 hH) have hm4 : familyPairMoment B (groupedColumns node55 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value199 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node55 (EqualityPatterns.family3.label 4) = PairSemantics.raw71 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node55 PairSemantics.raw71; decide +kernel rw [heq] exact (PairSemantics.canonical71 hH).trans (PairSemantics.sound199 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue55, PairSemantics.value0, PairSemantics.value4, PairSemantics.value9, PairSemantics.value199, Sparse.eval] at hp ⊢ linarith only [hp]
end MUB6.Certificate.MixedSemantics
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925import OAI.Analysis.MutuallyUnbiased.MixedSemantics.GroupedColumnsimport OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes5import OAI.Analysis.MutuallyUnbiased.MixedSemantics.SingleRulesimport OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical161import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical20import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical239import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical240import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical249import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical26import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical27import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound0import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound10import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound2import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound29import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound3import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound35import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound5import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound8
namespace OAI
namespace MUB6.Certificate.MixedSemantics
open scoped BigOperators
def singlePairValue328 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (5 / 288)), (2, (55 / 864)), (3, (5 / 27)), (5, (-5 / 108)), (7, (5 / 54)), (26, (5 / 27)), (34, (5 / 54)), (35, (5 / 54)), (64, (-5 / 18)), (67, (5 / 54))]
theorem singlePair328 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node328 node328Labels = Sparse.eval singlePairValue328 (familyPairVector B) := by have hp := single_label_three B hB node328 have hl : node328Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node328 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node328 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node328 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node328 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node328 (EqualityPatterns.family3.label 1) = PairSemantics.raw5173 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node328 PairSemantics.raw5173; decide +kernel rw [heq] exact (PairSemantics.canonical5173 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node328 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node328 (EqualityPatterns.family3.label 2) = PairSemantics.raw7664 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node328 PairSemantics.raw7664; decide +kernel rw [heq] exact (PairSemantics.canonical7664 hH).trans (PairSemantics.sound26 hH) have hm3 : familyPairMoment B (groupedColumns node328 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node328 (EqualityPatterns.family3.label 3) = PairSemantics.raw861 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node328 PairSemantics.raw861; decide +kernel rw [heq] exact (PairSemantics.canonical861 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node328 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value360 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node328 (EqualityPatterns.family3.label 4) = PairSemantics.raw655 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node328 PairSemantics.raw655; decide +kernel rw [heq] exact (PairSemantics.canonical655 hH).trans (PairSemantics.sound360 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue328, PairSemantics.value0, PairSemantics.value25, PairSemantics.value26, PairSemantics.value46, PairSemantics.value360, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue329 : Sparse (Fin 909) := [(0, (19 / 864)), (1, (25 / 864)), (2, (5 / 108)), (3, (5 / 54)), (5, (-5 / 72)), (7, (5 / 54)), (8, (5 / 54)), (51, (-5 / 18))]
theorem singlePair329 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node329 node329Labels = Sparse.eval singlePairValue329 (familyPairVector B) := by have hp := single_label_three B hB node329 have hl : node329Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node329 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node329 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node329 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node329 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node329 (EqualityPatterns.family3.label 1) = PairSemantics.raw5175 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node329 PairSemantics.raw5175; decide +kernel rw [heq] exact (PairSemantics.canonical5175 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node329 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node329 (EqualityPatterns.family3.label 2) = PairSemantics.raw7661 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node329 PairSemantics.raw7661; decide +kernel rw [heq] exact (PairSemantics.canonical7661 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node329 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node329 (EqualityPatterns.family3.label 3) = PairSemantics.raw861 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node329 PairSemantics.raw861; decide +kernel rw [heq] exact (PairSemantics.canonical861 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node329 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value561 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node329 (EqualityPatterns.family3.label 4) = PairSemantics.raw656 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node329 PairSemantics.raw656; decide +kernel rw [heq] exact (PairSemantics.canonical656 hH).trans (PairSemantics.sound561 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue329, PairSemantics.value0, PairSemantics.value11, PairSemantics.value25, PairSemantics.value232, PairSemantics.value561, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue330 : Sparse (Fin 909) := [(0, (23 / 864)), (1, (-5 / 864)), (2, (-55 / 864)), (3, (-5 / 6)), (4, (-5 / 18)), (5, (-5 / 72)), (6, (5 / 288)), (7, (-5 / 54)), (12, (-5 / 54)), (13, (-5 / 54)), (26, (-25 / 54)), (33, (5 / 18)), (34, (-5 / 27)), (35, (-5 / 27)), (67, (-5 / 54)), (81, (5 / 18))]
theorem singlePair330 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node330 node330Labels = Sparse.eval singlePairValue330 (familyPairVector B) := by have hp := single_label_three B hB node330 have hl : node330Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node330 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node330 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node330 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node330 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node330 (EqualityPatterns.family3.label 1) = PairSemantics.raw5153 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node330 PairSemantics.raw5153; decide +kernel rw [heq] exact (PairSemantics.canonical5153 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node330 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node330 (EqualityPatterns.family3.label 2) = PairSemantics.raw7689 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node330 PairSemantics.raw7689; decide +kernel rw [heq] exact (PairSemantics.canonical7689 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node330 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value383 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node330 (EqualityPatterns.family3.label 3) = PairSemantics.raw866 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node330 PairSemantics.raw866; decide +kernel rw [heq] exact (PairSemantics.canonical866 hH).trans (PairSemantics.sound383 hH) have hm4 : familyPairMoment B (groupedColumns node330 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1866 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node330 (EqualityPatterns.family3.label 4) = PairSemantics.raw657 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node330 PairSemantics.raw657; decide +kernel rw [heq] exact (PairSemantics.canonical657 hH).trans (PairSemantics.sound1866 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue330, PairSemantics.value0, PairSemantics.value46, PairSemantics.value232, PairSemantics.value383, PairSemantics.value1866, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue331 : Sparse (Fin 909) := [(0, (17 / 864)), (1, (25 / 216)), (2, (-25 / 216)), (3, (-10 / 9)), (4, (-5 / 9)), (5, (-5 / 108)), (6, (5 / 288)), (7, (-5 / 18)), (26, (-5 / 9)), (35, (-5 / 27))]
theorem singlePair331 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node331 node331Labels = Sparse.eval singlePairValue331 (familyPairVector B) := by have hp := single_label_three B hB node331 have hl : node331Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node331 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node331 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node331 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node331 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node331 (EqualityPatterns.family3.label 1) = PairSemantics.raw5156 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node331 PairSemantics.raw5156; decide +kernel rw [heq] exact (PairSemantics.canonical5156 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node331 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node331 (EqualityPatterns.family3.label 2) = PairSemantics.raw7687 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node331 PairSemantics.raw7687; decide +kernel rw [heq] exact (PairSemantics.canonical7687 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node331 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value383 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node331 (EqualityPatterns.family3.label 3) = PairSemantics.raw866 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node331 PairSemantics.raw866; decide +kernel rw [heq] exact (PairSemantics.canonical866 hH).trans (PairSemantics.sound383 hH) have hm4 : familyPairMoment B (groupedColumns node331 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2303 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node331 (EqualityPatterns.family3.label 4) = PairSemantics.raw658 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node331 PairSemantics.raw658; decide +kernel rw [heq] exact (PairSemantics.canonical658 hH).trans (PairSemantics.sound2303 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue331, PairSemantics.value0, PairSemantics.value11, PairSemantics.value232, PairSemantics.value383, PairSemantics.value2303, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue332 : Sparse (Fin 909) := [(0, (7 / 216)), (1, (-5 / 54)), (2, (5 / 288)), (3, (5 / 18)), (4, (5 / 54)), (5, (5 / 216)), (6, (-5 / 864)), (7, (5 / 54)), (26, (5 / 27)), (35, (5 / 54))]
theorem singlePair332 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node332 node332Labels = Sparse.eval singlePairValue332 (familyPairVector B) := by have hp := single_label_three B hB node332 have hl : node332Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node332 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node332 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node332 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node332 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node332 (EqualityPatterns.family3.label 1) = PairSemantics.raw5157 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node332 PairSemantics.raw5157; decide +kernel rw [heq] exact (PairSemantics.canonical5157 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node332 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node332 (EqualityPatterns.family3.label 2) = PairSemantics.raw7686 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node332 PairSemantics.raw7686; decide +kernel rw [heq] exact (PairSemantics.canonical7686 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node332 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node332 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node332 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node332 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value702 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node332 (EqualityPatterns.family3.label 4) = PairSemantics.raw659 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node332 PairSemantics.raw659; decide +kernel rw [heq] exact (PairSemantics.canonical659 hH).trans (PairSemantics.sound702 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue332, PairSemantics.value0, PairSemantics.value11, PairSemantics.value46, PairSemantics.value118, PairSemantics.value702, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue333 : Sparse (Fin 909) := [(0, (7 / 432)), (1, (5 / 108)), (2, (25 / 864)), (3, (5 / 27)), (4, (5 / 54)), (5, (5 / 216)), (6, (-5 / 864)), (26, (5 / 54)), (33, (-5 / 18)), (81, (-5 / 18))]
theorem singlePair333 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node333 node333Labels = Sparse.eval singlePairValue333 (familyPairVector B) := by have hp := single_label_three B hB node333 have hl : node333Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node333 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node333 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node333 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node333 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node333 (EqualityPatterns.family3.label 1) = PairSemantics.raw5159 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node333 PairSemantics.raw5159; decide +kernel rw [heq] exact (PairSemantics.canonical5159 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node333 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node333 (EqualityPatterns.family3.label 2) = PairSemantics.raw7684 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node333 PairSemantics.raw7684; decide +kernel rw [heq] exact (PairSemantics.canonical7684 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node333 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node333 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node333 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node333 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value535 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node333 (EqualityPatterns.family3.label 4) = PairSemantics.raw660 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node333 PairSemantics.raw660; decide +kernel rw [heq] exact (PairSemantics.canonical660 hH).trans (PairSemantics.sound535 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue333, PairSemantics.value0, PairSemantics.value46, PairSemantics.value118, PairSemantics.value232, PairSemantics.value535, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue334 : Sparse (Fin 909) := [(0, (49 / 864)), (1, (-35 / 432)), (2, (-55 / 432)), (3, (-5 / 27)), (6, (5 / 288)), (7, (-5 / 54)), (8, (-5 / 27))]
theorem singlePair334 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node334 node334Labels = Sparse.eval singlePairValue334 (familyPairVector B) := by have hp := single_label_three B hB node334 have hl : node334Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node334 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node334 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node334 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node334 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node334 (EqualityPatterns.family3.label 1) = PairSemantics.raw5164 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node334 PairSemantics.raw5164; decide +kernel rw [heq] exact (PairSemantics.canonical5164 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node334 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node334 (EqualityPatterns.family3.label 2) = PairSemantics.raw7680 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node334 PairSemantics.raw7680; decide +kernel rw [heq] exact (PairSemantics.canonical7680 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node334 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value383 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node334 (EqualityPatterns.family3.label 3) = PairSemantics.raw866 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node334 PairSemantics.raw866; decide +kernel rw [heq] exact (PairSemantics.canonical866 hH).trans (PairSemantics.sound383 hH) have hm4 : familyPairMoment B (groupedColumns node334 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1884 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node334 (EqualityPatterns.family3.label 4) = PairSemantics.raw662 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node334 PairSemantics.raw662; decide +kernel rw [heq] exact (PairSemantics.canonical662 hH).trans (PairSemantics.sound1884 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue334, PairSemantics.value0, PairSemantics.value11, PairSemantics.value65, PairSemantics.value383, PairSemantics.value1884, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue335 : Sparse (Fin 909) := [(0, (19 / 432)), (1, (95 / 432)), (2, (-5 / 864)), (3, (5 / 54)), (6, (-5 / 864)), (7, (5 / 54))]
theorem singlePair335 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node335 node335Labels = Sparse.eval singlePairValue335 (familyPairVector B) := by have hp := single_label_three B hB node335 have hl : node335Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node335 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node335 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node335 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node335 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node335 (EqualityPatterns.family3.label 1) = PairSemantics.raw5165 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node335 PairSemantics.raw5165; decide +kernel rw [heq] exact (PairSemantics.canonical5165 hH).trans (PairSemantics.sound4 hH) have hm2 : familyPairMoment B (groupedColumns node335 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node335 (EqualityPatterns.family3.label 2) = PairSemantics.raw7679 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node335 PairSemantics.raw7679; decide +kernel rw [heq] exact (PairSemantics.canonical7679 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node335 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node335 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node335 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node335 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value555 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node335 (EqualityPatterns.family3.label 4) = PairSemantics.raw663 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node335 PairSemantics.raw663; decide +kernel rw [heq] exact (PairSemantics.canonical663 hH).trans (PairSemantics.sound555 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue335, PairSemantics.value0, PairSemantics.value4, PairSemantics.value65, PairSemantics.value118, PairSemantics.value555, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue336 : Sparse (Fin 909) := [(0, (47 / 864)), (1, (-5 / 216)), (2, (5 / 144)), (6, (-5 / 864)), (8, (5 / 54))]
theorem singlePair336 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node336 node336Labels = Sparse.eval singlePairValue336 (familyPairVector B) := by have hp := single_label_three B hB node336 have hl : node336Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node336 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node336 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node336 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node336 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node336 (EqualityPatterns.family3.label 1) = PairSemantics.raw5167 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node336 PairSemantics.raw5167; decide +kernel rw [heq] exact (PairSemantics.canonical5167 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node336 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node336 (EqualityPatterns.family3.label 2) = PairSemantics.raw7677 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node336 PairSemantics.raw7677; decide +kernel rw [heq] exact (PairSemantics.canonical7677 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node336 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node336 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node336 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node336 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value560 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node336 (EqualityPatterns.family3.label 4) = PairSemantics.raw664 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node336 PairSemantics.raw664; decide +kernel rw [heq] exact (PairSemantics.canonical664 hH).trans (PairSemantics.sound560 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue336, PairSemantics.value0, PairSemantics.value11, PairSemantics.value65, PairSemantics.value118, PairSemantics.value560, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue337 : Sparse (Fin 909) := [(0, (1 / 54)), (1, (65 / 432)), (2, (5 / 864)), (5, (5 / 216)), (6, (-5 / 864)), (7, (5 / 54)), (12, (5 / 54)), (13, (5 / 54)), (35, (5 / 54))]
theorem singlePair337 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node337 node337Labels = Sparse.eval singlePairValue337 (familyPairVector B) := by have hp := single_label_three B hB node337 have hl : node337Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node337 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node337 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node337 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node337 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node337 (EqualityPatterns.family3.label 1) = PairSemantics.raw5170 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node337 PairSemantics.raw5170; decide +kernel rw [heq] exact (PairSemantics.canonical5170 hH).trans (PairSemantics.sound4 hH) have hm2 : familyPairMoment B (groupedColumns node337 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node337 (EqualityPatterns.family3.label 2) = PairSemantics.raw7674 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node337 PairSemantics.raw7674; decide +kernel rw [heq] exact (PairSemantics.canonical7674 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node337 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node337 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node337 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node337 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value556 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node337 (EqualityPatterns.family3.label 4) = PairSemantics.raw665 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node337 PairSemantics.raw665; decide +kernel rw [heq] exact (PairSemantics.canonical665 hH).trans (PairSemantics.sound556 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue337, PairSemantics.value0, PairSemantics.value4, PairSemantics.value118, PairSemantics.value232, PairSemantics.value556, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue338 : Sparse (Fin 909) := [(0, (19 / 432)), (1, (25 / 108)), (5, (5 / 108)), (6, (5 / 432))]
theorem singlePair338 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node338 node338Labels = Sparse.eval singlePairValue338 (familyPairVector B) := by have hp := single_label_three B hB node338 have hl : node338Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [�� hl] at hp have hm0 : familyPairMoment B (groupedColumns node338 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node338 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node338 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node338 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node338 (EqualityPatterns.family3.label 1) = PairSemantics.raw5169 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node338 PairSemantics.raw5169; decide +kernel rw [heq] exact (PairSemantics.canonical5169 hH).trans (PairSemantics.sound4 hH) have hm2 : familyPairMoment B (groupedColumns node338 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node338 (EqualityPatterns.family3.label 2) = PairSemantics.raw7678 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node338 PairSemantics.raw7678; decide +kernel rw [heq] exact (PairSemantics.canonical7678 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node338 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node338 (EqualityPatterns.family3.label 3) = PairSemantics.raw869 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node338 PairSemantics.raw869; decide +kernel rw [heq] exact (PairSemantics.canonical869 hH).trans (PairSemantics.sound24 hH) have hm4 : familyPairMoment B (groupedColumns node338 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value168 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node338 (EqualityPatterns.family3.label 4) = PairSemantics.raw666 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node338 PairSemantics.raw666; decide +kernel rw [heq] exact (PairSemantics.canonical666 hH).trans (PairSemantics.sound168 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue338, PairSemantics.value0, PairSemantics.value4, PairSemantics.value24, PairSemantics.value65, PairSemantics.value168, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue339 : Sparse (Fin 909) := [(0, (37 / 864)), (1, (-35 / 432)), (2, (25 / 432)), (3, (5 / 27)), (6, (-5 / 864)), (7, (5 / 54))]
theorem singlePair339 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node339 node339Labels = Sparse.eval singlePairValue339 (familyPairVector B) := by have hp := single_label_three B hB node339 have hl : node339Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node339 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node339 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node339 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node339 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node339 (EqualityPatterns.family3.label 1) = PairSemantics.raw5179 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node339 PairSemantics.raw5179; decide +kernel rw [heq] exact (PairSemantics.canonical5179 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node339 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node339 (EqualityPatterns.family3.label 2) = PairSemantics.raw7669 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node339 PairSemantics.raw7669; decide +kernel rw [heq] exact (PairSemantics.canonical7669 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node339 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node339 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node339 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node339 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value562 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node339 (EqualityPatterns.family3.label 4) = PairSemantics.raw667 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node339 PairSemantics.raw667; decide +kernel rw [heq] exact (PairSemantics.canonical667 hH).trans (PairSemantics.sound562 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue339, PairSemantics.value0, PairSemantics.value11, PairSemantics.value118, PairSemantics.value562, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue340 : Sparse (Fin 909) := [(0, (7 / 288)), (1, (5 / 216)), (2, (5 / 108)), (3, (5 / 18)), (4, (5 / 54)), (5, (5 / 216)), (6, (-5 / 864)), (13, (5 / 54)), (26, (5 / 18)), (34, (5 / 27)), (35, (5 / 54)), (67, (5 / 54))]
theorem singlePair340 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node340 node340Labels = Sparse.eval singlePairValue340 (familyPairVector B) := by have hp := single_label_three B hB node340 have hl : node340Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node340 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node340 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node340 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node340 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node340 (EqualityPatterns.family3.label 1) = PairSemantics.raw5182 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node340 PairSemantics.raw5182; decide +kernel rw [heq] exact (PairSemantics.canonical5182 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node340 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node340 (EqualityPatterns.family3.label 2) = PairSemantics.raw7666 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node340 PairSemantics.raw7666; decide +kernel rw [heq] exact (PairSemantics.canonical7666 hH).trans (PairSemantics.sound26 hH) have hm3 : familyPairMoment B (groupedColumns node340 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node340 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node340 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node340 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value371 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node340 (EqualityPatterns.family3.label 4) = PairSemantics.raw668 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node340 PairSemantics.raw668; decide +kernel rw [heq] exact (PairSemantics.canonical668 hH).trans (PairSemantics.sound371 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue340, PairSemantics.value0, PairSemantics.value26, PairSemantics.value46, PairSemantics.value118, PairSemantics.value371, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue341 : Sparse (Fin 909) := [(0, (19 / 432)), (1, (-25 / 216)), (2, (-5 / 72)), (5, (5 / 108)), (6, (5 / 432))]
theorem singlePair341 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node341 node341Labels = Sparse.eval singlePairValue341 (familyPairVector B) := by have hp := single_label_three B hB node341 have hl : node341Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node341 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node341 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node341 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node341 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node341 (EqualityPatterns.family3.label 1) = PairSemantics.raw5177 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node341 PairSemantics.raw5177; decide +kernel rw [heq] exact (PairSemantics.canonical5177 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node341 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node341 (EqualityPatterns.family3.label 2) = PairSemantics.raw7671 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node341 PairSemantics.raw7671; decide +kernel rw [heq] exact (PairSemantics.canonical7671 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node341 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node341 (EqualityPatterns.family3.label 3) = PairSemantics.raw869 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node341 PairSemantics.raw869; decide +kernel rw [heq] exact (PairSemantics.canonical869 hH).trans (PairSemantics.sound24 hH) have hm4 : familyPairMoment B (groupedColumns node341 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value174 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node341 (EqualityPatterns.family3.label 4) = PairSemantics.raw669 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node341 PairSemantics.raw669; decide +kernel rw [heq] exact (PairSemantics.canonical669 hH).trans (PairSemantics.sound174 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue341, PairSemantics.value0, PairSemantics.value11, PairSemantics.value24, PairSemantics.value174, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue342 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (5 / 216)), (2, (5 / 432)), (5, (-5 / 108)), (26, (-5 / 27)), (34, (-5 / 27)), (67, (-5 / 27))]
theorem singlePair342 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node342 node342Labels = Sparse.eval singlePairValue342 (familyPairVector B) := by have hp := single_label_three B hB node342 have hl : node342Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node342 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node342 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node342 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node342 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node342 (EqualityPatterns.family3.label 1) = PairSemantics.raw5161 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node342 PairSemantics.raw5161; decide +kernel rw [heq] exact (PairSemantics.canonical5161 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node342 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node342 (EqualityPatterns.family3.label 2) = PairSemantics.raw7690 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node342 PairSemantics.raw7690; decide +kernel rw [heq] exact (PairSemantics.canonical7690 hH).trans (PairSemantics.sound26 hH) have hm3 : familyPairMoment B (groupedColumns node342 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node342 (EqualityPatterns.family3.label 3) = PairSemantics.raw872 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node342 PairSemantics.raw872; decide +kernel rw [heq] exact (PairSemantics.canonical872 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node342 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value108 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node342 (EqualityPatterns.family3.label 4) = PairSemantics.raw670 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node342 PairSemantics.raw670; decide +kernel rw [heq] exact (PairSemantics.canonical670 hH).trans (PairSemantics.sound108 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue342, PairSemantics.value0, PairSemantics.value10, PairSemantics.value25, PairSemantics.value26, PairSemantics.value108, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue343 : Sparse (Fin 909) := [(0, (5 / 144)), (1, (35 / 216)), (2, (5 / 432)), (3, (-5 / 27)), (5, (-5 / 108)), (7, (-5 / 27))]
theorem singlePair343 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node343 node343Labels = Sparse.eval singlePairValue343 (familyPairVector B) := by have hp := single_label_three B hB node343 have hl : node343Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node343 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node343 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node343 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node343 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node343 (EqualityPatterns.family3.label 1) = PairSemantics.raw5169 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node343 PairSemantics.raw5169; decide +kernel rw [heq] exact (PairSemantics.canonical5169 hH).trans (PairSemantics.sound4 hH) have hm2 : familyPairMoment B (groupedColumns node343 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node343 (EqualityPatterns.family3.label 2) = PairSemantics.raw7685 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node343 PairSemantics.raw7685; decide +kernel rw [heq] exact (PairSemantics.canonical7685 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node343 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node343 (EqualityPatterns.family3.label 3) = PairSemantics.raw872 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node343 PairSemantics.raw872; decide +kernel rw [heq] exact (PairSemantics.canonical872 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node343 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value169 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node343 (EqualityPatterns.family3.label 4) = PairSemantics.raw671 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node343 PairSemantics.raw671; decide +kernel rw [heq] exact (PairSemantics.canonical671 hH).trans (PairSemantics.sound169 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue343, PairSemantics.value0, PairSemantics.value4, PairSemantics.value11, PairSemantics.value25, PairSemantics.value169, Sparse.eval] at hp ⊢ linarith only [hp]
end MUB6.Certificate.MixedSemantics
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928import OAI.Analysis.MutuallyUnbiased.MixedSemantics.GroupedColumnsimport OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes5import OAI.Analysis.MutuallyUnbiased.MixedSemantics.SingleRulesimport OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical159import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical161import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical162import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical21import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical238import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical239import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical242import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical249import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical26import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical27import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound0import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound11import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound2import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound22import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound29import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound3import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound5import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound8
namespace OAI
namespace MUB6.Certificate.MixedSemantics
open scoped BigOperators
def singlePairValue344 : Sparse (Fin 909) := [(0, (1 / 18)), (1, (-5 / 108)), (5, (-5 / 108)), (8, (-5 / 27))]
theorem singlePair344 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node344 node344Labels = Sparse.eval singlePairValue344 (familyPairVector B) := by have hp := single_label_three B hB node344 have hl : node344Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node344 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node344 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node344 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node344 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node344 (EqualityPatterns.family3.label 1) = PairSemantics.raw5177 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node344 PairSemantics.raw5177; decide +kernel rw [heq] exact (PairSemantics.canonical5177 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node344 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node344 (EqualityPatterns.family3.label 2) = PairSemantics.raw7678 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node344 PairSemantics.raw7678; decide +kernel rw [heq] exact (PairSemantics.canonical7678 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node344 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node344 (EqualityPatterns.family3.label 3) = PairSemantics.raw872 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node344 PairSemantics.raw872; decide +kernel rw [heq] exact (PairSemantics.canonical872 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node344 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value175 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node344 (EqualityPatterns.family3.label 4) = PairSemantics.raw672 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node344 PairSemantics.raw672; decide +kernel rw [heq] exact (PairSemantics.canonical672 hH).trans (PairSemantics.sound175 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue344, PairSemantics.value0, PairSemantics.value11, PairSemantics.value25, PairSemantics.value65, PairSemantics.value175, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue345 : Sparse (Fin 909) := [(0, (7 / 288)), (1, (5 / 96)), (2, (-95 / 864)), (3, (-25 / 27)), (5, (5 / 108)), (6, (-5 / 864)), (7, (-5 / 54)), (12, (-10 / 27)), (13, (-35 / 54)), (34, (-5 / 54)), (35, (-5 / 54)), (51, (5 / 9)), (52, (-5 / 18)), (54, (5 / 18)), (64, (5 / 18))]
theorem singlePair345 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node345 node345Labels = Sparse.eval singlePairValue345 (familyPairVector B) := by have hp := single_label_three B hB node345 have hl : node345Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node345 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node345 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node345 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node345 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node345 (EqualityPatterns.family3.label 1) = PairSemantics.raw5191 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node345 PairSemantics.raw5191; decide +kernel rw [heq] exact (PairSemantics.canonical5191 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node345 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node345 (EqualityPatterns.family3.label 2) = PairSemantics.raw7629 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node345 PairSemantics.raw7629; decide +kernel rw [heq] exact (PairSemantics.canonical7629 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node345 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node345 (EqualityPatterns.family3.label 3) = PairSemantics.raw859 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node345 PairSemantics.raw859; decide +kernel rw [heq] exact (PairSemantics.canonical859 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node345 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1863 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node345 (EqualityPatterns.family3.label 4) = PairSemantics.raw673 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node345 PairSemantics.raw673; decide +kernel rw [heq] exact (PairSemantics.canonical673 hH).trans (PairSemantics.sound1863 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue345, PairSemantics.value0, PairSemantics.value46, PairSemantics.value118, PairSemantics.value232, PairSemantics.value1863, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue346 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (-35 / 864)), (2, (5 / 96)), (3, (5 / 54)), (5, (-5 / 108)), (7, (5 / 54)), (51, (-5 / 18)), (54, (-5 / 18)), (64, (-5 / 18))]
theorem singlePair346 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node346 node346Labels = Sparse.eval singlePairValue346 (familyPairVector B) := by have hp := single_label_three B hB node346 have hl : node346Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node346 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node346 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node346 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node346 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node346 (EqualityPatterns.family3.label 1) = PairSemantics.raw5189 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node346 PairSemantics.raw5189; decide +kernel rw [heq] exact (PairSemantics.canonical5189 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node346 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node346 (EqualityPatterns.family3.label 2) = PairSemantics.raw7637 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node346 PairSemantics.raw7637; decide +kernel rw [heq] exact (PairSemantics.canonical7637 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node346 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node346 (EqualityPatterns.family3.label 3) = PairSemantics.raw861 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node346 PairSemantics.raw861; decide +kernel rw [heq] exact (PairSemantics.canonical861 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node346 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value533 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node346 (EqualityPatterns.family3.label 4) = PairSemantics.raw674 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node346 PairSemantics.raw674; decide +kernel rw [heq] exact (PairSemantics.canonical674 hH).trans (PairSemantics.sound533 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue346, PairSemantics.value0, PairSemantics.value25, PairSemantics.value46, PairSemantics.value533, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue347 : Sparse (Fin 909) := [(0, (7 / 288)), (2, (-5 / 54)), (3, (-35 / 54)), (4, (-5 / 27)), (5, (-5 / 72)), (6, (5 / 288)), (12, (-5 / 27)), (13, (-5 / 27)), (25, (5 / 18)), (26, (-5 / 27)), (31, (5 / 9)), (33, (5 / 9)), (34, (-5 / 54)), (51, (5 / 9)), (52, (-5 / 54)), (64, (5 / 18)), (123, (5 / 9))]
theorem singlePair347 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node347 node347Labels = Sparse.eval singlePairValue347 (familyPairVector B) := by have hp := single_label_three B hB node347 have hl : node347Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node347 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node347 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node347 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node347 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node347 (EqualityPatterns.family3.label 1) = PairSemantics.raw5188 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node347 PairSemantics.raw5188; decide +kernel rw [heq] exact (PairSemantics.canonical5188 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node347 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node347 (EqualityPatterns.family3.label 2) = PairSemantics.raw7641 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node347 PairSemantics.raw7641; decide +kernel rw [heq] exact (PairSemantics.canonical7641 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node347 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value383 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node347 (EqualityPatterns.family3.label 3) = PairSemantics.raw866 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node347 PairSemantics.raw866; decide +kernel rw [heq] exact (PairSemantics.canonical866 hH).trans (PairSemantics.sound383 hH) have hm4 : familyPairMoment B (groupedColumns node347 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1868 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node347 (EqualityPatterns.family3.label 4) = PairSemantics.raw675 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node347 PairSemantics.raw675; decide +kernel rw [heq] exact (PairSemantics.canonical675 hH).trans (PairSemantics.sound1868 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue347, PairSemantics.value0, PairSemantics.value46, PairSemantics.value232, PairSemantics.value383, PairSemantics.value1868, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue348 : Sparse (Fin 909) := [(0, (7 / 288)), (1, (-5 / 96)), (2, (35 / 864)), (3, (5 / 54)), (5, (5 / 216)), (6, (-5 / 864)), (25, (-5 / 18)), (26, (5 / 54)), (64, (-5 / 18)), (123, (-5 / 18))]
theorem singlePair348 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node348 node348Labels = Sparse.eval singlePairValue348 (familyPairVector B) := by have hp := single_label_three B hB node348 have hl : node348Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node348 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node348 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node348 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node348 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node348 (EqualityPatterns.family3.label 1) = PairSemantics.raw5189 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node348 PairSemantics.raw5189; decide +kernel rw [heq] exact (PairSemantics.canonical5189 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node348 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node348 (EqualityPatterns.family3.label 2) = PairSemantics.raw7640 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node348 PairSemantics.raw7640; decide +kernel rw [heq] exact (PairSemantics.canonical7640 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node348 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node348 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node348 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node348 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value536 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node348 (EqualityPatterns.family3.label 4) = PairSemantics.raw676 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node348 PairSemantics.raw676; decide +kernel rw [heq] exact (PairSemantics.canonical676 hH).trans (PairSemantics.sound536 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue348, PairSemantics.value0, PairSemantics.value46, PairSemantics.value118, PairSemantics.value536, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue349 : Sparse (Fin 909) := [(0, (5 / 288)), (1, (5 / 216)), (2, (5 / 432)), (5, (5 / 216)), (6, (-5 / 864)), (31, (-5 / 18)), (33, (-5 / 18)), (51, (-5 / 18)), (123, (-5 / 18))]
theorem singlePair349 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node349 node349Labels = Sparse.eval singlePairValue349 (familyPairVector B) := by have hp := single_label_three B hB node349 have hl : node349Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node349 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node349 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node349 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node349 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node349 (EqualityPatterns.family3.label 1) = PairSemantics.raw5190 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node349 PairSemantics.raw5190; decide +kernel rw [heq] exact (PairSemantics.canonical5190 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node349 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node349 (EqualityPatterns.family3.label 2) = PairSemantics.raw7638 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node349 PairSemantics.raw7638; decide +kernel rw [heq] exact (PairSemantics.canonical7638 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node349 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node349 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node349 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node349 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value539 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node349 (EqualityPatterns.family3.label 4) = PairSemantics.raw677 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node349 PairSemantics.raw677; decide +kernel rw [heq] exact (PairSemantics.canonical677 hH).trans (PairSemantics.sound539 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue349, PairSemantics.value0, PairSemantics.value46, PairSemantics.value118, PairSemantics.value232, PairSemantics.value539, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue350 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (-5 / 144)), (6, (5 / 432)), (123, (5 / 9))]
theorem singlePair350 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node350 node350Labels = Sparse.eval singlePairValue350 (familyPairVector B) := by have hp := single_label_three B hB node350 have hl : node350Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node350 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node350 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node350 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node350 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node350 (EqualityPatterns.family3.label 1) = PairSemantics.raw5192 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node350 PairSemantics.raw5192; decide +kernel rw [heq] exact (PairSemantics.canonical5192 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node350 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node350 (EqualityPatterns.family3.label 2) = PairSemantics.raw7639 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node350 PairSemantics.raw7639; decide +kernel rw [heq] exact (PairSemantics.canonical7639 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node350 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value24 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node350 (EqualityPatterns.family3.label 3) = PairSemantics.raw869 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node350 PairSemantics.raw869; decide +kernel rw [heq] exact (PairSemantics.canonical869 hH).trans (PairSemantics.sound24 hH) have hm4 : familyPairMoment B (groupedColumns node350 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value159 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node350 (EqualityPatterns.family3.label 4) = PairSemantics.raw678 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node350 PairSemantics.raw678; decide +kernel rw [heq] exact (PairSemantics.canonical678 hH).trans (PairSemantics.sound159 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue350, PairSemantics.value0, PairSemantics.value24, PairSemantics.value46, PairSemantics.value159, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue351 : Sparse (Fin 909) := [(0, (25 / 864)), (1, (5 / 144)), (2, (-25 / 144)), (3, (-5 / 6)), (4, (-5 / 18)), (5, (-5 / 72)), (6, (5 / 288)), (12, (-5 / 18)), (13, (-5 / 27)), (51, (5 / 6)), (52, (-5 / 18))]
theorem singlePair351 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node351 node351Labels = Sparse.eval singlePairValue351 (familyPairVector B) := by have hp := single_label_three B hB node351 have hl : node351Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node351 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node351 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node351 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node351 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node351 (EqualityPatterns.family3.label 1) = PairSemantics.raw5195 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node351 PairSemantics.raw5195; decide +kernel rw [heq] exact (PairSemantics.canonical5195 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node351 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node351 (EqualityPatterns.family3.label 2) = PairSemantics.raw7635 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node351 PairSemantics.raw7635; decide +kernel rw [heq] exact (PairSemantics.canonical7635 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node351 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value383 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node351 (EqualityPatterns.family3.label 3) = PairSemantics.raw866 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node351 PairSemantics.raw866; decide +kernel rw [heq] exact (PairSemantics.canonical866 hH).trans (PairSemantics.sound383 hH) have hm4 : familyPairMoment B (groupedColumns node351 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1890 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node351 (EqualityPatterns.family3.label 4) = PairSemantics.raw679 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node351 PairSemantics.raw679; decide +kernel rw [heq] exact (PairSemantics.canonical679 hH).trans (PairSemantics.sound1890 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue351, PairSemantics.value0, PairSemantics.value11, PairSemantics.value232, PairSemantics.value383, PairSemantics.value1890, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue352 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (5 / 432)), (2, (25 / 864)), (3, (5 / 27)), (4, (5 / 54)), (5, (5 / 216)), (6, (-5 / 864)), (51, (-5 / 18)), (52, (5 / 54))]
theorem singlePair352 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node352 node352Labels = Sparse.eval singlePairValue352 (familyPairVector B) := by have hp := single_label_three B hB node352 have hl : node352Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node352 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node352 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node352 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node352 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node352 (EqualityPatterns.family3.label 1) = PairSemantics.raw5196 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node352 PairSemantics.raw5196; decide +kernel rw [heq] exact (PairSemantics.canonical5196 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node352 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node352 (EqualityPatterns.family3.label 2) = PairSemantics.raw7634 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node352 PairSemantics.raw7634; decide +kernel rw [heq] exact (PairSemantics.canonical7634 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node352 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node352 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node352 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node352 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value569 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node352 (EqualityPatterns.family3.label 4) = PairSemantics.raw680 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node352 PairSemantics.raw680; decide +kernel rw [heq] exact (PairSemantics.canonical680 hH).trans (PairSemantics.sound569 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue352, PairSemantics.value0, PairSemantics.value11, PairSemantics.value118, PairSemantics.value232, PairSemantics.value569, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue353 : Sparse (Fin 909) := [(0, (1 / 32)), (1, (-25 / 432)), (2, (5 / 108)), (3, (5 / 27)), (5, (5 / 216)), (6, (-5 / 864)), (12, (5 / 54)), (13, (5 / 54)), (51, (-5 / 18)), (52, (5 / 54))]
theorem singlePair353 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node353 node353Labels = Sparse.eval singlePairValue353 (familyPairVector B) := by have hp := single_label_three B hB node353 have hl : node353Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node353 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node353 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node353 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node353 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node353 (EqualityPatterns.family3.label 1) = PairSemantics.raw5198 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node353 PairSemantics.raw5198; decide +kernel rw [heq] exact (PairSemantics.canonical5198 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node353 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node353 (EqualityPatterns.family3.label 2) = PairSemantics.raw7631 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node353 PairSemantics.raw7631; decide +kernel rw [heq] exact (PairSemantics.canonical7631 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node353 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node353 (EqualityPatterns.family3.label 3) = PairSemantics.raw867 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node353 PairSemantics.raw867; decide +kernel rw [heq] exact (PairSemantics.canonical867 hH).trans (PairSemantics.sound118 hH) have hm4 : familyPairMoment B (groupedColumns node353 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value572 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node353 (EqualityPatterns.family3.label 4) = PairSemantics.raw681 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node353 PairSemantics.raw681; decide +kernel rw [heq] exact (PairSemantics.canonical681 hH).trans (PairSemantics.sound572 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue353, PairSemantics.value0, PairSemantics.value11, PairSemantics.value46, PairSemantics.value118, PairSemantics.value572, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue354 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (-5 / 144)), (5, (-5 / 108)), (64, (5 / 9))]
theorem singlePair354 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node354 node354Labels = Sparse.eval singlePairValue354 (familyPairVector B) := by have hp := single_label_three B hB node354 have hl : node354Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node354 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node354 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node354 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node354 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node354 (EqualityPatterns.family3.label 1) = PairSemantics.raw5192 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node354 PairSemantics.raw5192; decide +kernel rw [heq] exact (PairSemantics.canonical5192 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node354 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node354 (EqualityPatterns.family3.label 2) = PairSemantics.raw7643 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node354 PairSemantics.raw7643; decide +kernel rw [heq] exact (PairSemantics.canonical7643 hH).trans (PairSemantics.sound10 hH) have hm3 : familyPairMoment B (groupedColumns node354 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node354 (EqualityPatterns.family3.label 3) = PairSemantics.raw872 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node354 PairSemantics.raw872; decide +kernel rw [heq] exact (PairSemantics.canonical872 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node354 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value103 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node354 (EqualityPatterns.family3.label 4) = PairSemantics.raw682 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node354 PairSemantics.raw682; decide +kernel rw [heq] exact (PairSemantics.canonical682 hH).trans (PairSemantics.sound103 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue354, PairSemantics.value0, PairSemantics.value10, PairSemantics.value25, PairSemantics.value46, PairSemantics.value103, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue355 : Sparse (Fin 909) := [(0, (7 / 216)), (1, (-5 / 144)), (2, (5 / 144)), (5, (-5 / 108)), (51, (5 / 9))]
theorem singlePair355 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node355 node355Labels = Sparse.eval singlePairValue355 (familyPairVector B) := by have hp := single_label_three B hB node355 have hl : node355Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node355 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node355 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node355 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node355 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node355 (EqualityPatterns.family3.label 1) = PairSemantics.raw5197 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node355 PairSemantics.raw5197; decide +kernel rw [heq] exact (PairSemantics.canonical5197 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node355 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node355 (EqualityPatterns.family3.label 2) = PairSemantics.raw7639 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node355 PairSemantics.raw7639; decide +kernel rw [heq] exact (PairSemantics.canonical7639 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node355 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value25 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node355 (EqualityPatterns.family3.label 3) = PairSemantics.raw872 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node355 PairSemantics.raw872; decide +kernel rw [heq] exact (PairSemantics.canonical872 hH).trans (PairSemantics.sound25 hH) have hm4 : familyPairMoment B (groupedColumns node355 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value184 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node355 (EqualityPatterns.family3.label 4) = PairSemantics.raw683 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node355 PairSemantics.raw683; decide +kernel rw [heq] exact (PairSemantics.canonical683 hH).trans (PairSemantics.sound184 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue355, PairSemantics.value0, PairSemantics.value11, PairSemantics.value25, PairSemantics.value46, PairSemantics.value184, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue356 : Sparse (Fin 909) := [(0, (19 / 864)), (1, (-25 / 864)), (2, (25 / 432)), (3, (-5 / 27)), (5, (-5 / 54)), (12, (-5 / 54)), (13, (-5 / 54)), (23, (5 / 9)), (25, (5 / 18)), (26, (-5 / 54)), (27, (5 / 36)), (33, (5 / 18)), (35, (-5 / 54)), (54, (5 / 9)), (55, (5 / 9)), (63, (5 / 9)), (64, (5 / 18)), (65, (5 / 9)), (68, (5 / 18)), (125, (5 / 18)), (196, (5 / 18)), (264, (5 / 18)), (266, (5 / 18))]
theorem singlePair356 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node356 node356Labels = Sparse.eval singlePairValue356 (familyPairVector B) := by have hp := single_label_three B hB node356 have hl : node356Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node356 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node356 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node356 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node356 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value715 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node356 (EqualityPatterns.family3.label 1) = PairSemantics.raw5103 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node356 PairSemantics.raw5103; decide +kernel rw [heq] exact (PairSemantics.canonical5103 hH).trans (PairSemantics.sound715 hH) have hm2 : familyPairMoment B (groupedColumns node356 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node356 (EqualityPatterns.family3.label 2) = PairSemantics.raw7759 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node356 PairSemantics.raw7759; decide +kernel rw [heq] exact (PairSemantics.canonical7759 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node356 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node356 (EqualityPatterns.family3.label 3) = PairSemantics.raw879 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node356 PairSemantics.raw879; decide +kernel rw [heq] exact (PairSemantics.canonical879 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node356 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1415 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node356 (EqualityPatterns.family3.label 4) = PairSemantics.raw689 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node356 PairSemantics.raw689; decide +kernel rw [heq] exact (PairSemantics.canonical689 hH).trans (PairSemantics.sound1415 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue356, PairSemantics.value0, PairSemantics.value10, PairSemantics.value46, PairSemantics.value715, PairSemantics.value1415, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue357 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (5 / 96)), (2, (-25 / 864)), (3, (-20 / 27)), (5, (5 / 216)), (7, (-5 / 54)), (12, (-5 / 18)), (13, (-5 / 9)), (23, (5 / 18)), (26, (-10 / 27)), (27, (-5 / 72)), (34, (-5 / 27)), (35, (-5 / 18)), (55, (5 / 9)), (63, (5 / 18)), (65, (5 / 18)), (67, (-5 / 54))]
theorem singlePair357 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node357 node357Labels = Sparse.eval singlePairValue357 (familyPairVector B) := by have hp := single_label_three B hB node357 have hl : node357Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node357 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node357 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node357 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node357 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node357 (EqualityPatterns.family3.label 1) = PairSemantics.raw5108 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node357 PairSemantics.raw5108; decide +kernel rw [heq] exact (PairSemantics.canonical5108 hH).trans (PairSemantics.sound231 hH) have hm2 : familyPairMoment B (groupedColumns node357 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node357 (EqualityPatterns.family3.label 2) = PairSemantics.raw7752 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node357 PairSemantics.raw7752; decide +kernel rw [heq] exact (PairSemantics.canonical7752 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node357 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node357 (EqualityPatterns.family3.label 3) = PairSemantics.raw879 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node357 PairSemantics.raw879; decide +kernel rw [heq] exact (PairSemantics.canonical879 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node357 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1417 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node357 (EqualityPatterns.family3.label 4) = PairSemantics.raw691 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node357 PairSemantics.raw691; decide +kernel rw [heq] exact (PairSemantics.canonical691 hH).trans (PairSemantics.sound1417 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue357, PairSemantics.value0, PairSemantics.value10, PairSemantics.value231, PairSemantics.value232, PairSemantics.value1417, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue358 : Sparse (Fin 909) := [(0, (31 / 864)), (1, (-35 / 432)), (2, (5 / 864)), (3, (-5 / 9)), (5, (-5 / 72)), (12, (-5 / 27)), (13, (-5 / 18)), (25, (5 / 18)), (26, (-5 / 54)), (27, (5 / 24)), (33, (5 / 6)), (35, (-5 / 54)), (55, (5 / 9)), (63, (5 / 18)), (64, (5 / 9))]
theorem singlePair358 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node358 node358Labels = Sparse.eval singlePairValue358 (familyPairVector B) := by have hp := single_label_three B hB node358 have hl : node358Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node358 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node358 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node358 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node358 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value716 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node358 (EqualityPatterns.family3.label 1) = PairSemantics.raw5109 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node358 PairSemantics.raw5109; decide +kernel rw [heq] exact (PairSemantics.canonical5109 hH).trans (PairSemantics.sound716 hH) have hm2 : familyPairMoment B (groupedColumns node358 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node358 (EqualityPatterns.family3.label 2) = PairSemantics.raw7750 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node358 PairSemantics.raw7750; decide +kernel rw [heq] exact (PairSemantics.canonical7750 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node358 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node358 (EqualityPatterns.family3.label 3) = PairSemantics.raw879 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node358 PairSemantics.raw879; decide +kernel rw [heq] exact (PairSemantics.canonical879 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node358 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1418 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node358 (EqualityPatterns.family3.label 4) = PairSemantics.raw692 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node358 PairSemantics.raw692; decide +kernel rw [heq] exact (PairSemantics.canonical692 hH).trans (PairSemantics.sound1418 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue358, PairSemantics.value0, PairSemantics.value10, PairSemantics.value232, PairSemantics.value716, PairSemantics.value1418, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue359 : Sparse (Fin 909) := [(0, (1 / 48)), (1, (145 / 864)), (2, (-25 / 864)), (3, (-25 / 27)), (4, (-10 / 27)), (5, (5 / 216)), (7, (-5 / 54)), (12, (-5 / 54)), (13, (-5 / 54)), (24, (5 / 18)), (26, (-5 / 9)), (27, (-5 / 72)), (33, (5 / 18)), (34, (-5 / 27)), (35, (-5 / 27)), (55, (5 / 6)), (64, (5 / 18)), (66, (5 / 18)), (67, (-5 / 54))]
theorem singlePair359 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node359 node359Labels = Sparse.eval singlePairValue359 (familyPairVector B) := by have hp := single_label_three B hB node359 have hl : node359Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node359 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node359 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node359 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node359 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node359 (EqualityPatterns.family3.label 1) = PairSemantics.raw5107 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node359 PairSemantics.raw5107; decide +kernel rw [heq] exact (PairSemantics.canonical5107 hH).trans (PairSemantics.sound231 hH) have hm2 : familyPairMoment B (groupedColumns node359 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node359 (EqualityPatterns.family3.label 2) = PairSemantics.raw7756 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node359 PairSemantics.raw7756; decide +kernel rw [heq] exact (PairSemantics.canonical7756 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node359 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node359 (EqualityPatterns.family3.label 3) = PairSemantics.raw883 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node359 PairSemantics.raw883; decide +kernel rw [heq] exact (PairSemantics.canonical883 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node359 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1419 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node359 (EqualityPatterns.family3.label 4) = PairSemantics.raw694 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node359 PairSemantics.raw694; decide +kernel rw [heq] exact (PairSemantics.canonical694 hH).trans (PairSemantics.sound1419 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue359, PairSemantics.value0, PairSemantics.value26, PairSemantics.value231, PairSemantics.value232, PairSemantics.value1419, Sparse.eval] at hp ⊢ linarith only [hp]
end MUB6.Certificate.MixedSemantics
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929import OAI.Analysis.MutuallyUnbiased.MixedSemantics.GroupedColumnsimport OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes5import OAI.Analysis.MutuallyUnbiased.MixedSemantics.SingleRulesimport OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical159import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical160import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical21import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical22import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical241import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical242import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical249import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical27import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound0import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound10import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound11import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound17import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound20import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound22import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound3import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound33import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound41import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound43import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound5
namespace OAI
namespace MUB6.Certificate.MixedSemantics
open scoped BigOperators
def singlePairValue360 : Sparse (Fin 909) := [(0, (17 / 432)), (1, (25 / 288)), (2, (35 / 288)), (3, (-10 / 9)), (4, (-5 / 9)), (5, (-5 / 72)), (12, (-5 / 18)), (13, (-5 / 27)), (26, (-5 / 9)), (27, (5 / 24)), (35, (-5 / 18)), (55, (5 / 6))]
theorem singlePair360 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node360 node360Labels = Sparse.eval singlePairValue360 (familyPairVector B) := by have hp := single_label_three B hB node360 have hl : node360Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node360 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node360 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node360 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node360 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value716 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node360 (EqualityPatterns.family3.label 1) = PairSemantics.raw5109 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node360 PairSemantics.raw5109; decide +kernel rw [heq] exact (PairSemantics.canonical5109 hH).trans (PairSemantics.sound716 hH) have hm2 : familyPairMoment B (groupedColumns node360 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node360 (EqualityPatterns.family3.label 2) = PairSemantics.raw7755 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node360 PairSemantics.raw7755; decide +kernel rw [heq] exact (PairSemantics.canonical7755 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node360 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node360 (EqualityPatterns.family3.label 3) = PairSemantics.raw883 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node360 PairSemantics.raw883; decide +kernel rw [heq] exact (PairSemantics.canonical883 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node360 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2141 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node360 (EqualityPatterns.family3.label 4) = PairSemantics.raw696 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node360 PairSemantics.raw696; decide +kernel rw [heq] exact (PairSemantics.canonical696 hH).trans (PairSemantics.sound2141 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue360, PairSemantics.value0, PairSemantics.value11, PairSemantics.value26, PairSemantics.value716, PairSemantics.value2141, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue361 : Sparse (Fin 909) := [(0, (31 / 864)), (1, (-25 / 288)), (2, (-5 / 72)), (3, (5 / 27)), (5, (5 / 216)), (12, (5 / 54)), (13, (5 / 54)), (26, (5 / 54)), (27, (-5 / 72)), (35, (5 / 54)), (55, (-5 / 18))]
theorem singlePair361 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node361 node361Labels = Sparse.eval singlePairValue361 (familyPairVector B) := by have hp := single_label_three B hB node361 have hl : node361Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node361 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node361 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node361 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node361 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node361 (EqualityPatterns.family3.label 1) = PairSemantics.raw5110 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node361 PairSemantics.raw5110; decide +kernel rw [heq] exact (PairSemantics.canonical5110 hH).trans (PairSemantics.sound231 hH) have hm2 : familyPairMoment B (groupedColumns node361 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node361 (EqualityPatterns.family3.label 2) = PairSemantics.raw7754 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node361 PairSemantics.raw7754; decide +kernel rw [heq] exact (PairSemantics.canonical7754 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node361 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node361 (EqualityPatterns.family3.label 3) = PairSemantics.raw884 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node361 PairSemantics.raw884; decide +kernel rw [heq] exact (PairSemantics.canonical884 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node361 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value669 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node361 (EqualityPatterns.family3.label 4) = PairSemantics.raw697 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node361 PairSemantics.raw697; decide +kernel rw [heq] exact (PairSemantics.canonical697 hH).trans (PairSemantics.sound669 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue361, PairSemantics.value0, PairSemantics.value10, PairSemantics.value11, PairSemantics.value231, PairSemantics.value669, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue362 : Sparse (Fin 909) := [(0, (17 / 864)), (1, (5 / 144)), (2, (-5 / 96)), (3, (5 / 54)), (5, (5 / 216)), (27, (-5 / 72)), (33, (-5 / 18)), (55, (-5 / 18)), (64, (-5 / 18))]
theorem singlePair362 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node362 node362Labels = Sparse.eval singlePairValue362 (familyPairVector B) := by have hp := single_label_three B hB node362 have hl : node362Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node362 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node362 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node362 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node362 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node362 (EqualityPatterns.family3.label 1) = PairSemantics.raw5111 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node362 PairSemantics.raw5111; decide +kernel rw [heq] exact (PairSemantics.canonical5111 hH).trans (PairSemantics.sound231 hH) have hm2 : familyPairMoment B (groupedColumns node362 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node362 (EqualityPatterns.family3.label 2) = PairSemantics.raw7751 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node362 PairSemantics.raw7751; decide +kernel rw [heq] exact (PairSemantics.canonical7751 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node362 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node362 (EqualityPatterns.family3.label 3) = PairSemantics.raw884 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node362 PairSemantics.raw884; decide +kernel rw [heq] exact (PairSemantics.canonical884 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node362 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value356 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node362 (EqualityPatterns.family3.label 4) = PairSemantics.raw698 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node362 PairSemantics.raw698; decide +kernel rw [heq] exact (PairSemantics.canonical698 hH).trans (PairSemantics.sound356 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue362, PairSemantics.value0, PairSemantics.value10, PairSemantics.value231, PairSemantics.value232, PairSemantics.value356, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue363 : Sparse (Fin 909) := [(0, (25 / 864)), (1, (5 / 144)), (2, (-5 / 864)), (3, (-35 / 54)), (4, (-5 / 27)), (5, (5 / 216)), (7, (-5 / 54)), (12, (-5 / 54)), (13, (-5 / 54)), (23, (5 / 18)), (25, (5 / 9)), (26, (-10 / 27)), (27, (-5 / 72)), (33, (5 / 9)), (34, (-5 / 27)), (35, (-5 / 54)), (55, (5 / 18)), (63, (5 / 9)), (64, (5 / 9)), (65, (5 / 18)), (67, (-5 / 54))]
theorem singlePair363 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node363 node363Labels = Sparse.eval singlePairValue363 (familyPairVector B) := by have hp := single_label_three B hB node363 have hl : node363Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node363 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node363 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node363 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node363 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node363 (EqualityPatterns.family3.label 1) = PairSemantics.raw5113 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node363 PairSemantics.raw5113; decide +kernel rw [heq] exact (PairSemantics.canonical5113 hH).trans (PairSemantics.sound231 hH) have hm2 : familyPairMoment B (groupedColumns node363 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node363 (EqualityPatterns.family3.label 2) = PairSemantics.raw7748 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node363 PairSemantics.raw7748; decide +kernel rw [heq] exact (PairSemantics.canonical7748 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node363 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node363 (EqualityPatterns.family3.label 3) = PairSemantics.raw883 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node363 PairSemantics.raw883; decide +kernel rw [heq] exact (PairSemantics.canonical883 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node363 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1420 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node363 (EqualityPatterns.family3.label 4) = PairSemantics.raw700 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node363 PairSemantics.raw700; decide +kernel rw [heq] exact (PairSemantics.canonical700 hH).trans (PairSemantics.sound1420 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue363, PairSemantics.value0, PairSemantics.value26, PairSemantics.value46, PairSemantics.value231, PairSemantics.value1420, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue364 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (-25 / 432)), (2, (-5 / 216)), (23, (-5 / 18)), (27, (5 / 36)), (55, (-5 / 18)), (63, (-5 / 18)), (65, (-5 / 18))]
theorem singlePair364 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node364 node364Labels = Sparse.eval singlePairValue364 (familyPairVector B) := by have hp := single_label_three B hB node364 have hl : node364Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node364 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node364 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node364 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node364 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value45 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node364 (EqualityPatterns.family3.label 1) = PairSemantics.raw5114 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node364 PairSemantics.raw5114; decide +kernel rw [heq] exact (PairSemantics.canonical5114 hH).trans (PairSemantics.sound45 hH) have hm2 : familyPairMoment B (groupedColumns node364 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node364 (EqualityPatterns.family3.label 2) = PairSemantics.raw7747 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node364 PairSemantics.raw7747; decide +kernel rw [heq] exact (PairSemantics.canonical7747 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node364 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node364 (EqualityPatterns.family3.label 3) = PairSemantics.raw884 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node364 PairSemantics.raw884; decide +kernel rw [heq] exact (PairSemantics.canonical884 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node364 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value357 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node364 (EqualityPatterns.family3.label 4) = PairSemantics.raw701 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node364 PairSemantics.raw701; decide +kernel rw [heq] exact (PairSemantics.canonical701 hH).trans (PairSemantics.sound357 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue364, PairSemantics.value0, PairSemantics.value10, PairSemantics.value45, PairSemantics.value46, PairSemantics.value357, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue365 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (-5 / 108)), (2, (-5 / 108)), (5, (5 / 216)), (25, (-5 / 18)), (27, (-5 / 72)), (33, (-5 / 18)), (63, (-5 / 18)), (64, (-5 / 18))]
theorem singlePair365 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node365 node365Labels = Sparse.eval singlePairValue365 (familyPairVector B) := by have hp := single_label_three B hB node365 have hl : node365Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node365 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node365 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node365 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node365 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node365 (EqualityPatterns.family3.label 1) = PairSemantics.raw5115 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node365 PairSemantics.raw5115; decide +kernel rw [heq] exact (PairSemantics.canonical5115 hH).trans (PairSemantics.sound231 hH) have hm2 : familyPairMoment B (groupedColumns node365 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node365 (EqualityPatterns.family3.label 2) = PairSemantics.raw7745 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node365 PairSemantics.raw7745; decide +kernel rw [heq] exact (PairSemantics.canonical7745 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node365 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node365 (EqualityPatterns.family3.label 3) = PairSemantics.raw884 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node365 PairSemantics.raw884; decide +kernel rw [heq] exact (PairSemantics.canonical884 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node365 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value358 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node365 (EqualityPatterns.family3.label 4) = PairSemantics.raw702 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node365 PairSemantics.raw702; decide +kernel rw [heq] exact (PairSemantics.canonical702 hH).trans (PairSemantics.sound358 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue365, PairSemantics.value0, PairSemantics.value10, PairSemantics.value46, PairSemantics.value231, PairSemantics.value358, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue366 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (-5 / 216)), (2, (65 / 432)), (27, (5 / 36)), (63, (5 / 9))]
theorem singlePair366 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node366 node366Labels = Sparse.eval singlePairValue366 (familyPairVector B) := by have hp := single_label_three B hB node366 have hl : node366Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node366 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node366 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node366 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node366 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value45 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node366 (EqualityPatterns.family3.label 1) = PairSemantics.raw5116 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node366 PairSemantics.raw5116; decide +kernel rw [heq] exact (PairSemantics.canonical5116 hH).trans (PairSemantics.sound45 hH) have hm2 : familyPairMoment B (groupedColumns node366 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node366 (EqualityPatterns.family3.label 2) = PairSemantics.raw7746 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node366 PairSemantics.raw7746; decide +kernel rw [heq] exact (PairSemantics.canonical7746 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node366 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value3 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node366 (EqualityPatterns.family3.label 3) = PairSemantics.raw887 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node366 PairSemantics.raw887; decide +kernel rw [heq] exact (PairSemantics.canonical887 hH).trans (PairSemantics.sound3 hH) have hm4 : familyPairMoment B (groupedColumns node366 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value101 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node366 (EqualityPatterns.family3.label 4) = PairSemantics.raw704 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node366 PairSemantics.raw704; decide +kernel rw [heq] exact (PairSemantics.canonical704 hH).trans (PairSemantics.sound101 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue366, PairSemantics.value0, PairSemantics.value3, PairSemantics.value45, PairSemantics.value46, PairSemantics.value101, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue367 : Sparse (Fin 909) := [(0, (7 / 432)), (1, (5 / 72)), (2, (5 / 432)), (24, (-5 / 18)), (27, (5 / 36)), (55, (-5 / 9)), (66, (-5 / 18))]
theorem singlePair367 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node367 node367Labels = Sparse.eval singlePairValue367 (familyPairVector B) := by have hp := single_label_three B hB node367 have hl : node367Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node367 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node367 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node367 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node367 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value45 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node367 (EqualityPatterns.family3.label 1) = PairSemantics.raw5106 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node367 PairSemantics.raw5106; decide +kernel rw [heq] exact (PairSemantics.canonical5106 hH).trans (PairSemantics.sound45 hH) have hm2 : familyPairMoment B (groupedColumns node367 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node367 (EqualityPatterns.family3.label 2) = PairSemantics.raw7760 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node367 PairSemantics.raw7760; decide +kernel rw [heq] exact (PairSemantics.canonical7760 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node367 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node367 (EqualityPatterns.family3.label 3) = PairSemantics.raw893 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node367 PairSemantics.raw893; decide +kernel rw [heq] exact (PairSemantics.canonical893 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node367 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value361 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node367 (EqualityPatterns.family3.label 4) = PairSemantics.raw707 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node367 PairSemantics.raw707; decide +kernel rw [heq] exact (PairSemantics.canonical707 hH).trans (PairSemantics.sound361 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue367, PairSemantics.value0, PairSemantics.value26, PairSemantics.value45, PairSemantics.value232, PairSemantics.value361, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue368 : Sparse (Fin 909) := [(0, (29 / 864)), (1, (-5 / 864)), (3, (5 / 18)), (4, (5 / 27)), (5, (5 / 216)), (26, (5 / 27)), (27, (-5 / 72)), (35, (5 / 54)), (55, (-5 / 18))]
theorem singlePair368 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node368 node368Labels = Sparse.eval singlePairValue368 (familyPairVector B) := by have hp := single_label_three B hB node368 have hl : node368Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node368 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node368 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node368 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node368 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node368 (EqualityPatterns.family3.label 1) = PairSemantics.raw5110 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node368 PairSemantics.raw5110; decide +kernel rw [heq] exact (PairSemantics.canonical5110 hH).trans (PairSemantics.sound231 hH) have hm2 : familyPairMoment B (groupedColumns node368 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node368 (EqualityPatterns.family3.label 2) = PairSemantics.raw7758 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node368 PairSemantics.raw7758; decide +kernel rw [heq] exact (PairSemantics.canonical7758 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node368 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node368 (EqualityPatterns.family3.label 3) = PairSemantics.raw893 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node368 PairSemantics.raw893; decide +kernel rw [heq] exact (PairSemantics.canonical893 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node368 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value666 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node368 (EqualityPatterns.family3.label 4) = PairSemantics.raw710 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node368 PairSemantics.raw710; decide +kernel rw [heq] exact (PairSemantics.canonical710 hH).trans (PairSemantics.sound666 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue368, PairSemantics.value0, PairSemantics.value11, PairSemantics.value26, PairSemantics.value231, PairSemantics.value666, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue369 : Sparse (Fin 909) := [(0, (5 / 144)), (1, (-5 / 72)), (2, (-5 / 144)), (27, (5 / 36)), (55, (5 / 9))]
theorem singlePair369 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node369 node369Labels = Sparse.eval singlePairValue369 (familyPairVector B) := by have hp := single_label_three B hB node369 have hl : node369Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node369 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node369 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node369 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node369 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value45 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node369 (EqualityPatterns.family3.label 1) = PairSemantics.raw5116 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node369 PairSemantics.raw5116; decide +kernel rw [heq] exact (PairSemantics.canonical5116 hH).trans (PairSemantics.sound45 hH) have hm2 : familyPairMoment B (groupedColumns node369 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node369 (EqualityPatterns.family3.label 2) = PairSemantics.raw7753 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node369 PairSemantics.raw7753; decide +kernel rw [heq] exact (PairSemantics.canonical7753 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node369 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node369 (EqualityPatterns.family3.label 3) = PairSemantics.raw895 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node369 PairSemantics.raw895; decide +kernel rw [heq] exact (PairSemantics.canonical895 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node369 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value212 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node369 (EqualityPatterns.family3.label 4) = PairSemantics.raw713 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node369 PairSemantics.raw713; decide +kernel rw [heq] exact (PairSemantics.canonical713 hH).trans (PairSemantics.sound212 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue369, PairSemantics.value0, PairSemantics.value10, PairSemantics.value11, PairSemantics.value45, PairSemantics.value212, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue370 : Sparse (Fin 909) := [(0, (25 / 432)), (1, (-25 / 432)), (2, (-5 / 108)), (3, (-10 / 27)), (5, (-5 / 216)), (12, (-5 / 54)), (13, (-5 / 54)), (26, (-5 / 27)), (27, (5 / 72)), (35, (-5 / 54)), (55, (5 / 18))]
theorem singlePair370 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node370 node370Labels = Sparse.eval singlePairValue370 (familyPairVector B) := by have hp := single_label_three B hB node370 have hl : node370Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node370 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node370 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node370 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node370 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value717 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node370 (EqualityPatterns.family3.label 1) = PairSemantics.raw5120 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node370 PairSemantics.raw5120; decide +kernel rw [heq] exact (PairSemantics.canonical5120 hH).trans (PairSemantics.sound717 hH) have hm2 : familyPairMoment B (groupedColumns node370 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node370 (EqualityPatterns.family3.label 2) = PairSemantics.raw7741 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node370 PairSemantics.raw7741; decide +kernel rw [heq] exact (PairSemantics.canonical7741 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node370 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node370 (EqualityPatterns.family3.label 3) = PairSemantics.raw879 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node370 PairSemantics.raw879; decide +kernel rw [heq] exact (PairSemantics.canonical879 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node370 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2793 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node370 (EqualityPatterns.family3.label 4) = PairSemantics.raw720 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node370 PairSemantics.raw720; decide +kernel rw [heq] exact (PairSemantics.canonical720 hH).trans (PairSemantics.sound2793 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue370, PairSemantics.value0, PairSemantics.value10, PairSemantics.value65, PairSemantics.value717, PairSemantics.value2793, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue371 : Sparse (Fin 909) := [(0, (35 / 864)), (1, (205 / 864)), (2, (5 / 108)), (3, (-35 / 54)), (4, (-10 / 27)), (5, (-5 / 216)), (26, (-10 / 27)), (27, (5 / 72)), (35, (-5 / 54)), (55, (5 / 18))]
theorem singlePair371 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node371 node371Labels = Sparse.eval singlePairValue371 (familyPairVector B) := by have hp := single_label_three B hB node371 have hl : node371Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node371 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node371 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node371 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node371 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value717 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node371 (EqualityPatterns.family3.label 1) = PairSemantics.raw5120 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node371 PairSemantics.raw5120; decide +kernel rw [heq] exact (PairSemantics.canonical5120 hH).trans (PairSemantics.sound717 hH) have hm2 : familyPairMoment B (groupedColumns node371 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node371 (EqualityPatterns.family3.label 2) = PairSemantics.raw7743 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node371 PairSemantics.raw7743; decide +kernel rw [heq] exact (PairSemantics.canonical7743 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node371 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node371 (EqualityPatterns.family3.label 3) = PairSemantics.raw883 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node371 PairSemantics.raw883; decide +kernel rw [heq] exact (PairSemantics.canonical883 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node371 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2671 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node371 (EqualityPatterns.family3.label 4) = PairSemantics.raw721 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node371 PairSemantics.raw721; decide +kernel rw [heq] exact (PairSemantics.canonical721 hH).trans (PairSemantics.sound2671 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue371, PairSemantics.value0, PairSemantics.value26, PairSemantics.value65, PairSemantics.value717, PairSemantics.value2671, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue372 : Sparse (Fin 909) := [(0, (19 / 432)), (1, (-5 / 216)), (2, (-25 / 432)), (3, (5 / 54)), (27, (-5 / 72)), (55, (-5 / 18))]
theorem singlePair372 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node372 node372Labels = Sparse.eval singlePairValue372 (familyPairVector B) := by have hp := single_label_three B hB node372 have hl : node372Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node372 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node372 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node372 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node372 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node372 (EqualityPatterns.family3.label 1) = PairSemantics.raw5122 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node372 PairSemantics.raw5122; decide +kernel rw [heq] exact (PairSemantics.canonical5122 hH).trans (PairSemantics.sound231 hH) have hm2 : familyPairMoment B (groupedColumns node372 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node372 (EqualityPatterns.family3.label 2) = PairSemantics.raw7740 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node372 PairSemantics.raw7740; decide +kernel rw [heq] exact (PairSemantics.canonical7740 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node372 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node372 (EqualityPatterns.family3.label 3) = PairSemantics.raw884 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node372 PairSemantics.raw884; decide +kernel rw [heq] exact (PairSemantics.canonical884 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node372 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1143 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node372 (EqualityPatterns.family3.label 4) = PairSemantics.raw722 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node372 PairSemantics.raw722; decide +kernel rw [heq] exact (PairSemantics.canonical722 hH).trans (PairSemantics.sound1143 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue372, PairSemantics.value0, PairSemantics.value10, PairSemantics.value65, PairSemantics.value231, PairSemantics.value1143, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue373 : Sparse (Fin 909) := [(0, (11 / 864)), (1, (5 / 96)), (2, (-5 / 108)), (3, (-5 / 18)), (12, (-5 / 27)), (13, (-25 / 54)), (26, (-5 / 27)), (34, (-5 / 27))]
theorem singlePair373 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node373 node373Labels = Sparse.eval singlePairValue373 (familyPairVector B) := by have hp := single_label_three B hB node373 have hl : node373Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node373 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node373 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node373 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node373 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node373 (EqualityPatterns.family3.label 1) = PairSemantics.raw5140 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node373 PairSemantics.raw5140; decide +kernel rw [heq] exact (PairSemantics.canonical5140 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node373 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node373 (EqualityPatterns.family3.label 2) = PairSemantics.raw7726 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node373 PairSemantics.raw7726; decide +kernel rw [heq] exact (PairSemantics.canonical7726 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node373 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node373 (EqualityPatterns.family3.label 3) = PairSemantics.raw879 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node373 PairSemantics.raw879; decide +kernel rw [heq] exact (PairSemantics.canonical879 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node373 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1428 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node373 (EqualityPatterns.family3.label 4) = PairSemantics.raw727 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node373 PairSemantics.raw727; decide +kernel rw [heq] exact (PairSemantics.canonical727 hH).trans (PairSemantics.sound1428 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue373, PairSemantics.value0, PairSemantics.value10, PairSemantics.value232, PairSemantics.value1428, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue374 : Sparse (Fin 909) := [(0, (1 / 108)), (1, (5 / 144)), (2, (5 / 144)), (13, (5 / 27))]
theorem singlePair374 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node374 node374Labels = Sparse.eval singlePairValue374 (familyPairVector B) := by have hp := single_label_three B hB node374 have hl : node374Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node374 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node374 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node374 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node374 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node374 (EqualityPatterns.family3.label 1) = PairSemantics.raw5139 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node374 PairSemantics.raw5139; decide +kernel rw [heq] exact (PairSemantics.canonical5139 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node374 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node374 (EqualityPatterns.family3.label 2) = PairSemantics.raw7728 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node374 PairSemantics.raw7728; decide +kernel rw [heq] exact (PairSemantics.canonical7728 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node374 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value3 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node374 (EqualityPatterns.family3.label 3) = PairSemantics.raw881 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node374 PairSemantics.raw881; decide +kernel rw [heq] exact (PairSemantics.canonical881 hH).trans (PairSemantics.sound3 hH) have hm4 : familyPairMoment B (groupedColumns node374 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value364 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node374 (EqualityPatterns.family3.label 4) = PairSemantics.raw728 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node374 PairSemantics.raw728; decide +kernel rw [heq] exact (PairSemantics.canonical728 hH).trans (PairSemantics.sound364 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue374, PairSemantics.value0, PairSemantics.value3, PairSemantics.value232, PairSemantics.value364, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue375 : Sparse (Fin 909) := [(0, (-1 / 108)), (1, (-35 / 864)), (2, (25 / 864)), (3, (-20 / 27)), (4, (-10 / 27)), (13, (-5 / 54)), (26, (-5 / 9)), (34, (-5 / 27))]
theorem singlePair375 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node375 node375Labels = Sparse.eval singlePairValue375 (familyPairVector B) := by have hp := single_label_three B hB node375 have hl : node375Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node375 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node375 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node375 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node375 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node375 (EqualityPatterns.family3.label 1) = PairSemantics.raw5134 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node375 PairSemantics.raw5134; decide +kernel rw [heq] exact (PairSemantics.canonical5134 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node375 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value1323 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node375 (EqualityPatterns.family3.label 2) = PairSemantics.raw7734 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node375 PairSemantics.raw7734; decide +kernel rw [heq] exact (PairSemantics.canonical7734 hH).trans (PairSemantics.sound1323 hH) have hm3 : familyPairMoment B (groupedColumns node375 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node375 (EqualityPatterns.family3.label 3) = PairSemantics.raw883 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node375 PairSemantics.raw883; decide +kernel rw [heq] exact (PairSemantics.canonical883 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node375 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1430 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node375 (EqualityPatterns.family3.label 4) = PairSemantics.raw730 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node375 PairSemantics.raw730; decide +kernel rw [heq] exact (PairSemantics.canonical730 hH).trans (PairSemantics.sound1430 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue375, PairSemantics.value0, PairSemantics.value26, PairSemantics.value46, PairSemantics.value1323, PairSemantics.value1430, Sparse.eval] at hp ⊢ linarith only [hp]
end MUB6.Certificate.MixedSemantics
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927import OAI.Analysis.MutuallyUnbiased.MixedSemantics.GroupedColumnsimport OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes5import OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes6import OAI.Analysis.MutuallyUnbiased.MixedSemantics.SingleRulesimport OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical160import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical161import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical22import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical23import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical241import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical242import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical249import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical27import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound0import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound11import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound13import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound22import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound3import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound38import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound4import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound5
namespace OAI
namespace MUB6.Certificate.MixedSemantics
open scoped BigOperators
def singlePairValue376 : Sparse (Fin 909) := [(0, (17 / 864)), (1, (55 / 216)), (2, (-5 / 288)), (3, (-25 / 54)), (4, (-5 / 27)), (26, (-5 / 27))]
theorem singlePair376 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node376 node376Labels = Sparse.eval singlePairValue376 (familyPairVector B) := by have hp := single_label_three B hB node376 have hl : node376Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node376 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node376 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node376 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node376 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node376 (EqualityPatterns.family3.label 1) = PairSemantics.raw5135 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node376 PairSemantics.raw5135; decide +kernel rw [heq] exact (PairSemantics.canonical5135 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node376 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node376 (EqualityPatterns.family3.label 2) = PairSemantics.raw7733 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node376 PairSemantics.raw7733; decide +kernel rw [heq] exact (PairSemantics.canonical7733 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node376 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node376 (EqualityPatterns.family3.label 3) = PairSemantics.raw883 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node376 PairSemantics.raw883; decide +kernel rw [heq] exact (PairSemantics.canonical883 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node376 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2469 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node376 (EqualityPatterns.family3.label 4) = PairSemantics.raw731 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node376 PairSemantics.raw731; decide +kernel rw [heq] exact (PairSemantics.canonical731 hH).trans (PairSemantics.sound2469 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue376, PairSemantics.value0, PairSemantics.value26, PairSemantics.value65, PairSemantics.value232, PairSemantics.value2469, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue377 : Sparse (Fin 909) := [(0, (17 / 432)), (1, (-35 / 864)), (2, (-5 / 96)), (3, (5 / 54)), (26, (5 / 54))]
theorem singlePair377 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node377 node377Labels = Sparse.eval singlePairValue377 (familyPairVector B) := by have hp := single_label_three B hB node377 have hl : node377Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node377 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node377 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node377 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node377 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node377 (EqualityPatterns.family3.label 1) = PairSemantics.raw5136 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node377 PairSemantics.raw5136; decide +kernel rw [heq] exact (PairSemantics.canonical5136 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node377 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node377 (EqualityPatterns.family3.label 2) = PairSemantics.raw7732 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node377 PairSemantics.raw7732; decide +kernel rw [heq] exact (PairSemantics.canonical7732 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node377 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node377 (EqualityPatterns.family3.label 3) = PairSemantics.raw884 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node377 PairSemantics.raw884; decide +kernel rw [heq] exact (PairSemantics.canonical884 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node377 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value869 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node377 (EqualityPatterns.family3.label 4) = PairSemantics.raw732 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node377 PairSemantics.raw732; decide +kernel rw [heq] exact (PairSemantics.canonical732 hH).trans (PairSemantics.sound869 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue377, PairSemantics.value0, PairSemantics.value10, PairSemantics.value46, PairSemantics.value65, PairSemantics.value869, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue378 : Sparse (Fin 909) := [(0, (29 / 864)), (1, (-5 / 216)), (2, (-35 / 864)), (3, (5 / 54))]
theorem singlePair378 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node378 node378Labels = Sparse.eval singlePairValue378 (familyPairVector B) := by have hp := single_label_three B hB node378 have hl : node378Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node378 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node378 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node378 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node378 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node378 (EqualityPatterns.family3.label 1) = PairSemantics.raw5139 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node378 PairSemantics.raw5139; decide +kernel rw [heq] exact (PairSemantics.canonical5139 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node378 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node378 (EqualityPatterns.family3.label 2) = PairSemantics.raw7730 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node378 PairSemantics.raw7730; decide +kernel rw [heq] exact (PairSemantics.canonical7730 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node378 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node378 (EqualityPatterns.family3.label 3) = PairSemantics.raw884 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node378 PairSemantics.raw884; decide +kernel rw [heq] exact (PairSemantics.canonical884 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node378 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value868 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node378 (EqualityPatterns.family3.label 4) = PairSemantics.raw733 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node378 PairSemantics.raw733; decide +kernel rw [heq] exact (PairSemantics.canonical733 hH).trans (PairSemantics.sound868 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue378, PairSemantics.value0, PairSemantics.value10, PairSemantics.value65, PairSemantics.value232, PairSemantics.value868, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue379 : Sparse (Fin 909) := [(0, (1 / 24)), (2, (5 / 24))]
theorem singlePair379 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node379 node379Labels = Sparse.eval singlePairValue379 (familyPairVector B) := by have hp := single_label_three B hB node379 have hl : node379Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node379 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node379 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node379 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node379 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node379 (EqualityPatterns.family3.label 1) = PairSemantics.raw5141 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node379 PairSemantics.raw5141; decide +kernel rw [heq] exact (PairSemantics.canonical5141 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node379 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node379 (EqualityPatterns.family3.label 2) = PairSemantics.raw7731 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node379 PairSemantics.raw7731; decide +kernel rw [heq] exact (PairSemantics.canonical7731 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node379 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value3 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node379 (EqualityPatterns.family3.label 3) = PairSemantics.raw887 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node379 PairSemantics.raw887; decide +kernel rw [heq] exact (PairSemantics.canonical887 hH).trans (PairSemantics.sound3 hH) have hm4 : familyPairMoment B (groupedColumns node379 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value259 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node379 (EqualityPatterns.family3.label 4) = PairSemantics.raw735 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node379 PairSemantics.raw735; decide +kernel rw [heq] exact (PairSemantics.canonical735 hH).trans (PairSemantics.sound259 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue379, PairSemantics.value0, PairSemantics.value3, PairSemantics.value46, PairSemantics.value65, PairSemantics.value259, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue380 : Sparse (Fin 909) := [(0, (31 / 864)), (1, (5 / 48)), (2, (5 / 432)), (3, (-65 / 54)), (4, (-10 / 27)), (5, (-5 / 108)), (6, (5 / 864)), (12, (-10 / 27)), (13, (-5 / 9)), (26, (-5 / 9)), (27, (5 / 72)), (33, (5 / 9)), (34, (-10 / 27)), (35, (-5 / 54)), (54, (5 / 18)), (65, (5 / 18)), (67, (-5 / 54))]
theorem singlePair380 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node380 node380Labels = Sparse.eval singlePairValue380 (familyPairVector B) := by have hp := single_label_three B hB node380 have hl : node380Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node380 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node380 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node380 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node380 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value717 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node380 (EqualityPatterns.family3.label 1) = PairSemantics.raw5144 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node380 PairSemantics.raw5144; decide +kernel rw [heq] exact (PairSemantics.canonical5144 hH).trans (PairSemantics.sound717 hH) have hm2 : familyPairMoment B (groupedColumns node380 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node380 (EqualityPatterns.family3.label 2) = PairSemantics.raw7724 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node380 PairSemantics.raw7724; decide +kernel rw [heq] exact (PairSemantics.canonical7724 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node380 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node380 (EqualityPatterns.family3.label 3) = PairSemantics.raw883 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node380 PairSemantics.raw883; decide +kernel rw [heq] exact (PairSemantics.canonical883 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node380 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1431 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node380 (EqualityPatterns.family3.label 4) = PairSemantics.raw736 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node380 PairSemantics.raw736; decide +kernel rw [heq] exact (PairSemantics.canonical736 hH).trans (PairSemantics.sound1431 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue380, PairSemantics.value0, PairSemantics.value26, PairSemantics.value46, PairSemantics.value717, PairSemantics.value1431, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue381 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (-55 / 864)), (2, (-35 / 864)), (3, (5 / 54)), (5, (5 / 216)), (26, (5 / 54)), (27, (-5 / 72)), (33, (-5 / 18)), (54, (-5 / 18)), (65, (-5 / 18))]
theorem singlePair381 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node381 node381Labels = Sparse.eval singlePairValue381 (familyPairVector B) := by have hp := single_label_three B hB node381 have hl : node381Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node381 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node381 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node381 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node381 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node381 (EqualityPatterns.family3.label 1) = PairSemantics.raw5145 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node381 PairSemantics.raw5145; decide +kernel rw [heq] exact (PairSemantics.canonical5145 hH).trans (PairSemantics.sound231 hH) have hm2 : familyPairMoment B (groupedColumns node381 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node381 (EqualityPatterns.family3.label 2) = PairSemantics.raw7723 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node381 PairSemantics.raw7723; decide +kernel rw [heq] exact (PairSemantics.canonical7723 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node381 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node381 (EqualityPatterns.family3.label 3) = PairSemantics.raw884 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node381 PairSemantics.raw884; decide +kernel rw [heq] exact (PairSemantics.canonical884 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node381 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value367 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node381 (EqualityPatterns.family3.label 4) = PairSemantics.raw737 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node381 PairSemantics.raw737; decide +kernel rw [heq] exact (PairSemantics.canonical737 hH).trans (PairSemantics.sound367 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue381, PairSemantics.value0, PairSemantics.value10, PairSemantics.value46, PairSemantics.value231, PairSemantics.value367, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue382 : Sparse (Fin 909) := [(0, (7 / 432)), (1, (155 / 864)), (2, (-35 / 864)), (3, (-10 / 9)), (4, (-5 / 27)), (12, (-5 / 9)), (13, (-35 / 54)), (26, (-5 / 27)), (33, (5 / 9)), (34, (-5 / 27))]
theorem singlePair382 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node382 node382Labels = Sparse.eval singlePairValue382 (familyPairVector B) := by have hp := single_label_three B hB node382 have hl : node382Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node382 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node382 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node382 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node382 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node382 (EqualityPatterns.family3.label 1) = PairSemantics.raw5146 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node382 PairSemantics.raw5146; decide +kernel rw [heq] exact (PairSemantics.canonical5146 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node382 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node382 (EqualityPatterns.family3.label 2) = PairSemantics.raw7721 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node382 PairSemantics.raw7721; decide +kernel rw [heq] exact (PairSemantics.canonical7721 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node382 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node382 (EqualityPatterns.family3.label 3) = PairSemantics.raw883 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node382 PairSemantics.raw883; decide +kernel rw [heq] exact (PairSemantics.canonical883 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node382 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1432 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node382 (EqualityPatterns.family3.label 4) = PairSemantics.raw738 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node382 PairSemantics.raw738; decide +kernel rw [heq] exact (PairSemantics.canonical738 hH).trans (PairSemantics.sound1432 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue382, PairSemantics.value0, PairSemantics.value26, PairSemantics.value46, PairSemantics.value232, PairSemantics.value1432, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue383 : Sparse (Fin 909) := [(0, (1 / 72)), (1, (-5 / 864)), (2, (-5 / 864)), (3, (5 / 27)), (12, (5 / 54)), (13, (5 / 27)), (33, (-5 / 18))]
theorem singlePair383 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node383 node383Labels = Sparse.eval singlePairValue383 (familyPairVector B) := by have hp := single_label_three B hB node383 have hl : node383Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node383 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node383 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node383 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node383 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node383 (EqualityPatterns.family3.label 1) = PairSemantics.raw5147 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node383 PairSemantics.raw5147; decide +kernel rw [heq] exact (PairSemantics.canonical5147 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node383 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node383 (EqualityPatterns.family3.label 2) = PairSemantics.raw7720 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node383 PairSemantics.raw7720; decide +kernel rw [heq] exact (PairSemantics.canonical7720 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node383 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node383 (EqualityPatterns.family3.label 3) = PairSemantics.raw884 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node383 PairSemantics.raw884; decide +kernel rw [heq] exact (PairSemantics.canonical884 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node383 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value368 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node383 (EqualityPatterns.family3.label 4) = PairSemantics.raw739 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node383 PairSemantics.raw739; decide +kernel rw [heq] exact (PairSemantics.canonical739 hH).trans (PairSemantics.sound368 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue383, PairSemantics.value0, PairSemantics.value10, PairSemantics.value46, PairSemantics.value232, PairSemantics.value368, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue384 : Sparse (Fin 909) := [(0, (19 / 864)), (1, (-25 / 288)), (3, (5 / 18)), (12, (5 / 27)), (13, (10 / 27)), (34, (5 / 54))]
theorem singlePair384 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node384 node384Labels = Sparse.eval singlePairValue384 (familyPairVector B) := by have hp := single_label_three B hB node384 have hl : node384Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node384 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node384 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node384 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node384 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node384 (EqualityPatterns.family3.label 1) = PairSemantics.raw5150 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node384 PairSemantics.raw5150; decide +kernel rw [heq] exact (PairSemantics.canonical5150 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node384 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node384 (EqualityPatterns.family3.label 2) = PairSemantics.raw7719 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node384 PairSemantics.raw7719; decide +kernel rw [heq] exact (PairSemantics.canonical7719 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node384 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node384 (EqualityPatterns.family3.label 3) = PairSemantics.raw884 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node384 PairSemantics.raw884; decide +kernel rw [heq] exact (PairSemantics.canonical884 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node384 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value369 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node384 (EqualityPatterns.family3.label 4) = PairSemantics.raw740 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node384 PairSemantics.raw740; decide +kernel rw [heq] exact (PairSemantics.canonical740 hH).trans (PairSemantics.sound369 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue384, PairSemantics.value0, PairSemantics.value10, PairSemantics.value46, PairSemantics.value369, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue385 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (-5 / 72)), (2, (5 / 36)), (13, (-10 / 27))]
theorem singlePair385 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node385 node385Labels = Sparse.eval singlePairValue385 (familyPairVector B) := by have hp := single_label_three B hB node385 have hl : node385Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node385 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node385 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node385 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node385 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node385 (EqualityPatterns.family3.label 1) = PairSemantics.raw5149 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node385 PairSemantics.raw5149; decide +kernel rw [heq] exact (PairSemantics.canonical5149 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node385 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node385 (EqualityPatterns.family3.label 2) = PairSemantics.raw7722 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node385 PairSemantics.raw7722; decide +kernel rw [heq] exact (PairSemantics.canonical7722 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node385 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value3 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node385 (EqualityPatterns.family3.label 3) = PairSemantics.raw887 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node385 PairSemantics.raw887; decide +kernel rw [heq] exact (PairSemantics.canonical887 hH).trans (PairSemantics.sound3 hH) have hm4 : familyPairMoment B (groupedColumns node385 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value105 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node385 (EqualityPatterns.family3.label 4) = PairSemantics.raw741 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node385 PairSemantics.raw741; decide +kernel rw [heq] exact (PairSemantics.canonical741 hH).trans (PairSemantics.sound105 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue385, PairSemantics.value0, PairSemantics.value3, PairSemantics.value46, PairSemantics.value105, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue386 : Sparse (Fin 909) := [(0, (13 / 864)), (1, (5 / 288)), (2, (-5 / 216)), (3, (5 / 18)), (13, (5 / 54)), (26, (5 / 27)), (34, (5 / 27))]
theorem singlePair386 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node386 node386Labels = Sparse.eval singlePairValue386 (familyPairVector B) := by have hp := single_label_three B hB node386 have hl : node386Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node386 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node386 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node386 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node386 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node386 (EqualityPatterns.family3.label 1) = PairSemantics.raw5125 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node386 PairSemantics.raw5125; decide +kernel rw [heq] exact (PairSemantics.canonical5125 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node386 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node386 (EqualityPatterns.family3.label 2) = PairSemantics.raw7744 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node386 PairSemantics.raw7744; decide +kernel rw [heq] exact (PairSemantics.canonical7744 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node386 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node386 (EqualityPatterns.family3.label 3) = PairSemantics.raw893 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node386 PairSemantics.raw893; decide +kernel rw [heq] exact (PairSemantics.canonical893 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node386 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value372 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node386 (EqualityPatterns.family3.label 4) = PairSemantics.raw746 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node386 PairSemantics.raw746; decide +kernel rw [heq] exact (PairSemantics.canonical746 hH).trans (PairSemantics.sound372 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue386, PairSemantics.value0, PairSemantics.value10, PairSemantics.value26, PairSemantics.value232, PairSemantics.value372, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue387 : Sparse (Fin 909) := [(0, (17 / 432)), (1, (-5 / 432)), (2, (5 / 108)), (3, (5 / 27)), (4, (5 / 54)), (26, (5 / 54))]
theorem singlePair387 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node387 node387Labels = Sparse.eval singlePairValue387 (familyPairVector B) := by have hp := single_label_three B hB node387 have hl : node387Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node387 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node387 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node387 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node387 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node387 (EqualityPatterns.family3.label 1) = PairSemantics.raw5128 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node387 PairSemantics.raw5128; decide +kernel rw [heq] exact (PairSemantics.canonical5128 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node387 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node387 (EqualityPatterns.family3.label 2) = PairSemantics.raw7742 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node387 PairSemantics.raw7742; decide +kernel rw [heq] exact (PairSemantics.canonical7742 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node387 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node387 (EqualityPatterns.family3.label 3) = PairSemantics.raw893 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node387 PairSemantics.raw893; decide +kernel rw [heq] exact (PairSemantics.canonical893 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node387 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value872 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node387 (EqualityPatterns.family3.label 4) = PairSemantics.raw747 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node387 PairSemantics.raw747; decide +kernel rw [heq] exact (PairSemantics.canonical747 hH).trans (PairSemantics.sound872 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue387, PairSemantics.value0, PairSemantics.value26, PairSemantics.value46, PairSemantics.value65, PairSemantics.value872, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue388 : Sparse (Fin 909) := [(0, (19 / 432)), (1, (-5 / 144)), (2, (-5 / 108)), (26, (-5 / 27))]
theorem singlePair388 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node388 node388Labels = Sparse.eval singlePairValue388 (familyPairVector B) := by have hp := single_label_three B hB node388 have hl : node388Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node388 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node388 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node388 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node388 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node388 (EqualityPatterns.family3.label 1) = PairSemantics.raw5132 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node388 PairSemantics.raw5132; decide +kernel rw [heq] exact (PairSemantics.canonical5132 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node388 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node388 (EqualityPatterns.family3.label 2) = PairSemantics.raw7738 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node388 PairSemantics.raw7738; decide +kernel rw [heq] exact (PairSemantics.canonical7738 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node388 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node388 (EqualityPatterns.family3.label 3) = PairSemantics.raw895 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node388 PairSemantics.raw895; decide +kernel rw [heq] exact (PairSemantics.canonical895 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node388 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value263 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node388 (EqualityPatterns.family3.label 4) = PairSemantics.raw748 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node388 PairSemantics.raw748; decide +kernel rw [heq] exact (PairSemantics.canonical748 hH).trans (PairSemantics.sound263 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue388, PairSemantics.value0, PairSemantics.value10, PairSemantics.value65, PairSemantics.value263, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue389 : Sparse (Fin 909) := []
theorem singlePair389 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node389 node389Labels = Sparse.eval singlePairValue389 (familyPairVector B) := by have hp := single_label_three B hB node389 have hl : node389Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node389 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node389 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node389 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node389 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node389 (EqualityPatterns.family3.label 1) = PairSemantics.raw5141 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node389 PairSemantics.raw5141; decide +kernel rw [heq] exact (PairSemantics.canonical5141 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node389 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value5 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node389 (EqualityPatterns.family3.label 2) = PairSemantics.raw7736 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node389 PairSemantics.raw7736; decide +kernel rw [heq] exact (PairSemantics.canonical7736 hH).trans (PairSemantics.sound5 hH) have hm3 : familyPairMoment B (groupedColumns node389 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node389 (EqualityPatterns.family3.label 3) = PairSemantics.raw895 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node389 PairSemantics.raw895; decide +kernel rw [heq] exact (PairSemantics.canonical895 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node389 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value272 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node389 (EqualityPatterns.family3.label 4) = PairSemantics.raw749 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node389 PairSemantics.raw749; decide +kernel rw [heq] exact (PairSemantics.canonical749 hH).trans (PairSemantics.sound272 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue389, PairSemantics.value0, PairSemantics.value5, PairSemantics.value10, PairSemantics.value46, PairSemantics.value272, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue390 : Sparse (Fin 909) := [(0, (19 / 432)), (1, (-5 / 54)), (2, (-25 / 432)), (3, (-5 / 27))]
theorem singlePair390 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node390 node390Labels = Sparse.eval singlePairValue390 (familyPairVector B) := by have hp := single_label_three B hB node390 have hl : node390Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node390 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node390 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node390 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node390 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node390 (EqualityPatterns.family3.label 1) = PairSemantics.raw5149 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node390 PairSemantics.raw5149; decide +kernel rw [heq] exact (PairSemantics.canonical5149 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node390 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node390 (EqualityPatterns.family3.label 2) = PairSemantics.raw7731 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node390 PairSemantics.raw7731; decide +kernel rw [heq] exact (PairSemantics.canonical7731 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node390 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node390 (EqualityPatterns.family3.label 3) = PairSemantics.raw895 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node390 PairSemantics.raw895; decide +kernel rw [heq] exact (PairSemantics.canonical895 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node390 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value261 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node390 (EqualityPatterns.family3.label 4) = PairSemantics.raw750 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node390 PairSemantics.raw750; decide +kernel rw [heq] exact (PairSemantics.canonical750 hH).trans (PairSemantics.sound261 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue390, PairSemantics.value0, PairSemantics.value10, PairSemantics.value46, PairSemantics.value65, PairSemantics.value261, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue391 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (-5 / 54)), (2, (-25 / 432)), (3, (-5 / 27)), (13, (-5 / 27)), (34, (-5 / 27))]
theorem singlePair391 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node391 node391Labels = Sparse.eval singlePairValue391 (familyPairVector B) := by have hp := single_label_three B hB node391 have hl : node391Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node391 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node391 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node391 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node391 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node391 (EqualityPatterns.family3.label 1) = PairSemantics.raw5152 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node391 PairSemantics.raw5152; decide +kernel rw [heq] exact (PairSemantics.canonical5152 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node391 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node391 (EqualityPatterns.family3.label 2) = PairSemantics.raw7722 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node391 PairSemantics.raw7722; decide +kernel rw [heq] exact (PairSemantics.canonical7722 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node391 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node391 (EqualityPatterns.family3.label 3) = PairSemantics.raw895 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node391 PairSemantics.raw895; decide +kernel rw [heq] exact (PairSemantics.canonical895 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node391 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value107 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node391 (EqualityPatterns.family3.label 4) = PairSemantics.raw751 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node391 PairSemantics.raw751; decide +kernel rw [heq] exact (PairSemantics.canonical751 hH).trans (PairSemantics.sound107 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue391, PairSemantics.value0, PairSemantics.value10, PairSemantics.value46, PairSemantics.value107, Sparse.eval] at hp ⊢ linarith only [hp]
end MUB6.Certificate.MixedSemantics
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928import OAI.Analysis.MutuallyUnbiased.MixedSemantics.GroupedColumnsimport OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes6import OAI.Analysis.MutuallyUnbiased.MixedSemantics.SingleRulesimport OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical162import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical23import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical238import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical239import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical24import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical240import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical249import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical27import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical28import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound0import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound11import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound2import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound20import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound22import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound29import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound3import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound5import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound8
namespace OAI
namespace MUB6.Certificate.MixedSemantics
open scoped BigOperators
def singlePairValue392 : Sparse (Fin 909) := [(0, (5 / 144)), (1, (5 / 144)), (2, (25 / 216)), (3, (-10 / 9)), (4, (-10 / 27)), (5, (-5 / 72)), (13, (-5 / 27)), (26, (-10 / 9)), (27, (5 / 24)), (34, (-20 / 27)), (65, (5 / 18)), (66, (5 / 9)), (67, (-5 / 18))]
theorem singlePair392 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node392 node392Labels = Sparse.eval singlePairValue392 (familyPairVector B) := by have hp := single_label_three B hB node392 have hl : node392Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node392 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node392 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node392 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node392 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value716 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node392 (EqualityPatterns.family3.label 1) = PairSemantics.raw5200 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node392 PairSemantics.raw5200; decide +kernel rw [heq] exact (PairSemantics.canonical5200 hH).trans (PairSemantics.sound716 hH) have hm2 : familyPairMoment B (groupedColumns node392 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node392 (EqualityPatterns.family3.label 2) = PairSemantics.raw7665 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node392 PairSemantics.raw7665; decide +kernel rw [heq] exact (PairSemantics.canonical7665 hH).trans (PairSemantics.sound26 hH) have hm3 : familyPairMoment B (groupedColumns node392 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node392 (EqualityPatterns.family3.label 3) = PairSemantics.raw883 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node392 PairSemantics.raw883; decide +kernel rw [heq] exact (PairSemantics.canonical883 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node392 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1433 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node392 (EqualityPatterns.family3.label 4) = PairSemantics.raw764 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node392 PairSemantics.raw764; decide +kernel rw [heq] exact (PairSemantics.canonical764 hH).trans (PairSemantics.sound1433 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue392, PairSemantics.value0, PairSemantics.value26, PairSemantics.value716, PairSemantics.value1433, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue393 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (-5 / 864)), (2, (-25 / 864)), (3, (5 / 27)), (5, (5 / 216)), (13, (5 / 54)), (26, (5 / 27)), (27, (-5 / 72)), (34, (5 / 27)), (65, (-5 / 18)), (67, (5 / 54))]
theorem singlePair393 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node393 node393Labels = Sparse.eval singlePairValue393 (familyPairVector B) := by have hp := single_label_three B hB node393 have hl : node393Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node393 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node393 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node393 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node393 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node393 (EqualityPatterns.family3.label 1) = PairSemantics.raw5201 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node393 PairSemantics.raw5201; decide +kernel rw [heq] exact (PairSemantics.canonical5201 hH).trans (PairSemantics.sound231 hH) have hm2 : familyPairMoment B (groupedColumns node393 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node393 (EqualityPatterns.family3.label 2) = PairSemantics.raw7664 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node393 PairSemantics.raw7664; decide +kernel rw [heq] exact (PairSemantics.canonical7664 hH).trans (PairSemantics.sound26 hH) have hm3 : familyPairMoment B (groupedColumns node393 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node393 (EqualityPatterns.family3.label 3) = PairSemantics.raw884 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node393 PairSemantics.raw884; decide +kernel rw [heq] exact (PairSemantics.canonical884 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node393 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value373 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node393 (EqualityPatterns.family3.label 4) = PairSemantics.raw765 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node393 PairSemantics.raw765; decide +kernel rw [heq] exact (PairSemantics.canonical765 hH).trans (PairSemantics.sound373 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue393, PairSemantics.value0, PairSemantics.value10, PairSemantics.value26, PairSemantics.value231, PairSemantics.value373, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue394 : Sparse (Fin 909) := [(0, (1 / 432)), (1, (25 / 96)), (2, (-65 / 864)), (3, (-65 / 54)), (4, (-5 / 9)), (12, (-5 / 54)), (13, (-5 / 54)), (26, (-35 / 54)), (33, (5 / 18)), (34, (-5 / 27))]
theorem singlePair394 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node394 node394Labels = Sparse.eval singlePairValue394 (familyPairVector B) := by have hp := single_label_three B hB node394 have hl : node394Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node394 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node394 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node394 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node394 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node394 (EqualityPatterns.family3.label 1) = PairSemantics.raw5202 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node394 PairSemantics.raw5202; decide +kernel rw [heq] exact (PairSemantics.canonical5202 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node394 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node394 (EqualityPatterns.family3.label 2) = PairSemantics.raw7662 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node394 PairSemantics.raw7662; decide +kernel rw [heq] exact (PairSemantics.canonical7662 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node394 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node394 (EqualityPatterns.family3.label 3) = PairSemantics.raw883 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node394 PairSemantics.raw883; decide +kernel rw [heq] exact (PairSemantics.canonical883 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node394 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1434 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node394 (EqualityPatterns.family3.label 4) = PairSemantics.raw766 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node394 PairSemantics.raw766; decide +kernel rw [heq] exact (PairSemantics.canonical766 hH).trans (PairSemantics.sound1434 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue394, PairSemantics.value0, PairSemantics.value26, PairSemantics.value232, PairSemantics.value1434, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue395 : Sparse (Fin 909) := [(0, (5 / 864)), (1, (5 / 108)), (2, (-5 / 288)), (3, (5 / 27)), (26, (5 / 54)), (33, (-5 / 18))]
theorem singlePair395 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node395 node395Labels = Sparse.eval singlePairValue395 (familyPairVector B) := by have hp := single_label_three B hB node395 have hl : node395Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node395 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node395 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node395 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node395 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node395 (EqualityPatterns.family3.label 1) = PairSemantics.raw5203 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node395 PairSemantics.raw5203; decide +kernel rw [heq] exact (PairSemantics.canonical5203 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node395 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node395 (EqualityPatterns.family3.label 2) = PairSemantics.raw7661 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node395 PairSemantics.raw7661; decide +kernel rw [heq] exact (PairSemantics.canonical7661 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node395 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node395 (EqualityPatterns.family3.label 3) = PairSemantics.raw884 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node395 PairSemantics.raw884; decide +kernel rw [heq] exact (PairSemantics.canonical884 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node395 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value374 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node395 (EqualityPatterns.family3.label 4) = PairSemantics.raw767 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node395 PairSemantics.raw767; decide +kernel rw [heq] exact (PairSemantics.canonical767 hH).trans (PairSemantics.sound374 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue395, PairSemantics.value0, PairSemantics.value10, PairSemantics.value232, PairSemantics.value374, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue396 : Sparse (Fin 909) := [(0, (-5 / 216)), (1, (5 / 36)), (2, (-5 / 72)), (3, (-5 / 9)), (12, (-5 / 18)), (13, (-5 / 27))]
theorem singlePair396 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node396 node396Labels = Sparse.eval singlePairValue396 (familyPairVector B) := by have hp := single_label_three B hB node396 have hl : node396Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node396 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node396 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node396 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node396 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node396 (EqualityPatterns.family3.label 1) = PairSemantics.raw5206 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node396 PairSemantics.raw5206; decide +kernel rw [heq] exact (PairSemantics.canonical5206 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node396 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value1323 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node396 (EqualityPatterns.family3.label 2) = PairSemantics.raw7658 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node396 PairSemantics.raw7658; decide +kernel rw [heq] exact (PairSemantics.canonical7658 hH).trans (PairSemantics.sound1323 hH) have hm3 : familyPairMoment B (groupedColumns node396 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node396 (EqualityPatterns.family3.label 3) = PairSemantics.raw883 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node396 PairSemantics.raw883; decide +kernel rw [heq] exact (PairSemantics.canonical883 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node396 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1891 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node396 (EqualityPatterns.family3.label 4) = PairSemantics.raw768 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node396 PairSemantics.raw768; decide +kernel rw [heq] exact (PairSemantics.canonical768 hH).trans (PairSemantics.sound1891 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue396, PairSemantics.value0, PairSemantics.value11, PairSemantics.value26, PairSemantics.value1323, PairSemantics.value1891, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue397 : Sparse (Fin 909) := [(0, (1 / 48)), (1, (-55 / 864)), (2, (-25 / 864)), (3, (5 / 27)), (12, (5 / 54)), (13, (5 / 54))]
theorem singlePair397 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node397 node397Labels = Sparse.eval singlePairValue397 (familyPairVector B) := by have hp := single_label_three B hB node397 have hl : node397Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node397 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node397 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node397 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node397 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node397 (EqualityPatterns.family3.label 1) = PairSemantics.raw5205 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node397 PairSemantics.raw5205; decide +kernel rw [heq] exact (PairSemantics.canonical5205 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node397 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node397 (EqualityPatterns.family3.label 2) = PairSemantics.raw7659 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node397 PairSemantics.raw7659; decide +kernel rw [heq] exact (PairSemantics.canonical7659 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node397 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node397 (EqualityPatterns.family3.label 3) = PairSemantics.raw884 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node397 PairSemantics.raw884; decide +kernel rw [heq] exact (PairSemantics.canonical884 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node397 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value573 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node397 (EqualityPatterns.family3.label 4) = PairSemantics.raw769 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node397 PairSemantics.raw769; decide +kernel rw [heq] exact (PairSemantics.canonical769 hH).trans (PairSemantics.sound573 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue397, PairSemantics.value0, PairSemantics.value10, PairSemantics.value11, PairSemantics.value232, PairSemantics.value573, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue398 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (-5 / 108)), (2, (-5 / 108)), (3, (5 / 54)), (5, (5 / 216)), (12, (5 / 54)), (13, (5 / 54)), (27, (-5 / 72)), (33, (-5 / 18)), (55, (-5 / 18)), (61, (-5 / 18))]
theorem singlePair398 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node398 node398Labels = Sparse.eval singlePairValue398 (familyPairVector B) := by have hp := single_label_three B hB node398 have hl : node398Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node398 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node398 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node398 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node398 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node398 (EqualityPatterns.family3.label 1) = PairSemantics.raw5209 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node398 PairSemantics.raw5209; decide +kernel rw [heq] exact (PairSemantics.canonical5209 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node398 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node398 (EqualityPatterns.family3.label 2) = PairSemantics.raw7647 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node398 PairSemantics.raw7647; decide +kernel rw [heq] exact (PairSemantics.canonical7647 hH).trans (PairSemantics.sound231 hH) have hm3 : familyPairMoment B (groupedColumns node398 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node398 (EqualityPatterns.family3.label 3) = PairSemantics.raw884 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node398 PairSemantics.raw884; decide +kernel rw [heq] exact (PairSemantics.canonical884 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node398 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value379 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node398 (EqualityPatterns.family3.label 4) = PairSemantics.raw772 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node398 PairSemantics.raw772; decide +kernel rw [heq] exact (PairSemantics.canonical772 hH).trans (PairSemantics.sound379 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue398, PairSemantics.value0, PairSemantics.value10, PairSemantics.value46, PairSemantics.value231, PairSemantics.value379, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue399 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (35 / 432)), (2, (5 / 216)), (3, (5 / 27)), (4, (5 / 54)), (5, (5 / 216)), (26, (5 / 18)), (27, (-5 / 72)), (34, (5 / 27)), (66, (-5 / 18)), (67, (5 / 54))]
theorem singlePair399 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node399 node399Labels = Sparse.eval singlePairValue399 (familyPairVector B) := by have hp := single_label_three B hB node399 have hl : node399Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node399 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node399 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node399 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node399 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node399 (EqualityPatterns.family3.label 1) = PairSemantics.raw5187 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node399 PairSemantics.raw5187; decide +kernel rw [heq] exact (PairSemantics.canonical5187 hH).trans (PairSemantics.sound231 hH) have hm2 : familyPairMoment B (groupedColumns node399 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node399 (EqualityPatterns.family3.label 2) = PairSemantics.raw7691 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node399 PairSemantics.raw7691; decide +kernel rw [heq] exact (PairSemantics.canonical7691 hH).trans (PairSemantics.sound26 hH) have hm3 : familyPairMoment B (groupedColumns node399 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node399 (EqualityPatterns.family3.label 3) = PairSemantics.raw893 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node399 PairSemantics.raw893; decide +kernel rw [heq] exact (PairSemantics.canonical893 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node399 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value375 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node399 (EqualityPatterns.family3.label 4) = PairSemantics.raw773 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node399 PairSemantics.raw773; decide +kernel rw [heq] exact (PairSemantics.canonical773 hH).trans (PairSemantics.sound375 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue399, PairSemantics.value0, PairSemantics.value26, PairSemantics.value231, PairSemantics.value375, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue400 : Sparse (Fin 909) := [(0, (11 / 864)), (1, (5 / 432)), (2, (25 / 864)), (3, (10 / 27)), (4, (5 / 27)), (26, (5 / 18)), (34, (5 / 54))]
theorem singlePair400 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node400 node400Labels = Sparse.eval singlePairValue400 (familyPairVector B) := by have hp := single_label_three B hB node400 have hl : node400Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node400 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node400 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node400 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node400 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node400 (EqualityPatterns.family3.label 1) = PairSemantics.raw5189 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node400 PairSemantics.raw5189; decide +kernel rw [heq] exact (PairSemantics.canonical5189 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node400 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node400 (EqualityPatterns.family3.label 2) = PairSemantics.raw7688 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node400 PairSemantics.raw7688; decide +kernel rw [heq] exact (PairSemantics.canonical7688 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node400 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node400 (EqualityPatterns.family3.label 3) = PairSemantics.raw893 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node400 PairSemantics.raw893; decide +kernel rw [heq] exact (PairSemantics.canonical893 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node400 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value376 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node400 (EqualityPatterns.family3.label 4) = PairSemantics.raw776 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node400 PairSemantics.raw776; decide +kernel rw [heq] exact (PairSemantics.canonical776 hH).trans (PairSemantics.sound376 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue400, PairSemantics.value0, PairSemantics.value26, PairSemantics.value46, PairSemantics.value232, PairSemantics.value376, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue401 : Sparse (Fin 909) := [(0, (7 / 288)), (2, (25 / 864)), (3, (5 / 18)), (4, (5 / 27)), (26, (5 / 27))]
theorem singlePair401 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node401 node401Labels = Sparse.eval singlePairValue401 (familyPairVector B) := by have hp := single_label_three B hB node401 have hl : node401Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node401 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node401 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node401 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node401 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node401 (EqualityPatterns.family3.label 1) = PairSemantics.raw5190 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node401 PairSemantics.raw5190; decide +kernel rw [heq] exact (PairSemantics.canonical5190 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node401 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node401 (EqualityPatterns.family3.label 2) = PairSemantics.raw7686 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node401 PairSemantics.raw7686; decide +kernel rw [heq] exact (PairSemantics.canonical7686 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node401 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node401 (EqualityPatterns.family3.label 3) = PairSemantics.raw893 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node401 PairSemantics.raw893; decide +kernel rw [heq] exact (PairSemantics.canonical893 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node401 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value708 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node401 (EqualityPatterns.family3.label 4) = PairSemantics.raw777 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node401 PairSemantics.raw777; decide +kernel rw [heq] exact (PairSemantics.canonical777 hH).trans (PairSemantics.sound708 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue401, PairSemantics.value0, PairSemantics.value11, PairSemantics.value26, PairSemantics.value232, PairSemantics.value708, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue402 : Sparse (Fin 909) := [(0, (7 / 216)), (1, (-25 / 432)), (2, (-5 / 144)), (3, (-5 / 27)), (26, (-5 / 27))]
theorem singlePair402 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node402 node402Labels = Sparse.eval singlePairValue402 (familyPairVector B) := by have hp := single_label_three B hB node402 have hl : node402Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node402 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node402 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node402 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node402 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node402 (EqualityPatterns.family3.label 1) = PairSemantics.raw5192 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node402 PairSemantics.raw5192; decide +kernel rw [heq] exact (PairSemantics.canonical5192 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node402 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node402 (EqualityPatterns.family3.label 2) = PairSemantics.raw7685 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node402 PairSemantics.raw7685; decide +kernel rw [heq] exact (PairSemantics.canonical7685 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node402 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node402 (EqualityPatterns.family3.label 3) = PairSemantics.raw895 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node402 PairSemantics.raw895; decide +kernel rw [heq] exact (PairSemantics.canonical895 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node402 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value226 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node402 (EqualityPatterns.family3.label 4) = PairSemantics.raw778 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node402 PairSemantics.raw778; decide +kernel rw [heq] exact (PairSemantics.canonical778 hH).trans (PairSemantics.sound226 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue402, PairSemantics.value0, PairSemantics.value10, PairSemantics.value11, PairSemantics.value46, PairSemantics.value226, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue403 : Sparse (Fin 909) := [(0, (47 / 864)), (1, (-5 / 216)), (2, (55 / 864)), (3, (5 / 54))]
theorem singlePair403 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node403 node403Labels = Sparse.eval singlePairValue403 (familyPairVector B) := by have hp := single_label_three B hB node403 have hl : node403Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node403 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node403 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node403 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node403 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node403 (EqualityPatterns.family3.label 1) = PairSemantics.raw5196 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node403 PairSemantics.raw5196; decide +kernel rw [heq] exact (PairSemantics.canonical5196 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node403 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node403 (EqualityPatterns.family3.label 2) = PairSemantics.raw7679 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node403 PairSemantics.raw7679; decide +kernel rw [heq] exact (PairSemantics.canonical7679 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node403 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node403 (EqualityPatterns.family3.label 3) = PairSemantics.raw893 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node403 PairSemantics.raw893; decide +kernel rw [heq] exact (PairSemantics.canonical893 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node403 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value570 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node403 (EqualityPatterns.family3.label 4) = PairSemantics.raw780 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node403 PairSemantics.raw780; decide +kernel rw [heq] exact (PairSemantics.canonical780 hH).trans (PairSemantics.sound570 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue403, PairSemantics.value0, PairSemantics.value11, PairSemantics.value26, PairSemantics.value65, PairSemantics.value570, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue404 : Sparse (Fin 909) := [(0, (1 / 18)), (1, (-5 / 72)), (2, (-5 / 72))]
theorem singlePair404 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node404 node404Labels = Sparse.eval singlePairValue404 (familyPairVector B) := by have hp := single_label_three B hB node404 have hl : node404Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node404 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node404 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node404 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node404 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node404 (EqualityPatterns.family3.label 1) = PairSemantics.raw5197 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node404 PairSemantics.raw5197; decide +kernel rw [heq] exact (PairSemantics.canonical5197 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node404 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node404 (EqualityPatterns.family3.label 2) = PairSemantics.raw7678 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node404 PairSemantics.raw7678; decide +kernel rw [heq] exact (PairSemantics.canonical7678 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node404 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node404 (EqualityPatterns.family3.label 3) = PairSemantics.raw895 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node404 PairSemantics.raw895; decide +kernel rw [heq] exact (PairSemantics.canonical895 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node404 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value181 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node404 (EqualityPatterns.family3.label 4) = PairSemantics.raw781 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node404 PairSemantics.raw781; decide +kernel rw [heq] exact (PairSemantics.canonical781 hH).trans (PairSemantics.sound181 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue404, PairSemantics.value0, PairSemantics.value10, PairSemantics.value11, PairSemantics.value65, PairSemantics.value181, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue405 : Sparse (Fin 909) := [(0, (19 / 432)), (1, (-5 / 54)), (2, (-25 / 432)), (3, (-5 / 27))]
theorem singlePair405 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node405 node405Labels = Sparse.eval singlePairValue405 (familyPairVector B) := by have hp := single_label_three B hB node405 have hl : node405Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node405 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node405 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node405 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node405 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node405 (EqualityPatterns.family3.label 1) = PairSemantics.raw5204 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node405 PairSemantics.raw5204; decide +kernel rw [heq] exact (PairSemantics.canonical5204 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node405 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node405 (EqualityPatterns.family3.label 2) = PairSemantics.raw7671 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node405 PairSemantics.raw7671; decide +kernel rw [heq] exact (PairSemantics.canonical7671 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node405 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node405 (EqualityPatterns.family3.label 3) = PairSemantics.raw895 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node405 PairSemantics.raw895; decide +kernel rw [heq] exact (PairSemantics.canonical895 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node405 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value185 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node405 (EqualityPatterns.family3.label 4) = PairSemantics.raw782 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node405 PairSemantics.raw782; decide +kernel rw [heq] exact (PairSemantics.canonical782 hH).trans (PairSemantics.sound185 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue405, PairSemantics.value0, PairSemantics.value10, PairSemantics.value11, PairSemantics.value185, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue406 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (-5 / 216)), (3, (-5 / 27)), (26, (-5 / 27)), (34, (-5 / 27))]
theorem singlePair406 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node406 node406Labels = Sparse.eval singlePairValue406 (familyPairVector B) := by have hp := single_label_three B hB node406 have hl : node406Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node406 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node406 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node406 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node406 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node406 (EqualityPatterns.family3.label 1) = PairSemantics.raw5208 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node406 PairSemantics.raw5208; decide +kernel rw [heq] exact (PairSemantics.canonical5208 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node406 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node406 (EqualityPatterns.family3.label 2) = PairSemantics.raw7663 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node406 PairSemantics.raw7663; decide +kernel rw [heq] exact (PairSemantics.canonical7663 hH).trans (PairSemantics.sound26 hH) have hm3 : familyPairMoment B (groupedColumns node406 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node406 (EqualityPatterns.family3.label 3) = PairSemantics.raw895 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node406 PairSemantics.raw895; decide +kernel rw [heq] exact (PairSemantics.canonical895 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node406 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value109 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node406 (EqualityPatterns.family3.label 4) = PairSemantics.raw783 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node406 PairSemantics.raw783; decide +kernel rw [heq] exact (PairSemantics.canonical783 hH).trans (PairSemantics.sound109 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue406, PairSemantics.value0, PairSemantics.value10, PairSemantics.value26, PairSemantics.value46, PairSemantics.value109, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue407 : Sparse (Fin 909) := [(0, (1 / 24)), (2, (5 / 24))]
theorem singlePair407 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node407 node407Labels = Sparse.eval singlePairValue407 (familyPairVector B) := by have hp := single_label_three B hB node407 have hl : node407Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node407 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node407 (EqualityPatterns.family3.label 0) = PairSemantics.raw7979 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node407 PairSemantics.raw7979; decide +kernel rw [heq] exact (PairSemantics.canonical7979 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node407 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node407 (EqualityPatterns.family3.label 1) = PairSemantics.raw5199 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node407 PairSemantics.raw5199; decide +kernel rw [heq] exact (PairSemantics.canonical5199 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node407 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node407 (EqualityPatterns.family3.label 2) = PairSemantics.raw7683 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node407 PairSemantics.raw7683; decide +kernel rw [heq] exact (PairSemantics.canonical7683 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node407 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value3 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node407 (EqualityPatterns.family3.label 3) = PairSemantics.raw900 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node407 PairSemantics.raw900; decide +kernel rw [heq] exact (PairSemantics.canonical900 hH).trans (PairSemantics.sound3 hH) have hm4 : familyPairMoment B (groupedColumns node407 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value63 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node407 (EqualityPatterns.family3.label 4) = PairSemantics.raw784 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node407 PairSemantics.raw784; decide +kernel rw [heq] exact (PairSemantics.canonical784 hH).trans (PairSemantics.sound63 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue407, PairSemantics.value0, PairSemantics.value3, PairSemantics.value11, PairSemantics.value63, Sparse.eval] at hp ⊢ linarith only [hp]
end MUB6.Certificate.MixedSemantics
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935import OAI.Analysis.MutuallyUnbiased.MixedSemantics.GroupedColumnsimport OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes6import OAI.Analysis.MutuallyUnbiased.MixedSemantics.SingleRulesimport OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical120import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical159import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical160import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical161import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical162import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical163import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical238import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical24import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical240import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical241import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical242import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical249import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical25import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical27import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical28import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical281import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound0import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound11import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound2import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound3import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound33import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound4import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound41import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound5import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound8
namespace OAI
namespace MUB6.Certificate.MixedSemantics
open scoped BigOperators
def singlePairValue408 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (-5 / 72)), (2, (-5 / 72)), (27, (5 / 36)), (65, (5 / 9))]
theorem singlePair408 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node408 node408Labels = Sparse.eval singlePairValue408 (familyPairVector B) := by have hp := single_label_three B hB node408 have hl : node408Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node408 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node408 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node408 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node408 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value45 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node408 (EqualityPatterns.family3.label 1) = PairSemantics.raw5211 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node408 PairSemantics.raw5211; decide +kernel rw [heq] exact (PairSemantics.canonical5211 hH).trans (PairSemantics.sound45 hH) have hm2 : familyPairMoment B (groupedColumns node408 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node408 (EqualityPatterns.family3.label 2) = PairSemantics.raw7643 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node408 PairSemantics.raw7643; decide +kernel rw [heq] exact (PairSemantics.canonical7643 hH).trans (PairSemantics.sound10 hH) have hm3 : familyPairMoment B (groupedColumns node408 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node408 (EqualityPatterns.family3.label 3) = PairSemantics.raw895 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node408 PairSemantics.raw895; decide +kernel rw [heq] exact (PairSemantics.canonical895 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node408 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value110 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node408 (EqualityPatterns.family3.label 4) = PairSemantics.raw786 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node408 PairSemantics.raw786; decide +kernel rw [heq] exact (PairSemantics.canonical786 hH).trans (PairSemantics.sound110 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue408, PairSemantics.value0, PairSemantics.value10, PairSemantics.value45, PairSemantics.value110, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue409 : Sparse (Fin 909) := [(0, (17 / 864)), (1, (-25 / 864)), (2, (5 / 108)), (3, (5 / 18)), (4, (5 / 54)), (12, (5 / 54)), (13, (5 / 54)), (26, (5 / 54)), (33, (-5 / 18)), (34, (5 / 54))]
theorem singlePair409 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node409 node409Labels = Sparse.eval singlePairValue409 (familyPairVector B) := by have hp := single_label_three B hB node409 have hl : node409Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node409 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node409 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node409 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node409 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node409 (EqualityPatterns.family3.label 1) = PairSemantics.raw5212 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node409 PairSemantics.raw5212; decide +kernel rw [heq] exact (PairSemantics.canonical5212 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node409 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node409 (EqualityPatterns.family3.label 2) = PairSemantics.raw7640 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node409 PairSemantics.raw7640; decide +kernel rw [heq] exact (PairSemantics.canonical7640 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node409 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node409 (EqualityPatterns.family3.label 3) = PairSemantics.raw893 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node409 PairSemantics.raw893; decide +kernel rw [heq] exact (PairSemantics.canonical893 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node409 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value377 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node409 (EqualityPatterns.family3.label 4) = PairSemantics.raw787 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node409 PairSemantics.raw787; decide +kernel rw [heq] exact (PairSemantics.canonical787 hH).trans (PairSemantics.sound377 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue409, PairSemantics.value0, PairSemantics.value26, PairSemantics.value46, PairSemantics.value377, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue410 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (-35 / 432)), (2, (-5 / 432)), (33, (5 / 9))]
theorem singlePair410 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node410 node410Labels = Sparse.eval singlePairValue410 (familyPairVector B) := by have hp := single_label_three B hB node410 have hl : node410Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node410 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node410 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node410 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node410 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node410 (EqualityPatterns.family3.label 1) = PairSemantics.raw5213 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node410 PairSemantics.raw5213; decide +kernel rw [heq] exact (PairSemantics.canonical5213 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node410 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node410 (EqualityPatterns.family3.label 2) = PairSemantics.raw7639 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node410 PairSemantics.raw7639; decide +kernel rw [heq] exact (PairSemantics.canonical7639 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node410 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node410 (EqualityPatterns.family3.label 3) = PairSemantics.raw895 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node410 PairSemantics.raw895; decide +kernel rw [heq] exact (PairSemantics.canonical895 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node410 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value111 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node410 (EqualityPatterns.family3.label 4) = PairSemantics.raw789 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node410 PairSemantics.raw789; decide +kernel rw [heq] exact (PairSemantics.canonical789 hH).trans (PairSemantics.sound111 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue410, PairSemantics.value0, PairSemantics.value10, PairSemantics.value46, PairSemantics.value111, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue411 : Sparse (Fin 909) := [(0, (11 / 864)), (1, (5 / 36)), (2, (5 / 288)), (3, (5 / 18)), (12, (5 / 18)), (13, (5 / 27))]
theorem singlePair411 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node411 node411Labels = Sparse.eval singlePairValue411 (familyPairVector B) := by have hp := single_label_three B hB node411 have hl : node411Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node411 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node411 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node411 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node411 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node411 (EqualityPatterns.family3.label 1) = PairSemantics.raw5216 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node411 PairSemantics.raw5216; decide +kernel rw [heq] exact (PairSemantics.canonical5216 hH).trans (PairSemantics.sound4 hH) have hm2 : familyPairMoment B (groupedColumns node411 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node411 (EqualityPatterns.family3.label 2) = PairSemantics.raw7634 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node411 PairSemantics.raw7634; decide +kernel rw [heq] exact (PairSemantics.canonical7634 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node411 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node411 (EqualityPatterns.family3.label 3) = PairSemantics.raw893 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node411 PairSemantics.raw893; decide +kernel rw [heq] exact (PairSemantics.canonical893 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node411 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value566 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node411 (EqualityPatterns.family3.label 4) = PairSemantics.raw791 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node411 PairSemantics.raw791; decide +kernel rw [heq] exact (PairSemantics.canonical791 hH).trans (PairSemantics.sound566 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue411, PairSemantics.value0, PairSemantics.value4, PairSemantics.value26, PairSemantics.value232, PairSemantics.value566, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue412 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (35 / 432)), (2, (-5 / 216)), (3, (-5 / 27)), (12, (-5 / 27)), (13, (-5 / 27))]
theorem singlePair412 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node412 node412Labels = Sparse.eval singlePairValue412 (familyPairVector B) := by have hp := single_label_three B hB node412 have hl : node412Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node412 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node412 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node412 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node412 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node412 (EqualityPatterns.family3.label 1) = PairSemantics.raw5215 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node412 PairSemantics.raw5215; decide +kernel rw [heq] exact (PairSemantics.canonical5215 hH).trans (PairSemantics.sound4 hH) have hm2 : familyPairMoment B (groupedColumns node412 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node412 (EqualityPatterns.family3.label 2) = PairSemantics.raw7636 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node412 PairSemantics.raw7636; decide +kernel rw [heq] exact (PairSemantics.canonical7636 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node412 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node412 (EqualityPatterns.family3.label 3) = PairSemantics.raw895 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node412 PairSemantics.raw895; decide +kernel rw [heq] exact (PairSemantics.canonical895 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node412 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value177 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node412 (EqualityPatterns.family3.label 4) = PairSemantics.raw792 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node412 PairSemantics.raw792; decide +kernel rw [heq] exact (PairSemantics.canonical792 hH).trans (PairSemantics.sound177 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue412, PairSemantics.value0, PairSemantics.value4, PairSemantics.value10, PairSemantics.value46, PairSemantics.value177, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue413 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (5 / 72)), (2, (5 / 108)), (27, (5 / 36)), (66, (5 / 9))]
theorem singlePair413 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node413 node413Labels = Sparse.eval singlePairValue413 (familyPairVector B) := by have hp := single_label_three B hB node413 have hl : node413Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node413 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node413 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node413 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node413 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value45 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node413 (EqualityPatterns.family3.label 1) = PairSemantics.raw5116 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node413 PairSemantics.raw5116; decide +kernel rw [heq] exact (PairSemantics.canonical5116 hH).trans (PairSemantics.sound45 hH) have hm2 : familyPairMoment B (groupedColumns node413 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node413 (EqualityPatterns.family3.label 2) = PairSemantics.raw7761 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node413 PairSemantics.raw7761; decide +kernel rw [heq] exact (PairSemantics.canonical7761 hH).trans (PairSemantics.sound26 hH) have hm3 : familyPairMoment B (groupedColumns node413 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node413 (EqualityPatterns.family3.label 3) = PairSemantics.raw914 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node413 PairSemantics.raw914; decide +kernel rw [heq] exact (PairSemantics.canonical914 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node413 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value114 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node413 (EqualityPatterns.family3.label 4) = PairSemantics.raw800 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node413 PairSemantics.raw800; decide +kernel rw [heq] exact (PairSemantics.canonical800 hH).trans (PairSemantics.sound114 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue413, PairSemantics.value0, PairSemantics.value26, PairSemantics.value45, PairSemantics.value114, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue414 : Sparse (Fin 909) := [(0, (13 / 432)), (1, (-5 / 216)), (2, (5 / 144)), (3, (-5 / 27)), (4, (-5 / 27)), (26, (-5 / 27))]
theorem singlePair414 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node414 node414Labels = Sparse.eval singlePairValue414 (familyPairVector B) := by have hp := single_label_three B hB node414 have hl : node414Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node414 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node414 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node414 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node414 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node414 (EqualityPatterns.family3.label 1) = PairSemantics.raw5141 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node414 PairSemantics.raw5141; decide +kernel rw [heq] exact (PairSemantics.canonical5141 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node414 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node414 (EqualityPatterns.family3.label 2) = PairSemantics.raw7757 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node414 PairSemantics.raw7757; decide +kernel rw [heq] exact (PairSemantics.canonical7757 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node414 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node414 (EqualityPatterns.family3.label 3) = PairSemantics.raw914 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node414 PairSemantics.raw914; decide +kernel rw [heq] exact (PairSemantics.canonical914 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node414 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value229 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node414 (EqualityPatterns.family3.label 4) = PairSemantics.raw805 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node414 PairSemantics.raw805; decide +kernel rw [heq] exact (PairSemantics.canonical805 hH).trans (PairSemantics.sound229 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue414, PairSemantics.value0, PairSemantics.value11, PairSemantics.value26, PairSemantics.value46, PairSemantics.value229, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue415 : Sparse (Fin 909) := [(0, (5 / 144)), (1, (-5 / 48)), (2, (-5 / 72)), (26, (5 / 9))]
theorem singlePair415 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node415 node415Labels = Sparse.eval singlePairValue415 (familyPairVector B) := by have hp := single_label_three B hB node415 have hl : node415Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node415 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node415 (EqualityPatterns.family3.label 0) = PairSemantics.raw7979 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node415 PairSemantics.raw7979; decide +kernel rw [heq] exact (PairSemantics.canonical7979 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node415 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node415 (EqualityPatterns.family3.label 1) = PairSemantics.raw5151 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node415 PairSemantics.raw5151; decide +kernel rw [heq] exact (PairSemantics.canonical5151 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node415 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node415 (EqualityPatterns.family3.label 2) = PairSemantics.raw7749 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node415 PairSemantics.raw7749; decide +kernel rw [heq] exact (PairSemantics.canonical7749 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node415 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node415 (EqualityPatterns.family3.label 3) = PairSemantics.raw917 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node415 PairSemantics.raw917; decide +kernel rw [heq] exact (PairSemantics.canonical917 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node415 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value43 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node415 (EqualityPatterns.family3.label 4) = PairSemantics.raw806 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node415 PairSemantics.raw806; decide +kernel rw [heq] exact (PairSemantics.canonical806 hH).trans (PairSemantics.sound43 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue415, PairSemantics.value0, PairSemantics.value10, PairSemantics.value11, PairSemantics.value43, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue416 : Sparse (Fin 909) := [(0, (19 / 432)), (1, (55 / 216)), (2, (5 / 432)), (3, (-5 / 27))]
theorem singlePair416 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node416 node416Labels = Sparse.eval singlePairValue416 (familyPairVector B) := by have hp := single_label_three B hB node416 have hl : node416Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node416 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node416 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node416 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node416 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node416 (EqualityPatterns.family3.label 1) = PairSemantics.raw5169 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node416 PairSemantics.raw5169; decide +kernel rw [heq] exact (PairSemantics.canonical5169 hH).trans (PairSemantics.sound4 hH) have hm2 : familyPairMoment B (groupedColumns node416 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node416 (EqualityPatterns.family3.label 2) = PairSemantics.raw7738 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node416 PairSemantics.raw7738; decide +kernel rw [heq] exact (PairSemantics.canonical7738 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node416 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node416 (EqualityPatterns.family3.label 3) = PairSemantics.raw914 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node416 PairSemantics.raw914; decide +kernel rw [heq] exact (PairSemantics.canonical914 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node416 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value176 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node416 (EqualityPatterns.family3.label 4) = PairSemantics.raw808 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node416 PairSemantics.raw808; decide +kernel rw [heq] exact (PairSemantics.canonical808 hH).trans (PairSemantics.sound176 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue416, PairSemantics.value0, PairSemantics.value4, PairSemantics.value26, PairSemantics.value65, PairSemantics.value176, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue417 : Sparse (Fin 909) := []
theorem singlePair417 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node417 node417Labels = Sparse.eval singlePairValue417 (familyPairVector B) := by have hp := single_label_three B hB node417 have hl : node417Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node417 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node417 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node417 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node417 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node417 (EqualityPatterns.family3.label 1) = PairSemantics.raw5177 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node417 PairSemantics.raw5177; decide +kernel rw [heq] exact (PairSemantics.canonical5177 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node417 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value5 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node417 (EqualityPatterns.family3.label 2) = PairSemantics.raw7736 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node417 PairSemantics.raw7736; decide +kernel rw [heq] exact (PairSemantics.canonical7736 hH).trans (PairSemantics.sound5 hH) have hm3 : familyPairMoment B (groupedColumns node417 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value26 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node417 (EqualityPatterns.family3.label 3) = PairSemantics.raw914 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node417 PairSemantics.raw914; decide +kernel rw [heq] exact (PairSemantics.canonical914 hH).trans (PairSemantics.sound26 hH) have hm4 : familyPairMoment B (groupedColumns node417 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value271 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node417 (EqualityPatterns.family3.label 4) = PairSemantics.raw809 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node417 PairSemantics.raw809; decide +kernel rw [heq] exact (PairSemantics.canonical809 hH).trans (PairSemantics.sound271 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue417, PairSemantics.value0, PairSemantics.value5, PairSemantics.value11, PairSemantics.value26, PairSemantics.value271, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue418 : Sparse (Fin 909) := []
theorem singlePair418 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node418 node418Labels = Sparse.eval singlePairValue418 (familyPairVector B) := by have hp := single_label_three B hB node418 have hl : node418Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node418 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node418 (EqualityPatterns.family3.label 0) = PairSemantics.raw7979 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node418 PairSemantics.raw7979; decide +kernel rw [heq] exact (PairSemantics.canonical7979 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node418 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node418 (EqualityPatterns.family3.label 1) = PairSemantics.raw5183 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node418 PairSemantics.raw5183; decide +kernel rw [heq] exact (PairSemantics.canonical5183 hH).trans (PairSemantics.sound4 hH) have hm2 : familyPairMoment B (groupedColumns node418 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value5 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node418 (EqualityPatterns.family3.label 2) = PairSemantics.raw7735 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node418 PairSemantics.raw7735; decide +kernel rw [heq] exact (PairSemantics.canonical7735 hH).trans (PairSemantics.sound5 hH) have hm3 : familyPairMoment B (groupedColumns node418 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node418 (EqualityPatterns.family3.label 3) = PairSemantics.raw917 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node418 PairSemantics.raw917; decide +kernel rw [heq] exact (PairSemantics.canonical917 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node418 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value57 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node418 (EqualityPatterns.family3.label 4) = PairSemantics.raw810 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node418 PairSemantics.raw810; decide +kernel rw [heq] exact (PairSemantics.canonical810 hH).trans (PairSemantics.sound57 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue418, PairSemantics.value0, PairSemantics.value4, PairSemantics.value5, PairSemantics.value10, PairSemantics.value57, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue419 : Sparse (Fin 909) := []
theorem singlePair419 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node419 node419Labels = Sparse.eval singlePairValue419 (familyPairVector B) := by have hp := single_label_three B hB node419 have hl : node419Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node419 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node419 (EqualityPatterns.family3.label 0) = PairSemantics.raw7979 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node419 PairSemantics.raw7979; decide +kernel rw [heq] exact (PairSemantics.canonical7979 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node419 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node419 (EqualityPatterns.family3.label 1) = PairSemantics.raw5199 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node419 PairSemantics.raw5199; decide +kernel rw [heq] exact (PairSemantics.canonical5199 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node419 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value5 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node419 (EqualityPatterns.family3.label 2) = PairSemantics.raw7709 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node419 PairSemantics.raw7709; decide +kernel rw [heq] exact (PairSemantics.canonical7709 hH).trans (PairSemantics.sound5 hH) have hm3 : familyPairMoment B (groupedColumns node419 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node419 (EqualityPatterns.family3.label 3) = PairSemantics.raw917 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node419 PairSemantics.raw917; decide +kernel rw [heq] exact (PairSemantics.canonical917 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node419 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value56 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node419 (EqualityPatterns.family3.label 4) = PairSemantics.raw811 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node419 PairSemantics.raw811; decide +kernel rw [heq] exact (PairSemantics.canonical811 hH).trans (PairSemantics.sound56 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue419, PairSemantics.value0, PairSemantics.value5, PairSemantics.value10, PairSemantics.value11, PairSemantics.value56, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue421 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (-5 / 48)), (2, (-5 / 48)), (34, (5 / 9))]
theorem singlePair421 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node421 node421Labels = Sparse.eval singlePairValue421 (familyPairVector B) := by have hp := single_label_three B hB node421 have hl : node421Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node421 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node421 (EqualityPatterns.family3.label 0) = PairSemantics.raw7979 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node421 PairSemantics.raw7979; decide +kernel rw [heq] exact (PairSemantics.canonical7979 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node421 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node421 (EqualityPatterns.family3.label 1) = PairSemantics.raw5218 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node421 PairSemantics.raw5218; decide +kernel rw [heq] exact (PairSemantics.canonical5218 hH).trans (PairSemantics.sound10 hH) have hm2 : familyPairMoment B (groupedColumns node421 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node421 (EqualityPatterns.family3.label 2) = PairSemantics.raw7642 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node421 PairSemantics.raw7642; decide +kernel rw [heq] exact (PairSemantics.canonical7642 hH).trans (PairSemantics.sound10 hH) have hm3 : familyPairMoment B (groupedColumns node421 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node421 (EqualityPatterns.family3.label 3) = PairSemantics.raw917 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node421 PairSemantics.raw917; decide +kernel rw [heq] exact (PairSemantics.canonical917 hH).trans (PairSemantics.sound10 hH) have hm4 : familyPairMoment B (groupedColumns node421 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value21 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node421 (EqualityPatterns.family3.label 4) = PairSemantics.raw814 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node421 PairSemantics.raw814; decide +kernel rw [heq] exact (PairSemantics.canonical814 hH).trans (PairSemantics.sound21 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue421, PairSemantics.value0, PairSemantics.value10, PairSemantics.value21, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue422 : Sparse (Fin 909) := []
theorem singlePair422 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node422 node422Labels = Sparse.eval singlePairValue422 (familyPairVector B) := by have hp := single_label_three B hB node422 have hl : node422Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node422 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node422 (EqualityPatterns.family3.label 0) = PairSemantics.raw7978 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node422 PairSemantics.raw7978; decide +kernel rw [heq] exact (PairSemantics.canonical7978 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node422 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node422 (EqualityPatterns.family3.label 1) = PairSemantics.raw5210 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node422 PairSemantics.raw5210; decide +kernel rw [heq] exact (PairSemantics.canonical5210 hH).trans (PairSemantics.sound4 hH) have hm2 : familyPairMoment B (groupedColumns node422 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value5 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node422 (EqualityPatterns.family3.label 2) = PairSemantics.raw7718 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node422 PairSemantics.raw7718; decide +kernel rw [heq] exact (PairSemantics.canonical7718 hH).trans (PairSemantics.sound5 hH) have hm3 : familyPairMoment B (groupedColumns node422 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value3 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node422 (EqualityPatterns.family3.label 3) = PairSemantics.raw926 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node422 PairSemantics.raw926; decide +kernel rw [heq] exact (PairSemantics.canonical926 hH).trans (PairSemantics.sound3 hH) have hm4 : familyPairMoment B (groupedColumns node422 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value10 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node422 (EqualityPatterns.family3.label 4) = PairSemantics.raw816 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node422 PairSemantics.raw816; decide +kernel rw [heq] exact (PairSemantics.canonical816 hH).trans (PairSemantics.sound10 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue422, PairSemantics.value0, PairSemantics.value3, PairSemantics.value4, PairSemantics.value5, PairSemantics.value10, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue423 : Sparse (Fin 909) := [(0, (1 / 24)), (1, (5 / 432)), (2, (5 / 144)), (5, (-5 / 108)), (31, (5 / 18)), (51, (5 / 9)), (68, (5 / 18)), (124, (5 / 18)), (126, (5 / 9)), (236, (5 / 18))]
theorem singlePair423 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node423 node423Labels = Sparse.eval singlePairValue423 (familyPairVector B) := by have hp := single_label_three B hB node423 have hl : node423Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node423 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node423 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node423 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node423 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node423 (EqualityPatterns.family3.label 1) = PairSemantics.raw5123 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node423 PairSemantics.raw5123; decide +kernel rw [heq] exact (PairSemantics.canonical5123 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node423 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node423 (EqualityPatterns.family3.label 2) = PairSemantics.raw9012 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node423 PairSemantics.raw9012; decide +kernel rw [heq] exact (PairSemantics.canonical9012 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node423 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value715 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node423 (EqualityPatterns.family3.label 3) = PairSemantics.raw5102 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node423 PairSemantics.raw5102; decide +kernel rw [heq] exact (PairSemantics.canonical5102 hH).trans (PairSemantics.sound715 hH) have hm4 : familyPairMoment B (groupedColumns node423 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2653 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node423 (EqualityPatterns.family3.label 4) = PairSemantics.raw3864 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node423 PairSemantics.raw3864; decide +kernel rw [heq] exact (PairSemantics.canonical3864 hH).trans (PairSemantics.sound2653 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue423, PairSemantics.value0, PairSemantics.value46, PairSemantics.value65, PairSemantics.value715, PairSemantics.value2653, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue424 : Sparse (Fin 909) := [(0, (1 / 32)), (1, (5 / 432)), (2, (5 / 96)), (3, (-10 / 27)), (4, (-5 / 54)), (5, (-5 / 72)), (7, (-5 / 27)), (12, (-5 / 54)), (23, (5 / 9)), (24, (5 / 9)), (51, (5 / 18)), (55, (5 / 9)), (68, (5 / 18)), (124, (5 / 18)), (125, (5 / 18)), (126, (5 / 18)), (197, (5 / 18))]
theorem singlePair424 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node424 node424Labels = Sparse.eval singlePairValue424 (familyPairVector B) := by have hp := single_label_three B hB node424 have hl : node424Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node424 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node424 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node424 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node424 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node424 (EqualityPatterns.family3.label 1) = PairSemantics.raw5126 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node424 PairSemantics.raw5126; decide +kernel rw [heq] exact (PairSemantics.canonical5126 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node424 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node424 (EqualityPatterns.family3.label 2) = PairSemantics.raw9009 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node424 PairSemantics.raw9009; decide +kernel rw [heq] exact (PairSemantics.canonical9009 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node424 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value715 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node424 (EqualityPatterns.family3.label 3) = PairSemantics.raw5102 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node424 PairSemantics.raw5102; decide +kernel rw [heq] exact (PairSemantics.canonical5102 hH).trans (PairSemantics.sound715 hH) have hm4 : familyPairMoment B (groupedColumns node424 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2115 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node424 (EqualityPatterns.family3.label 4) = PairSemantics.raw3865 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node424 PairSemantics.raw3865; decide +kernel rw [heq] exact (PairSemantics.canonical3865 hH).trans (PairSemantics.sound2115 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue424, PairSemantics.value0, PairSemantics.value11, PairSemantics.value46, PairSemantics.value715, PairSemantics.value2115, Sparse.eval] at hp ⊢ linarith only [hp]
end MUB6.Certificate.MixedSemantics
end OAI12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088import OAI.Analysis.MutuallyUnbiased.MixedSemantics.GroupedColumnsimport OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes6import OAI.Analysis.MutuallyUnbiased.MixedSemantics.SingleRulesimport OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical120import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical121import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical159import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical160import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical161import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical249import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical280import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical281import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical282import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound0import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound10import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound11import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound17import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound3import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound32import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound33import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound41import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound9
namespace OAI
namespace MUB6.Certificate.MixedSemantics
open scoped BigOperators
def singlePairValue425 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (25 / 216)), (2, (-5 / 108)), (5, (-5 / 108)), (8, (-5 / 27)), (24, (5 / 9)), (27, (-5 / 36)), (30, (5 / 9)), (68, (5 / 18)), (126, (5 / 9)), (236, (5 / 9))]
theorem singlePair425 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node425 node425Labels = Sparse.eval singlePairValue425 (familyPairVector B) := by have hp := single_label_three B hB node425 have hl : node425Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node425 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node425 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node425 PairSemantics.raw7982 decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node425 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node425 (EqualityPatterns.family3.label 1) = PairSemantics.raw5127 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node425 PairSemantics.raw5127 decide +kernel rw [heq] exact (PairSemantics.canonical5127 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node425 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node425 (EqualityPatterns.family3.label 2) = PairSemantics.raw9007 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node425 PairSemantics.raw9007 decide +kernel rw [heq] exact (PairSemantics.canonical9007 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node425 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value715 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node425 (EqualityPatterns.family3.label 3) = PairSemantics.raw5102 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node425 PairSemantics.raw5102 decide +kernel rw [heq] exact (PairSemantics.canonical5102 hH).trans (PairSemantics.sound715 hH) have hm4 : familyPairMoment B (groupedColumns node425 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2648 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node425 (EqualityPatterns.family3.label 4) = PairSemantics.raw3866 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node425 PairSemantics.raw3866 decide +kernel rw [heq] exact (PairSemantics.canonical3866 hH).trans (PairSemantics.sound2648 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue425, PairSemantics.value0, PairSemantics.value65, PairSemantics.value232, PairSemantics.value715, PairSemantics.value2648, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue426 : Sparse (Fin 909) := [(0, (5 / 288)), (1, (35 / 432)), (2, (5 / 96)), (3, (-5 / 27)), (4, (-5 / 54)), (5, (-5 / 54)), (12, (-5 / 54)), (27, (5 / 72)), (31, (5 / 18)), (51, (5 / 9)), (55, (5 / 18)), (68, (5 / 18)), (194, (-5 / 9)), (486, (-5 / 9)), (487, (-5 / 9))]
theorem singlePair426 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node426 node426Labels = Sparse.eval singlePairValue426 (familyPairVector B) := by have hp := single_label_three B hB node426 have hl : node426Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node426 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node426 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node426 PairSemantics.raw7982 decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node426 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node426 (EqualityPatterns.family3.label 1) = PairSemantics.raw5130 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node426 PairSemantics.raw5130 decide +kernel rw [heq] exact (PairSemantics.canonical5130 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node426 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node426 (EqualityPatterns.family3.label 2) = PairSemantics.raw9003 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node426 PairSemantics.raw9003 decide +kernel rw [heq] exact (PairSemantics.canonical9003 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node426 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value715 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node426 (EqualityPatterns.family3.label 3) = PairSemantics.raw5102 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node426 PairSemantics.raw5102 decide +kernel rw [heq] exact (PairSemantics.canonical5102 hH).trans (PairSemantics.sound715 hH) have hm4 : familyPairMoment B (groupedColumns node426 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2089 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node426 (EqualityPatterns.family3.label 4) = PairSemantics.raw3867 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node426 PairSemantics.raw3867 decide +kernel rw [heq] exact (PairSemantics.canonical3867 hH).trans (PairSemantics.sound2089 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue426, PairSemantics.value0, PairSemantics.value46, PairSemantics.value232, PairSemantics.value715, PairSemantics.value2089, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue427 : Sparse (Fin 909) := [(0, (1 / 48)), (1, (-5 / 288)), (2, (25 / 288)), (3, (-5 / 54)), (5, (-5 / 54)), (12, (-5 / 54)), (23, (5 / 9)), (24, (5 / 18)), (25, (5 / 18)), (27, (5 / 72)), (54, (5 / 18)), (55, (5 / 18)), (68, (5 / 18)), (195, (-5 / 9)), (263, (-5 / 9)), (487, (-5 / 9))]
theorem singlePair427 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node427 node427Labels = Sparse.eval singlePairValue427 (familyPairVector B) := by have hp := single_label_three B hB node427 have hl : node427Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node427 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node427 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node427 PairSemantics.raw7982 decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node427 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node427 (EqualityPatterns.family3.label 1) = PairSemantics.raw5134 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node427 PairSemantics.raw5134 decide +kernel rw [heq] exact (PairSemantics.canonical5134 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node427 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node427 (EqualityPatterns.family3.label 2) = PairSemantics.raw8996 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node427 PairSemantics.raw8996 decide +kernel rw [heq] exact (PairSemantics.canonical8996 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node427 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value715 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node427 (EqualityPatterns.family3.label 3) = PairSemantics.raw5102 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node427 PairSemantics.raw5102 decide +kernel rw [heq] exact (PairSemantics.canonical5102 hH).trans (PairSemantics.sound715 hH) have hm4 : familyPairMoment B (groupedColumns node427 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2090 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node427 (EqualityPatterns.family3.label 4) = PairSemantics.raw3868 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node427 PairSemantics.raw3868 decide +kernel rw [heq] exact (PairSemantics.canonical3868 hH).trans (PairSemantics.sound2090 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue427, PairSemantics.value0, PairSemantics.value46, PairSemantics.value715, PairSemantics.value2090, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue428 : Sparse (Fin 909) := [(0, (7 / 432)), (1, (5 / 36)), (2, (-25 / 432)), (23, (5 / 9)), (24, (10 / 9)), (27, (-5 / 18)), (30, (5 / 9)), (55, (5 / 9)), (194, (-5 / 9))]
theorem singlePair428 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node428 node428Labels = Sparse.eval singlePairValue428 (familyPairVector B) := by have hp := single_label_three B hB node428 have hl : node428Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node428 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node428 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node428 PairSemantics.raw7982 decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node428 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node428 (EqualityPatterns.family3.label 1) = PairSemantics.raw5138 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node428 PairSemantics.raw5138 decide +kernel rw [heq] exact (PairSemantics.canonical5138 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node428 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node428 (EqualityPatterns.family3.label 2) = PairSemantics.raw9003 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node428 PairSemantics.raw9003 decide +kernel rw [heq] exact (PairSemantics.canonical9003 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node428 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value45 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node428 (EqualityPatterns.family3.label 3) = PairSemantics.raw5104 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node428 PairSemantics.raw5104 decide +kernel rw [heq] exact (PairSemantics.canonical5104 hH).trans (PairSemantics.sound45 hH) have hm4 : familyPairMoment B (groupedColumns node428 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2092 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node428 (EqualityPatterns.family3.label 4) = PairSemantics.raw3869 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node428 PairSemantics.raw3869 decide +kernel rw [heq] exact (PairSemantics.canonical3869 hH).trans (PairSemantics.sound2092 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue428, PairSemantics.value0, PairSemantics.value45, PairSemantics.value232, PairSemantics.value2092, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue429 : Sparse (Fin 909) := [(0, (5 / 108)), (2, (-5 / 72)), (3, (-5 / 18)), (5, (5 / 54)), (7, (-5 / 54)), (8, (-5 / 54)), (12, (-5 / 54)), (23, (5 / 18)), (24, (5 / 18)), (27, (-5 / 24)), (55, (5 / 18))]
theorem singlePair429 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node429 node429Labels = Sparse.eval singlePairValue429 (familyPairVector B) := by have hp := single_label_three B hB node429 have hl : node429Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node429 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node429 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node429 PairSemantics.raw7982 decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node429 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node429 (EqualityPatterns.family3.label 1) = PairSemantics.raw5134 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node429 PairSemantics.raw5134 decide +kernel rw [heq] exact (PairSemantics.canonical5134 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node429 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node429 (EqualityPatterns.family3.label 2) = PairSemantics.raw9012 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node429 PairSemantics.raw9012 decide +kernel rw [heq] exact (PairSemantics.canonical9012 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node429 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node429 (EqualityPatterns.family3.label 3) = PairSemantics.raw5105 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node429 PairSemantics.raw5105 decide +kernel rw [heq] exact (PairSemantics.canonical5105 hH).trans (PairSemantics.sound231 hH) have hm4 : familyPairMoment B (groupedColumns node429 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2663 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node429 (EqualityPatterns.family3.label 4) = PairSemantics.raw3870 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node429 PairSemantics.raw3870 decide +kernel rw [heq] exact (PairSemantics.canonical3870 hH).trans (PairSemantics.sound2663 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue429, PairSemantics.value0, PairSemantics.value46, PairSemantics.value65, PairSemantics.value231, PairSemantics.value2663, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue430 : Sparse (Fin 909) := [(0, (1 / 48)), (1, (155 / 864)), (2, (-115 / 864)), (3, (-5 / 27)), (4, (-5 / 54)), (5, (5 / 72)), (7, (-5 / 54)), (8, (-5 / 54)), (24, (5 / 18)), (27, (-5 / 18)), (30, (5 / 18)), (31, (5 / 18)), (51, (5 / 18))]
theorem singlePair430 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node430 node430Labels = Sparse.eval singlePairValue430 (familyPairVector B) := by have hp := single_label_three B hB node430 have hl : node430Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node430 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node430 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node430 PairSemantics.raw7982 decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node430 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node430 (EqualityPatterns.family3.label 1) = PairSemantics.raw5135 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node430 PairSemantics.raw5135 decide +kernel rw [heq] exact (PairSemantics.canonical5135 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node430 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node430 (EqualityPatterns.family3.label 2) = PairSemantics.raw9010 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node430 PairSemantics.raw9010 decide +kernel rw [heq] exact (PairSemantics.canonical9010 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node430 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node430 (EqualityPatterns.family3.label 3) = PairSemantics.raw5105 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node430 PairSemantics.raw5105 decide +kernel rw [heq] exact (PairSemantics.canonical5105 hH).trans (PairSemantics.sound231 hH) have hm4 : familyPairMoment B (groupedColumns node430 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2656 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node430 (EqualityPatterns.family3.label 4) = PairSemantics.raw3871 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node430 PairSemantics.raw3871 decide +kernel rw [heq] exact (PairSemantics.canonical3871 hH).trans (PairSemantics.sound2656 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue430, PairSemantics.value0, PairSemantics.value65, PairSemantics.value231, PairSemantics.value232, PairSemantics.value2656, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue431 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (5 / 36)), (2, (-5 / 48)), (3, (-5 / 9)), (4, (-5 / 27)), (5, (5 / 108)), (7, (-5 / 54)), (8, (-5 / 54)), (12, (-5 / 18)), (23, (5 / 18)), (24, (5 / 18)), (27, (-5 / 36)), (51, (5 / 9)), (55, (5 / 9))]
theorem singlePair431 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node431 node431Labels = Sparse.eval singlePairValue431 (familyPairVector B) := by have hp := single_label_three B hB node431 have hl : node431Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node431 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node431 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node431 PairSemantics.raw7982 decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node431 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node431 (EqualityPatterns.family3.label 1) = PairSemantics.raw5140 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node431 PairSemantics.raw5140 decide +kernel rw [heq] exact (PairSemantics.canonical5140 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node431 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node431 (EqualityPatterns.family3.label 2) = PairSemantics.raw9006 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node431 PairSemantics.raw9006 decide +kernel rw [heq] exact (PairSemantics.canonical9006 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node431 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node431 (EqualityPatterns.family3.label 3) = PairSemantics.raw5105 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node431 PairSemantics.raw5105 decide +kernel rw [heq] exact (PairSemantics.canonical5105 hH).trans (PairSemantics.sound231 hH) have hm4 : familyPairMoment B (groupedColumns node431 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2130 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node431 (EqualityPatterns.family3.label 4) = PairSemantics.raw3872 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node431 PairSemantics.raw3872 decide +kernel rw [heq] exact (PairSemantics.canonical3872 hH).trans (PairSemantics.sound2130 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue431, PairSemantics.value0, PairSemantics.value11, PairSemantics.value231, PairSemantics.value232, PairSemantics.value2130, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue432 : Sparse (Fin 909) := [(0, (1 / 32)), (1, (-5 / 72)), (2, (5 / 288)), (23, (-5 / 18)), (24, (-5 / 18)), (27, (5 / 24)), (55, (-5 / 18))]
theorem singlePair432 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node432 node432Labels = Sparse.eval singlePairValue432 (familyPairVector B) := by have hp := single_label_three B hB node432 have hl : node432Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node432 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node432 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node432 PairSemantics.raw7981 decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node432 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node432 (EqualityPatterns.family3.label 1) = PairSemantics.raw5136 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node432 PairSemantics.raw5136 decide +kernel rw [heq] exact (PairSemantics.canonical5136 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node432 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node432 (EqualityPatterns.family3.label 2) = PairSemantics.raw9015 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node432 PairSemantics.raw9015 decide +kernel rw [heq] exact (PairSemantics.canonical9015 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node432 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value45 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node432 (EqualityPatterns.family3.label 3) = PairSemantics.raw5106 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node432 PairSemantics.raw5106 decide +kernel rw [heq] exact (PairSemantics.canonical5106 hH).trans (PairSemantics.sound45 hH) have hm4 : familyPairMoment B (groupedColumns node432 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value647 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node432 (EqualityPatterns.family3.label 4) = PairSemantics.raw3873 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node432 PairSemantics.raw3873 decide +kernel rw [heq] exact (PairSemantics.canonical3873 hH).trans (PairSemantics.sound647 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue432, PairSemantics.value0, PairSemantics.value11, PairSemantics.value45, PairSemantics.value46, PairSemantics.value647, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue433 : Sparse (Fin 909) := [(0, (7 / 216)), (1, (5 / 216)), (24, (-5 / 18)), (27, (5 / 18)), (30, (-5 / 18))]
theorem singlePair433 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node433 node433Labels = Sparse.eval singlePairValue433 (familyPairVector B) := by have hp := single_label_three B hB node433 have hl : node433Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node433 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node433 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node433 PairSemantics.raw7981 decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node433 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node433 (EqualityPatterns.family3.label 1) = PairSemantics.raw5139 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node433 PairSemantics.raw5139 decide +kernel rw [heq] exact (PairSemantics.canonical5139 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node433 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node433 (EqualityPatterns.family3.label 2) = PairSemantics.raw9011 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node433 PairSemantics.raw9011 decide +kernel rw [heq] exact (PairSemantics.canonical9011 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node433 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value45 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node433 (EqualityPatterns.family3.label 3) = PairSemantics.raw5106 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node433 PairSemantics.raw5106 decide +kernel rw [heq] exact (PairSemantics.canonical5106 hH).trans (PairSemantics.sound45 hH) have hm4 : familyPairMoment B (groupedColumns node433 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1131 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node433 (EqualityPatterns.family3.label 4) = PairSemantics.raw3874 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node433 PairSemantics.raw3874 decide +kernel rw [heq] exact (PairSemantics.canonical3874 hH).trans (PairSemantics.sound1131 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue433, PairSemantics.value0, PairSemantics.value45, PairSemantics.value65, PairSemantics.value232, PairSemantics.value1131, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue434 : Sparse (Fin 909) := [(0, (7 / 216)), (1, (25 / 432)), (2, (-5 / 432)), (3, (-35 / 54)), (4, (-5 / 54)), (5, (5 / 216)), (12, (-10 / 27)), (13, (-25 / 54)), (27, (-5 / 72)), (33, (5 / 9)), (51, (5 / 18)), (55, (5 / 18)), (59, (5 / 18)), (61, (5 / 18)), (194, (-5 / 9))]
theorem singlePair434 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node434 node434Labels = Sparse.eval singlePairValue434 (familyPairVector B) := by have hp := single_label_three B hB node434 have hl : node434Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node434 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node434 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node434 PairSemantics.raw7982 decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node434 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node434 (EqualityPatterns.family3.label 1) = PairSemantics.raw5148 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node434 PairSemantics.raw5148 decide +kernel rw [heq] exact (PairSemantics.canonical5148 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node434 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node434 (EqualityPatterns.family3.label 2) = PairSemantics.raw8993 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node434 PairSemantics.raw8993 decide +kernel rw [heq] exact (PairSemantics.canonical8993 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node434 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node434 (EqualityPatterns.family3.label 3) = PairSemantics.raw5105 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node434 PairSemantics.raw5105 decide +kernel rw [heq] exact (PairSemantics.canonical5105 hH).trans (PairSemantics.sound231 hH) have hm4 : familyPairMoment B (groupedColumns node434 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2091 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node434 (EqualityPatterns.family3.label 4) = PairSemantics.raw3875 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node434 PairSemantics.raw3875 decide +kernel rw [heq] exact (PairSemantics.canonical3875 hH).trans (PairSemantics.sound2091 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue434, PairSemantics.value0, PairSemantics.value46, PairSemantics.value231, PairSemantics.value2091, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue435 : Sparse (Fin 909) := [(0, (5 / 216)), (1, (-5 / 108)), (2, (5 / 216)), (27, (5 / 36)), (194, (5 / 9))]
theorem singlePair435 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node435 node435Labels = Sparse.eval singlePairValue435 (familyPairVector B) := by have hp := single_label_three B hB node435 have hl : node435Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node435 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node435 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node435 PairSemantics.raw7981 decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node435 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node435 (EqualityPatterns.family3.label 1) = PairSemantics.raw5147 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node435 PairSemantics.raw5147 decide +kernel rw [heq] exact (PairSemantics.canonical5147 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node435 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node435 (EqualityPatterns.family3.label 2) = PairSemantics.raw8998 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node435 PairSemantics.raw8998 decide +kernel rw [heq] exact (PairSemantics.canonical8998 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node435 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value45 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node435 (EqualityPatterns.family3.label 3) = PairSemantics.raw5106 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node435 PairSemantics.raw5106 decide +kernel rw [heq] exact (PairSemantics.canonical5106 hH).trans (PairSemantics.sound45 hH) have hm4 : familyPairMoment B (groupedColumns node435 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value622 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node435 (EqualityPatterns.family3.label 4) = PairSemantics.raw3876 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node435 PairSemantics.raw3876 decide +kernel rw [heq] exact (PairSemantics.canonical3876 hH).trans (PairSemantics.sound622 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue435, PairSemantics.value0, PairSemantics.value45, PairSemantics.value46, PairSemantics.value622, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue436 : Sparse (Fin 909) := [(0, (19 / 432)), (2, (25 / 432)), (3, (-5 / 18)), (4, (-5 / 27)), (5, (-5 / 108)), (12, (-5 / 54)), (27, (5 / 72)), (31, (5 / 9)), (51, (5 / 9)), (55, (5 / 18))]
theorem singlePair436 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node436 node436Labels = Sparse.eval singlePairValue436 (familyPairVector B) := by have hp := single_label_three B hB node436 have hl : node436Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node436 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node436 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node436 PairSemantics.raw7982 decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node436 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node436 (EqualityPatterns.family3.label 1) = PairSemantics.raw5123 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node436 PairSemantics.raw5123 decide +kernel rw [heq] exact (PairSemantics.canonical5123 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node436 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node436 (EqualityPatterns.family3.label 2) = PairSemantics.raw9031 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node436 PairSemantics.raw9031 decide +kernel rw [heq] exact (PairSemantics.canonical9031 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node436 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value716 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node436 (EqualityPatterns.family3.label 3) = PairSemantics.raw5109 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node436 PairSemantics.raw5109 decide +kernel rw [heq] exact (PairSemantics.canonical5109 hH).trans (PairSemantics.sound716 hH) have hm4 : familyPairMoment B (groupedColumns node436 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2668 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node436 (EqualityPatterns.family3.label 4) = PairSemantics.raw3877 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node436 PairSemantics.raw3877 decide +kernel rw [heq] exact (PairSemantics.canonical3877 hH).trans (PairSemantics.sound2668 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue436, PairSemantics.value0, PairSemantics.value46, PairSemantics.value65, PairSemantics.value716, PairSemantics.value2668, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue437 : Sparse (Fin 909) := [(0, (35 / 864)), (1, (-5 / 144)), (2, (5 / 864)), (5, (5 / 216)), (31, (-5 / 18)), (51, (-5 / 18))]
theorem singlePair437 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node437 node437Labels = Sparse.eval singlePairValue437 (familyPairVector B) := by have hp := single_label_three B hB node437 have hl : node437Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node437 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node437 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node437 PairSemantics.raw7981 decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node437 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node437 (EqualityPatterns.family3.label 1) = PairSemantics.raw5131 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node437 PairSemantics.raw5131 decide +kernel rw [heq] exact (PairSemantics.canonical5131 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node437 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node437 (EqualityPatterns.family3.label 2) = PairSemantics.raw9025 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node437 PairSemantics.raw9025 decide +kernel rw [heq] exact (PairSemantics.canonical9025 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node437 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node437 (EqualityPatterns.family3.label 3) = PairSemantics.raw5110 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node437 PairSemantics.raw5110 decide +kernel rw [heq] exact (PairSemantics.canonical5110 hH).trans (PairSemantics.sound231 hH) have hm4 : familyPairMoment B (groupedColumns node437 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1136 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node437 (EqualityPatterns.family3.label 4) = PairSemantics.raw3878 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node437 PairSemantics.raw3878 decide +kernel rw [heq] exact (PairSemantics.canonical3878 hH).trans (PairSemantics.sound1136 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue437, PairSemantics.value0, PairSemantics.value46, PairSemantics.value65, PairSemantics.value231, PairSemantics.value1136, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue438 : Sparse (Fin 909) := [(0, (7 / 216)), (1, (-35 / 432)), (2, (-5 / 432)), (3, (5 / 27)), (4, (5 / 54)), (5, (5 / 216)), (12, (5 / 54)), (27, (-5 / 72)), (51, (-5 / 18)), (55, (-5 / 18))]
theorem singlePair438 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node438 node438Labels = Sparse.eval singlePairValue438 (familyPairVector B) := by have hp := single_label_three B hB node438 have hl : node438Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node438 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node438 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node438 PairSemantics.raw7981 decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node438 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node438 (EqualityPatterns.family3.label 1) = PairSemantics.raw5142 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node438 PairSemantics.raw5142 decide +kernel rw [heq] exact (PairSemantics.canonical5142 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node438 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node438 (EqualityPatterns.family3.label 2) = PairSemantics.raw9018 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node438 PairSemantics.raw9018 decide +kernel rw [heq] exact (PairSemantics.canonical9018 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node438 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node438 (EqualityPatterns.family3.label 3) = PairSemantics.raw5110 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node438 PairSemantics.raw5110 decide +kernel rw [heq] exact (PairSemantics.canonical5110 hH).trans (PairSemantics.sound231 hH) have hm4 : familyPairMoment B (groupedColumns node438 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value660 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node438 (EqualityPatterns.family3.label 4) = PairSemantics.raw3879 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node438 PairSemantics.raw3879 decide +kernel rw [heq] exact (PairSemantics.canonical3879 hH).trans (PairSemantics.sound660 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue438, PairSemantics.value0, PairSemantics.value11, PairSemantics.value46, PairSemantics.value231, PairSemantics.value660, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue439 : Sparse (Fin 909) := [(0, (7 / 288)), (1, (55 / 432)), (2, (55 / 864)), (3, (-10 / 27)), (5, (-5 / 54)), (7, (-5 / 27)), (12, (-5 / 27)), (23, (5 / 9)), (25, (5 / 18)), (27, (5 / 36)), (54, (5 / 9)), (68, (5 / 18)), (124, (5 / 18)), (125, (5 / 9)), (196, (5 / 18))]
theorem singlePair439 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node439 node439Labels = Sparse.eval singlePairValue439 (familyPairVector B) := by have hp := single_label_three B hB node439 have hl : node439Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node439 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node439 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node439 PairSemantics.raw7982 decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node439 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node439 (EqualityPatterns.family3.label 1) = PairSemantics.raw5155 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node439 PairSemantics.raw5155 decide +kernel rw [heq] exact (PairSemantics.canonical5155 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node439 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node439 (EqualityPatterns.family3.label 2) = PairSemantics.raw8970 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node439 PairSemantics.raw8970 decide +kernel rw [heq] exact (PairSemantics.canonical8970 hH).trans (PairSemantics.sound4 hH) have hm3 : familyPairMoment B (groupedColumns node439 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value715 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node439 (EqualityPatterns.family3.label 3) = PairSemantics.raw5102 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node439 PairSemantics.raw5102 decide +kernel rw [heq] exact (PairSemantics.canonical5102 hH).trans (PairSemantics.sound715 hH) have hm4 : familyPairMoment B (groupedColumns node439 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2112 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node439 (EqualityPatterns.family3.label 4) = PairSemantics.raw3880 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node439 PairSemantics.raw3880 decide +kernel rw [heq] exact (PairSemantics.canonical3880 hH).trans (PairSemantics.sound2112 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue439, PairSemantics.value0, PairSemantics.value4, PairSemantics.value46, PairSemantics.value715, PairSemantics.value2112, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue440 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (-5 / 216)), (2, (5 / 432)), (23, (5 / 9)), (24, (5 / 9)), (55, (10 / 9)), (63, (5 / 9)), (65, (5 / 9))]
theorem singlePair440 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node440 node440Labels = Sparse.eval singlePairValue440 (familyPairVector B) := by have hp := single_label_three B hB node440 have hl : node440Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node440 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node440 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext unfold node440 PairSemantics.raw7982 decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node440 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node440 (EqualityPatterns.family3.label 1) = PairSemantics.raw5155 := by rw [groupedColumns_family3_1] apply Matrix.ext unfold node440 PairSemantics.raw5155 decide +kernel rw [heq] exact (PairSemantics.canonical5155 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node440 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node440 (EqualityPatterns.family3.label 2) = PairSemantics.raw8975 := by rw [groupedColumns_family3_2] apply Matrix.ext unfold node440 PairSemantics.raw8975 decide +kernel rw [heq] exact (PairSemantics.canonical8975 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node440 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value45 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node440 (EqualityPatterns.family3.label 3) = PairSemantics.raw5104 := by rw [groupedColumns_family3_3] apply Matrix.ext unfold node440 PairSemantics.raw5104 decide +kernel rw [heq] exact (PairSemantics.canonical5104 hH).trans (PairSemantics.sound45 hH) have hm4 : familyPairMoment B (groupedColumns node440 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2095 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node440 (EqualityPatterns.family3.label 4) = PairSemantics.raw3881 := by rw [groupedColumns_family3_4] apply Matrix.ext unfold node440 PairSemantics.raw3881 decide +kernel rw [heq] exact (PairSemantics.canonical3881 hH).trans (PairSemantics.sound2095 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue440, PairSemantics.value0, PairSemantics.value45, PairSemantics.value46, PairSemantics.value2095, Sparse.eval] at hp ⊢ linarith only [hp]
end MUB6.Certificate.MixedSemantics
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928import OAI.Analysis.MutuallyUnbiased.MixedSemantics.GroupedColumnsimport OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes6import OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes7import OAI.Analysis.MutuallyUnbiased.MixedSemantics.SingleRulesimport OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical121import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical122import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical159import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical160import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical161import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical249import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical280import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical282import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound0import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound10import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound11import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound3import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound32import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound33import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound35import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound41import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound9
namespace OAI
namespace MUB6.Certificate.MixedSemantics
open scoped BigOperators
def singlePairValue441 : Sparse (Fin 909) := [(0, (11 / 288)), (1, (25 / 864)), (2, (-5 / 144)), (3, (-35 / 54)), (4, (-5 / 54)), (5, (5 / 108)), (7, (-5 / 27)), (12, (-5 / 18)), (13, (-5 / 54)), (23, (5 / 9)), (24, (5 / 18)), (25, (5 / 18)), (26, (-5 / 54)), (27, (-5 / 36)), (35, (-5 / 54)), (54, (5 / 18)), (55, (5 / 18))]
theorem singlePair441 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node441 node441Labels = Sparse.eval singlePairValue441 (familyPairVector B) := by have hp := single_label_three B hB node441 have hl : node441Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node441 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node441 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node441 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node441 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node441 (EqualityPatterns.family3.label 1) = PairSemantics.raw5153 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node441 PairSemantics.raw5153; decide +kernel rw [heq] exact (PairSemantics.canonical5153 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node441 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node441 (EqualityPatterns.family3.label 2) = PairSemantics.raw8982 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node441 PairSemantics.raw8982; decide +kernel rw [heq] exact (PairSemantics.canonical8982 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node441 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node441 (EqualityPatterns.family3.label 3) = PairSemantics.raw5105 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node441 PairSemantics.raw5105; decide +kernel rw [heq] exact (PairSemantics.canonical5105 hH).trans (PairSemantics.sound231 hH) have hm4 : familyPairMoment B (groupedColumns node441 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2121 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node441 (EqualityPatterns.family3.label 4) = PairSemantics.raw3882 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node441 PairSemantics.raw3882; decide +kernel rw [heq] exact (PairSemantics.canonical3882 hH).trans (PairSemantics.sound2121 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue441, PairSemantics.value0, PairSemantics.value11, PairSemantics.value46, PairSemantics.value231, PairSemantics.value2121, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue442 : Sparse (Fin 909) := [(0, (19 / 864)), (1, (155 / 864)), (2, (-5 / 48)), (3, (-5 / 6)), (4, (-10 / 27)), (5, (5 / 108)), (7, (-5 / 18)), (12, (-5 / 54)), (23, (5 / 18)), (24, (5 / 9)), (26, (-5 / 27)), (27, (-5 / 36)), (35, (-5 / 54)), (55, (5 / 18))]
theorem singlePair442 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node442 node442Labels = Sparse.eval singlePairValue442 (familyPairVector B) := by have hp := single_label_three B hB node442 have hl : node442Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node442 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node442 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node442 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node442 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node442 (EqualityPatterns.family3.label 1) = PairSemantics.raw5156 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node442 PairSemantics.raw5156; decide +kernel rw [heq] exact (PairSemantics.canonical5156 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node442 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node442 (EqualityPatterns.family3.label 2) = PairSemantics.raw8977 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node442 PairSemantics.raw8977; decide +kernel rw [heq] exact (PairSemantics.canonical8977 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node442 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node442 (EqualityPatterns.family3.label 3) = PairSemantics.raw5105 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node442 PairSemantics.raw5105; decide +kernel rw [heq] exact (PairSemantics.canonical5105 hH).trans (PairSemantics.sound231 hH) have hm4 : familyPairMoment B (groupedColumns node442 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2119 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node442 (EqualityPatterns.family3.label 4) = PairSemantics.raw3883 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node442 PairSemantics.raw3883; decide +kernel rw [heq] exact (PairSemantics.canonical3883 hH).trans (PairSemantics.sound2119 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue442, PairSemantics.value0, PairSemantics.value11, PairSemantics.value231, PairSemantics.value232, PairSemantics.value2119, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue443 : Sparse (Fin 909) := [(0, (1 / 32)), (1, (5 / 432)), (2, (-5 / 288)), (3, (-5 / 9)), (4, (-5 / 54)), (5, (5 / 216)), (7, (-5 / 54)), (12, (-5 / 18)), (23, (5 / 9)), (25, (5 / 9)), (26, (-5 / 54)), (27, (-5 / 72)), (33, (5 / 9)), (51, (5 / 18)), (54, (5 / 9)), (55, (5 / 18)), (63, (5 / 18)), (64, (5 / 18)), (65, (5 / 18))]
theorem singlePair443 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node443 node443Labels = Sparse.eval singlePairValue443 (familyPairVector B) := by have hp := single_label_three B hB node443 have hl : node443Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node443 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node443 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node443 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node443 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node443 (EqualityPatterns.family3.label 1) = PairSemantics.raw5158 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node443 PairSemantics.raw5158; decide +kernel rw [heq] exact (PairSemantics.canonical5158 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node443 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node443 (EqualityPatterns.family3.label 2) = PairSemantics.raw8976 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node443 PairSemantics.raw8976; decide +kernel rw [heq] exact (PairSemantics.canonical8976 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node443 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node443 (EqualityPatterns.family3.label 3) = PairSemantics.raw5105 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node443 PairSemantics.raw5105; decide +kernel rw [heq] exact (PairSemantics.canonical5105 hH).trans (PairSemantics.sound231 hH) have hm4 : familyPairMoment B (groupedColumns node443 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2096 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node443 (EqualityPatterns.family3.label 4) = PairSemantics.raw3884 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node443 PairSemantics.raw3884; decide +kernel rw [heq] exact (PairSemantics.canonical3884 hH).trans (PairSemantics.sound2096 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue443, PairSemantics.value0, PairSemantics.value46, PairSemantics.value231, PairSemantics.value2096, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue444 : Sparse (Fin 909) := [(0, (1 / 27)), (1, (-5 / 144)), (2, (5 / 48)), (3, (-5 / 9)), (4, (-5 / 18)), (5, (-5 / 72)), (12, (-5 / 27)), (23, (5 / 18)), (25, (5 / 9)), (26, (-5 / 27)), (27, (5 / 24)), (31, (5 / 18)), (33, (5 / 9)), (54, (5 / 9)), (65, (5 / 18)), (195, (-5 / 9))]
theorem singlePair444 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node444 node444Labels = Sparse.eval singlePairValue444 (familyPairVector B) := by have hp := single_label_three B hB node444 have hl : node444Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node444 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node444 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node444 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node444 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node444 (EqualityPatterns.family3.label 1) = PairSemantics.raw5153 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node444 PairSemantics.raw5153; decide +kernel rw [heq] exact (PairSemantics.canonical5153 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node444 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node444 (EqualityPatterns.family3.label 2) = PairSemantics.raw8990 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node444 PairSemantics.raw8990; decide +kernel rw [heq] exact (PairSemantics.canonical8990 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node444 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value716 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node444 (EqualityPatterns.family3.label 3) = PairSemantics.raw5109 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node444 PairSemantics.raw5109; decide +kernel rw [heq] exact (PairSemantics.canonical5109 hH).trans (PairSemantics.sound716 hH) have hm4 : familyPairMoment B (groupedColumns node444 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2101 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node444 (EqualityPatterns.family3.label 4) = PairSemantics.raw3885 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node444 PairSemantics.raw3885; decide +kernel rw [heq] exact (PairSemantics.canonical3885 hH).trans (PairSemantics.sound2101 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue444, PairSemantics.value0, PairSemantics.value46, PairSemantics.value716, PairSemantics.value2101, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue445 : Sparse (Fin 909) := [(0, (1 / 32)), (1, (5 / 36)), (2, (55 / 864)), (3, (-35 / 54)), (5, (-5 / 72)), (7, (-5 / 54)), (12, (-5 / 9)), (23, (5 / 6)), (25, (5 / 6)), (27, (5 / 24)), (54, (5 / 9))]
theorem singlePair445 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node445 node445Labels = Sparse.eval singlePairValue445 (familyPairVector B) := by have hp := single_label_three B hB node445 have hl : node445Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node445 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node445 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node445 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node445 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node445 (EqualityPatterns.family3.label 1) = PairSemantics.raw5156 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node445 PairSemantics.raw5156; decide +kernel rw [heq] exact (PairSemantics.canonical5156 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node445 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node445 (EqualityPatterns.family3.label 2) = PairSemantics.raw8989 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node445 PairSemantics.raw8989; decide +kernel rw [heq] exact (PairSemantics.canonical8989 hH).trans (PairSemantics.sound4 hH) have hm3 : familyPairMoment B (groupedColumns node445 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value716 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node445 (EqualityPatterns.family3.label 3) = PairSemantics.raw5109 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node445 PairSemantics.raw5109; decide +kernel rw [heq] exact (PairSemantics.canonical5109 hH).trans (PairSemantics.sound716 hH) have hm4 : familyPairMoment B (groupedColumns node445 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2118 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node445 (EqualityPatterns.family3.label 4) = PairSemantics.raw3886 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node445 PairSemantics.raw3886; decide +kernel rw [heq] exact (PairSemantics.canonical3886 hH).trans (PairSemantics.sound2118 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue445, PairSemantics.value0, PairSemantics.value4, PairSemantics.value232, PairSemantics.value716, PairSemantics.value2118, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue446 : Sparse (Fin 909) := [(0, (23 / 864)), (1, (95 / 864)), (2, (-5 / 432)), (3, (5 / 54)), (5, (5 / 216)), (12, (5 / 54)), (23, (-5 / 18)), (25, (-5 / 18)), (27, (-5 / 72)), (54, (-5 / 18))]
theorem singlePair446 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node446 node446Labels = Sparse.eval singlePairValue446 (familyPairVector B) := by have hp := single_label_three B hB node446 have hl : node446Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node446 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node446 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node446 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node446 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node446 (EqualityPatterns.family3.label 1) = PairSemantics.raw5157 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node446 PairSemantics.raw5157; decide +kernel rw [heq] exact (PairSemantics.canonical5157 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node446 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node446 (EqualityPatterns.family3.label 2) = PairSemantics.raw8988 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node446 PairSemantics.raw8988; decide +kernel rw [heq] exact (PairSemantics.canonical8988 hH).trans (PairSemantics.sound4 hH) have hm3 : familyPairMoment B (groupedColumns node446 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node446 (EqualityPatterns.family3.label 3) = PairSemantics.raw5110 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node446 PairSemantics.raw5110; decide +kernel rw [heq] exact (PairSemantics.canonical5110 hH).trans (PairSemantics.sound231 hH) have hm4 : familyPairMoment B (groupedColumns node446 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value642 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node446 (EqualityPatterns.family3.label 4) = PairSemantics.raw3887 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node446 PairSemantics.raw3887; decide +kernel rw [heq] exact (PairSemantics.canonical3887 hH).trans (PairSemantics.sound642 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue446, PairSemantics.value0, PairSemantics.value4, PairSemantics.value46, PairSemantics.value231, PairSemantics.value642, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue447 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (-5 / 144)), (5, (5 / 216)), (27, (-5 / 72)), (195, (5 / 9))]
theorem singlePair447 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node447 node447Labels = Sparse.eval singlePairValue447 (familyPairVector B) := by have hp := single_label_three B hB node447 have hl : node447Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node447 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node447 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node447 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node447 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node447 (EqualityPatterns.family3.label 1) = PairSemantics.raw5159 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node447 PairSemantics.raw5159; decide +kernel rw [heq] exact (PairSemantics.canonical5159 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node447 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node447 (EqualityPatterns.family3.label 2) = PairSemantics.raw8986 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node447 PairSemantics.raw8986; decide +kernel rw [heq] exact (PairSemantics.canonical8986 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node447 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node447 (EqualityPatterns.family3.label 3) = PairSemantics.raw5110 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node447 PairSemantics.raw5110; decide +kernel rw [heq] exact (PairSemantics.canonical5110 hH).trans (PairSemantics.sound231 hH) have hm4 : familyPairMoment B (groupedColumns node447 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value625 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node447 (EqualityPatterns.family3.label 4) = PairSemantics.raw3888 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node447 PairSemantics.raw3888; decide +kernel rw [heq] exact (PairSemantics.canonical3888 hH).trans (PairSemantics.sound625 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue447, PairSemantics.value0, PairSemantics.value46, PairSemantics.value231, PairSemantics.value625, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue448 : Sparse (Fin 909) := [(0, (19 / 432)), (1, (5 / 432)), (2, (5 / 108)), (3, (-20 / 27)), (4, (-10 / 27)), (5, (-5 / 72)), (7, (-5 / 18)), (12, (-5 / 27)), (23, (5 / 18)), (24, (5 / 9)), (27, (5 / 24))]
theorem singlePair448 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node448 node448Labels = Sparse.eval singlePairValue448 (familyPairVector B) := by have hp := single_label_three B hB node448 have hl : node448Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node448 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node448 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node448 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node448 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node448 (EqualityPatterns.family3.label 1) = PairSemantics.raw5164 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node448 PairSemantics.raw5164; decide +kernel rw [heq] exact (PairSemantics.canonical5164 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node448 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node448 (EqualityPatterns.family3.label 2) = PairSemantics.raw8982 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node448 PairSemantics.raw8982; decide +kernel rw [heq] exact (PairSemantics.canonical8982 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node448 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value716 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node448 (EqualityPatterns.family3.label 3) = PairSemantics.raw5109 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node448 PairSemantics.raw5109; decide +kernel rw [heq] exact (PairSemantics.canonical5109 hH).trans (PairSemantics.sound716 hH) have hm4 : familyPairMoment B (groupedColumns node448 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2120 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node448 (EqualityPatterns.family3.label 4) = PairSemantics.raw3889 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node448 PairSemantics.raw3889; decide +kernel rw [heq] exact (PairSemantics.canonical3889 hH).trans (PairSemantics.sound2120 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue448, PairSemantics.value0, PairSemantics.value11, PairSemantics.value716, PairSemantics.value2120, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue449 : Sparse (Fin 909) := [(0, (5 / 144)), (1, (5 / 36)), (2, (-5 / 432)), (3, (5 / 27)), (5, (5 / 216)), (7, (5 / 54)), (12, (5 / 54)), (23, (-5 / 18)), (27, (-5 / 72))]
theorem singlePair449 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node449 node449Labels = Sparse.eval singlePairValue449 (familyPairVector B) := by have hp := single_label_three B hB node449 have hl : node449Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node449 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node449 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node449 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node449 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node449 (EqualityPatterns.family3.label 1) = PairSemantics.raw5165 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node449 PairSemantics.raw5165; decide +kernel rw [heq] exact (PairSemantics.canonical5165 hH).trans (PairSemantics.sound4 hH) have hm2 : familyPairMoment B (groupedColumns node449 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node449 (EqualityPatterns.family3.label 2) = PairSemantics.raw8981 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node449 PairSemantics.raw8981; decide +kernel rw [heq] exact (PairSemantics.canonical8981 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node449 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node449 (EqualityPatterns.family3.label 3) = PairSemantics.raw5110 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node449 PairSemantics.raw5110; decide +kernel rw [heq] exact (PairSemantics.canonical5110 hH).trans (PairSemantics.sound231 hH) have hm4 : familyPairMoment B (groupedColumns node449 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value641 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node449 (EqualityPatterns.family3.label 4) = PairSemantics.raw3890 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node449 PairSemantics.raw3890; decide +kernel rw [heq] exact (PairSemantics.canonical3890 hH).trans (PairSemantics.sound641 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue449, PairSemantics.value0, PairSemantics.value4, PairSemantics.value11, PairSemantics.value231, PairSemantics.value641, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue450 : Sparse (Fin 909) := [(0, (13 / 288)), (1, (-35 / 288)), (2, (-5 / 432)), (3, (5 / 27)), (4, (5 / 54)), (5, (5 / 216)), (7, (5 / 54)), (24, (-5 / 18)), (27, (-5 / 72))]
theorem singlePair450 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node450 node450Labels = Sparse.eval singlePairValue450 (familyPairVector B) := by have hp := single_label_three B hB node450 have hl : node450Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node450 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node450 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node450 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node450 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node450 (EqualityPatterns.family3.label 1) = PairSemantics.raw5167 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node450 PairSemantics.raw5167; decide +kernel rw [heq] exact (PairSemantics.canonical5167 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node450 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node450 (EqualityPatterns.family3.label 2) = PairSemantics.raw8978 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node450 PairSemantics.raw8978; decide +kernel rw [heq] exact (PairSemantics.canonical8978 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node450 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node450 (EqualityPatterns.family3.label 3) = PairSemantics.raw5110 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node450 PairSemantics.raw5110; decide +kernel rw [heq] exact (PairSemantics.canonical5110 hH).trans (PairSemantics.sound231 hH) have hm4 : familyPairMoment B (groupedColumns node450 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value646 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node450 (EqualityPatterns.family3.label 4) = PairSemantics.raw3891 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node450 PairSemantics.raw3891; decide +kernel rw [heq] exact (PairSemantics.canonical3891 hH).trans (PairSemantics.sound646 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue450, PairSemantics.value0, PairSemantics.value11, PairSemantics.value231, PairSemantics.value646, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue451 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (5 / 18)), (23, (5 / 9)), (27, (5 / 36))]
theorem singlePair451 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node451 node451Labels = Sparse.eval singlePairValue451 (familyPairVector B) := by have hp := single_label_three B hB node451 have hl : node451Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node451 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node451 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node451 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node451 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node451 (EqualityPatterns.family3.label 1) = PairSemantics.raw5169 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node451 PairSemantics.raw5169; decide +kernel rw [heq] exact (PairSemantics.canonical5169 hH).trans (PairSemantics.sound4 hH) have hm2 : familyPairMoment B (groupedColumns node451 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node451 (EqualityPatterns.family3.label 2) = PairSemantics.raw8987 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node451 PairSemantics.raw8987; decide +kernel rw [heq] exact (PairSemantics.canonical8987 hH).trans (PairSemantics.sound4 hH) have hm3 : familyPairMoment B (groupedColumns node451 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value45 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node451 (EqualityPatterns.family3.label 3) = PairSemantics.raw5116 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node451 PairSemantics.raw5116; decide +kernel rw [heq] exact (PairSemantics.canonical5116 hH).trans (PairSemantics.sound45 hH) have hm4 : familyPairMoment B (groupedColumns node451 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value197 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node451 (EqualityPatterns.family3.label 4) = PairSemantics.raw3892 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node451 PairSemantics.raw3892; decide +kernel rw [heq] exact (PairSemantics.canonical3892 hH).trans (PairSemantics.sound197 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue451, PairSemantics.value0, PairSemantics.value4, PairSemantics.value45, PairSemantics.value197, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue452 : Sparse (Fin 909) := [(0, (1 / 24)), (1, (-5 / 72)), (24, (5 / 9)), (27, (5 / 36))]
theorem singlePair452 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node452 node452Labels = Sparse.eval singlePairValue452 (familyPairVector B) := by have hp := single_label_three B hB node452 have hl : node452Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node452 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node452 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node452 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node452 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node452 (EqualityPatterns.family3.label 1) = PairSemantics.raw5177 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node452 PairSemantics.raw5177; decide +kernel rw [heq] exact (PairSemantics.canonical5177 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node452 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node452 (EqualityPatterns.family3.label 2) = PairSemantics.raw8979 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node452 PairSemantics.raw8979; decide +kernel rw [heq] exact (PairSemantics.canonical8979 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node452 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value45 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node452 (EqualityPatterns.family3.label 3) = PairSemantics.raw5116 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node452 PairSemantics.raw5116; decide +kernel rw [heq] exact (PairSemantics.canonical5116 hH).trans (PairSemantics.sound45 hH) have hm4 : familyPairMoment B (groupedColumns node452 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value202 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node452 (EqualityPatterns.family3.label 4) = PairSemantics.raw3893 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node452 PairSemantics.raw3893; decide +kernel rw [heq] exact (PairSemantics.canonical3893 hH).trans (PairSemantics.sound202 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue452, PairSemantics.value0, PairSemantics.value11, PairSemantics.value45, PairSemantics.value202, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue453 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (5 / 54)), (2, (-5 / 48)), (3, (-5 / 27)), (4, (-5 / 27)), (5, (5 / 72)), (8, (-5 / 27)), (24, (5 / 9)), (27, (-5 / 24)), (30, (5 / 18)), (56, (5 / 18))]
theorem singlePair453 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node453 node453Labels = Sparse.eval singlePairValue453 (familyPairVector B) := by have hp := single_label_three B hB node453 have hl : node453Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node453 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node453 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node453 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node453 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node453 (EqualityPatterns.family3.label 1) = PairSemantics.raw5127 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node453 PairSemantics.raw5127; decide +kernel rw [heq] exact (PairSemantics.canonical5127 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node453 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node453 (EqualityPatterns.family3.label 2) = PairSemantics.raw9044 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node453 PairSemantics.raw9044; decide +kernel rw [heq] exact (PairSemantics.canonical9044 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node453 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node453 (EqualityPatterns.family3.label 3) = PairSemantics.raw5119 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node453 PairSemantics.raw5119; decide +kernel rw [heq] exact (PairSemantics.canonical5119 hH).trans (PairSemantics.sound231 hH) have hm4 : familyPairMoment B (groupedColumns node453 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2652 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node453 (EqualityPatterns.family3.label 4) = PairSemantics.raw3908 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node453 PairSemantics.raw3908; decide +kernel rw [heq] exact (PairSemantics.canonical3908 hH).trans (PairSemantics.sound2652 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue453, PairSemantics.value0, PairSemantics.value65, PairSemantics.value231, PairSemantics.value232, PairSemantics.value2652, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue454 : Sparse (Fin 909) := [(0, (7 / 144)), (1, (5 / 216)), (2, (-5 / 96)), (3, (-25 / 54)), (4, (-5 / 54)), (5, (-5 / 216)), (6, (5 / 864)), (12, (-5 / 27)), (13, (-5 / 54)), (31, (5 / 18)), (51, (5 / 18)), (52, (-5 / 54))]
theorem singlePair454 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node454 node454Labels = Sparse.eval singlePairValue454 (familyPairVector B) := by have hp := single_label_three B hB node454 have hl : node454Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node454 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node454 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node454 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node454 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node454 (EqualityPatterns.family3.label 1) = PairSemantics.raw5124 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node454 PairSemantics.raw5124; decide +kernel rw [heq] exact (PairSemantics.canonical5124 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node454 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node454 (EqualityPatterns.family3.label 2) = PairSemantics.raw9050 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node454 PairSemantics.raw9050; decide +kernel rw [heq] exact (PairSemantics.canonical9050 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node454 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value717 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node454 (EqualityPatterns.family3.label 3) = PairSemantics.raw5120 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node454 PairSemantics.raw5120; decide +kernel rw [heq] exact (PairSemantics.canonical5120 hH).trans (PairSemantics.sound717 hH) have hm4 : familyPairMoment B (groupedColumns node454 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2661 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node454 (EqualityPatterns.family3.label 4) = PairSemantics.raw3909 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node454 PairSemantics.raw3909; decide +kernel rw [heq] exact (PairSemantics.canonical3909 hH).trans (PairSemantics.sound2661 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue454, PairSemantics.value0, PairSemantics.value46, PairSemantics.value65, PairSemantics.value717, PairSemantics.value2661, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue455 : Sparse (Fin 909) := [(0, (1 / 24)), (1, (65 / 864)), (2, (-5 / 432)), (3, (-35 / 54)), (4, (-5 / 18)), (5, (-5 / 108)), (6, (5 / 864)), (12, (-5 / 18)), (13, (-5 / 18)), (26, (-5 / 54)), (27, (5 / 72)), (35, (-5 / 54)), (51, (5 / 18)), (52, (-5 / 54)), (55, (5 / 18))]
theorem singlePair455 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node455 node455Labels = Sparse.eval singlePairValue455 (familyPairVector B) := by have hp := single_label_three B hB node455 have hl : node455Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node455 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node455 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node455 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node455 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node455 (EqualityPatterns.family3.label 1) = PairSemantics.raw5129 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node455 PairSemantics.raw5129; decide +kernel rw [heq] exact (PairSemantics.canonical5129 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node455 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node455 (EqualityPatterns.family3.label 2) = PairSemantics.raw9047 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node455 PairSemantics.raw9047; decide +kernel rw [heq] exact (PairSemantics.canonical9047 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node455 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value717 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node455 (EqualityPatterns.family3.label 3) = PairSemantics.raw5120 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node455 PairSemantics.raw5120; decide +kernel rw [heq] exact (PairSemantics.canonical5120 hH).trans (PairSemantics.sound717 hH) have hm4 : familyPairMoment B (groupedColumns node455 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2138 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node455 (EqualityPatterns.family3.label 4) = PairSemantics.raw3910 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node455 PairSemantics.raw3910; decide +kernel rw [heq] exact (PairSemantics.canonical3910 hH).trans (PairSemantics.sound2138 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue455, PairSemantics.value0, PairSemantics.value11, PairSemantics.value46, PairSemantics.value717, PairSemantics.value2138, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue456 : Sparse (Fin 909) := [(0, (37 / 864)), (1, (-5 / 432)), (2, (5 / 216)), (3, (-5 / 6)), (4, (-10 / 27)), (5, (-5 / 108)), (6, (5 / 864)), (7, (-5 / 54)), (12, (-5 / 27)), (23, (5 / 18)), (25, (5 / 9)), (26, (-10 / 27)), (27, (5 / 72)), (35, (-5 / 54)), (54, (5 / 18))]
theorem singlePair456 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node456 node456Labels = Sparse.eval singlePairValue456 (familyPairVector B) := by have hp := single_label_three B hB node456 have hl : node456Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node456 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node456 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node456 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node456 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node456 (EqualityPatterns.family3.label 1) = PairSemantics.raw5134 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node456 PairSemantics.raw5134; decide +kernel rw [heq] exact (PairSemantics.canonical5134 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node456 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node456 (EqualityPatterns.family3.label 2) = PairSemantics.raw9040 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node456 PairSemantics.raw9040; decide +kernel rw [heq] exact (PairSemantics.canonical9040 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node456 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value717 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node456 (EqualityPatterns.family3.label 3) = PairSemantics.raw5120 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node456 PairSemantics.raw5120; decide +kernel rw [heq] exact (PairSemantics.canonical5120 hH).trans (PairSemantics.sound717 hH) have hm4 : familyPairMoment B (groupedColumns node456 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2300 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node456 (EqualityPatterns.family3.label 4) = PairSemantics.raw3911 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node456 PairSemantics.raw3911; decide +kernel rw [heq] exact (PairSemantics.canonical3911 hH).trans (PairSemantics.sound2300 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue456, PairSemantics.value0, PairSemantics.value11, PairSemantics.value46, PairSemantics.value717, PairSemantics.value2300, Sparse.eval] at hp ⊢ linarith only [hp]
end MUB6.Certificate.MixedSemantics
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928import OAI.Analysis.MutuallyUnbiased.MixedSemantics.GroupedColumnsimport OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes7import OAI.Analysis.MutuallyUnbiased.MixedSemantics.SingleRulesimport OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical122import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical160import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical161import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical249import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical281import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical282import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound0import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound10import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound11import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound18import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound20import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound3import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound32import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound33import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound35import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound4import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound41import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound43
namespace OAI
namespace MUB6.Certificate.MixedSemantics
open scoped BigOperators
def singlePairValue457 : Sparse (Fin 909) := [(0, (23 / 864)), (1, (35 / 216)), (2, (-5 / 216)), (3, (-35 / 54)), (4, (-10 / 27)), (5, (-5 / 108)), (6, (5 / 864)), (7, (-5 / 54)), (12, (-5 / 27)), (13, (-5 / 54)), (24, (5 / 18)), (26, (-5 / 27)), (27, (5 / 72)), (35, (-5 / 54)), (56, (5 / 18))]
theorem singlePair457 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node457 node457Labels = Sparse.eval singlePairValue457 (familyPairVector B) := by have hp := single_label_three B hB node457 have hl : node457Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node457 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node457 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node457 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node457 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node457 (EqualityPatterns.family3.label 1) = PairSemantics.raw5135 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node457 PairSemantics.raw5135; decide +kernel rw [heq] exact (PairSemantics.canonical5135 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node457 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node457 (EqualityPatterns.family3.label 2) = PairSemantics.raw9038 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node457 PairSemantics.raw9038; decide +kernel rw [heq] exact (PairSemantics.canonical9038 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node457 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value717 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node457 (EqualityPatterns.family3.label 3) = PairSemantics.raw5120 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node457 PairSemantics.raw5120; decide +kernel rw [heq] exact (PairSemantics.canonical5120 hH).trans (PairSemantics.sound717 hH) have hm4 : familyPairMoment B (groupedColumns node457 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2299 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node457 (EqualityPatterns.family3.label 4) = PairSemantics.raw3912 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node457 PairSemantics.raw3912; decide +kernel rw [heq] exact (PairSemantics.canonical3912 hH).trans (PairSemantics.sound2299 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue457, PairSemantics.value0, PairSemantics.value11, PairSemantics.value232, PairSemantics.value717, PairSemantics.value2299, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue458 : Sparse (Fin 909) := [(0, (37 / 864)), (1, (25 / 432)), (3, (-20 / 27)), (4, (-5 / 27)), (5, (-5 / 108)), (6, (5 / 864)), (12, (-25 / 54)), (13, (-5 / 27)), (23, (5 / 18)), (25, (5 / 9)), (27, (5 / 72)), (31, (5 / 18)), (33, (10 / 9)), (54, (5 / 9)), (62, (5 / 18))]
theorem singlePair458 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node458 node458Labels = Sparse.eval singlePairValue458 (familyPairVector B) := by have hp := single_label_three B hB node458 have hl : node458Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node458 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node458 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node458 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node458 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node458 (EqualityPatterns.family3.label 1) = PairSemantics.raw5137 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node458 PairSemantics.raw5137; decide +kernel rw [heq] exact (PairSemantics.canonical5137 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node458 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node458 (EqualityPatterns.family3.label 2) = PairSemantics.raw9037 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node458 PairSemantics.raw9037; decide +kernel rw [heq] exact (PairSemantics.canonical9037 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node458 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value717 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node458 (EqualityPatterns.family3.label 3) = PairSemantics.raw5120 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node458 PairSemantics.raw5120; decide +kernel rw [heq] exact (PairSemantics.canonical5120 hH).trans (PairSemantics.sound717 hH) have hm4 : familyPairMoment B (groupedColumns node458 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2093 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node458 (EqualityPatterns.family3.label 4) = PairSemantics.raw3913 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node458 PairSemantics.raw3913; decide +kernel rw [heq] exact (PairSemantics.canonical3913 hH).trans (PairSemantics.sound2093 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue458, PairSemantics.value0, PairSemantics.value46, PairSemantics.value717, PairSemantics.value2093, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue459 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (155 / 864)), (2, (-5 / 216)), (3, (-5 / 27)), (5, (-5 / 108)), (6, (5 / 864)), (7, (-5 / 54)), (12, (-5 / 54)), (13, (-5 / 18)), (23, (5 / 18)), (25, (5 / 18)), (27, (5 / 72)), (35, (-5 / 54)), (54, (5 / 18))]
theorem singlePair459 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node459 node459Labels = Sparse.eval singlePairValue459 (familyPairVector B) := by have hp := single_label_three B hB node459 have hl : node459Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node459 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node459 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node459 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node459 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node459 (EqualityPatterns.family3.label 1) = PairSemantics.raw5140 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node459 PairSemantics.raw5140; decide +kernel rw [heq] exact (PairSemantics.canonical5140 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node459 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node459 (EqualityPatterns.family3.label 2) = PairSemantics.raw9035 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node459 PairSemantics.raw9035; decide +kernel rw [heq] exact (PairSemantics.canonical9035 hH).trans (PairSemantics.sound4 hH) have hm3 : familyPairMoment B (groupedColumns node459 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value717 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node459 (EqualityPatterns.family3.label 3) = PairSemantics.raw5120 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node459 PairSemantics.raw5120; decide +kernel rw [heq] exact (PairSemantics.canonical5120 hH).trans (PairSemantics.sound717 hH) have hm4 : familyPairMoment B (groupedColumns node459 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2126 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node459 (EqualityPatterns.family3.label 4) = PairSemantics.raw3914 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node459 PairSemantics.raw3914; decide +kernel rw [heq] exact (PairSemantics.canonical3914 hH).trans (PairSemantics.sound2126 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue459, PairSemantics.value0, PairSemantics.value4, PairSemantics.value232, PairSemantics.value717, PairSemantics.value2126, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue460 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (-5 / 216)), (2, (-5 / 144)), (3, (5 / 27)), (4, (5 / 27)), (5, (5 / 216)), (24, (-5 / 18)), (27, (-5 / 72)), (56, (-5 / 18))]
theorem singlePair460 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node460 node460Labels = Sparse.eval singlePairValue460 (familyPairVector B) := by have hp := single_label_three B hB node460 have hl : node460Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node460 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node460 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node460 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node460 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node460 (EqualityPatterns.family3.label 1) = PairSemantics.raw5139 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node460 PairSemantics.raw5139; decide +kernel rw [heq] exact (PairSemantics.canonical5139 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node460 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node460 (EqualityPatterns.family3.label 2) = PairSemantics.raw9039 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node460 PairSemantics.raw9039; decide +kernel rw [heq] exact (PairSemantics.canonical9039 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node460 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node460 (EqualityPatterns.family3.label 3) = PairSemantics.raw5122 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node460 PairSemantics.raw5122; decide +kernel rw [heq] exact (PairSemantics.canonical5122 hH).trans (PairSemantics.sound231 hH) have hm4 : familyPairMoment B (groupedColumns node460 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value703 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node460 (EqualityPatterns.family3.label 4) = PairSemantics.raw3915 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node460 PairSemantics.raw3915; decide +kernel rw [heq] exact (PairSemantics.canonical3915 hH).trans (PairSemantics.sound703 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue460, PairSemantics.value0, PairSemantics.value11, PairSemantics.value231, PairSemantics.value232, PairSemantics.value703, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue461 : Sparse (Fin 909) := [(0, (-1 / 216)), (1, (95 / 864)), (2, (-25 / 864)), (3, (-10 / 27)), (4, (-5 / 27)), (12, (-5 / 27)), (13, (-5 / 54))]
theorem singlePair461 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node461 node461Labels = Sparse.eval singlePairValue461 (familyPairVector B) := by have hp := single_label_three B hB node461 have hl : node461Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node461 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node461 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node461 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node461 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node461 (EqualityPatterns.family3.label 1) = PairSemantics.raw5138 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node461 PairSemantics.raw5138; decide +kernel rw [heq] exact (PairSemantics.canonical5138 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node461 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node461 (EqualityPatterns.family3.label 2) = PairSemantics.raw9044 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node461 PairSemantics.raw9044; decide +kernel rw [heq] exact (PairSemantics.canonical9044 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node461 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node461 (EqualityPatterns.family3.label 3) = PairSemantics.raw5123 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node461 PairSemantics.raw5123; decide +kernel rw [heq] exact (PairSemantics.canonical5123 hH).trans (PairSemantics.sound46 hH) have hm4 : familyPairMoment B (groupedColumns node461 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2662 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node461 (EqualityPatterns.family3.label 4) = PairSemantics.raw3920 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node461 PairSemantics.raw3920; decide +kernel rw [heq] exact (PairSemantics.canonical3920 hH).trans (PairSemantics.sound2662 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue461, PairSemantics.value0, PairSemantics.value46, PairSemantics.value65, PairSemantics.value232, PairSemantics.value2662, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue462 : Sparse (Fin 909) := [(0, (1 / 108)), (1, (145 / 864)), (2, (-35 / 864)), (3, (-20 / 27)), (4, (-5 / 27)), (12, (-10 / 27)), (13, (-5 / 18))]
theorem singlePair462 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node462 node462Labels = Sparse.eval singlePairValue462 (familyPairVector B) := by have hp := single_label_three B hB node462 have hl : node462Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node462 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node462 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node462 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node462 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node462 (EqualityPatterns.family3.label 1) = PairSemantics.raw5140 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node462 PairSemantics.raw5140; decide +kernel rw [heq] exact (PairSemantics.canonical5140 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node462 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node462 (EqualityPatterns.family3.label 2) = PairSemantics.raw9043 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node462 PairSemantics.raw9043; decide +kernel rw [heq] exact (PairSemantics.canonical9043 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node462 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node462 (EqualityPatterns.family3.label 3) = PairSemantics.raw5123 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node462 PairSemantics.raw5123; decide +kernel rw [heq] exact (PairSemantics.canonical5123 hH).trans (PairSemantics.sound46 hH) have hm4 : familyPairMoment B (groupedColumns node462 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2139 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node462 (EqualityPatterns.family3.label 4) = PairSemantics.raw3921 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node462 PairSemantics.raw3921; decide +kernel rw [heq] exact (PairSemantics.canonical3921 hH).trans (PairSemantics.sound2139 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue462, PairSemantics.value0, PairSemantics.value11, PairSemantics.value46, PairSemantics.value232, PairSemantics.value2139, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue463 : Sparse (Fin 909) := [(0, (5 / 144)), (1, (5 / 48)), (3, (-10 / 9)), (4, (-5 / 27)), (12, (-5 / 9)), (13, (-10 / 9)), (32, (-5 / 54))]
theorem singlePair463 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node463 node463Labels = Sparse.eval singlePairValue463 (familyPairVector B) := by have hp := single_label_three B hB node463 have hl : node463Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node463 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node463 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node463 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node463 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node463 (EqualityPatterns.family3.label 1) = PairSemantics.raw5143 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node463 PairSemantics.raw5143; decide +kernel rw [heq] exact (PairSemantics.canonical5143 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node463 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node463 (EqualityPatterns.family3.label 2) = PairSemantics.raw9042 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node463 PairSemantics.raw9042; decide +kernel rw [heq] exact (PairSemantics.canonical9042 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node463 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node463 (EqualityPatterns.family3.label 3) = PairSemantics.raw5123 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node463 PairSemantics.raw5123; decide +kernel rw [heq] exact (PairSemantics.canonical5123 hH).trans (PairSemantics.sound46 hH) have hm4 : familyPairMoment B (groupedColumns node463 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2094 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node463 (EqualityPatterns.family3.label 4) = PairSemantics.raw3922 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node463 PairSemantics.raw3922; decide +kernel rw [heq] exact (PairSemantics.canonical3922 hH).trans (PairSemantics.sound2094 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue463, PairSemantics.value0, PairSemantics.value46, PairSemantics.value2094, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue464 : Sparse (Fin 909) := []
theorem singlePair464 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node464 node464Labels = Sparse.eval singlePairValue464 (familyPairVector B) := by have hp := single_label_three B hB node464 have hl : node464Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node464 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node464 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node464 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node464 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node464 (EqualityPatterns.family3.label 1) = PairSemantics.raw5135 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node464 PairSemantics.raw5135; decide +kernel rw [heq] exact (PairSemantics.canonical5135 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node464 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value5 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node464 (EqualityPatterns.family3.label 2) = PairSemantics.raw9052 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node464 PairSemantics.raw9052; decide +kernel rw [heq] exact (PairSemantics.canonical9052 hH).trans (PairSemantics.sound5 hH) have hm3 : familyPairMoment B (groupedColumns node464 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node464 (EqualityPatterns.family3.label 3) = PairSemantics.raw5127 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node464 PairSemantics.raw5127; decide +kernel rw [heq] exact (PairSemantics.canonical5127 hH).trans (PairSemantics.sound232 hH) have hm4 : familyPairMoment B (groupedColumns node464 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2801 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node464 (EqualityPatterns.family3.label 4) = PairSemantics.raw3923 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node464 PairSemantics.raw3923; decide +kernel rw [heq] exact (PairSemantics.canonical3923 hH).trans (PairSemantics.sound2801 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue464, PairSemantics.value0, PairSemantics.value5, PairSemantics.value232, PairSemantics.value2801, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue465 : Sparse (Fin 909) := []
theorem singlePair465 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node465 node465Labels = Sparse.eval singlePairValue465 (familyPairVector B) := by have hp := single_label_three B hB node465 have hl : node465Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node465 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node465 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node465 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node465 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node465 (EqualityPatterns.family3.label 1) = PairSemantics.raw5136 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node465 PairSemantics.raw5136; decide +kernel rw [heq] exact (PairSemantics.canonical5136 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node465 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value5 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node465 (EqualityPatterns.family3.label 2) = PairSemantics.raw9051 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node465 PairSemantics.raw9051; decide +kernel rw [heq] exact (PairSemantics.canonical9051 hH).trans (PairSemantics.sound5 hH) have hm3 : familyPairMoment B (groupedColumns node465 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node465 (EqualityPatterns.family3.label 3) = PairSemantics.raw5128 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node465 PairSemantics.raw5128; decide +kernel rw [heq] exact (PairSemantics.canonical5128 hH).trans (PairSemantics.sound46 hH) have hm4 : familyPairMoment B (groupedColumns node465 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1292 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node465 (EqualityPatterns.family3.label 4) = PairSemantics.raw3924 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node465 PairSemantics.raw3924; decide +kernel rw [heq] exact (PairSemantics.canonical3924 hH).trans (PairSemantics.sound1292 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue465, PairSemantics.value0, PairSemantics.value5, PairSemantics.value46, PairSemantics.value1292, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue466 : Sparse (Fin 909) := []
theorem singlePair466 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node466 node466Labels = Sparse.eval singlePairValue466 (familyPairVector B) := by have hp := single_label_three B hB node466 have hl : node466Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node466 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node466 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node466 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node466 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node466 (EqualityPatterns.family3.label 1) = PairSemantics.raw5139 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node466 PairSemantics.raw5139; decide +kernel rw [heq] exact (PairSemantics.canonical5139 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node466 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value5 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node466 (EqualityPatterns.family3.label 2) = PairSemantics.raw9048 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node466 PairSemantics.raw9048; decide +kernel rw [heq] exact (PairSemantics.canonical9048 hH).trans (PairSemantics.sound5 hH) have hm3 : familyPairMoment B (groupedColumns node466 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node466 (EqualityPatterns.family3.label 3) = PairSemantics.raw5128 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node466 PairSemantics.raw5128; decide +kernel rw [heq] exact (PairSemantics.canonical5128 hH).trans (PairSemantics.sound46 hH) have hm4 : familyPairMoment B (groupedColumns node466 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1152 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node466 (EqualityPatterns.family3.label 4) = PairSemantics.raw3925 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node466 PairSemantics.raw3925; decide +kernel rw [heq] exact (PairSemantics.canonical3925 hH).trans (PairSemantics.sound1152 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue466, PairSemantics.value0, PairSemantics.value5, PairSemantics.value46, PairSemantics.value232, PairSemantics.value1152, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue467 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (-5 / 36)), (2, (5 / 144)), (3, (5 / 18)), (4, (5 / 54)), (12, (5 / 27)), (13, (5 / 54))]
theorem singlePair467 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node467 node467Labels = Sparse.eval singlePairValue467 (familyPairVector B) := by have hp := single_label_three B hB node467 have hl : node467Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node467 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node467 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node467 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node467 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node467 (EqualityPatterns.family3.label 1) = PairSemantics.raw5142 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node467 PairSemantics.raw5142; decide +kernel rw [heq] exact (PairSemantics.canonical5142 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node467 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node467 (EqualityPatterns.family3.label 2) = PairSemantics.raw9045 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node467 PairSemantics.raw9045; decide +kernel rw [heq] exact (PairSemantics.canonical9045 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node467 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node467 (EqualityPatterns.family3.label 3) = PairSemantics.raw5128 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node467 PairSemantics.raw5128; decide +kernel rw [heq] exact (PairSemantics.canonical5128 hH).trans (PairSemantics.sound46 hH) have hm4 : familyPairMoment B (groupedColumns node467 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value670 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node467 (EqualityPatterns.family3.label 4) = PairSemantics.raw3926 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node467 PairSemantics.raw3926; decide +kernel rw [heq] exact (PairSemantics.canonical3926 hH).trans (PairSemantics.sound670 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue467, PairSemantics.value0, PairSemantics.value11, PairSemantics.value46, PairSemantics.value670, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue468 : Sparse (Fin 909) := [(0, (1 / 48)), (1, (25 / 432)), (2, (5 / 216)), (3, (5 / 27)), (13, (5 / 27))]
theorem singlePair468 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node468 node468Labels = Sparse.eval singlePairValue468 (familyPairVector B) := by have hp := single_label_three B hB node468 have hl : node468Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node468 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node468 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node468 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node468 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node468 (EqualityPatterns.family3.label 1) = PairSemantics.raw5150 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node468 PairSemantics.raw5150; decide +kernel rw [heq] exact (PairSemantics.canonical5150 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node468 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node468 (EqualityPatterns.family3.label 2) = PairSemantics.raw9036 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node468 PairSemantics.raw9036; decide +kernel rw [heq] exact (PairSemantics.canonical9036 hH).trans (PairSemantics.sound4 hH) have hm3 : familyPairMoment B (groupedColumns node468 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node468 (EqualityPatterns.family3.label 3) = PairSemantics.raw5128 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node468 PairSemantics.raw5128; decide +kernel rw [heq] exact (PairSemantics.canonical5128 hH).trans (PairSemantics.sound46 hH) have hm4 : familyPairMoment B (groupedColumns node468 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value656 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node468 (EqualityPatterns.family3.label 4) = PairSemantics.raw3928 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node468 PairSemantics.raw3928; decide +kernel rw [heq] exact (PairSemantics.canonical3928 hH).trans (PairSemantics.sound656 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue468, PairSemantics.value0, PairSemantics.value4, PairSemantics.value46, PairSemantics.value656, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue469 : Sparse (Fin 909) := []
theorem singlePair469 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node469 node469Labels = Sparse.eval singlePairValue469 (familyPairVector B) := by have hp := single_label_three B hB node469 have hl : node469Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node469 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node469 (EqualityPatterns.family3.label 0) = PairSemantics.raw7980 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node469 PairSemantics.raw7980; decide +kernel rw [heq] exact (PairSemantics.canonical7980 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node469 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node469 (EqualityPatterns.family3.label 1) = PairSemantics.raw5149 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node469 PairSemantics.raw5149; decide +kernel rw [heq] exact (PairSemantics.canonical5149 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node469 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value5 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node469 (EqualityPatterns.family3.label 2) = PairSemantics.raw9049 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node469 PairSemantics.raw9049; decide +kernel rw [heq] exact (PairSemantics.canonical9049 hH).trans (PairSemantics.sound5 hH) have hm3 : familyPairMoment B (groupedColumns node469 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node469 (EqualityPatterns.family3.label 3) = PairSemantics.raw5141 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node469 PairSemantics.raw5141; decide +kernel rw [heq] exact (PairSemantics.canonical5141 hH).trans (PairSemantics.sound46 hH) have hm4 : familyPairMoment B (groupedColumns node469 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value288 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node469 (EqualityPatterns.family3.label 4) = PairSemantics.raw3931 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node469 PairSemantics.raw3931; decide +kernel rw [heq] exact (PairSemantics.canonical3931 hH).trans (PairSemantics.sound288 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue469, PairSemantics.value0, PairSemantics.value5, PairSemantics.value46, PairSemantics.value288, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue470 : Sparse (Fin 909) := [(0, (7 / 216)), (1, (35 / 288)), (2, (-25 / 432)), (3, (-5 / 6)), (4, (-5 / 18)), (5, (-5 / 108)), (6, (5 / 864)), (12, (-10 / 27)), (26, (-5 / 27)), (27, (5 / 72)), (33, (5 / 6)), (81, (5 / 18)), (195, (-5 / 9))]
theorem singlePair470 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node470 node470Labels = Sparse.eval singlePairValue470 (familyPairVector B) := by have hp := single_label_three B hB node470 have hl : node470Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node470 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node470 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node470 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node470 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node470 (EqualityPatterns.family3.label 1) = PairSemantics.raw5162 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node470 PairSemantics.raw5162; decide +kernel rw [heq] exact (PairSemantics.canonical5162 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node470 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node470 (EqualityPatterns.family3.label 2) = PairSemantics.raw9014 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node470 PairSemantics.raw9014; decide +kernel rw [heq] exact (PairSemantics.canonical9014 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node470 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value717 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node470 (EqualityPatterns.family3.label 3) = PairSemantics.raw5120 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node470 PairSemantics.raw5120; decide +kernel rw [heq] exact (PairSemantics.canonical5120 hH).trans (PairSemantics.sound717 hH) have hm4 : familyPairMoment B (groupedColumns node470 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2102 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node470 (EqualityPatterns.family3.label 4) = PairSemantics.raw3932 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node470 PairSemantics.raw3932; decide +kernel rw [heq] exact (PairSemantics.canonical3932 hH).trans (PairSemantics.sound2102 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue470, PairSemantics.value0, PairSemantics.value46, PairSemantics.value232, PairSemantics.value717, PairSemantics.value2102, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue471 : Sparse (Fin 909) := [(0, (43 / 864)), (1, (55 / 216)), (2, (5 / 216)), (3, (-10 / 27)), (5, (-5 / 216)), (6, (5 / 864)), (7, (-5 / 27)), (12, (-5 / 27)), (23, (5 / 18)), (27, (5 / 72))]
theorem singlePair471 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node471 node471Labels = Sparse.eval singlePairValue471 (familyPairVector B) := by have hp := single_label_three B hB node471 have hl : node471Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node471 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node471 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node471 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node471 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value4 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node471 (EqualityPatterns.family3.label 1) = PairSemantics.raw5163 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node471 PairSemantics.raw5163; decide +kernel rw [heq] exact (PairSemantics.canonical5163 hH).trans (PairSemantics.sound4 hH) have hm2 : familyPairMoment B (groupedColumns node471 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node471 (EqualityPatterns.family3.label 2) = PairSemantics.raw9012 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node471 PairSemantics.raw9012; decide +kernel rw [heq] exact (PairSemantics.canonical9012 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node471 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value717 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node471 (EqualityPatterns.family3.label 3) = PairSemantics.raw5120 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node471 PairSemantics.raw5120; decide +kernel rw [heq] exact (PairSemantics.canonical5120 hH).trans (PairSemantics.sound717 hH) have hm4 : familyPairMoment B (groupedColumns node471 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2125 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node471 (EqualityPatterns.family3.label 4) = PairSemantics.raw3933 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node471 PairSemantics.raw3933; decide +kernel rw [heq] exact (PairSemantics.canonical3933 hH).trans (PairSemantics.sound2125 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue471, PairSemantics.value0, PairSemantics.value4, PairSemantics.value65, PairSemantics.value717, PairSemantics.value2125, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue472 : Sparse (Fin 909) := [(0, (23 / 432)), (1, (-5 / 216)), (2, (-5 / 96)), (3, (-5 / 18)), (4, (-5 / 27)), (5, (-5 / 216)), (6, (5 / 864)), (7, (-5 / 54)), (8, (-5 / 54)), (24, (5 / 18)), (27, (5 / 72))]
theorem singlePair472 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node472 node472Labels = Sparse.eval singlePairValue472 (familyPairVector B) := by have hp := single_label_three B hB node472 have hl : node472Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node472 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node472 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node472 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node472 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node472 (EqualityPatterns.family3.label 1) = PairSemantics.raw5164 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node472 PairSemantics.raw5164; decide +kernel rw [heq] exact (PairSemantics.canonical5164 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node472 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node472 (EqualityPatterns.family3.label 2) = PairSemantics.raw9010 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node472 PairSemantics.raw9010; decide +kernel rw [heq] exact (PairSemantics.canonical9010 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node472 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value717 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node472 (EqualityPatterns.family3.label 3) = PairSemantics.raw5120 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node472 PairSemantics.raw5120; decide +kernel rw [heq] exact (PairSemantics.canonical5120 hH).trans (PairSemantics.sound717 hH) have hm4 : familyPairMoment B (groupedColumns node472 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2129 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node472 (EqualityPatterns.family3.label 4) = PairSemantics.raw3934 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node472 PairSemantics.raw3934; decide +kernel rw [heq] exact (PairSemantics.canonical3934 hH).trans (PairSemantics.sound2129 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue472, PairSemantics.value0, PairSemantics.value11, PairSemantics.value65, PairSemantics.value717, PairSemantics.value2129, Sparse.eval] at hp ⊢ linarith only [hp]
end MUB6.Certificate.MixedSemantics
end OAI123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927import OAI.Analysis.MutuallyUnbiased.MixedSemantics.GroupedColumnsimport OAI.Analysis.MutuallyUnbiased.MixedSemantics.Nodes7import OAI.Analysis.MutuallyUnbiased.MixedSemantics.SingleRulesimport OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical122import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical123import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical160import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical161import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical249import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical281import OAI.Analysis.MutuallyUnbiased.PairSemantics.Canonical282import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound0import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound1import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound10import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound11import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound17import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound3import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound32import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound33import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound35import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound41import OAI.Analysis.MutuallyUnbiased.PairSemantics.Sound43
namespace OAI
namespace MUB6.Certificate.MixedSemantics
open scoped BigOperators
def singlePairValue473 : Sparse (Fin 909) := [(0, (41 / 864)), (1, (5 / 48)), (2, (-5 / 54)), (3, (-20 / 27)), (5, (-5 / 216)), (6, (5 / 864)), (7, (-5 / 27)), (12, (-25 / 54)), (23, (5 / 18)), (27, (5 / 72))]
theorem singlePair473 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node473 node473Labels = Sparse.eval singlePairValue473 (familyPairVector B) := by have hp := single_label_three B hB node473 have hl : node473Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node473 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node473 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node473 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node473 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node473 (EqualityPatterns.family3.label 1) = PairSemantics.raw5168 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node473 PairSemantics.raw5168; decide +kernel rw [heq] exact (PairSemantics.canonical5168 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node473 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node473 (EqualityPatterns.family3.label 2) = PairSemantics.raw9006 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node473 PairSemantics.raw9006; decide +kernel rw [heq] exact (PairSemantics.canonical9006 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node473 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value717 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node473 (EqualityPatterns.family3.label 3) = PairSemantics.raw5120 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node473 PairSemantics.raw5120; decide +kernel rw [heq] exact (PairSemantics.canonical5120 hH).trans (PairSemantics.sound717 hH) have hm4 : familyPairMoment B (groupedColumns node473 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2131 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node473 (EqualityPatterns.family3.label 4) = PairSemantics.raw3935 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node473 PairSemantics.raw3935; decide +kernel rw [heq] exact (PairSemantics.canonical3935 hH).trans (PairSemantics.sound2131 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue473, PairSemantics.value0, PairSemantics.value11, PairSemantics.value717, PairSemantics.value2131, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue474 : Sparse (Fin 909) := [(0, (1 / 18)), (1, (-5 / 108)), (5, (5 / 216)), (8, (5 / 54)), (24, (-5 / 18)), (27, (-5 / 72))]
theorem singlePair474 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node474 node474Labels = Sparse.eval singlePairValue474 (familyPairVector B) := by have hp := single_label_three B hB node474 have hl : node474Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node474 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node474 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node474 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node474 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node474 (EqualityPatterns.family3.label 1) = PairSemantics.raw5167 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node474 PairSemantics.raw5167; decide +kernel rw [heq] exact (PairSemantics.canonical5167 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node474 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node474 (EqualityPatterns.family3.label 2) = PairSemantics.raw9011 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node474 PairSemantics.raw9011; decide +kernel rw [heq] exact (PairSemantics.canonical9011 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node474 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value231 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node474 (EqualityPatterns.family3.label 3) = PairSemantics.raw5122 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node474 PairSemantics.raw5122; decide +kernel rw [heq] exact (PairSemantics.canonical5122 hH).trans (PairSemantics.sound231 hH) have hm4 : familyPairMoment B (groupedColumns node474 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value654 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node474 (EqualityPatterns.family3.label 4) = PairSemantics.raw3936 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node474 PairSemantics.raw3936; decide +kernel rw [heq] exact (PairSemantics.canonical3936 hH).trans (PairSemantics.sound654 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue474, PairSemantics.value0, PairSemantics.value11, PairSemantics.value65, PairSemantics.value231, PairSemantics.value654, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue475 : Sparse (Fin 909) := [(0, (1 / 27)), (1, (-5 / 108)), (2, (5 / 864)), (3, (-10 / 27)), (4, (-5 / 27)), (5, (-5 / 108)), (6, (5 / 864)), (25, (5 / 9)), (26, (-5 / 27)), (27, (5 / 72)), (31, (5 / 18)), (33, (5 / 9)), (63, (5 / 18)), (64, (5 / 9)), (123, (5 / 18))]
theorem singlePair475 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node475 node475Labels = Sparse.eval singlePairValue475 (familyPairVector B) := by have hp := single_label_three B hB node475 have hl : node475Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node475 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node475 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node475 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node475 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node475 (EqualityPatterns.family3.label 1) = PairSemantics.raw5171 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node475 PairSemantics.raw5171; decide +kernel rw [heq] exact (PairSemantics.canonical5171 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node475 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node475 (EqualityPatterns.family3.label 2) = PairSemantics.raw8999 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node475 PairSemantics.raw8999; decide +kernel rw [heq] exact (PairSemantics.canonical8999 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node475 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value717 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node475 (EqualityPatterns.family3.label 3) = PairSemantics.raw5120 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node475 PairSemantics.raw5120; decide +kernel rw [heq] exact (PairSemantics.canonical5120 hH).trans (PairSemantics.sound717 hH) have hm4 : familyPairMoment B (groupedColumns node475 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2103 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node475 (EqualityPatterns.family3.label 4) = PairSemantics.raw3937 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node475 PairSemantics.raw3937; decide +kernel rw [heq] exact (PairSemantics.canonical3937 hH).trans (PairSemantics.sound2103 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue475, PairSemantics.value0, PairSemantics.value46, PairSemantics.value717, PairSemantics.value2103, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue476 : Sparse (Fin 909) := [(0, (25 / 864)), (1, (65 / 432)), (2, (-5 / 216)), (3, (-35 / 54)), (4, (-5 / 18)), (5, (-5 / 108)), (6, (5 / 864)), (12, (-5 / 18)), (25, (5 / 9)), (26, (-5 / 54)), (27, (5 / 72)), (31, (5 / 9)), (33, (5 / 6)), (51, (5 / 18)), (55, (5 / 18)), (64, (5 / 18)), (123, (5 / 18))]
theorem singlePair476 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node476 node476Labels = Sparse.eval singlePairValue476 (familyPairVector B) := by have hp := single_label_three B hB node476 have hl : node476Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node476 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node476 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node476 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node476 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node476 (EqualityPatterns.family3.label 1) = PairSemantics.raw5172 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node476 PairSemantics.raw5172; decide +kernel rw [heq] exact (PairSemantics.canonical5172 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node476 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node476 (EqualityPatterns.family3.label 2) = PairSemantics.raw8997 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node476 PairSemantics.raw8997; decide +kernel rw [heq] exact (PairSemantics.canonical8997 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node476 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value717 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node476 (EqualityPatterns.family3.label 3) = PairSemantics.raw5120 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node476 PairSemantics.raw5120; decide +kernel rw [heq] exact (PairSemantics.canonical5120 hH).trans (PairSemantics.sound717 hH) have hm4 : familyPairMoment B (groupedColumns node476 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2104 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node476 (EqualityPatterns.family3.label 4) = PairSemantics.raw3938 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node476 PairSemantics.raw3938; decide +kernel rw [heq] exact (PairSemantics.canonical3938 hH).trans (PairSemantics.sound2104 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue476, PairSemantics.value0, PairSemantics.value46, PairSemantics.value232, PairSemantics.value717, PairSemantics.value2104, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue477 : Sparse (Fin 909) := [(0, (25 / 864)), (1, (5 / 288)), (2, (-35 / 864)), (3, (-5 / 18)), (4, (-5 / 54)), (5, (-5 / 108)), (6, (5 / 864)), (12, (-5 / 54)), (26, (-5 / 27)), (27, (5 / 72)), (35, (-5 / 54)), (51, (5 / 18)), (52, (-5 / 54)), (55, (5 / 18))]
theorem singlePair477 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node477 node477Labels = Sparse.eval singlePairValue477 (familyPairVector B) := by have hp := single_label_three B hB node477 have hl : node477Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node477 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node477 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node477 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node477 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node477 (EqualityPatterns.family3.label 1) = PairSemantics.raw5174 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node477 PairSemantics.raw5174; decide +kernel rw [heq] exact (PairSemantics.canonical5174 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node477 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node477 (EqualityPatterns.family3.label 2) = PairSemantics.raw8994 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node477 PairSemantics.raw8994; decide +kernel rw [heq] exact (PairSemantics.canonical8994 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node477 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value717 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node477 (EqualityPatterns.family3.label 3) = PairSemantics.raw5120 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node477 PairSemantics.raw5120; decide +kernel rw [heq] exact (PairSemantics.canonical5120 hH).trans (PairSemantics.sound717 hH) have hm4 : familyPairMoment B (groupedColumns node477 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2136 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node477 (EqualityPatterns.family3.label 4) = PairSemantics.raw3939 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node477 PairSemantics.raw3939; decide +kernel rw [heq] exact (PairSemantics.canonical3939 hH).trans (PairSemantics.sound2136 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue477, PairSemantics.value0, PairSemantics.value11, PairSemantics.value232, PairSemantics.value717, PairSemantics.value2136, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue478 : Sparse (Fin 909) := [(0, (13 / 432)), (2, (25 / 432)), (3, (-10 / 27)), (4, (-5 / 27)), (25, (5 / 18)), (26, (-5 / 27))]
theorem singlePair478 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node478 node478Labels = Sparse.eval singlePairValue478 (familyPairVector B) := by have hp := single_label_three B hB node478 have hl : node478Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node478 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node478 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node478 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node478 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node478 (EqualityPatterns.family3.label 1) = PairSemantics.raw5155 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node478 PairSemantics.raw5155; decide +kernel rw [heq] exact (PairSemantics.canonical5155 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node478 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node478 (EqualityPatterns.family3.label 2) = PairSemantics.raw9026 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node478 PairSemantics.raw9026; decide +kernel rw [heq] exact (PairSemantics.canonical9026 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node478 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node478 (EqualityPatterns.family3.label 3) = PairSemantics.raw5123 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node478 PairSemantics.raw5123; decide +kernel rw [heq] exact (PairSemantics.canonical5123 hH).trans (PairSemantics.sound46 hH) have hm4 : familyPairMoment B (groupedColumns node478 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2795 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node478 (EqualityPatterns.family3.label 4) = PairSemantics.raw3941 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node478 PairSemantics.raw3941; decide +kernel rw [heq] exact (PairSemantics.canonical3941 hH).trans (PairSemantics.sound2795 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue478, PairSemantics.value0, PairSemantics.value46, PairSemantics.value65, PairSemantics.value2795, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue479 : Sparse (Fin 909) := [(0, (7 / 432)), (1, (85 / 864)), (2, (-25 / 864)), (3, (-25 / 54)), (4, (-5 / 27)), (12, (-5 / 27)), (26, (-5 / 54))]
theorem singlePair479 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node479 node479Labels = Sparse.eval singlePairValue479 (familyPairVector B) := by have hp := single_label_three B hB node479 have hl : node479Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node479 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node479 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node479 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node479 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node479 (EqualityPatterns.family3.label 1) = PairSemantics.raw5156 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node479 PairSemantics.raw5156; decide +kernel rw [heq] exact (PairSemantics.canonical5156 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node479 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node479 (EqualityPatterns.family3.label 2) = PairSemantics.raw9024 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node479 PairSemantics.raw9024; decide +kernel rw [heq] exact (PairSemantics.canonical9024 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node479 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node479 (EqualityPatterns.family3.label 3) = PairSemantics.raw5123 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node479 PairSemantics.raw5123; decide +kernel rw [heq] exact (PairSemantics.canonical5123 hH).trans (PairSemantics.sound46 hH) have hm4 : familyPairMoment B (groupedColumns node479 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2666 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node479 (EqualityPatterns.family3.label 4) = PairSemantics.raw3942 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node479 PairSemantics.raw3942; decide +kernel rw [heq] exact (PairSemantics.canonical3942 hH).trans (PairSemantics.sound2666 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue479, PairSemantics.value0, PairSemantics.value46, PairSemantics.value65, PairSemantics.value232, PairSemantics.value2666, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue480 : Sparse (Fin 909) := [(0, (5 / 288)), (1, (5 / 48)), (2, (-35 / 864)), (3, (-20 / 27)), (4, (-5 / 27)), (12, (-10 / 27)), (13, (-10 / 27)), (26, (-5 / 54)), (33, (5 / 9)), (34, (-5 / 54))]
theorem singlePair480 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node480 node480Labels = Sparse.eval singlePairValue480 (familyPairVector B) := by have hp := single_label_three B hB node480 have hl : node480Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node480 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node480 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node480 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node480 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node480 (EqualityPatterns.family3.label 1) = PairSemantics.raw5158 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node480 PairSemantics.raw5158; decide +kernel rw [heq] exact (PairSemantics.canonical5158 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node480 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node480 (EqualityPatterns.family3.label 2) = PairSemantics.raw9023 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node480 PairSemantics.raw9023; decide +kernel rw [heq] exact (PairSemantics.canonical9023 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node480 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node480 (EqualityPatterns.family3.label 3) = PairSemantics.raw5123 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node480 PairSemantics.raw5123; decide +kernel rw [heq] exact (PairSemantics.canonical5123 hH).trans (PairSemantics.sound46 hH) have hm4 : familyPairMoment B (groupedColumns node480 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2097 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node480 (EqualityPatterns.family3.label 4) = PairSemantics.raw3943 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node480 PairSemantics.raw3943; decide +kernel rw [heq] exact (PairSemantics.canonical3943 hH).trans (PairSemantics.sound2097 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue480, PairSemantics.value0, PairSemantics.value46, PairSemantics.value232, PairSemantics.value2097, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue481 : Sparse (Fin 909) := [(0, (11 / 432)), (1, (5 / 48)), (3, (-10 / 9)), (12, (-5 / 9)), (13, (-10 / 9)), (34, (-5 / 27))]
theorem singlePair481 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node481 node481Labels = Sparse.eval singlePairValue481 (familyPairVector B) := by have hp := single_label_three B hB node481 have hl : node481Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node481 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node481 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node481 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node481 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node481 (EqualityPatterns.family3.label 1) = PairSemantics.raw5160 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node481 PairSemantics.raw5160; decide +kernel rw [heq] exact (PairSemantics.canonical5160 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node481 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node481 (EqualityPatterns.family3.label 2) = PairSemantics.raw9022 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node481 PairSemantics.raw9022; decide +kernel rw [heq] exact (PairSemantics.canonical9022 hH).trans (PairSemantics.sound46 hH) have hm3 : familyPairMoment B (groupedColumns node481 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node481 (EqualityPatterns.family3.label 3) = PairSemantics.raw5123 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node481 PairSemantics.raw5123; decide +kernel rw [heq] exact (PairSemantics.canonical5123 hH).trans (PairSemantics.sound46 hH) have hm4 : familyPairMoment B (groupedColumns node481 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2098 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node481 (EqualityPatterns.family3.label 4) = PairSemantics.raw3944 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node481 PairSemantics.raw3944; decide +kernel rw [heq] exact (PairSemantics.canonical3944 hH).trans (PairSemantics.sound2098 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue481, PairSemantics.value0, PairSemantics.value46, PairSemantics.value2098, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue482 : Sparse (Fin 909) := []
theorem singlePair482 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node482 node482Labels = Sparse.eval singlePairValue482 (familyPairVector B) := by have hp := single_label_three B hB node482 have hl : node482Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node482 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node482 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node482 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node482 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node482 (EqualityPatterns.family3.label 1) = PairSemantics.raw5156 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node482 PairSemantics.raw5156; decide +kernel rw [heq] exact (PairSemantics.canonical5156 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node482 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value5 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node482 (EqualityPatterns.family3.label 2) = PairSemantics.raw9029 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node482 PairSemantics.raw9029; decide +kernel rw [heq] exact (PairSemantics.canonical9029 hH).trans (PairSemantics.sound5 hH) have hm3 : familyPairMoment B (groupedColumns node482 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node482 (EqualityPatterns.family3.label 3) = PairSemantics.raw5127 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node482 PairSemantics.raw5127; decide +kernel rw [heq] exact (PairSemantics.canonical5127 hH).trans (PairSemantics.sound232 hH) have hm4 : familyPairMoment B (groupedColumns node482 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2798 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node482 (EqualityPatterns.family3.label 4) = PairSemantics.raw3945 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node482 PairSemantics.raw3945; decide +kernel rw [heq] exact (PairSemantics.canonical3945 hH).trans (PairSemantics.sound2798 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue482, PairSemantics.value0, PairSemantics.value5, PairSemantics.value232, PairSemantics.value2798, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue483 : Sparse (Fin 909) := [(0, (1 / 27)), (1, (-35 / 432)), (2, (25 / 432)), (3, (5 / 27)), (12, (5 / 54))]
theorem singlePair483 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node483 node483Labels = Sparse.eval singlePairValue483 (familyPairVector B) := by have hp := single_label_three B hB node483 have hl : node483Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node483 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node483 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node483 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node483 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node483 (EqualityPatterns.family3.label 1) = PairSemantics.raw5159 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node483 PairSemantics.raw5159; decide +kernel rw [heq] exact (PairSemantics.canonical5159 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node483 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node483 (EqualityPatterns.family3.label 2) = PairSemantics.raw9025 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node483 PairSemantics.raw9025; decide +kernel rw [heq] exact (PairSemantics.canonical9025 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node483 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node483 (EqualityPatterns.family3.label 3) = PairSemantics.raw5128 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node483 PairSemantics.raw5128; decide +kernel rw [heq] exact (PairSemantics.canonical5128 hH).trans (PairSemantics.sound46 hH) have hm4 : familyPairMoment B (groupedColumns node483 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value1142 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node483 (EqualityPatterns.family3.label 4) = PairSemantics.raw3946 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node483 PairSemantics.raw3946; decide +kernel rw [heq] exact (PairSemantics.canonical3946 hH).trans (PairSemantics.sound1142 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue483, PairSemantics.value0, PairSemantics.value46, PairSemantics.value65, PairSemantics.value1142, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue484 : Sparse (Fin 909) := [(0, (1 / 432)), (1, (25 / 216)), (2, (-25 / 432)), (3, (-35 / 54)), (4, (-10 / 27)), (12, (-5 / 27)), (25, (5 / 9)), (26, (-5 / 54)), (31, (5 / 9)), (33, (5 / 6))]
theorem singlePair484 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node484 node484Labels = Sparse.eval singlePairValue484 (familyPairVector B) := by have hp := single_label_three B hB node484 have hl : node484Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node484 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node484 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node484 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node484 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node484 (EqualityPatterns.family3.label 1) = PairSemantics.raw5178 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node484 PairSemantics.raw5178; decide +kernel rw [heq] exact (PairSemantics.canonical5178 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node484 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node484 (EqualityPatterns.family3.label 2) = PairSemantics.raw9003 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node484 PairSemantics.raw9003; decide +kernel rw [heq] exact (PairSemantics.canonical9003 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node484 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node484 (EqualityPatterns.family3.label 3) = PairSemantics.raw5123 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node484 PairSemantics.raw5123; decide +kernel rw [heq] exact (PairSemantics.canonical5123 hH).trans (PairSemantics.sound46 hH) have hm4 : familyPairMoment B (groupedColumns node484 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2099 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node484 (EqualityPatterns.family3.label 4) = PairSemantics.raw3948 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node484 PairSemantics.raw3948; decide +kernel rw [heq] exact (PairSemantics.canonical3948 hH).trans (PairSemantics.sound2099 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue484, PairSemantics.value0, PairSemantics.value46, PairSemantics.value232, PairSemantics.value2099, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue485 : Sparse (Fin 909) := [(0, (1 / 216)), (1, (25 / 216)), (2, (-5 / 108)), (3, (-35 / 54)), (4, (-5 / 18)), (12, (-5 / 27)), (13, (-5 / 54)), (25, (5 / 18)), (26, (-5 / 18)), (31, (5 / 18)), (33, (5 / 18)), (34, (-5 / 54))]
theorem singlePair485 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node485 node485Labels = Sparse.eval singlePairValue485 (familyPairVector B) := by have hp := single_label_three B hB node485 have hl : node485Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node485 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node485 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node485 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node485 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node485 (EqualityPatterns.family3.label 1) = PairSemantics.raw5171 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node485 PairSemantics.raw5171; decide +kernel rw [heq] exact (PairSemantics.canonical5171 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node485 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node485 (EqualityPatterns.family3.label 2) = PairSemantics.raw9017 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node485 PairSemantics.raw9017; decide +kernel rw [heq] exact (PairSemantics.canonical9017 hH).trans (PairSemantics.sound232 hH) have hm3 : familyPairMoment B (groupedColumns node485 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node485 (EqualityPatterns.family3.label 3) = PairSemantics.raw5127 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node485 PairSemantics.raw5127; decide +kernel rw [heq] exact (PairSemantics.canonical5127 hH).trans (PairSemantics.sound232 hH) have hm4 : familyPairMoment B (groupedColumns node485 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2100 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node485 (EqualityPatterns.family3.label 4) = PairSemantics.raw3949 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node485 PairSemantics.raw3949; decide +kernel rw [heq] exact (PairSemantics.canonical3949 hH).trans (PairSemantics.sound2100 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue485, PairSemantics.value0, PairSemantics.value46, PairSemantics.value232, PairSemantics.value2100, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue486 : Sparse (Fin 909) := [(0, (-1 / 864)), (1, (35 / 108)), (2, (-5 / 96)), (3, (-5 / 6)), (4, (-5 / 9)), (12, (-10 / 27)), (25, (5 / 18)), (26, (-5 / 27))]
theorem singlePair486 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node486 node486Labels = Sparse.eval singlePairValue486 (familyPairVector B) := by have hp := single_label_three B hB node486 have hl : node486Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node486 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node486 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node486 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node486 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node486 (EqualityPatterns.family3.label 1) = PairSemantics.raw5172 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node486 PairSemantics.raw5172; decide +kernel rw [heq] exact (PairSemantics.canonical5172 hH).trans (PairSemantics.sound232 hH) have hm2 : familyPairMoment B (groupedColumns node486 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node486 (EqualityPatterns.family3.label 2) = PairSemantics.raw9016 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node486 PairSemantics.raw9016; decide +kernel rw [heq] exact (PairSemantics.canonical9016 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node486 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node486 (EqualityPatterns.family3.label 3) = PairSemantics.raw5127 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node486 PairSemantics.raw5127; decide +kernel rw [heq] exact (PairSemantics.canonical5127 hH).trans (PairSemantics.sound232 hH) have hm4 : familyPairMoment B (groupedColumns node486 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2301 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node486 (EqualityPatterns.family3.label 4) = PairSemantics.raw3950 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node486 PairSemantics.raw3950; decide +kernel rw [heq] exact (PairSemantics.canonical3950 hH).trans (PairSemantics.sound2301 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue486, PairSemantics.value0, PairSemantics.value11, PairSemantics.value232, PairSemantics.value2301, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue487 : Sparse (Fin 909) := [(0, (1 / 36)), (1, (-25 / 432)), (2, (5 / 144)), (3, (5 / 27)), (4, (5 / 54)), (25, (-5 / 18)), (26, (5 / 54))]
theorem singlePair487 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node487 node487Labels = Sparse.eval singlePairValue487 (familyPairVector B) := by have hp := single_label_three B hB node487 have hl : node487Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node487 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node487 (EqualityPatterns.family3.label 0) = PairSemantics.raw7981 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node487 PairSemantics.raw7981; decide +kernel rw [heq] exact (PairSemantics.canonical7981 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node487 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node487 (EqualityPatterns.family3.label 1) = PairSemantics.raw5173 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node487 PairSemantics.raw5173; decide +kernel rw [heq] exact (PairSemantics.canonical5173 hH).trans (PairSemantics.sound46 hH) have hm2 : familyPairMoment B (groupedColumns node487 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node487 (EqualityPatterns.family3.label 2) = PairSemantics.raw9015 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node487 PairSemantics.raw9015; decide +kernel rw [heq] exact (PairSemantics.canonical9015 hH).trans (PairSemantics.sound11 hH) have hm3 : familyPairMoment B (groupedColumns node487 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value46 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node487 (EqualityPatterns.family3.label 3) = PairSemantics.raw5128 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node487 PairSemantics.raw5128; decide +kernel rw [heq] exact (PairSemantics.canonical5128 hH).trans (PairSemantics.sound46 hH) have hm4 : familyPairMoment B (groupedColumns node487 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value706 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node487 (EqualityPatterns.family3.label 4) = PairSemantics.raw3951 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node487 PairSemantics.raw3951; decide +kernel rw [heq] exact (PairSemantics.canonical3951 hH).trans (PairSemantics.sound706 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue487, PairSemantics.value0, PairSemantics.value11, PairSemantics.value46, PairSemantics.value706, Sparse.eval] at hp ⊢ linarith only [hp]
def singlePairValue488 : Sparse (Fin 909) := [(0, (29 / 864)), (1, (5 / 48)), (2, (-5 / 96)), (3, (-5 / 18)), (4, (-5 / 27)), (12, (-5 / 27))]
theorem singlePair488 (B : Fin 7 → Basis) (hB : IsMUBFamily B) : mixedMoment B node488 node488Labels = Sparse.eval singlePairValue488 (familyPairVector B) := by have hp := single_label_three B hB node488 have hl : node488Labels = (fun _ => (0 : Fin 1)) := by decide +kernel rw [← hl] at hp have hm0 : familyPairMoment B (groupedColumns node488 (EqualityPatterns.family3.label 0)) = Sparse.eval PairSemantics.value0 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node488 (EqualityPatterns.family3.label 0) = PairSemantics.raw7982 := by rw [groupedColumns_family3_0] apply Matrix.ext; unfold node488 PairSemantics.raw7982; decide +kernel rw [heq] exact (PairSemantics.canonical7982 hH).trans (PairSemantics.sound0 hH) have hm1 : familyPairMoment B (groupedColumns node488 (EqualityPatterns.family3.label 1)) = Sparse.eval PairSemantics.value11 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node488 (EqualityPatterns.family3.label 1) = PairSemantics.raw5174 := by rw [groupedColumns_family3_1] apply Matrix.ext; unfold node488 PairSemantics.raw5174; decide +kernel rw [heq] exact (PairSemantics.canonical5174 hH).trans (PairSemantics.sound11 hH) have hm2 : familyPairMoment B (groupedColumns node488 (EqualityPatterns.family3.label 2)) = Sparse.eval PairSemantics.value65 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node488 (EqualityPatterns.family3.label 2) = PairSemantics.raw9012 := by rw [groupedColumns_family3_2] apply Matrix.ext; unfold node488 PairSemantics.raw9012; decide +kernel rw [heq] exact (PairSemantics.canonical9012 hH).trans (PairSemantics.sound65 hH) have hm3 : familyPairMoment B (groupedColumns node488 (EqualityPatterns.family3.label 3)) = Sparse.eval PairSemantics.value232 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node488 (EqualityPatterns.family3.label 3) = PairSemantics.raw5127 := by rw [groupedColumns_family3_3] apply Matrix.ext; unfold node488 PairSemantics.raw5127; decide +kernel rw [heq] exact (PairSemantics.canonical5127 hH).trans (PairSemantics.sound232 hH) have hm4 : familyPairMoment B (groupedColumns node488 (EqualityPatterns.family3.label 4)) = Sparse.eval PairSemantics.value2137 (familyPairVector B) := by apply familyPairMoment_of_pointwise B hB intro H hH have heq : groupedColumns node488 (EqualityPatterns.family3.label 4) = PairSemantics.raw3953 := by rw [groupedColumns_family3_4] apply Matrix.ext; unfold node488 PairSemantics.raw3953; decide +kernel rw [heq] exact (PairSemantics.canonical3953 hH).trans (PairSemantics.sound2137 hH) rw [hm0, hm1, hm2, hm3, hm4] at hp norm_num [singlePairValue488, PairSemantics.value0, PairSemantics.value11, PairSemantics.value65, PairSemantics.value232, PairSemantics.value2137, Sparse.eval] at hp ⊢ linarith only [hp]
end MUB6.Certificate.MixedSemantics
end OAIlean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup14.leanAdded+929
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup15.leanAdded+1087
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup16.leanAdded+934
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup17.leanAdded+927
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup18.leanAdded+927
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup19.leanAdded+931
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup2.leanAdded+930
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup20.leanAdded+925
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup21.leanAdded+928
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup22.leanAdded+929
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup23.leanAdded+927
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup24.leanAdded+928
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup25.leanAdded+935
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup26.leanAdded+1088
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup27.leanAdded+928
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup28.leanAdded+928
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup29.leanAdded+927
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup3.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup30.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup31.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup32.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup4.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup5.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup6.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup7.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup8.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleGroup9.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SinglePriority.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/SingleRules.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons10.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons18.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons19.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons20.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons21.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons22.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons23.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons36.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons39.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons40.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons41.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons43.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons44.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons45.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons46.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons48.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons49.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons50.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons57.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons58.leanAdded
lean/OAI/Analysis/MutuallyUnbiased/MixedSemantics/Singletons59.leanAdded