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.RG05Readout.Address.Saved |
| 2 | /-! |
| 3 | # Common head and cone coordinates |
| 4 | -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.RG05Readout.Address |
| 8 | open Function Filter Set MeasureTheory Lattice Wilson Labels RG Source Bid |
| 9 | open Extra.Histories Push Local Planned.GuardedAtom Guard MergeProof Extra.Histories.Relay Native |
| 10 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius Classical |
| 11 | variable {G: Gauge}{C: Family G}{d:ℕ} |
| 12 | abbrev Mark (C:Family G)(d:ℕ):= (i:Letter d) × (C.labels.level (kept i)).Index |
| 13 | abbrev weights {d:ℕ} (j:Mark C d):=depth j.1 + ((C.labels.level (kept j.1)).grades j.2).1 |
| 14 | lemma capped (i:Mark C d): weights i ≤ d:= by |
| 15 | have h:depth i.1 ≤ d:= Nat.le_of_lt_succ i.1.1.isLt |
| 16 | exact (Nat.add_le_add_left ((C.labels.level (kept i.1)).bound i.2) _).trans_eq (Nat.add_sub_of_le h) |
| 17 | |
| 18 | def val (f:Palette C d)(i:Mark C d):ℂ:= f i.1 i.2 |
| 19 | def size (f:Palette C d):ℝ:=∑ i:Mark C d, ‖val f i‖ |
| 20 | lemma bill_group (f:Palette C d):size f=∑ i:Letter d,(C.labels.level (kept i)).coeffSize (f i):=by |
| 21 | rw [size,Fintype.sum_sigma];rfl |
| 22 | lemma size_zero: size (0:Palette C d)=0:=by simp [size,val] |
| 23 | lemma size_ge (f:Palette C d):0≤ size f:= Finset.sum_nonneg (fun _ _=>norm_nonneg _) |
| 24 | lemma each_price (f:Palette C d)(i:Mark C d):‖val f i‖ ≤ size f:= Finset.single_le_sum (f:=fun j=> ‖val f j‖) (fun _ _=>norm_nonneg _) (Finset.mem_univ i) |
| 25 | lemma size_add (f g:Palette C d):size (f+g)≤ size f+size g:=by simp only [bill_group,← Finset.sum_add_distrib]; exact Finset.sum_le_sum fun i _=> Size.add .. |
| 26 | lemma size_sum {ι:Type*}(p:Finset ι)(f:ι→Palette C d):size (∑ i∈p,f i) ≤ ∑ i∈p,size (f i):=by |
| 27 | induction p using Finset.induction_on with |
| 28 | | empty => simp [size_zero] |
| 29 | | @insert i p hi ih => rw [Finset.sum_insert hi, Finset.sum_insert hi]; exact (size_add ..).trans (add_le_add le_rfl ih) |
| 30 | lemma size_smul (c:ℂ)(f:Palette C d): size (c • f)=‖c‖*size f:=by simp only [bill_group,Finset.mul_sum,Pi.smul_apply,Size.smul] |
| 31 | lemma size_neg (f:Palette C d):size (-f)=size f:= by rw [← neg_one_smul ℂ f,size_smul,norm_neg,norm_one,one_mul] |
| 32 | lemma size_norm (f:Palette C d): ‖f‖ ≤ size f:= |
| 33 | (pi_norm_le_iff_of_nonneg (size_ge _)).mpr (fun i=> (pi_norm_le_iff_of_nonneg (size_ge _)).mpr (fun j=>each_price f ⟨i,j⟩)) |
| 34 | |
| 35 | open Trace.Physical |
| 36 | variable (d) (S:Family G) {n:Side}{R:Rep G n}{o:Site n} |
| 37 | def wrap_price :ℝ:=1+ ∑ i:Letter d,((((S.labels.level (kept i)).extra+1:ℕ):ℝ)*((Trace.Physical.Germ.germ_close (S.labels.level (kept i)) S.params).choose)) |
| 38 | lemma price_nn:1 ≤ wrap_price d S:= le_add_of_nonneg_right (Finset.sum_nonneg fun i _=> mul_nonneg (by positivity) ((Trace.Physical.Germ.germ_close ..).choose_spec.1.le)) |
| 39 | theorem wraps_paid {P:Tape G n}{v w:Palette S d} {u t:ℝ}(h:Printed S d R o t P v w u)(hd:d ≤ R.p.order)(he:d≤ R.p.power): size (w-v)≤ wrap_price d S * Trace.Physical.Germ.wraps R.p n * u:=by |
| 40 | rcases h with @⟨L,F,v,b,H,h,hp,rfl,rfl,rfl,hu⟩ |
| 41 | let f(i:Letter d):=(((S.labels.level (kept i)).extra+1:ℕ):ℝ) |
| 42 | let g(i:Letter d):=((Trace.Physical.Germ.germ_close (S.labels.level (kept i)) S.params).choose) |
| 43 | let y:=Trace.Physical.Germ.wraps R.p n; have hg(i:Letter d):0≤g i :=(Trace.Physical.Germ.germ_close ..).choose_spec.1.le |
| 44 | have ht:0 ≤ wrap_price d S:=zero_le_one.trans (price_nn ..); have hδ: 0≤ y:=(Real.exp_pos _).le; let w:=wrap_price d S |
| 45 | rw [bill_group]; apply le_trans (b:=w*y*∑ i,v i); rotate_left |
| 46 | · exact mul_le_mul_of_nonneg_left ((le_add_of_nonneg_right H.nonneg).trans hu) (mul_nonneg ht hδ) |
| 47 | rw [Finset.mul_sum]; apply Finset.sum_le_sum |
| 48 | intro i _; let v':=(L i); let d':=kept i |
| 49 | change (S.labels.level (kept i)).coeffSize _ ≤ w*y*v i |
| 50 | have hv : f i*g i ≤ w:= (Finset.single_le_sum (f:=fun i=>f i*g i) (fun i _=> mul_nonneg (by dsimp [f]; positivity) (hg i)) (Finset.mem_univ i)).trans (le_add_of_nonneg_left zero_le_one) |
| 51 | have hζ:= (Trace.Physical.Germ.germ_close ..).choose_spec.2 _ (L i) (h i) (hp i) ((Nat.sub_le ..).trans hd) ((Nat.sub_le ..).trans he) |
| 52 | refine (size_le_norm _ _).trans ((mul_le_mul_of_nonneg_left hζ (show 0≤f i from by unfold f; positivity)).trans ?_) |
| 53 | change f i * (g i*y*v i) ≤ _; rw [← mul_assoc, ← mul_assoc]; exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hv hδ) (rem_nonneg (hp i)) |
| 54 | |
| 55 | def amplify (x:Side) : Palette S d→ₗ[ℂ]Palette S d where |
| 56 | toFun v:=fun i=>vowel (S.labels.level (kept i)) x (v i) |
| 57 | map_add' v w:=by funext i j; exact mul_add .. |
| 58 | map_smul' v w:=by funext i j; refine mul_left_comm .. |
| 59 | variable {d S} |
| 60 | open Offsets |
| 61 | noncomputable def clear (C:Family G)(d n:ℕ):Palette C d→ₗ[ℂ]Palette C d where |
| 62 | toFun x:= fun i j => if weights (Sigma.mk i j:Mark C d)≤n then x i j else 0 |
| 63 | map_add' x y:=by funext i j; dsimp; split<;> simp |
| 64 | map_smul' x y:=by funext i j; dsimp; split<;> simp |
| 65 | lemma size_cap (j:ℕ)(x:Palette C d): size (clear C d j x) ≤ size x:=by |
| 66 | exact Finset.sum_le_sum (fun i _=> show ‖if weights i ≤ j then val x i else 0‖ ≤ ‖val x i‖ from by split <;> simp) |
| 67 | end YM.RG05Readout.Address |