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.AnalyticNext.CALENDAR_SCENE_ADAPTER.FlatCalculation |
| 2 | import YM.Next.BOUNDARY.Derived |
| 3 | import YM.Progress.STATIONARY_SCENES.Thermal |
| 4 | |
| 5 | |
| 6 | set_option warningAsError false |
| 7 | |
| 8 | /-! |
| 9 | # The corresponding quantum rule |
| 10 | |
| 11 | §C2lp. Use the SAME recovery as in the |
| 12 | classical result. Remove graph and branch questions from thermal invoice; |
| 13 | works even with all frames, no orientation or Haar-size shortcut (chart |
| 14 | ratio really from issued Survey; don't redeclare it for each period). |
| 15 | Trace formula with *real additive-log coordinate* variations also in pair |
| 16 | variables. This file keeps the input loop kernel and actual measure factor |
| 17 | -- later reductions may pay that/cancel jets under true normalization. |
| 18 | Determinant normalization is *not* additive-log Lebesgue without the chart |
| 19 | piece. No unscaled error or actual α cost shown yet here, and no analytic |
| 20 | disk in post-L units or estimates on varying β. |
| 21 | -/ |
| 22 | set_option autoImplicit false |
| 23 | noncomputable section |
| 24 | namespace YM.AnalyticNext.CalendarScene |
| 25 | open Filter Function Matrix Lattice RG RG.Supply Bid Tree Exterior Wilson Precision Pressure |
| 26 | open Analysis (D) |
| 27 | open Bloch Progress StationaryScenes Joint |
| 28 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius |
| 29 | open Jets |
| 30 | |
| 31 | section general |
| 32 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 33 | variable {f : (E × F) → ℝ} {p : E} {q : F} |
| 34 | |
| 35 | lemma along (h : ContDiffAt ℝ ω f (p,q)) (u : F) : D u (fun y => f (p,y)) q = D (0,u) f (p,q) := by |
| 36 | let j (b : F) := (p,b) |
| 37 | have he : HasFDerivAt j (ContinuousLinearMap.inr ℝ E F) q := |
| 38 | (hasFDerivAt_const _ _).prodMk (hasFDerivAt_id q) |
| 39 | have ht := ((show DifferentiableAt ℝ f (j q) from h.differentiableAt (by simp)).hasFDerivAt.comp q he).fderiv |
| 40 | change fderiv ℝ (f ∘ j) q u = _; rw [ht]; rfl |
| 41 | |
| 42 | lemma adjacents (h : ContDiffAt ℝ ω f (p,q)) (u v : F) : |
| 43 | J2 (fun y => f (p,y)) q u v = J2 f (p,q) (0,u) (0,v) := by |
| 44 | have hs : ContDiffAt ℝ ω (fun y => f (p,y)) q := h.comp (f:=fun a => (p,a)) q (contDiffAt_const.prodMk contDiffAt_id) |
| 45 | rw [← up₂ hs, |
| 46 | ← up₂ h,Analysis.GermD u (g:=fun y => D (0,v) f (p,y))] |
| 47 | · exact along (f:=D (0,v) f) (Analysis.dSmooth h _ (by simp)) _ |
| 48 | filter_upwards [(show ContinuousAt (fun y : F => (p,y)) q from |
| 49 | continuousAt_const.prodMk continuousAt_id).tendsto.eventually (h.eventually (by simp))] with x hx |
| 50 | exact along hx _ |
| 51 | |
| 52 | |
| 53 | end general |
| 54 | |
| 55 | variable {G : Gauge} {c f : Side} {S : StepData c f} {F : Forest S.ratio} {p : Clip} {R : PathData G} |
| 56 | |
| 57 | namespace Pair |
| 58 | variable (F : Forest S.ratio) (t : S.Choices) (p : Clip) (R : PathData G) |
| 59 | (T : Towers S.ratio.count) |
| 60 | |
| 61 | /-- Loop and measure terms in the same variables as `tested`. -/ |
| 62 | def payload (x : Dir G c × AxisChart G F) := Precision.loop R (lifting F (represent x.1) x.2) |
| 63 | def chart (O : ChartRatio G) (x : Dir G c × AxisChart G F) := Real.log (∏ i : F.Free, O.J (x.2 i)) |
| 64 | |
| 65 | def charge (f : (Dir G c × AxisChart G F) → ℝ) (i j : Dir G c) := |
| 66 | J2 f 0 (inlet F T i) (inlet F T j) + D (0,recovery F p R t T i j) f 0 |
| 67 | |
| 68 | /-- Vertical pair derivative and one horizontal. -/ |
| 69 | def pressure (v : Dir G c) : Matrix (Key F G) (Key F G) ℝ := Matrix.of fun i j => |
| 70 | J3 (uncurry (tested F t p R)) 0 (inlet F T v) (0,frame F i) (0,frame F j) |
| 71 | |
| 72 | /-- Includes through total degree four in S, and the inverse-mediated S3 |
| 73 | terms. No pressure-penalty conventions changed. -/ |
| 74 | def tide (v w : Dir G c) : Matrix (Key F G) (Key F G) ℝ := Matrix.of fun i j => |
| 75 | J4 (uncurry (tested F t p R)) 0 (inlet F T v) (inlet F T w) (0,frame F i) (0,frame F j) + |
| 76 | J3 (uncurry (tested F t p R)) 0 (0,recovery F p R t T v w) (0,frame F i) (0,frame F j) |
| 77 | |
| 78 | def heatCost (O : ChartRatio G) (v w : Dir G c) := |
| 79 | let N := (hessian F t p R 0 0)⁻¹ |
| 80 | charge F t p R T (payload F R) v w + |
| 81 | (1/2:ℝ)*(tide F t p R T v w*N-pressure F t p R T w*(N*pressure F t p R T v*N)).trace - |
| 82 | charge F t p R T (chart F O) v w |
| 83 | end Pair |
| 84 | |
| 85 | section thermal |
| 86 | variable {ρ : Dir G c → AxisChart G F} {T : Towers S.ratio.count} |
| 87 | (h : Critical F p R ρ) (t : S.Choices) {η : ℝ} |
| 88 | |
| 89 | open Pair (inlet pressure tide recovery chart payload heatCost charge) |
| 90 | include h |
| 91 | |
| 92 | |
| 93 | |
| 94 | variable (hg : Guessed F (installed S.ratio T.A0) ρ) |
| 95 | include hg |
| 96 | |
| 97 | |
| 98 | omit h hg in |
| 99 | lemma payload_smooth {σ C Λ : ℝ} (hR : R.Bounds p σ C Λ) : |
| 100 | ContDiffAt ℝ ω (payload F R) 0 := by |
| 101 | exact loop_smooth hR (A:=fun x : Dir G c × AxisChart G F => lifting F (represent x.1) x.2) |
| 102 | fun _ => Work.F03.live_smooth F _ |
| 103 | |
| 104 | omit h hg in |
| 105 | lemma chart_smooth {O : ChartRatio G} (ho : LocalRatio O) : |
| 106 | ContDiffAt ℝ ω (chart (S:=S) F O) 0 := by |
| 107 | refine (contDiffAt_prod (f:=fun i (x : Dir G c × AxisChart G F) => O.J (x.2 i)) (t:=Finset.univ) (𝕜:=ℝ) |
| 108 | (fun i _ => ?_)).log ?_ |
| 109 | · let g (x : Dir G c × AxisChart G F) := x.2 i |
| 110 | have hh : ContDiffAt ℝ ω O.J (g 0) := ho.germ 0 (Metric.mem_ball_self ho.patch) |
| 111 | exact hh.comp 0 ((contDiffAt_apply ℝ G.Color i _).comp (f:=Prod.snd) _ contDiffAt_snd) |
| 112 | · change (∏ i : F.Free, O.J (0:G.Color)) ≠ 0 |
| 113 | simp_rw [ho.anchored]; simp |
| 114 | |
| 115 | |
| 116 | end thermal |
| 117 | end YM.AnalyticNext.CalendarScene |