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.Marker.Weight |
| 2 | /-! Actual Taylor exponential used on probabilities. -/ |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.Marker.Poly |
| 6 | open Function Finset Filter Set MeasureTheory |
| 7 | open scoped Topology BigOperators Matrix.Norms.Frobenius |
| 8 | variable {V : Type*} [DecidableEq V] {R : Census V} |
| 9 | |
| 10 | lemma high (a : Poly R) (ha : a.part R.quiet=0) (k : ℕ) (b : R.Mode) (hb : b.val.card<k) : (a^k).part b=0 := by |
| 11 | induction k generalizing b with |
| 12 | | zero => omega |
| 13 | | succ k h => |
| 14 | rw [pow_succ,part_mul] |
| 15 | refine sum_eq_zero fun x _ => sum_eq_zero fun y _ => ?_ |
| 16 | split <;> rename_i he |
| 17 | · by_cases e : y=R.quiet |
| 18 | · simp only [e,ha,mul_zero] |
| 19 | have hh : 0 < y.val.card := card_pos.mpr (nonempty_iff_ne_empty.mpr fun H => e (Subtype.ext H)) |
| 20 | have hx : b.val.card=x.val.card+y.val.card := by rw [← he.2, card_union_of_disjoint he.1] |
| 21 | rw [h _ (by omega),zero_mul] |
| 22 | rfl |
| 23 | |
| 24 | section |
| 25 | variable [Fintype V] |
| 26 | lemma stops (a : Poly R) (ha : a.part R.quiet=0) (k : ℕ) (he : Fintype.card V < k) : a^k=0 := by |
| 27 | ext i; rw [part_nil, high a ha k i (lt_of_le_of_lt (card_le_univ _) he)] |
| 28 | |
| 29 | def pass (a : Poly R) : Poly R := ∑ i∈Finset.range (Fintype.card V+1),(i.factorial:ℂ)⁻¹ • a^i |
| 30 | |
| 31 | lemma pass_part (a : Poly R) (ha : a.part R.quiet=0) : (pass a).part R.quiet=1 := by |
| 32 | unfold pass; rw [part_sum, sum_eq_single 0] |
| 33 | · simp |
| 34 | · intro b _ h; rw [part_smul, high a ha b R.quiet ?_,mul_zero]; simpa [Census.quiet] using Nat.pos_of_ne_zero h |
| 35 | simp |
| 36 | |
| 37 | @[fun_prop] lemma pass_cont : Continuous (pass (V:=V) (R:=R)) := by unfold pass; fun_prop |
| 38 | |
| 39 | lemma pass_budget {w : V → ℝ} (hw : ∀ i,0<w i) (a : Poly R) : price w (pass a)≤Real.exp (price w a) := by |
| 40 | apply le_trans (batch hw _ _) |
| 41 | have HH : HasSum (fun i : ℕ => price w a^i / i.factorial) (Real.exp (price w a)) := by |
| 42 | convert! NormedSpace.expSeries_div_hasSum_exp (price w a) using 1 |
| 43 | rw [Real.exp_eq_exp_ℝ] |
| 44 | refine le_trans (b:=∑ i∈Finset.range (Fintype.card V+1),price w a^i / i.factorial) (sum_le_sum ?_) ?_ |
| 45 | · intro i _; rw [adapted]; apply le_trans (mul_le_mul_of_nonneg_left (powers hw _ _) (norm_nonneg _)); simp [div_eq_mul_inv,mul_comm] |
| 46 | rw [← HH.tsum_eq]; exact HH.summable.sum_le_tsum _ (fun i _ => by have := nonnegative hw a; positivity) |
| 47 | end |
| 48 | |
| 49 | /-- Need for integration of output family. Requires actual convergence with |
| 50 | respect to these **same** weights. -/ |
| 51 | lemma budgeted {M} {f : M → Poly R} {b : M → ℝ} {w : V → ℝ} (hw : ∀ x,0 < w x) |
| 52 | (hb : Summable b) (H : ∀ i, price w (f i) ≤ b i) : Summable f ∧ price w (∑' i,f i) ≤ ∑' i,b i := by |
| 53 | have hs : Summable f := by |
| 54 | obtain ⟨k,h,h'⟩ := equivalent_norm (R:=R) hw |
| 55 | exact ((hb.mul_right k).of_nonneg_of_le (fun i => norm_nonneg _) (fun i => (h' (f i)).trans <| |
| 56 | mul_le_mul_of_nonneg_right (H i) h)).of_norm |
| 57 | refine ⟨hs,le_of_tendsto_of_tendsto ((price_cont w).continuousAt.tendsto.comp hs.hasSum) hb.hasSum ?_⟩ |
| 58 | exact Eventually.of_forall fun i => (batch hw i f).trans (sum_le_sum fun j _ ↦ H j) |
| 59 | |
| 60 | lemma share {M} {f : M → Poly R} (hs : Summable f) (i : R.Mode) : part (∑' m,f m) i=∑' m,(f m).part i := (get i).map_tsum hs |
| 61 | |
| 62 | instance : MeasurableSpace (Poly R) := borel _ |
| 63 | instance : BorelSpace (Poly R) := ⟨rfl⟩ |
| 64 | instance : SecondCountableTopology (Poly R) := inferInstanceAs (SecondCountableTopology (R.Mode → ℂ)) |
| 65 | end YM.Marker.Poly |