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.MULTISOURCE_TRAJECTORIES.Block |
| 2 | import YM.Next.FOUNDATIONS.LinkBounds |
| 3 | /-! |
| 4 | # Unnormalized complete marker coefficients on the actual blocking trajectory |
| 5 | |
| 6 | Including the common scalar and physical dimension changes. |
| 7 | |
| 8 | Argument `j` is |
| 9 | the CURRENT level, `N` is the fine cutoff. |
| 10 | |
| 11 | Beyond N values are just padding. |
| 12 | |
| 13 | Normalization before taking connected coefficients is by the common TOTAL |
| 14 | positive vacuum density at level j, not the partition function and never a |
| 15 | single K. |
| 16 | |
| 17 | For numerical estimates this is a substantive choice of algorithm! |
| 18 | -/ |
| 19 | set_option autoImplicit false |
| 20 | noncomputable section |
| 21 | namespace YM.Extra.Trajectories |
| 22 | open Function Lattice Wilson RG Overlay Marker Finset |
| 23 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff |
| 24 | variable {G : Gauge} {n : Side} |
| 25 | |
| 26 | def readM (d : Step) (x : Site n) (A : Field G n) := if d.neg then star (A (d.used x)) else A (d.used x) |
| 27 | |
| 28 | def along (A : Field G n) (x : Site n) : Walk → G.Mat |
| 29 | | [] => 1 |
| 30 | | d::w => readM d x A * along A (x+d.vec) w |
| 31 | |
| 32 | lemma readM_smooth (d : Step) (x : Site n) : ContDiff ℝ ∞ (readM (G:=G) d x) := by |
| 33 | unfold readM; split |
| 34 | · exact (starL ℝ : G.Mat ≃L[ℝ] G.Mat).contDiff.comp (contDiff_apply ℝ _ _) |
| 35 | exact contDiff_apply ℝ _ _ |
| 36 | |
| 37 | lemma along_smooth (x : Site n) (w : Walk) : ContDiff ℝ ∞ (fun A : Field G n => along A x w) := by |
| 38 | induction w generalizing x with |
| 39 | | nil => exact contDiff_const |
| 40 | | cons d w ih => exact (readM_smooth d x).mul (ih _) |
| 41 | |
| 42 | lemma along_agrees (x : Site n) (w : Walk) (U : Config G n) : along (matrixField U) x w = G.mat (travel U x w) := by |
| 43 | induction w generalizing x with |
| 44 | | nil => rfl |
| 45 | | cons d w ih => simp only [along, travel,readM,Step.read,G.mat_mul,ih]; split <;> rfl |
| 46 | |
| 47 | def thermal (β : ℝ) (A : Field G n) := Real.exp (-β * ∑ p : Face (Per n),mPrice G (along A p.1 (square p.2.val.1 p.2.val.2))) |
| 48 | |
| 49 | lemma thermal_agrees (β : ℝ) (U : Config G n) : thermal β (matrixField U) = bare β U := by simp only [thermal,along_agrees]; rfl |
| 50 | |
| 51 | lemma thermal_smooth (β : ℝ) : ContDiff ℝ ∞ (thermal (G:=G) (n:=n) β) := |
| 52 | Real.contDiff_exp.comp (contDiff_const.mul (ContDiff.sum fun _ _ => (price_smooth G).comp (along_smooth ..))) |
| 53 | |
| 54 | variable {N p : ℕ} {H : RG.History G} {V : Type} [DecidableEq V] {R : Census V} |
| 55 | structure Insertions (H : RG.History G) (V : Type) (N p : ℕ) where |
| 56 | load : V → ℕ |
| 57 | field : V → Field G (H.S.side N p) → ℂ |
| 58 | smooth i : ContDiff ℝ ∞ (field i) |
| 59 | |
| 60 | namespace Insertions |
| 61 | variable (A : Insertions H V N p) |
| 62 | |
| 63 | def uses (i : V) := A.field i ∘ matrixField |
| 64 | |
| 65 | def Symmetric := ∀ i, GaugeInvariant (A.uses i) |
| 66 | |
| 67 | def source (s : R.Mode) (x : Field G (H.S.side N p)) := Ride.bump (H.S.a N) s A.load * |
| 68 | (thermal (H.β N p N) x:ℂ) * ∏ i∈s.val,A.field i x |
| 69 | |
| 70 | lemma source_eq (s : R.Mode) (U : Config G (H.S.side N p)) : |
| 71 | A.source s (matrixField U) = Ride.bump (H.S.a N) s A.load * (bare (H.β N p N) U:ℂ)*Ride.Product (H:=H) A.uses s U := by |
| 72 | unfold source; rw [thermal_agrees]; rfl |
| 73 | |
| 74 | lemma source_smooth (s : R.Mode) : ContDiff ℝ ∞ (A.source s) := |
| 75 | (contDiff_const.mul (Complex.ofRealCLM.contDiff.comp (thermal_smooth _))).mul (smooth_prod _ _ fun i _ => A.smooth i) |
| 76 | |
| 77 | def step (j : ℕ) {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] (F : Field G (H.S.side (j+1) p) → E) := |
| 78 | extended (H.levels.clock.op j p) (H.β N p (j+1)) (F ∘ matrixField) |
| 79 | |
| 80 | lemma step_push (j : ℕ) {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 81 | {F : Field G (H.S.side (j+1) p) → E} (hf : Continuous F) (U : Config G (H.S.side j p)) : |
| 82 | step (H:=H) (p:=p) (N:=N) j F (matrixField U) = (H.levels.clock.op j p).push (H.β N p (j+1)) (F ∘ matrixField) U := |
| 83 | extended_push _ (H.levels.blocks j p).branches (hf.comp matrixField_cont) .. |
| 84 | |
| 85 | def vacuum (H : History G) (N p j : ℕ) : Field G (H.S.side j p) → ℝ := |
| 86 | if h : j=N then by subst j; exact thermal (H.β N p N) |
| 87 | else if j<N then step (H:=H) (p:=p) (N:=N) j (vacuum H N p (j+1)) else 1 |
| 88 | termination_by N-j |
| 89 | |
| 90 | @[simp] lemma vac_top : vacuum H N p N = thermal (H.β N p N) := by rw [vacuum]; simp |
| 91 | lemma vac_step (j : ℕ) (hj : j<N) : vacuum H N p j = step (H:=H) (N:=N) j (vacuum H N p (j+1)) := by rw [vacuum]; simp [hj,hj.ne] |
| 92 | lemma vac_smooth {j : ℕ} (hj : j ≤ N) : ContDiff ℝ ∞ (vacuum H N p j) := by |
| 93 | induction hj using Nat.decreasingInduction with |
| 94 | | self => rw [vac_top]; exact thermal_smooth .. |
| 95 | | of_succ j hj ih => rw [vac_step j hj]; exact extended_smooth _ (H.levels.blocks ..).branches (ih.continuous.comp matrixField_cont) _ |
| 96 | lemma vac_pos {j : ℕ} (hj : j ≤ N) (x) : 0 < vacuum H N p j x := by |
| 97 | induction hj using Nat.decreasingInduction with |
| 98 | | self => rw [vac_top]; exact Real.exp_pos _ |
| 99 | | of_succ j hj ih => rw [vac_step j hj]; exact extended_pos _ (H.levels.blocks ..).branches ((vac_smooth hj).continuous.comp matrixField_cont) (fun U => ih _) .. |
| 100 | lemma vac_eq (h : H.Selected) {j : ℕ} (hj : j ≤ N) : vacuum H N p j ∘ matrixField = (H.rep N p j).eval := by |
| 101 | induction hj using Nat.decreasingInduction with |
| 102 | | self => rw [vac_top,(h.starts ..).2]; exact funext (thermal_agrees _) |
| 103 | | of_succ j hj ih => |
| 104 | funext U; rw [vac_step j hj,comp_apply, step_push j (vac_smooth hj).continuous U,ih]; exact congrFun (h.steps _ _ j hj).1.symm _ |
| 105 | |
| 106 | def total (s : R.Mode) (j : ℕ) : Field G (H.S.side j p) → ℂ := |
| 107 | if h : j=N then by subst j; exact A.source s |
| 108 | else if j<N then Ride.bump (H.S.block j).val s A.load • step (H:=H) (p:=p) (N:=N) j (total s (j+1)) else 0 |
| 109 | termination_by N-j |
| 110 | |
| 111 | @[simp] lemma total_top (s : R.Mode) : A.total s N = A.source s := by rw [total]; simp |
| 112 | lemma total_step (s : R.Mode) (j : ℕ) (hj : j<N) : A.total s j = Ride.bump (H.S.block j).val s A.load • |
| 113 | step (H:=H) (N:=N) j (A.total s (j+1)) := by rw [total]; simp [hj,hj.ne] |
| 114 | lemma smooth_total (s : R.Mode) {j : ℕ} (hj : j ≤ N) : ContDiff ℝ ∞ (A.total s j) := by |
| 115 | induction hj using Nat.decreasingInduction with |
| 116 | | self => rw [total_top]; exact source_smooth .. |
| 117 | | of_succ j hj ih => |
| 118 | rw [total_step A s j hj] |
| 119 | exact contDiff_const.smul (extended_smooth _ (H.levels.blocks ..).branches (ih.continuous.comp matrixField_cont) _) |
| 120 | |
| 121 | lemma total_gauge (h : A.Symmetric) (s : R.Mode) {j : ℕ} (hj : j ≤ N) : GaugeInvariant (A.total s j ∘ matrixField) := by |
| 122 | induction hj using Nat.decreasingInduction with |
| 123 | | self => intro t U; simp [total_top, A.source_eq, Ride.Product,comp_apply, fun i => h i t U] |
| 124 | | of_succ j hj ih => |
| 125 | have he := invariant_push (H.levels.clock.op j p) (β:=H.β N p (j+1)) (H.levels.transition_mass ..) |
| 126 | (fun V U t => (H.levels.blocks j p).gauge _ U V t) ((A.smooth_total s hj).continuous.comp matrixField_cont) ih |
| 127 | intro t U |
| 128 | simp only [total_step A s j hj,comp_apply,Pi.smul_apply, step_push j (A.smooth_total s hj).continuous,he t U] |
| 129 | |
| 130 | lemma quiet_eq {j : ℕ} (hj : j ≤ N) : A.total R.quiet j = fun x => (vacuum H N p j x:ℂ) := by |
| 131 | induction hj using Nat.decreasingInduction with |
| 132 | | self => funext x; simp [source,Ride.bump,Census.quiet] |
| 133 | | of_succ j hj ih => |
| 134 | funext x |
| 135 | rw [total_step A _ j hj, vac_step j hj, ih] |
| 136 | simp only [Ride.bump,Census.quiet,prod_empty,one_smul] |
| 137 | exact extended_real _ (H.levels.blocks j p).branches ((vac_smooth hj).continuous.comp matrixField_cont) .. |
| 138 | |
| 139 | def ratios (R : Census V) (j : ℕ) (x : Field G (H.S.side j p)) := |
| 140 | Poly.inject fun s : R.Mode => A.total s j x * ((vacuum H N p j x)⁻¹ : ℝ) |
| 141 | |
| 142 | lemma part_ratios (j : ℕ) (x) (s : R.Mode) : (A.ratios R j x).part s=A.total s j x * ((vacuum H N p j x)⁻¹ : ℝ) := rfl |
| 143 | lemma ratios_quiet {j : ℕ} (hj : j≤N) (x) : (A.ratios R j x).part R.quiet=1 := by |
| 144 | rw [part_ratios,A.quiet_eq hj, ← Complex.ofReal_mul, mul_inv_cancel₀ (vac_pos hj x).ne', Complex.ofReal_one] |
| 145 | |
| 146 | variable [Fintype V] |
| 147 | |
| 148 | def cumulant (j : ℕ) (s : R.Mode) (x : Field G (H.S.side j p)) := (connected (A.ratios R j x)).part s |
| 149 | |
| 150 | lemma compound_eq {j : ℕ} (hj : j ≤ N) (x) : Poly.pass (Poly.inject fun s : R.Mode => A.cumulant j s x) = A.ratios R j x := |
| 151 | pass_connected (A.ratios_quiet hj x) |
| 152 | lemma cumulant_quiet {j : ℕ} (hj : j ≤ N) (x) : A.cumulant j R.quiet x = 0 := connected_quiet (A.ratios_quiet hj x) |
| 153 | |
| 154 | lemma cumulant_smooth {j : ℕ} (hj : j ≤ N) (s : R.Mode) : ContDiff ℝ ∞ (A.cumulant j s) := by |
| 155 | refine contDiff_connected (F:=A.ratios R j) (fun l => (A.smooth_total l hj).mul ?_) s |
| 156 | exact Complex.ofRealCLM.contDiff.comp ((vac_smooth hj).inv (fun x => (vac_pos hj x).ne')) |
| 157 | |
| 158 | lemma cumulant_gauge (h : A.Symmetric) {j : ℕ} (hj : j ≤ N) (s : R.Mode) : GaugeInvariant (A.cumulant j s ∘ matrixField) := by |
| 159 | intro t U |
| 160 | have he (s : R.Mode) := A.total_gauge h s hj t U |
| 161 | simp only [comp_apply] at he ⊢ |
| 162 | unfold cumulant ratios |
| 163 | simp only [he]; rw [show vacuum H N p j (matrixField (gauge t U)) = vacuum H N p j (matrixField U) from ?_] |
| 164 | apply Complex.ofReal_injective |
| 165 | rw [← congrFun (A.quiet_eq (R:=R) hj) _, ← congrFun (A.quiet_eq (R:=R) hj) _] |
| 166 | exact he _ |
| 167 | end Insertions |
| 168 | end YM.Extra.Trajectories |