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.AnalyticNext.QUARTIC_MATCH.Exchange |
| 2 | |
| 3 | |
| 4 | /-! |
| 5 | # Counting and paying assignments on actual path jets |
| 6 | |
| 7 | No divided powers in these estimates. Use finite labelled slots; billing sums |
| 8 | include contacts and lower actions too. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.AnalyticNext.QuarticMatch.Estimate |
| 13 | open Filter Function Matrix Analysis |
| 14 | open scoped Topology ContDiff BigOperators |
| 15 | |
| 16 | variable {ι α : Type*} {X Y Z E : Type*} |
| 17 | [NormedAddCommGroup X] [NormedSpace ℝ X] [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 18 | [NormedAddCommGroup Z] [NormedSpace ℝ Z] [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 19 | |
| 20 | def hook (S : Finset ι) (d : ι→X) := fun k : Fin S.card => d (S.equivFin.symm k).val |
| 21 | |
| 22 | def bill (S : Finset ι) (d : ι→X) (f : X→Y) (x : X) := iteratedFDeriv ℝ S.card f x (hook S d) |
| 23 | |
| 24 | lemma lists (S : Finset ι) (d : ι→X) (f : X→Y) (x : X) (h : ContDiffAt ℝ ω f x) |
| 25 | (m : ℕ) (u : Fin m ≃ ↥S) : bill S d f x=iteratedFDeriv ℝ m f x (fun i => d (u i).1) := by |
| 26 | obtain rfl : m=S.card := by simpa using Fintype.card_congr u |
| 27 | unfold bill |
| 28 | rw [← sym_Jet (h.of_le (show (S.card : WithTop ℕ∞)≤ω from le_top)) _ (u.trans S.equivFin)] |
| 29 | congr; ext i; simp [hook] |
| 30 | |
| 31 | lemma univEstimate {n : ℕ} (d : Fin n→X) (f : X→Y) (x : X) (h : ContDiffAt ℝ ω f x) : |
| 32 | bill Finset.univ d f x=iteratedFDeriv ℝ n f x d := by |
| 33 | let e : Fin n ≃ ↥(Finset.univ : Finset (Fin n)) := ⟨fun i => ⟨i,Finset.mem_univ _⟩,Subtype.val,fun _ => rfl,fun _ => rfl⟩ |
| 34 | exact lists Finset.univ d f x h n e |
| 35 | |
| 36 | lemma blank (d : ι→X) (f : X→Y) (x : X) : bill ∅ d f x=f x := iteratedFDeriv_zero_apply _ |
| 37 | lemma germ {S : Finset ι} {d : ι→X} {f g : X→Y} {x : X} (h : f =ᶠ[𝓝 x] g) : bill S d f x=bill S d g x := by |
| 38 | unfold bill; rw [(h.iteratedFDeriv ℝ S.card).eq_of_nhds] |
| 39 | lemma smooth_rate {S : Finset ι} {d : ι→X} {f : X→Y} {x : X} (h : ContDiffAt ℝ ω f x) : ContDiffAt ℝ ω (bill S d f) x := |
| 40 | (ContinuousMultilinearMap.apply ℝ (fun _ => X) Y (hook S d)).contDiff.contDiffAt.comp _ (h.iteratedFDeriv_right (by simp)) |
| 41 | lemma sum_bill (D : Finset α) (S : Finset ι) (d : ι→X) (f : α→X→Y) (x : X) (h : ∀ i∈D, ContDiffAt ℝ ω (f i) x) : |
| 42 | bill S d (fun x => ∑ i∈D, f i x) x=∑ i∈D, bill S d (f i) x := by |
| 43 | unfold bill; rw [show (fun x => ∑ i∈D, f i x)=∑ i∈D,f i from funext fun x => (Finset.sum_apply ..).symm, |
| 44 | iteratedFDeriv_sum_apply ..]; simp only [_root_.sum_apply]; |
| 45 | exact fun i hi => (h i hi).of_le le_top |
| 46 | lemma plus_rate (S : Finset ι) (d : ι→X) {f g : X→Y} {x : X} (h : ContDiffAt ℝ ω f x) (u : ContDiffAt ℝ ω g x) : |
| 47 | bill S d (fun v => f v+g v) x=bill S d f x+bill S d g x := by unfold bill; rw [show (fun v => f v+g v)=f+g from rfl,iteratedFDeriv_add_apply (h.of_le le_top) (u.of_le le_top)]; rfl |
| 48 | lemma minor_rate (S : Finset ι) (d : ι→X) {f g : X→Y} {x : X} (h : ContDiffAt ℝ ω f x) (u : ContDiffAt ℝ ω g x) : |
| 49 | bill S d (fun v => f v-g v) x=bill S d f x-bill S d g x := by unfold bill; rw [show (fun v => f v-g v)=f-g from rfl,iteratedFDeriv_sub_apply (h.of_le le_top) (u.of_le le_top)]; rfl |
| 50 | lemma smul_price (S : Finset ι) (d : ι→X) {f : X→Y} {x : X} (h : ContDiffAt ℝ ω f x) (v : ℝ) : |
| 51 | bill S d (v • f) x=v • bill S d f x := by unfold bill; rw [iteratedFDeriv_const_smul_apply (h.of_le le_top)]; rfl |
| 52 | lemma empty_price (S : Finset ι) (d : ι→X) (x : X) : bill S d (fun _ : X => (0:Y)) x=0 := by simp [bill] |
| 53 | lemma left_price (S : Finset ι) (d : ι→X) (L : Y →L[ℝ] Z) {f : X→Y} {x : X} (h : ContDiffAt ℝ ω f x) : |
| 54 | bill S d (L ∘ f) x=L (bill S d f x) := by unfold bill; rw [L.iteratedFDeriv_comp_left h le_top]; rfl |
| 55 | lemma readdress (S : Finset ι) (d : ι→X) (L : X →L[ℝ] Y) (x : X) {f : Y→Z} (h : ContDiff ℝ ω f) : |
| 56 | bill S d (f ∘ L) x=bill S (L ∘ d) f (L x) := by unfold bill; rw [ContinuousLinearMap.iteratedFDeriv_comp_right]; rfl; exact h; exact le_top |
| 57 | lemma bill_bound (S : Finset ι) (d : ι→X) (f : X→Y) (x : X) : ‖bill S d f x‖ ≤ ‖iteratedFDeriv ℝ S.card f x‖*∏ i∈S,‖d i‖ := by |
| 58 | apply ((iteratedFDeriv ℝ S.card f x).le_opNorm _).trans_eq (congr_arg _ ?_) |
| 59 | exact (S.equivFin.symm.prod_comp (fun i => ‖d i.val‖)).trans (Finset.prod_attach S (fun i => ‖d i‖)) |
| 60 | |
| 61 | section multi |
| 62 | variable [DecidableEq ι] |
| 63 | lemma counted {S : Finset ι} {i : ι} (hi : i∉S) (d : ι→X) (f : X→Y) (x : X) (h : ContDiffAt ℝ ω f x) : |
| 64 | bill (insert i S) d f x=D (d i) (bill S d f) x := by |
| 65 | let u := (finSuccEquiv S.card).trans <| (Equiv.optionCongr S.equivFin.symm).trans <| (Finset.subtypeInsertEquivOption hi).symm |
| 66 | rw [lists (insert i S) d f x h (S.card+1) u] |
| 67 | rw [show (fun i => d (u i).val)=Fin.cons (d i) (hook S d) by |
| 68 | funext j; refine Fin.cases ?_ ?_ j |
| 69 | · simp [u, Finset.subtypeInsertEquivOption]; rfl |
| 70 | intro k; simp [u,hook,Finset.subtypeInsertEquivOption]; rfl] |
| 71 | exact cons_jet (h.of_le le_top) _ _ |
| 72 | lemma alone (d : ι→X) (f : X→Y) (x : X) (h : ContDiffAt ℝ ω f x) (i : ι) : bill {i} d f x=D (d i) f x := by |
| 73 | rw [show ({i}:Finset ι)=insert i ∅ by simp,counted (by simp) d f x h, show bill ∅ d f=f from funext (blank d f)] |
| 74 | omit [DecidableEq ι] in |
| 75 | lemma mute {S : Finset ι} (h : S.Nonempty) (d : ι→X) (x : X) (y : Y) : bill S d (fun _ : X => y) x=0 := by |
| 76 | unfold bill; rw [iteratedFDeriv_const_of_ne (𝕜:=ℝ) (Finset.card_ne_zero.mpr h)]; rfl |
| 77 | |
| 78 | /-- Include derivative *labels*, not commuting the multiplication. -/ |
| 79 | lemma account (φ : Y→L[ℝ] Z→L[ℝ] E) (S : Finset ι) (d : ι→X) (f : X→Y) (g : X→Z) (x : X) |
| 80 | (h : ContDiffAt ℝ ω f x) (e : ContDiffAt ℝ ω g x) : |
| 81 | bill S d (fun u => φ (f u) (g u)) x = ∑ T∈S.powerset, φ (bill T d f x) (bill (S\T) d g x) := by |
| 82 | let p := fun u => φ (f u) (g u) |
| 83 | induction S using Finset.induction_on generalizing x with |
| 84 | | empty => simp [blank] |
| 85 | | @insert i S hi ih => |
| 86 | let F (t : Finset ι) (x) := φ (bill t d f x) (bill (S\t) d g x) |
| 87 | have hf (t) : DifferentiableAt ℝ (F t) x := |
| 88 | (((φ.contDiff.contDiffAt.comp x (smooth_rate h)).clm_apply (smooth_rate e)).differentiableAt (by simp)) |
| 89 | have hu (t : Finset ι) (ht : t∈S.powerset) : |
| 90 | D (d i) (F t) x = φ (bill t d f x) (bill ((insert i S)\t) d g x)+φ (bill (insert i t) d f x) (bill ((insert i S)\(insert i t)) d g x) := by |
| 91 | have ht' := Finset.mem_powerset.mp ht |
| 92 | have he : i∉t := Finset.notMem_mono ht' hi |
| 93 | have hx : i ∉ S\t := by simp [hi] |
| 94 | rw [show insert i S \ t = insert i (S\t) by ext j; by_cases h : j=i <;> simp [h,he], |
| 95 | show insert i S \ insert i t=S\t by ext j; by_cases h : j=i <;> simp [h,hi],counted hx _ _ _ e,counted he _ _ _ h] |
| 96 | unfold F; rw [D_apply] |
| 97 | congr 2 |
| 98 | rw [D_comp φ.differentiableAt,φ.fderiv] |
| 99 | exact (smooth_rate h).differentiableAt (by simp) |
| 100 | · exact φ.differentiableAt.comp _ ((smooth_rate h).differentiableAt (by simp)) |
| 101 | exact (smooth_rate e).differentiableAt (by simp) |
| 102 | rw [counted hi d p x ((φ.contDiff.contDiffAt.comp _ h).clm_apply e)] |
| 103 | trans D (d i) (fun y => ∑ t∈S.powerset, F t y) x |
| 104 | · exact GermD _ ((h.eventually (by simp)).mp (((e.eventually (by simp)).mono fun y ey fy => ih y fy ey))) |
| 105 | rw [D,(HasFDerivAt.fun_sum (fun t (_ : t ∈ S.powerset) => (hf t).hasFDerivAt)).fderiv, _root_.sum_apply, Finset.sum_powerset_insert hi, |
| 106 | ← Finset.sum_add_distrib] |
| 107 | exact Finset.sum_congr rfl fun i hi => hu i hi |
| 108 | end multi |
| 109 | end YM.AnalyticNext.QuarticMatch.Estimate |