Yang–Mills: the 2026 Lean construction, rerun and read; the mass gap still open
OpenAI's 2026 Lean construction of 4D Yang–Mills as the expert group keeps it: settle what it proves, rerun it, read it; uniqueness and the mass gap are open, and Clay's problem unsolved

| 1 | import YM.MergeProof.Biscuit |
| 2 | import YM.MergeProof.StrawS |
| 3 | import YM.FullVolume.Hits |
| 4 | import YM.PhysicalNext.RG_NEXT_ALL_FIELD_EXPANSION_DERIVATIVES.Mulch |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.Push.RelayDifference |
| 8 | open Function Set Filter MeasureTheory Extraction Extraction.Lease Wilson RG Lattice Cells Marker Overlay Stock Bid Mix Source Labels |
| 9 | Next.Foundations Attach Opening Planned.GuardedAtom Guard YM.MergeProof |
| 10 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 11 | variable {G : Gauge} {C : Family G} {N p d : ℕ} {W : Worth} {f : Extraction.Order} {F : Trial C} |
| 12 | variable {u : ℕ → ℝ}{ζ:ℕ → ℕ → ℝ} |
| 13 | set_option quotPrecheck false |
| 14 | open YM.FullVolume |
| 15 | theorem newPersist (hc:C.Makes) (K : G.Simple) (hZ:∀ N p:ℕ,Nonempty (Keeper (C.path.rep N p N).p (C.path.rep N p N).activities)) (hp: Sluggish C (fun j => Real.exp ((C.path.levels.budget j.1).supportExponent))) (hu:∀ i,0 < u i)(hx:Sluggish C fun i=> (u i.1)⁻¹) (hv:Sluggish C fun i=> ζ d i.1)(hr:∀ i,C.ref d ≤ i → 0 ≤ ζ d i) |
| 16 | (h:Tucked F d)(ht:∀ᶠ i in FullVolume.mesh,Continuous (F i.1 i.2 0)) : ∃ E:Cutoffs → ℝ, Sluggish C E ∧ ∀ᶠ i in FullVolume.mesh,C.ref d ≤ i.1 ∧ ∃ Z t Q, Cream C i.1 i.2 d u ζ (F i.1 i.2 0) Z Q t (E i):=by |
| 17 | classical |
| 18 | let H := C.path |
| 19 | let L := C.labels.level d |
| 20 | let T := C.localSection d |
| 21 | obtain ⟨X,hX,c,b,hc',hb,H'⟩ := h |
| 22 | let D := X ∪ T.stencil |
| 23 | obtain ⟨k,hk,h₁⟩ := price_of_readout C.params L |
| 24 | obtain ⟨t,ht',h₂⟩ := offmask C d |
| 25 | let score (j : Cutoffs) := k*c j |
| 26 | let r (j : Cutoffs) := badCost C d j.1 t (score j) (b j) |
| 27 | let g (j : Cutoffs) := regCost C j.1 (score j) (c j) |
| 28 | let M : ℝ := 2*D.card |
| 29 | let A (j : Cutoffs) := Real.exp ((H.levels.params j.1).supportExponent) ^ (81:ℕ) |
| 30 | let Att (j : Cutoffs):= A j* Real.exp (162:ℝ)*r j |
| 31 | let box (j : Cutoffs) := A j*(g j+r j*M) |
| 32 | let total (j : Cutoffs) := 1 + (box j + score j); let BaseE (j : Cutoffs):=4*(1+(C.path.levels.params j.1).columns)*total j; let E (j : Cutoffs):= BaseE j + Att j*(ζ d j.1)*(u j.1)⁻¹ |
| 33 | have hs : Sluggish C (fun j=> score j):=(Sluggish.const k).mul hc'; have ho:Sluggish C r:= hb.add (((Sluggish.const (C:=C) ((2:ℝ)*t)).mul (borrowed (W:=Opening.seats C d) (seats_slow K))).mul hs); have hA := Sluggish.pow hp 81 |
| 34 | have hm: Sluggish C total := (Sluggish.const (C:=C) (1:ℝ)).add ((hA.mul ((hc'.add (pillars.mul hs)).add (ho.mul (Sluggish.const M)))).add hs) |
| 35 | refine ⟨E,(((((Sluggish.const (C:=C) (4:ℝ)).mul ((Sluggish.const _).add pillars)).mul hm)).add (((((hA.mul (Sluggish.const _)).mul ho).mul hv)).mul hx)),?_⟩ |
| 36 | filter_upwards [deepen.eventually (cover_tops (C:=C) K D), ht, deepen.eventually_ge_atTop (C.ref d),deepen.eventually (mitt (C:=C) K D),H'] with i hi hP hI hJ hV |
| 37 | let N:=i.1; let p:=i.2; let z:= D; let o:= (0:Site (C.side N p)); let Y:=regional D o; let C':=C.path.rep N p N; let P:= C.path.levels.budget N; let v':= C.path.levels.clock.forcedAllowance N |
| 38 | have hY:regional X o ⊆ Y := Finset.image_subset_image Finset.subset_union_left |
| 39 | obtain ⟨hy,hC,hB,hL⟩:= hV o; have hG:=regular_larger hy hY; have hc'' := bound_larger hC hY; obtain ⟨Z,h,Zr,hK,hV, S,hS,Hx⟩:= saving C hc hI Y (Classical.choice (hZ N p)) (hJ p) (Finset.image_subset_image Finset.subset_union_right) F ⟨hG,hc'',hB,hL⟩ ht' h₂ (score:=score i) (fun z hz => h₁ _ o Y P _ _ (Nat.le_of_succ_le ((hc.stages d).2 N hI).1) ((hc.stages d).2 N hI).2 hG hc'' z hz) |
| 40 | have hY': (Y.card:ℝ) ≤ D.card:=by exact_mod_cast Finset.card_image_le |
| 41 | have hp: (coverNumber P.B Y:ℝ) ≤ 81:=by exact_mod_cast hi p; -- exponent.N |
| 42 | let a:ℝ:= Real.exp (P.supportExponent*coverNumber P.B Y) |
| 43 | have he : a ≤ A i:=by unfold a A;rw [← Real.exp_nat_mul]; apply Real.exp_monotone; push_cast;change _ ≤ 81*P.supportExponent;nlinarith only [hp,P.exponent_pos, mul_le_mul_of_nonneg_left hp P.exponent_pos.le] |
| 44 | have hf : 0 ≤ v':=(Real.exp_pos _).le; have hz:Real.sqrt v' ≤ 1:=Real.sqrt_le_one.mpr (Extra.Histories.Doors.stain_le (C.path.levels.clock.hatBeta N)) |
| 45 | have hg : 0 ≤ score i := (coeff_pos L _).trans Zr; have hr' : 0 ≤ r i:= add_nonneg hB (mul_nonneg (mul_nonneg (mul_nonneg (by norm_num) (zero_le_one.trans ht')) (seats_nonneg ..)) hg); have hb:0 ≤ A i:= le_trans (Real.exp_pos _).le he |
| 46 | have hφ:0 ≤ g i:= add_nonneg hC.1 (mul_nonneg (zero_le_one.trans (C.path.levels.params N).columns_ge) hg) |
| 47 | have hv: 2*(Y.card:ℝ)*Real.sqrt v' ≤ M:= by |
| 48 | exact (mul_le_of_le_one_right (mul_nonneg zero_le_two (Nat.cast_nonneg _)) hz).trans (mul_le_mul_of_nonneg_left hY' zero_le_two) |
| 49 | have hf: quicksilver P Y (g i) (r i) v' ≤ box i:=by |
| 50 | change a*g i+2*(Y.card:ℝ)*_* (a*r i) ≤ A i*(g i+r i*M) |
| 51 | rw [mul_add (A i)] |
| 52 | exact add_le_add (mul_le_mul_of_nonneg_right he hφ) ((mul_le_mul hv (mul_le_mul_of_nonneg_right he hr') (mul_nonneg (Real.exp_pos _).le hr') (show 0 ≤ M by unfold M; positivity)).trans_eq (by ring)) |
| 53 | have hU:YM.Push.Local.reservedMass P Y (r i) ≤ Att i:=by |
| 54 | unfold YM.Push.Local.reservedMass |
| 55 | apply mul_le_mul_of_nonneg_right _ hr'; rw [add_mul,Real.exp_add]; apply mul_le_mul he _ (Real.exp_pos _).le hb; apply Real.exp_monotone; linarith only [hp] |
| 56 | have hy:0 < total i:=by |
| 57 | have hx:0 ≤ M:=by unfold M; positivity |
| 58 | exact add_pos_of_pos_of_nonneg zero_lt_one (add_nonneg (mul_nonneg hb (add_nonneg hφ (mul_nonneg hr' hx))) hg) |
| 59 | have hAtt: 0 ≤ Att i:=(mul_nonneg (Real.exp_pos _).le hr').trans hU |
| 60 | have hE:BaseE i ≤ E i:=le_add_of_nonneg_right (mul_nonneg (mul_nonneg hAtt (hr N hI)) (inv_pos.mpr (hu N)).le) |
| 61 | refine ⟨hI,Z,box i,total i,h,Extra.Histories.rem_mono hK hf, (add_le_add_left Zr _).trans (le_trans (add_comm ..).le (le_add_of_nonneg_left zero_le_one)),hy,hE, ⟨S,Att i,stackFee hS hU,?_,Hx⟩,hV,hP⟩ |
| 62 | have hO:= hu N |
| 63 | apply le_trans _ (mul_le_mul_of_nonneg_left (show BaseE i + Att i*ζ d N*(u N)⁻¹ ≤ E i from le_rfl) hO.le) |
| 64 | have hm: 0 ≤ BaseE i:=mul_nonneg (mul_nonneg (by norm_num) (add_nonneg zero_le_one (zero_le_one.trans (C.path.levels.params _).columns_ge))) hy.le |
| 65 | rw [mul_add,show u N * (Att i*ζ d N*(u N)⁻¹)=Att i*ζ d N from by field_simp] |
| 66 | exact le_add_of_nonneg_left (mul_nonneg hO.le hm) |
| 67 | end YM.Push.RelayDifference |