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.RG.PathActions |
| 2 | |
| 3 | /-! The action evaluators and density are bounded at each step (*not* uniformly over |
| 4 | periods with these statements). Guards uses of tsum and output integrals. |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.RG |
| 9 | |
| 10 | open Wilson Lattice Set MeasureTheory Filter |
| 11 | open scoped Matrix.Norms.Frobenius Topology BigOperators |
| 12 | |
| 13 | structure Envelope {V X : Type*} [MeasurableSpace V] [MeasurableSpace X] [Norm X] (F : V → X) : Prop where |
| 14 | meas : Measurable F |
| 15 | cost : ∃ C : ℝ, ∀ v, ‖F v‖ ≤ C |
| 16 | |
| 17 | namespace Envelope |
| 18 | variable {V : Type*} [MeasurableSpace V] {f g : V → ℝ} |
| 19 | |
| 20 | theorem const (c : ℝ) : Envelope fun _ : V => c := ⟨measurable_const, ‖c‖, fun _ ↦ le_rfl⟩ |
| 21 | |
| 22 | theorem add (hf : Envelope f) (hg : Envelope g) : Envelope fun x => f x + g x := by |
| 23 | obtain ⟨C,H⟩ := hf.cost |
| 24 | obtain ⟨D,Dh⟩ := hg.cost |
| 25 | exact ⟨hf.meas.add hg.meas, C+D, fun x ↦ (norm_add_le ..).trans (add_le_add (H _) (Dh _))⟩ |
| 26 | |
| 27 | theorem neg (hf : Envelope f) : Envelope fun x => - f x := by |
| 28 | obtain ⟨C,H⟩ := hf.cost |
| 29 | exact ⟨hf.meas.neg, C, fun x ↦ by rw [norm_neg]; exact H _⟩ |
| 30 | |
| 31 | theorem mul (hf : Envelope f) (hg : Envelope g) : Envelope fun x => f x * g x := by |
| 32 | obtain ⟨C,H⟩ := hf.cost |
| 33 | obtain ⟨D,Dh⟩ := hg.cost |
| 34 | exact ⟨hf.meas.mul hg.meas, C*D, fun x ↦ by |
| 35 | rw [norm_mul] |
| 36 | exact mul_le_mul (H _) (Dh x) (norm_nonneg _) ((norm_nonneg _).trans (H x))⟩ |
| 37 | |
| 38 | theorem sum {ι : Type*} (s : Finset ι) (F : ι → V → ℝ) (h : ∀ i, Envelope (F i)) : |
| 39 | Envelope fun v => ∑ i ∈ s, F i v := by |
| 40 | classical |
| 41 | induction s using Finset.induction_on with |
| 42 | | empty => simpa using (const (V := V) 0) |
| 43 | | insert i s hi ih => simp only [Finset.sum_insert hi]; exact (h i).add ih |
| 44 | |
| 45 | theorem piece {p : V → Prop} [DecidablePred p] (hp : MeasurableSet {x | p x}) |
| 46 | (hf : Envelope f) (hg : Envelope g) : Envelope fun x => if p x then f x else g x := by |
| 47 | obtain ⟨C,H⟩ := hf.cost |
| 48 | obtain ⟨D,Dh⟩ := hg.cost |
| 49 | refine ⟨hf.meas.ite hp hg.meas, max C D, fun v ↦ ?_⟩ |
| 50 | split |
| 51 | · exact (H v).trans (le_max_left _ _) |
| 52 | exact (Dh v).trans (le_max_right _ _) |
| 53 | |
| 54 | theorem exp (hf : Envelope f) : Envelope fun x => Real.exp (f x) := by |
| 55 | obtain ⟨C,H⟩ := hf.cost |
| 56 | refine ⟨Real.continuous_exp.measurable.comp hf.meas, Real.exp C, fun x ↦ ?_⟩ |
| 57 | rw [Real.norm_of_nonneg (Real.exp_pos _).le] |
| 58 | exact Real.exp_le_exp.mpr ((le_abs_self (f x)).trans (H x)) |
| 59 | |
| 60 | theorem integrable (hf : Envelope f) (μ : Measure V) [IsFiniteMeasure μ] : Integrable f μ := by |
| 61 | obtain ⟨C,H⟩ := hf.cost |
| 62 | exact Integrable.of_bound hf.meas.aestronglyMeasurable C (Eventually.of_forall H) |
| 63 | end Envelope |
| 64 | |
| 65 | namespace PathData |
| 66 | |
| 67 | variable {G : Gauge} {n : Side} {R : PathData G} {σ C Λ : ℝ} {c : Clip} |
| 68 | |
| 69 | theorem clip_env (p : BudgetPoint) (x : Face (Per n)) : Envelope fun U : Config G n => |
| 70 | clipped c p.threshold (G.chord (faceValue U x)) := by |
| 71 | have hd : Continuous fun U : Config G n => G.chord (faceValue U x) := by unfold faceValue; fun_prop |
| 72 | have he : Envelope fun U : Config G n => G.chord (faceValue U x) := |
| 73 | ⟨hd.measurable, 2, fun _ ↦ (Real.norm_of_nonneg (G.chord_nonneg _)).trans_le (G.chord_le_two _)⟩ |
| 74 | unfold clipped |
| 75 | simp only [sq, div_eq_mul_inv] |
| 76 | refine Envelope.piece ((isClosed_le hd continuous_const).measurableSet) ?_ ?_ |
| 77 | · exact ((Envelope.const c.direct).mul (he.mul he)).mul (Envelope.const _) |
| 78 | exact (Envelope.const _).mul he |
| 79 | |
| 80 | theorem base_env (H : R.Bounds c σ C Λ) (p : BudgetPoint) (x : Face (Per n)) : |
| 81 | Envelope fun U => R.baseTerm c p U x := by |
| 82 | classical |
| 83 | obtain ⟨C₀,HC⟩ := (R.ell_dominated H x).bound |
| 84 | have hn : Envelope fun U => ‖R.ell U x‖ := by |
| 85 | refine ⟨(R.ell_meas _ _ _ _ _ H).norm, C₀, fun U ↦ ?_⟩ |
| 86 | rw [Real.norm_of_nonneg (norm_nonneg _)] |
| 87 | exact HC _ |
| 88 | simp only [baseTerm, sq, div_eq_mul_inv] |
| 89 | refine (clip_env p x).add (Envelope.piece ?_ ((hn.mul hn).mul (Envelope.const _)) |
| 90 | (Envelope.const _)) |
| 91 | exact (kept_closed ..).measurableSet |
| 92 | |
| 93 | theorem atom_env (k : ℕ) (F : ℕ → Atom G k) (p : BudgetPoint) (x : Site n) (hσ : 0 < σ) |
| 94 | (h : SumBudget (fun i ↦ (F i).budget σ) C) : |
| 95 | Envelope fun U => atomSeries F p U x := by |
| 96 | refine ⟨Measurable.tsum ?_, (atom_dominated F p x hσ h).bound⟩ |
| 97 | intro i |
| 98 | exact (masked_measurable _ _ _ ((F i).unmasked_cont x).measurable) |
| 99 | |
| 100 | theorem principal_env (H : R.Bounds c σ C Λ) (p : BudgetPoint) (β : ℝ) : |
| 101 | Envelope (R.principal c p β (n := n)) := by |
| 102 | have h₁ := Envelope.sum Finset.univ _ fun x : Face (Per n) => base_env H p x |
| 103 | have h₂ := Envelope.sum Finset.univ _ fun x : Site n => (atom_env _ R.cubic p x H.width H.three).add |
| 104 | (atom_env _ R.quartic p x H.width H.four) |
| 105 | have h₃ := Envelope.sum Finset.univ _ fun x : Site n => atom_env _ R.loop p x H.width H.two |
| 106 | exact ((Envelope.const β).mul (h₁.add h₂)).add h₃ |
| 107 | |
| 108 | theorem channels_env (H : R.Bounds c σ C Λ) (p : BudgetPoint) (β : ℝ) : |
| 109 | Envelope (R.inChannels c p β (n := n)) := by |
| 110 | unfold inChannels |
| 111 | have hi := principal_env (n := n) H p β |
| 112 | refine (Envelope.const _).mul (Envelope.sum _ _ fun s ↦ ?_) |
| 113 | obtain ⟨C,H⟩ := hi.cost |
| 114 | exact ⟨hi.meas.comp (continuous_pull ..).measurable, C, fun x ↦ H _⟩ |
| 115 | end PathData |
| 116 | end YM.RG |