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.TiltAccount |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_BOUNDS.Vault |
| 3 | import YM.Progress.STATIONARY_SCENES.Classical |
| 4 | import YM.Push.RELAY_DIFFERENCE.Applications |
| 5 | import YM.Push.RELAY_DIFFERENCE.TwoSided |
| 6 | |
| 7 | /-! |
| 8 | # Borel energetic measurements (sectorwide, including V) |
| 9 | |
| 10 | Core may rely on the hard selectors, not analytic germs across any |
| 11 | flag/mask. Publish for the integrals; use all common T. Consumes |
| 12 | Gauge's physical proof-bearing families. No fibration choice after |
| 13 | projection. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.AnalyticNext.ConnectedActivity.Canvas |
| 18 | open Filter Function Lattice RG Precision Wilson Pressure Pressure.Stores Exterior Bloch Turn MeasureTheory |
| 19 | open Matrix Work.F03 Progress.StationaryScenes Push.SectorMeasure Push.SectorMeasure.Oriented |
| 20 | open Push.AbsoluteSums Tree Next.Fluctuations Finset Win Win.Promise Green Rates Aff Aff.Mint |
| 21 | open Centered Centered.Till Footprint Mixed |
| 22 | open scoped Topology BigOperators InnerProductSpace Matrix.Norms.Frobenius Classical |
| 23 | variable {G : Gauge} {c f n : Side} {S : StepData c f} {T : Tube G S} {x : ℝ} {F : Forest S.ratio} {A : Stores S} |
| 24 | {P : Teller G} {α : Type*} [MeasurableSpace α] {U : α→Config G f} {V : α→Config G c} |
| 25 | |
| 26 | lemma ip {a b : α→G.Color} (h : Measurable a) (he : Measurable b) : Measurable (fun p => inner ℝ (a p) (b p)) := by |
| 27 | exact continuous_inner.measurable.comp (h.prodMk he) |
| 28 | |
| 29 | -- Kernel apps via continuous operations on full assembled vector (incl dGap). |
| 30 | section gap |
| 31 | variable (x : ℝ) (hT : P.Funds S T) (h : Measurable U) (hv : Measurable V) |
| 32 | include hT hv |
| 33 | lemma zips {v : α→ Twin c → G.Color} (he : Measurable v) (R : ℕ) : |
| 34 | let W (A) := zip (T.Φ R (V A)) (v A) |
| 35 | let X (A) := zip (T.Φ' R (V A)) (v A) |
| 36 | let Y (A) := zip (T.N R (V A)) (v A) |
| 37 | Measurable W ∧ Measurable X ∧ Measurable Y := by |
| 38 | intro W X Y |
| 39 | obtain ⟨h1,h2,h3,h4⟩ := hT.crosses |
| 40 | let X := Config G c × (Twin c→G.Color) |
| 41 | have hh {v' : Type} [Fintype v'] (q : Config G c→ v' → Twin c→Pay G) (hh : ∀ i j,Continuous (fun a => q a i j)) : |
| 42 | Measurable (fun i => zip (q (V i)) (v i)) := by |
| 43 | apply measurable_pi_lambda; intro j |
| 44 | exact (show Continuous (fun p : X => zip (q p.1) p.2 j) from cont_zip (fun i j => (hh i j).comp continuous_fst) |
| 45 | (fun i => by fun_prop) _).measurable.comp (hv.prodMk he) |
| 46 | exact ⟨hh (T.Φ R) (fun i j => leap_cont (Row.rights _ _ h3 P.width.le) ..), |
| 47 | hh (T.Φ' R) (fun i j => lane_cont (Row.rights _ _ h1 P.width.le) ..), |
| 48 | hh (T.N R) (fun i j => lane_cont (Row.rights _ _ h2 P.width.le) ..)⟩ |
| 49 | omit hT in |
| 50 | lemma zips' (I : Type) [Fintype I] (v : α→ I → G.Color) (he : Measurable v) (q : Config G c → I → Twin c→ Pay G) |
| 51 | (hh : ∀ i j,Continuous (fun V => q V i j)) : Measurable (fun i => Pressure.unzip (q (V i)) (v i)) := by |
| 52 | refine measurable_pi_lambda _ fun j => ?_ |
| 53 | let F (y : Config G c × (I→G.Color)) := Pressure.unzip (q y.1) y.2 j |
| 54 | have h : Continuous F := cont_unzip (α:=Config G c × (I→G.Color)) (g:=fun a : Config G c × (I→G.Color) => q a.1) (z:=fun y => y.2) (fun i j => (hh i j).comp continuous_fst) (fun i => by fun_prop) _ |
| 55 | change Measurable (F ∘ fun a => (V a,v a)); exact h.measurable.comp (hv.prodMk he) |
| 56 | -- omit hT not needed zips' |
| 57 | |
| 58 | lemma vision_me (x : ℝ) (R : ℕ) : |
| 59 | Measurable (fun a => T.vision R (temp x) (V a)) ∧ |
| 60 | Measurable (fun a => T.Mv R (temp x) (V a)) ∧ Measurable (fun a => T.Mw R (temp x) (V a)) := by |
| 61 | obtain ⟨e,r,hW,he⟩ := hT.feeds |
| 62 | rw [← hT.low] at he |
| 63 | have hx (j) := env_thinned (n:=c) he R S.patch.L.val (temp x) (temp_nonneg _) j |
| 64 | have hp : Measurable (fun a => T.vision R (temp x) (V a)) := measurable_pi_lambda _ fun i => |
| 65 | (hx i).meas.comp hv |
| 66 | obtain ⟨h1,h2,h3⟩ := zips hT hv hp R |
| 67 | exact ⟨hp,h1,h2⟩ |
| 68 | include h |
| 69 | lemma observes (x : ℝ) (k : S.Choices) : |
| 70 | let U' i := S.prediction (U i) k; let R := till x |
| 71 | let v i := Tube.Z S (U' i) (V i) |
| 72 | Measurable v ∧ Measurable (fun i => T.Xf R (U i)) := by |
| 73 | intro Q R v |
| 74 | have hm : Measurable Q := (S.prediction_meas (funds_branch hT) k).comp h |
| 75 | obtain ⟨r,r',hW,hD⟩ := hT.feeds; rw [← hT.low] at hD; rw [← hT.high] at hW |
| 76 | have hr : Measurable v := by |
| 77 | refine measurable_pi_lambda _ fun j => ?_ |
| 78 | let a (p : Config G c × Config G c) := Tube.Z S p.1 p.2 j |
| 79 | change Measurable (a ∘ fun i => (Q i,V i)); exact (show Continuous a by unfold a Tube.Z; fun_prop).measurable.comp (hm.prodMk hv) |
| 80 | have hF : Measurable fun a => T.Xf R (U a) := measurable_pi_lambda _ fun j => (plotted_cont hW R 1 j).measurable.comp h |
| 81 | exact ⟨hr,hF⟩ |
| 82 | lemma stripe (x : ℝ) (k : S.Choices) : |
| 83 | let Q i := S.prediction (U i) k; let R := till x; let t := temp x |
| 84 | (∀ j, Measurable (fun a => T.workF R (U a) (V a) (fiery G x S.patch.L) t j)) ∧ |
| 85 | ∀ j, Measurable (fun a => T.workI R (Q a) (V a) t j) := by |
| 86 | intro Q R t |
| 87 | obtain ⟨hr,hF⟩ := observes hT h hv x k |
| 88 | have hm : Measurable Q := (S.prediction_meas (funds_branch hT) k).comp h |
| 89 | obtain ⟨hP,hv',hy⟩ := vision_me hT hv x R |
| 90 | obtain ⟨hf,hc⟩ := env_cuts hT x h hv |
| 91 | refine ⟨fun j => ?_,fun j => ?_⟩ |
| 92 | · unfold Tube.workF; refine (hf j).meas.add ?_; apply Finset.measurable_fun_sum; intro i _ |
| 93 | have he := (measurable_pi_apply (j,i)).comp hv' |
| 94 | exact ((he.norm.pow_const 2).div_const _).sub (ip he ((measurable_pi_apply _).comp hF)) |
| 95 | · have he := (measurable_pi_apply j).comp hy |
| 96 | have hh := (show Continuous (fun a : Config G c × Config G c => Tube.monetary S a.1 a.2 j) from by |
| 97 | unfold Tube.monetary wire; fun_prop).measurable.comp (hm.prodMk hv) |
| 98 | exact hh.add (((he.norm.pow_const 2).div_const _).sub (ip he ((measurable_pi_apply _).comp hr))) |
| 99 | lemma syncs (x : ℝ) (k : S.Choices) : |
| 100 | let U' i := S.prediction (U i) k; let R := till x; let t := temp x |
| 101 | (∀ j, Measurable (fun a => T.workC R (V a) t j+(T.workL R (U a) (U' a) (V a) t j+T.workD R (V a) t j))) ∧ |
| 102 | (∀ j, Measurable (fun a => T.workN R (V a) t j)) := by |
| 103 | intro Q R t |
| 104 | obtain ⟨hr,hF⟩ := observes hT h hv x k |
| 105 | obtain ⟨r,r',hW,hD⟩ := hT.feeds; rw [← hT.low] at hD; rw [← hT.high] at hW |
| 106 | have hX : Measurable fun a => T.Xn R (V a) := measurable_pi_lambda _ fun j => (plotted_cont hD R S.patch.L.val j).measurable.comp hv |
| 107 | obtain ⟨hP,hv',hy⟩ := vision_me hT hv x R |
| 108 | have hZ := (zips hT hv hP R).2.2 |
| 109 | obtain ⟨hf,hc⟩ := env_cuts hT x h hv |
| 110 | refine ⟨fun j => ?_,fun j => ?_⟩ |
| 111 | · obtain ⟨hz,hyN,hzF,_⟩ := hT.crosses |
| 112 | have hm (i : Bool) := (measurable_pi_apply (j,i)).comp hP |
| 113 | have hC : Measurable (fun a => T.workC R (V a) t j) := by |
| 114 | unfold Tube.workC; refine Measurable.sub ?_ (hc j).meas; apply Finset.measurable_fun_sum; intro i _ |
| 115 | exact (ip (hm i) ((measurable_pi_apply (j,i)).comp hX)).sub ((((hm i).norm.pow_const 2).div_const _)) |
| 116 | refine hC.add (Measurable.add ?_ ?_) |
| 117 | · have hh := zips' hv _ _ hF (T.Φ R) (fun i j => leap_cont (Row.rights _ _ hzF P.width.le) ..) |
| 118 | have hd := zips' hv _ _ hr (T.Φ' R) (fun i j => lane_cont (Row.rights _ _ hz P.width.le) ..) |
| 119 | unfold Tube.workL; refine Finset.measurable_fun_sum _ (fun i _ => ?_) |
| 120 | let y : Twin c := (j,i) |
| 121 | exact ip (hm i) ((((measurable_pi_apply y).comp hh).add ((measurable_pi_apply y).comp hd)).sub ((measurable_pi_apply y).comp hX)) |
| 122 | have HH := zips' hv _ _ hv' (T.Φ R) (fun i j => leap_cont (Row.rights _ _ hzF P.width.le) ..) |
| 123 | have HD := zips' hv _ _ hy (T.Φ' R) (fun i j => lane_cont (Row.rights _ _ hz P.width.le) ..) |
| 124 | have HN := zips' hv _ _ hZ (T.N R) (fun i j => lane_cont (Row.rights _ _ hyN P.width.le) ..) |
| 125 | unfold Tube.workD; refine Finset.measurable_fun_sum _ (fun i _ => ?_) |
| 126 | let y : Twin c := (j,i) |
| 127 | exact (ip (hm i) ((hm i).sub ((((measurable_pi_apply y).comp HH).add ((measurable_pi_apply y).comp HD)).add |
| 128 | ((measurable_pi_apply y).comp HN)))).div_const _ |
| 129 | exact ((((measurable_pi_apply j).comp hZ).norm.pow_const 2).div_const _) |
| 130 | lemma operates (x : ℝ) (k : S.Choices) : |
| 131 | let U' i := S.prediction (U i) k; let R := till x; let t := temp x |
| 132 | let v i := Tube.Z S (U' i) (V i) |
| 133 | Measurable v ∧ Measurable (fun i => T.Xf R (U i)) ∧ |
| 134 | (∀ j, Measurable (fun a => T.workF R (U a) (V a) (fiery G x S.patch.L) t j)) ∧ |
| 135 | (∀ j, Measurable (fun a => T.workI R (U' a) (V a) t j)) ∧ |
| 136 | (∀ j, Measurable (fun a => T.workC R (V a) t j+(T.workL R (U a) (U' a) (V a) t j+T.workD R (V a) t j))) ∧ |
| 137 | (∀ j, Measurable (fun a => T.workN R (V a) t j)) := by |
| 138 | intro Q R t v |
| 139 | obtain ⟨h1,h2⟩ := observes hT h hv x k |
| 140 | obtain ⟨h3,h4⟩ := stripe hT h hv x k |
| 141 | exact ⟨h1,h2,h3,h4,syncs hT h hv x k⟩ |
| 142 | |
| 143 | lemma target_me (x : ℝ) (q : S.Choices) (p : Pos S) : Measurable (fun a => target T (till x) (temp x) p q (V a) (U a)) := by |
| 144 | rcases p with ⟨s,i⟩ |
| 145 | let hX := pulling_meas s h; let hV := pulling_meas s hv |
| 146 | obtain ⟨hY,hU,_⟩ := operates hT hX hV x (choice s q) |
| 147 | obtain ⟨_,ht,hr⟩ := vision_me hT hV x (till x) |
| 148 | rcases i with i|i |
| 149 | · exact ((measurable_pi_apply i).comp hU).sub ((measurable_pi_apply i).comp ht) |
| 150 | exact ((measurable_pi_apply i).comp hY).sub ((measurable_pi_apply i).comp hr) |
| 151 | lemma booth_meter (x : ℝ) (q : S.Choices) (i : Rack S) : Measurable (fun a => booth T (U a) q (V a) x i) := by |
| 152 | rcases i with ⟨s,i⟩ |
| 153 | have hV := operates hT (pulling_meas s h) (pulling_meas s hv) x (choice s q) |
| 154 | rcases i with i|i|i|i |
| 155 | · exact measurable_const.mul (hV.2.2.1 i) |
| 156 | · exact measurable_const.mul (hV.2.2.2.1 i) |
| 157 | · exact measurable_const.mul (hV.2.2.2.2.1 i) |
| 158 | exact measurable_const.mul (hV.2.2.2.2.2 i) |
| 159 | end gap |
| 160 | end YM.AnalyticNext.ConnectedActivity.Canvas |