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.FullVolume.Table.Vola |
| 2 | /-! Normalized square-root coordinates with common width and padding. Any prescribed phase center near interior, radius pays Power. |
| 3 | -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.PhysicalNext.Repeat.Pass |
| 7 | open Function Filter Set Lattice RG Pressure Tree Wilson Finset |
| 8 | open Push Push.AbsoluteSums Precision Exterior Next.Fluctuations SectorMeasure Work.E03 Work.F03 |
| 9 | open ConnectedActivityE6 Channel Oriented SliceRows Control Window Coat DataKernel Pulse Animals |
| 10 | open MeasureTheory ProbabilityTheory Gas Ursell Trees Blaze March |
| 11 | open AnalyticBridge VerifiedReset Collection Quotes Next.Scheduling Extra.Iteration Song Geo RG.Shoot |
| 12 | open Height Input Org Supply Pane Slide Push.PriceCompiler Progress.DirectedRecipe Jams Apse Empire Time Roof Chord Ovens |
| 13 | open FullVolume.Ray FullVolume.Urns |
| 14 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff Interval InnerProductSpace |
| 15 | variable {G:Gauge}{X:Metals G}{D:Rolls X.p}{A:Alloy X D}{R:Roost.Factor A} |
| 16 | variable (g:G.Simple){v q d t t':ℝ}{N n m:ℕ}(H:Chord R N m n t t)(h:Degree R.shape R.scout A.delay)(hq:Savvy R.scout R.target A.delay q v d t) |
| 17 | -- α scaled coordinates unbased hats. width epsilon fixed.P δ variations.C Need arcs on |normalized-v|max≤T q.Tolerance center h_i oct |
| 18 | abbrev grand (x:ℝ):=x^((1:ℝ)/256) |
| 19 | abbrev joy (x:ℝ):ℝ:= x^(-(1/128):ℝ) |
| 20 | abbrev normedWidth (x:ℝ):ℝ:= x^(-(1/32):ℝ) -- q/v units smaller |
| 21 | -- use absolute `lambda` weights and offset h. |
| 22 | local notation "δ" => normedWidth |
| 23 | abbrev salary (x:ℝ):ℝ:= normedWidth x*x -- pay derivative scales after. |
| 24 | def fromLambda (x u:ℝ):ℝ:=x*(normedWidth x *u)^2 |
| 25 | def toLambda (x u:ℝ):ℝ:= Real.sqrt (u/x) / normedWidth x |
| 26 | lemma widthP {x:ℝ} (hx:0<x): 0< normedWidth x:=Real.rpow_pos_of_pos hx _ |
| 27 | lemma currency {x u:ℝ} (hx:0<x)(hu:0≤u): fromLambda x (toLambda x u) = u ∧0≤toLambda x u:=by |
| 28 | unfold fromLambda toLambda; let v:= δ x; have hp:= widthP hx; have hh:0≤u/x:=by positivity |
| 29 | refine ⟨?_, div_nonneg (Real.sqrt_nonneg _) hp.le⟩; rw [mul_div_cancel₀ _ hp.ne', Real.sq_sqrt hh]; field_simp |
| 30 | -- eventual and late readiness |
| 31 | structure Climate (x:ℝ) : Prop where |
| 32 | floor : 0<x |
| 33 | grade : 1 ≤ grand x |
| 34 | steps : joy x ≤1 |
| 35 | dust : 128*grand x*normedWidth x ≤ joy x |
| 36 | lemma yet : ∀ᶠ x in atTop,Climate x:=by |
| 37 | have hp: (1/256:ℝ)-(1/32)-(-(1/128)) < 0:= by norm_num |
| 38 | have he:= (tendsto_rpow_neg_atTop (y:=-( (1/256:ℝ)-(1/32)-(-(1/128)))) (by linarith)).eventually (gt_mem_nhds (show 0 < ((1:ℝ)/128) by norm_num)) |
| 39 | filter_upwards [he,eventually_gt_atTop (1:ℝ)] with x hx hy; have hv:= zero_lt_one.trans hy; have hg:= Real.rpow_pos_of_pos hv (-(1/128):ℝ); have hW:= widthP hv; simp only [neg_neg] at hx |
| 40 | refine ⟨hv,(Real.one_lt_rpow hy (by norm_num)).le, Real.rpow_le_one_of_one_le_of_nonpos hy.le (by norm_num),?_⟩ |
| 41 | rw [Real.rpow_sub hv,show ((1/256:ℝ)-(1/32))= 1/256+(-(1/32)) from rfl,Real.rpow_add hv] at hx |
| 42 | have ht:= (div_lt_iff₀ hg).1 hx; change grand x * normedWidth x < _ at ht; linarith |
| 43 | variable (a: Levels G){l b x r:ℝ} |
| 44 | local notation "P"=> a.clock.hatBeta |
| 45 | -- useful nested margins: route x root in middle ∈ [6/7? sqrt(.75)~.866,5/4]. choose middle [.85,1.15]; full arcs need .75 threshold √. etc. broad pad for neighboring. |
| 46 | def mild (x y:ℝ):Prop:=normedWidth x*y∈ Set.Icc (17/20:ℝ) (23/20) |
| 47 | def emcee (x y:ℝ): Prop:= normedWidth x*y∈ Set.Icc (33/40:ℝ) (47/40) |
| 48 | -- `.aim λ` builds token. warr ≥ |
| 49 | lemma good_mild {x v:ℝ} (hx:Climate x)(h:3/4*x ≤ v ∧ v ≤ 5/4*x): mild x (toLambda x v):=by |
| 50 | unfold mild toLambda; rw [mul_div_cancel₀ _ (widthP hx.floor).ne']; rw [Set.mem_Icc]; have hg:= hx.floor |
| 51 | constructor |
| 52 | · apply (Real.le_sqrt_of_sq_le); rw [le_div_iff₀ hg]; nlinarith only [h.1,hg] |
| 53 | apply (Real.sqrt_le_left (by norm_num : 0 ≤ (23/20:ℝ))).2; rw [div_le_iff₀ hg]; nlinarith only [hg,h.2] |
| 54 | lemma samples {x v:ℝ} (hx:Climate x)(h:mild x v)(hy:|l-v| ≤2): emcee x l:=by |
| 55 | have hg: δ x ≤ ((1:ℝ)/128):= by have hw:=hx.steps; have ht:=hx.dust; nlinarith [mul_le_mul_of_nonneg_right hx.grade (widthP hx.floor).le] |
| 56 | have hu:= mul_le_mul_of_nonneg_left hy (widthP hx.floor|>.le); rw [←abs_of_nonneg (widthP hx.floor).le, ← abs_mul] at hu -- wreck |
| 57 | unfold mild at h; unfold emcee; obtain ⟨hh,hv⟩:= h; obtain ⟨hL,ht⟩:=abs_le.mp (show |δ x*(l-v)| ≤δ x*2 from by simpa only [abs_of_nonneg (widthP hx.floor).le] using hu) |
| 58 | constructor <;> linarith |
| 59 | lemma priced (hx:Climate (a.clock.hatBeta m))(h:emcee (a.clock.hatBeta m) x)(hv: |v| ≤ 1):∃ U:WilsonStartup.Fog.Bell (RG.Shoot.band a m) (grand (P m)) (joy (P m)),∀ i, |i|≤6*(grand (P m)) → (U.poses i).val=fromLambda (P m) (x+i*v):=by |
| 60 | let y:=P m; let X:=δ y; let p:=grand y; let q:=joy y; let s:=X*x |
| 61 | have hy:0<y:= hx.floor; have hp:1≤ p:= hx.grade; have hX:0<X:=widthP hy; have hq:0<q:= Real.rpow_pos_of_pos hy _; have hz:q ≤1:= hx.steps |
| 62 | have hδ: 128*p*X ≤ q:= hx.dust; have hk :6*p*X ≤6/128*q:= by linarith |
| 63 | have hv': 0 ≤6*p:=by positivity |
| 64 | let L:= s-6*p*X |
| 65 | have h:s∈Set.Icc (33/40) (47/40):= h; have hf : (3/4:ℝ)≤L := by unfold L; linarith [h.1]; |
| 66 | have hL: 0<L:= (by linarith); have ht : y*L^2 ∈ band a m:= by |
| 67 | constructor |
| 68 | · change y/2 ≤ _; nlinarith only [hy, hf,mul_le_mul_of_nonneg_right (sq_le_sq₀ (by norm_num : (0:ℝ)≤3/4) hL.le|>.2 hf) hy.le] |
| 69 | apply le_trans (b:=2*y) _ le_rfl; have hu: L ≤ s:= sub_le_self _ (by positivity); nlinarith [mul_le_mul_of_nonneg_right (sq_le_sq₀ hL.le (by norm_num : (0:ℝ)≤47/40)|>.2 (hu.trans h.2)) hy.le] -- macro |
| 70 | let A₀:= s/L; let a₀:= X*v/L |
| 71 | let K: FullVolume.Ray.Fold p q:= by |
| 72 | refine ⟨A₀,a₀,hp,?_,?_,hz⟩ |
| 73 | · change _≤ s/L-6*p* |a₀|; rw [show |a₀|= X* |v| /L from (by unfold a₀; rw [abs_div,abs_mul,abs_of_pos hX,abs_of_pos hL]), ← mul_div_assoc, ← sub_div, le_div_iff₀ hL]; unfold L; nlinarith only [mul_le_mul_of_nonneg_left hv (show 0 ≤ 6*p*X from (by positivity))] |
| 74 | rw [show |a₀|= X* |v| /L from (by unfold a₀; rw [abs_div,abs_mul,abs_of_pos hX,abs_of_pos hL])]; unfold A₀; rw [← mul_div_assoc, ← add_div, div_le_iff₀ hL]; |
| 75 | rw [add_mul,one_mul]; conv_rhs=>lhs; unfold L |
| 76 | nlinarith only [hk, mul_le_mul_of_nonneg_left hv (show 0≤6*p*X from by positivity), mul_le_mul_of_nonneg_left hf hq.le,hq] |
| 77 | let f(i:ℝ):=fromLambda y (x+i*v) |
| 78 | have he(i:ℝ) (hi:|i|≤6*p): f i ∈ band a m:= by |
| 79 | have hf' : |i*v|≤6*p := (abs_mul ..).trans_le (mul_le_mul hi hv (abs_nonneg _) hv'|>.trans_eq (by ring)); obtain ⟨hX',hY⟩:= abs_le.mp hf' |
| 80 | have h₀ : 3/4 ≤ X*(x+i*v):= le_trans hf (by unfold L s; nlinarith only [mul_le_mul_of_nonneg_left hX' hX.le]) |
| 81 | have h₂:X*x ≤ 47/40:= h.2 |
| 82 | have h₁ : X*(x+i*v)≤4/3:= by |
| 83 | nlinarith only [h₂,hk,hz,mul_le_mul_of_nonneg_left hY hX.le] |
| 84 | constructor |
| 85 | · change y/2≤ y* _; apply le_trans (b:=y*(3/4:ℝ)^2) (by nlinarith) (mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (by norm_num) h₀ 2) hy.le) |
| 86 | change y*_ ≤ 2*y; exact le_trans (mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (show (0:ℝ)≤_ from le_trans (by norm_num: (0:ℝ)≤3/4) h₀) h₁ 2) hy.le) (by nlinarith) |
| 87 | let v₀:band a m:=⟨_,ht⟩; let F(i:ℝ):band a m:= if h:|i|≤6*p then ⟨f i,he i h⟩ else v₀ |
| 88 | have he i (hi:|i|≤6*p) :(F i).val=f i:=by unfold F; rw [dif_pos hi] |
| 89 | refine ⟨⟨v₀,K,F,fun i hi=>?_⟩,he⟩; rw [he _ hi]; change f i = y*L^2*(A₀+a₀*i)^2; unfold A₀ a₀ f s; change y*(X*_)^2=_; field_simp |
| 90 | end YM.PhysicalNext.Repeat.Pass |