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.Extra.MULTISOURCE_BOUNDS.SystemPrices |
| 2 | |
| 3 | /-! |
| 4 | # Additional vacuum receipt towards System.Forward |
| 5 | |
| 6 | Projected-variant hit sums from `C.Makes`'s **actual** E and K budgets, |
| 7 | including arbitrary post-L powers of B and the monitor, and one optional |
| 8 | inflation for K even by the old **square root** divisor. These are geometric |
| 9 | and kernel-input estimates. No claim that all unmarked vertices also involving |
| 10 | packet/trigger/loop data cost only these weights (or are exhausted by the |
| 11 | families tested here). Identifies one way to bid for the extra thresholds |
| 12 | before calling `System.price`. The halo test can include e.g. the external |
| 13 | `inspected` reads. See . |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.Extra.Multi.System |
| 18 | open Function Filter Lattice RG RG.Supply Source Wilson Overlay Marker Labels MeasureTheory Finset LogTerms |
| 19 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff Classical |
| 20 | variable {G : Gauge} {C : Family G} {α : Type*} |
| 21 | |
| 22 | section Geometry |
| 23 | variable {n m : Side} (q : Ratio m n) |
| 24 | |
| 25 | theorem fibers : Occupancy q.parent (q.count.val^4) := fun y => by |
| 26 | rw [← site_card]; apply Finset.card_le_card_of_injOn q.residue (fun i _ => mem_univ _) |
| 27 | (fun i hi j hj hh => by rw [← q.unpack_at i,← q.unpack_at j,(mem_filter.mp hi).2, (mem_filter.mp hj).2,hh]) |
| 28 | |
| 29 | theorem within (X : Support n) : inspected X ⊆ halo 4 X := by |
| 30 | intro i hi |
| 31 | obtain h|h := Finset.mem_union.mp hi |
| 32 | · exact halo_subset _ _ h |
| 33 | obtain ⟨p,-,hp⟩ := Finset.mem_biUnion.mp h; split at hp |
| 34 | next => simp at hp |
| 35 | next hD => |
| 36 | obtain ⟨y,hy⟩ := Finset.not_disjoint_iff_nonempty_inter.mp hD |
| 37 | apply halo_spec.mpr |
| 38 | refine ⟨y,(mem_inter.mp hy).1,(separation_triangle _ p.1 _).trans ?_⟩ |
| 39 | rw [separation_comm y]; exact Nat.add_le_add (Work.E01.sep_touched _ _ (mem_inter.mp hy).2) (Work.E01.sep_touched _ _ hp) |
| 40 | |
| 41 | /-- Project the entire external flag-read halo once. -/ |
| 42 | theorem inspected_budget (X : Support n) {B : ℕ} (hB : 0 < B) (k : ℕ) : |
| 43 | halo (k*B) ((inspected X).image q.parent) ⊆ halo ((k+5)*B) (X.image q.parent) := by |
| 44 | intro i hi; obtain ⟨j,hj,he⟩ := halo_spec.mp hi; obtain ⟨v,hv,rfl⟩ := mem_image.mp hj |
| 45 | obtain ⟨u,hu,ht⟩ := halo_spec.mp (within _ hv) |
| 46 | have hh := Corona.foreshorten q u v; have hz := q.count.property |
| 47 | have hh' : separation (q.parent u) (q.parent v) ≤ 5 := by |
| 48 | apply Nat.le_of_mul_le_mul_left ((hh.trans (Nat.add_le_add_right ht _)).trans ?_) hz |
| 49 | rw [Nat.mul_succ]; gcongr; exact le_mul_of_one_le_left (by decide) (show 1 ≤ q.count.val from hz) |
| 50 | exact halo_spec.mpr ⟨_,mem_image_of_mem _ hu,(separation_triangle _ _ _).trans ((Nat.add_le_add hh' he).trans |
| 51 | (by nlinarith only [hB]))⟩ |
| 52 | end Geometry |
| 53 | |
| 54 | section Prices |
| 55 | |
| 56 | abbrev expense (a : Levels G) (s : Scope) (d : ℕ→ℕ) (m : ℕ) := pad ((a.params m).supportExponent+7) |
| 57 | (a.params (m+1)).supportExponent (s.expand (a.clock.J (m+1))) (d (a.clock.J (m+1))) |
| 58 | |
| 59 | /-- Here `d j` power of old cover, `k j` power for `post` at fine βHat. -/ |
| 60 | structure Inspect (s : Scope) (d k : ℕ→ℕ) (c : ℕ → ℝ) (a : Levels G) : Prop where |
| 61 | cost m : let j := a.clock.J (m+1); let x := a.clock.hatBeta m; let y := a.clock.hatBeta (m+1) |
| 62 | post (k j) (c j) y ≤ y^((1:ℝ)/2) ∧ |
| 63 | siteFactor (a.clock.coverSize m) * ( (a.S.block m).val ^4 * expense a s d m) ≤ x^((1:ℝ)/4) |
| 64 | |
| 65 | |
| 66 | |
| 67 | variable {p N m : ℕ} {s : Scope} {t : Tariff} {c : ℕ→ℝ} {k d : ℕ→ℕ} |
| 68 | variable (hC : C.Makes) (H : Prepared s t C.localSection C.path.levels) |
| 69 | (I : Inspect s d k c C.path.levels) (hc : ∀ i,0 ≤ c i) (hξ : 7 ≤ s.inflate (year C (m+1))) |
| 70 | |
| 71 | structure Variants (X : ℕ → Support (C.side (m+1) p)) (Y : α → Support (C.side m p)) (s : Scope) (d k : ℕ→ℕ) |
| 72 | (c : ℕ → ℝ) (e : ℕ → ℝ) (g : α→ℝ) : Prop where |
| 73 | pos i : 0 ≤ g i |
| 74 | funds : let j := year C (m+1); let q := (C.path.levels.clock.op m p).ratio |
| 75 | ∃ f : α → ℕ, (∀ i,0<g i → Y i ⊆ halo (s.expand j*(point C m).B) ((X (f i)).image q.parent)) ∧ |
| 76 | ∀ i,SumBudget (fun l => if f l=i then g l else 0) (post (k j) (c j) (hat C (m+1)) * |
| 77 | (1+(coverNumber (point C (m+1)).B (X i):ℝ))^(d j) * e i) |
| 78 | |
| 79 | include H I hc hξ in |
| 80 | lemma Variants.cashed {X : ℕ → Support (C.side (m+1) p)} {Y : α → Support (C.side m p)} {e : ℕ → ℝ} {g : α→ℝ} |
| 81 | (h : Variants X Y s d k c e g) (hG : G.Simple) (he : ∀ i,0 ≤ e i) (o : ℕ → Site (C.side (m+1) p)) |
| 82 | (ho : ∀ i,o i∈X i) (hB : let P := point C (m+1); Rooted (fun i => {o i}) X P.B P.supportExponent e (hat C (m+1))⁻¹) : |
| 83 | Ac.Hit Y (point C m).B g ((point C m).supportExponent+6) ((hat C m)^(-(1/4:ℝ))) := by |
| 84 | obtain ⟨f,hf,hf'⟩ := h.funds |
| 85 | let q := (C.path.levels.clock.op m p).ratio |
| 86 | let j := year C (m+1); let P := point C m; let Q := point C (m+1); let A := P.supportExponent+6 |
| 87 | let y := hat C (m+1); let x := hat C m |
| 88 | let U i := halo (s.expand j*P.B) ((X (f i)).image q.parent) |
| 89 | let v := post (k j) (c j) y |
| 90 | have hz : 0 < x := zero_lt_one.trans (C.path.levels.fits.delayed m) |
| 91 | have hxy : x ≤ y := nearby C m hG |
| 92 | have hy : 0 < y := hz.trans_le hxy |
| 93 | have hv : 0 ≤ v := mul_nonneg (hc _) (pow_nonneg (by have := Real.exp_pos ((Real.log (Real.log y))^2); unfold Vac.Numbers.P; positivity) _) |
| 94 | have Hx : Fork (fun i => {o i}) X (fun i => {o (f i)}) U q.parent q (s.expand j) P.B Q.B (d j) e g v := |
| 95 | ⟨f, fun i _ => ⟨rfl,_,mem_singleton_self _,halo_subset _ _ (mem_image_of_mem _ (ho _)),Subset.refl _⟩,fun i => (by convert! hf' i using 2; split_ifs <;> rfl)⟩ |
| 96 | have hα : 0 ≤ A+1 := by unfold A; have := P.exponent_pos; linarith |
| 97 | have hL : 20*(A+1)*tilePrice (s.expand j) ≤ (C.S.block m).val*Q.supportExponent := by |
| 98 | apply le_trans _ (s.shape (H.shapes m)); change 20*_*tilePrice (s.expand j) ≤ 20*(Q.supportExponent + _)*_ |
| 99 | gcongr 20*?_*tilePrice (s.expand j) |
| 100 | have ht : P.supportExponent ≤ Q.supportExponent := C.path.levels.fits.deepExp (Nat.le_succ m) |
| 101 | change A+1 ≤ Q.supportExponent + s.inflate (year C (m+1)); unfold A; linarith |
| 102 | have hM : Q.B ≤ 2*P.B := by have ht : Q.B^2 ≤ 2*P.B^2 := H.tabs.grows _; nlinarith |
| 103 | have ht := Hx.rethread hv h.pos P.B_pos hM hα Q.exponent_pos hL (fun _ => zero_le_one) (le_refl 1) he (by simpa only [duty,prod_singleton, |
| 104 | one_mul] using hB : Rooted _ X Q.B Q.supportExponent _ y⁻¹) |
| 105 | let K := expense C.path.levels s d m |
| 106 | have heq : A+1=(C.path.levels.params m).supportExponent+7 := by unfold A; rw [add_assoc]; norm_num; rfl |
| 107 | have ht' : Rooted (fun i => {o (f i)}) U P.B (A+1) g (K*v*y⁻¹) := by simpa only [K,expense,heq,duty,div_one, |
| 108 | prod_singleton,one_mul] using! ht |
| 109 | have hK : 1 ≤ K := pad_ge (heq ▸ hα) |
| 110 | have hA := root_hit (fibers q) h.pos (by positivity : 0 ≤ K*v*y⁻¹) (fun i _ => ⟨_,mem_singleton_self _, |
| 111 | halo_subset _ _ (mem_image_of_mem _ (ho _))⟩) ht' |
| 112 | intro z; apply Budget.mono (hA z) |
| 113 | · intro i; split; exact mul_nonneg (h.pos _) (Real.exp_pos _).le; rfl |
| 114 | · intro i; by_cases he : 0<g i ∧ z∈Y i |
| 115 | · rw [if_pos he.2,if_pos (hf i he.1 he.2)]; refine mul_le_mul_of_nonneg_left (Real.exp_monotone ?_) he.1.le |
| 116 | exact mul_le_mul_of_nonneg_left (Nat.cast_le.mpr (Corona.cover_mono (hf i he.1) P.B)) (by have := (point C m).exponent_pos; linarith) |
| 117 | have ht := (hA z).1 i |
| 118 | rw [show (if z∈Y i then g i*Real.exp (((point C m).supportExponent+6)*coverNumber (point C m).B (Y i)) else 0) = 0 by |
| 119 | split <;> rename_i hx |
| 120 | · rw [le_antisymm (le_of_not_gt fun ht => he ⟨ht,hx⟩) (h.pos i), zero_mul] |
| 121 | rfl]; exact ht |
| 122 | have hsf : 0 ≤ siteFactor P.B := by unfold siteFactor; positivity |
| 123 | calc |
| 124 | _ = (siteFactor P.B * ((C.S.block m).val^4 * K)) * (v*y⁻¹) := by push_cast; change _=siteFactor P.B * (((q.count.val:ℝ))^4 * K)*(v*y⁻¹); ring |
| 125 | _ ≤ (x^((1:ℝ)/4))*(y^((1:ℝ)/2)*y⁻¹) := by |
| 126 | gcongr |
| 127 | · exact (I.cost m).2 |
| 128 | exact (I.cost m).1 |
| 129 | _ = (x^((1:ℝ)/4))*y^(-(1:ℝ)/2) := by rw [← Real.rpow_neg_one, ← Real.rpow_add hy]; congr 2; norm_num |
| 130 | _ ≤ (x^((1:ℝ)/4))*x^(-(1:ℝ)/2) := mul_le_mul_of_nonneg_left (Real.rpow_le_rpow_of_nonpos hz hxy (by norm_num)) (by positivity) |
| 131 | _ = x^(-(1/4:ℝ)) := by rw [← Real.rpow_add hz]; congr 1; norm_num |
| 132 | |
| 133 | include H in |
| 134 | theorem divisor_step (hG : G.Simple) : divisor C (m+1) ≤ divisor C m := by |
| 135 | let x := hat C m |
| 136 | have he : (8:ℝ) ≤ Stock.scaleB x := by exact_mod_cast (H.here m).large |
| 137 | have hx : 1<x := C.path.levels.fits.delayed _ |
| 138 | have ha := Real.log_pos hx |
| 139 | have Hx := Nat.ceil_lt_add_one (sq_nonneg (Real.log x)) |
| 140 | have hh : 0 ≤ Real.log (Real.log x) := Real.log_nonneg (by unfold Stock.scaleB at he; nlinarith) |
| 141 | have hy := nearby C m hG |
| 142 | unfold divisor RG.Calendar.forcedAllowance RG.Calendar.monitor; gcongr |
| 143 | |
| 144 | lemma old_root (hC : C.Makes) {s : Scope} {t : Tariff} (H : Prepared s t C.localSection C.path.levels) (hm : m≤N) (p : ℕ) : |
| 145 | let P := C.path.rep N p m; let Q := point C m |
| 146 | let E i := (P.activities.reg i).support; let K i := (P.activities.forced i).support |
| 147 | let τ i := (P.activities.reg i).site |
| 148 | ∃ (e b : ℕ→ℝ) (σ : ℕ→Site (C.side m p)), |
| 149 | (∀ i, Q.supBounds (τ i) (E i) (P.activities.E i) (e i)) ∧ |
| 150 | (∀ i,σ i∈K i ∧ 0 ≤ b i ∧ ∀ U, ‖P.activities.K i U‖ ≤ divisor C m * b i) ∧ |
| 151 | Rooted (fun i => {τ i}) E Q.B Q.supportExponent e (hat C m)⁻¹ ∧ |
| 152 | Rooted (fun i => {σ i}) K Q.B Q.supportExponent b (hat C m)⁻¹ := by |
| 153 | intro P Q E K τ |
| 154 | have hp : P.p = Q := (hC.wilson.represents N p m hm).vac |
| 155 | obtain ⟨e,h₁,h₂⟩ := (hC.wilson.represents N p m hm).good.labels.boundE |
| 156 | obtain ⟨b,h₃,h₄⟩ := (hC.wilson.represents N p m hm).good.labels.boundK |
| 157 | have hh i : (K i).Nonempty := (P.activities.forced i).inventory_ne.mono (P.activities.forced i).inventory_sup |
| 158 | choose σ hσ using hh |
| 159 | let g := gHat C m |
| 160 | have he : 0<g := gHat_pos .. |
| 161 | have hg : g ≤ 1 := gHat_le_one .. |
| 162 | have hx : g^2=(hat C m)⁻¹ := by |
| 163 | change (Real.sqrt (hat C m))⁻¹^2 = _; rw [inv_pow,Real.sq_sqrt (zero_le_one.trans (C.path.levels.fits.delayed m).le)] |
| 164 | let κ := divisor C m; have hk : 0 < κ := divisor_pos .. |
| 165 | refine ⟨e,(fun i => κ⁻¹*b i),σ,hp ▸ h₁,fun i => ⟨hσ i,mul_nonneg (inv_nonneg.mpr hk.le) (h₃ i).1, ?_⟩,fun z => ?_,fun z => ?_⟩ |
| 166 | · rw [show divisor C m=κ from rfl,mul_inv_cancel_left₀ hk.ne']; exact (h₃ i).2 |
| 167 | · have he : C.path.levels.clock.allowance m ≤ (hat C m)⁻¹ := (Real.rpow_le_rpow_of_exponent_ge he hg (show (2:ℝ) ≤ 11/5 by norm_num)).trans_eq |
| 168 | ((Real.rpow_two g).trans hx) |
| 169 | change P.p = Q at hp |
| 170 | simpa [E,τ,BudgetPoint.mass,← hp,eq_comm] using! Budget.mono (h₂ z) (h₂ z).1 (fun _ => le_rfl) he |
| 171 | refine Budget.mono (Budget.scale (h₄ z) (inv_nonneg.mpr hk.le)) (fun i => ?_) (fun i => ?_) ?_ |
| 172 | · split; exact mul_nonneg (Real.exp_pos _).le (mul_nonneg (inv_nonneg.mpr hk.le) (h₃ i).1); rfl |
| 173 | · rw [← hp]; simp only [Finset.mem_singleton]; split_ifs <;> rename_i hh |
| 174 | · unfold BudgetPoint.mass; dsimp only [K,P]; exact le_of_eq (mul_left_comm ..) |
| 175 | · rename_i h; exact (hh (h.symm ▸ hσ _)).elim |
| 176 | · exact mul_nonneg (inv_nonneg.mpr hk.le) (mul_nonneg (Real.exp_pos _).le (h₃ i).1) |
| 177 | rw [mul_zero] |
| 178 | have hh : κ ≤ g^6 := (H.here m).vacuum |
| 179 | have h : C.path.levels.clock.forcedAllowance m = κ*κ := (Real.mul_self_sqrt (Real.exp_pos _).le).symm |
| 180 | rw [h,inv_mul_cancel_left₀ hk.ne',← hx]; exact hh.trans (pow_le_pow_of_le_one he.le hg (by decide)) |
| 181 | |
| 182 | include I H hC hc hξ in |
| 183 | /-- Estimates paying even an inflation on inherited K. Uniform post-L costs |
| 184 | and volume tests for all positive variants in these particular source-free |
| 185 | families, not a bound on new packet/trigger/likelihood/integration factors, |
| 186 | kinetic adjustments, sector sums, etc. Those need their own analysis. |
| 187 | The small extra halo lemma above can price `inspected` in `Variants`. |
| 188 | -/ |
| 189 | theorem inherited (hG : G.Simple) (hm : m<N) (p : ℕ) : |
| 190 | let Q := point C (m+1); let P := C.path.rep N p (m+1) |
| 191 | let E i := (P.activities.reg i).support; let K i := (P.activities.forced i).support |
| 192 | ∃ e b : ℕ→ℝ, (∀ i, Q.supBounds (P.activities.reg i).site (E i) (P.activities.E i) (e i)) ∧ |
| 193 | (∀ i, 0 ≤ b i ∧ ∀ U, ‖P.activities.K i U‖ ≤ divisor C m * b i) ∧ |
| 194 | ∀ (Y : α → Support (C.side m p)) (g : α → ℝ), |
| 195 | (Variants E Y s d k c e g ∨ Variants K Y s d k c b g) → |
| 196 | Ac.Hit Y (point C m).B g ((point C m).supportExponent+6) ((hat C m)^(-(1/4:ℝ))) := by |
| 197 | intro Q P E K |
| 198 | obtain ⟨e,b,v,hE,hb,h₁,h₂⟩ := old_root hC H hm p |
| 199 | refine ⟨e,b,hE, fun i => ⟨(hb i).2.1,fun U => ((hb i).2.2 U).trans |
| 200 | (mul_le_mul_of_nonneg_right (divisor_step H hG) (hb i).2.1)⟩,fun Y g h => ?_⟩ |
| 201 | rcases h with h|h |
| 202 | · exact h.cashed H I hc hξ hG (fun i => (hE i).1) _ (fun i => (P.activities.reg i).anchor) h₁ |
| 203 | exact h.cashed H I hc hξ hG (fun i => (hb i).2.1) v (fun i => (hb i).1) h₂ |
| 204 | |
| 205 | end Prices |
| 206 | end YM.Extra.Multi.System |