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.RG08.Pivot.Gold |
| 2 | |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.RG08.Pivot |
| 6 | open Function Filter Set Lattice Wilson RG Exterior Precision Next.Free |
| 7 | open Laurent Bloch Matrix Work.F08 Tree FreeResolvent Stationary |
| 8 | open UVExt.Paths Drift Scores Loom Shade Quire Tall Vale Planned.PrimaryIntegral295 |
| 9 | open scoped Topology BigOperators Classical |
| 10 | variable {G : Gauge} {E : Type} {R : ℝ} {r j n D d : ℕ} {U V : EnvelopeU D R G r} |
| 11 | |
| 12 | lemma Sober.harmonic (hF : Sober U) (h : Polished U) (m : Side) (o : Site m) (φ : Exam D) (a : Fin r) (w : Fin r→Link G m) |
| 13 | (g : Loc G 1→ℝ) (hv : ∀ (p: Site m)(b:Loc G 1), w a (p,b)=g b) : recitalP U o φ w=0 := by |
| 14 | let f (i:Fin r) (x : Cover × Loc G 1):= w i (o+wrap m x.1,x.2); let P (x : Cover×Loc G 0):=∑ i : Axis,(x.1 i:ℝ)*g (axisEquiv i,x.2.2) |
| 15 | have hh : f a=polarP P := by |
| 16 | funext x; rcases x with ⟨x,y,b⟩; obtain ⟨k,rfl⟩:=axisEquiv.surjective y; unfold f polarP P |
| 17 | dsimp only; rw [hv,← Finset.sum_sub_distrib,Finset.sum_eq_single k] |
| 18 | · rw [axisEquiv.symm_apply_apply]; simp; ring |
| 19 | · intro i _ hi; simp [show axisEquiv.symm (coord k)=k from axisEquiv.symm_apply_apply _,hi] |
| 20 | simp |
| 21 | have he (x) : ‖P x‖≤ ((Fintype.card Axis:ℝ)*‖g‖)*dime 1 x.1:= by |
| 22 | unfold P; refine (norm_sum_le ..).trans ?_ |
| 23 | apply le_trans (Finset.sum_le_sum (g:=fun _=>‖g‖*dime 1 x.1) ?_) |
| 24 | · simp [mul_assoc] |
| 25 | intro i _; rw [norm_mul,mul_comm]; refine mul_le_mul (norm_le_pi_norm g _) ?_ (norm_nonneg _) (norm_nonneg _) |
| 26 | rw [Real.norm_eq_abs,abs_nat]; unfold dime Carrier.liftCost; rw [pow_one] |
| 27 | exact le_trans (show _ ≤ (((size x.1):ℕ):ℝ) by exact_mod_cast Finset.single_le_sum (f:=fun i => (x.1 i).natAbs) (fun i _ => Nat.zero_le _) (Finset.mem_univ _)) (le_add_of_nonneg_left zero_le_one) |
| 28 | unfold recitalP; rw [stitch_apply ((polished_pens (polished_fun h (plug φ R))).of_norm)]; exact hF.cover_phi h a P hh (by positivity) he (b:=fun i=>‖w i‖) (fun i=> norm_nonneg _) (fun i p=> le_trans (norm_le_pi_norm (w i) _) (le_mul_of_one_le_right (norm_nonneg _) (Carrier.liftCost_ge ..))) |
| 29 | lemma Sober.static (hk : 0 < R) (hn : 4 ≤ j) {vG : ℝ} {W : EnvelopeU D vG G r} (h : Sober W) (hp : Polished W) (m : Side) (ψ : Exam D) (a : Fin r) |
| 30 | (s : Train j)(n : Site m)(x : Link G m) (f : Fin r → Link G m) : |
| 31 | let M:= tensor G (bedtime R s m); let H:=tensor G (Precision.K ((pink R s).acts m)); recitalP W n ψ (update f a ((M*H)*ᵥ x))= recitalP W n ψ (update f a x) := by |
| 32 | intro M H |
| 33 | obtain ⟨J,hJ⟩:= eminence G m s hk hn |
| 34 | let U:= tensor G (haloMat m) |
| 35 | have hh : ∀ (p z:Site m) (b:Loc G 1),(U*ᵥ x) (p,b)=(U*ᵥ x) (z,b):= fun p z b=> Finset.sum_congr rfl fun i _ => congr_arg (·*x i) (daytime ..) |
| 36 | have hv := h m n ψ a (update f a (gradient (J*ᵥ x))) (J*ᵥ x) (update_self ..) |
| 37 | have ht := h.harmonic hp m n ψ a (update f a (U*ᵥ x)) (fun i=> (U*ᵥ x) (0,i)) (fun p b=> by rw [update_self,hh p 0]) |
| 38 | have heq: (M*H)*ᵥ x=x-(gradient (J*ᵥ x)+U*ᵥ x) := by rw [gradient,mulVec_mulVec,← add_mulVec, show _+U= _ from hJ.symm]; rw [Matrix.sub_mulVec,Matrix.one_mulVec,sub_sub_cancel] |
| 39 | rw [heq,(recitalP W n ψ).map_update_sub,(recitalP W n ψ).map_update_add,hv,ht]; simp |
| 40 | |
| 41 | lemma gold_scale (h : Gold U) (x : ℝ) : Gold (x • U) := by |
| 42 | refine ⟨tot_weight h.toToute x,fun m o φ i f g hv=>?_⟩; unfold recitalP; rw [show plug φ R∘ (x•U)= x • (plug φ R ∘ U) from funext fun _=>by simp, |
| 43 | st_scale x ((h.pens.shaped (plug φ R)).of_norm),_root_.smul_apply]; change x • recitalP U o φ f=0; rw [h.lucid _ _ _ _ _ _ hv,smul_zero] |
| 44 | lemma gold_more (h:Gold U)(hp: Gold V) : Gold (U+V) := by |
| 45 | refine ⟨tot_more h.toToute hp.toToute,fun m o φ i f g hv=>?_⟩; unfold recitalP; rw [show plug φ R ∘ (U+V)=(plug φ R∘U)+(plug φ R∘V) from funext fun i=>map_add .., |
| 46 | st_plus ((h.pens.shaped (plug φ R)).of_norm) ((hp.pens.shaped (plug φ R)).of_norm),_root_.add_apply]; change recitalP U o φ f + recitalP V o φ f=0; rw [h.lucid _ _ _ i f g hv,hp.lucid _ _ _ i f g hv,add_zero] |
| 47 | lemma gold_less (h:Gold U)(hp:Gold V): Gold (U-V) := by rw [sub_eq_add_neg,← neg_one_smul ℝ]; exact gold_more h (gold_scale hp _) |
| 48 | lemma gold_home : Gold (0:EnvelopeU D R G r) := by refine ⟨tot_zero,fun m o φ i f _ _=>?_⟩; unfold recitalP; rw [show plug φ R ∘ (0:EnvelopeU D R G r)=(0:Shale _ _) from funext fun _=>map_zero _,st_zero]; rfl |
| 49 | lemma gold_sum {a : Finset E} {U:E→EnvelopeU D R G r} (h : ∀ i∈a,Gold (U i)): Gold (∑ i∈a,U i) := by |
| 50 | induction a using Finset.induction_on with |
| 51 | | empty => rw [Finset.sum_empty]; exact gold_home |
| 52 | | insert i a hi ih=> rw [Finset.sum_insert hi]; exact gold_more (h i (Finset.mem_insert_self ..)) (ih fun j hj=> h _ (Finset.mem_insert_of_mem hj)) |
| 53 | end YM.RG08.Pivot |