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.RG08.Flat.Mesh |
| 2 | |
| 3 | /-! |
| 4 | # Fix the length gate before the length. Sufficient numerical costs for kfalt 0 |
| 5 | -/ |
| 6 | noncomputable section |
| 7 | namespace YM.RG08.Flat |
| 8 | open Filter Finset Pert.Bulk Laurent Lattice Bloch Stationary Function Matrix RG08.Packets RG08.Rate RG Precision Next.Free Exterior |
| 9 | open scoped Topology ENNReal |
| 10 | |
| 11 | set_option autoImplicit false |
| 12 | variable {G : Gauge} {a : Levels G} |
| 13 | |
| 14 | def curve (P : MapPrices) (j : ℕ) := min 1 (min (P.α j) (P.α (j+1))) |
| 15 | |
| 16 | def Lambda (a : Levels G)(i : ℕ) := 2+Real.log (a.clock.hatBeta i) |
| 17 | def Lambda' (a : Levels G)(i : ℕ) := 1+Lambda a i |
| 18 | |
| 19 | def Delay (a : Levels G)(P : MapPrices)(e : ℕ) := ∀ i,e ≤ i → P.Ω (a.clock.J i) ≤ Real.log (a.clock.hatBeta i) |
| 20 | |
| 21 | def before (P : MapPrices)(j i : ℕ) := |
| 22 | let h:=allotment P j i |
| 23 | (Fintype.card Faces:ℝ)*h*(Fintype.card Faces*(2/curve P j)*h) |
| 24 | |
| 25 | def entrance (P : MapPrices) (j:ℕ) : ℝ := 2/curve P j + (before P j j)^2+(before P j (j-1))^2 |
| 26 | |
| 27 | def Enough (a : Levels G)(E : ℕ→ℕ) (e : ℕ) := ∀ i,e ≤ i → E (a.clock.J (i+1)) ≤ (a.S.block i).val |
| 28 | |
| 29 | def tickets (P : MapPrices)(j:ℕ) := Nat.ceil (entrance P j) |
| 30 | |
| 31 | theorem curve_pos (P : MapPrices)(j:ℕ) : 0 < curve P j := lt_min zero_lt_one (lt_min (P.alpha_pos _) (P.alpha_pos _)) |
| 32 | |
| 33 | private theorem near (S : Calendar G) (h:S.Fits)(i:ℕ) : S.J i=S.J (i+1) ∨ S.J (i+1) = S.J i + 1 := by |
| 34 | have ht := h.stepSlow i |
| 35 | have he := h.mono (show i ≤ i+1 by omega) |
| 36 | omega |
| 37 | |
| 38 | theorem universeClock (a : Levels G)(h : G.Simple)(k i : ℕ) : Real.log (a.clock.hatBeta i) ≤ |
| 39 | (1+G.slopeConstant)*clock a.S (Lambda' a) k i := by |
| 40 | let s := G.slopeConstant |
| 41 | have hs : 0 < s := Gauge.slopeConstant_pos h |
| 42 | let v := a.clock.hatBeta i / a.clock.hatBeta k |
| 43 | let r := |a.S.scale i-a.S.scale k| |
| 44 | have hk := a.fits.delayed k |
| 45 | have hi := a.fits.delayed i |
| 46 | have hr : a.clock.hatBeta i ≤ a.clock.hatBeta k+s*r := by |
| 47 | unfold Calendar.hatBeta; have hv := le_abs_self (a.S.scale i-a.S.scale k); change _ ≤ _+_+s*r; unfold s r at *; unfold Levels.S at *; nlinarith only [mul_le_mul_of_nonneg_left hv hs.le] |
| 48 | have ht : v ≤ 1+s*r := by |
| 49 | apply (div_le_iff₀ (zero_lt_one.trans hk)).mpr |
| 50 | have hh : 0 ≤ s*r := mul_nonneg hs.le (abs_nonneg _) |
| 51 | nlinarith |
| 52 | have hv : Real.log (a.clock.hatBeta i) ≤ Real.log (a.clock.hatBeta k)+s*r := by |
| 53 | have h₁ : 0 < v := div_pos (zero_lt_one.trans hi) (zero_lt_one.trans hk) |
| 54 | have hb : Real.log v ≤ v-1 := Real.log_le_sub_one_of_pos h₁ |
| 55 | unfold v at hb |
| 56 | rw [Real.log_div (zero_lt_one.trans hi).ne' (zero_lt_one.trans hk).ne'] at hb; linarith |
| 57 | apply hv.trans |
| 58 | unfold clock Lambda' Lambda |
| 59 | have he := abs_nonneg (a.S.scale i - a.S.scale k) |
| 60 | have hy := Real.log_pos hk |
| 61 | unfold r s |
| 62 | nlinarith |
| 63 | |
| 64 | theorem spacing_choice (h:G.Simple) (P : MapPrices) {e} (hw:Enough a (tickets P) e)(ht:Delay a P e) : |
| 65 | Spacing a P (Lambda' a) (curve P) (1/2) e := by |
| 66 | refine ⟨fun k=>?_,curve_pos P,fun j=>(min_le_right ..).trans (min_le_left ..),fun _=>min_le_left ..,fun i _=> ?_,by norm_num,fun i hi=>?_,fun i hi=>?_,?age⟩ |
| 67 | case age => refine ⟨_,1,(zero_lt_one.trans_le (le_add_of_nonneg_right (Gauge.slopeConstant_pos h).le)).le,fun k i hi=>?_⟩; rw [pow_one]; exact (ht i hi).trans (universeClock a h k i) |
| 68 | · unfold Lambda' Lambda; linarith [Real.log_pos (a.fits.delayed k)] |
| 69 | · refine le_min (min_le_left ..) (le_min ?_ ((min_le_right ..).trans (min_le_left ..))) |
| 70 | obtain he|he := near a.clock a.fits i |
| 71 | · rw [he]; exact (min_le_right ..).trans (min_le_left ..) |
| 72 | rw [he]; exact (min_le_right ..).trans (min_le_right ..) |
| 73 | · let j := a.clock.J (i+1); let u := a.clock.J i; let L :ℝ:=(a.S.block i).val |
| 74 | have hp : entrance P j ≤ L := (Nat.le_ceil _).trans (by unfold j L; exact_mod_cast hw i hi) |
| 75 | have he := curve_pos P j |
| 76 | have hL : 0 < L := by unfold L; positivity |
| 77 | have hK : (before P j u)^2 ≤ L := by |
| 78 | apply le_trans _ hp; unfold entrance; rcases near a.clock a.fits i with hv|hv |
| 79 | · rw [show u=j from hv]; nlinarith [sq_nonneg (before P j (j-1)),div_nonneg (by norm_num : (0:ℝ)≤2) he.le] |
| 80 | rw [show u=j-1 by change a.clock.J _=_; unfold j; omega]; nlinarith [sq_nonneg (before P j j),div_nonneg (by norm_num : (0:ℝ)≤2) he.le] |
| 81 | change before P j u / L ≤ L ^ (-(1/2:ℝ)) |
| 82 | rw [Real.rpow_neg hL.le,← Real.sqrt_eq_rpow] |
| 83 | have ht := Real.sq_sqrt hL.le |
| 84 | field_simp [hL.ne', (Real.sqrt_pos.mpr hL).ne'] |
| 85 | have hb : before P j u ≤ Real.sqrt L := by nlinarith [Real.sqrt_pos.mpr hL] |
| 86 | simpa only [← sq, ht] using (mul_le_mul_of_nonneg_right hb (Real.sqrt_nonneg L)) -- simp? |
| 87 | · let j := a.clock.J (i+1); let L :ℝ:=(a.S.block i).val |
| 88 | have hp : entrance P j ≤ L := (Nat.le_ceil _).trans (by unfold j L; exact_mod_cast hw i hi) |
| 89 | have he := curve_pos P j; have hK : 2 / curve P j ≤ L := by unfold entrance at hp; nlinarith only [hp,sq_nonneg (before P j j),sq_nonneg (before P j (j-1))] |
| 90 | have hh : curve P (a.clock.J i) ≤ 1 := min_le_left .. |
| 91 | replace hK := (div_le_iff₀ he).mp hK |
| 92 | change _ ≤ L*curve P j; linarith |
| 93 | end YM.RG08.Flat |