cfahlgren1's picture
download
raw
94.6 kB
16
def CA3_5_8I1PairValue (a : PairSlot × PairSlot) : ℝ := pairLaw (below (shape 3 5 8)) (shape 3 5 8) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) a
17
def CA3_5_8I1PairRaw (a : PairSlot × PairSlot) : Ball := stageAPairBall (shape 3 5 8) A3_5_8Law 1 a
18
lemma CA3_5_8I1PairRaw_sound (a : PairSlot × PairSlot) :
    (CA3_5_8I1PairRaw a).Encloses (CA3_5_8I1PairValue a) := by
proof · 1 line
  exact stageAPairBall_sound (shape 3 5 8) (by decide +kernel) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (fun u _ => A3_5_8Law_sound u) 1 a
21
def CA3_5_8I1PairCertificates : List CompactCertificate.EntropyDatum :=
body · 18 lines
  [.zero,
   .log ⟨(5272348913593376577096549739 / 100000000000000000000000000000000), (1 / 100000000000000000000000000000000)⟩ ⟨(10387001330832544175301137399 / 20000000000000000000000000000000), (714537 / 4000000000000000000000000000000)⟩ ⟨(-492522474378183237630433139810131 / 50000000000000000000000000000000), (169406598947 / 50000000000000000000000000000000)⟩ ⟨-15, 5272348913593376577096549739, 3051757812500000000000000000⟩,
   .log ⟨(122811663494084257624940399343 / 100000000000000000000000000000000), (3 / 100000000000000000000000000000000)⟩ ⟨(823117354555577221946133592311 / 100000000000000000000000000000000), (143035109 / 50000000000000000000000000000000)⟩ ⟨(-167556836854348558096548849152917 / 25000000000000000000000000000000), (46586812591 / 20000000000000000000000000000000)⟩ ⟨-10, 122811663494084257624940399343, 97656250000000000000000000000⟩,
   .log ⟨(10175855283941391205947279651 / 100000000000000000000000000000000), (1 / 100000000000000000000000000000000)⟩ ⟨(93545698188119245893217737667 / 100000000000000000000000000000000), (4040291 / 12500000000000000000000000000000)⟩ ⟨(-229822691994609421192137827073081 / 25000000000000000000000000000000), (19852335317 / 6250000000000000000000000000000)⟩ ⟨-14, 10175855283941391205947279651, 6103515625000000000000000000⟩,
   .log ⟨(224235380405963066391746089353 / 50000000000000000000000000000000), (1 / 25000000000000000000000000000000)⟩ ⟨(2424918168841216184583813792717 / 100000000000000000000000000000000), (34188257 / 4000000000000000000000000000000)⟩ ⟨(-540708197888099777971623643212661 / 100000000000000000000000000000000), (95291207019 / 50000000000000000000000000000000)⟩ ⟨-8, 224235380405963066391746089353, 195312500000000000000000000000⟩,
   .log ⟨(1272000276383149435550995439 / 25000000000000000000000000000000), (1 / 100000000000000000000000000000000)⟩ ⟨(25150092297347779972067219457 / 50000000000000000000000000000000), (1723883 / 10000000000000000000000000000000)⟩ ⟨(-494302021082504041007144259164429 / 50000000000000000000000000000000), (169406599291 / 50000000000000000000000000000000)⟩ ⟨-15, 1272000276383149435550995439, 762939453125000000000000000⟩,
   .log ⟨(1445038215769510822869447212491 / 50000000000000000000000000000000), (17 / 100000000000000000000000000000000)⟩ ⟨(10242104980593555395446867496803 / 100000000000000000000000000000000), (535497813 / 12500000000000000000000000000000)⟩ ⟨(-354388723731414820305031975405399 / 100000000000000000000000000000000), (148230766369 / 100000000000000000000000000000000)⟩ ⟨-6, 1445038215769510822869447212491, 781250000000000000000000000000⟩,
   .log ⟨(56502172949873789302552257373 / 25000000000000000000000000000000), (1 / 50000000000000000000000000000000)⟩ ⟨(688462253558737918048067279589 / 50000000000000000000000000000000), (119648009 / 25000000000000000000000000000000)⟩ ⟨(-609235200714768048615292950822617 / 100000000000000000000000000000000), (105879118857 / 50000000000000000000000000000000)⟩ ⟨-9, 56502172949873789302552257373, 48828125000000000000000000000⟩,
   .log ⟨(8530870747574296140629522643 / 50000000000000000000000000000000), (1 / 100000000000000000000000000000000)⟩ ⟨(2960583019633474529337396359 / 2000000000000000000000000000000), (50581511 / 100000000000000000000000000000000)⟩ ⟨(-867608684750996615247901536153503 / 100000000000000000000000000000000), (148230768711 / 50000000000000000000000000000000)⟩ ⟨-13, 8530870747574296140629522643, 6103515625000000000000000000⟩,
   .log ⟨(1543038718015251589792097624553 / 50000000000000000000000000000000), (9 / 50000000000000000000000000000000)⟩ ⟨(5367104262804562149060419304719 / 50000000000000000000000000000000), (4574516297 / 100000000000000000000000000000000)⟩ ⟨(-347826933967545006988298984818507 / 100000000000000000000000000000000), (37057691591 / 25000000000000000000000000000000)⟩ ⟨-6, 1543038718015251589792097624553, 781250000000000000000000000000⟩,
   .log ⟨(275427148849361576023785274099 / 100000000000000000000000000000000), (1 / 50000000000000000000000000000000)⟩ ⟨(6341927758382761730931641897 / 390625000000000000000000000000), (583239689 / 100000000000000000000000000000000)⟩ ⟨(-589460230383440015978482495632837 / 100000000000000000000000000000000), (52939559389 / 25000000000000000000000000000000)⟩ ⟨-9, 275427148849361576023785274099, 195312500000000000000000000000⟩,
   .log ⟨(102611484321130106786776176661 / 100000000000000000000000000000000), (1 / 100000000000000000000000000000000)⟩ ⟨(706169731946585730314410121159 / 100000000000000000000000000000000), (119508553 / 50000000000000000000000000000000)⟩ ⟨(-344098780277155025456198261537853 / 50000000000000000000000000000000), (232934061487 / 100000000000000000000000000000000)⟩ ⟨-10, 102611484321130106786776176661, 97656250000000000000000000000⟩,
   .log ⟨(14795629024906978949381729251 / 5000000000000000000000000000000), (1 / 50000000000000000000000000000000)⟩ ⟨(21538224249032315716749423781 / 1250000000000000000000000000000), (626619277 / 100000000000000000000000000000000)⟩ ⟨(-291143069521070637789728104358841 / 50000000000000000000000000000000), (105879118753 / 50000000000000000000000000000000)⟩ ⟨-9, 14795629024906978949381729251, 9765625000000000000000000000⟩,
   .log ⟨(26166849529392501901217802001 / 100000000000000000000000000000000), (1 / 100000000000000000000000000000000)⟩ ⟨(215835482673605884932772277959 / 100000000000000000000000000000000), (72033607 / 100000000000000000000000000000000)⟩ ⟨(-824843214048996718391164719348457 / 100000000000000000000000000000000), (2752857117 / 1000000000000000000000000000000)⟩ ⟨-12, 26166849529392501901217802001, 24414062500000000000000000000⟩,
   .log ⟨(1164646818453221352648590511 / 12500000000000000000000000000000), (1 / 100000000000000000000000000000000)⟩ ⟨(8647331230472012025573359963 / 10000000000000000000000000000000), (14797419 / 50000000000000000000000000000000)⟩ ⟨(-464053302118051969220549102328361 / 50000000000000000000000000000000), (317637365977 / 100000000000000000000000000000000)⟩ ⟨-14, 1164646818453221352648590511, 762939453125000000000000000⟩,
   .log ⟨(11587301268410179668221269739649 / 100000000000000000000000000000000), (1 / 2500000000000000000000000000000)⟩ ⟨(624341290834834164391889313543 / 2500000000000000000000000000000), (6134266279 / 50000000000000000000000000000000)⟩ ⟨(-21552604057579529378221855868007 / 10000000000000000000000000000000), (2646977969 / 2500000000000000000000000000000)⟩ ⟨-4, 11587301268410179668221269739649, 6250000000000000000000000000000⟩,
   .log ⟨(1033841032965526914852789528817 / 100000000000000000000000000000000), (1 / 25000000000000000000000000000000)⟩ ⟨(2363303306716034923255029059551 / 50000000000000000000000000000000), (875697429 / 50000000000000000000000000000000)⟩ ⟨(-228594458079982059043573057869503 / 50000000000000000000000000000000), (3388131797 / 2000000000000000000000000000000)⟩ ⟨-7, 1033841032965526914852789528817, 781250000000000000000000000000⟩,
   .log ⟨(383299402912290949816397030673 / 100000000000000000000000000000000), (3 / 100000000000000000000000000000000)⟩ ⟨(2132719676734387834400259703423 / 100000000000000000000000000000000), (405834039 / 50000000000000000000000000000000)⟩ ⟨(-556410905034049988938702852231753 / 100000000000000000000000000000000), (52939559403 / 25000000000000000000000000000000)⟩ ⟨-9, 383299402912290949816397030673, 195312500000000000000000000000⟩]
40
lemma CA3_5_8I1PairCertificates_valid :
    CA3_5_8I1PairCertificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
42
def CA3_5_8I1PairCertificateIndex (a : PairSlot × PairSlot) : ℕ :=
body · 106 lines
  match a.1.1.val, a.1.2.val, a.2.1.val, a.2.2.val with
  | 0, 0, 1, 5 => 1
  | 0, 0, 2, 4 => 2
  | 0, 0, 3, 4 => 3
  | 0, 0, 4, 2 => 2
  | 0, 0, 4, 3 => 3
  | 0, 0, 5, 1 => 1
  | 1, 0, 4, 1 => 4
  | 1, 0, 5, 0 => 5
  | 1, 0, 2, 2 => 6
  | 1, 0, 2, 3 => 7
  | 1, 0, 3, 2 => 7
  | 1, 0, 3, 3 => 8
  | 1, 0, 1, 4 => 4
  | 1, 0, 0, 5 => 5
  | 0, 1, 4, 1 => 4
  | 0, 1, 5, 0 => 5
  | 0, 1, 2, 2 => 6
  | 0, 1, 2, 3 => 7
  | 0, 1, 3, 2 => 7
  | 0, 1, 3, 3 => 8
  | 0, 1, 1, 4 => 4
  | 0, 1, 0, 5 => 5
  | 2, 0, 2, 1 => 9
  | 2, 0, 3, 1 => 10
  | 2, 0, 4, 0 => 11
  | 2, 0, 1, 2 => 9
  | 2, 0, 1, 3 => 10
  | 2, 0, 0, 4 => 11
  | 3, 0, 2, 1 => 12
  | 3, 0, 3, 1 => 13
  | 3, 0, 4, 0 => 14
  | 3, 0, 1, 2 => 12
  | 3, 0, 1, 3 => 13
  | 3, 0, 0, 4 => 14
  | 1, 1, 2, 1 => 15
  | 1, 1, 3, 1 => 16
  | 1, 1, 4, 0 => 17
  | 1, 1, 1, 2 => 15
  | 1, 1, 1, 3 => 16
  | 1, 1, 0, 4 => 17
  | 0, 2, 2, 1 => 9
  | 0, 2, 3, 1 => 10
  | 0, 2, 4, 0 => 11
  | 0, 2, 1, 2 => 9
  | 0, 2, 1, 3 => 10
  | 0, 2, 0, 4 => 11
  | 0, 3, 2, 1 => 12
  | 0, 3, 3, 1 => 13
  | 0, 3, 4, 0 => 14
  | 0, 3, 1, 2 => 12
  | 0, 3, 1, 3 => 13
  | 0, 3, 0, 4 => 14
  | 4, 0, 1, 1 => 17
  | 4, 0, 2, 0 => 11
  | 4, 0, 3, 0 => 14
  | 4, 0, 0, 2 => 11
  | 4, 0, 0, 3 => 14
  | 2, 1, 1, 1 => 15
  | 2, 1, 2, 0 => 9
  | 2, 1, 3, 0 => 12
  | 2, 1, 0, 2 => 9
  | 2, 1, 0, 3 => 12
  | 3, 1, 1, 1 => 16
  | 3, 1, 2, 0 => 10
  | 3, 1, 3, 0 => 13
  | 3, 1, 0, 2 => 10
  | 3, 1, 0, 3 => 13
  | 1, 2, 1, 1 => 15
  | 1, 2, 2, 0 => 9
  | 1, 2, 3, 0 => 12
  | 1, 2, 0, 2 => 9
  | 1, 2, 0, 3 => 12
  | 1, 3, 1, 1 => 16
  | 1, 3, 2, 0 => 10
  | 1, 3, 3, 0 => 13
  | 1, 3, 0, 2 => 10
  | 1, 3, 0, 3 => 13
  | 0, 4, 1, 1 => 17
  | 0, 4, 2, 0 => 11
  | 0, 4, 3, 0 => 14
  | 0, 4, 0, 2 => 11
  | 0, 4, 0, 3 => 14
  | 0, 5, 0, 1 => 5
  | 0, 5, 1, 0 => 5
  | 1, 4, 0, 1 => 4
  | 1, 4, 1, 0 => 4
  | 2, 2, 0, 1 => 6
  | 2, 2, 1, 0 => 6
  | 2, 3, 0, 1 => 7
  | 2, 3, 1, 0 => 7
  | 3, 2, 0, 1 => 7
  | 3, 2, 1, 0 => 7
  | 3, 3, 0, 1 => 8
  | 3, 3, 1, 0 => 8
  | 4, 1, 0, 1 => 4
  | 4, 1, 1, 0 => 4
  | 5, 0, 0, 1 => 5
  | 5, 0, 1, 0 => 5
  | 1, 5, 0, 0 => 1
  | 2, 4, 0, 0 => 2
  | 3, 4, 0, 0 => 3
  | 4, 2, 0, 0 => 2
  | 4, 3, 0, 0 => 3
  | 5, 1, 0, 0 => 1
  | _, _, _, _ => 0
149
def CA3_5_8I1PairP (a : PairSlot × PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1PairCertificates (CA3_5_8I1PairCertificateIndex a)).input
151
lemma CA3_5_8I1PairP_check_0_0 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((0,0),(k,l))) (CA3_5_8I1PairP ((0,0),(k,l))) = true := by
proof · 1 line
  decide +kernel
153
lemma CA3_5_8I1PairP_check_0_1 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((0,1),(k,l))) (CA3_5_8I1PairP ((0,1),(k,l))) = true := by
proof · 1 line
  decide +kernel
155
lemma CA3_5_8I1PairP_check_0_2 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((0,2),(k,l))) (CA3_5_8I1PairP ((0,2),(k,l))) = true := by
proof · 1 line
  decide +kernel
157
lemma CA3_5_8I1PairP_check_0_3 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((0,3),(k,l))) (CA3_5_8I1PairP ((0,3),(k,l))) = true := by
proof · 1 line
  decide +kernel
159
lemma CA3_5_8I1PairP_check_0_4 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((0,4),(k,l))) (CA3_5_8I1PairP ((0,4),(k,l))) = true := by
proof · 1 line
  decide +kernel
161
lemma CA3_5_8I1PairP_check_0_5 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((0,5),(k,l))) (CA3_5_8I1PairP ((0,5),(k,l))) = true := by
proof · 1 line
  decide +kernel
163
lemma CA3_5_8I1PairP_check_1_0 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((1,0),(k,l))) (CA3_5_8I1PairP ((1,0),(k,l))) = true := by
proof · 1 line
  decide +kernel
165
lemma CA3_5_8I1PairP_check_1_1 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((1,1),(k,l))) (CA3_5_8I1PairP ((1,1),(k,l))) = true := by
proof · 1 line
  decide +kernel
167
lemma CA3_5_8I1PairP_check_1_2 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((1,2),(k,l))) (CA3_5_8I1PairP ((1,2),(k,l))) = true := by
proof · 1 line
  decide +kernel
169
lemma CA3_5_8I1PairP_check_1_3 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((1,3),(k,l))) (CA3_5_8I1PairP ((1,3),(k,l))) = true := by
proof · 1 line
  decide +kernel
171
lemma CA3_5_8I1PairP_check_1_4 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((1,4),(k,l))) (CA3_5_8I1PairP ((1,4),(k,l))) = true := by
proof · 1 line
  decide +kernel
173
lemma CA3_5_8I1PairP_check_1_5 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((1,5),(k,l))) (CA3_5_8I1PairP ((1,5),(k,l))) = true := by
proof · 1 line
  decide +kernel
175
lemma CA3_5_8I1PairP_check_2_0 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((2,0),(k,l))) (CA3_5_8I1PairP ((2,0),(k,l))) = true := by
proof · 1 line
  decide +kernel
177
lemma CA3_5_8I1PairP_check_2_1 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((2,1),(k,l))) (CA3_5_8I1PairP ((2,1),(k,l))) = true := by
proof · 1 line
  decide +kernel
179
lemma CA3_5_8I1PairP_check_2_2 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((2,2),(k,l))) (CA3_5_8I1PairP ((2,2),(k,l))) = true := by
proof · 1 line
  decide +kernel
181
lemma CA3_5_8I1PairP_check_2_3 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((2,3),(k,l))) (CA3_5_8I1PairP ((2,3),(k,l))) = true := by
proof · 1 line
  decide +kernel
183
lemma CA3_5_8I1PairP_check_2_4 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((2,4),(k,l))) (CA3_5_8I1PairP ((2,4),(k,l))) = true := by
proof · 1 line
  decide +kernel
185
lemma CA3_5_8I1PairP_check_2_5 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((2,5),(k,l))) (CA3_5_8I1PairP ((2,5),(k,l))) = true := by
proof · 1 line
  decide +kernel
187
lemma CA3_5_8I1PairP_check_3_0 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((3,0),(k,l))) (CA3_5_8I1PairP ((3,0),(k,l))) = true := by
proof · 1 line
  decide +kernel
189
lemma CA3_5_8I1PairP_check_3_1 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((3,1),(k,l))) (CA3_5_8I1PairP ((3,1),(k,l))) = true := by
proof · 1 line
  decide +kernel
191
lemma CA3_5_8I1PairP_check_3_2 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((3,2),(k,l))) (CA3_5_8I1PairP ((3,2),(k,l))) = true := by
proof · 1 line
  decide +kernel
193
lemma CA3_5_8I1PairP_check_3_3 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((3,3),(k,l))) (CA3_5_8I1PairP ((3,3),(k,l))) = true := by
proof · 1 line
  decide +kernel
195
lemma CA3_5_8I1PairP_check_3_4 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((3,4),(k,l))) (CA3_5_8I1PairP ((3,4),(k,l))) = true := by
proof · 1 line
  decide +kernel
197
lemma CA3_5_8I1PairP_check_3_5 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((3,5),(k,l))) (CA3_5_8I1PairP ((3,5),(k,l))) = true := by
proof · 1 line
  decide +kernel
199
lemma CA3_5_8I1PairP_check_4_0 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((4,0),(k,l))) (CA3_5_8I1PairP ((4,0),(k,l))) = true := by
proof · 1 line
  decide +kernel
201
lemma CA3_5_8I1PairP_check_4_1 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((4,1),(k,l))) (CA3_5_8I1PairP ((4,1),(k,l))) = true := by
proof · 1 line
  decide +kernel
203
lemma CA3_5_8I1PairP_check_4_2 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((4,2),(k,l))) (CA3_5_8I1PairP ((4,2),(k,l))) = true := by
proof · 1 line
  decide +kernel
205
lemma CA3_5_8I1PairP_check_4_3 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((4,3),(k,l))) (CA3_5_8I1PairP ((4,3),(k,l))) = true := by
proof · 1 line
  decide +kernel
207
lemma CA3_5_8I1PairP_check_4_4 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((4,4),(k,l))) (CA3_5_8I1PairP ((4,4),(k,l))) = true := by
proof · 1 line
  decide +kernel
209
lemma CA3_5_8I1PairP_check_4_5 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((4,5),(k,l))) (CA3_5_8I1PairP ((4,5),(k,l))) = true := by
proof · 1 line
  decide +kernel
211
lemma CA3_5_8I1PairP_check_5_0 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((5,0),(k,l))) (CA3_5_8I1PairP ((5,0),(k,l))) = true := by
proof · 1 line
  decide +kernel
213
lemma CA3_5_8I1PairP_check_5_1 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((5,1),(k,l))) (CA3_5_8I1PairP ((5,1),(k,l))) = true := by
proof · 1 line
  decide +kernel
215
lemma CA3_5_8I1PairP_check_5_2 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((5,2),(k,l))) (CA3_5_8I1PairP ((5,2),(k,l))) = true := by
proof · 1 line
  decide +kernel
217
lemma CA3_5_8I1PairP_check_5_3 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((5,3),(k,l))) (CA3_5_8I1PairP ((5,3),(k,l))) = true := by
proof · 1 line
  decide +kernel
219
lemma CA3_5_8I1PairP_check_5_4 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((5,4),(k,l))) (CA3_5_8I1PairP ((5,4),(k,l))) = true := by
proof · 1 line
  decide +kernel
221
lemma CA3_5_8I1PairP_check_5_5 : ∀ k l : Fin 6, contains (CA3_5_8I1PairRaw ((5,5),(k,l))) (CA3_5_8I1PairP ((5,5),(k,l))) = true := by
proof · 1 line
  decide +kernel
223
lemma CA3_5_8I1PairP_check (a : PairSlot × PairSlot) : contains (CA3_5_8I1PairRaw a) (CA3_5_8I1PairP a) = true := by
proof · 9 lines
  rcases a with ⟨⟨i,j⟩,⟨k,l⟩⟩
  revert j i
  apply forall_fin6
  · exact forall_fin6 (CA3_5_8I1PairP_check_0_0 k l) (CA3_5_8I1PairP_check_0_1 k l) (CA3_5_8I1PairP_check_0_2 k l) (CA3_5_8I1PairP_check_0_3 k l) (CA3_5_8I1PairP_check_0_4 k l) (CA3_5_8I1PairP_check_0_5 k l)
  · exact forall_fin6 (CA3_5_8I1PairP_check_1_0 k l) (CA3_5_8I1PairP_check_1_1 k l) (CA3_5_8I1PairP_check_1_2 k l) (CA3_5_8I1PairP_check_1_3 k l) (CA3_5_8I1PairP_check_1_4 k l) (CA3_5_8I1PairP_check_1_5 k l)
  · exact forall_fin6 (CA3_5_8I1PairP_check_2_0 k l) (CA3_5_8I1PairP_check_2_1 k l) (CA3_5_8I1PairP_check_2_2 k l) (CA3_5_8I1PairP_check_2_3 k l) (CA3_5_8I1PairP_check_2_4 k l) (CA3_5_8I1PairP_check_2_5 k l)
  · exact forall_fin6 (CA3_5_8I1PairP_check_3_0 k l) (CA3_5_8I1PairP_check_3_1 k l) (CA3_5_8I1PairP_check_3_2 k l) (CA3_5_8I1PairP_check_3_3 k l) (CA3_5_8I1PairP_check_3_4 k l) (CA3_5_8I1PairP_check_3_5 k l)
  · exact forall_fin6 (CA3_5_8I1PairP_check_4_0 k l) (CA3_5_8I1PairP_check_4_1 k l) (CA3_5_8I1PairP_check_4_2 k l) (CA3_5_8I1PairP_check_4_3 k l) (CA3_5_8I1PairP_check_4_4 k l) (CA3_5_8I1PairP_check_4_5 k l)
  · exact forall_fin6 (CA3_5_8I1PairP_check_5_0 k l) (CA3_5_8I1PairP_check_5_1 k l) (CA3_5_8I1PairP_check_5_2 k l) (CA3_5_8I1PairP_check_5_3 k l) (CA3_5_8I1PairP_check_5_4 k l) (CA3_5_8I1PairP_check_5_5 k l)
233
lemma CA3_5_8I1PairP_sound (a : PairSlot × PairSlot) :
    (CA3_5_8I1PairP a).Encloses (CA3_5_8I1PairValue a) :=
proof · 1 line
  contains_sound (CA3_5_8I1PairRaw_sound a) (CA3_5_8I1PairP_check a)
236
def CA3_5_8I1PairTerms (a : PairSlot × PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1PairCertificates (CA3_5_8I1PairCertificateIndex a)).output
238
lemma CA3_5_8I1PairTerms_sound (a : PairSlot × PairSlot) :
    (CA3_5_8I1PairTerms a).Encloses (Foundation.entropyTerm (CA3_5_8I1PairValue a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1PairCertificates_valid
    (CA3_5_8I1PairCertificateIndex a) (CA3_5_8I1PairP_sound a)
242
def CA3_5_8I1PairEntropy : Ball := ⟨(16214910566568980863325613590037 / 5000000000000000000000000000000), (3445353169 / 2500000000000000000000000000000)⟩
243
lemma CA3_5_8I1PairEntropy_sound : CA3_5_8I1PairEntropy.Encloses (Foundation.finiteEntropy CA3_5_8I1PairValue) := by
proof · 1 line
  exact contains_sound (entropyDoublePair_enclosed CA3_5_8I1PairValue CA3_5_8I1PairTerms CA3_5_8I1PairTerms_sound) (by decide +kernel)
245
def CA3_5_8I1PairMass : Ball := ⟨(12499999999999999999999999999999 / 12500000000000000000000000000000), (67 / 12500000000000000000000000000000)⟩
246
lemma CA3_5_8I1PairMass_sound : CA3_5_8I1PairMass.Encloses (∑ a, CA3_5_8I1PairValue a) := by
proof · 1 line
  exact contains_sound (doublePairSumBall_sound CA3_5_8I1PairP CA3_5_8I1PairValue CA3_5_8I1PairP_sound) (by decide +kernel)
248
def CA3_5_8I1PairMassTermLogWitness : LogWitness := ⟨-1, 12499999999999999999999999999999, 6250000000000000000000000000000⟩
249
def CA3_5_8I1PairMassTermLog : Ball := ⟨(-7 / 100000000000000000000000000000000), (21175823951 / 50000000000000000000000000000000)⟩
250
lemma CA3_5_8I1PairMassTermLog_sound : CA3_5_8I1PairMassTermLog.Encloses (Real.log ((∑ a, CA3_5_8I1PairValue a))) := by
proof · 3 lines
  exact checkLog_sound logTwoBall_sound (CA3_5_8I1PairMass_sound) (w := CA3_5_8I1PairMassTermLogWitness) (by
    simp only [checkLog, Bool.and_eq_true]
    exact ⟨by decide +kernel, by decide +kernel⟩)
254
def CA3_5_8I1PairMassTerm : Ball := ⟨(7 / 100000000000000000000000000000000), (42351647903 / 100000000000000000000000000000000)⟩
255
lemma CA3_5_8I1PairMassTerm_sound : CA3_5_8I1PairMassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1PairValue a))) := by
proof · 1 line
  exact contains_sound (entropyTerm_ball (CA3_5_8I1PairMass_sound) CA3_5_8I1PairMassTermLog_sound) (by decide +kernel)
257
def CA3_5_8I1PairH : Ball := ⟨(324298211331379617266512271800733 / 100000000000000000000000000000000), (180165774663 / 100000000000000000000000000000000)⟩
258
lemma CA3_5_8I1PairH_sound : CA3_5_8I1PairH.Encloses (homogeneousEntropy CA3_5_8I1PairValue) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1PairValue CA3_5_8I1PairMassTerm_sound CA3_5_8I1PairEntropy_sound) (by decide +kernel)
278
def CA3_5_8I1R0Value (a : PairSlot) : ℝ := residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) 0 a
279
def CA3_5_8I1R0Raw (a : PairSlot) : Ball := residualBall (below (shape 3 5 8)) A3_5_8Law (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) 0 a
280
lemma CA3_5_8I1R0Raw_sound (a : PairSlot) :
    (CA3_5_8I1R0Raw a).Encloses (CA3_5_8I1R0Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) (fun u hu a => halfTable_sound u (stageA_children_size (shape 3 5 8) (show (shape 3 5 8) ∈ positiveInitial by decide +kernel) u hu) ((Equiv.refl (Fin 3)) 1) a) 0 a
283
def CA3_5_8I1R0Certificates : List CompactCertificate.EntropyDatum :=
body · 2 lines
  [.zero,
   .log ⟨(138259867691619025407984228733 / 50000000000000000000000000000000), (1 / 20000000000000000000000000000000)⟩ ⟨(1628879118491678187756967641173 / 100000000000000000000000000000000), (585553351 / 100000000000000000000000000000000)⟩ ⟨(-117812865416941003692582243865407 / 20000000000000000000000000000000), (211758238637 / 100000000000000000000000000000000)⟩ ⟨-9, 138259867691619025407984228733, 97656250000000000000000000000⟩]
286
lemma CA3_5_8I1R0Certificates_valid :
    CA3_5_8I1R0Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
288
def CA3_5_8I1R0CertificateIndex (a : PairSlot) : ℕ :=
body · 3 lines
  match a.1.val, a.2.val with
  | 0, 0 => 1
  | _, _ => 0
292
def CA3_5_8I1R0P (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R0Certificates (CA3_5_8I1R0CertificateIndex a)).input
294
lemma CA3_5_8I1R0P_check : ∀ a : PairSlot, contains (CA3_5_8I1R0Raw a) (CA3_5_8I1R0P a) = true := by
proof · 1 line
  decide +kernel
296
lemma CA3_5_8I1R0P_sound (a : PairSlot) :
    (CA3_5_8I1R0P a).Encloses (CA3_5_8I1R0Value a) :=
proof · 1 line
  contains_sound (CA3_5_8I1R0Raw_sound a) (CA3_5_8I1R0P_check a)
299
def CA3_5_8I1R0Terms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R0Certificates (CA3_5_8I1R0CertificateIndex a)).output
301
lemma CA3_5_8I1R0Terms_sound (a : PairSlot) :
    (CA3_5_8I1R0Terms a).Encloses (Foundation.entropyTerm (CA3_5_8I1R0Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1R0Certificates_valid
    (CA3_5_8I1R0CertificateIndex a) (CA3_5_8I1R0P_sound a)
305
def CA3_5_8I1R0Entropy : Ball := ⟨(1628879118491678187756967641173 / 100000000000000000000000000000000), (585553351 / 100000000000000000000000000000000)⟩
306
lemma CA3_5_8I1R0Entropy_sound : CA3_5_8I1R0Entropy.Encloses (Foundation.finiteEntropy CA3_5_8I1R0Value) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CA3_5_8I1R0Value CA3_5_8I1R0Terms CA3_5_8I1R0Terms_sound) (by decide +kernel)
308
def CA3_5_8I1R0Mass : Ball := ⟨(138259867691619025407984228733 / 50000000000000000000000000000000), (1 / 20000000000000000000000000000000)⟩
309
lemma CA3_5_8I1R0Mass_sound : CA3_5_8I1R0Mass.Encloses (∑ a, CA3_5_8I1R0Value a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CA3_5_8I1R0P CA3_5_8I1R0Value CA3_5_8I1R0P_sound) (by decide +kernel)
311
def CA3_5_8I1R0MassTermLogWitness : LogWitness := ⟨-9, 138259867691619025407984228733, 97656250000000000000000000000⟩
312
def CA3_5_8I1R0MassTermLog : Ball := ⟨(-117812865416941003692582243865407 / 20000000000000000000000000000000), (211758238637 / 100000000000000000000000000000000)⟩
313
lemma CA3_5_8I1R0MassTermLog_sound : CA3_5_8I1R0MassTermLog.Encloses (Real.log ((∑ a, CA3_5_8I1R0Value a))) := by
proof · 3 lines
  exact checkLog_sound logTwoBall_sound (CA3_5_8I1R0Mass_sound) (w := CA3_5_8I1R0MassTermLogWitness) (by
    simp only [checkLog, Bool.and_eq_true]
    exact ⟨by decide +kernel, by decide +kernel⟩)
317
def CA3_5_8I1R0MassTerm : Ball := ⟨(1628879118491678187756967641173 / 100000000000000000000000000000000), (585553351 / 100000000000000000000000000000000)⟩
318
lemma CA3_5_8I1R0MassTerm_sound : CA3_5_8I1R0MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1R0Value a))) := by
proof · 1 line
  exact contains_sound (entropyTerm_ball (CA3_5_8I1R0Mass_sound) CA3_5_8I1R0MassTermLog_sound) (by decide +kernel)
320
def CA3_5_8I1R0H : Ball := ⟨0, (585553351 / 50000000000000000000000000000000)⟩
321
lemma CA3_5_8I1R0H_sound : CA3_5_8I1R0H.Encloses (homogeneousEntropy CA3_5_8I1R0Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1R0Value CA3_5_8I1R0MassTerm_sound CA3_5_8I1R0Entropy_sound) (by decide +kernel)
323
def CA3_5_8I1R1Value (a : PairSlot) : ℝ := residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) 1 a
324
def CA3_5_8I1R1Raw (a : PairSlot) : Ball := residualBall (below (shape 3 5 8)) A3_5_8Law (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) 1 a
325
lemma CA3_5_8I1R1Raw_sound (a : PairSlot) :
    (CA3_5_8I1R1Raw a).Encloses (CA3_5_8I1R1Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) (fun u hu a => halfTable_sound u (stageA_children_size (shape 3 5 8) (show (shape 3 5 8) ∈ positiveInitial by decide +kernel) u hu) ((Equiv.refl (Fin 3)) 1) a) 1 a
328
def CA3_5_8I1R1Certificates : List CompactCertificate.EntropyDatum :=
body · 2 lines
  [.zero,
   .log ⟨(4266273080468078013491963850177 / 100000000000000000000000000000000), (1 / 5000000000000000000000000000000)⟩ ⟨(13457657893666748061001354681387 / 100000000000000000000000000000000), (1355127719 / 25000000000000000000000000000000)⟩ ⟨(-157721477737545916086942151562357 / 50000000000000000000000000000000), (63527471283 / 50000000000000000000000000000000)⟩ ⟨-5, 4266273080468078013491963850177, 3125000000000000000000000000000⟩]
331
lemma CA3_5_8I1R1Certificates_valid :
    CA3_5_8I1R1Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
333
def CA3_5_8I1R1CertificateIndex (a : PairSlot) : ℕ :=
body · 4 lines
  match a.1.val, a.2.val with
  | 1, 0 => 1
  | 0, 1 => 1
  | _, _ => 0
338
def CA3_5_8I1R1P (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R1Certificates (CA3_5_8I1R1CertificateIndex a)).input
340
lemma CA3_5_8I1R1P_check : ∀ a : PairSlot, contains (CA3_5_8I1R1Raw a) (CA3_5_8I1R1P a) = true := by
proof · 1 line
  decide +kernel
342
lemma CA3_5_8I1R1P_sound (a : PairSlot) :
    (CA3_5_8I1R1P a).Encloses (CA3_5_8I1R1Value a) :=
proof · 1 line
  contains_sound (CA3_5_8I1R1Raw_sound a) (CA3_5_8I1R1P_check a)
345
def CA3_5_8I1R1Terms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R1Certificates (CA3_5_8I1R1CertificateIndex a)).output
347
lemma CA3_5_8I1R1Terms_sound (a : PairSlot) :
    (CA3_5_8I1R1Terms a).Encloses (Foundation.entropyTerm (CA3_5_8I1R1Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1R1Certificates_valid
    (CA3_5_8I1R1CertificateIndex a) (CA3_5_8I1R1P_sound a)
351
def CA3_5_8I1R1Entropy : Ball := ⟨(13457657893666748061001354681387 / 50000000000000000000000000000000), (1355127719 / 12500000000000000000000000000000)⟩
352
lemma CA3_5_8I1R1Entropy_sound : CA3_5_8I1R1Entropy.Encloses (Foundation.finiteEntropy CA3_5_8I1R1Value) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CA3_5_8I1R1Value CA3_5_8I1R1Terms CA3_5_8I1R1Terms_sound) (by decide +kernel)
354
def CA3_5_8I1R1Mass : Ball := ⟨(4266273080468078013491963850177 / 50000000000000000000000000000000), (1 / 2500000000000000000000000000000)⟩
355
lemma CA3_5_8I1R1Mass_sound : CA3_5_8I1R1Mass.Encloses (∑ a, CA3_5_8I1R1Value a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CA3_5_8I1R1P CA3_5_8I1R1Value CA3_5_8I1R1P_sound) (by decide +kernel)
357
def CA3_5_8I1R1MassTermLogWitness : LogWitness := ⟨-4, 4266273080468078013491963850177, 3125000000000000000000000000000⟩
358
def CA3_5_8I1R1MassTermLog : Ball := ⟨(-15383014838693581327010069379649 / 6250000000000000000000000000000), (105879118883 / 100000000000000000000000000000000)⟩
359
lemma CA3_5_8I1R1MassTermLog_sound : CA3_5_8I1R1MassTermLog.Encloses (Real.log ((∑ a, CA3_5_8I1R1Value a))) := by
proof · 3 lines
  exact checkLog_sound logTwoBall_sound (CA3_5_8I1R1Mass_sound) (w := CA3_5_8I1R1MassTermLogWitness) (by
    simp only [checkLog, Bool.and_eq_true]
    exact ⟨by decide +kernel, by decide +kernel⟩)
363
def CA3_5_8I1R1MassTerm : Ball := ⟨(21001005472883014211656585649313 / 100000000000000000000000000000000), (1129273099 / 12500000000000000000000000000000)⟩
364
lemma CA3_5_8I1R1MassTerm_sound : CA3_5_8I1R1MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1R1Value a))) := by
proof · 1 line
  exact contains_sound (entropyTerm_ball (CA3_5_8I1R1Mass_sound) CA3_5_8I1R1MassTermLog_sound) (by decide +kernel)
366
def CA3_5_8I1R1H : Ball := ⟨(5914310314450481910346123713461 / 100000000000000000000000000000000), (1242200409 / 6250000000000000000000000000000)⟩
367
lemma CA3_5_8I1R1H_sound : CA3_5_8I1R1H.Encloses (homogeneousEntropy CA3_5_8I1R1Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1R1Value CA3_5_8I1R1MassTerm_sound CA3_5_8I1R1Entropy_sound) (by decide +kernel)
369
def CA3_5_8I1R2Value (a : PairSlot) : ℝ := residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) 2 a
370
def CA3_5_8I1R2Raw (a : PairSlot) : Ball := residualBall (below (shape 3 5 8)) A3_5_8Law (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) 2 a
371
lemma CA3_5_8I1R2Raw_sound (a : PairSlot) :
    (CA3_5_8I1R2Raw a).Encloses (CA3_5_8I1R2Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) (fun u hu a => halfTable_sound u (stageA_children_size (shape 3 5 8) (show (shape 3 5 8) ∈ positiveInitial by decide +kernel) u hu) ((Equiv.refl (Fin 3)) 1) a) 2 a
374
def CA3_5_8I1R2Certificates : List CompactCertificate.EntropyDatum :=
body · 4 lines
  [.zero,
   .log ⟨(1732058034600497431197378349933 / 25000000000000000000000000000000), (17 / 50000000000000000000000000000000)⟩ ⟨(18495369548193411776424744414103 / 100000000000000000000000000000000), (1467110247 / 20000000000000000000000000000000)⟩ ⟨(-33369568850177494356769160427099 / 12500000000000000000000000000000), (21175823781 / 20000000000000000000000000000000)⟩ ⟨-4, 1732058034600497431197378349933, 1562500000000000000000000000000⟩,
   .log ⟨(662793209150315703420082222219 / 100000000000000000000000000000000), (1 / 25000000000000000000000000000000)⟩ ⟨(3324877229360328262507473508913 / 100000000000000000000000000000000), (1263167317 / 100000000000000000000000000000000)⟩ ⟨(-501646242516989214412371807145623 / 100000000000000000000000000000000), (152465931 / 80000000000000000000000000000)⟩ ⟨-8, 662793209150315703420082222219, 390625000000000000000000000000⟩,
   .log ⟨(13004441704287997532890456299139 / 50000000000000000000000000000000), (71 / 100000000000000000000000000000000)⟩ ⟨(8756749131682586890617478494347 / 25000000000000000000000000000000), (3304557209 / 20000000000000000000000000000000)⟩ ⟨(-26934640735234931508264669871873 / 20000000000000000000000000000000), (63527471321 / 100000000000000000000000000000000)⟩ ⟨-2, 13004441704287997532890456299139, 12500000000000000000000000000000⟩]
379
lemma CA3_5_8I1R2Certificates_valid :
    CA3_5_8I1R2Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
381
def CA3_5_8I1R2CertificateIndex (a : PairSlot) : ℕ :=
body · 7 lines
  match a.1.val, a.2.val with
  | 2, 0 => 1
  | 3, 0 => 2
  | 1, 1 => 3
  | 0, 2 => 1
  | 0, 3 => 2
  | _, _ => 0
389
def CA3_5_8I1R2P (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R2Certificates (CA3_5_8I1R2CertificateIndex a)).input
391
lemma CA3_5_8I1R2P_check : ∀ a : PairSlot, contains (CA3_5_8I1R2Raw a) (CA3_5_8I1R2P a) = true := by
proof · 1 line
  decide +kernel
393
lemma CA3_5_8I1R2P_sound (a : PairSlot) :
    (CA3_5_8I1R2P a).Encloses (CA3_5_8I1R2Value a) :=
proof · 1 line
  contains_sound (CA3_5_8I1R2Raw_sound a) (CA3_5_8I1R2P_check a)
396
def CA3_5_8I1R2Terms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R2Certificates (CA3_5_8I1R2CertificateIndex a)).output
398
lemma CA3_5_8I1R2Terms_sound (a : PairSlot) :
    (CA3_5_8I1R2Terms a).Encloses (Foundation.entropyTerm (CA3_5_8I1R2Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1R2Certificates_valid
    (CA3_5_8I1R2CertificateIndex a) (CA3_5_8I1R2P_sound a)
402
def CA3_5_8I1R2Entropy : Ball := ⟨(3933374504091891382016717491171 / 5000000000000000000000000000000), (33720223149 / 100000000000000000000000000000000)⟩
403
lemma CA3_5_8I1R2Entropy_sound : CA3_5_8I1R2Entropy.Encloses (Foundation.finiteEntropy CA3_5_8I1R2Value) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CA3_5_8I1R2Value CA3_5_8I1R2Terms CA3_5_8I1R2Terms_sound) (by decide +kernel)
405
def CA3_5_8I1R2Mass : Ball := ⟨(2059546705184030296110005192109 / 5000000000000000000000000000000), (147 / 100000000000000000000000000000000)⟩
406
lemma CA3_5_8I1R2Mass_sound : CA3_5_8I1R2Mass.Encloses (∑ a, CA3_5_8I1R2Value a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CA3_5_8I1R2P CA3_5_8I1R2Value CA3_5_8I1R2P_sound) (by decide +kernel)
408
def CA3_5_8I1R2MassTermLogWitness : LogWitness := ⟨-2, 2059546705184030296110005192109, 1250000000000000000000000000000⟩
409
def CA3_5_8I1R2MassTermLog : Ball := ⟨(-44347599993672980298295301558257 / 50000000000000000000000000000000), (31763735703 / 50000000000000000000000000000000)⟩
410
lemma CA3_5_8I1R2MassTermLog_sound : CA3_5_8I1R2MassTermLog.Encloses (Real.log ((∑ a, CA3_5_8I1R2Value a))) := by
proof · 3 lines
  exact checkLog_sound logTwoBall_sound (CA3_5_8I1R2Mass_sound) (w := CA3_5_8I1R2MassTermLogWitness) (by
    simp only [checkLog, Bool.and_eq_true]
    exact ⟨by decide +kernel, by decide +kernel⟩)
414
def CA3_5_8I1R2MassTerm : Ball := ⟨(18267190689957701875897541677933 / 50000000000000000000000000000000), (3270944877 / 12500000000000000000000000000000)⟩
415
lemma CA3_5_8I1R2MassTerm_sound : CA3_5_8I1R2MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1R2Value a))) := by
proof · 1 line
  exact contains_sound (entropyTerm_ball (CA3_5_8I1R2Mass_sound) CA3_5_8I1R2MassTermLog_sound) (by decide +kernel)
417
def CA3_5_8I1R2H : Ball := ⟨(21066554350961211944269633233777 / 50000000000000000000000000000000), (11977556433 / 20000000000000000000000000000000)⟩
418
lemma CA3_5_8I1R2H_sound : CA3_5_8I1R2H.Encloses (homogeneousEntropy CA3_5_8I1R2Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1R2Value CA3_5_8I1R2MassTerm_sound CA3_5_8I1R2Entropy_sound) (by decide +kernel)
420
def CA3_5_8I1R3Value (a : PairSlot) : ℝ := residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) 3 a
421
def CA3_5_8I1R3Raw (a : PairSlot) : Ball := residualBall (below (shape 3 5 8)) A3_5_8Law (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) 3 a
422
lemma CA3_5_8I1R3Raw_sound (a : PairSlot) :
    (CA3_5_8I1R3Raw a).Encloses (CA3_5_8I1R3Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) (fun u hu a => halfTable_sound u (stageA_children_size (shape 3 5 8) (show (shape 3 5 8) ∈ positiveInitial by decide +kernel) u hu) ((Equiv.refl (Fin 3)) 1) a) 3 a
425
def CA3_5_8I1R3Certificates : List CompactCertificate.EntropyDatum :=
body · 4 lines
  [.zero,
   .log ⟨(151789180162450676258081708043 / 25000000000000000000000000000000), (1 / 25000000000000000000000000000000)⟩ ⟨(309901200454757306092904831649 / 10000000000000000000000000000000), (231426791 / 20000000000000000000000000000000)⟩ ⟨(-255206925917816576652681312921111 / 50000000000000000000000000000000), (38116482761 / 20000000000000000000000000000000)⟩ ⟨-8, 151789180162450676258081708043, 97656250000000000000000000000⟩,
   .log ⟨(18351281301467465185364929407901 / 100000000000000000000000000000000), (43 / 100000000000000000000000000000000)⟩ ⟨(31114061373269187099674069289423 / 100000000000000000000000000000000), (3108828001 / 20000000000000000000000000000000)⟩ ⟨(-84773539411608122276290691627311 / 50000000000000000000000000000000), (42351647483 / 50000000000000000000000000000000)⟩ ⟨-3, 18351281301467465185364929407901, 12500000000000000000000000000000⟩,
   .log ⟨(1637029029723035070702795681017 / 100000000000000000000000000000000), (1 / 20000000000000000000000000000000)⟩ ⟨(6731933450091206156308259969981 / 100000000000000000000000000000000), (2426580693 / 100000000000000000000000000000000)⟩ ⟨(-205614357713319399022491729032407 / 50000000000000000000000000000000), (29646153217 / 20000000000000000000000000000000)⟩ ⟨-6, 1637029029723035070702795681017, 1562500000000000000000000000000⟩]
430
lemma CA3_5_8I1R3Certificates_valid :
    CA3_5_8I1R3Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
432
def CA3_5_8I1R3CertificateIndex (a : PairSlot) : ℕ :=
body · 8 lines
  match a.1.val, a.2.val with
  | 4, 0 => 1
  | 2, 1 => 2
  | 3, 1 => 3
  | 1, 2 => 2
  | 1, 3 => 3
  | 0, 4 => 1
  | _, _ => 0
441
def CA3_5_8I1R3P (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R3Certificates (CA3_5_8I1R3CertificateIndex a)).input
443
lemma CA3_5_8I1R3P_check : ∀ a : PairSlot, contains (CA3_5_8I1R3Raw a) (CA3_5_8I1R3P a) = true := by
proof · 1 line
  decide +kernel
445
lemma CA3_5_8I1R3P_sound (a : PairSlot) :
    (CA3_5_8I1R3P a).Encloses (CA3_5_8I1R3Value a) :=
proof · 1 line
  contains_sound (CA3_5_8I1R3Raw_sound a) (CA3_5_8I1R3P_check a)
448
def CA3_5_8I1R3Terms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R3Certificates (CA3_5_8I1R3CertificateIndex a)).output
450
lemma CA3_5_8I1R3Terms_sound (a : PairSlot) :
    (CA3_5_8I1R3Terms a).Encloses (Foundation.entropyTerm (CA3_5_8I1R3Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1R3Certificates_valid
    (CA3_5_8I1R3CertificateIndex a) (CA3_5_8I1R3P_sound a)
454
def CA3_5_8I1R3Entropy : Ball := ⟨(20472503413953983158455688787947 / 25000000000000000000000000000000), (19127854653 / 50000000000000000000000000000000)⟩
455
lemma CA3_5_8I1R3Entropy_sound : CA3_5_8I1R3Entropy.Encloses (Foundation.finiteEntropy CA3_5_8I1R3Value) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CA3_5_8I1R3Value CA3_5_8I1R3Terms CA3_5_8I1R3Terms_sound) (by decide +kernel)
457
def CA3_5_8I1R3Mass : Ball := ⟨(2059546705184030296110005192109 / 5000000000000000000000000000000), (13 / 12500000000000000000000000000000)⟩
458
lemma CA3_5_8I1R3Mass_sound : CA3_5_8I1R3Mass.Encloses (∑ a, CA3_5_8I1R3Value a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CA3_5_8I1R3P CA3_5_8I1R3Value CA3_5_8I1R3P_sound) (by decide +kernel)
460
def CA3_5_8I1R3MassTermLogWitness : LogWitness := ⟨-2, 2059546705184030296110005192109, 1250000000000000000000000000000⟩
461
def CA3_5_8I1R3MassTermLog : Ball := ⟨(-44347599993672980298295301558257 / 50000000000000000000000000000000), (63527471301 / 100000000000000000000000000000000)⟩
462
lemma CA3_5_8I1R3MassTermLog_sound : CA3_5_8I1R3MassTermLog.Encloses (Real.log ((∑ a, CA3_5_8I1R3Value a))) := by
proof · 3 lines
  exact checkLog_sound logTwoBall_sound (CA3_5_8I1R3Mass_sound) (w := CA3_5_8I1R3MassTermLogWitness) (by
    simp only [checkLog, Bool.and_eq_true]
    exact ⟨by decide +kernel, by decide +kernel⟩)
466
def CA3_5_8I1R3MassTerm : Ball := ⟨(18267190689957701875897541677933 / 50000000000000000000000000000000), (13083779467 / 50000000000000000000000000000000)⟩
467
lemma CA3_5_8I1R3MassTerm_sound : CA3_5_8I1R3MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1R3Value a))) := by
proof · 1 line
  exact contains_sound (entropyTerm_ball (CA3_5_8I1R3Mass_sound) CA3_5_8I1R3MassTermLog_sound) (by decide +kernel)
469
def CA3_5_8I1R3H : Ball := ⟨(22677816137950264441013835897961 / 50000000000000000000000000000000), (805290853 / 1250000000000000000000000000000)⟩
470
lemma CA3_5_8I1R3H_sound : CA3_5_8I1R3H.Encloses (homogeneousEntropy CA3_5_8I1R3Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1R3Value CA3_5_8I1R3MassTerm_sound CA3_5_8I1R3Entropy_sound) (by decide +kernel)
472
def CA3_5_8I1R4Value (a : PairSlot) : ℝ := residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) 4 a
473
def CA3_5_8I1R4Raw (a : PairSlot) : Ball := residualBall (below (shape 3 5 8)) A3_5_8Law (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) 4 a
474
lemma CA3_5_8I1R4Raw_sound (a : PairSlot) :
    (CA3_5_8I1R4Raw a).Encloses (CA3_5_8I1R4Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) (fun u hu a => halfTable_sound u (stageA_children_size (shape 3 5 8) (show (shape 3 5 8) ∈ positiveInitial by decide +kernel) u hu) ((Equiv.refl (Fin 3)) 1) a) 4 a
477
def CA3_5_8I1R4Certificates : List CompactCertificate.EntropyDatum :=
body · 6 lines
  [.zero,
   .log ⟨(1272000276383149435550995439 / 12500000000000000000000000000000), (1 / 100000000000000000000000000000000)⟩ ⟨(93546901947419510135397426799 / 100000000000000000000000000000000), (6464559 / 20000000000000000000000000000000)⟩ ⟨(-14363895689203336735508833207477 / 1562500000000000000000000000000), (19852335317 / 6250000000000000000000000000000)⟩ ⟨-14, 1272000276383149435550995439, 762939453125000000000000000⟩,
   .log ⟨(224235380405963066391746089353 / 25000000000000000000000000000000), (3 / 50000000000000000000000000000000)⟩ ⟨(52851548135521399408730381197 / 1250000000000000000000000000000), (379869519 / 25000000000000000000000000000000)⟩ ⟨(-471393479832105247029900450162331 / 100000000000000000000000000000000), (42351647533 / 25000000000000000000000000000000)⟩ ⟨-7, 224235380405963066391746089353, 195312500000000000000000000000⟩,
   .log ⟨(1156030572615608658295557769993 / 20000000000000000000000000000000), (3 / 10000000000000000000000000000000)⟩ ⟨(16477713300939069480092853639993 / 100000000000000000000000000000000), (734396999 / 10000000000000000000000000000000)⟩ ⟨(-71268501418855072340827195588763 / 25000000000000000000000000000000), (127054942617 / 100000000000000000000000000000000)⟩ ⟨-5, 1156030572615608658295557769993, 625000000000000000000000000000⟩,
   .log ⟨(56502172949873789302552257373 / 12500000000000000000000000000000), (3 / 100000000000000000000000000000000)⟩ ⟨(97621377569169130847325550283 / 4000000000000000000000000000000), (430732829 / 50000000000000000000000000000000)⟩ ⟨(-539920482658773517673569757772287 / 100000000000000000000000000000000), (19058241381 / 10000000000000000000000000000000)⟩ ⟨-8, 56502172949873789302552257373, 48828125000000000000000000000⟩,
   .log ⟨(8530870747574296140629522643 / 25000000000000000000000000000000), (1 / 100000000000000000000000000000000)⟩ ⟨(136202852968868853925447540013 / 50000000000000000000000000000000), (93937081 / 100000000000000000000000000000000)⟩ ⟨(-798293966695002084306178343103173 / 100000000000000000000000000000000), (275285710809 / 100000000000000000000000000000000)⟩ ⟨-12, 8530870747574296140629522643, 6103515625000000000000000000⟩]
484
lemma CA3_5_8I1R4Certificates_valid :
    CA3_5_8I1R4Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
486
def CA3_5_8I1R4CertificateIndex (a : PairSlot) : ℕ :=
body · 10 lines
  match a.1.val, a.2.val with
  | 0, 5 => 1
  | 1, 4 => 2
  | 2, 2 => 3
  | 2, 3 => 4
  | 3, 2 => 4
  | 3, 3 => 5
  | 4, 1 => 2
  | 5, 0 => 1
  | _, _ => 0
497
def CA3_5_8I1R4P (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R4Certificates (CA3_5_8I1R4CertificateIndex a)).input
499
lemma CA3_5_8I1R4P_check : ∀ a : PairSlot, contains (CA3_5_8I1R4Raw a) (CA3_5_8I1R4P a) = true := by
proof · 1 line
  decide +kernel
501
lemma CA3_5_8I1R4P_sound (a : PairSlot) :
    (CA3_5_8I1R4P a).Encloses (CA3_5_8I1R4Value a) :=
proof · 1 line
  contains_sound (CA3_5_8I1R4Raw_sound a) (CA3_5_8I1R4P_check a)
504
def CA3_5_8I1R4Terms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R4Certificates (CA3_5_8I1R4CertificateIndex a)).output
506
lemma CA3_5_8I1R4Terms_sound (a : PairSlot) :
    (CA3_5_8I1R4Terms a).Encloses (Foundation.entropyTerm (CA3_5_8I1R4Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1R4Certificates_valid
    (CA3_5_8I1R4CertificateIndex a) (CA3_5_8I1R4P_sound a)
510
def CA3_5_8I1R4Entropy : Ball := ⟨(30274529390913526655977682079287 / 100000000000000000000000000000000), (12264440129 / 100000000000000000000000000000000)⟩
511
lemma CA3_5_8I1R4Entropy_sound : CA3_5_8I1R4Entropy.Encloses (Foundation.finiteEntropy CA3_5_8I1R4Value) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CA3_5_8I1R4Value CA3_5_8I1R4Terms CA3_5_8I1R4Terms_sound) (by decide +kernel)
513
def CA3_5_8I1R4Mass : Ball := ⟨(8532546160936156026983927700353 / 100000000000000000000000000000000), (51 / 100000000000000000000000000000000)⟩
514
lemma CA3_5_8I1R4Mass_sound : CA3_5_8I1R4Mass.Encloses (∑ a, CA3_5_8I1R4Value a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CA3_5_8I1R4P CA3_5_8I1R4Value CA3_5_8I1R4P_sound) (by decide +kernel)
516
def CA3_5_8I1R4MassTermLogWitness : LogWitness := ⟨-4, 8532546160936156026983927700353, 6250000000000000000000000000000⟩
517
def CA3_5_8I1R4MassTermLog : Ball := ⟨(-49225647483819460246432222014879 / 20000000000000000000000000000000), (26469779753 / 25000000000000000000000000000000)⟩
518
lemma CA3_5_8I1R4MassTermLog_sound : CA3_5_8I1R4MassTermLog.Encloses (Real.log ((∑ a, CA3_5_8I1R4Value a))) := by
proof · 3 lines
  exact checkLog_sound logTwoBall_sound (CA3_5_8I1R4Mass_sound) (w := CA3_5_8I1R4MassTermLogWitness) (by
    simp only [checkLog, Bool.and_eq_true]
    exact ⟨by decide +kernel, by decide +kernel⟩)
522
def CA3_5_8I1R4MassTerm : Ball := ⟨(656281421027594194114268301541 / 3125000000000000000000000000000), (9034184831 / 100000000000000000000000000000000)⟩
523
lemma CA3_5_8I1R4MassTerm_sound : CA3_5_8I1R4MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1R4Value a))) := by
proof · 1 line
  exact contains_sound (entropyTerm_ball (CA3_5_8I1R4Mass_sound) CA3_5_8I1R4MassTermLog_sound) (by decide +kernel)
525
def CA3_5_8I1R4H : Ball := ⟨(370940956721220497772843857199 / 4000000000000000000000000000000), (66558203 / 312500000000000000000000000000)⟩
526
lemma CA3_5_8I1R4H_sound : CA3_5_8I1R4H.Encloses (homogeneousEntropy CA3_5_8I1R4Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1R4Value CA3_5_8I1R4MassTerm_sound CA3_5_8I1R4Entropy_sound) (by decide +kernel)
528
def CA3_5_8I1R5Value (a : PairSlot) : ℝ := residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) 5 a
529
def CA3_5_8I1R5Raw (a : PairSlot) : Ball := residualBall (below (shape 3 5 8)) A3_5_8Law (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) 5 a
530
lemma CA3_5_8I1R5Raw_sound (a : PairSlot) :
    (CA3_5_8I1R5Raw a).Encloses (CA3_5_8I1R5Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) (fun u hu a => halfTable_sound u (stageA_children_size (shape 3 5 8) (show (shape 3 5 8) ∈ positiveInitial by decide +kernel) u hu) ((Equiv.refl (Fin 3)) 1) a) 5 a
533
def CA3_5_8I1R5Certificates : List CompactCertificate.EntropyDatum :=
body · 4 lines
  [.zero,
   .log ⟨(5272203925092215934029514299 / 100000000000000000000000000000000), (1 / 100000000000000000000000000000000)⟩ ⟨(51933723438763325915614291737 / 100000000000000000000000000000000), (17862933 / 100000000000000000000000000000000)⟩ ⟨(-39401907950937201261276430437901 / 4000000000000000000000000000000), (67762639579 / 20000000000000000000000000000000)⟩ ⟨-15, 5272203925092215934029514299, 3051757812500000000000000000⟩,
   .log ⟨(61404626659784376348493931181 / 50000000000000000000000000000000), (3 / 100000000000000000000000000000000)⟩ ⟨(823103611057719379002926802197 / 100000000000000000000000000000000), (71516151 / 25000000000000000000000000000000)⟩ ⟨(-134045861986616909564646490828711 / 20000000000000000000000000000000), (46586812591 / 20000000000000000000000000000000)⟩ ⟨-10, 61404626659784376348493931181, 48828125000000000000000000000⟩,
   .log ⟨(10175601786320755287480586361 / 100000000000000000000000000000000), (1 / 100000000000000000000000000000000)⟩ ⟨(93543621302358779159912357719 / 100000000000000000000000000000000), (32321523 / 100000000000000000000000000000000)⟩ ⟨(-114911657397146714345255337106347 / 12500000000000000000000000000000), (19852335317 / 6250000000000000000000000000000)⟩ ⟨-14, 10175601786320755287480586361, 6103515625000000000000000000⟩]
538
lemma CA3_5_8I1R5Certificates_valid :
    CA3_5_8I1R5Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
540
def CA3_5_8I1R5CertificateIndex (a : PairSlot) : ℕ :=
body · 8 lines
  match a.1.val, a.2.val with
  | 1, 5 => 1
  | 2, 4 => 2
  | 3, 4 => 3
  | 4, 2 => 2
  | 4, 3 => 3
  | 5, 1 => 1
  | _, _ => 0
549
def CA3_5_8I1R5P (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R5Certificates (CA3_5_8I1R5CertificateIndex a)).input
551
lemma CA3_5_8I1R5P_check : ∀ a : PairSlot, contains (CA3_5_8I1R5Raw a) (CA3_5_8I1R5P a) = true := by
proof · 1 line
  decide +kernel
553
lemma CA3_5_8I1R5P_sound (a : PairSlot) :
    (CA3_5_8I1R5P a).Encloses (CA3_5_8I1R5Value a) :=
proof · 1 line
  contains_sound (CA3_5_8I1R5Raw_sound a) (CA3_5_8I1R5P_check a)
556
def CA3_5_8I1R5Terms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R5Certificates (CA3_5_8I1R5CertificateIndex a)).output
558
lemma CA3_5_8I1R5Terms_sound (a : PairSlot) :
    (CA3_5_8I1R5Terms a).Encloses (Foundation.entropyTerm (CA3_5_8I1R5Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1R5Certificates_valid
    (CA3_5_8I1R5CertificateIndex a) (CA3_5_8I1R5P_sound a)
562
def CA3_5_8I1R5Entropy : Ball := ⟨(968580955798841484078453451653 / 50000000000000000000000000000000), (16812453 / 2500000000000000000000000000000)⟩
563
lemma CA3_5_8I1R5Entropy_sound : CA3_5_8I1R5Entropy.Encloses (Foundation.finiteEntropy CA3_5_8I1R5Value) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CA3_5_8I1R5Value CA3_5_8I1R5Terms CA3_5_8I1R5Terms_sound) (by decide +kernel)
565
def CA3_5_8I1R5Mass : Ball := ⟨(69128529515490861959248981511 / 25000000000000000000000000000000), (1 / 10000000000000000000000000000000)⟩
566
lemma CA3_5_8I1R5Mass_sound : CA3_5_8I1R5Mass.Encloses (∑ a, CA3_5_8I1R5Value a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CA3_5_8I1R5P CA3_5_8I1R5Value CA3_5_8I1R5P_sound) (by decide +kernel)
568
def CA3_5_8I1R5MassTermLogWitness : LogWitness := ⟨-9, 69128529515490861959248981511, 48828125000000000000000000000⟩
569
def CA3_5_8I1R5MassTermLog : Ball := ⟨(-147266589635318730006094524319141 / 25000000000000000000000000000000), (105879120223 / 50000000000000000000000000000000)⟩
570
lemma CA3_5_8I1R5MassTermLog_sound : CA3_5_8I1R5MassTermLog.Encloses (Real.log ((∑ a, CA3_5_8I1R5Value a))) := by
proof · 3 lines
  exact checkLog_sound logTwoBall_sound (CA3_5_8I1R5Mass_sound) (w := CA3_5_8I1R5MassTermLogWitness) (by
    simp only [checkLog, Bool.and_eq_true]
    exact ⟨by decide +kernel, by decide +kernel⟩)
574
def CA3_5_8I1R5MassTerm : Ball := ⟨(1628851646120129836860628761549 / 100000000000000000000000000000000), (585541491 / 100000000000000000000000000000000)⟩
575
lemma CA3_5_8I1R5MassTerm_sound : CA3_5_8I1R5MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1R5Value a))) := by
proof · 1 line
  exact contains_sound (entropyTerm_ball (CA3_5_8I1R5Mass_sound) CA3_5_8I1R5MassTermLog_sound) (by decide +kernel)
577
def CA3_5_8I1R5H : Ball := ⟨(308310265477553131296278141757 / 100000000000000000000000000000000), (1258039611 / 100000000000000000000000000000000)⟩
578
lemma CA3_5_8I1R5H_sound : CA3_5_8I1R5H.Encloses (homogeneousEntropy CA3_5_8I1R5Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1R5Value CA3_5_8I1R5MassTerm_sound CA3_5_8I1R5Entropy_sound) (by decide +kernel)
580
def CA3_5_8I1R6Value (a : PairSlot) : ℝ := residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) 6 a
581
def CA3_5_8I1R6Raw (a : PairSlot) : Ball := residualBall (below (shape 3 5 8)) A3_5_8Law (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) 6 a
582
lemma CA3_5_8I1R6Raw_sound (a : PairSlot) :
    (CA3_5_8I1R6Raw a).Encloses (CA3_5_8I1R6Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) (fun u hu a => halfTable_sound u (stageA_children_size (shape 3 5 8) (show (shape 3 5 8) ∈ positiveInitial by decide +kernel) u hu) ((Equiv.refl (Fin 3)) 1) a) 6 a
585
def CA3_5_8I1R6Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
587
lemma CA3_5_8I1R6Certificates_valid :
    CA3_5_8I1R6Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
589
def CA3_5_8I1R6CertificateIndex (a : PairSlot) : ℕ :=
body · 2 lines
  match a.1.val, a.2.val with
  | _, _ => 0
592
def CA3_5_8I1R6P (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R6Certificates (CA3_5_8I1R6CertificateIndex a)).input
594
lemma CA3_5_8I1R6P_check : ∀ a : PairSlot, contains (CA3_5_8I1R6Raw a) (CA3_5_8I1R6P a) = true := by
proof · 1 line
  decide +kernel
596
lemma CA3_5_8I1R6P_sound (a : PairSlot) :
    (CA3_5_8I1R6P a).Encloses (CA3_5_8I1R6Value a) :=
proof · 1 line
  contains_sound (CA3_5_8I1R6Raw_sound a) (CA3_5_8I1R6P_check a)
599
def CA3_5_8I1R6Terms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R6Certificates (CA3_5_8I1R6CertificateIndex a)).output
601
lemma CA3_5_8I1R6Terms_sound (a : PairSlot) :
    (CA3_5_8I1R6Terms a).Encloses (Foundation.entropyTerm (CA3_5_8I1R6Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1R6Certificates_valid
    (CA3_5_8I1R6CertificateIndex a) (CA3_5_8I1R6P_sound a)
605
def CA3_5_8I1R6Entropy : Ball := ⟨0, 0⟩
606
lemma CA3_5_8I1R6Entropy_sound : CA3_5_8I1R6Entropy.Encloses (Foundation.finiteEntropy CA3_5_8I1R6Value) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CA3_5_8I1R6Value CA3_5_8I1R6Terms CA3_5_8I1R6Terms_sound) (by decide +kernel)
608
def CA3_5_8I1R6Mass : Ball := ⟨0, 0⟩
609
lemma CA3_5_8I1R6Mass_sound : CA3_5_8I1R6Mass.Encloses (∑ a, CA3_5_8I1R6Value a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CA3_5_8I1R6P CA3_5_8I1R6Value CA3_5_8I1R6P_sound) (by decide +kernel)
611
def CA3_5_8I1R6MassTerm : Ball := .exact 0
612
lemma CA3_5_8I1R6MassTerm_sound : CA3_5_8I1R6MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1R6Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CA3_5_8I1R6Mass_sound)
614
def CA3_5_8I1R6H : Ball := ⟨0, 0⟩
615
lemma CA3_5_8I1R6H_sound : CA3_5_8I1R6H.Encloses (homogeneousEntropy CA3_5_8I1R6Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1R6Value CA3_5_8I1R6MassTerm_sound CA3_5_8I1R6Entropy_sound) (by decide +kernel)
617
def CA3_5_8I1R7Value (a : PairSlot) : ℝ := residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) 7 a
618
def CA3_5_8I1R7Raw (a : PairSlot) : Ball := residualBall (below (shape 3 5 8)) A3_5_8Law (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) 7 a
619
lemma CA3_5_8I1R7Raw_sound (a : PairSlot) :
    (CA3_5_8I1R7Raw a).Encloses (CA3_5_8I1R7Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) (fun u hu a => halfTable_sound u (stageA_children_size (shape 3 5 8) (show (shape 3 5 8) ∈ positiveInitial by decide +kernel) u hu) ((Equiv.refl (Fin 3)) 1) a) 7 a
622
def CA3_5_8I1R7Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
624
lemma CA3_5_8I1R7Certificates_valid :
    CA3_5_8I1R7Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
626
def CA3_5_8I1R7CertificateIndex (a : PairSlot) : ℕ :=
body · 2 lines
  match a.1.val, a.2.val with
  | _, _ => 0
629
def CA3_5_8I1R7P (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R7Certificates (CA3_5_8I1R7CertificateIndex a)).input
631
lemma CA3_5_8I1R7P_check : ∀ a : PairSlot, contains (CA3_5_8I1R7Raw a) (CA3_5_8I1R7P a) = true := by
proof · 1 line
  decide +kernel
633
lemma CA3_5_8I1R7P_sound (a : PairSlot) :
    (CA3_5_8I1R7P a).Encloses (CA3_5_8I1R7Value a) :=
proof · 1 line
  contains_sound (CA3_5_8I1R7Raw_sound a) (CA3_5_8I1R7P_check a)
636
def CA3_5_8I1R7Terms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R7Certificates (CA3_5_8I1R7CertificateIndex a)).output
638
lemma CA3_5_8I1R7Terms_sound (a : PairSlot) :
    (CA3_5_8I1R7Terms a).Encloses (Foundation.entropyTerm (CA3_5_8I1R7Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1R7Certificates_valid
    (CA3_5_8I1R7CertificateIndex a) (CA3_5_8I1R7P_sound a)
642
def CA3_5_8I1R7Entropy : Ball := ⟨0, 0⟩
643
lemma CA3_5_8I1R7Entropy_sound : CA3_5_8I1R7Entropy.Encloses (Foundation.finiteEntropy CA3_5_8I1R7Value) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CA3_5_8I1R7Value CA3_5_8I1R7Terms CA3_5_8I1R7Terms_sound) (by decide +kernel)
645
def CA3_5_8I1R7Mass : Ball := ⟨0, 0⟩
646
lemma CA3_5_8I1R7Mass_sound : CA3_5_8I1R7Mass.Encloses (∑ a, CA3_5_8I1R7Value a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CA3_5_8I1R7P CA3_5_8I1R7Value CA3_5_8I1R7P_sound) (by decide +kernel)
648
def CA3_5_8I1R7MassTerm : Ball := .exact 0
649
lemma CA3_5_8I1R7MassTerm_sound : CA3_5_8I1R7MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1R7Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CA3_5_8I1R7Mass_sound)
651
def CA3_5_8I1R7H : Ball := ⟨0, 0⟩
652
lemma CA3_5_8I1R7H_sound : CA3_5_8I1R7H.Encloses (homogeneousEntropy CA3_5_8I1R7Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1R7Value CA3_5_8I1R7MassTerm_sound CA3_5_8I1R7Entropy_sound) (by decide +kernel)
654
def CA3_5_8I1R8Value (a : PairSlot) : ℝ := residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) 8 a
655
def CA3_5_8I1R8Raw (a : PairSlot) : Ball := residualBall (below (shape 3 5 8)) A3_5_8Law (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) 8 a
656
lemma CA3_5_8I1R8Raw_sound (a : PairSlot) :
    (CA3_5_8I1R8Raw a).Encloses (CA3_5_8I1R8Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) (fun u hu a => halfTable_sound u (stageA_children_size (shape 3 5 8) (show (shape 3 5 8) ∈ positiveInitial by decide +kernel) u hu) ((Equiv.refl (Fin 3)) 1) a) 8 a
659
def CA3_5_8I1R8Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
661
lemma CA3_5_8I1R8Certificates_valid :
    CA3_5_8I1R8Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
663
def CA3_5_8I1R8CertificateIndex (a : PairSlot) : ℕ :=
body · 2 lines
  match a.1.val, a.2.val with
  | _, _ => 0
666
def CA3_5_8I1R8P (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R8Certificates (CA3_5_8I1R8CertificateIndex a)).input
668
lemma CA3_5_8I1R8P_check : ∀ a : PairSlot, contains (CA3_5_8I1R8Raw a) (CA3_5_8I1R8P a) = true := by
proof · 1 line
  decide +kernel
670
lemma CA3_5_8I1R8P_sound (a : PairSlot) :
    (CA3_5_8I1R8P a).Encloses (CA3_5_8I1R8Value a) :=
proof · 1 line
  contains_sound (CA3_5_8I1R8Raw_sound a) (CA3_5_8I1R8P_check a)
673
def CA3_5_8I1R8Terms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R8Certificates (CA3_5_8I1R8CertificateIndex a)).output
675
lemma CA3_5_8I1R8Terms_sound (a : PairSlot) :
    (CA3_5_8I1R8Terms a).Encloses (Foundation.entropyTerm (CA3_5_8I1R8Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1R8Certificates_valid
    (CA3_5_8I1R8CertificateIndex a) (CA3_5_8I1R8P_sound a)
679
def CA3_5_8I1R8Entropy : Ball := ⟨0, 0⟩
680
lemma CA3_5_8I1R8Entropy_sound : CA3_5_8I1R8Entropy.Encloses (Foundation.finiteEntropy CA3_5_8I1R8Value) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CA3_5_8I1R8Value CA3_5_8I1R8Terms CA3_5_8I1R8Terms_sound) (by decide +kernel)
682
def CA3_5_8I1R8Mass : Ball := ⟨0, 0⟩
683
lemma CA3_5_8I1R8Mass_sound : CA3_5_8I1R8Mass.Encloses (∑ a, CA3_5_8I1R8Value a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CA3_5_8I1R8P CA3_5_8I1R8Value CA3_5_8I1R8P_sound) (by decide +kernel)
685
def CA3_5_8I1R8MassTerm : Ball := .exact 0
686
lemma CA3_5_8I1R8MassTerm_sound : CA3_5_8I1R8MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1R8Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CA3_5_8I1R8Mass_sound)
688
def CA3_5_8I1R8H : Ball := ⟨0, 0⟩
689
lemma CA3_5_8I1R8H_sound : CA3_5_8I1R8H.Encloses (homogeneousEntropy CA3_5_8I1R8Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1R8Value CA3_5_8I1R8MassTerm_sound CA3_5_8I1R8Entropy_sound) (by decide +kernel)
691
def CA3_5_8I1R9Value (a : PairSlot) : ℝ := residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) 9 a
692
def CA3_5_8I1R9Raw (a : PairSlot) : Ball := residualBall (below (shape 3 5 8)) A3_5_8Law (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) 9 a
693
lemma CA3_5_8I1R9Raw_sound (a : PairSlot) :
    (CA3_5_8I1R9Raw a).Encloses (CA3_5_8I1R9Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) (fun u hu a => halfTable_sound u (stageA_children_size (shape 3 5 8) (show (shape 3 5 8) ∈ positiveInitial by decide +kernel) u hu) ((Equiv.refl (Fin 3)) 1) a) 9 a
696
def CA3_5_8I1R9Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
698
lemma CA3_5_8I1R9Certificates_valid :
    CA3_5_8I1R9Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
700
def CA3_5_8I1R9CertificateIndex (a : PairSlot) : ℕ :=
body · 2 lines
  match a.1.val, a.2.val with
  | _, _ => 0
703
def CA3_5_8I1R9P (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R9Certificates (CA3_5_8I1R9CertificateIndex a)).input
705
lemma CA3_5_8I1R9P_check : ∀ a : PairSlot, contains (CA3_5_8I1R9Raw a) (CA3_5_8I1R9P a) = true := by
proof · 1 line
  decide +kernel
707
lemma CA3_5_8I1R9P_sound (a : PairSlot) :
    (CA3_5_8I1R9P a).Encloses (CA3_5_8I1R9Value a) :=
proof · 1 line
  contains_sound (CA3_5_8I1R9Raw_sound a) (CA3_5_8I1R9P_check a)
710
def CA3_5_8I1R9Terms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R9Certificates (CA3_5_8I1R9CertificateIndex a)).output
712
lemma CA3_5_8I1R9Terms_sound (a : PairSlot) :
    (CA3_5_8I1R9Terms a).Encloses (Foundation.entropyTerm (CA3_5_8I1R9Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1R9Certificates_valid
    (CA3_5_8I1R9CertificateIndex a) (CA3_5_8I1R9P_sound a)
716
def CA3_5_8I1R9Entropy : Ball := ⟨0, 0⟩
717
lemma CA3_5_8I1R9Entropy_sound : CA3_5_8I1R9Entropy.Encloses (Foundation.finiteEntropy CA3_5_8I1R9Value) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CA3_5_8I1R9Value CA3_5_8I1R9Terms CA3_5_8I1R9Terms_sound) (by decide +kernel)
719
def CA3_5_8I1R9Mass : Ball := ⟨0, 0⟩
720
lemma CA3_5_8I1R9Mass_sound : CA3_5_8I1R9Mass.Encloses (∑ a, CA3_5_8I1R9Value a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CA3_5_8I1R9P CA3_5_8I1R9Value CA3_5_8I1R9P_sound) (by decide +kernel)
722
def CA3_5_8I1R9MassTerm : Ball := .exact 0
723
lemma CA3_5_8I1R9MassTerm_sound : CA3_5_8I1R9MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1R9Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CA3_5_8I1R9Mass_sound)
725
def CA3_5_8I1R9H : Ball := ⟨0, 0⟩
726
lemma CA3_5_8I1R9H_sound : CA3_5_8I1R9H.Encloses (homogeneousEntropy CA3_5_8I1R9Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1R9Value CA3_5_8I1R9MassTerm_sound CA3_5_8I1R9Entropy_sound) (by decide +kernel)
728
def CA3_5_8I1R10Value (a : PairSlot) : ℝ := residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) 10 a
729
def CA3_5_8I1R10Raw (a : PairSlot) : Ball := residualBall (below (shape 3 5 8)) A3_5_8Law (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) 10 a
730
lemma CA3_5_8I1R10Raw_sound (a : PairSlot) :
    (CA3_5_8I1R10Raw a).Encloses (CA3_5_8I1R10Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) (fun u hu a => halfTable_sound u (stageA_children_size (shape 3 5 8) (show (shape 3 5 8) ∈ positiveInitial by decide +kernel) u hu) ((Equiv.refl (Fin 3)) 1) a) 10 a
733
def CA3_5_8I1R10Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
735
lemma CA3_5_8I1R10Certificates_valid :
    CA3_5_8I1R10Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
737
def CA3_5_8I1R10CertificateIndex (a : PairSlot) : ℕ :=
body · 2 lines
  match a.1.val, a.2.val with
  | _, _ => 0
740
def CA3_5_8I1R10P (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R10Certificates (CA3_5_8I1R10CertificateIndex a)).input
742
lemma CA3_5_8I1R10P_check : ∀ a : PairSlot, contains (CA3_5_8I1R10Raw a) (CA3_5_8I1R10P a) = true := by
proof · 1 line
  decide +kernel
744
lemma CA3_5_8I1R10P_sound (a : PairSlot) :
    (CA3_5_8I1R10P a).Encloses (CA3_5_8I1R10Value a) :=
proof · 1 line
  contains_sound (CA3_5_8I1R10Raw_sound a) (CA3_5_8I1R10P_check a)
747
def CA3_5_8I1R10Terms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R10Certificates (CA3_5_8I1R10CertificateIndex a)).output
749
lemma CA3_5_8I1R10Terms_sound (a : PairSlot) :
    (CA3_5_8I1R10Terms a).Encloses (Foundation.entropyTerm (CA3_5_8I1R10Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1R10Certificates_valid
    (CA3_5_8I1R10CertificateIndex a) (CA3_5_8I1R10P_sound a)
753
def CA3_5_8I1R10Entropy : Ball := ⟨0, 0⟩
754
lemma CA3_5_8I1R10Entropy_sound : CA3_5_8I1R10Entropy.Encloses (Foundation.finiteEntropy CA3_5_8I1R10Value) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CA3_5_8I1R10Value CA3_5_8I1R10Terms CA3_5_8I1R10Terms_sound) (by decide +kernel)
756
def CA3_5_8I1R10Mass : Ball := ⟨0, 0⟩
757
lemma CA3_5_8I1R10Mass_sound : CA3_5_8I1R10Mass.Encloses (∑ a, CA3_5_8I1R10Value a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CA3_5_8I1R10P CA3_5_8I1R10Value CA3_5_8I1R10P_sound) (by decide +kernel)
759
def CA3_5_8I1R10MassTerm : Ball := .exact 0
760
lemma CA3_5_8I1R10MassTerm_sound : CA3_5_8I1R10MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1R10Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CA3_5_8I1R10Mass_sound)
762
def CA3_5_8I1R10H : Ball := ⟨0, 0⟩
763
lemma CA3_5_8I1R10H_sound : CA3_5_8I1R10H.Encloses (homogeneousEntropy CA3_5_8I1R10Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1R10Value CA3_5_8I1R10MassTerm_sound CA3_5_8I1R10Entropy_sound) (by decide +kernel)
765
def CA3_5_8I1R11Value (a : PairSlot) : ℝ := residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) 11 a
766
def CA3_5_8I1R11Raw (a : PairSlot) : Ball := residualBall (below (shape 3 5 8)) A3_5_8Law (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) 11 a
767
lemma CA3_5_8I1R11Raw_sound (a : PairSlot) :
    (CA3_5_8I1R11Raw a).Encloses (CA3_5_8I1R11Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) (fun u hu a => halfTable_sound u (stageA_children_size (shape 3 5 8) (show (shape 3 5 8) ∈ positiveInitial by decide +kernel) u hu) ((Equiv.refl (Fin 3)) 1) a) 11 a
770
def CA3_5_8I1R11Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
772
lemma CA3_5_8I1R11Certificates_valid :
    CA3_5_8I1R11Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
774
def CA3_5_8I1R11CertificateIndex (a : PairSlot) : ℕ :=
body · 2 lines
  match a.1.val, a.2.val with
  | _, _ => 0
777
def CA3_5_8I1R11P (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R11Certificates (CA3_5_8I1R11CertificateIndex a)).input
779
lemma CA3_5_8I1R11P_check : ∀ a : PairSlot, contains (CA3_5_8I1R11Raw a) (CA3_5_8I1R11P a) = true := by
proof · 1 line
  decide +kernel
781
lemma CA3_5_8I1R11P_sound (a : PairSlot) :
    (CA3_5_8I1R11P a).Encloses (CA3_5_8I1R11Value a) :=
proof · 1 line
  contains_sound (CA3_5_8I1R11Raw_sound a) (CA3_5_8I1R11P_check a)
784
def CA3_5_8I1R11Terms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R11Certificates (CA3_5_8I1R11CertificateIndex a)).output
786
lemma CA3_5_8I1R11Terms_sound (a : PairSlot) :
    (CA3_5_8I1R11Terms a).Encloses (Foundation.entropyTerm (CA3_5_8I1R11Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1R11Certificates_valid
    (CA3_5_8I1R11CertificateIndex a) (CA3_5_8I1R11P_sound a)
790
def CA3_5_8I1R11Entropy : Ball := ⟨0, 0⟩
791
lemma CA3_5_8I1R11Entropy_sound : CA3_5_8I1R11Entropy.Encloses (Foundation.finiteEntropy CA3_5_8I1R11Value) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CA3_5_8I1R11Value CA3_5_8I1R11Terms CA3_5_8I1R11Terms_sound) (by decide +kernel)
793
def CA3_5_8I1R11Mass : Ball := ⟨0, 0⟩
794
lemma CA3_5_8I1R11Mass_sound : CA3_5_8I1R11Mass.Encloses (∑ a, CA3_5_8I1R11Value a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CA3_5_8I1R11P CA3_5_8I1R11Value CA3_5_8I1R11P_sound) (by decide +kernel)
796
def CA3_5_8I1R11MassTerm : Ball := .exact 0
797
lemma CA3_5_8I1R11MassTerm_sound : CA3_5_8I1R11MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1R11Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CA3_5_8I1R11Mass_sound)
799
def CA3_5_8I1R11H : Ball := ⟨0, 0⟩
800
lemma CA3_5_8I1R11H_sound : CA3_5_8I1R11H.Encloses (homogeneousEntropy CA3_5_8I1R11Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1R11Value CA3_5_8I1R11MassTerm_sound CA3_5_8I1R11Entropy_sound) (by decide +kernel)
802
def CA3_5_8I1R12Value (a : PairSlot) : ℝ := residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) 12 a
803
def CA3_5_8I1R12Raw (a : PairSlot) : Ball := residualBall (below (shape 3 5 8)) A3_5_8Law (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) 12 a
804
lemma CA3_5_8I1R12Raw_sound (a : PairSlot) :
    (CA3_5_8I1R12Raw a).Encloses (CA3_5_8I1R12Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) (fun u hu a => halfTable_sound u (stageA_children_size (shape 3 5 8) (show (shape 3 5 8) ∈ positiveInitial by decide +kernel) u hu) ((Equiv.refl (Fin 3)) 1) a) 12 a
807
def CA3_5_8I1R12Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
809
lemma CA3_5_8I1R12Certificates_valid :
    CA3_5_8I1R12Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
811
def CA3_5_8I1R12CertificateIndex (a : PairSlot) : ℕ :=
body · 2 lines
  match a.1.val, a.2.val with
  | _, _ => 0
814
def CA3_5_8I1R12P (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R12Certificates (CA3_5_8I1R12CertificateIndex a)).input
816
lemma CA3_5_8I1R12P_check : ∀ a : PairSlot, contains (CA3_5_8I1R12Raw a) (CA3_5_8I1R12P a) = true := by
proof · 1 line
  decide +kernel
818
lemma CA3_5_8I1R12P_sound (a : PairSlot) :
    (CA3_5_8I1R12P a).Encloses (CA3_5_8I1R12Value a) :=
proof · 1 line
  contains_sound (CA3_5_8I1R12Raw_sound a) (CA3_5_8I1R12P_check a)
821
def CA3_5_8I1R12Terms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R12Certificates (CA3_5_8I1R12CertificateIndex a)).output
823
lemma CA3_5_8I1R12Terms_sound (a : PairSlot) :
    (CA3_5_8I1R12Terms a).Encloses (Foundation.entropyTerm (CA3_5_8I1R12Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1R12Certificates_valid
    (CA3_5_8I1R12CertificateIndex a) (CA3_5_8I1R12P_sound a)
827
def CA3_5_8I1R12Entropy : Ball := ⟨0, 0⟩
828
lemma CA3_5_8I1R12Entropy_sound : CA3_5_8I1R12Entropy.Encloses (Foundation.finiteEntropy CA3_5_8I1R12Value) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CA3_5_8I1R12Value CA3_5_8I1R12Terms CA3_5_8I1R12Terms_sound) (by decide +kernel)
830
def CA3_5_8I1R12Mass : Ball := ⟨0, 0⟩
831
lemma CA3_5_8I1R12Mass_sound : CA3_5_8I1R12Mass.Encloses (∑ a, CA3_5_8I1R12Value a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CA3_5_8I1R12P CA3_5_8I1R12Value CA3_5_8I1R12P_sound) (by decide +kernel)
833
def CA3_5_8I1R12MassTerm : Ball := .exact 0
834
lemma CA3_5_8I1R12MassTerm_sound : CA3_5_8I1R12MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1R12Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CA3_5_8I1R12Mass_sound)
836
def CA3_5_8I1R12H : Ball := ⟨0, 0⟩
837
lemma CA3_5_8I1R12H_sound : CA3_5_8I1R12H.Encloses (homogeneousEntropy CA3_5_8I1R12Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1R12Value CA3_5_8I1R12MassTerm_sound CA3_5_8I1R12Entropy_sound) (by decide +kernel)
839
def CA3_5_8I1R13Value (a : PairSlot) : ℝ := residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) 13 a
840
def CA3_5_8I1R13Raw (a : PairSlot) : Ball := residualBall (below (shape 3 5 8)) A3_5_8Law (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) 13 a
841
lemma CA3_5_8I1R13Raw_sound (a : PairSlot) :
    (CA3_5_8I1R13Raw a).Encloses (CA3_5_8I1R13Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) (fun u hu a => halfTable_sound u (stageA_children_size (shape 3 5 8) (show (shape 3 5 8) ∈ positiveInitial by decide +kernel) u hu) ((Equiv.refl (Fin 3)) 1) a) 13 a
844
def CA3_5_8I1R13Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
846
lemma CA3_5_8I1R13Certificates_valid :
    CA3_5_8I1R13Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
848
def CA3_5_8I1R13CertificateIndex (a : PairSlot) : ℕ :=
body · 2 lines
  match a.1.val, a.2.val with
  | _, _ => 0
851
def CA3_5_8I1R13P (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R13Certificates (CA3_5_8I1R13CertificateIndex a)).input
853
lemma CA3_5_8I1R13P_check : ∀ a : PairSlot, contains (CA3_5_8I1R13Raw a) (CA3_5_8I1R13P a) = true := by
proof · 1 line
  decide +kernel
855
lemma CA3_5_8I1R13P_sound (a : PairSlot) :
    (CA3_5_8I1R13P a).Encloses (CA3_5_8I1R13Value a) :=
proof · 1 line
  contains_sound (CA3_5_8I1R13Raw_sound a) (CA3_5_8I1R13P_check a)
858
def CA3_5_8I1R13Terms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R13Certificates (CA3_5_8I1R13CertificateIndex a)).output
860
lemma CA3_5_8I1R13Terms_sound (a : PairSlot) :
    (CA3_5_8I1R13Terms a).Encloses (Foundation.entropyTerm (CA3_5_8I1R13Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1R13Certificates_valid
    (CA3_5_8I1R13CertificateIndex a) (CA3_5_8I1R13P_sound a)
864
def CA3_5_8I1R13Entropy : Ball := ⟨0, 0⟩
865
lemma CA3_5_8I1R13Entropy_sound : CA3_5_8I1R13Entropy.Encloses (Foundation.finiteEntropy CA3_5_8I1R13Value) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CA3_5_8I1R13Value CA3_5_8I1R13Terms CA3_5_8I1R13Terms_sound) (by decide +kernel)
867
def CA3_5_8I1R13Mass : Ball := ⟨0, 0⟩
868
lemma CA3_5_8I1R13Mass_sound : CA3_5_8I1R13Mass.Encloses (∑ a, CA3_5_8I1R13Value a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CA3_5_8I1R13P CA3_5_8I1R13Value CA3_5_8I1R13P_sound) (by decide +kernel)
870
def CA3_5_8I1R13MassTerm : Ball := .exact 0
871
lemma CA3_5_8I1R13MassTerm_sound : CA3_5_8I1R13MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1R13Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CA3_5_8I1R13Mass_sound)
873
def CA3_5_8I1R13H : Ball := ⟨0, 0⟩
874
lemma CA3_5_8I1R13H_sound : CA3_5_8I1R13H.Encloses (homogeneousEntropy CA3_5_8I1R13Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1R13Value CA3_5_8I1R13MassTerm_sound CA3_5_8I1R13Entropy_sound) (by decide +kernel)
876
def CA3_5_8I1R14Value (a : PairSlot) : ℝ := residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) 14 a
877
def CA3_5_8I1R14Raw (a : PairSlot) : Ball := residualBall (below (shape 3 5 8)) A3_5_8Law (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) 14 a
878
lemma CA3_5_8I1R14Raw_sound (a : PairSlot) :
    (CA3_5_8I1R14Raw a).Encloses (CA3_5_8I1R14Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) (fun u hu a => halfTable_sound u (stageA_children_size (shape 3 5 8) (show (shape 3 5 8) ∈ positiveInitial by decide +kernel) u hu) ((Equiv.refl (Fin 3)) 1) a) 14 a
881
def CA3_5_8I1R14Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
883
lemma CA3_5_8I1R14Certificates_valid :
    CA3_5_8I1R14Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
885
def CA3_5_8I1R14CertificateIndex (a : PairSlot) : ℕ :=
body · 2 lines
  match a.1.val, a.2.val with
  | _, _ => 0
888
def CA3_5_8I1R14P (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R14Certificates (CA3_5_8I1R14CertificateIndex a)).input
890
lemma CA3_5_8I1R14P_check : ∀ a : PairSlot, contains (CA3_5_8I1R14Raw a) (CA3_5_8I1R14P a) = true := by
proof · 1 line
  decide +kernel
892
lemma CA3_5_8I1R14P_sound (a : PairSlot) :
    (CA3_5_8I1R14P a).Encloses (CA3_5_8I1R14Value a) :=
proof · 1 line
  contains_sound (CA3_5_8I1R14Raw_sound a) (CA3_5_8I1R14P_check a)
895
def CA3_5_8I1R14Terms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R14Certificates (CA3_5_8I1R14CertificateIndex a)).output
897
lemma CA3_5_8I1R14Terms_sound (a : PairSlot) :
    (CA3_5_8I1R14Terms a).Encloses (Foundation.entropyTerm (CA3_5_8I1R14Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1R14Certificates_valid
    (CA3_5_8I1R14CertificateIndex a) (CA3_5_8I1R14P_sound a)
901
def CA3_5_8I1R14Entropy : Ball := ⟨0, 0⟩
902
lemma CA3_5_8I1R14Entropy_sound : CA3_5_8I1R14Entropy.Encloses (Foundation.finiteEntropy CA3_5_8I1R14Value) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CA3_5_8I1R14Value CA3_5_8I1R14Terms CA3_5_8I1R14Terms_sound) (by decide +kernel)
904
def CA3_5_8I1R14Mass : Ball := ⟨0, 0⟩
905
lemma CA3_5_8I1R14Mass_sound : CA3_5_8I1R14Mass.Encloses (∑ a, CA3_5_8I1R14Value a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CA3_5_8I1R14P CA3_5_8I1R14Value CA3_5_8I1R14P_sound) (by decide +kernel)
907
def CA3_5_8I1R14MassTerm : Ball := .exact 0
908
lemma CA3_5_8I1R14MassTerm_sound : CA3_5_8I1R14MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1R14Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CA3_5_8I1R14Mass_sound)
910
def CA3_5_8I1R14H : Ball := ⟨0, 0⟩
911
lemma CA3_5_8I1R14H_sound : CA3_5_8I1R14H.Encloses (homogeneousEntropy CA3_5_8I1R14Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1R14Value CA3_5_8I1R14MassTerm_sound CA3_5_8I1R14Entropy_sound) (by decide +kernel)
913
def CA3_5_8I1R15Value (a : PairSlot) : ℝ := residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) 15 a
914
def CA3_5_8I1R15Raw (a : PairSlot) : Ball := residualBall (below (shape 3 5 8)) A3_5_8Law (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) 15 a
915
lemma CA3_5_8I1R15Raw_sound (a : PairSlot) :
    (CA3_5_8I1R15Raw a).Encloses (CA3_5_8I1R15Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) (fun u hu a => halfTable_sound u (stageA_children_size (shape 3 5 8) (show (shape 3 5 8) ∈ positiveInitial by decide +kernel) u hu) ((Equiv.refl (Fin 3)) 1) a) 15 a
918
def CA3_5_8I1R15Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
920
lemma CA3_5_8I1R15Certificates_valid :
    CA3_5_8I1R15Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
922
def CA3_5_8I1R15CertificateIndex (a : PairSlot) : ℕ :=
body · 2 lines
  match a.1.val, a.2.val with
  | _, _ => 0
925
def CA3_5_8I1R15P (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R15Certificates (CA3_5_8I1R15CertificateIndex a)).input
927
lemma CA3_5_8I1R15P_check : ∀ a : PairSlot, contains (CA3_5_8I1R15Raw a) (CA3_5_8I1R15P a) = true := by
proof · 1 line
  decide +kernel
929
lemma CA3_5_8I1R15P_sound (a : PairSlot) :
    (CA3_5_8I1R15P a).Encloses (CA3_5_8I1R15Value a) :=
proof · 1 line
  contains_sound (CA3_5_8I1R15Raw_sound a) (CA3_5_8I1R15P_check a)
932
def CA3_5_8I1R15Terms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R15Certificates (CA3_5_8I1R15CertificateIndex a)).output
934
lemma CA3_5_8I1R15Terms_sound (a : PairSlot) :
    (CA3_5_8I1R15Terms a).Encloses (Foundation.entropyTerm (CA3_5_8I1R15Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1R15Certificates_valid
    (CA3_5_8I1R15CertificateIndex a) (CA3_5_8I1R15P_sound a)
938
def CA3_5_8I1R15Entropy : Ball := ⟨0, 0⟩
939
lemma CA3_5_8I1R15Entropy_sound : CA3_5_8I1R15Entropy.Encloses (Foundation.finiteEntropy CA3_5_8I1R15Value) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CA3_5_8I1R15Value CA3_5_8I1R15Terms CA3_5_8I1R15Terms_sound) (by decide +kernel)
941
def CA3_5_8I1R15Mass : Ball := ⟨0, 0⟩
942
lemma CA3_5_8I1R15Mass_sound : CA3_5_8I1R15Mass.Encloses (∑ a, CA3_5_8I1R15Value a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CA3_5_8I1R15P CA3_5_8I1R15Value CA3_5_8I1R15P_sound) (by decide +kernel)
944
def CA3_5_8I1R15MassTerm : Ball := .exact 0
945
lemma CA3_5_8I1R15MassTerm_sound : CA3_5_8I1R15MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1R15Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CA3_5_8I1R15Mass_sound)
947
def CA3_5_8I1R15H : Ball := ⟨0, 0⟩
948
lemma CA3_5_8I1R15H_sound : CA3_5_8I1R15H.Encloses (homogeneousEntropy CA3_5_8I1R15Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1R15Value CA3_5_8I1R15MassTerm_sound CA3_5_8I1R15Entropy_sound) (by decide +kernel)
950
def CA3_5_8I1R16Value (a : PairSlot) : ℝ := residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) 16 a
951
def CA3_5_8I1R16Raw (a : PairSlot) : Ball := residualBall (below (shape 3 5 8)) A3_5_8Law (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) 16 a
952
lemma CA3_5_8I1R16Raw_sound (a : PairSlot) :
    (CA3_5_8I1R16Raw a).Encloses (CA3_5_8I1R16Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u => halfTable u ((Equiv.refl (Fin 3)) 1)) (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) (fun u hu a => halfTable_sound u (stageA_children_size (shape 3 5 8) (show (shape 3 5 8) ∈ positiveInitial by decide +kernel) u hu) ((Equiv.refl (Fin 3)) 1) a) 16 a
955
def CA3_5_8I1R16Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
957
lemma CA3_5_8I1R16Certificates_valid :
    CA3_5_8I1R16Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
959
def CA3_5_8I1R16CertificateIndex (a : PairSlot) : ℕ :=
body · 2 lines
  match a.1.val, a.2.val with
  | _, _ => 0
962
def CA3_5_8I1R16P (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R16Certificates (CA3_5_8I1R16CertificateIndex a)).input
964
lemma CA3_5_8I1R16P_check : ∀ a : PairSlot, contains (CA3_5_8I1R16Raw a) (CA3_5_8I1R16P a) = true := by
proof · 1 line
  decide +kernel
966
lemma CA3_5_8I1R16P_sound (a : PairSlot) :
    (CA3_5_8I1R16P a).Encloses (CA3_5_8I1R16Value a) :=
proof · 1 line
  contains_sound (CA3_5_8I1R16Raw_sound a) (CA3_5_8I1R16P_check a)
969
def CA3_5_8I1R16Terms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CA3_5_8I1R16Certificates (CA3_5_8I1R16CertificateIndex a)).output
971
lemma CA3_5_8I1R16Terms_sound (a : PairSlot) :
    (CA3_5_8I1R16Terms a).Encloses (Foundation.entropyTerm (CA3_5_8I1R16Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CA3_5_8I1R16Certificates_valid
    (CA3_5_8I1R16CertificateIndex a) (CA3_5_8I1R16P_sound a)
975
def CA3_5_8I1R16Entropy : Ball := ⟨0, 0⟩
976
lemma CA3_5_8I1R16Entropy_sound : CA3_5_8I1R16Entropy.Encloses (Foundation.finiteEntropy CA3_5_8I1R16Value) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CA3_5_8I1R16Value CA3_5_8I1R16Terms CA3_5_8I1R16Terms_sound) (by decide +kernel)
978
def CA3_5_8I1R16Mass : Ball := ⟨0, 0⟩
979
lemma CA3_5_8I1R16Mass_sound : CA3_5_8I1R16Mass.Encloses (∑ a, CA3_5_8I1R16Value a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CA3_5_8I1R16P CA3_5_8I1R16Value CA3_5_8I1R16P_sound) (by decide +kernel)
981
def CA3_5_8I1R16MassTerm : Ball := .exact 0
982
lemma CA3_5_8I1R16MassTerm_sound : CA3_5_8I1R16MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CA3_5_8I1R16Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CA3_5_8I1R16Mass_sound)
984
def CA3_5_8I1R16H : Ball := ⟨0, 0⟩
985
lemma CA3_5_8I1R16H_sound : CA3_5_8I1R16H.Encloses (homogeneousEntropy CA3_5_8I1R16Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CA3_5_8I1R16Value CA3_5_8I1R16MassTerm_sound CA3_5_8I1R16Entropy_sound) (by decide +kernel)
987
def CA3_5_8I1ResidualEntropies (a : Fin 17) : Ball :=
body · 19 lines
  match a.val with
  | 0 => CA3_5_8I1R0H
  | 1 => CA3_5_8I1R1H
  | 2 => CA3_5_8I1R2H
  | 3 => CA3_5_8I1R3H
  | 4 => CA3_5_8I1R4H
  | 5 => CA3_5_8I1R5H
  | 6 => CA3_5_8I1R6H
  | 7 => CA3_5_8I1R7H
  | 8 => CA3_5_8I1R8H
  | 9 => CA3_5_8I1R9H
  | 10 => CA3_5_8I1R10H
  | 11 => CA3_5_8I1R11H
  | 12 => CA3_5_8I1R12H
  | 13 => CA3_5_8I1R13H
  | 14 => CA3_5_8I1R14H
  | 15 => CA3_5_8I1R15H
  | 16 => CA3_5_8I1R16H
  | _ => (.exact 0)
1007
lemma CA3_5_8I1ResidualEntropies_sound (k : Fin 17) :
    (CA3_5_8I1ResidualEntropies k).Encloses (homogeneousEntropy
      (residualLaw (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) k)) := by
proof · 18 lines
  fin_cases k
  · exact CA3_5_8I1R0H_sound
  · exact CA3_5_8I1R1H_sound
  · exact CA3_5_8I1R2H_sound
  · exact CA3_5_8I1R3H_sound
  · exact CA3_5_8I1R4H_sound
  · exact CA3_5_8I1R5H_sound
  · exact CA3_5_8I1R6H_sound
  · exact CA3_5_8I1R7H_sound
  · exact CA3_5_8I1R8H_sound
  · exact CA3_5_8I1R9H_sound
  · exact CA3_5_8I1R10H_sound
  · exact CA3_5_8I1R11H_sound
  · exact CA3_5_8I1R12H_sound
  · exact CA3_5_8I1R13H_sound
  · exact CA3_5_8I1R14H_sound
  · exact CA3_5_8I1R15H_sound
  · exact CA3_5_8I1R16H_sound
1028
def CA3_5_8I1Singles (s : Shape) : Ball :=
body · 3 lines
  match s 0, s 1, s 2 with
  | 3, 5, 0 => Z3_5_0H1H
  | _, _, _ => (.exact 0)
1032
lemma CA3_5_8I1Singles_sound (u : Shape) (hu : u ∈ below (shape 3 5 8))
    (hd : designated (Equiv.refl (Fin 3)) 1 u) :
    (CA3_5_8I1Singles u).Encloses (homogeneousEntropy ((fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) u)) := by
proof · 27 lines
  rw [A3_5_8_below] at hu
  simp only [List.mem_cons, List.not_mem_nil, or_false] at hu
  rcases hu with rfl | rfl | rfl | rfl | rfl | rfl | rfl | rfl | rfl | rfl | rfl | rfl | rfl | rfl | rfl | rfl | rfl | rfl | rfl | rfl | rfl | rfl | rfl | rfl
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 0 0 8) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 0 1 7) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 0 2 6) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 0 3 5) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 0 4 4) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 0 5 3) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 1 0 7) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 1 1 6) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 1 2 5) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 1 3 4) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 1 4 3) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 1 5 2) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 2 0 6) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 2 1 5) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 2 2 4) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 2 3 3) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 2 4 2) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 2 5 1) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 3 0 5) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 3 1 4) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 3 2 3) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 3 3 2) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (Equiv.refl (Fin 3)) 1 (shape 3 4 1) by decide +kernel) hd |>.elim
  · exact Z3_5_0H1H_sound
1062
def CA3_5_8I1Singleton : Ball := ⟨(1677500010387187021113073 / 25000000000000000000000000000000), (333 / 6250000000000000000000000000000)⟩
1063
lemma CA3_5_8I1Singleton_sound : CA3_5_8I1Singleton.Encloses
    (singletonEntropy (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ))) := by
proof · 2 lines
  exact contains_sound (singletonBall_sound (below (shape 3 5 8)) A3_5_8Law (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1
    CA3_5_8I1Singles (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ)) (fun u _ => A3_5_8Law_sound u) CA3_5_8I1Singles_sound) (by decide +kernel)
1067
def CA3_5_8I1Group : Ball := ⟨(102984892185781541805278521000961 / 100000000000000000000000000000000), (3358280671 / 2000000000000000000000000000000)⟩
1068
lemma CA3_5_8I1Group_sound : CA3_5_8I1Group.Encloses
    (groupedEntropy (below (shape 3 5 8)) (fun u => (stageALaw (shape 3 5 8) u : ℝ)) (Equiv.refl (Fin 3)) 1 (fun u a => (halfLaw u ((Equiv.refl (Fin 3)) 1) a : ℝ))) := by
proof · 2 lines
  exact contains_sound (Ball.add_sound CA3_5_8I1Singleton_sound
    (finSumBall_sound 17 CA3_5_8I1ResidualEntropies _ CA3_5_8I1ResidualEntropies_sound)) (by decide +kernel)
1090
def CA3_5_8I1H : Ball := ⟨(118328426959816533655955229798811 / 100000000000000000000000000000000), (515993841763 / 100000000000000000000000000000000)⟩
1091
lemma CA3_5_8I1_sound : CA3_5_8I1H.Encloses (stageACapacity (shape 3 5 8) 1) := by
proof · 7 lines
  have hb := contains_sound (Ball.add_sound CA3_5_8I1PairH_sound
    (Ball.neg_sound (Ball.mul_sound
      (by simpa only [Rat.cast_ofNat] using Ball.exact_sound 2) CA3_5_8I1Group_sound)))
    (show contains (.add CA3_5_8I1PairH (.neg (.mul (.exact 2) CA3_5_8I1Group))) CA3_5_8I1H = true by decide +kernel)
  unfold CA3_5_8I1PairValue at hb
  simpa only [stageACapacity, nativeCapacity,
    show (1 : Fin 3) ≠ 0 by decide, ite_false, sub_eq_add_neg] using hb

Xet Storage Details

Size:
94.6 kB
·
Xet hash:
fa3ca8097e970dac29dfca8e1e1de4e1a56300c2f69aec856976a55a240516de

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