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.MultiNext.SIGNED_SOURCE_CONTINUATION.Crossing |
| 2 | import YM.MultiNext.SIGNED_SOURCE_CONTINUATION.NewPromise |
| 3 | |
| 4 | set_option warningAsError false |
| 5 | |
| 6 | /-! # On the real Horizon, JHs Promise |
| 7 | |
| 8 | Read all p with real exponential stencil INCLUDING residue crossing. Only A0 |
| 9 | needed. Credit for x, associate with a particular o like the user has, not |
| 10 | at recalibrated offsets. Prices still before L (index parameters Θ,α from |
| 11 | MapPrices etc). Paths covered iff `Suffices` really delivered. Genuine |
| 12 | conditional lemma on `Precision.Towers`, with *same* estimates & conjunctions |
| 13 | as B70 production, for use **inside** Hearts obligations. Not a way |
| 14 | around the blocked path & mass estimates; DOESN'T test actual nonlinear |
| 15 | relationships between Hol & horizon quality. |
| 16 | -/ |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM.MultiNext.SignedSource.Newt |
| 20 | open Function Filter Finset Lattice Wilson RG Labels Laurent Bloch Exterior Precision Matrix |
| 21 | open Pattern Next.Free Lyre Banjo Mom |
| 22 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators Classical |
| 23 | variable {c n : Side} {m m' E : Type*} [Fintype m] [DecidableEq m] [Fintype m'] [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 24 | variable {g : Ratio c n} {α r a θ : ℝ} {d k b : ℕ} |
| 25 | |
| 26 | /-- Pre hierarchy, a tiny proportion of exp strip may buy target powers. -/ |
| 27 | lemma length_mom (b : ℕ) (h : 0 < α) : ∃ C : ℝ, 0 < C ∧ ∀ i : ℕ,(1+(i:ℝ))^b ≤ Real.exp (α*i)*C := by |
| 28 | let t (i : ℕ) : ℝ := α*(1+(i:ℝ)) |
| 29 | have he : Tendsto t atTop atTop := (tendsto_atTop_add_const_left atTop 1 tendsto_natCast_atTop_atTop).const_mul_atTop h |
| 30 | obtain ⟨d,hd⟩ := eventually_atTop.mp (((Real.tendsto_pow_mul_exp_neg_atTop_nhds_zero b).comp he).eventually (ge_mem_nhds (by norm_num : (0:ℝ)<1))) |
| 31 | let C := (1+(d:ℝ))^b; let F := Real.exp α/(α^b) |
| 32 | refine ⟨max C F,lt_max_of_lt_left (by unfold C; positivity), fun i => ?_⟩ |
| 33 | rcases le_or_gt d i with hi|hi |
| 34 | · apply le_trans (b:=Real.exp _ * F) _ (mul_le_mul_of_nonneg_left (le_max_right ..) (Real.exp_pos _).le) |
| 35 | have hh : (α*(1+i))^b/(Real.exp (α*(1+i))) ≤ 1 := by |
| 36 | simpa only [t,Function.comp_apply,Real.exp_neg,div_eq_mul_inv] using hd i hi |
| 37 | rw [mul_pow, div_le_one (Real.exp_pos _)] at hh |
| 38 | rw [mul_add, mul_one,Real.exp_add,mul_comm α i] at hh |
| 39 | unfold F; rw [←mul_div_assoc, le_div_iff₀ (pow_pos h _)]; rwa [mul_comm, mul_comm _ (Real.exp α),mul_comm α] |
| 40 | refine le_trans (b:=C) (by unfold C; gcongr) ?_; exact le_trans (le_max_left ..) (le_mul_of_one_le_left (by unfold C F; positivity) (Real.one_le_exp (by positivity))) |
| 41 | |
| 42 | -- evaluate counting on the real cover through all windings on a fixed residue row |
| 43 | omit [Fintype m] [DecidableEq m] in |
| 44 | lemma tally (P : Cross g.count m m') (u : Co c m' → E) {θ t : ℝ} (h : P.strip θ t) (ht : 0 < θ) (x : Site n) (y : m) : |
| 45 | load (installed g P) u (x,y) = ∑ j : m', ∑' i : Cover,P (g.residue x,y) j i • u (g.parent x + wrap c i,j) := by |
| 46 | unfold load installed; simp only [submatrix_apply, split_co,Row.acts,of_apply,id_eq] |
| 47 | rw [Fintype.sum_prod_type,sum_comm]; apply sum_congr rfl; intro j _ |
| 48 | let f := P (g.residue x,y) j |
| 49 | let A x' v := if x'=g.parent x+wrap c v then f v else 0 |
| 50 | have he : Summable f := (Row.rights θ t h ht.le ..).of_norm |
| 51 | have hA (x' : Site c) : Summable (A x') := by |
| 52 | have hi := he.indicator {v | x'=g.parent x+wrap c v} |
| 53 | rw [show ({v | x'=g.parent x+wrap c v} : Set Cover).indicator f=A x' by funext i; simp [A,Set.indicator]] at hi; exact hi |
| 54 | change (∑ v : Site c,(∑' i,A v i) • u (v,j)) = _ |
| 55 | simp_rw [← Summable.tsum_smul_const (hA _)] -- binder rw |
| 56 | rw [← Summable.tsum_finsetSum (f:=fun v i => A v i • u (v,j)) (fun v _ => (hA v).smul_const _)] |
| 57 | exact tsum_congr fun i => by simp [A,ite_smul,f] |
| 58 | |
| 59 | omit [Fintype m] [DecidableEq m] in |
| 60 | lemma straps (b : ℕ) (h : 0 < α) : ∃ C : ℝ,1 ≤ C ∧ ∀ (c n : Side) (g : Ratio c n) (P : Cross g.count m m') (a θ : ℝ) |
| 61 | (u : Co c m' → E) (o : Site n), |
| 62 | P.strip α a → 0 ≤ a → 0 ≤ θ → (∀ i, ‖u i‖ ≤ θ*(1+(separation i.1 (g.parent o) : ℝ))^b) → |
| 63 | ∀ (x : Cover) (j : m), ‖load (installed g P) u (wrap n x+o,j)‖ ≤ C*(Fintype.card m':ℕ)*a*θ*(1+(g.count.val:ℝ)⁻¹*(size x:ℝ))^b := by |
| 64 | obtain ⟨C,hc,hH⟩:= length_mom b h |
| 65 | let W := (3:ℝ)^b*C |
| 66 | refine ⟨max W 1,le_max_right ..,fun c n g P a θ u o hP ha ht hv z j => ?_⟩ |
| 67 | rw [tally P u hP h]; let d := 1+(g.count.val:ℝ)⁻¹*(size z:ℝ); have hd : 0 ≤ d := by unfold d; positivity |
| 68 | let i := g.residue (wrap n z+o) |
| 69 | let w := g.parent (wrap n z+o) |
| 70 | let X := W*a*θ*d^b |
| 71 | apply (norm_sum_le ..).trans |
| 72 | apply le_trans (b:=∑ _j' : m',X) (sum_le_sum ?_) |
| 73 | · rw [sum_const,Finset.card_univ,nsmul_eq_mul]; apply le_trans (b:=W*(Fintype.card m':ℝ)*a*θ*d^b) ?_ ?_ -- placeholder elems |
| 74 | · exact le_of_eq (by unfold X d; ring) |
| 75 | gcongr; exact le_max_left .. |
| 76 | intro j' _; let f := P (i,j) j'; let v p := u (w+wrap c p,j') |
| 77 | change ‖∑' x, f x • v x‖ ≤ X |
| 78 | let M := θ * (3^b*C*d^b); have hM : 0 ≤ M := by unfold M; positivity |
| 79 | let Y x := Real.exp (α*size x) * ‖f x‖ * M |
| 80 | have hy : SumBudget (fun x => Real.exp _*‖f x‖) a := hP (i,j) j' |
| 81 | have hY : Summable Y := hy.2.1.mul_right M |
| 82 | have he x : ‖f x • v x‖ ≤ Y x := by |
| 83 | have hx := positions g o z x |
| 84 | rw [norm_smul] |
| 85 | unfold Y; rw [mul_comm (Real.exp _),mul_assoc]; apply mul_le_mul_of_nonneg_left _ (norm_nonneg _) |
| 86 | calc |
| 87 | ‖v x‖ ≤ θ*(3*d*(1+size x))^b := (hv _).trans (by gcongr (?k*?_ ^ b)) |
| 88 | _ ≤ θ*(3*d)^b*(Real.exp (α*size x)*C) := by rw [mul_pow, mul_assoc]; exact mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left (hH _) (by positivity)) ht |
| 89 | _ = _ := by unfold M; rw [mul_pow]; ring |
| 90 | have hh := hY.of_nonneg_of_le (fun i => norm_nonneg _) he |
| 91 | apply (norm_tsum_le_tsum_norm hh).trans |
| 92 | apply (hh.tsum_le_tsum he hY).trans |
| 93 | unfold Y; rw [tsum_mul_right]; refine (mul_le_mul_of_nonneg_right hy.2.2 hM).trans_eq ?_ |
| 94 | unfold X M W; ring |
| 95 | |
| 96 | variable (G : Gauge) |
| 97 | /-- `ρ` is paid in input separately from P price parameter at fine |
| 98 | where needed. Any actual P possibly varying even with cutoff, require |
| 99 | input in that exact scaled width and power at projected point. -/ |
| 100 | def roll (g : Ratio c n) (T : Towers g.count) (u : Co c (TypeFace 1) → G.Color) : Directions G n := fun i => load (installed g T.A0) u (i.1,Exterior.coord i.2) |
| 101 | |
| 102 | theorem row_home (h : 0 < α) (A : ℝ) (k b : ℕ) : ∃ C : ℝ,1 ≤ C ∧ ∀ (c n : Side) (g : Ratio c n) (T : Towers g.count) |
| 103 | (_T : T.Deep α A k) (P : BudgetPoint) (o : Site n), Odd g.count.val → P.power=b → |
| 104 | ∀ u : Co c (TypeFace 1) → G.Color,(∀ i, ‖u i‖ ≤ P.threshold*(1+(separation i.1 (g.parent o):ℝ))^b) → |
| 105 | blown C P g.count.val k o (roll G g T u) := by |
| 106 | obtain ⟨C,hC,H⟩ := straps (m:= TypeFace 1) |
| 107 | (m':=TypeFace 1) (E:=G.Color) b h |
| 108 | let s := (Fintype.card (TypeFace 1) : ℝ) |
| 109 | let M := C*s*|A| |
| 110 | refine ⟨max M 1,le_max_right ..,fun c n g T hT P o hO hP u hu i l hl z => ?_⟩ |
| 111 | let v := Exterior.coord i |
| 112 | have he (s : List Axis) (hs : s.length ≤ k) := (hT.2.2.2 s hs).1 |
| 113 | have hW (s : List Axis) (hs : s.length ≤ l.length) : Whole (advanceC g.count T.A0 s) := |
| 114 | ⟨α,_,h,he s (hs.trans hl)⟩ |
| 115 | change ‖iterate (fun z => load (installed g T.A0) u (wrap n z+o,v)) l z‖ ≤ _ |
| 116 | let B : ℝ := g.count.val; let x := B⁻¹^(1+l.length) |
| 117 | let t := (1+B⁻¹*size z)^P.power |
| 118 | have hx : 0 ≤ x := by unfold x B; positivity |
| 119 | have ht : 0 ≤ t := by unfold t B; positivity |
| 120 | let K := A/B^(1+l.length) |
| 121 | let f := advanceC g.count T.A0 l.reverse |
| 122 | have hf : Row.strip f α K := by simpa only [List.length_reverse] using he l.reverse (by simpa) |
| 123 | have hk : 0 ≤ K := by |
| 124 | obtain ⟨h0,h1,h2⟩ := hf (0,v) v |
| 125 | exact (tsum_nonneg h0).trans h2 |
| 126 | rw [spatial g T.A0 u l hO hW] |
| 127 | change _ ≤ max M 1 * P.threshold*x*t |
| 128 | apply (H c n g f _ P.threshold u o hf hk P.threshold_pos.le hu z v).trans |
| 129 | change C*s*K*P.threshold*(1+B⁻¹*size z)^b ≤ _ |
| 130 | rw [←hP,show K=A*x from by unfold K x; rw [div_eq_mul_inv,inv_pow]] |
| 131 | refine le_trans (b:=M*P.threshold*x*t) ?_ ?_ |
| 132 | · change _*_*t ≤ _; unfold M |
| 133 | rw [show C*s*(A*x)*P.threshold=C*s*A*P.threshold*x from by ring] |
| 134 | gcongr <;> first | exact P.threshold_pos.le | exact le_abs_self _ |
| 135 | gcongr <;> first | exact P.threshold_pos.le | exact le_max_left .. |
| 136 | end YM.MultiNext.SignedSource.Newt |