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.MergeProof.Wicket |
| 2 | /-! recover multi via DECORRELATED modes (possibly coincident in different modes) |
| 3 | & embeddings.Fraction stage. -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.MergeProof.Accent |
| 7 | open Finset Function MeasureTheory Lattice Wilson RG Push Marker Extra.Histories Ac Menu |
| 8 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical ContDiff |
| 9 | variable {V:Type}[Fintype V][DecidableEq V]{B:Census V}{G:Gauge}{f c:Side} |
| 10 | open GridApprox.Nil Local Extra.Trajectories Source Extra.Multi |
| 11 | variable (A:History G)(r:ℕ→ℕ)(k p N:ℕ)(δ φ:ℕ→ℝ)(o:∀ m:ℕ,V →Site (A.S.side m p))(w:V→ℝ)(hw:∀ i,0 < w i) |
| 12 | def march {V:Type*}(w:V→ℝ)(φ:ℕ→ℝ)(k:ℕ) : ℕ→V→ℝ |
| 13 | | 0=> w |
| 14 | | m+1=> if k ≤ m then fun i=>φ m*march w φ k m i else w |
| 15 | include hw |
| 16 | lemma marines : march w φ k k = w:=by cases k with |
| 17 | | zero=> rfl |
| 18 | | succ i=> rw [march,if_neg (by omega)] |
| 19 | omit hw |
| 20 | structure Migrating : Prop where |
| 21 | mare m:k ≤ m→m < N→ (A.levels.clock.op m p).ratio.embed ∘ o m=o (m+1) |
| 22 | structure Drake (B:Census V)(M:ℕ)(o:V→Site f) : Prop where |
| 23 | spread : ∀ s:B.Mode, 2 ≤ s.val.card→ ∀ i∈s.val,∀ j∈s.val,i≠j → M^2 ≤ separation (o i) (o j) |
| 24 | def mintK (x:ℕ):= Real.exp ((x:ℝ)/128) |
| 25 | lemma Drake.palms {a v:V→ℝ}{K:ℕ}{o:V→Site f}(hh:Drake B K o)(hv:∀ i,a i≤v i*mintK K)(hw:∀ i,0<a i)(he:∀ i,0<v i)(hx:8≤K): Repegs o K v a (1/2) 1 B:=by |
| 26 | intro i hi X hX; have ht := Work.I01.answer f V o K hx i.val (hh.spread i hi) hi X hX |
| 27 | rw [one_mul]; unfold Poly.toll |
| 28 | refine (Finset.prod_le_prod (fun i _=>hw i|>.le) (fun i _=>hv i)).trans ?_ |
| 29 | rw [Finset.prod_mul_distrib,prod_const]; apply mul_le_mul_of_nonneg_left _ (prod_nonneg fun i _=> he i|>.le); unfold mintK; rw [← Real.exp_nat_mul] |
| 30 | have ht':(K:ℝ)*i.val.card ≤ 64*(coverNumber K X :ℝ):= by exact_mod_cast ht |
| 31 | apply Real.exp_monotone; linarith only [ht'] |
| 32 | local notation "P"=>A.levels.budget |
| 33 | structure Brine : Prop where |
| 34 | water m : k ≤ m→ 0 < φ m ∧ 0<δ m |
| 35 | mint m : k ≤ m→ 1 ≤ δ m*φ m*mintK (P m).B |
| 36 | split m : k ≤ m → (P (m+1)).B^2 ≤ (A.S.block m).val*(P m).B^2 |
| 37 | support m : k ≤ m → 8 ≤ (P m).B |
| 38 | include hw |
| 39 | set_option quotPrecheck false |
| 40 | local notation "W" => march w φ k |
| 41 | variable (h:Brine A k δ φ)(B:Census V) |
| 42 | include h |
| 43 | lemma march_pos m (hk:k ≤ m) (j:V): 0<W m j:=by |
| 44 | induction hk with |
| 45 | | refl=> rw [marines k φ w hw]; exact hw _ |
| 46 | | step hi ih=>rename_i m; simp only [march,if_pos (show k ≤ m from hi)]; exact mul_pos (h.water m hi).1 ih |
| 47 | lemma desal (hn:Migrating A k p N o)(hS:Drake B (P k).B (o k))(hx:Monotone r)(hO:Occupancy (o k) (r k)): Matchup A r δ p N k o W B:=by |
| 48 | have hM m (hi:k ≤ m) (hp:m<N): (A.levels.clock.op m p).ratio.parent ∘ o (m+1)=o m:=by rw [← hn.mare m hi hp]; exact funext fun i=> Ratio.embed_parent .. |
| 49 | have hε:∀ m:ℕ,k ≤ m→m≤N → Occupancy (o m) (r k):=by |
| 50 | intro m he hp; induction he with |
| 51 | | refl =>exact hO |
| 52 | | step hi ih=>rename_i m; intro x; let f:=(A.levels.clock.op m p).ratio |
| 53 | have hρ:= ih (show m ≤ N by omega) (f.parent x); apply le_trans (Finset.card_le_card _) hρ |
| 54 | intro j hj; refine Finset.mem_filter.mpr ⟨Finset.mem_univ _,?_⟩; rw [← hM _ hi hp];simp only [Function.comp_apply]; exact congr_arg f.parent (Finset.mem_filter.mp hj).2 |
| 55 | have hΔ:∀ m:ℕ,k ≤ m → m≤N→Drake B (P m).B (o m):=by |
| 56 | intro m he hp; induction he with |
| 57 | | refl=> exact hS |
| 58 | | step hi ih=>rename_i m; let f:=(A.levels.clock.op m p).ratio |
| 59 | rw [← hn.mare m hi hp]; refine ⟨fun s ht i hi' j hj hij=> ?_⟩; exact (h.split _ hi).trans ((Nat.mul_le_mul_left f.count.val ((ih (show m≤N by omega)).spread s ht i hi' j hj hij)).trans (Corona.below f ..)) |
| 60 | refine ⟨fun i he hp j=> march_pos A k δ φ w hw h i he _,fun m hi hp x=> (hε m hi hp x).trans (hx hi),fun i hi hp x=> (hε (i+1) (hi.trans i.le_succ) hp x).trans (hx hi), hM, fun i hi hm=>?_⟩ |
| 61 | have hw':=march_pos A k δ φ w hw h i hi; have hv:=hΔ _ hi hm.le |
| 62 | apply hv.palms (v:=fun j=>δ i*W (i+1) j) _ hw' (fun j=>mul_pos (h.water i hi).2 (march_pos _ _ _ _ w hw h _ (hi.trans i.le_succ) j)) (h.support _ hi); intro j |
| 63 | simp only [march,if_pos hi]; exact ((mul_one (W i j)).symm.trans_le (mul_le_mul_of_nonneg_left (h.mint _ hi) (hw' j|>.le))).trans_eq (by ring) |
| 64 | end YM.MergeProof.Accent |