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.VERIFIED_RESET_STEP.Projection |
| 2 | import YM.Next.FOUNDATIONS.Regular |
| 3 | import YM.Next.FREE_KERNELS.Lifts |
| 4 | import YM.Progress.DIRECTED_RECIPE.Germs |
| 5 | import YM.Push.BETA_TRANSPORT.Margins |
| 6 | import YM.UVNext.PRICED_KERNELS.Costed |
| 7 | |
| 8 | |
| 9 | /-! |
| 10 | # Prices through scalar operations |
| 11 | |
| 12 | Extending the fixed-label calculus to reset residuals. Left derivatives on |
| 13 | healthy closed sets; full neighborhoods even at the boundary of a mask. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.AnalyticBridge.VerifiedReset |
| 18 | open Function Filter Set Lattice Wilson RG Next.Foundations UVNext.PricedKernels Work.G07 Topology |
| 19 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators |
| 20 | attribute [local instance] Gauge.frobInner |
| 21 | variable {G : Gauge} {n : Side} {p : BudgetPoint} {X Y : Support n} |
| 22 | |
| 23 | section Bills |
| 24 | variable {o : Site n} {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 25 | abbrev Bill (p : BudgetPoint) (o : Site n) (Z : Config G n → Prop) (a : ℝ) (f : Config G n → E) := bill p.order (p.dirBound o) Z a f |
| 26 | variable {Z Z' : Config G n → Prop} {a b : ℝ} {f g : Config G n → E} |
| 27 | namespace Bill |
| 28 | lemma le (h : Bill p o Z a f) (he : a ≤ b) : Bill p o Z b f := bill.le h he |
| 29 | lemma norm (h : Bill p o Z a f) {l} (hl : l.length ≤ p.order) (hd : ∀ i∈l,p.dirBound o i) {U} (hU : Z U) : ‖leftDerivs f l U‖ ≤ a := |
| 30 | bill.norm h l hl hd U hU |
| 31 | lemma sup (h : Bill p o Z a f) (hz : ∀ U,Healthy p.threshold X U → Z U) : 0 ≤ a ∧ ∀ U : Config G n, |
| 32 | Healthy p.threshold X U → ∀ l : List (Dir G n), l.length ≤ p.order → (∀ i∈l,p.dirBound o i) → ‖leftDerivs f l U‖ ≤ a := |
| 33 | ⟨h.nonneg,fun _ he _l hl hd => Bill.norm h hl hd (hz _ he)⟩ |
| 34 | lemma const (p : BudgetPoint) (x : E) : Bill p o Z ‖x‖ fun _ => x := LeftBound.const zero_le_one x |
| 35 | lemma sum {ι : Type*} {a : ι → ℝ} {f : ι → Config G n → E} (I : Finset ι) (h : ∀ i∈I, Bill p o Z (a i) (f i)) : |
| 36 | Bill p o Z (∑ i ∈ I,a i) (fun U => ∑ i ∈ I,f i U) := by |
| 37 | classical |
| 38 | induction I using Finset.induction_on with |
| 39 | | empty => simp_rw [Finset.sum_empty]; simpa only [norm_zero] using const (o:=o) (Z:=Z) p (0:E) |
| 40 | | insert i s hi ih => simp_rw [Finset.sum_insert hi]; exact (h i (by simp)).add (ih fun j hj => h j (by simp [hj])) |
| 41 | |
| 42 | lemma scale (c : ℝ) (h : Bill p o Z a f) : Bill p o Z (|c| *a) fun U => c • f U := by |
| 43 | have hL : ∀ l U, leftDerivs (fun U => c • f U) l U = c • leftDerivs f l U := by |
| 44 | intro l; induction l with |
| 45 | | nil => exact fun _ => rfl |
| 46 | | cons A l ih => simp_rw [leftDerivs,ih]; intro U; exact deriv_const_smul_field c _ |
| 47 | refine ⟨h.smooth.postcomp (c • ContinuousLinearMap.id ℝ _),mul_nonneg (abs_nonneg _) h.nonneg, ?_⟩ |
| 48 | intro l hl hd U hU |
| 49 | rw [hL,one_pow,mul_one,norm_smul]; exact mul_le_mul_of_nonneg_left (Bill.norm h hl hd hU) (abs_nonneg _) |
| 50 | lemma mul_left (c : ℝ) {f : Pot G n} (h : Bill p o Z a f) : Bill p o Z (|c| *a) fun U => c*f U := scale c h |
| 51 | lemma sub (h : Bill p o Z a f) (h' : Bill p o Z b g) : Bill p o Z (a+b) fun U => f U - g U := by |
| 52 | simpa only [sub_eq_add_neg,abs_neg,abs_one,one_mul,neg_one_smul] using h.add (scale (-1) h') |
| 53 | end Bill |
| 54 | end Bills |
| 55 | |
| 56 | def pairingCost (E : Type*) [NormedAddCommGroup E] [InnerProductSpace ℝ E] (m : ℕ) := 2^m * ‖(innerSL ℝ : E →L[ℝ] E →L[ℝ] ℝ)‖ |
| 57 | lemma pairing_nonneg (E : Type*) [NormedAddCommGroup E] [InnerProductSpace ℝ E] (m : ℕ) : 0 ≤ pairingCost E m := by unfold pairingCost; positivity |
| 58 | lemma Bill.pair {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {o : Site n} {Z a b} {f g : Config G n → E} |
| 59 | (h : Bill p o Z a f) (h' : Bill p o Z b g) : Bill p o Z (pairingCost E p.order * a*b) fun U => inner ℝ (f U) (g U) := by |
| 60 | rw [pairingCost, mul_assoc (2^p.order:ℝ) _ a] |
| 61 | exact bill.times h' (h.postcomp (innerSL ℝ)) |
| 62 | |
| 63 | variable {f g : Pot G n} {o : Site n} {a b : ℝ} |
| 64 | lemma reg_bill {Z : Config G n → Prop} (h : Bill p o Z a f) (hc : Measurable f) (hl : LocalOn X f) (hg : GaugeInvariant f) : |
| 65 | p.Regular X f := ⟨hl,hc,hg,fun _ _ => ((h.smooth [] (by simp) _).of_le (by exact_mod_cast (le_top : (p.order:ℕ∞) ≤ ⊤))).contDiffAt, |
| 66 | fun U _ A l hl => h.smooth.has hl.le U A⟩ |
| 67 | lemma reg_larger (h : p.Regular X f) (hs : X ⊆ Y) : p.Regular Y f := |
| 68 | ⟨fun _ _ hv => h.sites _ _ (agrees_mono hv (Finset.coe_subset.mpr hs)), h.borel,h.symmetry, |
| 69 | fun U hU => h.smooth U (Finset.disjoint_of_subset_left hs hU),fun U hU => h.hasDerivs U (Finset.disjoint_of_subset_left hs hU)⟩ |
| 70 | lemma sup_larger (h : p.supBounds o X f a) (hs : X ⊆ Y) : p.supBounds o Y f a := |
| 71 | ⟨h.1, fun U hu => h.2 U (Finset.disjoint_of_subset_left hs hu)⟩ |
| 72 | lemma sup_le (h : p.supBounds o X f a) (e : a ≤ b) : p.supBounds o X f b := |
| 73 | ⟨h.1.trans e,fun U hU l hl hL => (h.2 U hU l hl hL).trans e⟩ |
| 74 | |
| 75 | lemma reg_const (x : ℝ) : p.Regular X fun _ : Config G n => x := reg_bill (Bill.const (o:=0) (Z:=Healthy p.threshold X) p x) measurable_const (fun _ _ _ => rfl) (fun _ _ => rfl) |
| 76 | lemma sup_const (x : ℝ) : p.supBounds o X (fun _ : Config G n => x) |x| := Bill.sup (Bill.const p x) (fun _ h => h) |
| 77 | lemma reg_sub (h : p.Regular X f) (h' : p.Regular X g) : p.Regular X (f-g) := |
| 78 | ⟨fun _ _ hv => congrArg₂ (·-·) (h.sites _ _ hv) (h'.sites _ _ hv), h.borel.sub h'.borel, |
| 79 | fun _ _ => congrArg₂ (·-·) (h.symmetry _ _) (h'.symmetry _ _),fun U hU => (h.smooth U hU).sub (h'.smooth U hU), |
| 80 | fun U hU A _l hl => left_has A hl ((h.smooth U hU).sub (h'.smooth U hU))⟩ |
| 81 | |
| 82 | private lemma near {U : Config G n} {k : ℕ} |
| 83 | (he : ContDiffAt ℝ k (f ∘ increment U) 0) (A : Dir G n) : |
| 84 | ∀ᶠ t : ℝ in 𝓝 0, ContDiffAt ℝ k (f ∘ increment (increment U (t • A))) 0 := by |
| 85 | obtain ⟨c,hc,hC,hcc⟩ := Progress.DirectedRecipe.shifted (u:=Prod.fst (α:=Dir G n) (β:=Dir G n)) (v:=Prod.snd) |
| 86 | (x:=0) (m:=↑k) rfl rfl contDiffAt_fst contDiffAt_snd |
| 87 | have hb := (((hc.symm ▸ he).comp (f:=c) 0 hC).congr_of_eventuallyEq ((hcc U).fun_comp f)).eventually (by simp) |
| 88 | let q (t : ℝ) := (t • A, (0:Dir G n)) |
| 89 | have ht : Tendsto q (𝓝 0) (𝓝 0) := by |
| 90 | rw [← show q 0=0 by simp [q, Prod.zero_eq_mk]]; exact (show Continuous q by unfold q; fun_prop).tendsto _ |
| 91 | filter_upwards [ht.eventually hb] with i hi |
| 92 | exact hi.comp 0 (f:=fun x => (i • A,x)) (contDiffAt_const.prodMk contDiffAt_id) |
| 93 | lemma left_sub {k : ℕ} {U} (h : ContDiffAt ℝ k (f ∘ increment U) 0) (h' : ContDiffAt ℝ k (g ∘ increment U) 0) |
| 94 | {l : List (Dir G n)} (hl : l.length ≤ k) : leftDerivs (f-g) l U = leftDerivs f l U - leftDerivs g l U := by |
| 95 | induction l generalizing U with |
| 96 | | nil => rfl |
| 97 | | cons A l ih => |
| 98 | have hb : l.length < k := hl |
| 99 | refine (((left_has A hb h).sub (left_has A hb h')).congr_of_eventuallyEq (f₁:=fun t => leftDerivs (f-g) l (increment U (t • A))) ?_).deriv |
| 100 | filter_upwards [near h A,near h' A] with t h₁ h₂ using ih h₁ h₂ hb.le |
| 101 | lemma sup_sub (h : p.Regular X f) (h' : p.Regular X g) (ha : p.supBounds o X f a) (hb : p.supBounds o X g b) : |
| 102 | p.supBounds o X (f-g) (a+b) := by |
| 103 | refine ⟨add_nonneg ha.1 hb.1,fun U hu l hl hD => ?_⟩; rw [left_sub (h.smooth U hu) (h'.smooth U hu) hl]; exact |
| 104 | (norm_sub_le ..).trans (add_le_add (ha.2 _ hu _ hl hD) (hb.2 _ hu _ hl hD)) |
| 105 | lemma sup_varies {d : RegularAddress n} (h : p.Regular d.support f) (h' : p.Regular d.support g) : |
| 106 | Shoot.variesRegular p d f g a ↔ p.supBounds d.site d.support (f-g) a := |
| 107 | and_congr_right fun _ => forall_congr' fun U => forall_congr' fun hu => forall_congr' fun _ => forall_congr' fun hl => by |
| 108 | rw [left_sub (h.smooth U hu) (h'.smooth U hu) hl] |
| 109 | lemma hessian_sub (h : p.Regular X f) (h' : p.Regular X g) (u v : Dir G n) : |
| 110 | logHessian (f-g) u v = logHessian f u v - logHessian g u v := by |
| 111 | change (iteratedFDeriv ℝ 2 (germ f - germ g) 0) _ = _ |
| 112 | rw [iteratedFDeriv_sub_apply (germ_diff h) (germ_diff h')]; rfl |
| 113 | lemma hessian_zero (a : ℝ) (u v : Dir G n) : logHessian (fun _ => a) u v = 0 := by simp [hessian_eq,germ,Function.comp_def] |
| 114 | lemma projection_sub (d : RegularAddress n) (h : p.Regular X f) (h' : p.Regular X g) (i j : PlaqAxes) : |
| 115 | projection d (f-g) i j = projection d f i j - projection d g i j := by |
| 116 | simp only [projection]; split |
| 117 | · exact hessian_sub h h' _ _ |
| 118 | simp |
| 119 | end YM.AnalyticBridge.VerifiedReset |