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.PCalc.Band |
| 2 | import YM.Source.Drops |
| 3 | |
| 4 | /-! |
| 5 | # Normalization: requests G01–G08 on Snap ≈ reference time origins. |
| 6 | |
| 7 | Alternative section via analytic recovery from finitely many path curvature |
| 8 | factors. Need real projection & t^ell norm. G07 price kernel widths of that |
| 9 | alternate on finite stencils for actual Conv, not arbitrary clean. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Bid |
| 14 | open Filter Function Set RG Wilson Lattice Supply Labels Source Drops InnerProductSpace MeasureTheory |
| 15 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators NNReal |
| 16 | variable {G : Gauge} {d : ℕ} |
| 17 | |
| 18 | -- H exists genuinely. π not a field optimizer. |
| 19 | |
| 20 | def swirls (H : Hol G) := ∀ (s : Signed) d (J : Jet G) t, |
| 21 | pull s 0 (H.links d J t)=H.links d (changedJet (fun _ => Taylor.turn s.ortho⁻¹) J) t |
| 22 | |
| 23 | def G01 : Prop := ∀ (G : Gauge) (H : Hol G), swirls H ∧ ∀ d v (u : G.El) (A : Snap G d), takes H d v (Cast u A)=G.adjoint u (takes H d v A) |
| 24 | |
| 25 | /-- Joint analytic recovery for each Slot type. -/ |
| 26 | def G02 : Prop := G01 → ∀ (G : Gauge) (H : Hol G) (d : ℕ), Peg H d |
| 27 | |
| 28 | /-- Kernel of linearized jet sampler. Use `glow`! finite number of ANY |
| 29 | fundamental loops (claim unknown). -/ |
| 30 | def G03 : Prop := ∀ (G : Gauge) (H : Hol G) (d : ℕ), Peg H d → ∃ (s : ℕ) (B : Fin s → Slot), lifts H d s B |
| 31 | |
| 32 | structure Equivariant (H : Hol G) (d : ℕ) {m} (B : Fin m → Slot) : Prop where |
| 33 | smooth : AnalyticAt ℝ (bring H d B) 0 |
| 34 | detects : ∃ C : GaugePanel G m →ₗ[ℝ] Snap G d, (∀ x, C (fderiv ℝ (bring H d B) 0 x)=x) ∧ |
| 35 | ∀ u x,C (rotates u x)=Cast u (C x) |
| 36 | |
| 37 | def G04 : Prop := ∀ (G : Gauge) (H : Hol G) (d m : ℕ) (B : Fin m → Slot), Peg H d → lifts H d m B → Equivariant H d B |
| 38 | |
| 39 | -- Real polynomial on slots. Terms all length≥ l. |
| 40 | abbrev Pose (G : Gauge) (n : ℕ) := MvPolynomial (Fin n×G.ColorIndex) ℂ |
| 41 | |
| 42 | def lows {n} (p : Pose G n) (i : ℕ) : Prop := ∀ m∈p.support,i ≤ m.sum fun _ j => j |
| 43 | |
| 44 | def lumin {G : Gauge} {n} (p : Pose G n) (q : GaugePanel G n) := MvPolynomial.aeval (fun i : Fin n × G.ColorIndex => ((q i.1 i.2:ℝ):ℂ)) p |
| 45 | |
| 46 | def mapped {s} (B : Fin s → Slot) (U : CoverConfig G) : GaugePanel G s := fun i => (B i).eval U |
| 47 | |
| 48 | def Cumuli (H : Hol G) (d : ℕ) (F : Labels.Frame G d) {m} (B : Fin m → Slot) (P : F.Index → Pose G m) : Prop := |
| 49 | P 0=1 ∧ (∀ i u x, lumin (P i) (rotates u x)=lumin (P i) x) ∧ (∀ i x,star (lumin (P i) x)=lumin (P i) x) ∧ |
| 50 | (∀ i, Projects H (F.basis i) (lumin (P i) ∘ mapped B)) ∧ ∀ i,lows (P i) (F.grades i).2 |
| 51 | |
| 52 | def G05 : Prop := ∀ (G : Gauge) (H : Hol G) (d : ℕ) (F : Labels.Frame G d) (m : ℕ) (B : Fin m → Slot), Peg H d → ∀ f, Vision H d B f → |
| 53 | ∃ P,Cumuli H d F B P |
| 54 | |
| 55 | def pop {F : Labels.Frame G d} (T : SectionData F) := ∀ i : F.Index, ∃ (m : ℕ) (B : Fin m → Slot), |
| 56 | (∀ b,(B b).stencil ⊆ T.stencil) ∧ ∃ P, T.evaluate (Pi.single i 1)=(lumin P ∘ mapped B (G:=G)) ∧ lows P (F.grades i).2 |
| 57 | |
| 58 | def G06 : Prop := ∀ (G : Gauge) (H : Hol G) (d : ℕ) (F : Labels.Frame G d) (m : ℕ) (B : Fin m → Slot), |
| 59 | swirls H → (∃ P, Cumuli H d F B P) → |
| 60 | ∃ T : SectionData F, T.Sound H ∧ pop T |
| 61 | |
| 62 | /-- charged section, independent even support cost. Includes nonlinear part. -/ |
| 63 | def Credit {F : Labels.Frame G d} (T : SectionData F) (k P : ℕ) (w : ℝ) := |
| 64 | ∀ B : BudgetPoint, B.order=k → B.power=P → ∀ n : Side, ∀ o : Site n, ∀ i : F.Index, |
| 65 | B.Regular (T.footprint o) (T.places (Pi.single i 1) o) ∧ |
| 66 | B.supBounds o (T.footprint o) (T.places (Pi.single i 1) o) (w*B.threshold^(F.grades i).2) |
| 67 | |
| 68 | def G07 : Prop := ∀ (G : Gauge) (H : Hol G) (d : ℕ) (F : Labels.Frame G d) (T : SectionData F), T.Sound H → pop T → |
| 69 | ∀ k P : ℕ,∃ A : ℝ,Credit T k P A |
| 70 | |
| 71 | -- smoke |
| 72 | structure Learns (G : Gauge) (H : Hol G) (F : Frames G) : Prop where |
| 73 | builds : ∃ B : ∀ d : ℕ,SectionData (F.level d),(∀ d, (B d).Sound H) ∧ (∀ d,pop (B d)) ∧ |
| 74 | ∀ d k P, ∃ v,Credit (B d) k P v |
| 75 | |
| 76 | set_option maxHeartbeats 400000 in |
| 77 | lemma teaching (G : Gauge) (H : Hol G) (F : Frames G) (a : G01) (b : G02) (c : G03) (d : G04) (e : G05) (f : G06) (v : G07) : Learns G H F := by |
| 78 | classical |
| 79 | have ht (i) : ∃ Q : SectionData (F.level i), Q.Sound H ∧ pop Q := by |
| 80 | have hx := b a G H i |
| 81 | obtain ⟨m,B,hB⟩ := c G H i hx |
| 82 | obtain ⟨he,C,h1,h2⟩ := d G H i m B hx hB |
| 83 | obtain ⟨u,hv⟩ := insight he C h1 h2 hx |
| 84 | exact f G H i (F.level i) m B (a G H).1 (e G H i (F.level i) m B hx u hv) |
| 85 | choose Q hB hc using ht |
| 86 | exact ⟨Q,hB,hc,fun i k P => v G H i _ _ (hB i) (hc i) k P⟩ |
| 87 | end YM.Bid |