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.RG08.Crossing.Coin |
| 2 | /-! # Uniform table of flat, post-block and growth costs for this action horizon |
| 3 | |
| 4 | Factor gains evaluated at the coarser vertex; a skipped step charged to the |
| 5 | explicit length price. -/ |
| 6 | set_option autoImplicit false |
| 7 | set_option linter.unusedVariables false |
| 8 | set_option linter.unnecessarySeqFocus false |
| 9 | noncomputable section |
| 10 | namespace YM.RG08 |
| 11 | open Filter Lattice Wilson Exterior Precision Laurent FreeResolvent Profiles Finset Function Next.Free RG Bloch Stationary |
| 12 | open scoped BigOperators Topology Real Classical |
| 13 | variable {X : Chain} {G : Gauge} {K : KPrices X.kernel} {g : KGate K} {P : Lending G X.kernel} {E : ℕ} (S : Prism G X.kernel g P E) (ν : G.ColorIndex) (D : ChartRatio G) |
| 14 | variable {I : Type} (u : I→Windows) |
| 15 | |
| 16 | structure Circuit : Prop where |
| 17 | decks i : OnBoard S (u i).start |
| 18 | M : NutWallet (fun i:Launch u=> X.patch i.i) ν D X.kernel E (Launch.farY X) (fun i=> ticketW P (X.J i.i)) |
| 19 | hessian : Weighed (Launch.farY (u:=u) X) (fun i=> K.bill (X.J i.i)) |
| 20 | chart : Weighed (Launch.farY (u:=u) X) (fun i=> P.bill (X.J i.i) (X.patch i.i)) |
| 21 | turn : Weighed (Launch.farY (u:=u) X) (fun i=> let j:= X.J i.i; Staffer.fundsTor G (K.b j) (K.bill j) _ X.kernel (X.trees i.i)) |
| 22 | cup : Weighed (Launch.farY (u:=u) X) (fun i=> Conductor.probeFee G (S.η (X.J i.i))) |
| 23 | |
| 24 | abbrev Tier (S : Prism G X.kernel g P E) (i : ℕ) := S.η (X.J i) |
| 25 | variable {u ν D} |
| 26 | namespace Wings |
| 27 | variable {S : Prism G X.kernel g P E} {r : ℕ} |
| 28 | |
| 29 | lemma q_whit {A : Wings u 0→ℕ} (h : Circuit S ν D u) : |
| 30 | Voucher (menu X (u:=u)) 1 (fun i: Wings u 0=> Chain.column G X (A i) i.i) (fun i=> Tier S i.i) := by |
| 31 | have ht:= h.hessian.transfer (toLaunch (u:=u) (k:=0)) |
| 32 | have he i : (qCap G (K.bill (X.J ((i:Wings u 0).i))))= (qCap G 1)*(K.bill (X.J i.i)) := by unfold qCap; ring |
| 33 | refine ⟨_, (Weighed.constant (menu X) (qCap_pos G zero_le_one)).times ht, fun i=>?_⟩ |
| 34 | apply glow_less (Q_loans S (A i) i.i) le_rfl (le_of_eq ?_); rw [he i,Pi.mul_apply, Pi.one_apply,mul_one] |
| 35 | lemma mail (h : Circuit S ν D u) : |
| 36 | SafeRow (menu X) (chop X (1/4)) ((fun i:Wings u 0=> X.K₀ i.N i.i)-(fun i:Wings u 0=>X.K₀ i.M i.i)) (fun i=> g.w (X.J i.i)) := by |
| 37 | obtain ⟨A,p,hA,H⟩:=h.hessian; obtain ⟨C,hC,H'⟩:=k_cauchy A hA p |
| 38 | refine ⟨_,(Weighed.constant (menu X) hC).times (Weighed.power (menu X) (sh X) p),fun i=>?_⟩ |
| 39 | simp only [Pi.sub_apply, Pi.pow_apply, Pi.mul_apply]; exact H' X K g (u i.b).Z (u i.b).pos (u i.b).start (u i.b).k (OnBoard.books S (h.decks i.b)) (fun k hk=> (H ⟨i.b,k,hk⟩).2) _ _ _ i.geC i.cut i.side |
| 40 | lemma q_right (h : Circuit S ν D u) : |
| 41 | Both (menu X) (chop X (1/4)) (fun i : Wings u 0=> Chain.column G X i.N i.i) (fun i:Wings u 0=> Chain.column G X i.M i.i) (fun i=> Tier S i.i) := by |
| 42 | refine ⟨q_whit h (A:=fun i=> i.N),q_whit h (A:=fun i=> i.M),?_⟩ |
| 43 | obtain ⟨V,hV,H⟩:=(mail h).soften (show (fun i=> Tier S i.i) ≤ _ from fun i=> S.sufficient _) |
| 44 | refine ⟨_,(Weighed.constant (menu X) (qCap_pos G zero_le_one)).times hV,fun i=>?_⟩ |
| 45 | apply glow_less (Q_change (X:=X) (i:=i.i) (S.positive _) (hp:=show (X.K₀ i.N i.i-X.K₀ i.M i.i).strip (Tier S i.i) (V i*chop X (1/4) i) from H i)) le_rfl (le_of_eq ?_) |
| 46 | rw [Pi.mul_apply]; unfold qCap; ring |
| 47 | |
| 48 | lemma gear (h : Circuit S ν D u) (hv : X.Wake G) (A : Wings u 1→ℕ) : |
| 49 | SafeRow (menu X) 1 (fun i=> Chain.curve G X (A i) i.i) (fun i=> P.w (X.J i.i)) ∧ |
| 50 | SafeRow (menu X) 1 (fun i=> Chain.predict G X (A i) i.i) (fun i=> P.w (X.J i.i)) := by |
| 51 | have hp i := report_funding X hv P i.i (A i) |
| 52 | have hh:= h.chart.transfer (toLaunch (u:=u) (k:=1)) |
| 53 | exact ⟨⟨_,hh,fun i=> by simpa only [Pi.one_apply,mul_one] using (hp i).1⟩,⟨_,hh,fun i=> by simpa only [Pi.one_apply,mul_one] using (hp i).2⟩⟩ |
| 54 | |
| 55 | private lemma mail_r (h : Circuit S ν D u) : |
| 56 | SafeRow (menu X) (chop X (1/4)) ((fun i:Wings u 1=> X.K₀ i.N (i.i+1))-(fun i:Wings u 1=>X.K₀ i.M (i.i+1))) (fun i=> g.w (X.J (i.i+1))) := by |
| 57 | obtain ⟨A,hA,H⟩:=mail h |
| 58 | let L i:= ((X.S.block (i:Wings u 1).i).val:ℝ) |
| 59 | have hp : Weighed (menu X) L := h.M.crop.transfer toLaunch |
| 60 | have hs:= hA.transfer up |
| 61 | refine ⟨_,((aged_up X h.M.crop).sway (sh X) hs).times hp,fun i=>?_⟩ |
| 62 | apply Work.F08.strip_mono (H i.up) le_rfl |
| 63 | rw [Pi.mul_apply,mul_assoc]; apply mul_le_mul_of_nonneg_left ?_ (hA.positive _) |
| 64 | exact continued' X _ (by norm_num) _ -- expose |
| 65 | lemma gear_both (h : Circuit S ν D u) (hv : X.Wake G) : |
| 66 | RowBoth (menu X) (chop X (1/4)) (fun i: Wings u 1=> Chain.curve G X i.N i.i) (fun i: Wings u 1=> Chain.curve G X i.M i.i) (fun i=> ticketW P (X.J i.i)) ∧ |
| 67 | RowBoth (menu X) (chop X (1/4)) (fun i: Wings u 1=> Chain.predict G X i.N i.i) (fun i: Wings u 1=> Chain.predict G X i.M i.i) (fun i=>ticketW P (X.J i.i)) := by |
| 68 | obtain ⟨C,hC,H⟩:=mail_r h |
| 69 | let ψ i:= P.w (X.J (i:Wings u 1).i); let δ:=chop (u:=u) (r:=1) X (1/4) |
| 70 | have hs : (fun i:Wings u 1=> ticketW P (X.J i.i)) ≤ ψ := fun i=> min_le_left .. |
| 71 | obtain ⟨hx,hy⟩:=gear h hv N; obtain ⟨hs₁,hs₂⟩:= gear h hv M |
| 72 | have hm (i:Wings u 1): X.J i.i=(X.patch i.i).J ∨ X.J i.i+1=(X.patch i.i).J := by |
| 73 | change _=X.J (i.i+1) ∨ _=X.J (i.i+1); have hp:=X.mono i.i; have hz:= X.slow i.i; omega |
| 74 | have he i:= (P.serves _ _ (hm i) (hv i.i) (X.history i.N (i.i+1)) (X.history i.M (i.i+1))).2.2 (g.w (X.J (i.i+1))) (C i*δ i) (mul_nonneg (hC.positive i) (gain_pos ..).le) (OnBoard.shift S (h.decks i.b) i.geC|>.1) (H i) |
| 75 | have hw:= (h.chart.transfer (toLaunch (u:=u) (k:=1))).times hC |
| 76 | exact ⟨⟨hx.soften hs,hs₁.soften hs,_,hw,fun i=> Work.F08.strip_mono ((he i).1) (hs i) (le_of_eq (mul_assoc ..).symm)⟩,⟨hy.soften hs,hs₂.soften hs,_,hw,fun i=> Work.F08.strip_mono ((he i).2) (hs i) (le_of_eq (mul_assoc ..).symm)⟩⟩ |
| 77 | lemma tiers (S : Prism G X.kernel g P E) (i : ℕ) : Tier S i ≤ 1 := |
| 78 | ((le_trans (show Tier S i ≤ (E+3:ℕ) • Tier S i by simpa only [one_smul] using smul_le_smul_of_nonneg_right (show 1 ≤ E+3 by omega) (S.positive (X.J i)).le) (S.shade _))).trans (min_le_right ..) |
| 79 | lemma hire (h : Circuit S ν D u) (i : Wings u 1) : (E+3:ℕ) • ticketW P (X.J i.i) ≤ (X.S.block i.i).val * Tier S (i.i+1) := |
| 80 | (OnBoard.shift S (h.decks i.b) i.geC).2.1.trans (mul_le_mul_of_nonneg_left (div_le_self (S.positive (X.J (i.i+1))).le (by exact_mod_cast (show 1≤E+3 by omega))) (Nat.cast_nonneg _)) |
| 81 | lemma ticketV (S : Prism G X.kernel g P E) (ht : r ≤ E+2) (i : ℕ) : (r+1:ℕ) • Tier S i ≤ ticketW P (X.J i) := |
| 82 | (smul_le_smul_of_nonneg_right (show r+1 ≤ E+3 by omega) (S.positive _).le).trans (S.shade _) |
| 83 | |
| 84 | lemma launchCrop (S : Prism G X.kernel g P E) (ν : G.ColorIndex)(i r : ℕ)(k : ℕ) : Voucher (menu (u:=u) (r:=k) X) 1 (fun _=> wilsonTop ν i r) (fun j=> Tier S j.i) := by |
| 85 | unfold wilsonTop; by_cases h : r=i+2 ∧ 0 < i |
| 86 | swap |
| 87 | · simp only [if_neg h]; exact Voucher.zero |
| 88 | simp only [if_pos h]; obtain ⟨C,hC,H⟩:= sugar_paid (r:=r) ν zero_le_one |
| 89 | exact ⟨_,Weighed.constant (menu X) hC,fun i=> glow_less H (tiers S _) (by simp only [Pi.one_apply, mul_one,le_refl])⟩ |
| 90 | end Wings |
| 91 | end YM.RG08 |