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.Pert.Spatial.Wide |
| 2 | |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.MergeProof.Ribbons |
| 6 | open Function Filter Lattice RG MeasureTheory Asymptotics Finset Bid |
| 7 | open PhysicalNext.Repeat.Legato PhysicalNext.Repeat.Legato.Bandage PhysicalNext.Repeat.Mallow |
| 8 | open scoped Topology BigOperators Classical |
| 9 | variable {G:Gauge}(C:Family G)(D d :ℕ){x:ℝ} {j : ℕ→ℕ} |
| 10 | set_option quotPrecheck false |
| 11 | local notation "P"=>C.path.levels |
| 12 | local notation "q₀"=>C.S.scale |
| 13 | local notation "δ"=> renal C.path.levels |
| 14 | local notation "η"=> near C.path.levels |
| 15 | local notation "K"=> C.path.levels.budget |
| 16 | local notation "H"=> C.path.levels.clock.hatBeta |
| 17 | local notation "ℓK" => spacingFactor C.path.levels |
| 18 | variable (hG:G.Simple)(t:ℝ) (hT:Tendsto (fun i=>C.S.scale (j i)/C.S.scale i) atTop (𝓝 t)) (hj:Tendsto j atTop atTop) |
| 19 | variable {r:ℕ→ℕ}{D':∀ N p m:ℕ,m<N→GaugeDoor (C.path.rep N p (m+1)) (C.path.rep N p m)} |
| 20 | variable (hV:Velour C (renal C.path.levels) r D') |
| 21 | variable {b a:ℝ}(hb:0<b)(ha:0<a) |
| 22 | open Accent Source Extra.Histories |
| 23 | variable {u ψ:ℕ→ℝ}{W:Worth} |
| 24 | variable (hW:Scrim C W u ψ (near C.path.levels) (renal C.path.levels) (fly C.path.levels) r D') |
| 25 | |
| 26 | /-- Extra post-block condition (before Delays), so the enlarged margin fits the |
| 27 | Sail preimage width with log-cost negligible on every fine-calendar scale. |
| 28 | Proof of supply is in Deeper, not a consequence here of `hV`. |
| 29 | -/ |
| 30 | def Plenty := ∀ i, ((K i).supportExponent+1)*((ℓK i:ℕ):ℝ)^4 ≤ Real.sqrt (H i) |
| 31 | include hG |
| 32 | |
| 33 | theorem coverGrowth : Tendsto (fun i:ℕ=>(1+((K i).B:ℝ))^8/(H i)) atTop (𝓝 0) := by |
| 34 | let x(i:ℕ):= H i |
| 35 | have ht : Tendsto x atTop atTop:= tendsto_atTop_add_const_left _ _ (C.S.divergent.const_mul_atTop (Gauge.slopeConstant_pos hG)) |
| 36 | have hh : Tendsto (fun i:ℕ => (3^8:ℝ)*(Real.log (x i)^16 / x i)) atTop (𝓝 0) := by |
| 37 | simpa using! (((Real.tendsto_pow_log_div_mul_add_atTop 1 0 16 one_ne_zero).comp ht).const_mul ((3:ℝ)^8)) |
| 38 | refine squeeze_zero' (Eventually.of_forall fun i=> by have := ((hut C hG).pos i).le; positivity) ?_ hh |
| 39 | filter_upwards [(Real.tendsto_log_atTop.comp ht).eventually_ge_atTop 1] with i hi; |
| 40 | · have hx : ((K i).B:ℝ) ≤ 2*Real.log (x i)^2 := by |
| 41 | change (⌈Real.log (x i)^2⌉₊:ℝ) ≤ _ |
| 42 | simp only [Function.comp_apply] at hi |
| 43 | nlinarith only [hi,Nat.ceil_lt_add_one (sq_nonneg (Real.log (x i)))] |
| 44 | have hz : 1+((K i).B:ℝ) ≤ 3*Real.log (x i)^2 := by simp only [Function.comp_apply] at hi;nlinarith |
| 45 | calc |
| 46 | _ ≤ ((3:ℝ)*Real.log (x i)^2)^8/x i := div_le_div_of_nonneg_right (pow_le_pow_left₀ (by positivity) hz 8) ((hut C hG).pos i).le |
| 47 | _ = (3^8:ℝ)*(Real.log (x i)^16/x i) := by ring |
| 48 | include hV in |
| 49 | -- wrapper to pay the change relative to `whack`/`pica`, not replace all those post costs |
| 50 | lemma wide_cost (hp : Plenty C) : Tendsto (fun m=>Real.log |
| 51 | (Real.exp (-(((K m).supportExponent+1/2)*((crowd (P) m : ℝ) - (peepers (P) m : ℝ))))) / q₀ m) atTop (𝓝 0) := by |
| 52 | have old := whack C hG hV |
| 53 | suffices he : Tendsto (fun m=>((K m).supportExponent+1/2)*((crowd (P) m : ℝ))/q₀ m) atTop (𝓝 0) by |
| 54 | simp_rw [Real.log_exp, mul_sub,neg_sub, sub_div] |
| 55 | simpa using! old.sub he |
| 56 | let B m:= (1+((K m).B:ℝ))^4 / (Real.sqrt (H m)) |
| 57 | have hx : Tendsto (fun m=> H m / q₀ m) atTop (𝓝 G.slopeConstant) := by |
| 58 | have hp : Tendsto (fun i=> C.path.levels.clock.bar/q₀ i) atTop (𝓝 0) := tendsto_const_nhds.div_atTop C.S.divergent |
| 59 | refine (show Tendsto (fun i=> C.path.levels.clock.bar/q₀ i+G.slopeConstant) atTop (𝓝 G.slopeConstant) from by simpa only [zero_add] using! hp.add_const G.slopeConstant).congr' ?_; filter_upwards [C.S.divergent.eventually_gt_atTop 0] with i hi |
| 60 | change _= (C.path.levels.clock.bar+G.slopeConstant*q₀ i)/_; rw [add_div,mul_div_cancel_right₀ _ hi.ne'] |
| 61 | have hB : Tendsto B atTop (𝓝 0) := by |
| 62 | refine (show Tendsto (fun m=>Real.sqrt ((B m)^2)) atTop (𝓝 (Real.sqrt 0)) from ?_).congr ?_ |> (Real.sqrt_eq_zero_of_nonpos le_rfl ▸ ·) |
| 63 | · exact (Real.continuous_sqrt.continuousAt.tendsto.comp ((coverGrowth C hG).congr (fun i=>by unfold B; rw [div_pow,←pow_mul,Real.sq_sqrt ((hut C hG).pos i|>.le)]))) |
| 64 | intro m; rw [Real.sqrt_sq (by unfold B; positivity)] |
| 65 | have hpos m : 0 < Real.sqrt (H m) := Real.sqrt_pos.2 ((hut C hG).pos m) |
| 66 | have hden m : 1 / Real.sqrt (H m) * (H m / q₀ m) = Real.sqrt (H m)/q₀ m := by |
| 67 | rw [← mul_div_assoc (1/_ : ℝ), div_mul_eq_mul_div,div_right_comm] |
| 68 | have ht := Real.sq_sqrt (((hut C hG).pos m).le) |
| 69 | field_simp [(hpos m).ne']; rw [ht] |
| 70 | refine squeeze_zero' (Eventually.of_forall fun i=> by have := (K i).exponent_pos; have := RG.Shoot.scale_nn (P) i; positivity) |
| 71 | (Eventually.of_forall (fun i => ?_)) (g:=fun i=> (((2049:ℝ)^4*(B i)) * (H i / q₀ i))) (show _ from ?_) |
| 72 | · unfold crowd B |
| 73 | push_cast |
| 74 | let x := (K i).B |
| 75 | let y := (K i).supportExponent |
| 76 | let u : ℝ := ℓK i |
| 77 | let β := H i |
| 78 | have hb : 0 ≤ (x:ℝ) := Nat.cast_nonneg _ |
| 79 | have hy : 0 ≤ y := ((K i).exponent_pos).le |
| 80 | have hu : 1 ≤ u := Nat.one_le_cast.mpr (C.S.block (i-1)).pos |
| 81 | calc |
| 82 | _ ≤ ((y+1)*u^4) * (((2049*(1+x))^4)) / q₀ i := div_le_div_of_nonneg_right (?_) (RG.Shoot.scale_nn (P) i) |
| 83 | _ ≤ (Real.sqrt β)*((2049*(1+x))^4) / q₀ i := div_le_div_of_nonneg_right (mul_le_mul_of_nonneg_right (hp i) (by positivity)) (RG.Shoot.scale_nn (P) i) |
| 84 | _ = _ := by rw [mul_pow]; change _ = _ * (_ / _) * (β / _); rw [show (2049^4:ℝ)*((1+x)^4 / Real.sqrt β)*(β / q₀ i) = (2049^4:ℝ)*((1+(x:ℝ))^4)*(1/Real.sqrt β*(β / q₀ i)) from by ring,hden];ring |
| 85 | · rw [mul_assoc (y+1),← mul_pow]; change (y+1/2)*(2*(u*1024*x)+1)^4 ≤ _ |
| 86 | gcongr <;> nlinarith only [hb,hu,mul_nonneg (zero_le_one.trans hu) hb] |
| 87 | · simpa using! (hB.const_mul ((2049:ℝ)^4)).mul hx |
| 88 | end YM.MergeProof.Ribbons |