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.Maxwell.Shell |
| 2 | import YM.Labels.Action |
| 3 | |
| 4 | /-! |
| 5 | # Free equation variables before the separated quotient |
| 6 | |
| 7 | Invariant polynomials from radial real jets, by actual linear substitution |
| 8 | to closed curvature and Maxwell shell. No dynamic labels used in these |
| 9 | polynomials. This realizes imposing linear equations by evaluation on |
| 10 | on-shell jet variables (as a linear constraint, including inside monomials). |
| 11 | Does not assume an equation-ideal/detection theorem. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.Maxwell |
| 16 | open Function Set |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | variable {G : Gauge} |
| 20 | |
| 21 | abbrev legDim (G : Gauge) (j : ℕ) := Module.finrank ℝ (Shell G j) |
| 22 | abbrev Slot (G : Gauge) := (i : ℕ) × Fin (legDim G i) |
| 23 | abbrev TaylorTower (G : Gauge) := (i : ℕ) → Shell G i |
| 24 | abbrev WickPol (G : Gauge) := MvPolynomial (Slot G) ℂ |
| 25 | |
| 26 | def frame (G : Gauge) (j : ℕ) : Module.Basis (Fin (legDim G j)) ℝ (Shell G j) := |
| 27 | Module.finBasis ℝ _ |
| 28 | |
| 29 | def coord (A : TaylorTower G) (i : Slot G) : ℝ := (frame G i.1).repr (A i.1) i.2 |
| 30 | |
| 31 | def probe (A : TaylorTower G) : WickPol G →ₐ[ℂ] ℂ := |
| 32 | MvPolynomial.aeval fun i => (coord A i : ℂ) |
| 33 | |
| 34 | theorem equalPol (p q : WickPol G) (He : ∀ A, probe A p = probe A q) : p = q := by |
| 35 | apply MvPolynomial.funext_set (fun _ => Set.range (fun x : ℝ => (x : ℂ))) fun _ => |
| 36 | infinite_range_of_injective Complex.ofReal_injective |
| 37 | intro x hx |
| 38 | choose y hy using fun k => hx k (mem_univ k) |
| 39 | let A (j) := (frame G j).equivFun.symm (fun i => y ⟨j,i⟩) |
| 40 | rw [show x = fun i => (coord A i : ℂ) by |
| 41 | funext i |
| 42 | change x i = (((frame G _).equivFun (A _) i.2 : ℝ) : ℂ) |
| 43 | unfold A; rw [LinearEquiv.apply_symm_apply]; exact (hy i).symm] |
| 44 | exact He A |
| 45 | |
| 46 | /-- The actual substitution of the constrained jets in label coordinates. -/ |
| 47 | def reduceEq : Labels.Pol G →ₐ[ℂ] WickPol G := |
| 48 | MvPolynomial.aeval fun i : Labels.Key G => ∑ j : Fin (legDim G i.1), |
| 49 | MvPolynomial.C (((Labels.axes G i.1).repr (gaugeJet (frame G i.1 j)) i.2 : ℝ) : ℂ) * |
| 50 | MvPolynomial.X ⟨i.1,j⟩ |
| 51 | |
| 52 | theorem jet_eval (X : TaylorTower G) : (probe X).comp reduceEq = Labels.read (fun i => gaugeJet (X i)) := by |
| 53 | ext i |
| 54 | simp only [AlgHom.comp_apply, reduceEq,MvPolynomial.aeval_X, map_sum, map_mul, probe, Labels.read, |
| 55 | MvPolynomial.aeval_C, Algebra.algebraMap_self, RingHom.id_apply] |
| 56 | unfold coord Labels.coord |
| 57 | change ∑ j : Fin (legDim G i.1), _ * (((frame G i.1).repr (X i.1) j : ℝ) : ℂ) = |
| 58 | ((((Labels.axes G i.1).repr (gaugeJet (X i.1))) i.2 : ℝ) : ℂ) |
| 59 | conv_rhs => rw [← (frame G i.1).sum_repr (X i.1)] |
| 60 | simp only [map_smul, map_sum, Finsupp.finsetSum_apply, Finsupp.smul_apply, smul_eq_mul, |
| 61 | Complex.ofReal_sum, Complex.ofReal_mul]; apply Finset.sum_congr rfl; intro j _; rw [mul_comm] |
| 62 | |
| 63 | theorem jet_value (X : TaylorTower G) (p : Labels.Pol G) : probe X (reduceEq p) = |
| 64 | Labels.read (fun i => gaugeJet (X i)) p := DFunLike.congr_fun (jet_eval X) p |
| 65 | |
| 66 | def observable (G : Gauge) (d : ℕ) : Labels.Label G d →ₗ[ℂ] WickPol G := |
| 67 | reduceEq.toLinearMap.comp (Labels.localFields G d).subtype |
| 68 | |
| 69 | /-- the subspace set to zero by imposing Maxwell equations in labels. |
| 70 | No assumption here that there are no further separated nulls or that this is |
| 71 | any particular presentation by invariant contractions. -/ |
| 72 | def equationIdeal (G : Gauge) (d : ℕ) := LinearMap.ker (observable G d) |
| 73 | |
| 74 | theorem ideal_meaning {d : ℕ} {A : Labels.Label G d} : A ∈ equationIdeal G d ↔ |
| 75 | ∀ X : TaylorTower G, Labels.read (fun i => gaugeJet (X i)) A.val = 0 := by |
| 76 | change reduceEq A.val = 0 ↔ _ |
| 77 | constructor |
| 78 | · intro h X; rw [← jet_value X, h, map_zero] |
| 79 | intro h; exact equalPol _ _ (by intro X; rw [jet_value, h,map_zero]) |
| 80 | |
| 81 | /-- Linear symbol for one leg, which need not be invariant. -/ |
| 82 | def symbol (j : ℕ) (lam : Shell G j →ₗ[ℝ] ℝ) : WickPol G := |
| 83 | ∑ i, MvPolynomial.C ((lam (frame G j i) : ℝ) : ℂ) * MvPolynomial.X ⟨j,i⟩ |
| 84 | |
| 85 | theorem symbol_test (X : TaylorTower G) (j : ℕ) (lam : Shell G j →ₗ[ℝ] ℝ) : |
| 86 | probe X (symbol j lam) = (lam (X j) : ℂ) := by |
| 87 | conv_rhs => rw [← (frame G j).sum_repr (X j)] |
| 88 | simp only [map_sum,map_smul, smul_eq_mul,symbol,probe,MvPolynomial.aeval_C,MvPolynomial.aeval_X, |
| 89 | Algebra.algebraMap_self, RingHom.id_apply, map_mul, coord,Complex.ofReal_sum,Complex.ofReal_mul] |
| 90 | exact Finset.sum_congr rfl fun _ _ => mul_comm _ _ |
| 91 | |
| 92 | def coordinateLeg (i : Slot G) : Shell G i.1 →ₗ[ℝ] ℝ := (frame G i.1).coord i.2 |
| 93 | |
| 94 | theorem symbol_coordinate (i : Slot G) : symbol i.1 (coordinateLeg i) = MvPolynomial.X i := |
| 95 | equalPol _ _ (by intro A; rw [symbol_test,probe,MvPolynomial.aeval_X]; rfl) |
| 96 | end YM.Maxwell |