cfahlgren1's picture
download
raw
73.4 kB
16
def CB4_3_1I1PairValue (a : PairSlot) : ℝ := pairLaw (below (shape 4 3 1)) (shape 4 3 1) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) a
17
def CB4_3_1I1PairRaw (a : PairSlot) : Ball := pairLawBall (below (shape 4 3 1)) (shape 4 3 1) B4_3_1Law (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) a
18
lemma CB4_3_1I1PairRaw_sound (a : PairSlot) :
    (CB4_3_1I1PairRaw a).Encloses (CB4_3_1I1PairValue a) := by
proof · 1 line
  exact pairLawBall_sound_on (below (shape 4 3 1)) (shape 4 3 1) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) (fun u _ a => B4_3_1Little_sound (complement (shape 4 3 1) u) ((stageBPriority (shape 4 3 1)) 1) a) a
21
def CB4_3_1I1PairCertificates : List CompactCertificate.EntropyDatum :=
body · 4 lines
  [.zero,
   .log ⟨(663549549127581616184973285819 / 50000000000000000000000000000000), (3 / 50000000000000000000000000000000)⟩ ⟨(1147190843975657773974584037547 / 20000000000000000000000000000000), (1124096677 / 50000000000000000000000000000000)⟩ ⟨(-216108737750623834291693366203169 / 50000000000000000000000000000000), (42351647479 / 25000000000000000000000000000000)⟩ ⟨-7, 663549549127581616184973285819, 390625000000000000000000000000⟩,
   .log ⟨(22175975409536958176216013675929 / 50000000000000000000000000000000), (3 / 12500000000000000000000000000000)⟩ ⟨(90146835953294368688057748091 / 250000000000000000000000000000), (704391819 / 2500000000000000000000000000000)⟩ ⟨(-2540667160308030643941501584461 / 3125000000000000000000000000000), (63527471103 / 100000000000000000000000000000000)⟩ ⟨-2, 22175975409536958176216013675929, 12500000000000000000000000000000⟩,
   .log ⟨(864190016534184083039605215301 / 20000000000000000000000000000000), (1 / 50000000000000000000000000000000)⟩ ⟨(13575106757374623747264395272099 / 100000000000000000000000000000000), (1097996127 / 20000000000000000000000000000000)⟩ ⟨(-314169488136817510983487125336409 / 100000000000000000000000000000000), (1985233471 / 1562500000000000000000000000000)⟩ ⟨-5, 864190016534184083039605215301, 625000000000000000000000000000⟩]
26
lemma CB4_3_1I1PairCertificates_valid :
    CB4_3_1I1PairCertificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
28
def CB4_3_1I1PairCertificateIndex (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
37
def CB4_3_1I1PairP (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1PairCertificates (CB4_3_1I1PairCertificateIndex a)).input
39
lemma CB4_3_1I1PairP_check : ∀ a : PairSlot, contains (CB4_3_1I1PairRaw a) (CB4_3_1I1PairP a) = true := by
proof · 1 line
  decide +kernel
41
lemma CB4_3_1I1PairP_sound (a : PairSlot) :
    (CB4_3_1I1PairP a).Encloses (CB4_3_1I1PairValue a) :=
proof · 1 line
  contains_sound (CB4_3_1I1PairRaw_sound a) (CB4_3_1I1PairP_check a)
44
def CB4_3_1I1PairTerms (a : PairSlot) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1PairCertificates (CB4_3_1I1PairCertificateIndex a)).output
46
lemma CB4_3_1I1PairTerms_sound (a : PairSlot) :
    (CB4_3_1I1PairTerms a).Encloses (Foundation.entropyTerm (CB4_3_1I1PairValue a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1PairCertificates_valid
    (CB4_3_1I1PairCertificateIndex a) (CB4_3_1I1PairP_sound a)
50
def CB4_3_1I1PairEntropy : Ball := ⟨(27684897679285330046180207348117 / 25000000000000000000000000000000), (35913846749 / 50000000000000000000000000000000)⟩
51
lemma CB4_3_1I1PairEntropy_sound : CB4_3_1I1PairEntropy.Encloses (Foundation.finiteEntropy CB4_3_1I1PairValue) := by
proof · 1 line
  exact contains_sound (entropyPair_enclosed CB4_3_1I1PairValue CB4_3_1I1PairTerms CB4_3_1I1PairTerms_sound) (by decide +kernel)
53
def CB4_3_1I1PairMass : Ball := ⟨(50000000000000000000000000000001 / 50000000000000000000000000000000), (1 / 1562500000000000000000000000000)⟩
54
lemma CB4_3_1I1PairMass_sound : CB4_3_1I1PairMass.Encloses (∑ a, CB4_3_1I1PairValue a) := by
proof · 1 line
  exact contains_sound (pairSumBall_sound CB4_3_1I1PairP CB4_3_1I1PairValue CB4_3_1I1PairP_sound) (by decide +kernel)
56
def CB4_3_1I1PairMassTermLogWitness : LogWitness := ⟨0, 50000000000000000000000000000001, 50000000000000000000000000000000⟩
57
def CB4_3_1I1PairMassTermLog : Ball := ⟨(1 / 50000000000000000000000000000000), (10587911873 / 50000000000000000000000000000000)⟩
58
lemma CB4_3_1I1PairMassTermLog_sound : CB4_3_1I1PairMassTermLog.Encloses (Real.log ((∑ a, CB4_3_1I1PairValue a))) := by
proof · 3 lines
  exact checkLog_sound logTwoBall_sound (CB4_3_1I1PairMass_sound) (w := CB4_3_1I1PairMassTermLogWitness) (by
    simp only [checkLog, Bool.and_eq_true]
    exact ⟨by decide +kernel, by decide +kernel⟩)
62
def CB4_3_1I1PairMassTerm : Ball := ⟨(-1 / 50000000000000000000000000000000), (21175823747 / 100000000000000000000000000000000)⟩
63
lemma CB4_3_1I1PairMassTerm_sound : CB4_3_1I1PairMassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1PairValue a))) := by
proof · 1 line
  exact contains_sound (entropyTerm_ball (CB4_3_1I1PairMass_sound) CB4_3_1I1PairMassTermLog_sound) (by decide +kernel)
65
def CB4_3_1I1PairH : Ball := ⟨(11073959071714132018472082939247 / 10000000000000000000000000000000), (18600703449 / 20000000000000000000000000000000)⟩
66
lemma CB4_3_1I1PairH_sound : CB4_3_1I1PairH.Encloses (homogeneousEntropy CB4_3_1I1PairValue) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1PairValue CB4_3_1I1PairMassTerm_sound CB4_3_1I1PairEntropy_sound) (by decide +kernel)
86
def CB4_3_1I1R0Value (a : Fin 6) : ℝ := residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) 0 a
87
def CB4_3_1I1R0Raw (a : Fin 6) : Ball := residualBall (below (shape 4 3 1)) B4_3_1Law (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) 0 a
88
lemma CB4_3_1I1R0Raw_sound (a : Fin 6) :
    (CB4_3_1I1R0Raw a).Encloses (CB4_3_1I1R0Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) 0 a
91
def CB4_3_1I1R0Certificates : List CompactCertificate.EntropyDatum :=
body · 2 lines
  [.zero,
   .log ⟨(663549549127581616184973285819 / 50000000000000000000000000000000), (3 / 50000000000000000000000000000000)⟩ ⟨(1147190843975657773974584037547 / 20000000000000000000000000000000), (1124096677 / 50000000000000000000000000000000)⟩ ⟨(-216108737750623834291693366203169 / 50000000000000000000000000000000), (42351647479 / 25000000000000000000000000000000)⟩ ⟨-7, 663549549127581616184973285819, 390625000000000000000000000000⟩]
94
lemma CB4_3_1I1R0Certificates_valid :
    CB4_3_1I1R0Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
96
def CB4_3_1I1R0CertificateIndex (a : Fin 6) : ℕ :=
body · 3 lines
  match a.val with
  | 0 => 1
  | _ => 0
100
def CB4_3_1I1R0P (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R0Certificates (CB4_3_1I1R0CertificateIndex a)).input
102
lemma CB4_3_1I1R0P_check : ∀ a : Fin 6, contains (CB4_3_1I1R0Raw a) (CB4_3_1I1R0P a) = true := by
proof · 1 line
  decide +kernel
104
lemma CB4_3_1I1R0P_sound (a : Fin 6) :
    (CB4_3_1I1R0P a).Encloses (CB4_3_1I1R0Value a) :=
proof · 1 line
  contains_sound (CB4_3_1I1R0Raw_sound a) (CB4_3_1I1R0P_check a)
107
def CB4_3_1I1R0Terms (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R0Certificates (CB4_3_1I1R0CertificateIndex a)).output
109
lemma CB4_3_1I1R0Terms_sound (a : Fin 6) :
    (CB4_3_1I1R0Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1R0Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1R0Certificates_valid
    (CB4_3_1I1R0CertificateIndex a) (CB4_3_1I1R0P_sound a)
113
def CB4_3_1I1R0Entropy : Ball := ⟨(1147190843975657773974584037547 / 20000000000000000000000000000000), (1124096677 / 50000000000000000000000000000000)⟩
114
lemma CB4_3_1I1R0Entropy_sound : CB4_3_1I1R0Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1R0Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1R0Value CB4_3_1I1R0Terms CB4_3_1I1R0Terms_sound) (by decide +kernel)
116
def CB4_3_1I1R0Mass : Ball := ⟨(663549549127581616184973285819 / 50000000000000000000000000000000), (3 / 50000000000000000000000000000000)⟩
117
lemma CB4_3_1I1R0Mass_sound : CB4_3_1I1R0Mass.Encloses (∑ a, CB4_3_1I1R0Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 CB4_3_1I1R0P CB4_3_1I1R0Value CB4_3_1I1R0P_sound) (by decide +kernel)
119
def CB4_3_1I1R0MassTermLogWitness : LogWitness := ⟨-7, 663549549127581616184973285819, 390625000000000000000000000000⟩
120
def CB4_3_1I1R0MassTermLog : Ball := ⟨(-216108737750623834291693366203169 / 50000000000000000000000000000000), (42351647479 / 25000000000000000000000000000000)⟩
121
lemma CB4_3_1I1R0MassTermLog_sound : CB4_3_1I1R0MassTermLog.Encloses (Real.log ((∑ a, CB4_3_1I1R0Value a))) := by
proof · 3 lines
  exact checkLog_sound logTwoBall_sound (CB4_3_1I1R0Mass_sound) (w := CB4_3_1I1R0MassTermLogWitness) (by
    simp only [checkLog, Bool.and_eq_true]
    exact ⟨by decide +kernel, by decide +kernel⟩)
125
def CB4_3_1I1R0MassTerm : Ball := ⟨(1147190843975657773974584037547 / 20000000000000000000000000000000), (1124096677 / 50000000000000000000000000000000)⟩
126
lemma CB4_3_1I1R0MassTerm_sound : CB4_3_1I1R0MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1R0Value a))) := by
proof · 1 line
  exact contains_sound (entropyTerm_ball (CB4_3_1I1R0Mass_sound) CB4_3_1I1R0MassTermLog_sound) (by decide +kernel)
128
def CB4_3_1I1R0H : Ball := ⟨0, (1124096677 / 25000000000000000000000000000000)⟩
129
lemma CB4_3_1I1R0H_sound : CB4_3_1I1R0H.Encloses (homogeneousEntropy CB4_3_1I1R0Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1R0Value CB4_3_1I1R0MassTerm_sound CB4_3_1I1R0Entropy_sound) (by decide +kernel)
131
def CB4_3_1I1R1Value (a : Fin 6) : ℝ := residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) 1 a
132
def CB4_3_1I1R1Raw (a : Fin 6) : Ball := residualBall (below (shape 4 3 1)) B4_3_1Law (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) 1 a
133
lemma CB4_3_1I1R1Raw_sound (a : Fin 6) :
    (CB4_3_1I1R1Raw a).Encloses (CB4_3_1I1R1Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) 1 a
136
def CB4_3_1I1R1Certificates : List CompactCertificate.EntropyDatum :=
body · 2 lines
  [.zero,
   .log ⟨(48672900901744836767630053428363 / 100000000000000000000000000000000), (1 / 4000000000000000000000000000000)⟩ ⟨(273803228812459785691571806703 / 781250000000000000000000000000), (966270721 / 3125000000000000000000000000000)⟩ ⟨(-3600238802156385008240902157601 / 5000000000000000000000000000000), (635274711 / 1000000000000000000000000000000)⟩ ⟨-2, 48672900901744836767630053428363, 25000000000000000000000000000000⟩]
139
lemma CB4_3_1I1R1Certificates_valid :
    CB4_3_1I1R1Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
141
def CB4_3_1I1R1CertificateIndex (a : Fin 6) : ℕ :=
body · 3 lines
  match a.val with
  | 1 => 1
  | _ => 0
145
def CB4_3_1I1R1P (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R1Certificates (CB4_3_1I1R1CertificateIndex a)).input
147
lemma CB4_3_1I1R1P_check : ∀ a : Fin 6, contains (CB4_3_1I1R1Raw a) (CB4_3_1I1R1P a) = true := by
proof · 1 line
  decide +kernel
149
lemma CB4_3_1I1R1P_sound (a : Fin 6) :
    (CB4_3_1I1R1P a).Encloses (CB4_3_1I1R1Value a) :=
proof · 1 line
  contains_sound (CB4_3_1I1R1Raw_sound a) (CB4_3_1I1R1P_check a)
152
def CB4_3_1I1R1Terms (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R1Certificates (CB4_3_1I1R1CertificateIndex a)).output
154
lemma CB4_3_1I1R1Terms_sound (a : Fin 6) :
    (CB4_3_1I1R1Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1R1Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1R1Certificates_valid
    (CB4_3_1I1R1CertificateIndex a) (CB4_3_1I1R1P_sound a)
158
def CB4_3_1I1R1Entropy : Ball := ⟨(273803228812459785691571806703 / 781250000000000000000000000000), (966270721 / 3125000000000000000000000000000)⟩
159
lemma CB4_3_1I1R1Entropy_sound : CB4_3_1I1R1Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1R1Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1R1Value CB4_3_1I1R1Terms CB4_3_1I1R1Terms_sound) (by decide +kernel)
161
def CB4_3_1I1R1Mass : Ball := ⟨(48672900901744836767630053428363 / 100000000000000000000000000000000), (1 / 4000000000000000000000000000000)⟩
162
lemma CB4_3_1I1R1Mass_sound : CB4_3_1I1R1Mass.Encloses (∑ a, CB4_3_1I1R1Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 CB4_3_1I1R1P CB4_3_1I1R1Value CB4_3_1I1R1P_sound) (by decide +kernel)
164
def CB4_3_1I1R1MassTermLogWitness : LogWitness := ⟨-2, 48672900901744836767630053428363, 25000000000000000000000000000000⟩
165
def CB4_3_1I1R1MassTermLog : Ball := ⟨(-3600238802156385008240902157601 / 5000000000000000000000000000000), (635274711 / 1000000000000000000000000000000)⟩
166
lemma CB4_3_1I1R1MassTermLog_sound : CB4_3_1I1R1MassTermLog.Encloses (Real.log ((∑ a, CB4_3_1I1R1Value a))) := by
proof · 3 lines
  exact checkLog_sound logTwoBall_sound (CB4_3_1I1R1Mass_sound) (w := CB4_3_1I1R1MassTermLogWitness) (by
    simp only [checkLog, Bool.and_eq_true]
    exact ⟨by decide +kernel, by decide +kernel⟩)
170
def CB4_3_1I1R1MassTerm : Ball := ⟨(273803228812459785691571806703 / 781250000000000000000000000000), (966270721 / 3125000000000000000000000000000)⟩
171
lemma CB4_3_1I1R1MassTerm_sound : CB4_3_1I1R1MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1R1Value a))) := by
proof · 1 line
  exact contains_sound (entropyTerm_ball (CB4_3_1I1R1Mass_sound) CB4_3_1I1R1MassTermLog_sound) (by decide +kernel)
173
def CB4_3_1I1R1H : Ball := ⟨0, (966270721 / 1562500000000000000000000000000)⟩
174
lemma CB4_3_1I1R1H_sound : CB4_3_1I1R1H.Encloses (homogeneousEntropy CB4_3_1I1R1Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1R1Value CB4_3_1I1R1MassTerm_sound CB4_3_1I1R1Entropy_sound) (by decide +kernel)
176
def CB4_3_1I1R2Value (a : Fin 6) : ℝ := residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) 2 a
177
def CB4_3_1I1R2Raw (a : Fin 6) : Ball := residualBall (below (shape 4 3 1)) B4_3_1Law (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) 2 a
178
lemma CB4_3_1I1R2Raw_sound (a : Fin 6) :
    (CB4_3_1I1R2Raw a).Encloses (CB4_3_1I1R2Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) 2 a
181
def CB4_3_1I1R2Certificates : List CompactCertificate.EntropyDatum :=
body · 3 lines
  [.zero,
   .log ⟨(22175975409536958176216013675929 / 50000000000000000000000000000000), (3 / 12500000000000000000000000000000)⟩ ⟨(90146835953294368688057748091 / 250000000000000000000000000000), (704391819 / 2500000000000000000000000000000)⟩ ⟨(-2540667160308030643941501584461 / 3125000000000000000000000000000), (63527471103 / 100000000000000000000000000000000)⟩ ⟨-2, 22175975409536958176216013675929, 12500000000000000000000000000000⟩,
   .log ⟨(864190016534184083039605215301 / 20000000000000000000000000000000), (1 / 50000000000000000000000000000000)⟩ ⟨(13575106757374623747264395272099 / 100000000000000000000000000000000), (1097996127 / 20000000000000000000000000000000)⟩ ⟨(-314169488136817510983487125336409 / 100000000000000000000000000000000), (1985233471 / 1562500000000000000000000000000)⟩ ⟨-5, 864190016534184083039605215301, 625000000000000000000000000000⟩]
185
lemma CB4_3_1I1R2Certificates_valid :
    CB4_3_1I1R2Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
187
def CB4_3_1I1R2CertificateIndex (a : Fin 6) : ℕ :=
body · 4 lines
  match a.val with
  | 2 => 1
  | 3 => 2
  | _ => 0
192
def CB4_3_1I1R2P (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R2Certificates (CB4_3_1I1R2CertificateIndex a)).input
194
lemma CB4_3_1I1R2P_check : ∀ a : Fin 6, contains (CB4_3_1I1R2Raw a) (CB4_3_1I1R2P a) = true := by
proof · 1 line
  decide +kernel
196
lemma CB4_3_1I1R2P_sound (a : Fin 6) :
    (CB4_3_1I1R2P a).Encloses (CB4_3_1I1R2Value a) :=
proof · 1 line
  contains_sound (CB4_3_1I1R2Raw_sound a) (CB4_3_1I1R2P_check a)
199
def CB4_3_1I1R2Terms (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R2Certificates (CB4_3_1I1R2CertificateIndex a)).output
201
lemma CB4_3_1I1R2Terms_sound (a : Fin 6) :
    (CB4_3_1I1R2Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1R2Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1R2Certificates_valid
    (CB4_3_1I1R2CertificateIndex a) (CB4_3_1I1R2P_sound a)
205
def CB4_3_1I1R2Entropy : Ball := ⟨(49633841138692371222487494508499 / 100000000000000000000000000000000), (6733130679 / 20000000000000000000000000000000)⟩
206
lemma CB4_3_1I1R2Entropy_sound : CB4_3_1I1R2Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1R2Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1R2Value CB4_3_1I1R2Terms CB4_3_1I1R2Terms_sound) (by decide +kernel)
208
def CB4_3_1I1R2Mass : Ball := ⟨(48672900901744836767630053428363 / 100000000000000000000000000000000), (13 / 50000000000000000000000000000000)⟩
209
lemma CB4_3_1I1R2Mass_sound : CB4_3_1I1R2Mass.Encloses (∑ a, CB4_3_1I1R2Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 CB4_3_1I1R2P CB4_3_1I1R2Value CB4_3_1I1R2P_sound) (by decide +kernel)
211
def CB4_3_1I1R2MassTermLogWitness : LogWitness := ⟨-2, 48672900901744836767630053428363, 25000000000000000000000000000000⟩
212
def CB4_3_1I1R2MassTermLog : Ball := ⟨(-3600238802156385008240902157601 / 5000000000000000000000000000000), (31763735551 / 50000000000000000000000000000000)⟩
213
lemma CB4_3_1I1R2MassTermLog_sound : CB4_3_1I1R2MassTermLog.Encloses (Real.log ((∑ a, CB4_3_1I1R2Value a))) := by
proof · 3 lines
  exact checkLog_sound logTwoBall_sound (CB4_3_1I1R2Mass_sound) (w := CB4_3_1I1R2MassTermLogWitness) (by
    simp only [checkLog, Bool.and_eq_true]
    exact ⟨by decide +kernel, by decide +kernel⟩)
217
def CB4_3_1I1R2MassTerm : Ball := ⟨(273803228812459785691571806703 / 781250000000000000000000000000), (15460331537 / 50000000000000000000000000000000)⟩
218
lemma CB4_3_1I1R2MassTerm_sound : CB4_3_1I1R2MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1R2Value a))) := by
proof · 1 line
  exact contains_sound (entropyTerm_ball (CB4_3_1I1R2Mass_sound) CB4_3_1I1R2MassTermLog_sound) (by decide +kernel)
220
def CB4_3_1I1R2H : Ball := ⟨(2917405570139503730793260650103 / 20000000000000000000000000000000), (64586316469 / 100000000000000000000000000000000)⟩
221
lemma CB4_3_1I1R2H_sound : CB4_3_1I1R2H.Encloses (homogeneousEntropy CB4_3_1I1R2Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1R2Value CB4_3_1I1R2MassTerm_sound CB4_3_1I1R2Entropy_sound) (by decide +kernel)
223
def CB4_3_1I1R3Value (a : Fin 6) : ℝ := residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) 3 a
224
def CB4_3_1I1R3Raw (a : Fin 6) : Ball := residualBall (below (shape 4 3 1)) B4_3_1Law (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) 3 a
225
lemma CB4_3_1I1R3Raw_sound (a : Fin 6) :
    (CB4_3_1I1R3Raw a).Encloses (CB4_3_1I1R3Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) 3 a
228
def CB4_3_1I1R3Certificates : List CompactCertificate.EntropyDatum :=
body · 2 lines
  [.zero,
   .log ⟨(1293653321378517322144444232489 / 100000000000000000000000000000000), (1 / 20000000000000000000000000000000)⟩ ⟨(5624416465391076871446041112211 / 100000000000000000000000000000000), (2191533999 / 100000000000000000000000000000000)⟩ ⟨(-434769993818567805721764350077799 / 100000000000000000000000000000000), (3388131797 / 2000000000000000000000000000000)⟩ ⟨-7, 1293653321378517322144444232489, 781250000000000000000000000000⟩]
231
lemma CB4_3_1I1R3Certificates_valid :
    CB4_3_1I1R3Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
233
def CB4_3_1I1R3CertificateIndex (a : Fin 6) : ℕ :=
body · 3 lines
  match a.val with
  | 4 => 1
  | _ => 0
237
def CB4_3_1I1R3P (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R3Certificates (CB4_3_1I1R3CertificateIndex a)).input
239
lemma CB4_3_1I1R3P_check : ∀ a : Fin 6, contains (CB4_3_1I1R3Raw a) (CB4_3_1I1R3P a) = true := by
proof · 1 line
  decide +kernel
241
lemma CB4_3_1I1R3P_sound (a : Fin 6) :
    (CB4_3_1I1R3P a).Encloses (CB4_3_1I1R3Value a) :=
proof · 1 line
  contains_sound (CB4_3_1I1R3Raw_sound a) (CB4_3_1I1R3P_check a)
244
def CB4_3_1I1R3Terms (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R3Certificates (CB4_3_1I1R3CertificateIndex a)).output
246
lemma CB4_3_1I1R3Terms_sound (a : Fin 6) :
    (CB4_3_1I1R3Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1R3Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1R3Certificates_valid
    (CB4_3_1I1R3CertificateIndex a) (CB4_3_1I1R3P_sound a)
250
def CB4_3_1I1R3Entropy : Ball := ⟨(5624416465391076871446041112211 / 100000000000000000000000000000000), (2191533999 / 100000000000000000000000000000000)⟩
251
lemma CB4_3_1I1R3Entropy_sound : CB4_3_1I1R3Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1R3Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1R3Value CB4_3_1I1R3Terms CB4_3_1I1R3Terms_sound) (by decide +kernel)
253
def CB4_3_1I1R3Mass : Ball := ⟨(1293653321378517322144444232489 / 100000000000000000000000000000000), (1 / 20000000000000000000000000000000)⟩
254
lemma CB4_3_1I1R3Mass_sound : CB4_3_1I1R3Mass.Encloses (∑ a, CB4_3_1I1R3Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 CB4_3_1I1R3P CB4_3_1I1R3Value CB4_3_1I1R3P_sound) (by decide +kernel)
256
def CB4_3_1I1R3MassTermLogWitness : LogWitness := ⟨-7, 1293653321378517322144444232489, 781250000000000000000000000000⟩
257
def CB4_3_1I1R3MassTermLog : Ball := ⟨(-434769993818567805721764350077799 / 100000000000000000000000000000000), (3388131797 / 2000000000000000000000000000000)⟩
258
lemma CB4_3_1I1R3MassTermLog_sound : CB4_3_1I1R3MassTermLog.Encloses (Real.log ((∑ a, CB4_3_1I1R3Value a))) := by
proof · 3 lines
  exact checkLog_sound logTwoBall_sound (CB4_3_1I1R3Mass_sound) (w := CB4_3_1I1R3MassTermLogWitness) (by
    simp only [checkLog, Bool.and_eq_true]
    exact ⟨by decide +kernel, by decide +kernel⟩)
262
def CB4_3_1I1R3MassTerm : Ball := ⟨(5624416465391076871446041112211 / 100000000000000000000000000000000), (2191533999 / 100000000000000000000000000000000)⟩
263
lemma CB4_3_1I1R3MassTerm_sound : CB4_3_1I1R3MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1R3Value a))) := by
proof · 1 line
  exact contains_sound (entropyTerm_ball (CB4_3_1I1R3Mass_sound) CB4_3_1I1R3MassTermLog_sound) (by decide +kernel)
265
def CB4_3_1I1R3H : Ball := ⟨0, (2191533999 / 50000000000000000000000000000000)⟩
266
lemma CB4_3_1I1R3H_sound : CB4_3_1I1R3H.Encloses (homogeneousEntropy CB4_3_1I1R3Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1R3Value CB4_3_1I1R3MassTerm_sound CB4_3_1I1R3Entropy_sound) (by decide +kernel)
268
def CB4_3_1I1R4Value (a : Fin 6) : ℝ := residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) 4 a
269
def CB4_3_1I1R4Raw (a : Fin 6) : Ball := residualBall (below (shape 4 3 1)) B4_3_1Law (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) 4 a
270
lemma CB4_3_1I1R4Raw_sound (a : Fin 6) :
    (CB4_3_1I1R4Raw a).Encloses (CB4_3_1I1R4Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) 4 a
273
def CB4_3_1I1R4Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
275
lemma CB4_3_1I1R4Certificates_valid :
    CB4_3_1I1R4Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
277
def CB4_3_1I1R4CertificateIndex (a : Fin 6) : ℕ :=
body · 2 lines
  match a.val with
  | _ => 0
280
def CB4_3_1I1R4P (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R4Certificates (CB4_3_1I1R4CertificateIndex a)).input
282
lemma CB4_3_1I1R4P_check : ∀ a : Fin 6, contains (CB4_3_1I1R4Raw a) (CB4_3_1I1R4P a) = true := by
proof · 1 line
  decide +kernel
284
lemma CB4_3_1I1R4P_sound (a : Fin 6) :
    (CB4_3_1I1R4P a).Encloses (CB4_3_1I1R4Value a) :=
proof · 1 line
  contains_sound (CB4_3_1I1R4Raw_sound a) (CB4_3_1I1R4P_check a)
287
def CB4_3_1I1R4Terms (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R4Certificates (CB4_3_1I1R4CertificateIndex a)).output
289
lemma CB4_3_1I1R4Terms_sound (a : Fin 6) :
    (CB4_3_1I1R4Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1R4Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1R4Certificates_valid
    (CB4_3_1I1R4CertificateIndex a) (CB4_3_1I1R4P_sound a)
293
def CB4_3_1I1R4Entropy : Ball := ⟨0, 0⟩
294
lemma CB4_3_1I1R4Entropy_sound : CB4_3_1I1R4Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1R4Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1R4Value CB4_3_1I1R4Terms CB4_3_1I1R4Terms_sound) (by decide +kernel)
296
def CB4_3_1I1R4Mass : Ball := ⟨0, 0⟩
297
lemma CB4_3_1I1R4Mass_sound : CB4_3_1I1R4Mass.Encloses (∑ a, CB4_3_1I1R4Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 CB4_3_1I1R4P CB4_3_1I1R4Value CB4_3_1I1R4P_sound) (by decide +kernel)
299
def CB4_3_1I1R4MassTerm : Ball := .exact 0
300
lemma CB4_3_1I1R4MassTerm_sound : CB4_3_1I1R4MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1R4Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CB4_3_1I1R4Mass_sound)
302
def CB4_3_1I1R4H : Ball := ⟨0, 0⟩
303
lemma CB4_3_1I1R4H_sound : CB4_3_1I1R4H.Encloses (homogeneousEntropy CB4_3_1I1R4Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1R4Value CB4_3_1I1R4MassTerm_sound CB4_3_1I1R4Entropy_sound) (by decide +kernel)
305
def CB4_3_1I1R5Value (a : Fin 6) : ℝ := residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) 5 a
306
def CB4_3_1I1R5Raw (a : Fin 6) : Ball := residualBall (below (shape 4 3 1)) B4_3_1Law (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) 5 a
307
lemma CB4_3_1I1R5Raw_sound (a : Fin 6) :
    (CB4_3_1I1R5Raw a).Encloses (CB4_3_1I1R5Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) 5 a
310
def CB4_3_1I1R5Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
312
lemma CB4_3_1I1R5Certificates_valid :
    CB4_3_1I1R5Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
314
def CB4_3_1I1R5CertificateIndex (a : Fin 6) : ℕ :=
body · 2 lines
  match a.val with
  | _ => 0
317
def CB4_3_1I1R5P (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R5Certificates (CB4_3_1I1R5CertificateIndex a)).input
319
lemma CB4_3_1I1R5P_check : ∀ a : Fin 6, contains (CB4_3_1I1R5Raw a) (CB4_3_1I1R5P a) = true := by
proof · 1 line
  decide +kernel
321
lemma CB4_3_1I1R5P_sound (a : Fin 6) :
    (CB4_3_1I1R5P a).Encloses (CB4_3_1I1R5Value a) :=
proof · 1 line
  contains_sound (CB4_3_1I1R5Raw_sound a) (CB4_3_1I1R5P_check a)
324
def CB4_3_1I1R5Terms (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R5Certificates (CB4_3_1I1R5CertificateIndex a)).output
326
lemma CB4_3_1I1R5Terms_sound (a : Fin 6) :
    (CB4_3_1I1R5Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1R5Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1R5Certificates_valid
    (CB4_3_1I1R5CertificateIndex a) (CB4_3_1I1R5P_sound a)
330
def CB4_3_1I1R5Entropy : Ball := ⟨0, 0⟩
331
lemma CB4_3_1I1R5Entropy_sound : CB4_3_1I1R5Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1R5Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1R5Value CB4_3_1I1R5Terms CB4_3_1I1R5Terms_sound) (by decide +kernel)
333
def CB4_3_1I1R5Mass : Ball := ⟨0, 0⟩
334
lemma CB4_3_1I1R5Mass_sound : CB4_3_1I1R5Mass.Encloses (∑ a, CB4_3_1I1R5Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 CB4_3_1I1R5P CB4_3_1I1R5Value CB4_3_1I1R5P_sound) (by decide +kernel)
336
def CB4_3_1I1R5MassTerm : Ball := .exact 0
337
lemma CB4_3_1I1R5MassTerm_sound : CB4_3_1I1R5MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1R5Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CB4_3_1I1R5Mass_sound)
339
def CB4_3_1I1R5H : Ball := ⟨0, 0⟩
340
lemma CB4_3_1I1R5H_sound : CB4_3_1I1R5H.Encloses (homogeneousEntropy CB4_3_1I1R5Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1R5Value CB4_3_1I1R5MassTerm_sound CB4_3_1I1R5Entropy_sound) (by decide +kernel)
342
def CB4_3_1I1R6Value (a : Fin 6) : ℝ := residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) 6 a
343
def CB4_3_1I1R6Raw (a : Fin 6) : Ball := residualBall (below (shape 4 3 1)) B4_3_1Law (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) 6 a
344
lemma CB4_3_1I1R6Raw_sound (a : Fin 6) :
    (CB4_3_1I1R6Raw a).Encloses (CB4_3_1I1R6Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) 6 a
347
def CB4_3_1I1R6Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
349
lemma CB4_3_1I1R6Certificates_valid :
    CB4_3_1I1R6Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
351
def CB4_3_1I1R6CertificateIndex (a : Fin 6) : ℕ :=
body · 2 lines
  match a.val with
  | _ => 0
354
def CB4_3_1I1R6P (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R6Certificates (CB4_3_1I1R6CertificateIndex a)).input
356
lemma CB4_3_1I1R6P_check : ∀ a : Fin 6, contains (CB4_3_1I1R6Raw a) (CB4_3_1I1R6P a) = true := by
proof · 1 line
  decide +kernel
358
lemma CB4_3_1I1R6P_sound (a : Fin 6) :
    (CB4_3_1I1R6P a).Encloses (CB4_3_1I1R6Value a) :=
proof · 1 line
  contains_sound (CB4_3_1I1R6Raw_sound a) (CB4_3_1I1R6P_check a)
361
def CB4_3_1I1R6Terms (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R6Certificates (CB4_3_1I1R6CertificateIndex a)).output
363
lemma CB4_3_1I1R6Terms_sound (a : Fin 6) :
    (CB4_3_1I1R6Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1R6Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1R6Certificates_valid
    (CB4_3_1I1R6CertificateIndex a) (CB4_3_1I1R6P_sound a)
367
def CB4_3_1I1R6Entropy : Ball := ⟨0, 0⟩
368
lemma CB4_3_1I1R6Entropy_sound : CB4_3_1I1R6Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1R6Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1R6Value CB4_3_1I1R6Terms CB4_3_1I1R6Terms_sound) (by decide +kernel)
370
def CB4_3_1I1R6Mass : Ball := ⟨0, 0⟩
371
lemma CB4_3_1I1R6Mass_sound : CB4_3_1I1R6Mass.Encloses (∑ a, CB4_3_1I1R6Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 CB4_3_1I1R6P CB4_3_1I1R6Value CB4_3_1I1R6P_sound) (by decide +kernel)
373
def CB4_3_1I1R6MassTerm : Ball := .exact 0
374
lemma CB4_3_1I1R6MassTerm_sound : CB4_3_1I1R6MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1R6Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CB4_3_1I1R6Mass_sound)
376
def CB4_3_1I1R6H : Ball := ⟨0, 0⟩
377
lemma CB4_3_1I1R6H_sound : CB4_3_1I1R6H.Encloses (homogeneousEntropy CB4_3_1I1R6Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1R6Value CB4_3_1I1R6MassTerm_sound CB4_3_1I1R6Entropy_sound) (by decide +kernel)
379
def CB4_3_1I1R7Value (a : Fin 6) : ℝ := residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) 7 a
380
def CB4_3_1I1R7Raw (a : Fin 6) : Ball := residualBall (below (shape 4 3 1)) B4_3_1Law (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) 7 a
381
lemma CB4_3_1I1R7Raw_sound (a : Fin 6) :
    (CB4_3_1I1R7Raw a).Encloses (CB4_3_1I1R7Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) 7 a
384
def CB4_3_1I1R7Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
386
lemma CB4_3_1I1R7Certificates_valid :
    CB4_3_1I1R7Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
388
def CB4_3_1I1R7CertificateIndex (a : Fin 6) : ℕ :=
body · 2 lines
  match a.val with
  | _ => 0
391
def CB4_3_1I1R7P (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R7Certificates (CB4_3_1I1R7CertificateIndex a)).input
393
lemma CB4_3_1I1R7P_check : ∀ a : Fin 6, contains (CB4_3_1I1R7Raw a) (CB4_3_1I1R7P a) = true := by
proof · 1 line
  decide +kernel
395
lemma CB4_3_1I1R7P_sound (a : Fin 6) :
    (CB4_3_1I1R7P a).Encloses (CB4_3_1I1R7Value a) :=
proof · 1 line
  contains_sound (CB4_3_1I1R7Raw_sound a) (CB4_3_1I1R7P_check a)
398
def CB4_3_1I1R7Terms (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R7Certificates (CB4_3_1I1R7CertificateIndex a)).output
400
lemma CB4_3_1I1R7Terms_sound (a : Fin 6) :
    (CB4_3_1I1R7Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1R7Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1R7Certificates_valid
    (CB4_3_1I1R7CertificateIndex a) (CB4_3_1I1R7P_sound a)
404
def CB4_3_1I1R7Entropy : Ball := ⟨0, 0⟩
405
lemma CB4_3_1I1R7Entropy_sound : CB4_3_1I1R7Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1R7Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1R7Value CB4_3_1I1R7Terms CB4_3_1I1R7Terms_sound) (by decide +kernel)
407
def CB4_3_1I1R7Mass : Ball := ⟨0, 0⟩
408
lemma CB4_3_1I1R7Mass_sound : CB4_3_1I1R7Mass.Encloses (∑ a, CB4_3_1I1R7Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 CB4_3_1I1R7P CB4_3_1I1R7Value CB4_3_1I1R7P_sound) (by decide +kernel)
410
def CB4_3_1I1R7MassTerm : Ball := .exact 0
411
lemma CB4_3_1I1R7MassTerm_sound : CB4_3_1I1R7MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1R7Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CB4_3_1I1R7Mass_sound)
413
def CB4_3_1I1R7H : Ball := ⟨0, 0⟩
414
lemma CB4_3_1I1R7H_sound : CB4_3_1I1R7H.Encloses (homogeneousEntropy CB4_3_1I1R7Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1R7Value CB4_3_1I1R7MassTerm_sound CB4_3_1I1R7Entropy_sound) (by decide +kernel)
416
def CB4_3_1I1R8Value (a : Fin 6) : ℝ := residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) 8 a
417
def CB4_3_1I1R8Raw (a : Fin 6) : Ball := residualBall (below (shape 4 3 1)) B4_3_1Law (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) 8 a
418
lemma CB4_3_1I1R8Raw_sound (a : Fin 6) :
    (CB4_3_1I1R8Raw a).Encloses (CB4_3_1I1R8Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) 8 a
421
def CB4_3_1I1R8Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
423
lemma CB4_3_1I1R8Certificates_valid :
    CB4_3_1I1R8Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
425
def CB4_3_1I1R8CertificateIndex (a : Fin 6) : ℕ :=
body · 2 lines
  match a.val with
  | _ => 0
428
def CB4_3_1I1R8P (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R8Certificates (CB4_3_1I1R8CertificateIndex a)).input
430
lemma CB4_3_1I1R8P_check : ∀ a : Fin 6, contains (CB4_3_1I1R8Raw a) (CB4_3_1I1R8P a) = true := by
proof · 1 line
  decide +kernel
432
lemma CB4_3_1I1R8P_sound (a : Fin 6) :
    (CB4_3_1I1R8P a).Encloses (CB4_3_1I1R8Value a) :=
proof · 1 line
  contains_sound (CB4_3_1I1R8Raw_sound a) (CB4_3_1I1R8P_check a)
435
def CB4_3_1I1R8Terms (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R8Certificates (CB4_3_1I1R8CertificateIndex a)).output
437
lemma CB4_3_1I1R8Terms_sound (a : Fin 6) :
    (CB4_3_1I1R8Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1R8Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1R8Certificates_valid
    (CB4_3_1I1R8CertificateIndex a) (CB4_3_1I1R8P_sound a)
441
def CB4_3_1I1R8Entropy : Ball := ⟨0, 0⟩
442
lemma CB4_3_1I1R8Entropy_sound : CB4_3_1I1R8Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1R8Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1R8Value CB4_3_1I1R8Terms CB4_3_1I1R8Terms_sound) (by decide +kernel)
444
def CB4_3_1I1R8Mass : Ball := ⟨0, 0⟩
445
lemma CB4_3_1I1R8Mass_sound : CB4_3_1I1R8Mass.Encloses (∑ a, CB4_3_1I1R8Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 CB4_3_1I1R8P CB4_3_1I1R8Value CB4_3_1I1R8P_sound) (by decide +kernel)
447
def CB4_3_1I1R8MassTerm : Ball := .exact 0
448
lemma CB4_3_1I1R8MassTerm_sound : CB4_3_1I1R8MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1R8Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CB4_3_1I1R8Mass_sound)
450
def CB4_3_1I1R8H : Ball := ⟨0, 0⟩
451
lemma CB4_3_1I1R8H_sound : CB4_3_1I1R8H.Encloses (homogeneousEntropy CB4_3_1I1R8Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1R8Value CB4_3_1I1R8MassTerm_sound CB4_3_1I1R8Entropy_sound) (by decide +kernel)
453
def CB4_3_1I1R9Value (a : Fin 6) : ℝ := residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) 9 a
454
def CB4_3_1I1R9Raw (a : Fin 6) : Ball := residualBall (below (shape 4 3 1)) B4_3_1Law (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) 9 a
455
lemma CB4_3_1I1R9Raw_sound (a : Fin 6) :
    (CB4_3_1I1R9Raw a).Encloses (CB4_3_1I1R9Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) 9 a
458
def CB4_3_1I1R9Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
460
lemma CB4_3_1I1R9Certificates_valid :
    CB4_3_1I1R9Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
462
def CB4_3_1I1R9CertificateIndex (a : Fin 6) : ℕ :=
body · 2 lines
  match a.val with
  | _ => 0
465
def CB4_3_1I1R9P (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R9Certificates (CB4_3_1I1R9CertificateIndex a)).input
467
lemma CB4_3_1I1R9P_check : ∀ a : Fin 6, contains (CB4_3_1I1R9Raw a) (CB4_3_1I1R9P a) = true := by
proof · 1 line
  decide +kernel
469
lemma CB4_3_1I1R9P_sound (a : Fin 6) :
    (CB4_3_1I1R9P a).Encloses (CB4_3_1I1R9Value a) :=
proof · 1 line
  contains_sound (CB4_3_1I1R9Raw_sound a) (CB4_3_1I1R9P_check a)
472
def CB4_3_1I1R9Terms (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R9Certificates (CB4_3_1I1R9CertificateIndex a)).output
474
lemma CB4_3_1I1R9Terms_sound (a : Fin 6) :
    (CB4_3_1I1R9Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1R9Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1R9Certificates_valid
    (CB4_3_1I1R9CertificateIndex a) (CB4_3_1I1R9P_sound a)
478
def CB4_3_1I1R9Entropy : Ball := ⟨0, 0⟩
479
lemma CB4_3_1I1R9Entropy_sound : CB4_3_1I1R9Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1R9Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1R9Value CB4_3_1I1R9Terms CB4_3_1I1R9Terms_sound) (by decide +kernel)
481
def CB4_3_1I1R9Mass : Ball := ⟨0, 0⟩
482
lemma CB4_3_1I1R9Mass_sound : CB4_3_1I1R9Mass.Encloses (∑ a, CB4_3_1I1R9Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 CB4_3_1I1R9P CB4_3_1I1R9Value CB4_3_1I1R9P_sound) (by decide +kernel)
484
def CB4_3_1I1R9MassTerm : Ball := .exact 0
485
lemma CB4_3_1I1R9MassTerm_sound : CB4_3_1I1R9MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1R9Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CB4_3_1I1R9Mass_sound)
487
def CB4_3_1I1R9H : Ball := ⟨0, 0⟩
488
lemma CB4_3_1I1R9H_sound : CB4_3_1I1R9H.Encloses (homogeneousEntropy CB4_3_1I1R9Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1R9Value CB4_3_1I1R9MassTerm_sound CB4_3_1I1R9Entropy_sound) (by decide +kernel)
490
def CB4_3_1I1R10Value (a : Fin 6) : ℝ := residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) 10 a
491
def CB4_3_1I1R10Raw (a : Fin 6) : Ball := residualBall (below (shape 4 3 1)) B4_3_1Law (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) 10 a
492
lemma CB4_3_1I1R10Raw_sound (a : Fin 6) :
    (CB4_3_1I1R10Raw a).Encloses (CB4_3_1I1R10Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) 10 a
495
def CB4_3_1I1R10Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
497
lemma CB4_3_1I1R10Certificates_valid :
    CB4_3_1I1R10Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
499
def CB4_3_1I1R10CertificateIndex (a : Fin 6) : ℕ :=
body · 2 lines
  match a.val with
  | _ => 0
502
def CB4_3_1I1R10P (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R10Certificates (CB4_3_1I1R10CertificateIndex a)).input
504
lemma CB4_3_1I1R10P_check : ∀ a : Fin 6, contains (CB4_3_1I1R10Raw a) (CB4_3_1I1R10P a) = true := by
proof · 1 line
  decide +kernel
506
lemma CB4_3_1I1R10P_sound (a : Fin 6) :
    (CB4_3_1I1R10P a).Encloses (CB4_3_1I1R10Value a) :=
proof · 1 line
  contains_sound (CB4_3_1I1R10Raw_sound a) (CB4_3_1I1R10P_check a)
509
def CB4_3_1I1R10Terms (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R10Certificates (CB4_3_1I1R10CertificateIndex a)).output
511
lemma CB4_3_1I1R10Terms_sound (a : Fin 6) :
    (CB4_3_1I1R10Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1R10Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1R10Certificates_valid
    (CB4_3_1I1R10CertificateIndex a) (CB4_3_1I1R10P_sound a)
515
def CB4_3_1I1R10Entropy : Ball := ⟨0, 0⟩
516
lemma CB4_3_1I1R10Entropy_sound : CB4_3_1I1R10Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1R10Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1R10Value CB4_3_1I1R10Terms CB4_3_1I1R10Terms_sound) (by decide +kernel)
518
def CB4_3_1I1R10Mass : Ball := ⟨0, 0⟩
519
lemma CB4_3_1I1R10Mass_sound : CB4_3_1I1R10Mass.Encloses (∑ a, CB4_3_1I1R10Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 CB4_3_1I1R10P CB4_3_1I1R10Value CB4_3_1I1R10P_sound) (by decide +kernel)
521
def CB4_3_1I1R10MassTerm : Ball := .exact 0
522
lemma CB4_3_1I1R10MassTerm_sound : CB4_3_1I1R10MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1R10Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CB4_3_1I1R10Mass_sound)
524
def CB4_3_1I1R10H : Ball := ⟨0, 0⟩
525
lemma CB4_3_1I1R10H_sound : CB4_3_1I1R10H.Encloses (homogeneousEntropy CB4_3_1I1R10Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1R10Value CB4_3_1I1R10MassTerm_sound CB4_3_1I1R10Entropy_sound) (by decide +kernel)
527
def CB4_3_1I1R11Value (a : Fin 6) : ℝ := residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) 11 a
528
def CB4_3_1I1R11Raw (a : Fin 6) : Ball := residualBall (below (shape 4 3 1)) B4_3_1Law (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) 11 a
529
lemma CB4_3_1I1R11Raw_sound (a : Fin 6) :
    (CB4_3_1I1R11Raw a).Encloses (CB4_3_1I1R11Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) 11 a
532
def CB4_3_1I1R11Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
534
lemma CB4_3_1I1R11Certificates_valid :
    CB4_3_1I1R11Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
536
def CB4_3_1I1R11CertificateIndex (a : Fin 6) : ℕ :=
body · 2 lines
  match a.val with
  | _ => 0
539
def CB4_3_1I1R11P (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R11Certificates (CB4_3_1I1R11CertificateIndex a)).input
541
lemma CB4_3_1I1R11P_check : ∀ a : Fin 6, contains (CB4_3_1I1R11Raw a) (CB4_3_1I1R11P a) = true := by
proof · 1 line
  decide +kernel
543
lemma CB4_3_1I1R11P_sound (a : Fin 6) :
    (CB4_3_1I1R11P a).Encloses (CB4_3_1I1R11Value a) :=
proof · 1 line
  contains_sound (CB4_3_1I1R11Raw_sound a) (CB4_3_1I1R11P_check a)
546
def CB4_3_1I1R11Terms (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R11Certificates (CB4_3_1I1R11CertificateIndex a)).output
548
lemma CB4_3_1I1R11Terms_sound (a : Fin 6) :
    (CB4_3_1I1R11Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1R11Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1R11Certificates_valid
    (CB4_3_1I1R11CertificateIndex a) (CB4_3_1I1R11P_sound a)
552
def CB4_3_1I1R11Entropy : Ball := ⟨0, 0⟩
553
lemma CB4_3_1I1R11Entropy_sound : CB4_3_1I1R11Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1R11Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1R11Value CB4_3_1I1R11Terms CB4_3_1I1R11Terms_sound) (by decide +kernel)
555
def CB4_3_1I1R11Mass : Ball := ⟨0, 0⟩
556
lemma CB4_3_1I1R11Mass_sound : CB4_3_1I1R11Mass.Encloses (∑ a, CB4_3_1I1R11Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 CB4_3_1I1R11P CB4_3_1I1R11Value CB4_3_1I1R11P_sound) (by decide +kernel)
558
def CB4_3_1I1R11MassTerm : Ball := .exact 0
559
lemma CB4_3_1I1R11MassTerm_sound : CB4_3_1I1R11MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1R11Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CB4_3_1I1R11Mass_sound)
561
def CB4_3_1I1R11H : Ball := ⟨0, 0⟩
562
lemma CB4_3_1I1R11H_sound : CB4_3_1I1R11H.Encloses (homogeneousEntropy CB4_3_1I1R11Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1R11Value CB4_3_1I1R11MassTerm_sound CB4_3_1I1R11Entropy_sound) (by decide +kernel)
564
def CB4_3_1I1R12Value (a : Fin 6) : ℝ := residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) 12 a
565
def CB4_3_1I1R12Raw (a : Fin 6) : Ball := residualBall (below (shape 4 3 1)) B4_3_1Law (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) 12 a
566
lemma CB4_3_1I1R12Raw_sound (a : Fin 6) :
    (CB4_3_1I1R12Raw a).Encloses (CB4_3_1I1R12Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) 12 a
569
def CB4_3_1I1R12Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
571
lemma CB4_3_1I1R12Certificates_valid :
    CB4_3_1I1R12Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
573
def CB4_3_1I1R12CertificateIndex (a : Fin 6) : ℕ :=
body · 2 lines
  match a.val with
  | _ => 0
576
def CB4_3_1I1R12P (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R12Certificates (CB4_3_1I1R12CertificateIndex a)).input
578
lemma CB4_3_1I1R12P_check : ∀ a : Fin 6, contains (CB4_3_1I1R12Raw a) (CB4_3_1I1R12P a) = true := by
proof · 1 line
  decide +kernel
580
lemma CB4_3_1I1R12P_sound (a : Fin 6) :
    (CB4_3_1I1R12P a).Encloses (CB4_3_1I1R12Value a) :=
proof · 1 line
  contains_sound (CB4_3_1I1R12Raw_sound a) (CB4_3_1I1R12P_check a)
583
def CB4_3_1I1R12Terms (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R12Certificates (CB4_3_1I1R12CertificateIndex a)).output
585
lemma CB4_3_1I1R12Terms_sound (a : Fin 6) :
    (CB4_3_1I1R12Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1R12Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1R12Certificates_valid
    (CB4_3_1I1R12CertificateIndex a) (CB4_3_1I1R12P_sound a)
589
def CB4_3_1I1R12Entropy : Ball := ⟨0, 0⟩
590
lemma CB4_3_1I1R12Entropy_sound : CB4_3_1I1R12Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1R12Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1R12Value CB4_3_1I1R12Terms CB4_3_1I1R12Terms_sound) (by decide +kernel)
592
def CB4_3_1I1R12Mass : Ball := ⟨0, 0⟩
593
lemma CB4_3_1I1R12Mass_sound : CB4_3_1I1R12Mass.Encloses (∑ a, CB4_3_1I1R12Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 CB4_3_1I1R12P CB4_3_1I1R12Value CB4_3_1I1R12P_sound) (by decide +kernel)
595
def CB4_3_1I1R12MassTerm : Ball := .exact 0
596
lemma CB4_3_1I1R12MassTerm_sound : CB4_3_1I1R12MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1R12Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CB4_3_1I1R12Mass_sound)
598
def CB4_3_1I1R12H : Ball := ⟨0, 0⟩
599
lemma CB4_3_1I1R12H_sound : CB4_3_1I1R12H.Encloses (homogeneousEntropy CB4_3_1I1R12Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1R12Value CB4_3_1I1R12MassTerm_sound CB4_3_1I1R12Entropy_sound) (by decide +kernel)
601
def CB4_3_1I1R13Value (a : Fin 6) : ℝ := residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) 13 a
602
def CB4_3_1I1R13Raw (a : Fin 6) : Ball := residualBall (below (shape 4 3 1)) B4_3_1Law (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) 13 a
603
lemma CB4_3_1I1R13Raw_sound (a : Fin 6) :
    (CB4_3_1I1R13Raw a).Encloses (CB4_3_1I1R13Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) 13 a
606
def CB4_3_1I1R13Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
608
lemma CB4_3_1I1R13Certificates_valid :
    CB4_3_1I1R13Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
610
def CB4_3_1I1R13CertificateIndex (a : Fin 6) : ℕ :=
body · 2 lines
  match a.val with
  | _ => 0
613
def CB4_3_1I1R13P (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R13Certificates (CB4_3_1I1R13CertificateIndex a)).input
615
lemma CB4_3_1I1R13P_check : ∀ a : Fin 6, contains (CB4_3_1I1R13Raw a) (CB4_3_1I1R13P a) = true := by
proof · 1 line
  decide +kernel
617
lemma CB4_3_1I1R13P_sound (a : Fin 6) :
    (CB4_3_1I1R13P a).Encloses (CB4_3_1I1R13Value a) :=
proof · 1 line
  contains_sound (CB4_3_1I1R13Raw_sound a) (CB4_3_1I1R13P_check a)
620
def CB4_3_1I1R13Terms (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R13Certificates (CB4_3_1I1R13CertificateIndex a)).output
622
lemma CB4_3_1I1R13Terms_sound (a : Fin 6) :
    (CB4_3_1I1R13Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1R13Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1R13Certificates_valid
    (CB4_3_1I1R13CertificateIndex a) (CB4_3_1I1R13P_sound a)
626
def CB4_3_1I1R13Entropy : Ball := ⟨0, 0⟩
627
lemma CB4_3_1I1R13Entropy_sound : CB4_3_1I1R13Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1R13Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1R13Value CB4_3_1I1R13Terms CB4_3_1I1R13Terms_sound) (by decide +kernel)
629
def CB4_3_1I1R13Mass : Ball := ⟨0, 0⟩
630
lemma CB4_3_1I1R13Mass_sound : CB4_3_1I1R13Mass.Encloses (∑ a, CB4_3_1I1R13Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 CB4_3_1I1R13P CB4_3_1I1R13Value CB4_3_1I1R13P_sound) (by decide +kernel)
632
def CB4_3_1I1R13MassTerm : Ball := .exact 0
633
lemma CB4_3_1I1R13MassTerm_sound : CB4_3_1I1R13MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1R13Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CB4_3_1I1R13Mass_sound)
635
def CB4_3_1I1R13H : Ball := ⟨0, 0⟩
636
lemma CB4_3_1I1R13H_sound : CB4_3_1I1R13H.Encloses (homogeneousEntropy CB4_3_1I1R13Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1R13Value CB4_3_1I1R13MassTerm_sound CB4_3_1I1R13Entropy_sound) (by decide +kernel)
638
def CB4_3_1I1R14Value (a : Fin 6) : ℝ := residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) 14 a
639
def CB4_3_1I1R14Raw (a : Fin 6) : Ball := residualBall (below (shape 4 3 1)) B4_3_1Law (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) 14 a
640
lemma CB4_3_1I1R14Raw_sound (a : Fin 6) :
    (CB4_3_1I1R14Raw a).Encloses (CB4_3_1I1R14Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) 14 a
643
def CB4_3_1I1R14Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
645
lemma CB4_3_1I1R14Certificates_valid :
    CB4_3_1I1R14Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
647
def CB4_3_1I1R14CertificateIndex (a : Fin 6) : ℕ :=
body · 2 lines
  match a.val with
  | _ => 0
650
def CB4_3_1I1R14P (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R14Certificates (CB4_3_1I1R14CertificateIndex a)).input
652
lemma CB4_3_1I1R14P_check : ∀ a : Fin 6, contains (CB4_3_1I1R14Raw a) (CB4_3_1I1R14P a) = true := by
proof · 1 line
  decide +kernel
654
lemma CB4_3_1I1R14P_sound (a : Fin 6) :
    (CB4_3_1I1R14P a).Encloses (CB4_3_1I1R14Value a) :=
proof · 1 line
  contains_sound (CB4_3_1I1R14Raw_sound a) (CB4_3_1I1R14P_check a)
657
def CB4_3_1I1R14Terms (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R14Certificates (CB4_3_1I1R14CertificateIndex a)).output
659
lemma CB4_3_1I1R14Terms_sound (a : Fin 6) :
    (CB4_3_1I1R14Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1R14Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1R14Certificates_valid
    (CB4_3_1I1R14CertificateIndex a) (CB4_3_1I1R14P_sound a)
663
def CB4_3_1I1R14Entropy : Ball := ⟨0, 0⟩
664
lemma CB4_3_1I1R14Entropy_sound : CB4_3_1I1R14Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1R14Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1R14Value CB4_3_1I1R14Terms CB4_3_1I1R14Terms_sound) (by decide +kernel)
666
def CB4_3_1I1R14Mass : Ball := ⟨0, 0⟩
667
lemma CB4_3_1I1R14Mass_sound : CB4_3_1I1R14Mass.Encloses (∑ a, CB4_3_1I1R14Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 CB4_3_1I1R14P CB4_3_1I1R14Value CB4_3_1I1R14P_sound) (by decide +kernel)
669
def CB4_3_1I1R14MassTerm : Ball := .exact 0
670
lemma CB4_3_1I1R14MassTerm_sound : CB4_3_1I1R14MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1R14Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CB4_3_1I1R14Mass_sound)
672
def CB4_3_1I1R14H : Ball := ⟨0, 0⟩
673
lemma CB4_3_1I1R14H_sound : CB4_3_1I1R14H.Encloses (homogeneousEntropy CB4_3_1I1R14Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1R14Value CB4_3_1I1R14MassTerm_sound CB4_3_1I1R14Entropy_sound) (by decide +kernel)
675
def CB4_3_1I1R15Value (a : Fin 6) : ℝ := residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) 15 a
676
def CB4_3_1I1R15Raw (a : Fin 6) : Ball := residualBall (below (shape 4 3 1)) B4_3_1Law (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) 15 a
677
lemma CB4_3_1I1R15Raw_sound (a : Fin 6) :
    (CB4_3_1I1R15Raw a).Encloses (CB4_3_1I1R15Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) 15 a
680
def CB4_3_1I1R15Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
682
lemma CB4_3_1I1R15Certificates_valid :
    CB4_3_1I1R15Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
684
def CB4_3_1I1R15CertificateIndex (a : Fin 6) : ℕ :=
body · 2 lines
  match a.val with
  | _ => 0
687
def CB4_3_1I1R15P (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R15Certificates (CB4_3_1I1R15CertificateIndex a)).input
689
lemma CB4_3_1I1R15P_check : ∀ a : Fin 6, contains (CB4_3_1I1R15Raw a) (CB4_3_1I1R15P a) = true := by
proof · 1 line
  decide +kernel
691
lemma CB4_3_1I1R15P_sound (a : Fin 6) :
    (CB4_3_1I1R15P a).Encloses (CB4_3_1I1R15Value a) :=
proof · 1 line
  contains_sound (CB4_3_1I1R15Raw_sound a) (CB4_3_1I1R15P_check a)
694
def CB4_3_1I1R15Terms (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R15Certificates (CB4_3_1I1R15CertificateIndex a)).output
696
lemma CB4_3_1I1R15Terms_sound (a : Fin 6) :
    (CB4_3_1I1R15Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1R15Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1R15Certificates_valid
    (CB4_3_1I1R15CertificateIndex a) (CB4_3_1I1R15P_sound a)
700
def CB4_3_1I1R15Entropy : Ball := ⟨0, 0⟩
701
lemma CB4_3_1I1R15Entropy_sound : CB4_3_1I1R15Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1R15Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1R15Value CB4_3_1I1R15Terms CB4_3_1I1R15Terms_sound) (by decide +kernel)
703
def CB4_3_1I1R15Mass : Ball := ⟨0, 0⟩
704
lemma CB4_3_1I1R15Mass_sound : CB4_3_1I1R15Mass.Encloses (∑ a, CB4_3_1I1R15Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 CB4_3_1I1R15P CB4_3_1I1R15Value CB4_3_1I1R15P_sound) (by decide +kernel)
706
def CB4_3_1I1R15MassTerm : Ball := .exact 0
707
lemma CB4_3_1I1R15MassTerm_sound : CB4_3_1I1R15MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1R15Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CB4_3_1I1R15Mass_sound)
709
def CB4_3_1I1R15H : Ball := ⟨0, 0⟩
710
lemma CB4_3_1I1R15H_sound : CB4_3_1I1R15H.Encloses (homogeneousEntropy CB4_3_1I1R15Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1R15Value CB4_3_1I1R15MassTerm_sound CB4_3_1I1R15Entropy_sound) (by decide +kernel)
712
def CB4_3_1I1R16Value (a : Fin 6) : ℝ := residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) 16 a
713
def CB4_3_1I1R16Raw (a : Fin 6) : Ball := residualBall (below (shape 4 3 1)) B4_3_1Law (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) 16 a
714
lemma CB4_3_1I1R16Raw_sound (a : Fin 6) :
    (CB4_3_1I1R16Raw a).Encloses (CB4_3_1I1R16Value a) := by
proof · 1 line
  exact residualBall_sound_on (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u => B4_3_1Little u ((stageBPriority (shape 4 3 1)) 1)) (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) (fun u _ a => B4_3_1Little_sound u ((stageBPriority (shape 4 3 1)) 1) a) 16 a
717
def CB4_3_1I1R16Certificates : List CompactCertificate.EntropyDatum :=
body · 1 line
  [.zero]
719
lemma CB4_3_1I1R16Certificates_valid :
    CB4_3_1I1R16Certificates.all (fun c => c.check logTwoBall) = true := by decide +kernel
721
def CB4_3_1I1R16CertificateIndex (a : Fin 6) : ℕ :=
body · 2 lines
  match a.val with
  | _ => 0
724
def CB4_3_1I1R16P (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R16Certificates (CB4_3_1I1R16CertificateIndex a)).input
726
lemma CB4_3_1I1R16P_check : ∀ a : Fin 6, contains (CB4_3_1I1R16Raw a) (CB4_3_1I1R16P a) = true := by
proof · 1 line
  decide +kernel
728
lemma CB4_3_1I1R16P_sound (a : Fin 6) :
    (CB4_3_1I1R16P a).Encloses (CB4_3_1I1R16Value a) :=
proof · 1 line
  contains_sound (CB4_3_1I1R16Raw_sound a) (CB4_3_1I1R16P_check a)
731
def CB4_3_1I1R16Terms (a : Fin 6) : Ball :=
body · 1 line
  (CompactCertificate.entropyLookup CB4_3_1I1R16Certificates (CB4_3_1I1R16CertificateIndex a)).output
733
lemma CB4_3_1I1R16Terms_sound (a : Fin 6) :
    (CB4_3_1I1R16Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1R16Value a)) :=
proof · 2 lines
  CompactCertificate.entropyLookup_sound logTwoBall_sound CB4_3_1I1R16Certificates_valid
    (CB4_3_1I1R16CertificateIndex a) (CB4_3_1I1R16P_sound a)
737
def CB4_3_1I1R16Entropy : Ball := ⟨0, 0⟩
738
lemma CB4_3_1I1R16Entropy_sound : CB4_3_1I1R16Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1R16Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1R16Value CB4_3_1I1R16Terms CB4_3_1I1R16Terms_sound) (by decide +kernel)
740
def CB4_3_1I1R16Mass : Ball := ⟨0, 0⟩
741
lemma CB4_3_1I1R16Mass_sound : CB4_3_1I1R16Mass.Encloses (∑ a, CB4_3_1I1R16Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 CB4_3_1I1R16P CB4_3_1I1R16Value CB4_3_1I1R16P_sound) (by decide +kernel)
743
def CB4_3_1I1R16MassTerm : Ball := .exact 0
744
lemma CB4_3_1I1R16MassTerm_sound : CB4_3_1I1R16MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1R16Value a))) :=
proof · 1 line
  entropyTerm_zero_ball (CB4_3_1I1R16Mass_sound)
746
def CB4_3_1I1R16H : Ball := ⟨0, 0⟩
747
lemma CB4_3_1I1R16H_sound : CB4_3_1I1R16H.Encloses (homogeneousEntropy CB4_3_1I1R16Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1R16Value CB4_3_1I1R16MassTerm_sound CB4_3_1I1R16Entropy_sound) (by decide +kernel)
749
def CB4_3_1I1ResidualEntropies (a : Fin 17) : Ball :=
body · 19 lines
  match a.val with
  | 0 => CB4_3_1I1R0H
  | 1 => CB4_3_1I1R1H
  | 2 => CB4_3_1I1R2H
  | 3 => CB4_3_1I1R3H
  | 4 => CB4_3_1I1R4H
  | 5 => CB4_3_1I1R5H
  | 6 => CB4_3_1I1R6H
  | 7 => CB4_3_1I1R7H
  | 8 => CB4_3_1I1R8H
  | 9 => CB4_3_1I1R9H
  | 10 => CB4_3_1I1R10H
  | 11 => CB4_3_1I1R11H
  | 12 => CB4_3_1I1R12H
  | 13 => CB4_3_1I1R13H
  | 14 => CB4_3_1I1R14H
  | 15 => CB4_3_1I1R15H
  | 16 => CB4_3_1I1R16H
  | _ => (.exact 0)
769
lemma CB4_3_1I1ResidualEntropies_sound (k : Fin 17) :
    (CB4_3_1I1ResidualEntropies k).Encloses (homogeneousEntropy
      (residualLaw (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) k)) := by
proof · 18 lines
  fin_cases k
  · exact CB4_3_1I1R0H_sound
  · exact CB4_3_1I1R1H_sound
  · exact CB4_3_1I1R2H_sound
  · exact CB4_3_1I1R3H_sound
  · exact CB4_3_1I1R4H_sound
  · exact CB4_3_1I1R5H_sound
  · exact CB4_3_1I1R6H_sound
  · exact CB4_3_1I1R7H_sound
  · exact CB4_3_1I1R8H_sound
  · exact CB4_3_1I1R9H_sound
  · exact CB4_3_1I1R10H_sound
  · exact CB4_3_1I1R11H_sound
  · exact CB4_3_1I1R12H_sound
  · exact CB4_3_1I1R13H_sound
  · exact CB4_3_1I1R14H_sound
  · exact CB4_3_1I1R15H_sound
  · exact CB4_3_1I1R16H_sound
790
def CB4_3_1I1S0_3_1Value (a : Fin 6) : ℝ := (littleLaw (shape 4 3 1) (shape 0 3 1) ((stageBPriority (shape 4 3 1)) 1) a : ℝ)
791
def CB4_3_1I1S0_3_1E_4Log : Ball := .exact 0
792
lemma CB4_3_1I1S0_3_1E_4Log_sound : CB4_3_1I1S0_3_1E_4Log.Encloses (Real.log (CB4_3_1I1S0_3_1Value (4 : Fin 6))) := by
proof · 1 line
  exact log_exact_one_ball ((B4_3_1Little_sound (shape 0 3 1) ((stageBPriority (shape 4 3 1)) 1)) (4 : Fin 6))
794
def CB4_3_1I1S0_3_1E_4 : Ball := ⟨0, 0⟩
795
lemma CB4_3_1I1S0_3_1E_4_sound : CB4_3_1I1S0_3_1E_4.Encloses (Foundation.entropyTerm (CB4_3_1I1S0_3_1Value (4 : Fin 6))) := by
proof · 1 line
  exact contains_sound (entropyTerm_ball ((B4_3_1Little_sound (shape 0 3 1) ((stageBPriority (shape 4 3 1)) 1)) (4 : Fin 6)) CB4_3_1I1S0_3_1E_4Log_sound) (by decide +kernel)
797
def CB4_3_1I1S0_3_1Terms (a : Fin 6) : Ball :=
body · 3 lines
  match a.val with
  | 4 => ⟨0, 0⟩
  | _ => (.exact 0)
801
lemma CB4_3_1I1S0_3_1Terms_sound (a : Fin 6) :
    (CB4_3_1I1S0_3_1Terms a).Encloses (Foundation.entropyTerm (CB4_3_1I1S0_3_1Value a)) := by
proof · 7 lines
  fin_cases a
  · exact (entropyTerm_zero_ball ((B4_3_1Little_sound (shape 0 3 1) ((stageBPriority (shape 4 3 1)) 1)) (0 : Fin 6)))
  · exact (entropyTerm_zero_ball ((B4_3_1Little_sound (shape 0 3 1) ((stageBPriority (shape 4 3 1)) 1)) (1 : Fin 6)))
  · exact (entropyTerm_zero_ball ((B4_3_1Little_sound (shape 0 3 1) ((stageBPriority (shape 4 3 1)) 1)) (2 : Fin 6)))
  · exact (entropyTerm_zero_ball ((B4_3_1Little_sound (shape 0 3 1) ((stageBPriority (shape 4 3 1)) 1)) (3 : Fin 6)))
  · exact CB4_3_1I1S0_3_1E_4_sound
  · exact (entropyTerm_zero_ball ((B4_3_1Little_sound (shape 0 3 1) ((stageBPriority (shape 4 3 1)) 1)) (5 : Fin 6)))
810
def CB4_3_1I1S0_3_1Entropy : Ball := ⟨0, 0⟩
811
lemma CB4_3_1I1S0_3_1Entropy_sound : CB4_3_1I1S0_3_1Entropy.Encloses (Foundation.finiteEntropy CB4_3_1I1S0_3_1Value) := by
proof · 1 line
  exact contains_sound (entropyFin_enclosed 6 CB4_3_1I1S0_3_1Value CB4_3_1I1S0_3_1Terms CB4_3_1I1S0_3_1Terms_sound) (by decide +kernel)
813
def CB4_3_1I1S0_3_1Mass : Ball := ⟨1, 0⟩
814
lemma CB4_3_1I1S0_3_1Mass_sound : CB4_3_1I1S0_3_1Mass.Encloses (∑ a, CB4_3_1I1S0_3_1Value a) := by
proof · 1 line
  exact contains_sound (finSumBall_sound 6 (B4_3_1Little (shape 0 3 1) ((stageBPriority (shape 4 3 1)) 1)) CB4_3_1I1S0_3_1Value (B4_3_1Little_sound (shape 0 3 1) ((stageBPriority (shape 4 3 1)) 1))) (by decide +kernel)
816
def CB4_3_1I1S0_3_1MassTermLog : Ball := .exact 0
817
lemma CB4_3_1I1S0_3_1MassTermLog_sound : CB4_3_1I1S0_3_1MassTermLog.Encloses (Real.log ((∑ a, CB4_3_1I1S0_3_1Value a))) := by
proof · 1 line
  exact log_exact_one_ball (CB4_3_1I1S0_3_1Mass_sound)
819
def CB4_3_1I1S0_3_1MassTerm : Ball := ⟨0, 0⟩
820
lemma CB4_3_1I1S0_3_1MassTerm_sound : CB4_3_1I1S0_3_1MassTerm.Encloses (Foundation.entropyTerm ((∑ a, CB4_3_1I1S0_3_1Value a))) := by
proof · 1 line
  exact contains_sound (entropyTerm_ball (CB4_3_1I1S0_3_1Mass_sound) CB4_3_1I1S0_3_1MassTermLog_sound) (by decide +kernel)
822
def CB4_3_1I1S0_3_1H : Ball := ⟨0, 0⟩
823
lemma CB4_3_1I1S0_3_1H_sound : CB4_3_1I1S0_3_1H.Encloses (homogeneousEntropy CB4_3_1I1S0_3_1Value) := by
proof · 1 line
  exact contains_sound (homogeneous_enclosed CB4_3_1I1S0_3_1Value CB4_3_1I1S0_3_1MassTerm_sound CB4_3_1I1S0_3_1Entropy_sound) (by decide +kernel)
825
def CB4_3_1I1Singles (s : Shape) : Ball :=
body · 3 lines
  match s 0, s 1, s 2 with
  | 0, 3, 1 => CB4_3_1I1S0_3_1H
  | _, _, _ => (.exact 0)
829
lemma CB4_3_1I1Singles_sound (u : Shape) (hu : u ∈ below (shape 4 3 1))
    (hd : designated (stageBPriority (shape 4 3 1)) 1 u) :
    (CB4_3_1I1Singles u).Encloses (homogeneousEntropy ((fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) u)) := by
proof · 11 lines
  rw [B4_3_1_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
  · exact CB4_3_1I1S0_3_1H_sound
  · exact (show ¬ designated (stageBPriority (shape 4 3 1)) 1 (shape 1 2 1) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (stageBPriority (shape 4 3 1)) 1 (shape 1 3 0) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (stageBPriority (shape 4 3 1)) 1 (shape 2 1 1) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (stageBPriority (shape 4 3 1)) 1 (shape 2 2 0) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (stageBPriority (shape 4 3 1)) 1 (shape 3 0 1) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (stageBPriority (shape 4 3 1)) 1 (shape 3 1 0) by decide +kernel) hd |>.elim
  · exact (show ¬ designated (stageBPriority (shape 4 3 1)) 1 (shape 4 0 0) by decide +kernel) hd |>.elim
843
def CB4_3_1I1Singleton : Ball := ⟨0, 0⟩
844
lemma CB4_3_1I1Singleton_sound : CB4_3_1I1Singleton.Encloses
    (singletonEntropy (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ))) := by
proof · 2 lines
  exact contains_sound (singletonBall_sound (below (shape 4 3 1)) B4_3_1Law (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1
    CB4_3_1I1Singles (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ)) (fun u _ => B4_3_1Law_sound u) CB4_3_1I1Singles_sound) (by decide +kernel)
848
def CB4_3_1I1Group : Ball := ⟨(2917405570139503730793260650103 / 20000000000000000000000000000000), (135307097319 / 100000000000000000000000000000000)⟩
849
lemma CB4_3_1I1Group_sound : CB4_3_1I1Group.Encloses
    (groupedEntropy (below (shape 4 3 1)) (fun u => (stageBLaw (shape 4 3 1) u : ℝ)) (stageBPriority (shape 4 3 1)) 1 (fun u a => (littleLaw (shape 4 3 1) u ((stageBPriority (shape 4 3 1)) 1) a : ℝ))) := by
proof · 2 lines
  exact contains_sound (Ball.add_sound CB4_3_1I1Singleton_sound
    (finSumBall_sound 17 CB4_3_1I1ResidualEntropies _ CB4_3_1I1ResidualEntropies_sound)) (by decide +kernel)
871
def CB4_3_1I1H : Ball := ⟨(1019569187696828535959852786143 / 1250000000000000000000000000000), (363617711883 / 100000000000000000000000000000000)⟩
872
lemma CB4_3_1I1_sound : CB4_3_1I1H.Encloses (stageBCapacity (shape 4 3 1) 1) := by
proof · 7 lines
  have hb := contains_sound (Ball.add_sound CB4_3_1I1PairH_sound
    (Ball.neg_sound (Ball.mul_sound
      (by simpa only [Rat.cast_ofNat] using Ball.exact_sound 2) CB4_3_1I1Group_sound)))
    (show contains (.add CB4_3_1I1PairH (.neg (.mul (.exact 2) CB4_3_1I1Group))) CB4_3_1I1H = true by decide +kernel)
  unfold CB4_3_1I1PairValue at hb
  simpa only [stageBCapacity, nativeCapacity,
    show (1 : Fin 3) ≠ 0 by decide, ite_false, sub_eq_add_neg] using hb

Xet Storage Details

Size:
73.4 kB
·
Xet hash:
14cc1969156046999c1dec891d953ac1e5a7228361c4562fd87244b73a5a7588

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