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.Shift.Breath |
| 2 | |
| 3 | /-! |
| 4 | # Surfaces of heights all WITHOUT ratio restrictions (absolute Points) |
| 5 | from power and lines. No tensor density baked in. -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Boundary.Waves |
| 9 | open Filter Set Function MeasureTheory Probe Complex LinearMap |
| 10 | open scoped Topology ContDiff BigOperators Interval ENNReal |
| 11 | variable {G : Gauge} {L : Register G} {S : Table L} {n : ℕ} (F : Waves S) |
| 12 | |
| 13 | section price |
| 14 | variable {v : Fin n → S.Union} {C : ℝ} {m : ℕ} |
| 15 | variable (hm : ∀ (y : Heights n) (k : ℝ), k ∈ Ioc 0 1 → broad y k → ∀ x, ‖F.restricted v y x‖ ≤ C*k⁻¹^m) |
| 16 | |
| 17 | def toll (f : Joint n) (C : ℝ) (m : ℕ) := (∑ j ∈ Finset.range (m+1), ‖coal 1 j‖*(C*weight (moves j f)))+ |
| 18 | C*weight (moves (m+1) f) |
| 19 | lemma tolls (m : ℕ) (C : ℝ) : toll (0:Joint n) C m=0 ∧ Continuous fun f : Joint n => toll f C m := by |
| 20 | unfold toll |
| 21 | refine ⟨by simp,?_⟩ |
| 22 | apply Continuous.add |
| 23 | · apply continuous_finsetSum; intro j _; exact Continuous.const_mul (Continuous.const_mul (weight_cont.comp (moves j).continuous) C) _ |
| 24 | exact Continuous.const_mul (weight_cont.comp (moves (m+1)).continuous) _ |
| 25 | |
| 26 | include hm |
| 27 | lemma cost (y) (hy : y∈sunrise n) (f : Joint n) : ‖F.desired v m y f‖ ≤ toll f C m := by |
| 28 | unfold desired toll |
| 29 | refine (norm_sub_le ..).trans (add_le_add ?_ ?_) |
| 30 | · unfold pol; apply (norm_sum_le ..).trans (Finset.sum_le_sum fun j _ => ?_) |
| 31 | have he := beam F m C hm hy (moves j f) (show (1:ℝ)∈Ioc 0 1 from ⟨zero_lt_one,le_rfl⟩) |
| 32 | rw [norm_mul]; exact mul_le_mul_of_nonneg_left (by simpa only [rocks,one_pow,one_mul] using he) (norm_nonneg _) |
| 33 | have hh := norm_integral_le_of_norm_le (μ := volume.restrict (Ioc (0:ℝ) 1)) |
| 34 | (g := fun _ => C*weight (moves (m+1) f)) (f := F.wind v m y f) (integrable_const _) |
| 35 | (ae_restrict_of_forall_mem measurableSet_Ioc fun _ hx => F.expense _ hm _ hy f hx) |
| 36 | simpa using hh |
| 37 | |
| 38 | lemma storm (h : F.Along) (p : F.Lines) (y) (hy : y∈sunrise n) (f : Joint n) : Tendsto (fun x => F.psi v x f) |
| 39 | (𝓝[east n] y) (𝓝 (F.desired v m y f)) := by |
| 40 | apply ((F.maintains v h _ hm f y hy).mono fun x t => bigger (n:=n) t).congr' |
| 41 | filter_upwards [self_mem_nhdsWithin] with x hx using F.meant h p _ _ hx f m |
| 42 | end price |
| 43 | |
| 44 | lemma seeks (h : F.Bounds) (ha : F.Along) (hm : F.Lines) (hp : F.Breathes) (y) (hy : y∈sunrise n) : |
| 45 | ∃ W : MultilinearMap ℂ (fun _ : Fin n => S.Union) (Distn (Points n)), ∀ (v : Fin n → S.Union) (f : Joint n), |
| 46 | Tendsto (fun t => F.psi v t f) (𝓝[east n] y) (𝓝 (W v f)) := by |
| 47 | classical |
| 48 | let T := 𝓝[east n] y |
| 49 | have hT : T.NeBot := awaits hy |
| 50 | choose m C hC H using hp n |
| 51 | let g (v : Fin n → S.Union) := F.desired v (m v) y |
| 52 | have hg v f : Tendsto (fun t => F.psi v t f) T (𝓝 (g v f)) := F.storm (H v) ha hm y hy f |
| 53 | let D (v : Fin n → S.Union) : Joint n→ₗ[ℂ] ℂ := |
| 54 | { toFun := g v |
| 55 | map_add' := by |
| 56 | intro f p; refine tendsto_nhds_unique (hg v (f+p)) (((hg v f).add (hg v p)).congr' ?_) |
| 57 | filter_upwards [self_mem_nhdsWithin (a:=y) (s:=east n)] with t ht |
| 58 | unfold psi; rw [← integral_add (h n v t ht f) (h n v t ht p)] |
| 59 | apply integral_congr_ae; filter_upwards with x; simp [mul_add] |
| 60 | map_smul' := by |
| 61 | intro c f; apply tendsto_nhds_unique (hg v (c•f)) (((hg v f).const_mul c).congr' ?_) |
| 62 | filter_upwards [self_mem_nhdsWithin (a:=y) (s:=east n)] with t ht |
| 63 | unfold psi; rw [← integral_const_mul]; congr! 1; ext x; simp; ring } |
| 64 | let W (v) : Distn (Points n) := ⟨D v, sways (fun f => toll f (C v) (m v)) (tolls (m v) (C v)).2 (tolls (m v) (C v)).1 (fun f => F.cost (H v) y hy f)⟩ |
| 65 | let B : MultilinearMap ℂ (fun _ : Fin n => S.Union) (Distn (Points n)) := |
| 66 | { toFun := W |
| 67 | map_update_add' := by |
| 68 | intro _ v j x z; ext1 f |
| 69 | refine tendsto_nhds_unique (hg (update v j (x+z)) f) (((hg (update v j x) f).add (hg (update v j z) f)).congr' ?_) |
| 70 | filter_upwards [self_mem_nhdsWithin (a:=y) (s:=east n)] with t ht |
| 71 | unfold psi |
| 72 | rw [← integral_add (h n _ t ht _) (h n _ t ht _)] |
| 73 | congr! 1; ext p; simp [restricted,add_mul] |
| 74 | map_update_smul' := by |
| 75 | intro _ v j c x; ext1 f |
| 76 | refine tendsto_nhds_unique (hg (update v j (c•x)) f) (((hg (update v j x) f).const_mul c).congr' ?_) |
| 77 | filter_upwards [self_mem_nhdsWithin (a:=y) (s:=east n)] with t ht |
| 78 | unfold psi |
| 79 | rw [← integral_const_mul]; congr! 1; ext p; simp [restricted,mul_assoc] } |
| 80 | exact ⟨B,hg⟩ |
| 81 | |
| 82 | /-- All ordered heights, *not just fixed slopes*, as required for Hilbert vector limits. -/ |
| 83 | lemma jointly (h : F.Bounds) (ha : F.Along) (hm : F.Lines) (hp : F.Breathes) : |
| 84 | ∃ W : Surface S, F.NonTangentialFree W := by |
| 85 | choose B hB using fun n : ℕ => F.seeks h ha hm hp 0 (light n) |
| 86 | exact ⟨⟨B⟩,⟨h,hB⟩⟩ |
| 87 | end YM.Boundary.Waves |