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.Next.UV_STRESS.Shell |
| 2 | |
| 3 | /-! |
| 4 | # Both unnormalized local Ward charges, as actual field maps |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Next.UVStress |
| 9 | open Filter Function Set MeasureTheory Analysis Extraction Table Ward Climb Work.A01 |
| 10 | open scoped Topology ContDiff BigOperators |
| 11 | variable {G : Gauge} {L : Register G} {T : Table L} {n d D : ℕ} |
| 12 | |
| 13 | /-- Dependence on the complex label at the center. -/ |
| 14 | def chargeField (H : T.Smooth) (J : T.Stress) {χ : E4 → ℝ} (x : Points (n+1)) (hx : x ∈ conf _) |
| 15 | (h : Window x χ) (V : E4 → E4) (hv : ∀ i : Axis,Continuous (fun y => V y i)) (q : Fin n → T.Tag) (d : ℕ) : |
| 16 | T.Field d →ₗ[ℂ] ℂ where |
| 17 | toFun := flux J χ V x q |
| 18 | map_add' A B := by |
| 19 | have ht (v : T.Field d) (i j) := term_integrable J χ V x q v H hx h i j (hv j) |
| 20 | have he i j y : term J χ V x q (A+B) i j y = term J χ V x q A i j y + term J χ V x q B i j y := by |
| 21 | by_cases hz : Analysis.D (basis i) χ y=0 |
| 22 | · simp [term,hz] |
| 23 | unfold term; simp_rw [← mul_add] |
| 24 | let p : Fin (n+2) → T.Tag := Fin.cons ⟨4,J i j⟩ (Fin.cons ⟨d,A⟩ q) |
| 25 | let F := here p (Points.cons y x) (0 : Fin (n+1)).succ d |
| 26 | have hh (v) : F v=T.useAt T (Points.cons y x) (Fin.cons ⟨4,J i j⟩ (Fin.cons ⟨d,v⟩ q)) := by |
| 27 | unfold F; rw [takes]; simp only [p, ← Fin.cons_update, Fin.update_cons_zero, disc] |
| 28 | rw [← hh,← hh,← hh,map_add] |
| 29 | simp_rw [flux,he,integral_add (ht _ ..) (ht _ ..),Finset.sum_add_distrib,neg_add] |
| 30 | map_smul' c A := by |
| 31 | have he i j y : term J χ V x q (c • A) i j y = c • term J χ V x q A i j y := by |
| 32 | let p : Fin (n+2) → T.Tag := Fin.cons ⟨4,J i j⟩ (Fin.cons ⟨d,A⟩ q) |
| 33 | let F := here p (Points.cons y x) (0 : Fin (n+1)).succ d |
| 34 | have hh (v) : F v=T.useAt T (Points.cons y x) (Fin.cons ⟨4,J i j⟩ (Fin.cons ⟨d,v⟩ q)) := by |
| 35 | unfold F; rw [takes]; simp only [p, ← Fin.cons_update, Fin.update_cons_zero, disc] |
| 36 | unfold term; rw [← hh,← hh,map_smul,smul_eq_mul,smul_eq_mul]; ring |
| 37 | simp_rw [flux,he,integral_smul, ← Finset.smul_sum, ← smul_neg]; rfl |
| 38 | |
| 39 | def chargeAngular (H : T.Smooth) (J : T.Stress) {χ : E4 → ℝ} (x : Points (n+1)) (hx : x ∈ conf _) |
| 40 | (h : Window x χ) (q : Fin n → T.Tag) (v : T.Field d) : Ortho.Skew →ₗ[ℝ] ℂ where |
| 41 | toFun k := flux J χ (orbital k (x 0)) x q v |
| 42 | map_add' A B := by |
| 43 | have ht k i j := term_integrable J χ (orbital k (x 0)) x q v H hx h i j (smooth_orbital k _ j).continuous |
| 44 | have he (i j : Axis) (y) : term J χ (orbital (A+B) (x 0)) x q v i j y = |
| 45 | term J χ (orbital A (x 0)) x q v i j y + term J χ (orbital B (x 0)) x q v i j y := by |
| 46 | have hh : orbital (A+B) (x 0) y j=orbital A (x 0) y j+ orbital B (x 0) y j := by |
| 47 | simp [orbital, M4.at_coord,add_mul, Finset.sum_add_distrib] |
| 48 | unfold term; rw [hh]; push_cast; ring |
| 49 | simp_rw [flux, he, integral_add (ht ..) (ht ..), Finset.sum_add_distrib, neg_add] |
| 50 | map_smul' c A := by |
| 51 | rw [show orbital (c • A) (x 0) = (fun y => c • orbital A (x 0) y) from ?_,flux_scale] |
| 52 | · exact Complex.real_smul.symm |
| 53 | funext y; ext1 i; simp [orbital,M4.at_coord,mul_assoc,Finset.mul_sum] |
| 54 | |
| 55 | variable {C : Family G} {S : Table C.book} {F : Extraction.Order} {V : DiffPlan S} |
| 56 | |
| 57 | private lemma map_shell (v : S.Field d → S.Field D) (h : S.Hierarchy) (J : S.Stress) (U : E4 → E4) |
| 58 | (hu : ∀ i : Axis,Continuous (fun y => U y i)) (hp : ∀ B (n : ℕ) (q : Fin n→S.Tag) (x : Points (n+1)), x∈conf _ → |
| 59 | ∀ χ, Window x χ → flux J χ (fun y => U (y - x 0)) x q B = disc (Fin.cons ⟨D,v B⟩ q) x) : |
| 60 | ∃ M : S.Field d →ₗ[ℂ] S.Field D, ∀ B,M B=v B := by |
| 61 | have he (B) (n) (q : Fin n→S.Tag) (x) (ht : x∈conf (n+1)) (χ) (hw : Window x χ) |
| 62 | (ho : ∀ i : Axis,Continuous (fun y => U (y-x 0) i)) : |
| 63 | frontRead q x D (v B)=chargeField h.smooth J x ht hw (fun y => U (y-x 0)) ho q d B := |
| 64 | (front_eval ..).trans (hp B n q x ht χ hw).symm |
| 65 | have hU (t : E4) (i : Axis) : Continuous (fun y => U (y-t) i) := (hu i).comp (continuous_id.sub continuous_const) |
| 66 | refine ⟨⟨⟨v,?_⟩,?_⟩,fun B => rfl⟩ |
| 67 | · intro B D'; apply S.field_ext h.laws.toSymmetric |
| 68 | intro n q x hx |
| 69 | obtain ⟨χ,hχ⟩ := exists_window x hx |
| 70 | simp_rw [← front_eval,map_add]; rw [he _ _ _ _ hx χ hχ (hU (x 0)), he _ _ _ _ hx χ hχ (hU (x 0)), |
| 71 | he _ _ _ _ hx χ hχ (hU (x 0)), map_add] |
| 72 | intro c B; change v (c • B) = c • v B |
| 73 | apply S.field_ext h.laws.toSymmetric; intro n q x hx |
| 74 | obtain ⟨χ,hχ⟩ := exists_window x hx |
| 75 | simp_rw [← front_eval,map_smul]; rw [he _ _ _ _ hx χ hχ (hU (x 0)), he _ _ _ _ hx χ hχ (hU (x 0)),map_smul] |
| 76 | |
| 77 | lemma shells_operate (hC : C.Makes) (hs : Cells.CellHyp C F) (ho : F.PointLimits C S) |
| 78 | (H : S.Hierarchy) (h : V.Derivatives S) (J : S.Stress) (hc : Conserved V H.spin J) |
| 79 | (ht : Probed F J) : |
| 80 | ∃ (p : Parts S) (Y : SpinRows S), StressLaws S J p Y := by |
| 81 | choose X hX using fun d (i : Axis) v => annular_field hC hs ho H h hc (d:=d) v (fun _ => basis i) (fun _ => contDiff_const) |
| 82 | (killing_const _) 0 (fun _ _ _ => by simp) (d+1) (ht.tr d v) |
| 83 | choose P hP using fun d i => map_shell (X d i) H J (fun _ => basis i) (fun _ => continuous_const) (hX d i) |
| 84 | have hv (k : Ortho.Skew) (y : E4) (r : ℝ) : orbital k 0 (r • y)= r^1 • orbital k 0 y := by |
| 85 | simp only [orbital,M4.move,sub_zero,map_smul,pow_one] |
| 86 | choose Y hY using fun d k v => annular_field hC hs ho H h hc (d:=d) v (orbital k 0) |
| 87 | (smooth_orbital k 0) (killing_orbital k 0) 1 (fun y r _ => hv k y r) d (ht.ro d v) |
| 88 | choose R hR using fun d k => map_shell (Y d k) H J (orbital k 0) (fun i => (smooth_orbital k 0 i).continuous) (hY d k) |
| 89 | have hu {n} q k d B (x : Points (n+1)) (hx : x∈conf _) χ (hw : Window x χ) : |
| 90 | frontRead q x d (R d k B)=chargeAngular H.smooth J x hx hw q B k := by |
| 91 | rw [front_eval,hR]; exact (by |
| 92 | simpa [orbital] using! (hY d k B n q x hx χ hw).symm) |
| 93 | let T : SpinRows S := fun d => { toFun := R d |
| 94 | map_add' := ?_, map_smul' := ?_ } |
| 95 | · refine ⟨P,T,fun {n} {x} hx q {χ} w b d B => ?_,fun {n} {x} hx q {χ} w k d B => ?_⟩ |
| 96 | · rw [← flux_translation,hP]; exact hX d b B n q x hx _ w |
| 97 | rw [← flux_spin,← front_eval]; exact (hu q k d B x hx _ w).symm |
| 98 | · intro a b; apply LinearMap.ext; intro v |
| 99 | apply S.field_ext H.laws.toSymmetric; intro n q x hx |
| 100 | obtain ⟨χ,hχ⟩ := exists_window x hx |
| 101 | change S.useAt S _ _ = S.useAt S x (Fin.cons ⟨d,R d a v+R d b v⟩ q) |
| 102 | rw [← front_eval,← front_eval,map_add]; simp only [hu _ _ _ _ _ hx χ hχ,map_add] |
| 103 | intro r k; apply LinearMap.ext; intro v; apply S.field_ext H.laws.toSymmetric; intro n q x hx |
| 104 | obtain ⟨χ,hχ⟩ := exists_window x hx |
| 105 | change S.useAt S _ _ = S.useAt S x (Fin.cons ⟨d,r • R d k v⟩ q) |
| 106 | rw [← front_eval,← front_eval, show frontRead q x d (r • R d k v)=r • frontRead q x d (R d k v) from |
| 107 | ((frontRead q x d).restrictScalars ℝ).map_smul .., hu q k d v _ hx χ hχ, hu q (r • k) d v _ hx χ hχ,map_smul] |
| 108 | end YM.Next.UVStress |