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 Mathlib |
| 2 | |
| 3 | |
| 4 | set_option warningAsError false |
| 5 | |
| 6 | |
| 7 | set_option linter.unusedSectionVars false |
| 8 | set_option linter.unnecessarySeqFocus false |
| 9 | |
| 10 | /-! |
| 11 | # Strong scalar response, including roots AT either end |
| 12 | |
| 13 | No openness of income or trial data and no differentiability assertion for |
| 14 | the corrected branch. Boundary collisions (including a single legal trial) |
| 15 | need actual bracketing, not an estimate ignoring the truncated side. Even |
| 16 | the sign testers can depend on x, as long as all trials being compared are |
| 17 | legal for the response estimate at fixed x. Parameter continuity and inverse |
| 18 | stability in the presence of other perturbations, not just shooting once. |
| 19 | -/ |
| 20 | |
| 21 | set_option autoImplicit false |
| 22 | noncomputable section |
| 23 | namespace YM.UVNext.CouplingReset |
| 24 | open Set Filter Function |
| 25 | open scoped Topology |
| 26 | |
| 27 | structure Response (s t : Set ℝ) (μ : ℝ) (F : ℝ → ℝ → ℝ) : Prop where |
| 28 | margin : 0 < μ |
| 29 | gain : ∀ x ∈ s, ∀ a ∈ t, ∀ b ∈ t, a ≤ b → μ*(b-a) ≤ F x b - F x a |
| 30 | dial : ∀ x ∈ s, ContinuousOn (F x) t |
| 31 | transport : ∀ a ∈ t, ContinuousOn (fun x => F x a) s |
| 32 | |
| 33 | def TestsBracket (s t : Set ℝ) (lower upper : ℝ → ℝ) (F : ℝ → ℝ → ℝ) := ∀ x∈s, |
| 34 | lower x ≤ upper x ∧ Icc (lower x) (upper x) ⊆ t ∧ F x (lower x) ≤ 0 ∧ 0 ≤ F x (upper x) |
| 35 | |
| 36 | structure Zeroes (s t : Set ℝ) (F : ℝ → ℝ → ℝ) (d : ℝ → ℝ) : Prop where |
| 37 | admissible : MapsTo d s t |
| 38 | sol : ∀ x ∈ s, F x (d x) = 0 |
| 39 | |
| 40 | variable {s t : Set ℝ} {μ : ℝ} {F : ℝ → ℝ → ℝ} {d lo hi : ℝ → ℝ} |
| 41 | |
| 42 | lemma Response.inverse (h : Response s t μ F) {x a b : ℝ} (hx : x ∈ s) (ha : a ∈ t) (hb : b ∈ t) : |
| 43 | |b-a| ≤ |F x b - F x a| / μ := by |
| 44 | wlog hh : a ≤ b generalizing a b |
| 45 | · simpa [abs_sub_comm a b, abs_sub_comm (F x a)] using this hb ha (le_of_not_ge hh) |
| 46 | rw [le_div_iff₀ h.margin,abs_of_nonneg (sub_nonneg.mpr hh),mul_comm] |
| 47 | exact (h.gain x hx a ha b hb hh).trans (le_abs_self _) |
| 48 | |
| 49 | lemma Response.posterior (h : Response s t μ F) (z : Zeroes s t F d) {x a : ℝ} (hx : x ∈ s) (ha : a ∈ t) : |
| 50 | |d x-a| ≤ |F x a| / μ := by simpa [z.sol x hx] using h.inverse hx ha (z.admissible hx) |
| 51 | |
| 52 | |
| 53 | |
| 54 | lemma Response.continuous (h : Response s t μ F) (z : Zeroes s t F d) : ContinuousOn d s := by |
| 55 | intro x hx; apply tendsto_iff_norm_sub_tendsto_zero.mpr |
| 56 | refine squeeze_zero' (Eventually.of_forall fun _ => norm_nonneg _) (eventually_of_mem self_mem_nhdsWithin |
| 57 | fun y hy => h.posterior z hy (z.admissible hx)) ?_ |
| 58 | simpa [Real.norm_eq_abs,z.sol x hx] using (((h.transport _ (z.admissible hx) x hx).norm).tendsto.div_const μ) |
| 59 | |
| 60 | lemma solve (h : Response s t μ F) (hb : TestsBracket s t lo hi F) : ∃ d, Zeroes s t F d ∧ |
| 61 | ContinuousOn d s ∧ ∀ x∈s, d x ∈ Icc (lo x) (hi x) := by |
| 62 | have H (x : ℝ) : ∃ a, x ∈ s → a ∈ Icc (lo x) (hi x) ∧ F x a = 0 := by |
| 63 | by_cases hx : x∈s |
| 64 | · obtain ⟨hl,ht,h1,h2⟩ := hb x hx |
| 65 | obtain ⟨a,ha,h⟩ := intermediate_value_Icc hl ((h.dial _ hx).mono ht) ⟨h1,h2⟩ |
| 66 | exact ⟨a,fun _ => ⟨ha,h⟩⟩ |
| 67 | exact ⟨0,fun h => False.elim (hx h)⟩ |
| 68 | choose d hd using H |
| 69 | have hz : Zeroes s t F d := ⟨fun _ hx => (hb _ hx).2.1 (hd _ hx).1, fun x hx => (hd x hx).2⟩ |
| 70 | exact ⟨d,hz,h.continuous hz,fun x hx => (hd x hx).1⟩ |
| 71 | |
| 72 | lemma Response.balance {r : ℝ} (hr : 0 ≤ r) (h : Response s (Icc (-r) r) μ F) (h₀ : ∀ x∈s, |F x 0| ≤ μ*r) : |
| 73 | TestsBracket s (Icc (-r) r) (fun _ => -r) (fun _ => r) F := by |
| 74 | have hu : -r ≤ 0 := neg_nonpos.mpr hr |
| 75 | intro x hx; have hF := abs_le.mp (h₀ x hx) |
| 76 | have ha := h.gain x hx (-r) (left_mem_Icc.mpr (hu.trans hr)) 0 ⟨hu,hr⟩ hu |
| 77 | have hb := h.gain x hx 0 ⟨hu,hr⟩ r (right_mem_Icc.mpr (hu.trans hr)) hr |
| 78 | exact ⟨hu.trans hr,Subset.rfl,by linarith,by linarith⟩ |
| 79 | |
| 80 | lemma Response.balance_solve {r : ℝ} (hr : 0 ≤ r) (h : Response s (Icc (-r) r) μ F) (h₀ : ∀ x∈s, |F x 0| ≤ μ*r) : |
| 81 | ∃ d, Zeroes s (Icc (-r) r) F d ∧ ContinuousOn d s := by |
| 82 | obtain ⟨d,h1,h2,_⟩ := solve h (h.balance hr h₀) |
| 83 | exact ⟨d,h1,h2⟩ |
| 84 | end YM.UVNext.CouplingReset |