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.Pert.Align.Bilateral |
| 2 | /-! |
| 3 | Pair each independently averaged stencil with the inverse turn *on free equation solution slots*. No rotation of the relative endpoint positions. |
| 4 | -/ |
| 5 | set_option autoImplicit false |
| 6 | set_option maxHeartbeats 500000 |
| 7 | set_option maxRecDepth 4000 |
| 8 | noncomputable section |
| 9 | namespace YM.Pert.Align |
| 10 | open Lattice Filter Maxwell Full Labels MeasureTheory Atom |
| 11 | open scoped Topology BigOperators Classical |
| 12 | variable {G : Gauge} {j k:ℕ} {n : Side} |
| 13 | abbrev TaylorDual (G : Gauge) (j : ℕ) := Module.Dual ℝ (Labels.Taylor G j) |
| 14 | def reduc (s : Signed) (P : TaylorDual G j) : Pad G j := P ∘ₗ Labels.Taylor.turn s.ortho ∘ₗ YM.Pert.Bare.radialMap |
| 15 | lemma plain_reduc (s : Signed) (P : TaylorDual G j) : plain s (reduc s P) = P ∘ₗ Maxwell.gaugeJet := by |
| 16 | apply LinearMap.ext; intro y |
| 17 | change P (Labels.Taylor.turn s.ortho (YM.Pert.Bare.radialize (sampleSol s y))) = _ |
| 18 | have he := Maxwell.match_leg (Push.FiniteDetection.Free.Hyper.turn s y) |
| 19 | rw [show sampleSol s y = YM.Pert.Bare.components (gaugeJet (Push.FiniteDetection.Free.Hyper.turn s y)) from by |
| 20 | unfold YM.Pert.Bare.components; rw [he]; rfl, YM.Pert.Bare.complete, Push.FiniteDetection.Free.Hyper.gaugeTurn, |
| 21 | ← Labels.Taylor.turn_mul]; simp |
| 22 | |
| 23 | def cAvg := (Fintype.card Signed:ℝ)⁻¹ |
| 24 | lemma wide_avg {Z : Type*} [AddCommGroup Z] [One Z] (x : Four Z) (h : ℝ) (a : Lattice.Links Z G.Color) (P : TaylorDual G j) : |
| 25 | P (YM.Pert.Bare.wideLinear G j h x a) = cAvg * ∑ s : Signed, reduc s P (chart j s h x a) := by |
| 26 | unfold YM.Pert.Bare.wideLinear cAvg chart |
| 27 | simp only [LinearMap.smul_apply,LinearMap.comp_apply,LinearMap.sum_apply,map_smul,map_sum,smul_eq_mul] |
| 28 | apply congrArg ((Fintype.card Signed:ℝ)⁻¹ * ·); apply Finset.sum_congr rfl; intro s _ |
| 29 | rw [reduc]; simp [gain] |
| 30 | |
| 31 | def tayForm (z : E4) (hz : z≠0) : Biform (TaylorDual G j) (TaylorDual G k) := under (pairing hz) (pickDual Maxwell.gaugeJet) (pickDual Maxwell.gaugeJet) |
| 32 | lemma synth_turn (s t : Signed) (z : E4) (hz : z≠0) (P : TaylorDual G j) (Q : TaylorDual G k) : synthesis z hz s t (reduc s P) (reduc t Q) = tayForm z hz P Q := by rw [synthesis, tayForm, under_at, under_at,plain_reduc,plain_reduc];rfl |
| 33 | lemma slope_avg (x : Site n) (h : ℝ) (P : TaylorDual G j) : P ∘ₗ YM.Pert.Bare.slope h x j = cAvg • ∑ s : Signed, reduc s P ∘ₗ chartOrb j s h x := by |
| 34 | apply LinearMap.ext; intro y |
| 35 | change P (YM.Pert.Bare.slope h x j y) = _ |
| 36 | rw [←YM.Pert.Bare.slope_eq,wide_avg] |
| 37 | simp only [LinearMap.smul_apply,LinearMap.sum_apply,smul_eq_mul]; rfl |
| 38 | abbrev D := Signed × Signed |
| 39 | def duo (f : Signed → Signed → ℝ) := cAvg*cAvg*∑ i:D, f i.1 i.2 |
| 40 | lemma duo_const (x : ℝ) : duo (fun _ _=>x)=x := by |
| 41 | change (Fintype.card Signed:ℝ)⁻¹ * ((Fintype.card Signed : ℝ)⁻¹) * (∑ _ : Signed × Signed,x) = x |
| 42 | simp only [Finset.sum_const,Finset.card_univ,Fintype.card_prod,nsmul_eq_mul,Nat.cast_mul] |
| 43 | have he : (Fintype.card Signed : ℝ)≠0 := by positivity |
| 44 | field_simp |
| 45 | lemma duo_sub (f g : Signed→Signed→ℝ) : duo f - duo g = duo (fun s t => f s t - g s t) := by unfold duo; rw [Finset.sum_sub_distrib,mul_sub] |
| 46 | lemma duo_tend (f : ℕ→Signed→Signed→ℝ) (x : Signed→Signed→ℝ) (hf : ∀ s t, Tendsto (fun m=>f m s t) atTop (𝓝 (x s t))) : Tendsto (fun m => duo (f m)) atTop (𝓝 (duo x)) := Tendsto.const_mul _ (tendsto_finsetSum Finset.univ (fun i _ => hf i.1 i.2)) |
| 47 | lemma avg_cross (f g : Signed → ℝ) (p : ℝ): p * ((cAvg*(∑ s,f s)) * (cAvg*(∑ s,g s))) = duo (fun s t => p*(f s*g t)) := by |
| 48 | change _ = cAvg*cAvg*∑ i : Signed × Signed,p*(f i.1*g i.2) |
| 49 | rw [Fintype.sum_prod_type] |
| 50 | change _ = cAvg*cAvg*∑ s,∑ t, p*(f s*g t) |
| 51 | simp_rw [←Finset.mul_sum,←Finset.sum_mul] |
| 52 | ring |
| 53 | |
| 54 | -- shellCover as average with same order for convenience |
| 55 | |
| 56 | def shellForm (h : ℝ) (P : TaylorDual G j) (Q : TaylorDual G k) := duo (fun s t => sphereForm j k s t h (reduc s P) (reduc t Q)) |
| 57 | def legP (h : ℝ) (P : TaylorDual G j) (c : Channel G) (q : E4) := P (YM.Pert.Bare.wideLinear G j h 0 (material c q)) |
| 58 | lemma shell_at (h : ℝ) (P : TaylorDual G j) (Q : TaylorDual G k) (q): ((delta q)⁻¹ * ∑ c : Channel G, legP h P c q * legP h Q c q) = duo (fun s t =>coverPair j k s t h q (reduc s P) (reduc t Q)) := by |
| 59 | let X (s : Signed) (J : ℕ) (a : TaylorDual G J) (c : Channel G) := reduc s a (chart J s h 0 (material c q)) |
| 60 | dsimp only [legP]; simp_rw [wide_avg,Finset.mul_sum] |
| 61 | have L (c:Channel G) := avg_cross (fun s =>X s j P c) (fun s=>X s k Q c) ((delta q)⁻¹ : ℝ) |
| 62 | have E : (∑ c : Channel G, (delta q)⁻¹*((cAvg*(∑ s,X s j P c)) * (cAvg* ∑ s,X s k Q c))) = ∑ c : Channel G, duo (fun s t => (delta q)⁻¹*(X s j P c*X t k Q c)) := Finset.sum_congr rfl fun c _=>L c |
| 63 | -- reverse normalization if needed |
| 64 | -- change _ = _ |
| 65 | dsimp [X] at E |
| 66 | simp_rw [Finset.mul_sum] at E |
| 67 | rw [E]; unfold duo coverPair; rw [←Finset.mul_sum,Finset.sum_comm];simp_rw [Finset.mul_sum] |
| 68 | |
| 69 | def orbital (h : ℝ) (x y : Site n) (P : TaylorDual G j) (Q : TaylorDual G k) := jointB G n (P ∘ₗ YM.Pert.Bare.slope h x j) (Q∘ₗ YM.Pert.Bare.slope h y k) |
| 70 | lemma orbit_eq (h : ℝ) (x y : Site n) (P : TaylorDual G j) (Q : TaylorDual G k) : orbital h x y P Q = duo (fun s t => ordinary j k s t h x y (reduc s P) (reduc t Q)) := by |
| 71 | rw [orbital,slope_avg,slope_avg]; unfold duo; simp only [map_smul,map_sum,LinearMap.sum_apply,LinearMap.smul_apply,smul_eq_mul] |
| 72 | -- simp sums. Need reorganize. test |
| 73 | let f s t := (jointB G n) (reduc s P ∘ₗ chartOrb j s h x) (reduc t Q ∘ₗ chartOrb k t h y) |
| 74 | change cAvg * (∑t,cAvg*∑d,f d t)=cAvg*cAvg*∑ v:Signed × Signed, f v.1 v.2 |
| 75 | rw [Fintype.sum_prod_type] |
| 76 | change cAvg*∑ t,cAvg*∑ d,f d t= cAvg*cAvg*∑d,∑t,f d t |
| 77 | rw [←Finset.mul_sum, Finset.sum_comm]; ring |
| 78 | |
| 79 | variable {z : E4} |
| 80 | lemma orbit_limit (T : Itinerary) (x y : StepPath T) (hz : z≠0) (hs : Scene T x y z) (hf : Finale T x y z) (P : TaylorDual G j) (Q : TaylorDual G k): |
| 81 | Tendsto (fun i:ℕ => orbital (T.gap i) (x i) (y i) P Q) atTop (𝓝 (tayForm z hz P Q)) := by |
| 82 | let f (m : ℕ) (s t : Signed) := ordinary j k s t (T.gap m) (x m) (y m) (reduc s P) (reduc t Q) |
| 83 | let g (s t:Signed) := synthesis z hz s t (reduc s P) (reduc t Q) |
| 84 | have he (s t:Signed) := chart_limit T x y s t z hz hs hf (reduc s P) (reduc t Q) |
| 85 | have H:= duo_tend f g he |
| 86 | have HD : duo g = tayForm z hz P Q := by rw [show g = fun _ _=>tayForm z hz P Q from funext fun s=>funext fun t=>synth_turn ..]; exact duo_const _ |
| 87 | rw [HD] at H |
| 88 | apply H.congr; intro m;exact (orbit_eq ..).symm |
| 89 | lemma orbit_contact (T : Itinerary) (x : StepPath T) (hf : Finale T x x z) (P : TaylorDual G j) (Q : TaylorDual G k): |
| 90 | Tendsto (fun i:ℕ=> orbital (T.gap i) (x i) (x i) P Q - shellForm (T.gap i) P Q) atTop (𝓝 0) := by |
| 91 | let f (m : ℕ) (s t : Signed) := ordinary j k s t (T.gap m) (x m) (x m) (reduc s P) (reduc t Q) |
| 92 | let g (m : ℕ) (s t:Signed) := sphereForm j k s t (T.gap m) (reduc s P) (reduc t Q) |
| 93 | have H := duo_tend (fun m=>fun s t=> f m s t - g m s t) (fun _ _=>0) (fun s t=> chart_return T x s t z hf (reduc s P) (reduc t Q)) |
| 94 | rw [duo_const] at H |
| 95 | apply H.congr; intro m; rw [orbit_eq,shellForm,duo_sub] |
| 96 | |
| 97 | variable (h : ℝ) |
| 98 | lemma leg_unfold (u : Key G) (c : Channel G) (q : E4) : leg h u c q = legP h ((axes G u.1).coord u.2 : TaylorDual G u.1) c q := by |
| 99 | unfold legP |
| 100 | erw [wide_avg,Full.leg,wide_avg (0:Cover)] |
| 101 | |
| 102 | def Kspectral (P : TaylorDual G j) (Q : TaylorDual G k) (q : E4) : ℝ := (delta q)⁻¹ * ∑ c : Channel G, legP h P c q *legP h Q c q |
| 103 | lemma shell_help (P : TaylorDual G j) (Q : TaylorDual G k) : volumeFactor * (∫ q in cube, Kspectral h P Q q) = shellForm h P Q := by |
| 104 | unfold Kspectral; simp_rw [shellForm,shell_at,sph_eq]; unfold duo |
| 105 | rw [integral_const_mul,integral_finsetSum Finset.univ] |
| 106 | · simp_rw [←Finset.mul_sum];ring |
| 107 | intro r _; apply cont_cost |
| 108 | lemma shell_exact (u v : Key G): link h u v = shellForm h ((axes G u.1).coord u.2) ((axes G v.1).coord v.2) := by |
| 109 | let P : TaylorDual G u.1 := (axes G u.1).coord u.2 |
| 110 | let Q : TaylorDual G v.1 := (axes G v.1).coord v.2 |
| 111 | apply Eq.trans (show link h u v = volumeFactor * (∫ q in cube, Kspectral h P Q q) from ?_) (shell_help h P Q) |
| 112 | apply congrArg (fun A : E4→ℝ => volumeFactor * (∫ q in cube, A q)) |
| 113 | funext q; unfold spectral Kspectral; apply congrArg ((delta q)⁻¹ * ·); apply Finset.sum_congr (by ext; simp); intro c _;rw [leg_unfold h u,leg_unfold h v] |
| 114 | end YM.Pert.Align |