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.Canonical |
| 2 | |
| 3 | /-! |
| 4 | # The old E surplus at the shape-reset entrance |
| 5 | |
| 6 | Work even at an output argument which is off the indicated good sets. Correction |
| 7 | in the E address, what is removed, what has to multiply the *gas* (including on |
| 8 | a failed indicator) are three different local numbers. Earlier integral estimates |
| 9 | acquiring the input costs at this anchor scale not here. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.AnalyticBridge.CouplingShape |
| 14 | open Function Filter Lattice Wilson RG Finset Push.AbsoluteSums WardBin |
| 15 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff Classical InnerProductSpace |
| 16 | variable {G : Gauge} {n : Side} (P : Activities G n) (b : BudgetPoint) |
| 17 | |
| 18 | def sprouts (X : RegularAddress n) : RegularAddress n := ⟨X.site,X.support∪ringlet X.site,mem_union_left _ X.anchor⟩ |
| 19 | |
| 20 | def heart (i : ℕ) := P.E i 1 |
| 21 | |
| 22 | def remain (i : ℕ) : Config G n → ℝ := P.E i - (fun _ => heart P i) - cut (P.E i) (P.reg i).site (P.reg i).support |
| 23 | |
| 24 | def reap (i : ℕ) := masked b.threshold (sprouts (P.reg i)).support (remain P i) |
| 25 | def pinch (i : ℕ) := masked b.threshold (ringlet (P.reg i).site) (cut (P.E i) (P.reg i).site (P.reg i).support) |
| 26 | |
| 27 | def requireLog (i : ℕ) (U : Config G n) := heart P i + reap P b i U + pinch P b i U - P.regularOccurrence b i U |
| 28 | |
| 29 | lemma for_cover (i U) (h : Healthy b.threshold (sprouts (P.reg i)).support U) : requireLog P b i U=0 := by |
| 30 | rw [requireLog, reap,masked_eq _ _ _ _ h,pinch, |
| 31 | masked_eq _ _ _ _ (Disjoint.mono_left subset_union_right (show Healthy _ ((P.reg i).support ∪ ringlet _) U from h)), |
| 32 | Activities.regularOccurrence,masked_eq _ _ _ _ (Disjoint.mono_left subset_union_left (show Healthy _ ((P.reg i).support ∪ ringlet _) U from h))] |
| 33 | change _+(P.E i U-heart P i-_)+_-_=0; ring |
| 34 | |
| 35 | def paysLive (G : Gauge) (b : BudgetPoint) := 2+cutPrice G b |
| 36 | def paysAttach (G : Gauge) (b : BudgetPoint) := 2+paysLive G b+cutPrice G b |
| 37 | lemma paysLive_pos : 0<paysLive G b := by unfold paysLive; linarith [cutPrice_nonneg G b] |
| 38 | lemma paysAttach_pos : 0<paysAttach G b := by unfold paysAttach; linarith [cutPrice_nonneg G b,paysLive_pos (G:=G) b] |
| 39 | |
| 40 | lemma hints (hs : G.Simple) (hn : 2 ≤ n.val) (i) (h : b.Regular (P.reg i).support (P.E i)) {c : ℝ} |
| 41 | (hy : b.supBounds (P.reg i).site (P.reg i).support (P.E i) c) : let X := sprouts (P.reg i) |
| 42 | let L := requireLog P b i |
| 43 | b.Regular X.support (remain P i) ∧ b.supBounds X.site X.support (remain P i) (paysLive G b*c) ∧ |
| 44 | remain P i 1=0 ∧ (Nonwrapping X.support X.site → ∀ A B, IsAffineDirection X.site A → IsAffineDirection X.site B → |
| 45 | logHessian (remain P i) A B=0) ∧ GaugeInvariant L ∧ Measurable L ∧ UsesFinal b.threshold X.support L ∧ |
| 46 | ∀ U, |L U| ≤ paysAttach G b*c := by |
| 47 | intro X L |
| 48 | let x:= (P.reg i).site; let e:= P.E i; let u:= (P.reg i).support |
| 49 | have hk : ringlet x⊆X.support:=subset_union_right; have he : u⊆X.support:=subset_union_left |
| 50 | have hv : |heart P i| ≤ c := hy.2 1 (clear_one b u) [] (Nat.zero_le _) (by simp) |
| 51 | obtain ⟨h₁,h₂⟩:= cut_billed hs h x hy |
| 52 | have hr := reg_extend h he; have ha:= reg_const (n:=n) (p:=b) (X:=X.support) (G:=G) (heart P i) |
| 53 | have hc : b.Regular X.support (remain P i) := reg_sub (reg_sub hr ha) (reg_extend h₁ hk) |
| 54 | have hh := sup_sub (reg_sub hr ha) (reg_extend h₁ hk) |
| 55 | (sup_sub (o:=x) hr ha (sup_extend hy he) (sup_const _)) (sup_extend h₂ hk) |
| 56 | have hR : b.supBounds x X.support (remain P i) (paysLive G b*c) := sup_larger hh (by unfold paysLive; linarith) |
| 57 | refine ⟨hc,hR,?_,?_,fun k U=>?_,?_,fun U V hD hF=>?_,fun U=>?_⟩ |
| 58 | · simp only [remain, Pi.sub_apply, heart, sub_self,cut_nil] |
| 59 | · intro hX A B hA hB; obtain ⟨c,d,hA⟩:=onStencil_of_affine hA X.support; obtain ⟨c',d',hB⟩:=onStencil_of_affine hB X.support |
| 60 | rw [log_eq_H,remain,sub_jet (reg_sub hr ha) (reg_extend h₁ hk),sub_jet hr ha,const_horizontal,sub_zero, |
| 61 | cut_jet hn hs he (o:=x) hX hk (h:=h) h₁ hA hB, sub_self] |
| 62 | · simp only [L,requireLog, reap,pinch,Activities.regularOccurrence,stencil_gi h.symmetry _ _ k U, |
| 63 | stencil_gi (f:=remain P i) hc.symmetry _ _ k U, stencil_gi (f:=cut (P.E i) (P.reg i).site _) h₁.symmetry _ _ k U] |
| 64 | · exact (((measurable_const.add (masked_measurable _ _ _ hc.borel)).add (masked_measurable _ _ _ h₁.borel)).sub |
| 65 | (masked_measurable _ _ _ h.borel)) |
| 66 | · change requireLog P b i U = requireLog P b i V |
| 67 | rw [requireLog,requireLog,show reap P b i U=reap P b i V from stencil_reads _ hc.sites _ U V hD hF, |
| 68 | show pinch P b i U=pinch P b i V from Work.H03.reads_larger hk (stencil_reads _ h₁.sites _) U V hD hF, |
| 69 | show P.regularOccurrence b i U=P.regularOccurrence b i V from Work.H03.reads_larger he (stencil_reads _ h.sites _) U V hD hF] |
| 70 | calc |
| 71 | |L U| ≤ _ := abs_sub .. |
| 72 | _ ≤ (((|heart P i| + |reap P b i U|)+|pinch P b i U|)+|P.regularOccurrence b i U|) := by |
| 73 | apply add_le_add_left; apply le_trans (abs_add_le ..); exact add_le_add_left (abs_add_le ..) _ |
| 74 | _ ≤ ((c+paysLive G b*c)+cutPrice G b*c)+c := add_le_add (add_le_add (add_le_add hv (mask_cost hR U)) (mask_cost h₂ U)) (mask_cost hy U) |
| 75 | _ = paysAttach G b*c := by unfold paysAttach; ring |
| 76 | |
| 77 | lemma shiftSeed (s : Signed) (z : Site n) (hs : G.Simple) (hn : 10<n.val) {δ : ℝ} (he : Profiled P b δ) |
| 78 | (J : P.Moves s z) (i : ℕ) : let j := J.ep i |
| 79 | let X := sprouts (P.reg i); let Y := sprouts (P.reg j) |
| 80 | Y.site=affine s z X.site ∧ Y.support=X.support.image (affine s z) ∧ ∀ U, |
| 81 | remain P j U=remain P i (pull s z U) ∧ requireLog P b j U=requireLog P b i (pull s z U) := by |
| 82 | intro j X Y; let x := (P.reg i).site |
| 83 | have h₁ : (P.reg j).site=affine s z (P.reg i).site := J.reg_site i |
| 84 | have h₂ : (P.reg j).support=(P.reg i).support.image (affine s z) := J.reg_support i |
| 85 | have h₃ := ringlet_turn s z (P.reg i).site |
| 86 | have hx : Y.support = X.support.image (affine s z) := by simp only [Y,X,sprouts,h₂,h₁,image_union,h₃] |
| 87 | refine ⟨h₁,hx,fun U=>?_⟩ |
| 88 | let V:= pull s z U |
| 89 | have hV : P.E j=P.E i ∘ pull s z := funext (J.valuesE i) |
| 90 | have hv : heart P j=heart P i := by simp [heart,hV,pull_empty] |
| 91 | have hu : cut (P.E j) (P.reg j).site (P.reg j).support U=cut (P.E i) x (P.reg i).support V := by |
| 92 | rw [cut,cut,h₁,h₂,hV]; congr 1 |
| 93 | rw [strip_via_pull s z hn hs (he.smooth i) (by rw [← h₂,← hV]; exact he.smooth j),show V=pull s z U from rfl,spins] |
| 94 | have hP := J.valuesE i U |
| 95 | have hR : remain P j U=remain P i V := by |
| 96 | change P.E j U-_-_ = P.E i V-_-_; rw [hv,hu]; exact congr_arg₂ (·-·) (congr_arg₂ (·-·) hP rfl) rfl |
| 97 | refine ⟨hR,?_⟩ |
| 98 | unfold requireLog |
| 99 | rw [hv,show reap P b j U=reap P b i V from (by unfold reap; rw [hx]; exact mask_cov _ _ _ _ hR.symm), |
| 100 | show pinch P b j U=pinch P b i V from (by |
| 101 | unfold pinch |
| 102 | generalize hj : cut (P.E j) (P.reg j).site (P.reg j).support=cJ at * |
| 103 | rw [h₁,h₃]; exact mask_cov _ s z U hu.symm), |
| 104 | show P.regularOccurrence b j U=P.regularOccurrence b i V from (by unfold Activities.regularOccurrence; rw [h₂]; exact mask_cov _ _ _ _ hP.symm)] |
| 105 | |
| 106 | -- because the support of the clover only costs one B. Don't lose a factor in A per step. |
| 107 | lemma boost_stamp (a : ℝ) (ha : 0 ≤ a) {f : ℕ → ℝ} {δ : ℝ} (h : Sealed b P.reg f δ) (hh : ∀ i,0≤f i) : |
| 108 | Sealed b (sprouts ∘ P.reg) (fun i=> a*f i) ((Real.exp b.supportExponent*a)*δ) := by |
| 109 | intro x |
| 110 | refine budget_mono (budget_scale (mul_nonneg (Real.exp_pos _).le ha) (h x)) (fun i=> ?_) (fun i=>?_) |
| 111 | · split <;> first | exact le_rfl | exact mul_nonneg (Real.exp_pos _).le (mul_nonneg ha (hh _)) |
| 112 | change (if (sprouts (P.reg i)).site=x then b.mass _ _ else 0)≤_ |
| 113 | by_cases he : (P.reg i).site=x |
| 114 | · simp only [sprouts, if_pos he]; unfold BudgetPoint.mass |
| 115 | calc |
| 116 | _ ≤ Real.exp (b.supportExponent * (1+↑(coverNumber b.B (P.reg i).support))) * (a*f i) := by |
| 117 | gcongr |
| 118 | · exact mul_nonneg ha (hh _) |
| 119 | · exact b.exponent_pos.le |
| 120 | exact_mod_cast (Corona.meets_sum (P.reg i).anchor (central ..) b.B).trans (by have := ringPaid b (P.reg i).site; omega) |
| 121 | _ = _ := by simp only [mul_add,mul_one,Real.exp_add]; ring |
| 122 | have hu : ¬(sprouts (P.reg i)).site=x:= he; simp [hu,he] |
| 123 | |
| 124 | variable {P b} |
| 125 | lemma flat_income {δ : ℝ} (hh : P.EBound b δ) : |
| 126 | SumBudget (fun i => |heart P i|) (Fintype.card (Site n) * δ) := by |
| 127 | obtain ⟨c,hc,h⟩:=hh |
| 128 | exact budget_mono (totalBooked (fun i=> (hc i).1) h) (fun i=>abs_nonneg _) (fun i => (hc i).2 1 (clear_one ..) [] (Nat.zero_le _) (by simp)) |
| 129 | |
| 130 | lemma live_budget (hs : G.Simple) (hn : 2 ≤ n.val) {δ : ℝ} (hh : Profiled P b δ) : |
| 131 | Dominated (pinch P b) ∧ Dominated (reap P b) ∧ Dominated (requireLog P b) ∧ Dominated (P.regularOccurrence b) := by |
| 132 | obtain ⟨c,hc,h⟩:=hh.bound |
| 133 | have hf := (totalBooked (u:=P.reg) (fun i=> (hc i).1) (p:=b) h).2.1 |
| 134 | refine ⟨⟨_,hf.mul_left (cutPrice G b),fun i U=>mask_cost (cut_billed hs (hh.smooth i) (P.reg i).site (hc i)).2 U⟩, |
| 135 | ⟨_,hf.mul_left (paysLive G b),fun i U=>mask_cost (hints P b hs hn i (hh.smooth i) (hc i)).2.1 U⟩, |
| 136 | ⟨_,hf.mul_left (paysAttach G b),fun i U=>(hints P b hs hn i (hh.smooth i) (hc i)).2.2.2.2.2.2.2 U⟩, |
| 137 | ⟨c,hf,fun i U=>mask_cost (hc i) U⟩⟩ |
| 138 | |
| 139 | lemma measured_site (hs : G.Simple) (hn : 10<n.val) {δ : ℝ} (hh : Profiled P b δ) (u : G.Color) (hu : ‖u‖=1) |
| 140 | (x : Site n) (U : Config G n) : |
| 141 | (∑' i, if (P.reg i).site=x then pinch P b i U else 0) = delta P u*short b U x := by |
| 142 | by_cases ht : Healthy b.threshold (ringlet x) U |
| 143 | · let w:=needles x U |
| 144 | have he (i : ℕ) : (if (P.reg i).site=x then pinch P b i U else 0) = (1/2:ℝ)*shelf P x i w w := by |
| 145 | unfold shelf; by_cases hc : (P.reg i).site=x |
| 146 | · rw [if_pos hc, if_pos hc.symm, pinch, hc,masked_eq _ _ _ _ ht]; rfl |
| 147 | simp [hc,Ne.symm hc] |
| 148 | rw [short,masked_eq _ _ _ _ ht]; simp_rw [he,tsum_mul_left,← shelf_read hs hh,screen_trace hs hn hh x u hu] |
| 149 | unfold curlValue squareNorm; unfold w; rw [← sum_div]; ring |
| 150 | have he (i : ℕ) : (if (P.reg i).site=x then pinch P b i U else 0)=0 := by |
| 151 | by_cases hc : (P.reg i).site=x |
| 152 | · rw [if_pos hc,pinch,hc,masked_ne _ _ _ _ ht] |
| 153 | exact if_neg hc |
| 154 | rw [short, masked_ne _ _ _ _ ht,mul_zero]; simp only [he, tsum_zero] |
| 155 | |
| 156 | lemma measured (hs : G.Simple) (hn : 10<n.val) {δ : ℝ} (hh : Profiled P b δ) (u : G.Color) (hu : ‖u‖=1) |
| 157 | (U : Config G n) : |
| 158 | (∑' i, pinch P b i U) = delta P u * ∑ x : Site n, short b U x := by |
| 159 | let f (x : Site n) (i : ℕ) := if (P.reg i).site=x then pinch P b i U else 0 |
| 160 | have ht (x) : Summable (f x) := ((live_budget hs (by omega) hh).1.absolute U).of_norm_bounded fun i => by |
| 161 | unfold f; split <;> first | rfl | (rw [norm_zero];exact norm_nonneg _) |
| 162 | rw [show (fun i=> pinch P b i U)=fun i=>∑ x,f x i from funext fun i => by simp [f],Summable.tsum_finsetSum fun x _ => ht x, mul_sum] |
| 163 | exact sum_congr rfl fun i _ => measured_site hs hn hh u hu i U |
| 164 | end YM.AnalyticBridge.CouplingShape |