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.Extra.ITERATION_NO_LOSS.Calibration |
| 2 | import YM.Extra.ITERATION_NO_LOSS.Roots |
| 3 | import YM.Work.F04.Choices |
| 4 | import YM.Work.F05 |
| 5 | |
| 6 | /-! Germ splitting for the fresh (pure determinant/Haar) calculation in RLoops. -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.Extra.Iteration.Calibration |
| 10 | open Filter Function Lattice Wilson RG Exterior Precision Tree Bloch Bid Matrix Finset |
| 11 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius InnerProductSpace |
| 12 | |
| 13 | variable {G : Gauge} {n c f : Side} {S : StepData c f} |
| 14 | |
| 15 | def determinant (H : Forest S.ratio) (a : S.Choices) (R : PathData G) (p : Clip) |
| 16 | (ρ : Dir G c → AxisChart G H) (O : ChartRatio G) (x : Dir G c) := (1/2:ℝ)*Real.log (hessian H a p R x (ρ x)).det - |
| 17 | Real.log (∏ i : H.Free, O.J (ρ x i)) |
| 18 | |
| 19 | def errorBound (ρ σ : Dir G c → ℝ) (Θ γ Λ : ℝ) := ∀ (i j : Site c) (e f : TypeFace 1 → G.ColorIndex → ℂ), |
| 20 | (∀ x y, ‖e x y‖ ≤ 1) → (∀ x y, ‖f x y‖ ≤ 1) → |
| 21 | |jet 2 ρ ![wave i e,wave j f] - jet 2 σ ![wave i e,wave j f]| ≤ |
| 22 | (Fintype.card (Site c):ℝ)*Θ*Λ*Real.exp (-γ*c.val) |
| 23 | |
| 24 | def FreshDet (H : Forest S.ratio) (a : S.Choices) (R T : PathData G) (p q : Clip) (ρ : Dir G c → AxisChart G H) |
| 25 | (O : ChartRatio G) (α Θ γ : ℝ) := errorBound (determinant H a R p ρ O) (draft α T q) Θ γ 1 |
| 26 | |
| 27 | lemma determinant_jet {H : Forest S.ratio} {p R ρ η} (he : 0 < η) (h : PriceGap H p R η) (hr : Critical H p R ρ) |
| 28 | (a : S.Choices) {O : ChartRatio G} (hO : LocalRatio O) : ContDiffAt ℝ ω (determinant H a R p ρ O) 0 := by |
| 29 | unfold determinant |
| 30 | have hd := Work.F05.curve_partial (F:= fun x => fderiv ℝ (tested H a p R x)) (Work.F05.curve_partial (hr.2.2 a).1) |
| 31 | have hj : ContDiffAt ℝ ω (fun x => (hessian H a p R x (ρ x)).det) 0 := by |
| 32 | simp_rw [det_apply] |
| 33 | apply ContDiffAt.sum; intro i _ |
| 34 | simp_rw [Units.smul_def, zsmul_eq_mul] |
| 35 | refine ContDiffAt.mul contDiffAt_const (contDiffAt_prod fun j _ => ?_) |
| 36 | have ht : ContDiffAt ℝ ω (fun x => fderiv ℝ (fderiv ℝ (tested H a p R x)) (ρ x)) 0 := |
| 37 | (show ContDiffAt ℝ ω (uncurry fun x => fderiv ℝ (fderiv ℝ (tested H a p R x))) ((0:Dir G c), ρ 0) from (by rw [hr.1]; exact hd)).comp |
| 38 | (f:=fun x : Dir G c => (x,ρ x)) 0 (graph_jet _ hr.2.1) |
| 39 | simp only [hessian, of_apply,iteratedFDeriv_two_apply, Matrix.cons_val_zero,Matrix.cons_val_one,Matrix.cons_val_fin_one] |
| 40 | exact (ht.clm_apply contDiffAt_const).clm_apply contDiffAt_const |
| 41 | refine (contDiffAt_const.mul (Real.contDiffAt_log.mpr (mem_of_mem_nhds (Work.F05.hessian_pos he h hr a)).ne' |>.comp _ hj)).sub ?_ |
| 42 | have ht : ContDiffAt ℝ ω (fun x => ∏ i : H.Free,O.J (ρ x i)) 0 := contDiffAt_prod fun i _ => by |
| 43 | refine ContDiffAt.comp (f:=fun x => ρ x i) 0 ?_ ((contDiffAt_pi.mp hr.2.1) i) |
| 44 | rw [hr.1,Pi.zero_apply]; exact hO.germ _ (Metric.mem_ball_self hO.patch) |
| 45 | exact (Real.contDiffAt_log.mpr (by simp [hr.1,hO.anchored])).comp 0 ht |
| 46 | |
| 47 | lemma thermal_jet {H : Forest S.ratio} {p R ρ η σ C Λ} (he : 0 < η) (h : PriceGap H p R η) (hr : Critical H p R ρ) |
| 48 | (a : S.Choices) {O : ChartRatio G} (hO : LocalRatio O) (hp : R.Bounds p σ C Λ) : ContDiffAt ℝ ω (thermal H a p R ρ O) 0 := by |
| 49 | rw [show thermal H a p R ρ O = aged R.loop H ρ + determinant H a R p ρ O by ext1; simp only [thermal,determinant,aged,liftedTo,Pi.add_apply]; unfold action Precision.loop; abel] |
| 50 | exact (action_smooth hp.width hp.two (liftedTo_smooth _ hr.2.1 hr.1)).add (determinant_jet he h hr a hO) |
| 51 | |
| 52 | lemma determinant_price {H : Forest S.ratio} {p ρ η Λ} (R : PathData G) (he : 0 < η) (h : PriceGap H p R η) |
| 53 | (hr : Critical H p R ρ) (a : S.Choices) {O : ChartRatio G} (hO : LocalRatio O) |
| 54 | (Q : Bed) (three four old fresh) {q σ' C' Λ'} (hq : (bundle Q three four (join fresh old)).Bounds q σ' C' Λ') |
| 55 | {B D} (hF : Charged fresh σ' B) (hD : Charged old σ' D) {α γ Θ : ℝ} (hΘ : 0 ≤ Θ) (hΛ : 1 ≤ Λ) |
| 56 | (hh : FreshDet H a R (bundle Q three four fresh) p q ρ O α Θ γ) |
| 57 | (hT : SameJet 2 (aged R.loop H ρ) (acted old)) : |
| 58 | errorBound (thermal H a p R ρ O) (draft α (bundle Q three four (join fresh old)) q) Θ γ Λ := by |
| 59 | have ht : thermal H a p R ρ O = determinant H a R p ρ O + aged R.loop H ρ := by |
| 60 | funext x; unfold thermal determinant; simp only [Pi.add_apply]; unfold aged action liftedTo Precision.loop; abel |
| 61 | let Z := bundle Q three four (join fresh old) |
| 62 | let y := bundle Q three four fresh |
| 63 | have hu : draft (c:=c) α Z q = draft α y q + acted old := by |
| 64 | ext x; change α*secondTerm q Z (represent x) + action (join fresh old) (represent x) = _ |
| 65 | rw [action_join hq.width hF hD _, ← add_assoc]; rfl |
| 66 | have hdraft : ContDiffAt ℝ ω (fun x : Dir G c => α * core Z q x + acted fresh x) 0 := ((contDiffAt_const (c:=α)).mul (core_jet hq)).add |
| 67 | (acted_jet _ hq.width hF) |
| 68 | change ContDiffAt ℝ ω (draft (c:=c) α y q) 0 at hdraft |
| 69 | intro i j e f he hf |
| 70 | rw [ht, jet_add _ (determinant_jet ‹0 < η› h hr a hO) hT.1, hu, jet_add _ hdraft (acted_jet _ hq.width hD), |
| 71 | show jet 2 (aged R.loop H ρ)=_ from hT.2.2,_root_.add_apply,_root_.add_apply,add_sub_add_right_eq_sub] |
| 72 | exact (hh i j e f he hf).trans (by gcongr) |
| 73 | |
| 74 | lemma tag_thermal {H : Forest S.ratio} {p R ρ} (h : S.patch.Branches S.kernel G) (hr : Critical H p R ρ) |
| 75 | (O : ChartRatio G) (a b : S.Choices) : thermal H a p R ρ O =ᶠ[𝓝 0] thermal H b p R ρ O := by |
| 76 | filter_upwards [(Work.F05.crit_home hr).eventually (eventually_eventually_nhds.mpr (Work.F04.tested_germ h H p R a b))] with x hx |
| 77 | have hz : tested H a p R x =ᶠ[𝓝 (ρ x)] tested H b p R x := Work.F05.hold_near (V:=fun z => uncurry (tested H a p R) z=uncurry (tested H b p R) z) hx |
| 78 | simp only [thermal,hessian,(hz.iteratedFDeriv ℝ 2).self_of_nhds] |
| 79 | |
| 80 | lemma all_forests {H F : Forest S.ratio} {R T : PathData G} {p q ρ u σ C Λ σ' C' Λ' η} (hL : Larger (G:=G) S) {O : ChartRatio G} |
| 81 | (hO : LocalRatio O) (hr : Critical H p R ρ) (hu : Critical F p R u) (hp : R.Bounds p σ C Λ) (hq : T.Bounds q σ' C' Λ') |
| 82 | (he : 0 < η) (hH : PriceGap H p R η) (hF : PriceGap F p R η) (t : S.Choices) |
| 83 | (ht : ∀ j, j≤4 → SameJet j (actual H t p R ρ) (main T q)) : ClassicalMatch F p q R T u := by |
| 84 | intro j hj a |
| 85 | have heq := (YM.Work.F05.answer G c f S ?_ F H p R σ C Λ η η u ρ hp hu hr he he hF hH O hO a).1 |
| 86 | · have ht' : actual H a p R ρ =ᶠ[𝓝 0] actual H t p R ρ := (Work.F05.crit_home hr).eventually (Work.F04.tested_germ hL.1 H p R a t) |
| 87 | have hd := heq.trans ht' |
| 88 | exact ⟨actual_jet hu _,main_jet hq,(hd.iteratedFDeriv ℝ _ |>.self_of_nhds).trans ((ht _ hj).2.2)⟩ |
| 89 | exact hL |
| 90 | |
| 91 | lemma transplant {H F : Forest S.ratio} {p q R T ρ u σ C Λ σ' C' Λ' α Θ γ η} (h : S.patch.Branches S.kernel G) {O : ChartRatio G} |
| 92 | (hL : Larger (G:=G) S) (hO : LocalRatio O) (hr : Critical H p R ρ) (hu : Critical F p R u) (hp : R.Bounds p σ C Λ) (hq : T.Bounds q σ' C' Λ') |
| 93 | (he : 0 < η) (hH : PriceGap H p R η) (hF : PriceGap F p R η) (t : S.Choices) |
| 94 | (hw : errorBound (thermal H t p R ρ O) (draft α T q) Θ γ Λ) (ht : ∀ j, j≤4 → SameJet j (actual H t p R ρ) (main T q)) : |
| 95 | FiniteBound F R T p q α O u Θ γ Λ ∧ ClassicalMatch F p q R T u := by |
| 96 | constructor |
| 97 | · refine ⟨Work.F05.hessian_pos he hF hu, fun a => thermal_jet he hF hu a hO hp, |
| 98 | ((contDiffAt_const (c:=α)).mul (core_jet hq)).add (acted_jet _ hq.width hq.two),?_⟩ |
| 99 | intro a i j s v hs hv W |
| 100 | have heq := (tag_thermal h hu O a t).trans (Work.F05.same_thermal h hp hu hr he hH hO t) |
| 101 | rw [(heq.iteratedFDeriv ℝ _).self_of_nhds] |
| 102 | exact hw i j s v hs hv |
| 103 | exact all_forests hL hO hr hu hp hq he hH hF t ht |
| 104 | end YM.Extra.Iteration.Calibration |