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.Ac.Nodes |
| 2 | import YM.Next.MULTISOURCE.Packs |
| 3 | import YM.Pressure.Rows |
| 4 | |
| 5 | /-! |
| 6 | # Translate eval of this whole history |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace YM.Multi.AxisShift |
| 12 | open RG Lattice Wilson Function Finset MeasureTheory Pack |
| 13 | open scoped Topology Matrix.Norms.Frobenius BigOperators |
| 14 | |
| 15 | variable {G : Gauge} {A : Levels G} {p m : ℕ} |
| 16 | |
| 17 | lemma commute_tr {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 18 | (V : Site (A.S.side m p)) (β : ℝ) (F : Config G (A.S.side (m+1) p)→X) |
| 19 | (h : Integrable F (prior G _)) : |
| 20 | (A.clock.op m p).push β (F ∘ translate ((A.clock.op m p).ratio.embed V))= |
| 21 | ((A.clock.op m p).push β F) ∘ translate V := by |
| 22 | funext U; let S := A.clock.op m p; let o := S.ratio.embed V |
| 23 | let i := fun x : Config G _ => S.density β x (translate V U) • F x |
| 24 | have he : MeasurePreserving (translate o (K:=G.El)) (prior G _) (prior G _) := by |
| 25 | rw [show translate o = pull 1 o (K:=G.El) from funext fun U => (pull_one ..).symm]; exact prior_pull _ _ |
| 26 | have hs : Integrable i (prior G _) := StepData.push_slice (A.transition_mass ..) _ F h |
| 27 | have hg := integral_map (μ:= prior G _) (f:=i) he.aemeasurable |
| 28 | (show AEStronglyMeasurable i _ from (he.map_eq.symm ▸ hs.aestronglyMeasurable)) |
| 29 | rw [he.map_eq] at hg |
| 30 | change (∫ x, S.density β x U • F (translate o x) ∂prior G _) = ∫ x,i x ∂prior G _ |
| 31 | rw [hg]; refine integral_congr_ae (Filter.Eventually.of_forall fun x => ?_) |
| 32 | have he := (A.blocks m p).symmetric β x U 1 V |
| 33 | simp only [pull_one] at he |
| 34 | unfold i; change S.density β x U • _ = S.density β _ _ • _; rw [he] |
| 35 | |
| 36 | private theorem positive_kernel {c f : Side} (S : StepData c f) (β : ℝ) (U : Config G f) (V : Config G c) |
| 37 | (h : S.patch.Branches S.kernel G) : 0 < S.density β U V := by |
| 38 | classical |
| 39 | have hp (i : S.Choices) : 0 < S.noise β (S.prediction U i) V := |
| 40 | prod_pos fun i _ => mul_pos (inv_pos.mpr (S.penaltyZ_pos β)) (Real.exp_pos _) |
| 41 | obtain ⟨i,hi⟩ : ∃ i,0 < S.likelihood U i := by |
| 42 | by_contra! h' |
| 43 | have he := S.chosen h U |
| 44 | exact lt_irrefl (0:ℝ) (calc 0 < (1:ℝ) := zero_lt_one |
| 45 | _ = _ := he.symm |
| 46 | _ ≤ _ := sum_nonpos fun i _ => h' i) |
| 47 | exact (mul_pos hi (hp i)).trans_le (single_le_sum (a:=i) (f:=fun t => |
| 48 | S.likelihood U t*S.noise β (S.prediction U t) V) (fun i _ => mul_nonneg (S.likelihood_pos U i) (hp i).le) (mem_univ i)) |
| 49 | |
| 50 | variable {H : History G} {N : ℕ} |
| 51 | |
| 52 | lemma chosen_positive (h : H.Selected) (hv : m ≤ N) (U : Config G (H.S.side m p)) : |
| 53 | 0 < (H.rep N p m).eval U := by |
| 54 | induction hv using Nat.decreasingInduction with |
| 55 | | self => rw [(h.starts ..).2]; exact bare_pos .. |
| 56 | | of_succ k hk ih => |
| 57 | let F (i : Config G (H.S.side (k+1) p)) := (H.levels.clock.op k p).density |
| 58 | (H.β N p (k+1)) i U • (H.rep N p (k+1)).eval i |
| 59 | have hf (i) : 0 < F i := mul_pos (positive_kernel _ _ _ _ (H.levels.blocks ..).branches) (ih i) |
| 60 | rw [(h.steps N p k hk).1] |
| 61 | have hi : Integrable F (prior G _) := StepData.push_slice (H.levels.transition_mass ..) U _ |
| 62 | (((H.rep N p (k+1)).envelope (h.represents N p (k+1) hk).good).integrable _) |
| 63 | apply (integral_pos_iff_support_of_nonneg (fun x => (hf x).le) hi).2 |
| 64 | rw [show Function.support F=Set.univ from Set.eq_univ_of_forall fun i => (hf i).ne']; simp |
| 65 | |
| 66 | lemma chosen_shift (h : H.Selected) (hv : m≤N) (o : Site (H.S.side m p)) : |
| 67 | (H.rep N p m).eval ∘ translate o = (H.rep N p m).eval := by |
| 68 | induction hv using Nat.decreasingInduction with |
| 69 | | self => |
| 70 | rw [(h.starts ..).2]; funext U |
| 71 | simp only [Function.comp_apply]; rw [← pull_one] |
| 72 | simp only [bare,energy_pull] |
| 73 | | of_succ k hk ih => |
| 74 | rw [(h.steps N p k hk).1] |
| 75 | rw [← commute_tr, ih] |
| 76 | exact ((H.rep N p (k+1)).envelope (h.represents N p (k+1) hk).good).integrable _ |
| 77 | end YM.Multi.AxisShift |