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.Perfect.Crawl |
| 2 | import YM.Next.FREE_KERNELS.Differences |
| 3 | import YM.Corona.Spend |
| 4 | |
| 5 | /-! |
| 6 | # Front centered free bounds; no periodic losses. |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.Trace.Perfect |
| 11 | open Function Matrix Lattice Precision Laurent Stationary Bloch Next.Free Exterior Finset |
| 12 | open scoped BigOperators Topology ContDiff |
| 13 | variable {c f : Side}{g : Ratio c f} {α β:Type}[Fintype α][DecidableEq α][Fintype β]{W:Cross g.count α β}{η σ C:ℝ}{t:ℕ} |
| 14 | -- real polynomial cost absorption. can choose after stage only. |
| 15 | omit [Fintype α] in |
| 16 | lemma shelter_paid {t:ℕ}{η α:ℝ}(h:0≤α)(hp:α<η): ∃ D:ℝ,0<D ∧ ∀ r:ℝ,0 ≤ r→ shelter α t r ≤ D*Real.exp (η*r) :=by |
| 17 | let b:ℝ:= (η-α)/(t+1); have hb:0 < b:=div_pos (sub_pos.mpr hp) (by positivity) |
| 18 | let K:=1+b⁻¹; have hK:0<K:=add_pos zero_lt_one (inv_pos.mpr hb) |
| 19 | refine ⟨K^t,pow_pos hK _,fun r hr=> ?_⟩ |
| 20 | have hx : 1+r≤ K * Real.exp (b*r):=by |
| 21 | apply le_trans _ (mul_le_mul_of_nonneg_left (Real.add_one_le_exp _) hK.le) |
| 22 | unfold K; rw [add_mul,mul_add b⁻¹,inv_mul_cancel_left₀ hb.ne']; linarith [mul_nonneg hb.le hr,inv_pos.mpr hb] |
| 23 | unfold shelter; refine (mul_le_mul_of_nonneg_right (pow_le_pow_left₀ (by positivity) hx t) (Real.exp_pos _).le).trans ?_ |
| 24 | rw [mul_pow,← Real.exp_nat_mul,mul_assoc,← Real.exp_add]; apply mul_le_mul_of_nonneg_left _ (pow_nonneg hK.le t) |
| 25 | apply Real.exp_monotone; rw [← mul_assoc,← add_mul]; apply mul_le_mul_of_nonneg_right _ hr |
| 26 | have h0:0 < (t:ℝ)+1:=by positivity |
| 27 | rw [← le_sub_iff_add_le]; unfold b; rw [← mul_div_assoc, div_le_iff₀ h0]; nlinarith only[hp] |
| 28 | |
| 29 | private lemma spacing {y z:Site f}(v:Site c) (T R :ℝ)(r:ℝ) (w: Site c) (hh:(separation y z:ℝ)≤(g.count.val:ℝ)*(T+r)) (he:(separation (g.embed v) y:ℝ) ≤ (g.count.val:ℝ)*R) (ht:0 ≤ T)(hR:0≤R): |
| 30 | max 0 ((separation v w:ℝ)-r) ≤ T+R+separation z (g.embed w)/(g.count.val:ℝ):=by |
| 31 | have h:= Corona.below g v w |
| 32 | let L:ℝ:= g.count.val; have hp:0<L:= side_pos _ |
| 33 | have hv : L*separation v w ≤ (L*R+L*(T+r))+(separation z (g.embed w):ℝ) :=by |
| 34 | calc |
| 35 | _ ≤ (separation (g.embed v) (g.embed w):ℝ) := by unfold L; exact_mod_cast h |
| 36 | _ ≤ ((separation (g.embed v) y:ℝ)+(separation y z:ℝ))+(separation z (g.embed w):ℝ) := by exact_mod_cast (separation_triangle (g.embed v) z (g.embed w)).trans (Nat.add_le_add_right (separation_triangle _ y z) _) |
| 37 | _ ≤ _:=add_le_add (add_le_add he hh) le_rfl |
| 38 | apply max_le (show 0≤ T+R+(separation z (g.embed w):ℝ)/L from by positivity); change _ ≤ _+ (separation z (g.embed w):ℝ)/L |
| 39 | apply le_of_mul_le_mul_left _ hp; rw [mul_add,_root_.mul_div_cancel₀ _ hp.ne'] |
| 40 | linarith only [hv] |
| 41 | |
| 42 | -- support shape in fine units. rounded ratios never cost factors |
| 43 | omit [Fintype α] [DecidableEq α] in |
| 44 | lemma odometer (g : Ratio c f)(v:Site c)(o:Site f)(R T r:ℝ)(z:Site f)(he:(separation o z:ℝ)≤(g.count.val:ℝ)*(T+r))(hg:(separation (g.embed v) o:ℝ) ≤ (g.count.val:ℝ)*R)(ht:0 ≤ T)(hR:0≤R) {W:Cross g.count α β}(h:W.strip η C) (ha:0≤σ)(hb: σ<η) {D:ℝ}(hp:0<D)(hd:∀ r:ℝ,0≤r→shelter σ t r ≤ D*Real.exp (η*r)) (i:α): |
| 45 | sh (fun j:Co c β=> separation v j.1) σ t r (installed g W (z,i)) ≤ (D*Real.exp (η*(T+R)))* (Real.exp η*(Fintype.card β*C)) :=by |
| 46 | refine le_trans ?_ (mul_le_mul_of_nonneg_left (cross_sprawl g (ha.trans hb.le) h (z,i)) (show 0 ≤ D*Real.exp _ from mul_nonneg hp.le (Real.exp_pos _).le)); unfold sh; rw [Finset.mul_sum]; apply sum_le_sum; intro a _ |
| 47 | rw [← mul_assoc]; apply mul_le_mul_of_nonneg_right _ (norm_nonneg _) |
| 48 | dsimp only [spot] |
| 49 | apply le_trans ((hd _ (le_max_left ..)).trans (mul_le_mul_of_nonneg_left (Real.exp_monotone (mul_le_mul_of_nonneg_left (spacing v T R r a.1 he hg ht hR) (ha.trans hb.le))) hp.le)) |
| 50 | unfold crossW; rw [mul_add, Real.exp_add, mul_assoc] |
| 51 | |
| 52 | -- |
| 53 | private lemma stap_move {i:Axis} (W:Cross g.count α β)(x:Site f)(a:α)(h:Odd g.count.val) (hw:Whole W) : |
| 54 | installed g W (x+step i,a)-installed g W (x,a) = installed g (forwardC g.count W i) (x,a) := by |
| 55 | rw [← move_forward h, Whole.from_fine g (knock_whole α i) hw] |
| 56 | funext b; exact (knock_entry α _ i (x,a) (fun t=> installed g W t b) |>.symm) |
| 57 | |
| 58 | def cab (g:Ratio c f) (W:Cross g.count α β) (x:Site f)(a:α)(v:Cover):= installed g W (wrap f v+x,a) |
| 59 | lemma cab_move (g:Ratio c f) (W:Cross g.count α β) (v:Axis)(a:α)(x:Site f) (h:Odd g.count.val) (hw:Whole W) : |
| 60 | move (cab g W x a) v=cab g (forwardC _ W v) x a :=by |
| 61 | funext i; unfold cab move; dsimp only; rw [map_add,wrap_step, add_right_comm,stap_move _ _ _ h hw] |
| 62 | |
| 63 | end YM.Trace.Perfect |