cfahlgren1/math / lean /OAI /Analysis /LaughlinFock /Certificate21.lean
cfahlgren1's picture
download
raw
26.5 kB
import Mathlib
import OAI.Analysis.LaughlinFock.Certificate21Data
import OAI.Analysis.LaughlinFock.GramCache
import OAI.Analysis.LaughlinFock.TraceSymmetry
namespace OAI
/-! Certificate21. -/
noncomputable section
namespace LaughlinFock
open scoped BigOperators Matrix ComplexOrder
theorem fourYLower_21 (r s : CopyLabel 21) (hrs : s.val.val ≤ r.val.val) :
integerRowsFourTrace 21 r s = fourYData_21 r s := by
rw [integerRowsFourTrace_collected (by decide) collectedFourData_21 collectedFourChecked_21]
fin_cases r <;> fin_cases s
· exact fourYNumber_21_1_1
· have h : (3:ℕ) ≤ 1 := hrs
omega
· have h : (5:ℕ) ≤ 1 := hrs
omega
· have h : (7:ℕ) ≤ 1 := hrs
omega
· have h : (9:ℕ) ≤ 1 := hrs
omega
· have h : (11:ℕ) ≤ 1 := hrs
omega
· have h : (13:ℕ) ≤ 1 := hrs
omega
· have h : (15:ℕ) ≤ 1 := hrs
omega
· have h : (17:ℕ) ≤ 1 := hrs
omega
· have h : (19:ℕ) ≤ 1 := hrs
omega
· have h : (21:ℕ) ≤ 1 := hrs
omega
· exact fourYNumber_21_3_1
· exact fourYNumber_21_3_3
· have h : (5:ℕ) ≤ 3 := hrs
omega
· have h : (7:ℕ) ≤ 3 := hrs
omega
· have h : (9:ℕ) ≤ 3 := hrs
omega
· have h : (11:ℕ) ≤ 3 := hrs
omega
· have h : (13:ℕ) ≤ 3 := hrs
omega
· have h : (15:ℕ) ≤ 3 := hrs
omega
· have h : (17:ℕ) ≤ 3 := hrs
omega
· have h : (19:ℕ) ≤ 3 := hrs
omega
· have h : (21:ℕ) ≤ 3 := hrs
omega
· exact fourYNumber_21_5_1
· exact fourYNumber_21_5_3
· exact fourYNumber_21_5_5
· have h : (7:ℕ) ≤ 5 := hrs
omega
· have h : (9:ℕ) ≤ 5 := hrs
omega
· have h : (11:ℕ) ≤ 5 := hrs
omega
· have h : (13:ℕ) ≤ 5 := hrs
omega
· have h : (15:ℕ) ≤ 5 := hrs
omega
· have h : (17:ℕ) ≤ 5 := hrs
omega
· have h : (19:ℕ) ≤ 5 := hrs
omega
· have h : (21:ℕ) ≤ 5 := hrs
omega
· exact fourYNumber_21_7_1
· exact fourYNumber_21_7_3
· exact fourYNumber_21_7_5
· exact fourYNumber_21_7_7
· have h : (9:ℕ) ≤ 7 := hrs
omega
· have h : (11:ℕ) ≤ 7 := hrs
omega
· have h : (13:ℕ) ≤ 7 := hrs
omega
· have h : (15:ℕ) ≤ 7 := hrs
omega
· have h : (17:ℕ) ≤ 7 := hrs
omega
· have h : (19:ℕ) ≤ 7 := hrs
omega
· have h : (21:ℕ) ≤ 7 := hrs
omega
· exact fourYNumber_21_9_1
· exact fourYNumber_21_9_3
· exact fourYNumber_21_9_5
· exact fourYNumber_21_9_7
· exact fourYNumber_21_9_9
· have h : (11:ℕ) ≤ 9 := hrs
omega
· have h : (13:ℕ) ≤ 9 := hrs
omega
· have h : (15:ℕ) ≤ 9 := hrs
omega
· have h : (17:ℕ) ≤ 9 := hrs
omega
· have h : (19:ℕ) ≤ 9 := hrs
omega
· have h : (21:ℕ) ≤ 9 := hrs
omega
· exact fourYNumber_21_11_1
· exact fourYNumber_21_11_3
· exact fourYNumber_21_11_5
· exact fourYNumber_21_11_7
· exact fourYNumber_21_11_9
· exact fourYNumber_21_11_11
· have h : (13:ℕ) ≤ 11 := hrs
omega
· have h : (15:ℕ) ≤ 11 := hrs
omega
· have h : (17:ℕ) ≤ 11 := hrs
omega
· have h : (19:ℕ) ≤ 11 := hrs
omega
· have h : (21:ℕ) ≤ 11 := hrs
omega
· exact fourYNumber_21_13_1
· exact fourYNumber_21_13_3
· exact fourYNumber_21_13_5
· exact fourYNumber_21_13_7
· exact fourYNumber_21_13_9
· exact fourYNumber_21_13_11
· exact fourYNumber_21_13_13
· have h : (15:ℕ) ≤ 13 := hrs
omega
· have h : (17:ℕ) ≤ 13 := hrs
omega
· have h : (19:ℕ) ≤ 13 := hrs
omega
· have h : (21:ℕ) ≤ 13 := hrs
omega
· exact fourYNumber_21_15_1
· exact fourYNumber_21_15_3
· exact fourYNumber_21_15_5
· exact fourYNumber_21_15_7
· exact fourYNumber_21_15_9
· exact fourYNumber_21_15_11
· exact fourYNumber_21_15_13
· exact fourYNumber_21_15_15
· have h : (17:ℕ) ≤ 15 := hrs
omega
· have h : (19:ℕ) ≤ 15 := hrs
omega
· have h : (21:ℕ) ≤ 15 := hrs
omega
· exact fourYNumber_21_17_1
· exact fourYNumber_21_17_3
· exact fourYNumber_21_17_5
· exact fourYNumber_21_17_7
· exact fourYNumber_21_17_9
· exact fourYNumber_21_17_11
· exact fourYNumber_21_17_13
· exact fourYNumber_21_17_15
· exact fourYNumber_21_17_17
· have h : (19:ℕ) ≤ 17 := hrs
omega
· have h : (21:ℕ) ≤ 17 := hrs
omega
· exact fourYNumber_21_19_1
· exact fourYNumber_21_19_3
· exact fourYNumber_21_19_5
· exact fourYNumber_21_19_7
· exact fourYNumber_21_19_9
· exact fourYNumber_21_19_11
· exact fourYNumber_21_19_13
· exact fourYNumber_21_19_15
· exact fourYNumber_21_19_17
· exact fourYNumber_21_19_19
· have h : (21:ℕ) ≤ 19 := hrs
omega
· exact fourYNumber_21_21_1
· exact fourYNumber_21_21_3
· exact fourYNumber_21_21_5
· exact fourYNumber_21_21_7
· exact fourYNumber_21_21_9
· exact fourYNumber_21_21_11
· exact fourYNumber_21_21_13
· exact fourYNumber_21_21_15
· exact fourYNumber_21_21_17
· exact fourYNumber_21_21_19
· exact fourYNumber_21_21_21
theorem fourYChecked_21 (r s : CopyLabel 21) :
integerRowsFourTrace 21 r s = fourYData_21 r s := by
have hh : ∀ r s : CopyLabel 21, fourYData_21 r s = fourYData_21 s r := by
apply @of_decide_eq_true _ (matrixEntriesDecidable _ _)
decide +kernel
by_cases h : s.val.val ≤ r.val.val
· exact fourYLower_21 r s h
· rw [integerRowsFourTrace_symm, fourYLower_21 s r (by omega), hh]
def fourHighestCache_21_0 : List (Occupation 24 × List ℚ) := [
({0,1,2,19}, [350337889177436160000, 122618261212102656000, 80285766269829120000, 45981847954538496000, 20436376868683776000, 3649353012264960000, -4379223614717952000, -3649353012264960000, 5838964819623936000, 24085729880948736000, 51090942171709440000]),
({0,1,3,18}, [-350337889177436160000, -122618261212102656000, -80285766269829120000, -45981847954538496000, -20436376868683776000, -3649353012264960000, 4379223614717952000, 3649353012264960000, -5838964819623936000, -24085729880948736000, -51090942171709440000]),
({0,1,4,17}, [622822914093219840000, 172095805209968640000, 85364982743040000000, 37287424462159872000, 12753528421810176000, 1664617163489280000, -2432902008176640000, -2304854534062080000, 2970701399457792000, 18003474860507136000, 51090942171709440000]),
({0,1,5,16}, [-622822914093219840000, -172095805209968640000, -76366509268008960000, -27839027313377280000, -6462631340605440000, -7532204359680000, 866203501363200000, 1039444201635840000, -512189896458240000, -12164510040883200000, -51090942171709440000])
]
def fourHighestCache_21_1 : List (Occupation 24 × List ℚ) := [
({0,1,6,15}, [817455074747351040000, 182851793035591680000, 61636028275261440000, 18058459952332800000, 2881068167577600000, -547967867166720000, -222200028610560000, -217492400885760000, -640237370572800000, 7298706024529920000, 51090942171709440000]),
({0,1,7,14}, [-817455074747351040000, -182851793035591680000, -48138318062714880000, -10184795661680640000, -964875378475008000, 382259371253760000, 117753461489664000, -151585612738560000, 776821342961664000, -3406062811447296000, -51090942171709440000]),
({0,1,8,13}, [934234371139829760000, 179471339718967296000, 35491746942812160000, 5202242477752320000, 40673903542272000, -109216963215360000, -110221257129984000, 173240700272640000, -401215418892288000, 486580401635328000, 51090942171709440000]),
({0,1,9,12}, [-934234371139829760000, -179471339718967296000, -25850525362421760000, -2277738598367232000, 190159190065152000, 19989311569920000, 33894919618560000, -22596613079040000, -76828484468736000, 1459741204905984000, -51090942171709440000])
]
def fourHighestCache_21_2 : List (Occupation 24 × List ℚ) := [
({0,1,10,11}, [973160803270656000000, 176705514278092800000, 21353799359692800000, 764518742507520000, -118197668413440000, -51276929679360000, 52725430517760000, -112983065395200000, 384142422343680000, -2432902008176640000, 51090942171709440000]),
({0,2,3,17}, [-272485024915783680000, -49477543997865984000, -5079216473210880000, 8694423492378624000, 7682848446873600000, 1984735848775680000, -1946321606541312000, -1344498478202880000, 2868263420166144000, 6082255020441600000, 0]),
({0,2,4,16}, [0, 0, -8998473475031040000, -9448397148782592000, -6290897081204736000, -1657084959129600000, 1566698506813440000, 1265410332426240000, -2458511502999552000, -5838964819623936000, 0]),
({0,2,5,15}, [-194632160654131200000, -10755987825623040000, 14730480992747520000, 9780567361044480000, 3581563173027840000, 555500071526400000, -644003472752640000, -821951800750080000, 1152427267031040000, 4865804016353280000, 0])
]
def fourHighestCache_21_3 : List (Occupation 24 × List ℚ) := [
({0,2,6,14}, [0, 0, -13497710212546560000, -7873664290652160000, -1916192789102592000, 165708495912960000, 104446567120896000, 369078013624320000, -136583972388864000, -3892643213082624000, 0]),
({0,2,7,13}, [-116779296392478720000, 3380453316624384000, 12646571119902720000, 4982553183928320000, 924201474932736000, -273042408038400000, -7532204359680000, -21655087534080000, -375605924069376000, 2919482409811968000, 0]),
({0,2,8,12}, [0, 0, -9641221580390400000, -2924503879385088000, -230833093607424000, 89227651645440000, 76326337511424000, -150644087193600000, 478043903361024000, -1946321606541312000, 0]),
({0,2,9,11}, [-38926432130826240000, 2765825440874496000, 4496726002728960000, 1513219855859712000, -71961521651712000, 31287618109440000, -86620350136320000, 135579678474240000, -307313937874944000, 973160803270656000, 0])
]
def fourHighestCache_21_4 : List (Occupation 24 × List ℚ) := [
({0,3,4,15}, [467117185569914880000, 60233531823489024000, 8345682430525440000, 421803444142080000, 1317382542508032000, 773933997957120000, -543071934332928000, -364370385899520000, 896332318801920000, 729870602452992000, 0]),
({0,3,5,14}, [-272485024915783680000, -49477543997865984000, -11828071579484160000, -1541340085469184000, -795400780382208000, -583745837875200000, 351502870118400000, 369078013624320000, -751211848138752000, -729870602452992000, 0]),
({0,3,6,13}, [583896481962393600000, 56853078506864640000, 8232699365130240000, 1850662611173376000, 519722100817920000, 135579678474240000, -65530177929216000, -271159356948480000, 384142422343680000, 729870602452992000, 0]),
({0,3,7,12}, [-467117185569914880000, -60233531823489024000, -6417438114447360000, -1096688954769408000, -452453721882624000, 105595711119360000, -47452887465984000, 130872050749440000, -76828484468736000, -729870602452992000, 0])
]
def fourHighestCache_21_5 : List (Occupation 24 × List ℚ) := [
({0,3,8,11}, [622822914093219840000, 54087253065990144000, 5342843625799680000, 674885510627328000, 237090617229312000, -80536646615040000, 5021469573120000, 11298306539520000, -128047474114560000, 729870602452992000, 0]),
({0,3,9,10}, [-583896481962393600000, -56853078506864640000, -3412088574935040000, -838334345232384000, 18424930664448000, -22596613079040000, 65530177929216000, -101684758855680000, 230485453406208000, -729870602452992000, 0]),
({0,4,5,13}, [-311411457046609920000, -7375534508998656000, 6809112741150720000, 365562984923136000, -122021710626816000, 282457663488000000, -129302841507840000, -90386452316160000, 230485453406208000, 0, 0]),
({0,4,6,12}, [0, 0, -5784732948234240000, -674885510627328000, 164086174973952000, -191202110668800000, 60257634877440000, 105450861035520000, -204875958583296000, 0, 0])
]
def fourHighestCache_21_6 : List (Occupation 24 × List ℚ) := [
({0,4,7,11}, [-155705728523304960000, 6146278757498880000, 4288335015444480000, 196841607266304000, 40152443240448000, 13181357629440000, 26362715258880000, -96977131130880000, 136583972388864000, 0, 0]),
({0,4,8,10}, [0, 0, -3213740526796800000, 224961836875776000, -136274958876672000, 54463631523840000, -44188932243456000, 60257634877440000, -68291986194432000, 0, 0]),
({0,5,6,11}, [350337889177436160000, 4609709068124160000, 1227749310627840000, 483316446412800000, -191202110668800000, 100525958184960000, -35150287011840000, -15064408719360000, 42682491371520000, 0, 0]),
({0,5,7,10}, [-194632160654131200000, -10755987825623040000, -1338221641236480000, -342715298365440000, 119066768916480000, -52870280601600000, 8787571752960000, 25421189713920000, -42682491371520000, 0, 0])
]
def fourHighestCache_21_7 : List (Occupation 24 × List ℚ) := [
({0,5,8,9}, [311411457046609920000, 7375534508998656000, 2832108839239680000, -140601148047360000, 41369183944704000, -19409911234560000, 24856274386944000, -37661021798400000, 42682491371520000, 0, 0]),
({0,6,7,9}, [-116779296392478720000, 3380453316624384000, -851139092643840000, 258354609537024000, -79783426179072000, 31722168360960000, -13557967847424000, 4707627724800000, 0, 0, 0]),
({1,2,3,16}, [272485024915783680000, 49477543997865984000, 14077689948241920000, 753973656403968000, -1391951365668864000, -327650889646080000, 379623099727872000, 79088145776640000, -409751917166592000, -243290200817664000, 0]),
({1,2,4,15}, [-272485024915783680000, -49477543997865984000, -14077689948241920000, -753973656403968000, 1391951365668864000, 327650889646080000, -379623099727872000, -79088145776640000, 409751917166592000, 243290200817664000, 0])
]
def fourHighestCache_21_8 : List (Occupation 24 × List ℚ) := [
({1,2,5,14}, [467117185569914880000, 60233531823489024000, 10595300799283200000, -365562984923136000, -869969603543040000, -137462729564160000, 188054035513344000, 83795773501440000, -264631446503424000, -243290200817664000, 0]),
({1,2,6,13}, [-467117185569914880000, -60233531823489024000, -7381560272486400000, 1040448495550464000, 472269213351936000, -28245766348800000, -31384184832000000, -76263569141760000, 128047474114560000, 243290200817664000, 0]),
({1,2,7,12}, [583896481962393600000, 56853078506864640000, 3412088574935040000, -961360349773824000, -240914659442688000, 78219045273600000, -21341245685760000, 41427123978240000, -25609494822912000, -243290200817664000, 0]),
({1,2,8,11}, [-583896481962393600000, -56853078506864640000, -198348048138240000, 736398512898048000, 65703998029824000, -39978623139840000, 5272543051776000, 3766102179840000, -42682491371520000, 243290200817664000, 0])
]
def fourHighestCache_21_9 : List (Occupation 24 × List ℚ) := [
({1,2,9,10}, [622822914093219840000, 54087253065990144000, -1084637427793920000, -674885510627328000, 53536590987264000, -8691005030400000, 21090172207104000, -33894919618560000, 76828484468736000, -243290200817664000, 0]),
({1,3,4,14}, [-194632160654131200000, -10755987825623040000, 3482389148958720000, 1119536641327104000, -521981762125824000, -190188160081920000, 191569064214528000, -4707627724800000, -145120470663168000, 0, 0]),
({1,3,5,13}, [0, 0, -3213740526796800000, -674885510627328000, 397700390191104000, 165708495912960000, -156669850681344000, -7532204359680000, 136583972388864000, 0, 0]),
({1,3,6,12}, [-116779296392478720000, 3380453316624384000, 3969471697551360000, -79088145776640000, -231354553909248000, -49973278924800000, 52725430517760000, 34836445163520000, -102437979291648000, 0, 0])
]
def fourHighestCache_21_10 : List (Occupation 24 × List ℚ) := [
({1,3,7,11}, [0, 0, -3213740526796800000, 224961836875776000, 175210661412864000, -38240422133760000, 16068702633984000, -45193226158080000, 68291986194432000, 0, 0]),
({1,3,8,10}, [-38926432130826240000, 2765825440874496000, 1282985475932160000, -61513002270720000, -119240589017088000, 48669628170240000, -26362715258880000, 30128817438720000, -34145993097216000, 0, 0]),
({1,4,5,12}, [311411457046609920000, 7375534508998656000, -1024379792916480000, 309322525704192000, -42064464347136000, -91255552819200000, 69045206630400000, -15064408719360000, -25609494822912000, 0, 0]),
({1,4,6,11}, [-194632160654131200000, -10755987825623040000, 268648622161920000, -5272543051776000, -13036507545600000, 77494794854400000, -51470063124480000, 6590678814720000, 25609494822912000, 0, 0])
]
def fourHighestCache_21_11 : List (Occupation 24 × List ℚ) := [
({1,4,7,10}, [350337889177436160000, 4609709068124160000, 263627152588800000, -79088145776640000, -22944253280256000, -14774708551680000, 9038645231616000, 11298306539520000, -25609494822912000, 0, 0]),
({1,4,8,9}, [-311411457046609920000, -7375534508998656000, 381631687557120000, -84360688828416000, 94905774931968000, -35053720289280000, 19332657856512000, -22596613079040000, 25609494822912000, 0, 0]),
({1,5,6,10}, [-155705728523304960000, 6146278757498880000, 110472330608640000, -140601148047360000, 72135341752320000, -47655677583360000, 26362715258880000, -10356780994560000, 0, 0, 0]),
({1,5,7,9}, [0, 0, -642748105359360000, 224961836875776000, -80652526682112000, 40558023475200000, -20085878292480000, 7532204359680000, 0, 0, 0])
]
def fourHighestCache_21_12 : List (Occupation 24 × List ℚ) := [
({1,6,7,8}, [116779296392478720000, -3380453316624384000, 851139092643840000, -258354609537024000, 79783426179072000, -31722168360960000, 13557967847424000, -4707627724800000, 0, 0, 0]),
({2,3,4,13}, [194632160654131200000, 10755987825623040000, -268648622161920000, -444651130699776000, 124281371934720000, 24479664168960000, -34899213533184000, 12239832084480000, 8536498274304000, 0, 0]),
({2,3,5,12}, [-194632160654131200000, -10755987825623040000, 268648622161920000, 444651130699776000, -124281371934720000, -24479664168960000, 34899213533184000, -12239832084480000, -8536498274304000, 0, 0]),
({2,3,6,11}, [311411457046609920000, 7375534508998656000, -1024379792916480000, -140601148047360000, 69180400041984000, 10718906204160000, -17324070027264000, 3766102179840000, 8536498274304000, 0, 0])
]
def fourHighestCache_21_13 : List (Occupation 24 × List ℚ) := [
({2,3,7,10}, [-311411457046609920000, -7375534508998656000, 1667127898275840000, -84360688828416000, -33025819115520000, 4345502515200000, 1255367393280000, 3766102179840000, -8536498274304000, 0, 0]),
({2,3,8,9}, [350337889177436160000, 4609709068124160000, -1664617163489280000, 145873691099136000, 24334814085120000, -13615907880960000, 7030057402368000, -7532204359680000, 8536498274304000, 0, 0]),
({2,4,5,11}, [-116779296392478720000, 3380453316624384000, 755731170754560000, -304049982652416000, 55100971892736000, 13760757964800000, -17575143505920000, 8473729904640000, 0, 0, 0]),
({2,4,6,10}, [0, 0, -642748105359360000, 224961836875776000, -36154580926464000, -15064408719360000, 16068702633984000, -7532204359680000, 0, 0, 0])
]
def fourHighestCache_21_14 : List (Occupation 24 × List ℚ) := [
({2,4,7,9}, [-38926432130826240000, 2765825440874496000, -2510734786560000, -61513002270720000, 8691005030400000, 9270405365760000, -8285424795648000, 3766102179840000, 0, 0, 0]),
({2,5,6,9}, [155705728523304960000, -6146278757498880000, 532275774750720000, -84360688828416000, 8517184929792000, 7097654108160000, -6276836966400000, 2824576634880000, 0, 0, 0]),
({2,5,7,8}, [-116779296392478720000, 3380453316624384000, -208390987284480000, 33392772661248000, 869100503040000, -8835855114240000, 6527910445056000, -2824576634880000, 0, 0, 0]),
({3,4,5,10}, [116779296392478720000, -3380453316624384000, -112983065395200000, 79088145776640000, -18946390966272000, 1303650754560000, 1506440871936000, -941525544960000, 0, 0, 0])
]
def fourHighestCache_21_15 : List (Occupation 24 × List ℚ) := [
({3,4,6,9}, [-116779296392478720000, 3380453316624384000, 112983065395200000, -79088145776640000, 18946390966272000, -1303650754560000, -1506440871936000, 941525544960000, 0, 0, 0]),
({3,4,7,8}, [155705728523304960000, -6146278757498880000, 210901722071040000, 28120229609472000, -9560105533440000, -434550251520000, 1757514350592000, -941525544960000, 0, 0, 0]),
({3,5,6,8}, [-38926432130826240000, 2765825440874496000, -323884787466240000, 50967916167168000, -9386285432832000, 1738201006080000, -251073478656000, 0, 0, 0, 0]),
({4,5,6,7}, [38926432130826240000, -2765825440874496000, 323884787466240000, -50967916167168000, 9386285432832000, -1738201006080000, 251073478656000, 0, 0, 0, 0])
]
def fourHighestCache_21 : List (Occupation 24 × List ℚ) := fourHighestCache_21_0 ++ fourHighestCache_21_1 ++ fourHighestCache_21_2 ++ fourHighestCache_21_3 ++ fourHighestCache_21_4 ++ fourHighestCache_21_5 ++ fourHighestCache_21_6 ++ fourHighestCache_21_7 ++ fourHighestCache_21_8 ++ fourHighestCache_21_9 ++ fourHighestCache_21_10 ++ fourHighestCache_21_11 ++ fourHighestCache_21_12 ++ fourHighestCache_21_13 ++ fourHighestCache_21_14 ++ fourHighestCache_21_15
theorem fourHighestNumber_21_1 : ∀ A∈highestFourOccupations 21,
kernelHighestEntry 21 ⟨⟨1,by decide⟩,by decide⟩ A = highestLookup fourHighestCache_21 1 A := by
rw [fourOccupations_21]
apply @of_decide_eq_true _ (boundedEntriesDecidable _ _ _)
decide +kernel
theorem fourHighestNumber_21_3 : ∀ A∈highestFourOccupations 21,
kernelHighestEntry 21 ⟨⟨3,by decide⟩,by decide⟩ A = highestLookup fourHighestCache_21 3 A := by
rw [fourOccupations_21]
apply @of_decide_eq_true _ (boundedEntriesDecidable _ _ _)
decide +kernel
theorem fourHighestNumber_21_5 : ∀ A∈highestFourOccupations 21,
kernelHighestEntry 21 ⟨⟨5,by decide⟩,by decide⟩ A = highestLookup fourHighestCache_21 5 A := by
rw [fourOccupations_21]
apply @of_decide_eq_true _ (boundedEntriesDecidable _ _ _)
decide +kernel
theorem fourHighestNumber_21_7 : ∀ A∈highestFourOccupations 21,
kernelHighestEntry 21 ⟨⟨7,by decide⟩,by decide⟩ A = highestLookup fourHighestCache_21 7 A := by
rw [fourOccupations_21]
apply @of_decide_eq_true _ (boundedEntriesDecidable _ _ _)
decide +kernel
theorem fourHighestNumber_21_9 : ∀ A∈highestFourOccupations 21,
kernelHighestEntry 21 ⟨⟨9,by decide⟩,by decide⟩ A = highestLookup fourHighestCache_21 9 A := by
rw [fourOccupations_21]
apply @of_decide_eq_true _ (boundedEntriesDecidable _ _ _)
decide +kernel
theorem fourHighestNumber_21_11 : ∀ A∈highestFourOccupations 21,
kernelHighestEntry 21 ⟨⟨11,by decide⟩,by decide⟩ A = highestLookup fourHighestCache_21 11 A := by
rw [fourOccupations_21]
apply @of_decide_eq_true _ (boundedEntriesDecidable _ _ _)
decide +kernel
theorem fourHighestNumber_21_13 : ∀ A∈highestFourOccupations 21,
kernelHighestEntry 21 ⟨⟨13,by decide⟩,by decide⟩ A = highestLookup fourHighestCache_21 13 A := by
rw [fourOccupations_21]
apply @of_decide_eq_true _ (boundedEntriesDecidable _ _ _)
decide +kernel
theorem fourHighestNumber_21_15 : ∀ A∈highestFourOccupations 21,
kernelHighestEntry 21 ⟨⟨15,by decide⟩,by decide⟩ A = highestLookup fourHighestCache_21 15 A := by
rw [fourOccupations_21]
apply @of_decide_eq_true _ (boundedEntriesDecidable _ _ _)
decide +kernel
theorem fourHighestNumber_21_17 : ∀ A∈highestFourOccupations 21,
kernelHighestEntry 21 ⟨⟨17,by decide⟩,by decide⟩ A = highestLookup fourHighestCache_21 17 A := by
rw [fourOccupations_21]
apply @of_decide_eq_true _ (boundedEntriesDecidable _ _ _)
decide +kernel
theorem fourHighestNumber_21_19 : ∀ A∈highestFourOccupations 21,
kernelHighestEntry 21 ⟨⟨19,by decide⟩,by decide⟩ A = highestLookup fourHighestCache_21 19 A := by
rw [fourOccupations_21]
apply @of_decide_eq_true _ (boundedEntriesDecidable _ _ _)
decide +kernel
theorem fourHighestNumber_21_21 : ∀ A∈highestFourOccupations 21,
kernelHighestEntry 21 ⟨⟨21,by decide⟩,by decide⟩ A = highestLookup fourHighestCache_21 21 A := by
rw [fourOccupations_21]
apply @of_decide_eq_true _ (boundedEntriesDecidable _ _ _)
decide +kernel
theorem fourHighestChecked_21 : ∀ r : CopyLabel 21, ∀ A∈highestFourOccupations 21,
kernelHighestEntry 21 r A = highestLookup fourHighestCache_21 r.val.val A := by
intro r
fin_cases r
· exact fourHighestNumber_21_1
· exact fourHighestNumber_21_3
· exact fourHighestNumber_21_5
· exact fourHighestNumber_21_7
· exact fourHighestNumber_21_9
· exact fourHighestNumber_21_11
· exact fourHighestNumber_21_13
· exact fourHighestNumber_21_15
· exact fourHighestNumber_21_17
· exact fourHighestNumber_21_19
· exact fourHighestNumber_21_21
theorem fourZChecked_21 (r s : CopyLabel 21) :
integerFourGram 21 r s = fourZData_21 r s := by
rw [integerFourGram_cached 21 fourHighestCache_21 fourHighestChecked_21]
have h : ∀ r s : CopyLabel 21, cachedFourGram 21 fourHighestCache_21 r s = fourZData_21 r s := by
simp only [cachedFourGram, fourOccupations_21]
apply @of_decide_eq_true _ (matrixEntriesDecidable _ _)
decide +kernel
exact h r s
theorem fourLDLChecked_21 :
fourZData_21 * (Matrix.diagonal (fun r : CopyLabel 21 =>
((if r.val.val=1 then 2 else 0)+3/10^6) * rationalCopyDiagonal 21 r.val.val) -
Matrix.diagonal (fun r : CopyLabel 21 => rationalCopyDiagonal 21 r.val.val) *
fourYData_21 * Matrix.diagonal (fun r : CopyLabel 21 => rationalCopyDiagonal 21 r.val.val)) *
fourZData_21 = fourLData_21 * Matrix.diagonal fourPivotData_21 * (fourLData_21)ᵀ := by
have h : ∀ r s : CopyLabel 21,
(fourZData_21 * (Matrix.diagonal (fun r : CopyLabel 21 =>
((if r.val.val=1 then 2 else 0)+3/10^6) * rationalCopyDiagonal 21 r.val.val) -
Matrix.diagonal (fun r : CopyLabel 21 => rationalCopyDiagonal 21 r.val.val) *
fourYData_21 * Matrix.diagonal (fun r : CopyLabel 21 => rationalCopyDiagonal 21 r.val.val)) *
fourZData_21 : Matrix (CopyLabel 21) (CopyLabel 21) ℚ) r s =
(fourLData_21 * Matrix.diagonal fourPivotData_21 * (fourLData_21)ᵀ : Matrix (CopyLabel 21) (CopyLabel 21) ℚ) r s := by
apply @of_decide_eq_true _ (matrixEntriesDecidable _ _)
decide +kernel
exact Matrix.ext h
theorem fourPivotChecked_21 : ∀ r, 0 ≤ fourPivotData_21 r := by
intro r
fin_cases r <;> norm_num [fourPivotData_21, copyDiagonalData]
theorem integer_certificate_21 :
((integerCompression 21).map (algebraMap ℚ ℂ)).PosSemidef := by
apply rational_ldl_posSemidef _ (fourLData_21) (fourPivotData_21) _ fourPivotChecked_21
unfold integerCompression integerFourMiddle
rw [show integerRowsFourTrace 21 = fourYData_21 from Matrix.ext fourYChecked_21,
show integerFourGram 21 = fourZData_21 from Matrix.ext fourZChecked_21]
exact fourLDLChecked_21
end LaughlinFock
end
end OAI

Xet Storage Details

Size:
26.5 kB
·
Xet hash:
5c7eb591cd256df56e58d0fb07a433c4709dcbe8a0ed18846c7500de48150604

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