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.AnalyticBridge.COUPLING_SHAPE_ESTIMATE.Freight |
| 2 | import YM.AnalyticBridge.COUPLING_SHAPE_ESTIMATE.Horizontal |
| 3 | |
| 4 | |
| 5 | /-! # Charge the two lists after mounting in signed channels |
| 6 | |
| 7 | The flags tested by these functions are evaluation-only here; don't reuse locals |
| 8 | at this support without the halo when integrating. -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.AnalyticBridge.CouplingShape |
| 12 | open Function Lattice RG Wilson Finset WardBin Push.AbsoluteSums UVNext.PricedKernels |
| 13 | open scoped BigOperators Matrix.Norms.Frobenius Topology ContDiff Classical |
| 14 | variable {G : Gauge} {n : Side} (P : PathData G) (p : Clip) (b : BudgetPoint) |
| 15 | |
| 16 | def young (i : Card n) := i.read (raw P p i.token) |
| 17 | def tuned (i : Card n) := i.read (response P p i.token) |
| 18 | def attachedClip (i : Card n) := i.read (literal P p b i.token) |
| 19 | def framed (i : Card n) := masked b.threshold (cardSite P b i).support (young P p i) |
| 20 | def narrow (i : Card n) := masked b.threshold (ringlet i.1) (tuned P p i) |
| 21 | def broad (i : Card n) := masked b.threshold (cardSite P b i).support (tuned P p i) |
| 22 | |
| 23 | -- agree with their particular canonical-mask budgets |
| 24 | |
| 25 | def priceY (j : Sequence) := (Wheels.tariff b*b.threshold^2)*priceRaw P p b j |
| 26 | def priceT (j : Sequence) := (Wheels.tariff b*b.threshold^2)*priceResponse P p b j |
| 27 | |
| 28 | lemma young_local (i : Card n) : b.Regular (cardSite P b i).support (young P p i) ∧ |
| 29 | b.supBounds (cardSite P b i).site (cardSite P b i).support (young P p i) (priceY P p b i.token) := by |
| 30 | have hh := raw_reg (n:=n) P p b i.token; have he := bill_raw (n:=n) P p b i.token |
| 31 | refine ⟨Wheels.regular_carry i.turns i.atPin hh,?_⟩ |
| 32 | unfold priceY; rw [show _*priceRaw P p b i.token=Wheels.tariff b*(priceRaw P p b i.token*b.threshold^2) by ring] |
| 33 | have hx := Wheels.carry_bound i.turns i.atPin hh (sup_of_bill he); rw [i.pull_home] at hx; exact hx |
| 34 | |
| 35 | lemma tuned_local (i : Card n) : b.Regular (ringlet i.1) (tuned P p i) ∧ |
| 36 | b.supBounds (cardSite P b i).site (ringlet i.1) (tuned P p i) (priceT P p b i.token) := by |
| 37 | have hh:=response_reg (n:=n) P p b i.token; have he:=bill_response (n:=n) P p b i.token |
| 38 | have hs := Wheels.regular_carry i.turns i.atPin hh; have hx := Wheels.carry_bound i.turns i.atPin hh (sup_of_bill he) |
| 39 | rw [← ringlet_turn,i.pull_home] at hs; rw [← ringlet_turn,i.pull_home] at hx |
| 40 | unfold priceT; rw [show _*priceResponse P p b i.token=Wheels.tariff b*(priceResponse P p b i.token*b.threshold^2) by ring] |
| 41 | exact ⟨hs,hx⟩ |
| 42 | |
| 43 | |
| 44 | /-- Log of the *multiplier* attaching on failed flag. -/ |
| 45 | def refund (α ε : ℝ) (i : Card n) (U : Config G n) := (α+ε)*(attachedClip P p b i U - framed P p b i U) + |
| 46 | ε*(broad P p b i U - narrow P p b i U) |
| 47 | |
| 48 | def coverCharge (α ε : ℝ) (i : Sequence) := |α+ε| * (priceClip P p b i+priceY P p b i) + |ε| *(2*priceT P p b i) |
| 49 | |
| 50 | def residue (ε : ℝ) (i : Card n) := ε • (tuned P p i-young P p i) |
| 51 | |
| 52 | def skeletonCharge (ε : ℝ) (i : Sequence) := |ε| *(priceY P p b i+priceT P p b i) |
| 53 | |
| 54 | lemma anchorsPay (hs : G.Simple) (hn : 2 ≤ n.val) (ε : ℝ) (i : Card n) : |
| 55 | let X := (cardSite P b i).support |
| 56 | let E := residue P p ε i |
| 57 | b.Regular X E ∧ b.supBounds i.1 X E (skeletonCharge P p b ε i.token) ∧ E 1=0 ∧ |
| 58 | (Nonwrapping X i.1 → ∀ u v, IsAffineDirection i.1 u → IsAffineDirection i.1 v → logHessian E u v=0) := by |
| 59 | intro X E |
| 60 | obtain ⟨ht,hT⟩:=tuned_local P p b i; obtain ⟨hy,hY⟩:=young_local P p b i |
| 61 | have hr := reg_extend ht (petal P b i) |
| 62 | refine ⟨reg_scale ε (reg_sub hr hy),?_,?_,?_⟩ |
| 63 | · unfold skeletonCharge; rw [add_comm]; exact sup_scale ε (sup_sub hr hy (sup_extend hT (petal P b i)) hY) |
| 64 | · simp only [E,residue,Pi.smul_apply, Pi.sub_apply,young,tuned,Around.read,pull_empty, |
| 65 | (stub (n:=n) P p i.token).1,(stub (n:=n) P p i.token).2,sub_zero, smul_zero] |
| 66 | intro he u v hu hv; obtain ⟨a,d,ha⟩:= onStencil_of_affine hu X; obtain ⟨c,e,hc⟩:=onStencil_of_affine hv X |
| 67 | rw [log_eq_H]; change H (residue P p ε i) u v=_ |
| 68 | rw [residue,scalar_jet (reg_sub hr hy),sub_jet hr hy,show H (young P p i) u v=H (tuned P p i) u v from cardResponds P p b hn i hs he ha hc,sub_self,mul_zero] |
| 69 | |
| 70 | lemma refund_cost (α ε : ℝ) (i : Card n) (U : Config G n) : |refund P p b α ε i U| ≤ coverCharge P p b α ε i.token := by |
| 71 | obtain ⟨_,hh⟩:= tuned_local P p b i |
| 72 | have hk : |broad P p b i U|≤priceT P p b i.token := mask_cost (sup_extend hh (petal P b i)) U |
| 73 | have ht : |narrow P p b i U|≤priceT P p b i.token := mask_cost hh U |
| 74 | unfold refund coverCharge |
| 75 | apply le_trans (abs_add_le ..) |
| 76 | rw [abs_mul,abs_mul] |
| 77 | exact add_le_add (mul_le_mul_of_nonneg_left ((abs_sub ..).trans |
| 78 | (add_le_add (clip_claim P p b _ (pull _ _ U)) (mask_cost (young_local P p b i).2 U))) (abs_nonneg _)) |
| 79 | (mul_le_mul_of_nonneg_left ((abs_sub ..).trans ((add_le_add hk ht).trans_eq (by ring))) (abs_nonneg _)) |
| 80 | |
| 81 | lemma shield (h : Selector p b) (U : Config G n) (i : Card n) (hh : Healthy b.threshold (cardSite P b i).support U) : |
| 82 | attachedClip P p b i U = framed P p b i U ∧ broad P p b i U=narrow P p b i U := by |
| 83 | refine ⟨?_,?_⟩ |
| 84 | · rw [framed,masked_eq _ _ _ _ hh] |
| 85 | exact literal_here P p b h _ _ ((Wheels.safe i.turns _ _).1 hh) |
| 86 | rw [broad,narrow,masked_eq _ _ _ _ hh,masked_eq _ _ _ _ (Disjoint.mono_left (petal P b i) hh)] |
| 87 | lemma refund_visits (h : Selector p b) (U : Config G n) (i : Card n) (hh : Healthy b.threshold (cardSite P b i).support U) |
| 88 | (α ε : ℝ) : refund P p b α ε i U=0 := by |
| 89 | obtain ⟨he,hb⟩:=shield P p b h U i hh; simp only [refund,he,hb,sub_self,mul_zero,add_zero] |
| 90 | |
| 91 | lemma respects (h : Selector p b) (α ε : ℝ) (i : Card n) : GaugeInvariant (refund P p b α ε i) ∧ |
| 92 | Measurable (refund P p b α ε i) ∧ UsesFinal b.threshold (cardSite P b i).support (refund P p b α ε i) := by |
| 93 | obtain ⟨hx,_⟩:=young_local P p b i; obtain ⟨hh,-⟩:= tuned_local P p b i |
| 94 | have hk:= reg_extend hh (petal P b i) |
| 95 | have hc : GaugeInvariant (attachedClip P p b i) := Wheels.trans_gauge i.turns i.1 (literal_symm P p b i.token) |
| 96 | refine ⟨fun u U=>?_,?_,fun U V he he' =>?_⟩ |
| 97 | · simp only [refund,broad,narrow,framed,hc u U,stencil_gi hx.symmetry _ _ u U,stencil_gi hh.symmetry _ _ u U] |
| 98 | · exact (measurable_const.mul (((literal_meas P p b i.token).comp (continuous_pull _ _).measurable).sub |
| 99 | (masked_measurable _ _ _ hx.borel))).add (measurable_const.mul ((masked_measurable _ _ _ hk.borel).sub (masked_measurable _ _ _ hh.borel))) |
| 100 | have hv : LocalOn ((cardSite P b i).support:Set (Site n)) (attachedClip P p b i) := Wheels.trans_local i.turns i.1 (literal_local P p b h i.token) |
| 101 | rw [refund,refund,framed,hv U V he, |
| 102 | show masked b.threshold (cardSite P b i).support (young P p i) U=framed P p b i V from stencil_reads _ hx.sites _ U V he he', |
| 103 | show broad P p b i U=broad P p b i V from stencil_reads _ hk.sites _ U V he he', |
| 104 | show narrow P p b i U=narrow P p b i V from Work.H03.reads_larger (petal P b i) (stencil_reads _ hh.sites _) U V he he']; rfl |
| 105 | |
| 106 | lemma card_smuggle (s : Signed) (x : Site n) (i : Card n) (V : Config G n) (α ε : ℝ) : let j := Around.move _ s x i |
| 107 | (cardSite P b j).site=affine s x (cardSite P b i).site ∧ (cardSite P b j).support=(cardSite P b i).support.image (affine s x) ∧ |
| 108 | residue P p ε j V=residue P p ε i (pull s x V) ∧ refund P p b α ε j V=refund P p b α ε i (pull s x V) := by |
| 109 | intro j |
| 110 | have hh : (cardSite P b j).support=(cardSite P b i).support.image (affine s x) := Around.carries .. |
| 111 | have hy : young P p j V=young P p i (pull s x V) := Around.read_move .. |
| 112 | have ht : tuned P p j V=tuned P p i (pull s x V) := Around.read_move .. |
| 113 | refine ⟨rfl,hh,by rw [residue,residue]; simp only [Pi.smul_apply,Pi.sub_apply,hy,ht],?_⟩ |
| 114 | simp only [refund,narrow,broad,framed] |
| 115 | rw [show attachedClip P p b j V=attachedClip P p b i (pull s x V) from Around.read_move ..,hh, |
| 116 | mask_cov _ s x V hy.symm,mask_cov _ s x V ht.symm,show ringlet j.1=(ringlet i.1).image (affine s x) from ringlet_turn .., |
| 117 | mask_cov _ s x V ht.symm] |
| 118 | |
| 119 | /-- Note tariff multiplies the price (even though original derivative convention |
| 120 | already allowed a pull, this accounts querying the same p in raw coordinates). |
| 121 | Values of functions from definition of `Grace`. -/ |
| 122 | def stapleY (G : Gauge) (p : Clip) (b : BudgetPoint) (σ C : ℝ) := |
| 123 | Fintype.card Signed*((Wheels.tariff b*b.threshold^2)*rawFee G b p σ C) |
| 124 | def stapleT (G : Gauge) (p : Clip) (b : BudgetPoint) (C : ℝ) := Fintype.card Signed*((Wheels.tariff b*b.threshold^2)*responseFee G b p C) |
| 125 | def stapleC (p : Clip) (b : BudgetPoint) (C : ℝ) := Fintype.card Signed*clipFee b p C |
| 126 | |
| 127 | variable {G : Gauge} {P : PathData G} {p : Clip} {b : BudgetPoint} {σ C Λ : ℝ} |
| 128 | private lemma mounted {c : Sequence → ℝ} {u : ℝ} (hh : SumBudget (fun i => b.mass (imageOf (n:=n) P b i) (c i)) u) : |
| 129 | Sealed b (cardSite (n:=n) P b) (fun i => c i.token) (Fintype.card Signed*u) := by |
| 130 | intro x |
| 131 | apply stamped (w:=fun i : Card n => b.mass (cardSite P b i).support (c i.token)) _ x |
| 132 | intro o s |
| 133 | have he i : coverNumber b.B (cardSite P b (o,s,i)).support=coverNumber b.B (imageOf (n:=n) P b i) := |
| 134 | Push.Local.cover_map (Push.Local.turnSites s o) (Push.Local.turn_sep s o) _ _ |
| 135 | simp only [BudgetPoint.mass,he]; exact hh |
| 136 | private lemma rootedPrice (c : Sequence→ℝ) (d u : ℝ) (hd : 0 ≤ d) (h : SumBudget (fun i => b.mass (imageOf (n:=n) P b i) (c i)) u) : |
| 137 | Sealed b (cardSite (n:=n) P b) (fun i => d*c i.token) (Fintype.card Signed*(d*u)) := by |
| 138 | refine mounted (c:=fun i=>d*c i) ?_ |
| 139 | convert budget_scale hd h using 1; ext1; dsimp [BudgetPoint.mass]; ring |
| 140 | |
| 141 | lemma shelfY (hd : P.Bounds p σ C Λ) (hh : Grace p b σ) : |
| 142 | Sealed b (cardSite (n:=n) P b) (fun i => priceY P p b i.token) (stapleY G p b σ C) := rootedPrice _ _ _ |
| 143 | (mul_nonneg (Wheels.tariff_positive b).le (pow_nonneg b.threshold_pos.le _)) (raw_reserve hd hh) |
| 144 | lemma shelfT (hd : P.Bounds p σ C Λ) (hh : Grace p b σ) : |
| 145 | Sealed b (cardSite (n:=n) P b) (fun i => priceT P p b i.token) (stapleT G p b C) := rootedPrice _ _ _ |
| 146 | (mul_nonneg (Wheels.tariff_positive b).le (pow_nonneg b.threshold_pos.le _)) (response_reserve hd hh) |
| 147 | lemma shelfClip (hd : P.Bounds p σ C Λ) (hh : Grace p b σ) : |
| 148 | Sealed b (cardSite (n:=n) P b) (fun i => priceClip P p b i.token) (stapleC p b C) := mounted (clip_reserve hd hh) |
| 149 | end YM.AnalyticBridge.CouplingShape |