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.Euclid.Comparator |
| 2 | import YM.Next.MAXWELL.Core |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Free test obligations on Bel |
| 7 | |
| 8 | Ranks without any quotient identification of YM. The only null sector |
| 9 | of the freeTable is the equation sector. Positivity and H spin hold on |
| 10 | this actual table. Uniform positional caps at order zero now (can |
| 11 | raise by Bid.B10 after producing the derivatives). |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.Maxwell.Free |
| 16 | open Set Function Filter Tensor Analysis MeasureTheory Table.Pairing Wick Occ |
| 17 | open scoped ContDiff Topology BigOperators ComplexOrder |
| 18 | variable {G : Gauge} {n : ℕ} |
| 19 | |
| 20 | section price |
| 21 | private def Holds (f : Points n → ℂ) := ∃ (A : ℕ) (C : ℝ), 0 ≤ C ∧ ∀ r : ℝ, 0 < r → r ≤ 1 → |
| 22 | ∀ x, spaced r x → ‖f x‖ ≤ C*r⁻¹^A |
| 23 | |
| 24 | private lemma holds_fix (c : ℂ) : Holds (n:=n) (fun _ => c) := ⟨0,‖c‖,norm_nonneg _,by simp⟩ |
| 25 | |
| 26 | private lemma holds_add {f g : Points n → ℂ} (hf : Holds f) (hg : Holds g) : Holds (f+g) := by |
| 27 | obtain ⟨A,C,hc,H⟩ := hf |
| 28 | obtain ⟨B,D,hd,K⟩ := hg |
| 29 | refine ⟨A+B,C+D,add_nonneg hc hd,fun r hr hu x hx => ?_⟩ |
| 30 | have hp : 1 ≤ r⁻¹ := one_le_inv₀ hr |>.mpr hu |
| 31 | rw [add_mul] |
| 32 | refine (norm_add_le _ _).trans ((add_le_add (H r hr hu x hx) (K r hr hu x hx)).trans ?_) |
| 33 | gcongr <;> omega |
| 34 | |
| 35 | private lemma holds_mul {f g : Points n → ℂ} (hf : Holds f) (hg : Holds g) : Holds (f*g) := by |
| 36 | obtain ⟨A,C,hc,H⟩ := hf |
| 37 | obtain ⟨B,D,hd,K⟩ := hg |
| 38 | refine ⟨A+B,C*D,mul_nonneg hc hd,fun r hr hu x hx => ?_⟩ |
| 39 | rw [Pi.mul_apply, norm_mul] |
| 40 | calc |
| 41 | _ ≤ (C*r⁻¹^A)*(D*r⁻¹^B) := by gcongr; exacts [H r hr hu x hx,K r hr hu x hx] |
| 42 | _ = _ := by rw [pow_add]; ring |
| 43 | |
| 44 | private lemma holds_sum {ι : Type*} (s : Finset ι) (f : ι → Points n → ℂ) (H : ∀ i ∈ s,Holds (f i)) : |
| 45 | Holds (fun x => ∑ i ∈ s, f i x) := by |
| 46 | classical |
| 47 | induction s using Finset.induction_on with |
| 48 | | empty => simpa only [Finset.sum_empty] using holds_fix (n:=n) 0 |
| 49 | | @insert i s h ih => |
| 50 | simp_rw [Finset.sum_insert h]; exact holds_add (H i (by simp)) (ih fun a ha => H a (Finset.mem_insert_of_mem ha)) |
| 51 | |
| 52 | private lemma holds_prod {ι : Type*} (s : Finset ι) (f : ι → Points n → ℂ) (H : ∀ i ∈ s,Holds (f i)) : |
| 53 | Holds (fun x => ∏ i ∈ s, f i x) := by |
| 54 | classical |
| 55 | induction s using Finset.induction_on with |
| 56 | | empty => simpa only [Finset.prod_empty] using holds_fix (n:=n) 1 |
| 57 | | @insert i s h ih => |
| 58 | simp_rw [Finset.prod_insert h]; exact holds_mul (H i (by simp)) (ih fun a ha => H a (Finset.mem_insert_of_mem ha)) |
| 59 | |
| 60 | private lemma entry_hold (p q : Slot G) (a b : Fin n) (h : a≠b) : Holds (fun x : Points n => entry p q (x a) (x b)) := by |
| 61 | obtain ⟨C,hc,H⟩ := (kernel_pole (coordinateLeg p) (coordinateLeg q)).bounds |
| 62 | refine ⟨4+p.1+q.1,C,hc,fun r hr hp x hx => ?_⟩ |
| 63 | have he : r ≤ ‖x a - x b‖ := le_trans (hx a b h) (by |
| 64 | unfold cubedist; rw [dist_eq_norm_sub]; apply (pi_norm_le_iff_of_nonneg (by positivity)).2 |
| 65 | intro i; exact PiLp.norm_apply_le (x a-x b) i) |
| 66 | unfold entry; rw [Complex.norm_real] |
| 67 | apply (H _ (norm_pos_iff.mp (hr.trans_le he))).trans; gcongr |
| 68 | |
| 69 | lemma cap_moment (v : Fin n → WickPol G) : ∃ (A : ℕ) (C : ℝ), 0 ≤ C ∧ ∀ r : ℝ, 0 < r → r ≤ 1 → |
| 70 | ∀ x, spaced r x → ‖moment G x v‖ ≤ C*r⁻¹^A := by |
| 71 | classical |
| 72 | change Holds (fun x => moment G x v) |
| 73 | simp_rw [sumFormula]; apply holds_sum |
| 74 | intro i _; refine holds_mul (holds_fix _) (show Holds (fun x => monomial x i) from holds_sum _ _ fun P _ => ?_) |
| 75 | exact holds_prod (corners P) _ fun p _ => entry_hold _ _ _ _ (different P p).symm |
| 76 | |
| 77 | lemma kernel_analytic {x : Points n} (v : Fin n → WickPol G) (h : x ∈ conf n) : |
| 78 | ContDiffAt ℝ ω (fun y => moment G y v) x := by |
| 79 | classical |
| 80 | have he (p q : Slot G) (a b : Fin n) (h' : a≠b) : ContDiffAt ℝ ω (fun z : Points n => entry p q (z a) (z b)) x := by |
| 81 | have hx : x a-x b ∈ away := sub_ne_zero.mpr ((show Injective x.ofLp from h).ne h') |
| 82 | have ht (i : Fin n) : ContDiffAt ℝ ω (fun y : Points n => y i) x := |
| 83 | (PiLp.proj (𝕜 := ℝ) 2 (fun _ => E4) i).contDiff.contDiffAt |
| 84 | exact Complex.ofRealCLM.contDiff.contDiffAt.comp x (((kernel_pole (coordinateLeg p) (coordinateLeg q)).diff _ hx).comp x (f:=fun z : Points n => z a-z b) ((ht a).sub (ht b))) |
| 85 | simp_rw [sumFormula]; apply ContDiffAt.sum |
| 86 | intro i _; apply contDiffAt_const.mul; unfold monomial; apply ContDiffAt.sum |
| 87 | intro P _; exact contDiffAt_prod fun j hj => he _ _ _ _ (different P j).symm |
| 88 | end price |
| 89 | |
| 90 | lemma no_residual (G : Gauge) (d : ℕ) : residual G d=⊥ := by |
| 91 | apply le_antisymm _ bot_le; intro y hy |
| 92 | by_contra hs |
| 93 | have ht : y.val≠0 := fun h => hs ((Submodule.mem_bot ..).mpr (Subtype.ext h)) |
| 94 | let x := basis timeAxis |
| 95 | let w := points (fun _ : Fin 1 => x) |
| 96 | let s := Signed.reflect timeAxis |
| 97 | have hp : 0 < score timeAxis x y.val y.val := detects _ _ (by simp [x]) _ ht |
| 98 | have hu : single w timeAxis := ⟨injective_of_subsingleton _,fun _ => by simp [w,x]⟩ |
| 99 | let z : Points (1+1) := closedUp timeAxis w w |
| 100 | let r := Equiv.swap (0 : Fin (1+1)) 1 |
| 101 | have hr : z ∈ conf _ := Table.Pairing.spans hu hu |
| 102 | obtain ⟨p,H⟩ := (show y.val ∈ shellSector G d from y.property) |
| 103 | let q : shellSector G d := (observable G d).rangeRestrict (Labels.tensor s (Labels.realBar p)) |
| 104 | have He : score timeAxis x y.val y.val = (ProbeFamily.mk 1 (fun _ => d) (fun _ => q) (Points.rearrange r z) (Points.rearrange_in r hr)).test d y := by |
| 105 | rw [test_formula] |
| 106 | let t := Fin.append (mirrorBar (G:=G) s ∘ (fun _ : Fin 1 => y.val)) (fun _ : Fin 1 => y.val) |
| 107 | change moment G z t = _ |
| 108 | have he : q.val = mirrorBar s y.val := by |
| 109 | rw [← H]; exact (pulls_label ..).trans (congr_arg (reflectPol s) (real_eats p)) |
| 110 | rw [exchangeSites r hr t]; congr 1 |
| 111 | ext1 i; fin_cases i <;> simp [r,t,he, Points.rearrange] <;> rfl |
| 112 | rw [He, show ProbeFamily.test _ d y = _ from congr_fun (LinearMap.mem_ker.mp hy) _] at hp |
| 113 | exact lt_irrefl _ hp |
| 114 | |
| 115 | variable (L : Labels.Frames G) |
| 116 | |
| 117 | def ready (p : (standard L).Token) := observable G p.1 ((L.level _).coords.symm p.2) |
| 118 | |
| 119 | lemma ready_signed (s : Signed) (p : (standard L).Token) : |
| 120 | ready L ((standard L).move s p) = reflectPol s.ortho (ready L p) := by |
| 121 | unfold ready Register.move; rw [← pulls_label]; congr 1 |
| 122 | simp [Register.mirrorGroup, standard, Labels.Frame.act, Register.coord]; exact (L.level p.1).coords.symm_apply_apply _ |
| 123 | lemma ready_bar (p : (standard L).Token) : ready L ((standard L).conjugate p) = realForm (ready L p) := by |
| 124 | unfold ready Register.conjugate; rw [← real_eats] |
| 125 | exact congr_arg (observable G _) ((standard L).geom_conj _ _).symm |
| 126 | |
| 127 | lemma spin_free : (freeTable L).RealSpin where |
| 128 | mirror s x v q := by |
| 129 | rw [decodes,decodes]; change moment _ _ (fun i => ready L ((standard L).move s (q i)))=moment _ _ (fun i => ready L (q i)) |
| 130 | simp_rw [ready_signed]; exact moment_rotation _ v _ _ |
| 131 | real := by |
| 132 | intro n x h v |
| 133 | change moment G x (fun i => ready L ((standard L).conjugate (v i))) = star (moment G x (fun i => ready L (v i))) |
| 134 | simp_rw [ready_bar]; exact moment_real _ h _ |
| 135 | |
| 136 | |
| 137 | lemma positive_table : (freeTable L).RP := by |
| 138 | intro a m w h c |
| 139 | let x i := Word.positions (w i) |
| 140 | let v i := Word.tokens (w i) |
| 141 | let p i := ready L ∘ v i |
| 142 | have ht i : single (x i) a := ⟨(h i).1,fun j => (h i).2 ((w i).get j) (List.get_mem ..)⟩ |
| 143 | have he i j : (freeTable L).gram a (w i) (w j) = cabinet a (x i) (x j) (p i) (p j) := by |
| 144 | calc |
| 145 | _ = (freeTable L).gram a (Word.realize (v i) (x i)) (Word.realize (v j) (x j)) := by simp [x,v] |
| 146 | _ = _ := by |
| 147 | rw [displacement _ (table_sym L) _ _ (ht i) (ht j)] |
| 148 | change moment G _ (ready L ∘ tied (v i) (v j) a) = _ |
| 149 | unfold cabinet |
| 150 | congr 1 |
| 151 | ext1 k; refine Fin.addCases (fun k => ?_) (fun k => ?_) k <;> simp only [Function.comp_apply, |
| 152 | tied,Fin.append_left,Fin.append_right] |
| 153 | · rw [← Register.token_adjoint, ready_signed,ready_bar]; rfl |
| 154 | rfl |
| 155 | simp_rw [he]; exact cabinets_positive a x ht p c |
| 156 | end YM.Maxwell.Free |