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.CONNECTED_ACTIVITY_JETS_E6.Lac |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Tablet |
| 3 | |
| 4 | /-! |
| 5 | # Local inverse jets, including varying sector data. |
| 6 | |
| 7 | Finite jets derived pointwise from price of A⁻¹ (real Combes). No need to |
| 8 | assume a bound across an unmasked region from the matrix Price at base. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.ConnectedActivityE6.Blaze |
| 13 | open Filter Function Lattice RG Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory Matrix |
| 14 | open Push Push.AbsoluteSums Precision Exterior Shell Channel Next.Fluctuations SectorMeasure Oriented Work.E03 |
| 15 | open Bloch Laurent SliceRows Mask Tags Progress.StationaryScenes Green Census Work.F03 Animals Control |
| 16 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 17 | variable {G : Gauge} {c : Side} {E ι κ ν : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 18 | open Brush |
| 19 | variable {v z f g : ℝ} {k : ℕ} |
| 20 | variable [Fintype ι] [Fintype κ] {x : E} {a : ι → Site c} {b : κ → Site c} {d : ν → Site c} {η γ : ℝ} |
| 21 | variable [DecidableEq ι] {A B : E → Matrix ι ι ℝ} |
| 22 | |
| 23 | lemma determinant {k : WithTop ℕ∞} (h : ∀ i j, ContDiffAt ℝ k (fun x=> A x i j) x) : ContDiffAt ℝ k (fun x=> (A x).det) x := by |
| 24 | simp_rw [Matrix.det_apply]; exact ContDiffAt.sum fun s _=> (contDiffAt_prod fun i _=>h ..).const_smul _ |
| 25 | lemma jetBack {k : WithTop ℕ∞} (h : ∀ i j,ContDiffAt ℝ k (fun x=> A x i j) x) (he : IsUnit (A x).det) (i j) : |
| 26 | ContDiffAt ℝ k (fun x => ((A x)⁻¹) i j) x := by |
| 27 | simp_rw [Matrix.inv_def, Ring.inverse_eq_inv,Matrix.smul_apply,smul_eq_mul,adjugate_apply] |
| 28 | refine ((determinant h).inv he.ne_zero).mul (determinant ?_) |
| 29 | intro u v |
| 30 | by_cases hg : u=j |
| 31 | · simp_rw [hg,updateRow_self]; exact contDiffAt_const |
| 32 | simp_rw [updateRow_ne hg]; exact h .. |
| 33 | |
| 34 | -- Vanishing remainder from F⁻¹ jets at base. Keep no derivative across germ boundaries. |
| 35 | def Bud (k n : ℕ) (f : E→ℝ) (x : E) := ContDiffAt ℝ (↑k) f x ∧ ∀ j : ℕ, j ≤ k → j<n → normJ j f x=0 |
| 36 | lemma Bud.shoot {i j k : ℕ} {f g : E→ℝ} (p : Bud k i f x) (q : Bud k j g x) : Bud k (i+j) (fun x=> f x*g x) x := by |
| 37 | have h := p.1.mul q.1; refine ⟨h, fun l hl ht=>?_⟩ |
| 38 | obtain ⟨s,hs,hx,-,hf⟩:= opens k p.1 Set.univ univ_mem |
| 39 | obtain ⟨t,he,hX,ht',hg⟩:= opens k q.1 s (hs.mem_nhds hx) |
| 40 | unfold normJ; rw [← iteratedFDerivWithin_eq_iteratedFDeriv he.uniqueDiffOn (h.of_le (Nat.cast_le.mpr hl)) hX] |
| 41 | refine le_antisymm ((norm_iteratedFDerivWithin_mul_le (hf.mono ht') hg he.uniqueDiffOn hX (Nat.cast_le.mpr hl)).trans_eq (Finset.sum_eq_zero fun n hn=>?_ )) |
| 42 | (norm_nonneg _) |
| 43 | rw [mem_range] at hn |
| 44 | rw [iteratedFDerivWithin_eq_iteratedFDeriv he.uniqueDiffOn (p.1.of_le (show (↑n:WithTop ℕ∞) ≤ (↑k) from Nat.cast_le.mpr (by omega))) hX, |
| 45 | iteratedFDerivWithin_eq_iteratedFDeriv he.uniqueDiffOn (q.1.of_le (show (↑(l-n):WithTop ℕ∞) ≤ (↑k) from Nat.cast_le.mpr (by omega))) hX] |
| 46 | change _*normJ n f x * normJ (l-n) g x=0; by_cases hm : n < i |
| 47 | · rw [p.2 n (by omega) hm, mul_zero, zero_mul] |
| 48 | rw [q.2 _ (by omega) (by omega),mul_zero] |
| 49 | lemma Bud.scores {k' i j : ℕ} (p : ∀ k l, Bud k' i (fun x=> A x k l) x) |
| 50 | (q : ∀ k l,Bud k' j (fun x=>B x k l) x) k l : Bud k' (i+j) (fun x=>(A x*B x) k l) x := by |
| 51 | have he {f g : E→ℝ} (h : Bud k' (i+j) f x) (p : Bud k' (i+j) g x) : Bud k' (i+j) (fun x=> f x+g x) x := by |
| 52 | refine ⟨h.1.add p.1,fun j hp hj=>?_⟩ |
| 53 | change ‖iteratedFDeriv ℝ j (f+g) x‖=0 |
| 54 | rw [iteratedFDeriv_add_apply (h.1.of_le (Nat.cast_le.mpr hp)) (p.1.of_le (Nat.cast_le.mpr hp))] |
| 55 | rw [norm_eq_zero.mp (h.2 j hp hj),norm_eq_zero.mp (p.2 j hp hj),add_zero,norm_zero] |
| 56 | have ht (s : Finset ι) : Bud k' (i+j) (fun x=>∑ z∈s,A x k z*B x z l) x := by |
| 57 | induction s using Finset.induction_on with |
| 58 | | empty => |
| 59 | simp only [sum_empty]; have h:=Brush.certified (k:=k') (x:=x) zero_le_one (0:ℝ) |
| 60 | refine ⟨h.1,fun i hi _=> le_antisymm ?_ (norm_nonneg _)⟩; simpa only [norm_zero,zero_mul] using! h.order _ hi |
| 61 | | insert i s hi hh => simp_rw [sum_insert hi]; exact he ((p ..).shoot (q ..)) hh |
| 62 | simp_rw [Matrix.mul_apply]; exact ht Finset.univ |
| 63 | |
| 64 | lemma melts (p : Tablet k η f v A a a x) (h : A x=0) (j : ℕ) (i l : ι) : Bud k j (fun x=> (A x^j) i l) x := by |
| 65 | induction j generalizing i l with |
| 66 | | zero => simp only [pow_zero]; exact ⟨contDiffAt_const,fun i _ hi=> by omega⟩ |
| 67 | | succ j ih => simp_rw [pow_succ]; exact Bud.scores (A:=fun x=> A x^j) ih (j:=1) (B:=A) |
| 68 | (fun i j=> ⟨(p.singular i j).smooth,fun k hk hh=>by |
| 69 | have hp : k=0 := by omega |
| 70 | unfold normJ; subst k; simp only [norm_iteratedFDeriv_zero,h]; simp⟩) .. |
| 71 | |
| 72 | namespace Tablet |
| 73 | -- grows k+book poly. -/ |
| 74 | def token (j : ℕ) (f g : ℝ) := ∑ i∈range (j+1), (f*g+1)^i*g |
| 75 | |
| 76 | def driftP (j : ℕ) (v : ℝ) := j*v |
| 77 | |
| 78 | omit [NormedAddCommGroup E] [NormedSpace ℝ E] in |
| 79 | lemma call (A : E → Matrix ι ι ℝ) (x H : E) (k : ℕ) (h : IsUnit (A x).det) (_p : IsUnit (A H).det) : |
| 80 | let F:=(A H)⁻¹; let V:=1-F*A x |
| 81 | (A x)⁻¹=(∑ i∈range (k+1),V^i*F)+(V^(k+1)*(A x)⁻¹) := by |
| 82 | intro F V |
| 83 | have hf : F=(1-V)*(A x)⁻¹ := by unfold V; rw [sub_sub_cancel,mul_assoc,Matrix.mul_nonsing_inv _ h,mul_one] |
| 84 | conv_rhs => arg 1; rw [hf] |
| 85 | simp_rw [← mul_assoc,← Finset.sum_mul]; rw [← add_mul, _root_.geom_sum_mul_neg,sub_add_cancel,one_mul] |
| 86 | |
| 87 | lemma inverter (p : Tablet k η f v A a a x) (h : IsUnit (A x).det) (hk : Price a a (A x)⁻¹ η g) (hg : 0≤g) : |
| 88 | Tablet k η (token k f g) (driftP k v) (fun x=> (A x)⁻¹) a a x := by |
| 89 | let F : E→Matrix ι ι ℝ := fun _=> (A x)⁻¹ |
| 90 | let V:= (1: E→Matrix ι ι ℝ) + -(F*A) |
| 91 | let W:= (fun x=> (A x)⁻¹) |
| 92 | have hF := Tablet.fixed (x:=x) (k:=k) (A x)⁻¹ hk p.scale hg (le_rfl : 0 ≤ (0:ℝ)) |
| 93 | have hV : Tablet k η (f*g+1) v V a a x := by |
| 94 | have hx : Tablet k η (g*f) (0+v) (-(F*A)) a a x := (hF.enjoin p).mirror |
| 95 | rw [zero_add] at hx |
| 96 | convert (Tablet.fixed (1:Matrix ..) (one_pay a _) p.scale zero_le_one p.pos).joined hx using 1 <;> first | rfl | ring |
| 97 | have hx : V x=0 := by change (1:Matrix ..)+ -(F x*A x)=_; rw [show F x*A x=_ from Matrix.nonsing_inv_mul _ h,add_neg_cancel] |
| 98 | let g' (j) := (f*g+1)^j*g |
| 99 | let b := driftP k v; have ht : 0≤ b := mul_nonneg (Nat.cast_nonneg _) p.pos |
| 100 | let D j (x:E) := (V x)^j*F x |
| 101 | have hh (i) (hi:i∈range (k+1)) : Tablet k η (g' i) b (D i) a a x := by |
| 102 | have he := (hV.tall i).enjoin hF; rw [add_zero] at he |
| 103 | convert! he.tilt (le_refl _) (mul_le_mul_of_nonneg_right (show (i:ℝ)≤(k:ℝ) from by |
| 104 | rw [mem_range] at hi; exact_mod_cast Nat.le_of_lt_succ hi) p.pos) p.scale le_rfl using 1 |
| 105 | have he (s : Finset ℕ) (h : s⊆range (k+1)) : Tablet k η (∑ i∈s,g' i) b (∑ i∈s,D i) a a x := by |
| 106 | induction s using Finset.induction_on with |
| 107 | | empty => simp only [sum_empty]; exact fixed 0 (⟨fun _=> by simp, fun _=>by simp⟩ : Price a a _ _ _) p.scale le_rfl ht |
| 108 | | insert i s hi hs => rw [sum_insert hi,sum_insert hi]; exact (hh _ (h (mem_insert_self ..))).joined (hs (insert_subset_iff.mp h).2) |
| 109 | let K : E→Matrix ι ι ℝ := fun x=> V x^(k+1)*W x |
| 110 | have hv i j : Brush k 0 b (fun y=>K y i j) x := by |
| 111 | have he := Bud.scores (k':=k) (A:=fun x=> V x^(k+1)) (B:=W) (melts hV hx (k+1)) (j:=0) (fun i j=> ⟨jetBack |
| 112 | (fun i j=> (p.singular i j).smooth) h _ _, fun i _ hi=>by omega⟩) i j |
| 113 | refine ⟨he.1, ht, fun i hi=>?_⟩; rw [zero_mul]; exact (he.2 i hi (by omega)).le |
| 114 | apply ((he (range (k+1)) (Finset.Subset.refl _)).rests hv).merges |
| 115 | have hg' : ∀ᶠ i in 𝓝 x, (A i).det≠0 := (determinant (fun i j=> (p.singular i j).smooth)).continuousAt.eventually_ne h.ne_zero |
| 116 | filter_upwards [hg'] with z hz |
| 117 | rw [call A z x k (IsUnit.mk0 _ hz) h]; simp only [Pi.add_apply,Finset.sum_apply,D] |
| 118 | rfl |
| 119 | end Tablet |
| 120 | end YM.ConnectedActivityE6.Blaze |