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.Extra.WILSON_STARTUP.Metric |
| 2 | |
| 3 | /-! # Unmasked top `Planned.peak` compatibility on actual real plane -/ |
| 4 | noncomputable section |
| 5 | set_option autoImplicit false |
| 6 | namespace YM.WilsonStartup.Design |
| 7 | open Function Filter RG Wilson Lattice Bloch Work Precision Exterior |
| 8 | open scoped Topology Matrix.Norms.Frobenius Classical ContDiff |
| 9 | variable {G : Gauge} {n : Side} (p : Clip) |
| 10 | |
| 11 | def diff (p : Clip) (U : Config G n) := ∑ i : Cell n, bulk p * residual G i U |
| 12 | |
| 13 | lemma diff_pull (U : Config G n) (s : Signed) : diff p (pull s 0 U) = diff p U := by |
| 14 | unfold diff; simp_rw [← residual_send] |
| 15 | exact Equiv.sum_comp (Equiv.ofBijective _ ⟨Face.injective_send s (0:Site n), Finite.injective_iff_surjective.mp (Face.injective_send ..)⟩) |
| 16 | (fun q : Cell n => bulk p * residual G q U) |
| 17 | |
| 18 | lemma main_top (U : Config G n) (hp : p.direct ≤ 1) : mainTerm p (top G p) U = energy U - diff p U := by |
| 19 | have h (s : Signed) := principal_top p (pull s 0 U) hp |
| 20 | change ∀ s, _ + diff p (pull s 0 U)=_ at h |
| 21 | simp_rw [diff_pull,energy_pull,← eq_sub_iff_add_eq] at h |
| 22 | unfold mainTerm Patch.average |
| 23 | dsimp only; simp_rw [h]; simp [mul_sub] |
| 24 | |
| 25 | theorem match_top (hp : p.direct ≤ 1) {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 26 | (U : E → Config G n) (hU : U 0 = 1) (hd : ∀ i,ContDiffAt ℝ ω (fun a => G.mat (U a i)) 0) : |
| 27 | ∀ j ≤ 4, SameJet j (mainTerm p (top G p) ∘ U) (energy ∘ U) := by |
| 28 | have hm (q : Cell n) : ContDiffAt ℝ ω (fun a => G.mat (faceValue (U a) q)) 0 := by |
| 29 | simp only [← read_edges, ← Quad.read_actual] |
| 30 | exact Quad.readMat_diff.contDiffAt.comp _ (contDiffAt_pi.mpr fun i => hd _) |
| 31 | have he : ContDiffAt ℝ ω (energy ∘ U) 0 := ContDiffAt.sum fun q _ => F03.price_smooth (hm q) |
| 32 | let f := fun (q : Cell n) => residual G q ∘ U |
| 33 | have hr (q) : ContDiffAt ℝ ω (f q) 0 := by |
| 34 | simp only [f,comp_def,residual,← Quad.surplus_actual]; exact Quad.surplusMat_diff.contDiffAt.comp _ (hm q) |
| 35 | have hf (q) : FlatAt 5 (f q) 0 := surplus_jet _ (by rw [hU,face_one]) (hm q) |
| 36 | have ht : mainTerm p (top G p) ∘ U = energy ∘ U - bulk p • ∑ q : Cell n,f q := funext fun a => by |
| 37 | simp only [comp_apply,main_top p _ hp, Pi.sub_apply,Pi.smul_apply,Finset.sum_apply,smul_eq_mul, Finset.mul_sum, diff]; rfl |
| 38 | intro j hj; rw [ht] |
| 39 | have hS : ContDiffAt ℝ ω (∑ q : Cell n,f q) 0 := by |
| 40 | rw [show (∑ q : Cell n, f q) = fun a => ∑ q, f q a from funext fun _ => Finset.sum_apply ..] |
| 41 | exact ContDiffAt.sum fun q _ => hr q |
| 42 | have ha : ContDiffAt ℝ ω (bulk p • ∑ q : Cell n,f q) 0 := hS.const_smul (bulk p) |
| 43 | refine ⟨he.sub ha,he,?_⟩ |
| 44 | rw [iteratedFDeriv_sub_apply (he.of_le le_top) (ha.of_le le_top),iteratedFDeriv_const_smul_apply (hS.of_le le_top), |
| 45 | iteratedFDeriv_sum_apply (fun q _ => (hr q).of_le le_top)] |
| 46 | simp only [fun q => hf q j (by omega), Finset.sum_const_zero, smul_zero,sub_zero] |
| 47 | |
| 48 | theorem peak (hp : p.direct ≤ 1) : ∀ j ≤ 4, SameJet j |
| 49 | (fun x : fieldDir G n 1 => mainTerm p (top G p) (represent x)) (energy ∘ represent) := |
| 50 | match_top p hp represent link_one fun i => (F03.represent_smooth i).contDiffAt |
| 51 | |
| 52 | structure Suitable (G : Gauge) (p : Stage) : Prop where |
| 53 | direct : p.clip.direct ≤ 1 |
| 54 | paths : (top G p.clip).Bounds p.clip p.width p.paths 0 |
| 55 | |
| 56 | theorem readiness (G : Gauge) {p : Stage} (hp : p.clip.direct ≤ 1) : ∃ C₀ : ℝ, 0 < C₀ ∧ ∀ p' : Stage, |
| 57 | p'.clip=p.clip → p'.width=p.width → C₀ ≤ p'.paths → Suitable G p' := by |
| 58 | obtain ⟨C₀,h,H⟩ := bound_arbitrary _ G hp _ p.width_pos |
| 59 | exact ⟨C₀,h,fun p' hx hy hz => by rw [← hx] at hp; rw [← hx,← hy] at H; exact ⟨hp,H _ hz 0 le_rfl⟩⟩ |
| 60 | |
| 61 | theorem layout_ready {a : Levels G} {N : ℕ} (h : Suitable G (a.params N)) : |
| 62 | (top G (a.params N).clip).Bounds (a.params N).clip (a.params N).width (a.params N).paths (a.clock.loopCap N) := by |
| 63 | have he := h.paths.two |
| 64 | refine { h.paths with two := ⟨he.1,he.2.1, he.2.2.trans ?_⟩ } |
| 65 | unfold Calendar.loopCap Calendar.monitor; positivity |
| 66 | end YM.WilsonStartup.Design |