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.AnalyticBridge.ANNULUS_RATIO_INSERTIONS.Origin |
| 2 | import YM.AnalyticBridge.ANNULUS_RATIO_INSERTIONS.Voucher |
| 3 | import YM.AnalyticBridge.ANNULUS_RATIO_INSERTIONS.Weather |
| 4 | import YM.Next.FREE_KERNELS.Amend |
| 5 | import YM.Next.SCHEDULE.GridCost |
| 6 | import YM.Next.SCHEDULE.Stadium |
| 7 | |
| 8 | /-! |
| 9 | # Adding the true linear ratio to the r4 invoice |
| 10 | |
| 11 | Per *physical link* letter. Same limitations as in Weather (support |
| 12 | not isolated, and not enough for derivative/complex arguments). Calls |
| 13 | μ on same common Y and tag. In terms: root costs independent of |
| 14 | which bowl at entrance. This work doesn't price η with any positive |
| 15 | argument orders, nor ζ for a low-order regrading. |
| 16 | -/ |
| 17 | set_option autoImplicit false |
| 18 | set_option linter.unusedSectionVars false |
| 19 | set_option linter.unusedVariables false |
| 20 | noncomputable section |
| 21 | namespace YM.AnalyticBridge.AnnulusRatioInsertions.Prism.Breeze |
| 22 | open Function Filter Lattice Wilson RG RG.Patch Precision Exterior Tree MeasureTheory Metric Matrix |
| 23 | open Next.Fluctuations Next.SectorChange Next.SectorChange.Motion Next.SectorChange.Rows Next.SectorChange.Gaussian |
| 24 | open Pressure Pressure.Tube Pressure.Stores Bid Push.SectorMeasure Push.SectorMeasure.Oriented Presented |
| 25 | open Tier Wisps Schur LocalJet Completion |
| 26 | open SectorNext.Remainder SectorNext.Remainder.Affine Harvest Dress |
| 27 | open Arc |
| 28 | open scoped Topology InnerProductSpace BigOperators Classical ContDiff Matrix.Norms.Frobenius Push.SectorMeasure |
| 29 | |
| 30 | /- avoid conflict hits -/ |
| 31 | variable {I N : Type} [Fintype I] [DecidableEq I] {G : Gauge} |
| 32 | |
| 33 | def plume {c f : Side} (S : StepData c f) (T : Tube G S) (A : Stores S) (F : Forest S.ratio) |
| 34 | (k:S.Choices) (V:Config G c) (q:Chi) (x d g:ℝ) (Y : LinkArray G (Frozen A x F)) := |
| 35 | Rows.eta T x V k (shots S x) A F q d Y (meanLog A F T x V k q d Y) g |
| 36 | |
| 37 | @[fun_prop] lemma measurable_plume {c f : Side} (S : StepData c f) (T : Tube G S) (A : Stores S) (F : Forest S.ratio) |
| 38 | (k:S.Choices) (V:Config G c) (q:Chi) (x d g:ℝ) {P : Teller G} (h : P.Funds S T) (hd : 0<d) (h1 : 2*d<firstRadius G) : |
| 39 | Measurable (plume S T A F k V q x d g) := by |
| 40 | obtain ⟨l₁,l₂,hA,-⟩:=h.feeds |
| 41 | have he := (meanLog_cont A F T x V k q d h hd h1).measurable |
| 42 | have hz := (source_continuous T x V k (shots S x) A F q d hA hd h1).measurable |
| 43 | unfold plume Rows.eta blame; fun_prop (disch:=first|assumption|rfl) |
| 44 | |
| 45 | lemma eta_price {c f : Side} (S : StepData c f) (T : Tube G S) (A : Stores S) (F : Forest S.ratio) |
| 46 | (k:S.Choices) (V:Config G c) (q:Chi) (x d g : ℝ) (Y : LinkArray G (Frozen A x F)) {v u a M H : ℝ} |
| 47 | (hv : 0≤v) (hg:0<g) (hM:0≤M) (hH:0≤H) |
| 48 | (h : Specs x v u a M T A F k V) (hY : ∀ i:In x A F (G:=G), |blame T x V k (shots S x) A F q d Y i| ≤ H) (i) : |
| 49 | |plume S T A F k V q x d g Y i| ≤ g⁻¹*M^2*H*rate (-u) (radiusB x/60) := by |
| 50 | obtain ⟨ht,-,hg',-,hp,-,-,he,-⟩:=h.tables |
| 51 | let W:=shots S x; let L:=Rows.gram T x V k W A F |
| 52 | let s:=rate (-u) (radiusB x/60); let U:= per (panels A F) L |
| 53 | let b:= blame T x V k W A F q d Y |
| 54 | have hz : 0≤s := (rate_pos ..).le |
| 55 | have h := diary hv (mul_nonneg (mul_nonneg hM hz) hH) hg' _ (diary (v:=0) (by norm_num) |
| 56 | hH he.turn b hY) i -- s isn't a binder |
| 57 | have hL : L.IsSymm := Matrix.isHermitian_iff_isSymm.mp ht.isHermitian |
| 58 | have ha : L *ᵥ ((L⁻¹).transpose *ᵥ b)=b := by rw [hL.inv.eq,mulVec_mulVec,L.mul_nonsing_inv |
| 59 | ((L.isUnit_iff_isUnit_det).mp ht.isUnit),one_mulVec] |
| 60 | have hx : Rows.gram T x V k W A F *ᵥ meanLog A F T x V k q d Y + b = |
| 61 | -(L *ᵥ ((U-L⁻¹).transpose *ᵥ b)) := by |
| 62 | unfold meanLog |
| 63 | change L*ᵥ ((-Uᵀ) *ᵥ b) + b=-(L*ᵥ ((U-L⁻¹)ᵀ *ᵥ b)) |
| 64 | rw [Matrix.neg_mulVec,Matrix.mulVec_neg,transpose_sub,sub_mulVec,mulVec_sub,ha]; abel |
| 65 | change |((-g⁻¹) * (L *ᵥ meanLog A F T x V k q d Y+b) i)| ≤ _ |
| 66 | rw [hx,Pi.neg_apply,abs_mul,abs_neg,abs_neg,abs_of_nonneg (inv_nonneg.mpr hg.le)] |
| 67 | apply le_trans (mul_le_mul_of_nonneg_left h (inv_nonneg.mpr hg.le)) |
| 68 | unfold s; ring_nf; rfl |
| 69 | |
| 70 | def ray (u x : ℝ) := rate (-(u/480)) (radiusB x) |
| 71 | |
| 72 | lemma ray_pos (u x) : 0 < ray u x := rate_pos .. |
| 73 | lemma ray_goes {u} (h : 0<u) : Tendsto (ray u) atTop (𝓝 0) := Real.tendsto_exp_atBot.comp |
| 74 | ((tendsto_natCast_atTop_atTop (R:=ℝ)|>.comp Work.E01.radiusB_tendsto) |>.const_mul_atTop_of_neg (neg_lt_zero.mpr (by linarith : 0<u/480))) |
| 75 | |
| 76 | private lemma bring {r : ℕ} (h : 120 ≤ r) {u : ℝ} (he : 0≤u) : |
| 77 | rate (-u) (r/60) ≤ rate (-(u/480)) r^2 * rate (-(u/240)) r := by |
| 78 | unfold rate; rw [sq,← Real.exp_add,← Real.exp_add] |
| 79 | apply Real.exp_le_exp.mpr |
| 80 | have hh : (r:ℝ) ≤ 120 * ((r/60:ℕ):ℝ) := by exact_mod_cast (show r ≤ 120*(r/60) by omega) |
| 81 | nlinarith only [mul_le_mul_of_nonneg_left hh he] |
| 82 | |
| 83 | private lemma burned (J : Patch) (u : ℝ) (hu:0<u) : ∀ᶠ x : ℝ in atTop, ∀ β∈ Set.Icc (Scales.y G J.L x/2) (2*Scales.y G J.L x), |
| 84 | (coupling β)⁻¹*rate (-(u/240)) (radiusB x) ≤ 2 := by |
| 85 | let y x:= Scales.y G J.L x |
| 86 | filter_upwards [tail_delay G J.L (u/240) (by linarith), (Scales.year G J.L).eventually_ge_atTop 1] with x hx hL |
| 87 | intro β hβ |
| 88 | have hz : Real.exp (-(u/240)*(till x:ℝ)) ≤ (y x)⁻¹ := hx |
| 89 | apply le_trans (b:=Real.sqrt β*(y x)⁻¹) |
| 90 | · rw [coupling,inv_inv]; refine mul_le_mul_of_nonneg_left (le_trans ?_ hz) (Real.sqrt_nonneg _) |
| 91 | unfold rate; apply Real.exp_le_exp.mpr; apply mul_le_mul_of_nonpos_left _ (by linarith) |
| 92 | exact Nat.cast_le.mpr (Nat.div_le_self ..) |
| 93 | have hl : 0< y x := by change 1≤y x at hL; linarith |
| 94 | rw [← div_eq_mul_inv,div_le_iff₀ hl] |
| 95 | have hh := hβ.2 |
| 96 | change β≤2*y x at hh; change 1≤y x at hL |
| 97 | refine Real.sqrt_le_iff.mpr ⟨mul_nonneg (by norm_num) hl.le,?_⟩ |
| 98 | nlinarith only [hh,hL] |
| 99 | |
| 100 | lemma eta_rays (G : Gauge) (J : Patch) (P : Teller G) (v u a M : ℝ) (hv:0<v) (hu:0<u) (hM:0<M) : |
| 101 | ∃ H : ℝ, 0<H ∧ ∀ᶠ x : ℝ in atTop, ∀ {c f : Side} (S : StepData c f) (T : Tube G S), S.patch=J → |
| 102 | 100*(1+radiusB x) ≤ c.val → P.Funds S T → ∀ β∈ Set.Icc (Scales.y G J.L x/2) (2*Scales.y G J.L x), |
| 103 | ∀ (A : Stores S) (F : Forest S.ratio) (k:S.Choices) (V:Config G c) (q:Chi) (d : ℝ), A.flags=RG.flags (temp x) V → |
| 104 | 0<d → d≤1 → Specs x v u a M T A F k V → |
| 105 | ∀ (Y : LinkArray G (Frozen A x F)) (i), |plume S T A F k V q x d (coupling β) Y i| ≤ H*ray u x^2 := by |
| 106 | by_cases h : J.Branches P.bind G |
| 107 | swap |
| 108 | · exact ⟨1,zero_lt_one,Eventually.of_forall (fun x c f S T hS hs hT=> (h (hS ▸ hT.kernel)).elim)⟩ -- implicit |
| 109 | obtain ⟨D,hD,H⟩:=root_pay G J P h |
| 110 | refine ⟨1+2*M^2*D,by positivity,?_⟩ |
| 111 | filter_upwards [H,(Scales.year G J.L).eventually_gt_atTop 0, burned (G:=G) J u hu, Work.E01.radiusB_tendsto.eventually_ge_atTop 120] with x hx h0 hc hR |
| 112 | intro c f S T hS hI hT β hβ A F k V q d hV hd ht h' Y i |
| 113 | have he := hx S T hS hI hT F A k V hV q d hd ht Y |
| 114 | have hp : 0<coupling β := coupling_pos ((half_pos h0).trans_le hβ.1) |
| 115 | apply (eta_price S T A F k V q x d (coupling β) Y hv.le hp hM.le hD h' he i).trans |
| 116 | apply le_trans (mul_le_mul_of_nonneg_left (bring hR hu.le) (show 0 ≤ (coupling β)⁻¹*M^2*D by positivity)) |
| 117 | let X:=rate (-(u/240)) (radiusB x) |
| 118 | change _*(ray u x^2 * X) ≤ _ |
| 119 | calc |
| 120 | _ = M^2*D*((coupling β)⁻¹*X)*ray u x^2 := by ring |
| 121 | _ ≤ M^2*D*2*ray u x^2 := by |
| 122 | exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left (hc β hβ) (by positivity)) (sq_nonneg _) |
| 123 | _ ≤ _ := by gcongr; linarith |
| 124 | |
| 125 | -- finite exponents, holding actual flag bits |
| 126 | abbrev Pick (I : Type) := I ⊕ (I × I) |
| 127 | |
| 128 | def bottom (u : Prices G I) (A : Gaussian.Table (I × G.ColorIndex)) (z : Prices G I) (i : Pick I) := i.elim |
| 129 | (fun x=> ∑ l:G.ColorIndex,u (x,l)*z (x,l)) (fun i=>shade A i z) |
| 130 | |
| 131 | def legs (i : Pick I) := i.elim (fun x=>(x,x)) id |
| 132 | |
| 133 | def soaked {c f : Side} (S : StepData c f) (T : Tube G S) (A : Stores S) (F : Forest S.ratio) |
| 134 | (k:S.Choices) (V:Config G c) (q:Chi) (x d g:ℝ) (i:Pick (Active A x F)) (y : GaussArgs (G:=G) A x F) := |
| 135 | bottom (plume S T A F k V q x d g y.1) ( (fog A F T x V k)⁻¹ - Rows.gram T x V k (shots S x) A F) y.2 i |
| 136 | |
| 137 | @[fun_prop] lemma measurable_soaked {c f : Side} (S : StepData c f) (T : Tube G S) (A : Stores S) (F : Forest S.ratio) |
| 138 | (k:S.Choices) (V:Config G c) (q:Chi) (x d g:ℝ) (i : Pick (Active A x F)) {P : Teller G} (h : P.Funds S T) |
| 139 | (hd : 0<d) (hi : 2*d<firstRadius G) : Measurable (soaked S T A F k V q x d g i) := by |
| 140 | cases i <;> unfold soaked bottom <;> simp only [Sum.elim_inr, Sum.elim_inl] <;> fun_prop (disch:=assumption) |
| 141 | |
| 142 | |
| 143 | |
| 144 | private lemma brush (u : Prices G I) {D : ℝ} (hu : ∀ i, |u i| ≤ D) (i : I) (z : Prices G I) : |
| 145 | |∑ j:G.ColorIndex, u (i,j)*z (i,j)| ≤ (Fintype.card G.ColorIndex:ℝ) * (D*mast legs (Sum.inl i) z) := by |
| 146 | apply (Finset.abs_sum_le_sum_abs ..).trans |
| 147 | have ht : 0 ≤ mast legs (Sum.inl i) z := zero_le_one.trans (mast_one ..) |
| 148 | calc |
| 149 | _ ≤ ∑ j:G.ColorIndex,D*mast legs (Sum.inl i) z := Finset.sum_le_sum fun j _=> by |
| 150 | rw [abs_mul]; apply (mul_le_mul (hu _) ?_ (abs_nonneg _) ((abs_nonneg _).trans (hu (i,j)))) |
| 151 | have hr : |z (i,j)|^2 ≤ load z i := by |
| 152 | unfold load; rw [EuclideanSpace.real_norm_sq_eq,sq_abs] |
| 153 | exact Finset.single_le_sum (f:=fun k:G.ColorIndex=>z (i,k)^2) (fun k _=>sq_nonneg _) (Finset.mem_univ j) |
| 154 | change _ ≤ 1+load z i+load z i |
| 155 | nlinarith only [sq_nonneg (|z (i,j)|-1),hr,load_nonneg z i] |
| 156 | _ = _ := by simp |
| 157 | |
| 158 | def fares {c f : Side} (S : StepData c f) (G : Gauge) (A : Stores S) (F : Forest S.ratio) (x v u a M D : ℝ) |
| 159 | (i : Pick (Active A x F)) : ℝ := i.elim |
| 160 | (fun _=> D*ray u x) (salt S A F x G a v M) |
| 161 | |
| 162 | private lemma solo {c f : Side} (S : StepData c f) (J : Patch) (h : S.patch=J) (F : Forest S.ratio) |
| 163 | (x : ℝ) (A : Stores S) (v u a M D L : ℝ) |
| 164 | (E : Finset (Pick (Active A x F))) (j : Active A x F) |
| 165 | (hM : 0 < M) (hD : 0 ≤ D) (hL : 0<L) |
| 166 | (h0 : 8*(D*ray u x) ≤ pinch L/2) |
| 167 | (hw : Arc.hits id (Finset.univ : Finset (Active A x F × Active A x F)) (fun i=>8*salt S A F x G a v M i) j ≤ pinch L/2) : |
| 168 | Arc.hits legs E (fun i=>8*fares S G A F x v u a M D i) j ≤ pinch L := by |
| 169 | let I:= Active A x F |
| 170 | let t:= fares S G A F x v u a M D |
| 171 | have hp (i:Pick I) : 0≤t i := by cases i <;> unfold t fares <;> first | exact mul_nonneg hD (ray_pos ..).le | exact salt_nn _ _ _ _ _ _ _ _ hM.le _ |
| 172 | unfold Arc.hits; apply le_trans (Finset.sum_le_sum_of_subset_of_nonneg (Finset.subset_univ E) (f:=fun i=>if Arc.meets legs i j then 8*t i else 0) fun i _ _=>by |
| 173 | split; exact mul_nonneg (by norm_num) (hp i); rfl) |
| 174 | rw [Fintype.sum_sum_type]; unfold t fares legs meets; simp only [Sum.elim_inl,Sum.elim_inr,id_eq,or_self] |
| 175 | unfold Arc.hits meets at hw; simp only [id_eq] at hw; simp only [Finset.sum_ite_eq',Finset.mem_univ, ↓reduceIte]; linarith |
| 176 | |
| 177 | structure Cradled {c f : Side} (S : StepData c f) (T : Tube G S) (A : Stores S) (F : Forest S.ratio) |
| 178 | (k:S.Choices) (V:Config G c) (q:Chi) (x r u a M D g d L:ℝ) (Y:Finset (Pick (Active A x F))) : Prop where |
| 179 | bounded : |
| 180 | let f:=fares S G A F x r u a M D |
| 181 | (∀ i∈Y, 0≤f i ∧ f i≤1) ∧ (∀ j, Arc.hits legs Y (fun i=>4*(2*f i)) j ≤ pinch L) |
| 182 | glaze : ∀ i∈Y, Measurable (soaked S T A F k V q x d g i) |
| 183 | signed : ∀ i∈Y, ∀ y,|soaked S T A F k V q x d g i y| ≤ (fares S G A F x r u a M D i)^2*mast legs i y.2 |
| 184 | |
| 185 | /-- Uniform signed exponent receipts for *this pre-expansion address |
| 186 | convention*. These are proven on the genuine law, including the actual |
| 187 | blame term, as used in every portfolio and sector invocation on correct flags, |
| 188 | even when z visits a rare domain. Does not require price after L for other |
| 189 | branch/world calls, nor assert small *L¹* on whole exponential (these |
| 190 | are MAYer intake receipts with product constants). -/ |
| 191 | lemma oasis {G : Gauge} (J : Patch) (P : Teller G) (h : J.Branches P.bind G) : |
| 192 | ∃ r u a M D, 0 < r ∧ 0 < u ∧ 0 < a ∧ 0 < M ∧ 0 < D ∧ ∀ L : ℝ, 0<L → ∀ᶠ x : ℝ in atTop, |
| 193 | ∀ {c f : Side} (S : StepData c f) (T : Tube G S), S.patch=J → |
| 194 | 100*(1+radiusB x) ≤ c.val → P.Funds S T → |
| 195 | ∀ β∈ Set.Icc (Scales.y G J.L x/2) (2*Scales.y G J.L x), |
| 196 | ∀ (A : Stores S) (F : Forest S.ratio) (k:S.Choices) (V:Config G c) (q:Chi) (d : ℝ), A.flags=RG.flags (temp x) V → |
| 197 | 0<d → d≤1 → 2*d<firstRadius G → ∀ Y,Cradled S T A F k V q x r u a M D (coupling β) d L Y := by |
| 198 | obtain ⟨r,u,a,M,hr,hu,ha,hM,H⟩ := holds G J P h |
| 199 | obtain ⟨H0,hH,H'⟩:=eta_rays G J P r u a M hr hu hM |
| 200 | let D := 1 + (Fintype.card G.ColorIndex : ℝ)*H0 |
| 201 | have hD : 0<D := by unfold D; positivity |
| 202 | refine ⟨r,u,a,M,D,hr,hu,ha,hM,hD,fun L hL=>?_⟩ |
| 203 | have hp : Tendsto (fun x=>D*ray u x) atTop (𝓝 0) := by simpa using (ray_goes hu).const_mul D |
| 204 | filter_upwards [H,H', charges (G:=G) J r a M 8 hM (by norm_num) (half_pos (pinch_pos hL)) hr ha, |
| 205 | hp.eventually (ge_mem_nhds (by norm_num : (0:ℝ)<1)),(hp.const_mul 8).eventually (ge_mem_nhds (by rw [mul_zero]; exact half_pos (pinch_pos hL)))] with x hx ht hw he hf |
| 206 | intro c f S T hS hI hT β hβ A F k V q d hV hd h0 h1 Y |
| 207 | obtain ⟨hR,hc⟩:= hw S hS A F |
| 208 | have h:= hx S T hS hI hT A F k V hV |
| 209 | have hl:= ht S T hS hI hT β hβ A F k V q d hV hd h0 h |
| 210 | refine ⟨⟨fun i hi=>?_,fun j=>?_⟩, (fun i _=> measurable_soaked _ _ _ _ _ _ _ _ _ _ _ hT hd h1),fun i hi y=>?_⟩ |
| 211 | · cases i <;> unfold fares <;> simp only [Sum.elim_inl,Sum.elim_inr] |
| 212 | · exact ⟨mul_nonneg hD.le (ray_pos ..).le,he⟩ |
| 213 | exact ⟨salt_nn _ _ _ _ _ _ _ _ hM.le _,hR _⟩ |
| 214 | · simp_rw [← mul_assoc (4:ℝ), show (4:ℝ)*2=8 by norm_num]; exact solo S J hS F x A r u a M D L Y j hM hD.le hL hf (hc _ j) |
| 215 | cases i with |
| 216 | | inr i => exact greet S A F k V hM.le h i y.2 |
| 217 | | inl i => |
| 218 | apply (brush _ (hl y.1) i y.2).trans |
| 219 | unfold fares; simp only [Sum.elim_inl]; rw [mul_pow] |
| 220 | have hd : (Fintype.card G.ColorIndex:ℝ) * H0 ≤ D^2 := by |
| 221 | unfold D; have hz : 0 ≤ (Fintype.card G.ColorIndex:ℝ)*H0 := by positivity |
| 222 | nlinarith |
| 223 | rw [← mul_assoc,← mul_assoc]; exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hd (sq_nonneg _)) (zero_le_one.trans (mast_one ..)) |
| 224 | end YM.AnalyticBridge.AnnulusRatioInsertions.Prism.Breeze |