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.Analysis.SpecialFunctions.SmoothTransition |
| 2 | import YM.Pressure.Seeds |
| 3 | |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | These overlapping smooth profile sectors are different from the existing |
| 8 | hard thresholdStores partition. Both give pointwise finite identities, but |
| 9 | no equivalence of the two sector records is asserted. Output flags remain |
| 10 | the actual flags. No output flag or threshold indicator is differentiated. |
| 11 | |
| 12 | Smoothness of the scalar profile is proved below. Pulling that profile back |
| 13 | through physical fields still requires the stated squared-chord smoothness |
| 14 | gate. In particular, this file does not assert global smoothness of a tagged |
| 15 | predictor across its analytic/fallback branch boundaries. |
| 16 | |
| 17 | Source-only proposal for MY1's Lean 4.32/Mathlib81a5 build queue. |
| 18 | -/ |
| 19 | |
| 20 | set_option autoImplicit false |
| 21 | noncomputable section |
| 22 | namespace YM.Work.MY3SmoothSeedSectors |
| 23 | |
| 24 | open Lattice Wilson RG Pressure Pressure.Stores |
| 25 | |
| 26 | open scoped BigOperators Classical |
| 27 | |
| 28 | variable {G : Gauge} {c f : Side} |
| 29 | |
| 30 | /-- Smooth, nonincreasing, one through 1 and zero from 4. -/ |
| 31 | def chi (s : ℝ) : ℝ := Real.smoothTransition ((4 - s) / 3) |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | def defaultProfile (τ r : ℝ) : ℝ := chi ((r / τ) ^ 2) |
| 46 | |
| 47 | def chosenProfile (τ r : ℝ) (selected : Bool) : ℝ := |
| 48 | if selected = true then 1 - defaultProfile τ r else defaultProfile τ r |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | /-- One independent default/nondefault choice at every physical fine |
| 67 | plaquette and coarse noise bond. Flags are not additional profile choices. -/ |
| 68 | abbrev Choices (c f : Side) := (Cell f → Bool) × (Bond c → Bool) |
| 69 | |
| 70 | def profile (S : StepData c f) (U : Config G f) (k : S.Choices) |
| 71 | (V : Config G c) (x w : ℝ) (a : Choices c f) : ℝ := |
| 72 | (∏ p : Cell f, chosenProfile (fiery G x S.patch.L / 4) (toll U p) (a.1 p)) * |
| 73 | ∏ b : Bond c, chosenProfile (w * fiery G x S.patch.L) |
| 74 | (wire (S.prediction U k) V b) (a.2 b) |
| 75 | |
| 76 | def stores (S : StepData c f) (V : Config G c) (x : ℝ) (a : Choices c f) : |
| 77 | Stores S := |
| 78 | ⟨Finset.univ.filter (fun p => a.1 p = true), |
| 79 | Finset.univ.filter (fun b => a.2 b = true), RG.flags (temp x) V⟩ |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | |
| 93 | end YM.Work.MY3SmoothSeedSectors |