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.Pills.Light |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.Trace.Pills |
| 5 | open Function Filter Matrix Lattice Pressure Ac Wilson RG Precision Laurent Stationary Perfect Exterior Tree RG Wilson Finset Push.Uniform Det Planned.PrimaryIntegral295 Lamp |
| 6 | open Filch Turret Shepherd AnalyticBridge VerifiedReset Drupes Extra.Iteration SectorAffine Fen Kits |
| 7 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius Classical |
| 8 | variable {G:Gauge} (P:ℕ→Wo G) (L:Finset ℕ) {A a:ℝ} |
| 9 | private lemma epoll {f:ℕ→ℝ}(h: HasSum f 0) {w:ℕ→ℝ} (hp:SumBudget (fun i=> if i∈L then 0 else w i) A)(hx:∀ i,|f i| ≤ w i): |∑ i∈L,f i| ≤ A:=by |
| 10 | let g(i):= if i∈L then f i else 0; have he: HasSum g (∑ i∈ L,f i):=by rw [show (∑ i∈L,f i)=∑ i∈L,g i from Finset.sum_congr rfl (fun i hi=> by simp [g,hi])]; exact hasSum_sum_of_ne_finset_zero (fun i hi=> if_neg hi) |
| 11 | have ht:= h.sub he |
| 12 | have hh(i): ‖f i-g i‖≤ (if i∈L then 0 else w i):=by unfold g; split <;> simp[hx i] |
| 13 | rw[zero_sub] at ht; rw [← abs_neg, ← ht.tsum_eq]; apply le_trans (norm_tsum_le_tsum_norm ht.summable.norm); exact (Summable.tsum_le_tsum hh ht.summable.norm hp.2.1).trans hp.2.2 |
| 14 | def biete(G:Gauge)(A:ℝ):ℝ:= Fintype.card Colour*(Fintype.card (Cards G)*(A+4*A)) |
| 15 | lemma washM (h:Silent P) (hp:SumBudget (fun i=>if i∈L then 0 else (P i).budget a * (1+(P i).length)) A)(ha:0<a): |
| 16 | let c:= biete G A; (∑ i:Colour,(ink L P i).magnitude)≤c:=by |
| 17 | intro c; let g(i):=(P i).budget a*(1+(P i).length); have he(w:Flop)(x:Cards G)(i:ℕ):|charge (P i) w x|≤ (P i).budget a:=by |
| 18 | apply le_trans ?_ ((P i).lower_budget a ha); unfold charge; split_ifs; · exact coeff_le .. |
| 19 | rw[abs_zero]; unfold Atom.magnitude; positivity |
| 20 | have hA := Cost.nonneg hp; let M:ℝ:=A+4*A |
| 21 | have hP(i):0 ≤ (P i).budget a:=by unfold Atom.budget Atom.magnitude; positivity |
| 22 | have hv(w:Flop)(x:Cards G): |strum L P w x| ≤ A:= epoll L (h w x).1 (w:=g) hp (fun i=> (he w x i).trans (le_mul_of_one_le_right (hP i) (by simp))) |
| 23 | have hz(w:Flop)(x:Cards G)(v:Axis):|thud L P w v x| ≤ A:=by |
| 24 | apply epoll L ((h w x).2 v) (w:=g) hp |
| 25 | intro i; rw[abs_mul]; apply mul_le_mul (he w x i) ?_ (abs_nonneg _) (hP i) |
| 26 | have ht: (delta (P i) v).natAbs ≤ (P i).length:= (single_le_sum (f:=fun j=> (delta (P i) j).natAbs) (fun j _=>Nat.zero_le _) (mem_univ v)).trans (delta_size (P i)) |
| 27 | have he: |((delta (P i) v:ℤ):ℝ)| ≤ (P i).length:=by exact_mod_cast (show |delta (P i) v| ≤ ↑(P i).length by rw [← Int.natCast_natAbs]; exact_mod_cast ht) |
| 28 | linarith |
| 29 | have hx(w:Colour)(v:Cards G): |(ink L P w).coeff v| ≤ M:=by |
| 30 | unfold M ink; cases h':w.2 |
| 31 | · change |- _ + (∑ i,thud L P w.1 i) v| ≤ _; rw[Finset.sum_apply]; refine (abs_add_le ..).trans (add_le_add ((abs_neg _).trans_le (hv w.1 v)) ((Finset.abs_sum_le_sum_abs ..).trans (le_trans (Finset.sum_le_sum (fun j _=> hz _ _ _)) ?_))); simp[Axis] |
| 32 | rename_i i; change |-(thud L P w.1 i v)|≤_; refine ((abs_neg _).trans_le (hz w.1 v i)).trans (le_add_of_nonneg_right (by positivity)) |
| 33 | apply (sum_le_sum (fun i (_:i∈univ)=>Finset.sum_le_sum (fun v _=> hx i v))).trans; simp [c,M,biete,mul_add] |
| 34 | lemma washR {n:Side}(R:Rep G n)(σ A B q:ℝ)(r:ℕ)(hp:R.path.Bounds R.clip σ A B)(hq:0<q): ∀ᶠ L:Finset ℕ in atTop, |
| 35 | let P:=R.path.loop; let Q:=spikes R loopF L r; ∑ i:Colour,(ink Q P i).magnitude≤ biete G (q+Real.exp (-(σ/4)*r)*(momentPrice 1 (σ/2)*B)):=by |
| 36 | filter_upwards [coatout R loopF 1 r B q hp.width (offloop R hp) hq] with L hL |
| 37 | intro V Q; apply washM V Q (silent_of_bounds hp) (a:=σ/4) _ (by have h:=hp.width; positivity) |
| 38 | convert! hL using 1; ext i |
| 39 | by_cases h:i∈ L ∧ rowL R loopF i≤r |
| 40 | · rw[if_pos (show i∈Q from mem_filter.mpr h),if_pos h] |
| 41 | rw [if_neg (show _ from fun he:i∈Q=>h (mem_filter.mp he)), if_neg h,pow_one]; rfl |
| 42 | end YM.Trace.Pills |