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.CONNECTED_ACTIVITY_BOUNDS.Pocket |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_BOUNDS.Yield |
| 3 | |
| 4 | /-! |
| 5 | # Joint-measured windows. Integrability in t not assumed here for |
| 6 | measurability; for actual uses the Safe instances are needed and proved |
| 7 | from the prices. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.AnalyticNext.ConnectedActivity.Canvas |
| 12 | open Filter Function Lattice RG Precision Wilson Pressure Pressure.Stores Exterior Bloch Turn MeasureTheory |
| 13 | open Matrix Work.F03 Progress.StationaryScenes Push.SectorMeasure Push.SectorMeasure.Oriented |
| 14 | open Push.AbsoluteSums Tree Next.Fluctuations Finset Win Win.Promise Green Rates Aff Aff.Mint Laps Wages |
| 15 | open Centered Centered.Till Jewels Footprint Paths Chains Mixed |
| 16 | open scoped Topology BigOperators InnerProductSpace Matrix.Norms.Frobenius Classical |
| 17 | variable {G : Gauge} {c f n : Side} {S : StepData c f} {T : Tube G S} {x : ℝ} {F : Forest S.ratio} {A : Stores S} |
| 18 | {P : Teller G} {α : Type} [MeasurableSpace α] {U : α→Config G f} {V : α→Config G c} |
| 19 | |
| 20 | section metered |
| 21 | variable {v b : Type} [Fintype v] [Fintype b] (W : Windows v) |
| 22 | omit [Fintype v] in |
| 23 | lemma mixed_wall {M N : α → Tile v b} (h : Meter M) (he : Meter N) (k i j s) : |
| 24 | Meter fun p => routeF (M p) (N p) k i s j := by |
| 25 | induction k generalizing i with |
| 26 | | zero => exact fun _ _ => he _ _ |
| 27 | | succ k ih => simp only [routeF]; exact stage_mul (fun _ _ => h _ _) (ih _ _) |
| 28 | |
| 29 | variable [DecidableEq v] {M : α→Matrix v v ℝ} (h : Meter M) |
| 30 | include h |
| 31 | omit [Fintype v] in |
| 32 | lemma tilt_plane {t : α → ℝ} (he : Measurable t) : Meter fun p => flows (M p) (t p) := by |
| 33 | intro i j; simp only [flows,ResolventVolume.graph,Matrix.add_apply,Matrix.smul_apply,smul_eq_mul,Matrix.sub_apply] |
| 34 | exact measurable_const.add (he.mul ((h i j).sub measurable_const)) |
| 35 | omit [Fintype v] in |
| 36 | lemma co_plane : Meter fun p => W.cov (M p) := by |
| 37 | intro i j; simp only [Windows.cov,Matrix.smul_apply,Matrix.add_apply,smul_eq_mul]; exact measurable_const.mul |
| 38 | ((measures_within W h _ _).add (measures_within W h _ _)) |
| 39 | lemma o_plane : Meter fun p => W.untuned (M p) := by |
| 40 | intro i j; unfold Windows.untuned; exact (stage_mul h (co_plane W h) _ _).sub measurable_const |
| 41 | lemma page_plane {t : α→ℝ} (he : Measurable t) : Meter fun p => ledger W (M p) 0 (t p) := by |
| 42 | simp only [ledger,pow_zero,Matrix.mul_one]; exact stage_mul (fun i j => (h i j).sub measurable_const) |
| 43 | (measures_within W (tilt_plane h he)) |
| 44 | |
| 45 | end metered |
| 46 | |
| 47 | lemma total_over (f : α → ℝ → ℝ) (h : Measurable (Function.uncurry f)) (a b : ℝ) (he : a≤b) : |
| 48 | Measurable (fun x => ∫ t in a..b,f x t) := by |
| 49 | simp_rw [intervalIntegral.integral_of_le he]; exact h.stronglyMeasurable.integral_prod_right.measurable |
| 50 | |
| 51 | lemma telescope {M : α→Matrix (Vars G f) (Vars G f) ℝ} (h : Meter M) (p : Year S) (x : ℝ) {t : α→ℝ} (ht : Measurable t) : |
| 52 | Measurable (fun i => confluence S x (M i) p (t i)) ∧ Measurable (fun i => crosses S x (M i) p (t i)) := by |
| 53 | let W := eyes S G (radiusB x) |
| 54 | have hv := tilt_plane h ht |
| 55 | have hu i j : Measurable (fun k => (-(W.error (flows (M k) (t k)))) i j) := |
| 56 | ((stage_mul hv (measures_within W hv) i j).sub measurable_const).neg |
| 57 | have hh := stage_mul (show Meter fun p => M p-1 from (fun i j => (h i j).sub measurable_const)) |
| 58 | (measures_within W hv) |
| 59 | unfold confluence crosses; split |
| 60 | next he => |
| 61 | refine ⟨?_, Measurable.mul (Measurable.pow_const ht.neg _) ?_⟩ |
| 62 | · exact Finset.measurable_fun_sum _ fun i _ => mixed_wall hu hh _ p.2.1 p.2.2.2 p.2.2.1 i i |
| 63 | exact Finset.measurable_fun_sum _ fun i _ => mixed_wall (o_plane W h) |
| 64 | (show Meter (fun _ : α => (1:Matrix (Vars G f) (Vars G f) ℝ)) from fun _ _ => measurable_const) _ _ _ p.2.2.1 i i |
| 65 | exact ⟨measurable_const,measurable_const⟩ |
| 66 | |
| 67 | section therm |
| 68 | variable {s : α→ F.Slice G} {r : ℝ} {N : ChartRatio G} {k : S.Choices} {h : Chi} |
| 69 | namespace Bent |
| 70 | variable {Y : α→Mint T F A x} (b : Bent Y r h k) |
| 71 | include b |
| 72 | lemma pair_lab (p : Bond f) : Measurable fun i => paired (Y i) p := by |
| 73 | let f' (i : α) t := letter S x (flatReference T x F) p t-letter S x (Y i).sheet p t |
| 74 | have hm : Measurable (Function.uncurry f') := by |
| 75 | let t := eyes S G (radiusB x) |
| 76 | have hp {M : α×ℝ→Matrix (Vars G f) (Vars G f) ℝ} (he : Meter M) : Measurable fun u : α×ℝ => letter S x (M u) p u.2 := by |
| 77 | unfold Aff.letter Matrix.trace; apply Finset.measurable_fun_sum |
| 78 | exact fun i _ => page_plane t he measurable_snd (p,i) (p,i) |
| 79 | exact (hp (M:=fun _ => flatReference T x F) (fun i j => measurable_const)).sub |
| 80 | (hp (M:=fun p => (Y p.1).sheet) (fun i j => (b.sheets.2 i j).comp measurable_fst)) |
| 81 | exact (total_over f' hm 0 1 zero_le_one).div_const _ |
| 82 | lemma screen {z : α→ ArrayR G f} (h : Measurable z) (p : Year S) : |
| 83 | Measurable fun i => Chains.chain (Y i) p (z i) := by |
| 84 | let f' (i : α) t := (confluence S x (flatReference T x F) p t-confluence S x (Y i).sheet p t+crosses S x (Y i).sheet p t) |
| 85 | have hm : Measurable (Function.uncurry f') := by |
| 86 | let H := telescope (M:=fun u : α×ℝ => (Y u.1).sheet) (fun i j => (b.sheets.2 i j).comp measurable_fst) p x measurable_snd |
| 87 | have hv := telescope (M:=fun _ : α×ℝ => flatReference T x F) (fun i j => measurable_const) p x measurable_snd |
| 88 | exact (hv.1.sub H.1).add H.2 |
| 89 | have hv : Measurable fun i => excise S x (Y i).sheet p (z i) := by |
| 90 | unfold excise amount |
| 91 | let D i := Mint.sheet (Y i) |
| 92 | have hU := o_plane (eyes S G (radiusB x)) (M:=D) b.sheets.2 |
| 93 | have hb := mixed_wall (M:=fun i => -(eyes S G (radiusB x)).untuned (D i)) |
| 94 | (fun i j => (hU i j).neg) (N:=D) b.sheets.2 _ p.2.1 p.2.2.2 p.2.2.1 |
| 95 | have hr := vector_mul hb (p:=fun i => fun j => z i (p.2.2.2,j)) (measurable_pi_lambda _ fun _ => (measurable_pi_apply _).comp h) |
| 96 | unfold dotProduct |
| 97 | apply Finset.measurable_fun_sum; intro j _; exact ((measurable_pi_apply (p.2.1,j)).comp h).mul ((measurable_pi_apply _).comp hr) |
| 98 | exact (((((total_over f' hm _ _ zero_le_one).div_const (2:ℝ)).add (hv.div_const (2:ℝ))).exp).sub measurable_const) |
| 99 | end Bent |
| 100 | end therm |
| 101 | end YM.AnalyticNext.ConnectedActivity.Canvas |