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.TraceExtension.Wicket.Shelves |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.Trace.Wicket |
| 5 | open Function Filter Lattice Pressure Ac Wilson RG Precision Laurent Stationary Perfect Exterior Tree RG Wilson Push.Uniform Det Lamp Analysis Finset |
| 6 | open Metric Filch Turret Shepherd AnalyticBridge VerifiedReset Extra.Iteration SectorAffine Offset Fen Kits Pills Loft Xo Zn StressFlux MeasureTheory Push.SectorMeasure |
| 7 | open PhysicalNext.JointLoad.Heir Next.Foundations Push.Local Swift WardBin WardBin.Lies WardBin.Wheels |
| 8 | open scoped BigOperators Topology Classical Matrix.Norms.Frobenius ContDiff |
| 9 | variable {G:Gauge}{n:Side}(R:Rep G n){σ A Λ δ w ε:ℝ}{U:Config G n} |
| 10 | variable (hp:R.Lawful σ A Λ δ w) (ht:Geo.Width R.p R.clip σ) |
| 11 | include hp ht |
| 12 | -- finite uniform approximation.Enorme. |
| 13 | lemma repriseC : ∃ f:Badge n→ℝ, (∀ i,0≤ f i ∧ ∀ U, ‖pieceC R i U‖ ≤ f i)∧Summable f:=by |
| 14 | obtain ⟨e,he,he'⟩:=hp.labels.boundE |
| 15 | let P(i:Barley):= VerifiedReset.factor*bingo R i; let F:Badge n→ℝ:= Sum.elim (fun i=> P i.2) e; have hm(i):0≤ bingo R i:= (abs_nonneg _).trans (canto R i 1); have hP(i):0 ≤ P i:= mul_nonneg VerifiedReset.factor_pos.le (hm _) |
| 16 | refine ⟨F,?_,?_⟩ |
| 17 | · rintro (j|j) |
| 18 | · refine ⟨hP _,fun u=>?_⟩; change |- VerifiedReset.factor * _|≤ VerifiedReset.factor*_; rw[abs_mul,abs_neg,abs_of_nonneg factor_pos.le]; exact mul_le_mul_of_nonneg_left (canto R _ _) factor_pos.le |
| 19 | refine ⟨(he j).1,fun U=>?_ ⟩; let k:=R.activities.reg j; change |- masked R.p.threshold k.support _ _| ≤ e j; rw[abs_neg]; unfold masked Set.indicator; split_ifs with h; exact (he j).2 U h [] (by simp) (by simp); rw [abs_zero]; exact (he j).1 |
| 20 | apply Summable.sum |
| 21 | · have hy : Summable (bingo R):= Summable.of_nonneg_of_le hm (fun i=> le_mul_of_one_le_right (hm _) (Real.one_le_exp (by positivity[R.p.exponent_pos]))) (grand R hp ht).2.1 |
| 22 | exact (summable_prod_of_nonneg (f:= F ∘ Sum.inl) (fun i=>hP i.2)).mpr ⟨fun i=> hy.mul_left _,Summable.of_finite⟩ |
| 23 | let g(x:Site n)(i:ℕ):= if (R.activities.reg i).site=x then R.p.mass (R.activities.reg i).support (e i) else 0 |
| 24 | have hx : Summable e:= Summable.of_nonneg_of_le (f:=fun i=>∑ x,g x i) (fun i=> (he i).1) (fun i=> by simp only[g,sum_ite_eq,mem_univ, ↓reduceIte]; exact R.p.loMass _ _ ((he i).1)) (summable_sum (f:=g) (fun i _=> (he' i).2.1)) |
| 25 | exact hx |
| 26 | lemma framed_c (m:ℕ)(I:Vest n)(he:WilsonStartup.Decent R.clip R.p) : Envelope (cabinet R m I):=by |
| 27 | obtain ⟨f,hf,hg⟩:=repriseC R hp ht; exact Envelope.add (Envelope.const _) (Envelope.sum _ _ (fun i=>⟨bare_not R hp he|>.1,f i,(hf i).2⟩)) |
| 28 | abbrev stripeR(m:ℕ)(U:Config G n)(i:Badge n):ℝ:= if coverNumber R.p.B (boothC R i) ≤ m then pieceC R i U else 0 |
| 29 | lemma wearer (m:ℕ)(U:Config G n): field R m U= R.v*Fintype.card (Site n)+∑' i:Badge n,stripeR R m U i:=by |
| 30 | obtain ⟨f,hf,hg⟩:= repriseC R hp ht; let P:={p:Support n// coverNumber R.p.B p ≤ m}; let Z(p:P)(i:Badge n):ℝ:= if boothC R i=p.val then pieceC R i U else 0 |
| 31 | have ht(p:P) : Summable (Z p):=Summable.of_norm_bounded hg (fun i=>by unfold Z; split; exact (hf i).2 _; rw[norm_zero];exact (hf i).1) |
| 32 | unfold Shepherd.field stockC; simp_rw [MergeProof.expand_eq]; refine congr_arg₂ (· + ·) rfl ?_; change ∑ p:P, ∑' i,Z p i=_; rw [← Summable.tsum_finsetSum (f:=Z) (fun i _=> ht i)]; refine tsum_congr fun j=>?_ |
| 33 | unfold stripeR; split |
| 34 | next h=> |
| 35 | let p:P:=⟨_,h⟩; rw [sum_eq_single p]; exact if_pos rfl; intro i _ hi; exact if_neg (fun he=> hi (Subtype.ext (by exact he.symm))); simp |
| 36 | next h=> exact sum_eq_zero (fun i _=> show Z i j=0 from if_neg (fun (he:boothC R j=i.val)=> h (he.symm ▸ i.property))) |
| 37 | lemma patterns (m:ℕ)(hh:0<ε) :∀ᶠ I:Vest n in atTop,∀ U:Config G n, |field R m U-cabinet R m I U|≤ε:=by |
| 38 | obtain ⟨f,hf,hg⟩:= repriseC R hp ht |
| 39 | filter_upwards [clips_out f (fun i=> (hf i).1) hg hh] with I hI U |
| 40 | let Z:= stripeR R m U; have hy(i): ‖Z i‖ ≤ f i:=by unfold Z stripeR; split; exact (hf i).2 U; rw [norm_zero]; exact (hf i).1 |
| 41 | let V(i):= if i∈I then Z i else 0; have ht'(i):‖V i‖ ≤ f i:=by unfold V; split; exact hy _; rw [norm_zero]; exact (hf i).1 |
| 42 | have hx: (∑ i∈ stageZ R m I,pieceC R i U)=∑' j,V j:=by |
| 43 | rw[tsum_eq_sum (s:=I)]; swap; · intro i hi; exact if_neg hi |
| 44 | unfold stageZ; rw[sum_filter]; apply sum_congr rfl fun i hi=> (if_pos hi|>.symm) |
| 45 | let HZ:= Summable.of_norm_bounded hg hy; let HV:= Summable.of_norm_bounded hg ht' |
| 46 | rw [wearer R hp ht m U]; unfold cabinet; rw [hx,add_sub_add_left_eq_sub,← Summable.tsum_sub HZ HV]; apply (norm_tsum_le_tsum_norm (HZ.sub HV).norm).trans; apply le_trans (Summable.tsum_le_tsum ?_ (HZ.sub HV).norm hI.2.1) hI.2.2; intro i; change ‖Z i-V i‖≤_; unfold V; split; simp [*]; simp [*]; exact hy i |
| 47 | lemma exp_forms (m:ℕ)(he:WilsonStartup.Decent R.clip R.p)(hD:4 ≤ R.p.supportExponent)(hh:0< ε):∀ᶠ I:Vest n in atTop,∀ U V:Config G n, |Real.exp (field R m U-field R m V)-Real.exp (cabinet R m I U-cabinet R m I V)|≤ ε:=by |
| 48 | obtain ⟨C,hC⟩:= (froth R hp ht he hD m).cost; let g:=field R m; let d:= 2*C; let p:= d+2; let L:= Real.exp p; let F:=min 1 ((ε/L)/2); have hc:0 ≤ C:= (norm_nonneg _).trans (hC 1); have ht':0<L:= Real.exp_pos _; have hL:0<F:=lt_min zero_lt_one (by positivity); have hv:F≤1:= min_le_left .. |
| 49 | filter_upwards [patterns R hp ht m hL] with I hx U V |
| 50 | let f:= cabinet R m I; have hw(U V:Config G n):|g U-g V|≤d:= (abs_sub ..).trans ((add_le_add (hC _) (hC _)).trans_eq (two_mul _).symm) |
| 51 | let x:=g U-g V; let y:= f U-f V; have hy:|x-y| ≤ 2*F:=by rw [show x-y=(g U-f U)-(g V-f V) from by unfold x y; ring,two_mul]; exact (abs_sub ..).trans (add_le_add (hx _) (hx _)) |
| 52 | have hp : p ≥ 0:=by unfold p d; positivity |
| 53 | have hx : |x| ≤ p:= (hw ..).trans (le_add_of_nonneg_right zero_le_two); have hY: |y| ≤ p:=by rw[show y= x-(x-y) by ring]; exact (abs_sub ..).trans ((add_le_add (hw U V) (hy.trans (by linarith only[hv]:2*F≤2)))) |
| 54 | have hz : ‖Real.exp x-Real.exp y‖ ≤ L*‖x-y‖:= Convex.norm_image_sub_le_of_norm_hasDerivWithin_le (s:=closedBall (0:ℝ) p) (fun v _=> (Real.hasDerivAt_exp _).hasDerivWithinAt) (fun z hz=> (Real.norm_of_nonneg (Real.exp_pos _).le).trans_le (Real.exp_monotone ((le_abs_self z).trans (by simpa [Real.norm_eq_abs] using hz)))) (convex_closedBall ..) (by simpa [Real.norm_eq_abs] using hY) (by simpa [Real.norm_eq_abs] using hx) |
| 55 | apply hz.trans; apply (mul_le_mul_of_nonneg_left hy ht'.le).trans; have ht:F ≤ ε/L/2:= min_le_right ..; exact (mul_le_mul_of_nonneg_left (show 2*F ≤ ε/L by linarith only [ht]) ht'.le).trans_eq (by field_simp) |
| 56 | end YM.Trace.Wicket |