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.Extra.WEAK_SCALING_ACTLAW.Pairs |
| 2 | |
| 3 | /-! # Canonical free weight-four generators in the actual Wick moment table -/ |
| 4 | set_option maxHeartbeats 500000 |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.Extra.WeakScaling.Color |
| 8 | open Set Filter Function Labels Maxwell Wick Tensor Climb |
| 9 | open scoped Matrix.Norms.Frobenius Topology InnerProductSpace ContDiff |
| 10 | variable {G : Gauge} |
| 11 | |
| 12 | theorem strength_is_curl (A : Taylor G 0) (a b : Axis) (z : Fin 0 → E4) : takeCurl A a b z = strength A a b := by |
| 13 | have h c d : (A.val c).curryLeft (basis d) z = A.value c (basis d) := by |
| 14 | rw [ContinuousMultilinearMap.curryLeft_apply]; apply congrArg (A.val c); funext i; exact Fin.cases rfl (fun j => j.elim0) i |
| 15 | have hs := skew A b a |
| 16 | rw [strength,strength,← smul_neg] at hs |
| 17 | rw [takeCurl,smul_apply,sub_apply,h,h,(smul_right_injective _ (two_ne_zero (α:=ℝ)) hs : A.value a (basis b) = _),strength] |
| 18 | simp [two_smul] |
| 19 | |
| 20 | abbrev leg (a b : Axis) (c : G.ColorIndex) : Maxwell.Probe G 0 := constrain (fromF G (fun _ => 0) c a b) |
| 21 | lemma reduced (a b : Axis) (c : G.ColorIndex) : reduceEq (pol a b c) = Maxwell.symbol 0 (leg a b c) := by |
| 22 | apply equalPol; intro A |
| 23 | rw [Maxwell.symbol_test,jet_value,pol_eval,← strength_is_curl _ _ _ 0, match_leg]; rfl |
| 24 | |
| 25 | lemma one_wick (x : Points 1) (v : Fin 1 → WickPol G) : Wick.moment G x v = probe (0 : TaylorTower G) (v 0) := by |
| 26 | let l := (Wick.moment G x).toLinearMap (fun _ => 0) 0 |
| 27 | have ht : (v' : Fin 1 → WickPol G) → _ := fun (v' : Fin 1 → WickPol G) => show l (v' 0) = Wick.moment G x v' from |
| 28 | congrArg (Wick.moment G x) (funext (fun i => by rw [Subsingleton.elim i 0,Function.update_self])) |
| 29 | have hl : l = (probe (0 : TaylorTower G)).toLinearMap := by |
| 30 | refine (monBasis G).ext fun i => ?_ |
| 31 | by_cases h : i=0 |
| 32 | · simpa [h,monBasis] using (ht (fun _ => 1)).trans (Wick.constants _) |
| 33 | rw [show l (monBasis G i) = monomial x (fun _ => i) from (ht (fun _ => monBasis G i)).trans (moment_basis (fun _ => i) _)] |
| 34 | let w : Powers G 1 := fun _ => i |
| 35 | obtain ⟨j,hj⟩ := Finsupp.ne_iff.mp h |
| 36 | let u := Occ.atSlot (W:=w) 0 j 0 (Nat.pos_of_ne_zero hj) |
| 37 | haveI : IsEmpty (Occ.Matching w) := ⟨fun P => Occ.different P u (Subsingleton.elim ..)⟩ |
| 38 | rw [show monomial x w = 0 by simp [monomial]] |
| 39 | simp [monBasis,Maxwell.probe, Maxwell.coord,MvPolynomial.aeval_zero',MvPolynomial.constantCoeff_eq,h] |
| 40 | exact (ht v).symm.trans (LinearMap.congr_fun hl _) |
| 41 | |
| 42 | variable (L : Register G) |
| 43 | def pinned (a b i j : Axis) : (Bel L).Field 4 := |
| 44 | (Bel L).project 4 (((Maxwell.standard L.grid).coord 4).coords (pairLabel G a b i j)) |
| 45 | lemma pairing_types (h : G.Simple) (H : (Bel L).Hierarchy) : Cube.Types H.spin (pinned L) := by |
| 46 | refine ⟨fun a b c d => ?_,fun a b c d => ?_,fun a b c d => ?_,fun k a b c d => ?_,fun a b c d => ?_, fun x => ?_⟩ |
| 47 | · apply congrArg ((Bel L).project 4 ∘ ((Maxwell.standard L.grid).coord 4).coords) |
| 48 | exact Subtype.ext (Labels.eval_ext _ _ (fun A => by rw [pairLabel,pairLabel,pair_eval,pair_eval,real_inner_comm])) |
| 49 | · unfold pinned |
| 50 | rw [← map_neg,← map_neg]; apply congrArg ((Bel L).project 4 ∘ ((Maxwell.standard L.grid).coord 4).coords) |
| 51 | exact Subtype.ext (Labels.eval_ext _ _ (fun A => by simp only [Submodule.coe_neg,map_neg,pairLabel,pair_eval]; rw [skew (A 0) a b,inner_neg_left,Complex.ofReal_neg])) |
| 52 | · rw [pinned,Table.conj_project]; apply congrArg |
| 53 | have he : realBar (pairLabel G a b c d) = pairLabel G a b c d := Subtype.ext (Labels.eval_ext _ _ (fun A => by |
| 54 | change Labels.read A (conjPol _) = _; simp only [conj_value,pairLabel,pair_eval, Complex.star_def,Complex.conj_ofReal])) |
| 55 | apply ((Maxwell.standard L.grid).coord 4).coords.symm.injective |
| 56 | rw [← (Maxwell.standard L.grid).geom_conj,LinearEquiv.symm_apply_apply,he] |
| 57 | · simp only [pinned, Table.mirror_project]; change (Bel L).project _ (Labels.Frame.act _ _ (((Maxwell.standard L.grid).coord _).coords _)) = _ |
| 58 | rw [Labels.Frame.act_coords, rotated, map_smul, map_smul]; exact (RCLike.real_smul_eq_coe_smul (K:=ℂ) _ _).symm |
| 59 | · rw [Work.A15.front_apply] |
| 60 | let Y := Bel L |
| 61 | have ht : ∀ t : (Maxwell.standard L.grid).Token, Y.read (n:=1) 0 (fun _ => t) = |
| 62 | probe (0: TaylorTower G) (observable G t.1 (((Maxwell.standard L.grid).coord _).coords.symm t.2)) := fun _ => one_wick .. |
| 63 | let t : (Maxwell.standard L.grid).Token := ⟨4,((Maxwell.standard L.grid).coord _).coords (pairLabel G a b c d)⟩ |
| 64 | rw [show Fin.cons (α:=fun _ => Y.Tag) ⟨4,pinned L a b c d⟩ Fin.elim0 = Y.classTokens ∘ (fun _ => t) by |
| 65 | funext i; exact Fin.cases rfl (fun j => j.elim0) i, Y.at_project Y H.laws.toSymmetric (fun _ => le_rfl) (fun i j _ => @Subsingleton.elim (Fin 1) _ _ _),ht] |
| 66 | dsimp only [t]; rw [LinearEquiv.symm_apply_apply]; change probe 0 (reduceEq (pairPol G a b c d)) = 0 |
| 67 | simp only [jet_value,pair_eval, Pi.zero_apply,map_zero,strength,Taylor.value,Tensor.diagonal, ZeroMemClass.coe_zero, zero_apply,smul_zero,inner_zero_left,Complex.ofReal_zero] |
| 68 | · obtain ⟨p,rfl⟩ := (Bel L).onto _ x |
| 69 | obtain ⟨p,rfl⟩ := ((Maxwell.standard L.grid).coord 4).coords.surjective p |
| 70 | obtain ⟨z,q,hq⟩ := inputs h p |
| 71 | have hU : ((Maxwell.standard L.grid).coord 4).coords (Labels.unit G 4) = (Maxwell.standard L.grid).scalar 4 := by |
| 72 | rw [Register.scalar]; simp [Register.coord,Maxwell.standard]; exact ((L.coord 4).coords_unit).trans (one_smul ℂ _).symm |
| 73 | refine ⟨z,q,?_⟩ |
| 74 | rw [hq]; simp only [map_sum,map_add,map_smul,hU]; rfl |
| 75 | end YM.Extra.WeakScaling.Color |