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.Origin.Scroll |
| 2 | |
| 3 | /-! # Formal exponential of positive-grade action series |
| 4 | |
| 5 | Smooth pointwise coefficients (no coupling or thermodynamic domain). |
| 6 | Preserves time-charge support control. Formal differentiation along g uses |
| 7 | all lower grade inputs only, constant 1 at tau^0 grade 0. -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.RG08 |
| 11 | open Function Finset Filter Analysis |
| 12 | open scoped Topology ContDiff |
| 13 | variable {X : Type} |
| 14 | |
| 15 | -- specialized real tutors: presence of rational factorials |
| 16 | |
| 17 | def ingr (n : ℕ) (R : Type) [One R] [Zero R] : R := if n=0 then 1 else 0 |
| 18 | |
| 19 | def priori (F : Scroll (Psalm X)) (n e : ℕ) : Psalm X := match e with |
| 20 | | 0 => ingr n _ |
| 21 | | e+1 => ((↑(e+1 : ℕ)):ℝ)⁻¹ • ∑ b∈wheel n, |
| 22 | ∑ a : {p : ℕ×ℕ // p∈wheel (e+1)}, if a.val.1=0 then 0 else |
| 23 | countG F b.1 a.val.1 * priori F b.2 a.val.2 |
| 24 | termination_by e |
| 25 | decreasing_by have h := mem_antidiagonal.mp a.property; omega |
| 26 | |
| 27 | variable {F : Scroll (Psalm X)} |
| 28 | lemma priori_zero (n) : priori F n 0=ingr n _ := by rw [priori] |
| 29 | lemma priori_succ (n e) : priori F n (e+1)= (↑(e+1:ℕ):ℝ)⁻¹ • dancing (countG F) (priori F) n (e+1) := by |
| 30 | rw [priori,dancing]; congr 1; refine sum_congr rfl fun b _=>?_ ; |
| 31 | rw [← Finset.sum_coe_sort (wheel (e+1)) (fun a=> _ * _)] -- explicit |
| 32 | apply sum_congr rfl; intro a _; split; next h => rw [h, muted_counts F b.1,zero_mul] |
| 33 | next h => rfl |
| 34 | |
| 35 | def Rhythm (R : Type) [CommSemiring R] (F S : Scroll R) := (∀ n,F n 0=ingr n _) ∧ countG F=dancing (countG S) F |
| 36 | lemma rhythm_exp (F : Scroll (Psalm X)) : Rhythm _ (priori F) F := by |
| 37 | refine ⟨priori_zero,?_⟩; funext n e; cases e with |
| 38 | | zero => rw [dance_left_muted _ _ (muted_counts _) n]; exact muted_counts _ n |
| 39 | | succ k => rw [countG,priori_succ, ← Nat.cast_smul_eq_nsmul ℝ,smul_inv_smul₀]; positivity |
| 40 | lemma rhythm_unique {x : Scroll (Psalm X)} (h : Rhythm _ x F) : x=priori F := by |
| 41 | funext n e |
| 42 | induction e using Nat.caseStrongRecOn generalizing n with |
| 43 | | zero => rw [h.1 n,priori_zero] |
| 44 | | ind e he => |
| 45 | apply smul_right_injective _ (show ((↑(e+1 : ℕ)):ℝ)≠0 by positivity) |
| 46 | dsimp only |
| 47 | rw [Nat.cast_smul_eq_nsmul,Nat.cast_smul_eq_nsmul]; change countG x n (e+1)= countG (priori F) n (e+1); rw [h.2,(rhythm_exp F).2] |
| 48 | exact dance_quiet _ _ _ (muted_counts _) (fun i hi j=>he i (Nat.lt_succ_iff.mp hi) j) _ |
| 49 | lemma priori_timing (h : tempered _ F) : tempered _ (priori F) := by |
| 50 | intro i n; induction n using Nat.caseStrongRecOn generalizing i with |
| 51 | | zero => intro he; unfold terrace at he; rw [priori_zero,ingr,if_neg]; omega |
| 52 | | ind n ih => |
| 53 | intro he; rw [priori_succ]; refine Eq.trans (congr_arg _ (sum_eq_zero (s:=wheel i) (f:=fun b=> ∑ a ∈ wheel (n+1), countG F b.1 a.1 * priori F b.2 a.2) (fun b hb=>sum_eq_zero ?_))) (smul_zero _) |
| 54 | intro a ha; have hh := mem_antidiagonal.mp ha; have hp := mem_antidiagonal.mp hb |
| 55 | by_cases hu : a.1=0; · rw [countG,hu,zero_smul,zero_mul] |
| 56 | by_cases hh : terrace a.1 < b.1 |
| 57 | · rw [countG,h _ _ hh, smul_zero,zero_mul] |
| 58 | rw [ih a.2 (by omega) b.2 (by unfold terrace at *; omega), mul_zero] |
| 59 | |
| 60 | variable [Fintype X] |
| 61 | lemma priori_fluid (h : Fluid F) : Fluid (priori F) := by |
| 62 | intro n e; induction e using Nat.caseStrongRecOn generalizing n with |
| 63 | | zero => rw [priori_zero]; unfold ingr; split <;> exact contDiff_const |
| 64 | | ind e he => |
| 65 | have hs {ι : Type} (p : Finset ι) {f : ι → Psalm X} (hf : ∀ i∈p,ContDiff ℝ ω (f i)) : ContDiff ℝ ω (∑ i∈p,f i) := by rw [show (∑ i∈p, f i)=(fun v=>∑ i∈p, f i v) from funext fun v=>Finset.sum_apply v ..]; exact ContDiff.sum hf |
| 66 | rw [priori_succ,dancing]; refine ContDiff.const_smul (↑(e+1:ℕ):ℝ)⁻¹ (hs (wheel n) (f:=fun b=> ∑ a∈wheel (e+1), countG F b.1 a.1 * priori F b.2 a.2) (fun i hi=> hs (wheel (e+1)) (fun b hb=> ?_))) |
| 67 | have hp := mem_antidiagonal.mp hb |
| 68 | by_cases hh : b.1=0; · rw [hh,muted_counts _ i.1,zero_mul]; exact contDiff_const |
| 69 | apply ContDiff.mul _ (he b.2 (by omega) i.2); unfold countG; rw [← Nat.cast_smul_eq_nsmul ℝ]; exact ContDiff.const_smul (↑b.1:ℝ) (h i.1 _) |
| 70 | end YM.RG08 |