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.Push.LOOP_COEFFICIENT.Moves |
| 2 | import YM.Push.LOOP_COEFFICIENT.Shell |
| 3 | |
| 4 | /-! |
| 5 | # Exact finite gauge covariance of the scalar matrices |
| 6 | |
| 7 | Uses left increments, with the adjoint at the initial site, NOT linear gauge |
| 8 | substitution in exponential coordinates. Includes off-shell rules (around |
| 9 | regular points) for the rooted drift test. Fine reference also uses initial-site |
| 10 | convention for its mass. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Push.Loops |
| 15 | open Matrix Set Function Filter Lattice RG Wilson Precision Tree Exterior |
| 16 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius |
| 17 | variable {G : Gauge} {m : Type} [Fintype m] [DecidableEq m] |
| 18 | variable {c f n : Side} {S : StepData c f} |
| 19 | |
| 20 | def adjoints (u : m → G.El) := direct id (G.adjoint ∘ u) |
| 21 | |
| 22 | lemma adjoints_ortho (u : m → G.El) : ortho (adjoints u) := direct_ortho id Function.bijective_id _ (fun _ _ => G.norm_adjoint ..) |
| 23 | |
| 24 | @[simp] lemma paint_adjoints (u : m → G.El) (a : Array G m) (x) : paint G m (adjoints u *ᵥ a) x = G.adjoint (u x) (paint G m a x) := |
| 25 | paint_direct .. |
| 26 | |
| 27 | def linkAdj (u : NodeField G n) := adjoints (u ∘ (Prod.fst : Bonds n → Site n)) |
| 28 | |
| 29 | def jointAdj (k : NodeField G f) (u : NodeField G c) := adjoints ((k ∘ (Prod.fst : Bonds f → Site f)) ⊕ᵥ u) |
| 30 | |
| 31 | lemma vary_gauge (U : Config G n) (k : NodeField G n) (a : Loops.Links G n) : |
| 32 | vary (Lattice.gauge k U) (linkAdj k *ᵥ a) = Lattice.gauge k (vary U a) := by |
| 33 | funext i; unfold linkAdj Lattice.gauge vary; rw [paint_adjoints,Function.comp_apply,bump_transform] |
| 34 | |
| 35 | lemma vary_joint (U : Loops.Inputs G c f) (k : NodeField G f) (u : NodeField G c) (a : Loops.Dual G c f) : |
| 36 | vary (gaugeJoint S k u U) (jointAdj k u *ᵥ a) = gaugeJoint S k u (vary U a) := by |
| 37 | funext i; rw [vary, jointAdj,paint_adjoints]; cases i with |
| 38 | | inl i => exact bump_transform (U _) _ _ _ |
| 39 | | inr i => exact bump_transform (U _) _ _ _ |
| 40 | |
| 41 | lemma portion_linkAdj (k : NodeField G n) (i : Axis) (a : Loops.Links G n) : portion i (linkAdj k *ᵥ a) = adjoints k *ᵥ portion i a := by |
| 42 | funext ⟨j,a'⟩; change paint G _ (adjoints (k ∘ (Prod.fst : Bonds n → Site n)) *ᵥ a) (j,i) a' = paint G _ (adjoints k *ᵥ portion i a) j a'; simp only [paint_adjoints]; rfl |
| 43 | |
| 44 | lemma R_g_carries (k : NodeField G n) (U : Config G n) : Carries (linkAdj k) (adjoints k) (R_g U) (R_g (Lattice.gauge k U)) := by |
| 45 | refine Matrix.ext_iff_mulVec.mpr fun v => ?_ |
| 46 | rw [← Matrix.mulVec_mulVec, ← Matrix.mulVec_mulVec, R_g,R_g,LinearMap.toMatrix'_mulVec,LinearMap.toMatrix'_mulVec] |
| 47 | apply (paint G (Bonds n)).injective; ext1 i |
| 48 | simp only [linkAdj,paint_brace,paint_adjoints,Function.comp_apply,map_sub,Lattice.gauge,← G.adjoint_mul,inv_mul_cancel_right] |
| 49 | |
| 50 | lemma projectFine_carries (k : NodeField G f) (u : NodeField G c) : Carries (linkAdj k) (jointAdj k u) |
| 51 | (projectFine G c f) (projectFine G c f) := by |
| 52 | refine Matrix.ext_iff_mulVec.mpr fun v => ?_ |
| 53 | rw [← Matrix.mulVec_mulVec, ← Matrix.mulVec_mulVec, projectFine,LinearMap.toMatrix'_mulVec, LinearMap.toMatrix'_mulVec]; funext i |
| 54 | change paint G _ (adjoints _ *ᵥ _) _ _ = paint G _ (adjoints _ *ᵥ _) _ _ |
| 55 | simp only [paint_adjoints]; rfl |
| 56 | |
| 57 | /-- Regularity window for all the rooted rules. -/ |
| 58 | structure Beam (t : S.Choices) (U : Loops.Inputs G c f) : Prop where |
| 59 | bonds : MatDiffAt (Zmap t ∘ vary U) 0 |
| 60 | patch : MatDiffAt (Psi t ∘ vary U) 0 |
| 61 | |
| 62 | lemma beam_near (h : S.patch.Branches S.kernel G) (t : S.Choices) : ∀ᶠ U in 𝓝 1, Beam t (G:=G) U := by |
| 63 | have hu : ∀ᶠ U : Loops.Inputs G c f in 𝓝 1, MatDiffAt (Zmap t ∘ vary U) 0 := eventually_all.mpr fun i => |
| 64 | smooth_near (f:=fun U => G.mat (Zmap t U i)) ((Zmap_diff h t (by simp) vary_diff) i) |
| 65 | have hx : ∀ᶠ U : Loops.Inputs G c f in 𝓝 1, MatDiffAt (Psi t ∘ vary U) 0 := eventually_all.mpr fun i => |
| 66 | smooth_near (f:=fun U => G.mat (Psi t U i)) ((Psi_diff h t (by simp) vary_diff) i) |
| 67 | filter_upwards [hu,hx] with U hu hx; exact ⟨hu,hx⟩ |
| 68 | |
| 69 | lemma X₀_carries (h : S.patch.Branches S.kernel G) (t : S.Choices) (k : NodeField G f) (u : NodeField G c) |
| 70 | {U : Loops.Inputs G c f} (h1 : Beam t U) (h2 : Beam t (gaugeJoint S k u U)) : |
| 71 | Carries (adjoints k) (jointAdj k u) (X₀ t U) (X₀ t (gaugeJoint S k u U)) := by |
| 72 | have hv {U : Loops.Inputs G c f} (he : Beam t U) : MatDiffAt (fun a => (Psi t (vary U a))⁻¹) 0 := fun i => mat_inv_diff (he.patch i) |
| 73 | refine carries_linear (localize_diff (hv h1)) (localize_diff (hv h2)) (localize_motion _ _ (φ:=fun V x => k x * V x * (u (S.ratio.parent x))⁻¹) (hv h1) ?_ ?_) |
| 74 | · refine Filter.Eventually.of_forall (fun v => ?_); rw [vary_joint]; ext1 x |
| 75 | change (Psi t _ x)⁻¹ = _ |
| 76 | rw [Psi_gauge h,Pi.inv_apply]; group |
| 77 | intro v; ext1 x |
| 78 | simp only [vary,paint_adjoints, Pi.inv_apply,Psi_gauge h, _root_.mul_inv_rev, inv_inv] |
| 79 | rw [← mul_assoc,bump_transform] |
| 80 | |
| 81 | lemma completion_carries (h : S.patch.Branches S.kernel G) (t : S.Choices) (k : NodeField G f) (u : NodeField G c) |
| 82 | {U : Loops.Inputs G c f} (h1 : Beam t U) (h2 : Beam t (gaugeJoint S k u U)) : |
| 83 | Carries (adjoints k) (jointAdj k u) (completion t U) (completion t (gaugeJoint S k u U)) := by |
| 84 | have hR := R_g_carries k (positions U) |
| 85 | have hA := dressing_motion hR (adjoints_ortho _) (adjoints_ortho _) (mu S) |
| 86 | exact (((regulation_motion hA).mul (hR.adj (adjoints_ortho _) (adjoints_ortho _))).mul (projectFine_carries k u)).add |
| 87 | (((hA.pow depth).mul (X₀_carries h t k u h1 h2)).smul _) |
| 88 | |
| 89 | lemma Zmap_motion (h : S.patch.Branches S.kernel G) (t : S.Choices) (k : NodeField G f) (u : NodeField G c) |
| 90 | {U : Loops.Inputs G c f} (h1 : Beam t U) : |
| 91 | localize (Zmap t) (gaugeJoint S k u U) ∘ clm (jointAdj k u) =ᶠ[𝓝 0] clm (linkAdj u) ∘ localize (Zmap t) U := |
| 92 | localize_motion _ _ (φ:=Lattice.gauge u) h1.bonds (Filter.Eventually.of_forall (fun v => by rw [vary_joint,Zmap_gauge h])) |
| 93 | (fun v => by rw [Zmap_gauge h,vary_gauge]) |
| 94 | |
| 95 | lemma acceleration_carries (h : S.patch.Branches S.kernel G) (t : S.Choices) (v : Loops.Links G c) (k : NodeField G f) (u : NodeField G c) |
| 96 | {U : Loops.Inputs G c f} (h1 : Beam t U) (h2 : Beam t (gaugeJoint S k u U)) : |
| 97 | Carries (jointAdj k u) (jointAdj k u) (acceleration (Zmap t) U v) (acceleration (Zmap t) (gaugeJoint S k u U) (linkAdj u *ᵥ v)) := |
| 98 | carries_twist (adjoints_ortho _) (adjoints_ortho _) (localize_diff h1.bonds) (localize_diff h2.bonds) (Zmap_motion h t k u h1) v |
| 99 | |
| 100 | lemma penalty_gauge (k : NodeField G c) (V U : Config G c) : penalty S (Lattice.gauge k V) (Lattice.gauge k U) = penalty S V U := by |
| 101 | unfold penalty |
| 102 | exact congr_arg (S.kernel.penalty * ·) (Finset.sum_congr rfl (fun i _ => by |
| 103 | simp only [Lattice.gauge]; rw [show (k _ * V i * _⁻¹ * (k _ * U i * _⁻¹)⁻¹ : G.El) = k i.1 * (V i * (U i)⁻¹) * (k i.1)⁻¹ by group,G.price_conj])) |
| 104 | |
| 105 | variable {p : Clip} {W : PathData G} {σ C Λ : ℝ} |
| 106 | |
| 107 | lemma reference_carries (hw : W.Bounds p σ C Λ) (μ : ℝ) (k : NodeField G n) (U : Config G n) : |
| 108 | Carries (linkAdj k) (linkAdj k) (reference μ p W U) (reference μ p W (Lattice.gauge k U)) := |
| 109 | reference_motion (adjoints_ortho _) (adjoints_ortho _) (R_g_carries k U) (portion_linkAdj k) |
| 110 | (invariant_cost (adjoints_ortho _) (Work.F02.mainTerm_contDiffAt hw vary_diff) |
| 111 | (Eventually.of_forall fun v => congr_arg (mainTerm p W) (vary_gauge U k v) |>.trans (Work.F05.mainTerm_gauge hw _ k))) μ |
| 112 | |
| 113 | lemma vector_carries (h : S.patch.Branches S.kernel G) (hw : W.Bounds p σ C Λ) (t : S.Choices) (k : NodeField G f) (u : NodeField G c) |
| 114 | (V : Config G c) {U : Loops.Inputs G c f} (h1 : Beam t U) (h2 : Beam t (gaugeJoint S k u U)) : |
| 115 | let V' := Lattice.gauge u V; let U' := gaugeJoint S k u U; let g := jointAdj k u |
| 116 | Carries g g (vector p W t V U) (vector p W t V' U') ∧ Carries g g (baseVector p W t V U) (baseVector p W t V' U') := by |
| 117 | intro V' U' g |
| 118 | have hc := completion_carries h t k u h1 h2 |
| 119 | have ha := (hc.adj (adjoints_ortho _) (adjoints_ortho _)).mul hc |
| 120 | have hf : ContDiffAt ℝ ω ((mainTerm p W ∘ positions) ∘ vary U') 0 := Work.F02.mainTerm_contDiffAt hw (A:=positions ∘ vary U') (fun _ => vary_diff _) |
| 121 | have hb : Carries g g (cost (mainTerm p W ∘ positions) U) (cost (mainTerm p W ∘ positions) U') := |
| 122 | invariant_cost (adjoints_ortho _) hf (Eventually.of_forall fun v => by change mainTerm _ _ (positions (vary U' (g *ᵥ v))) = _; |
| 123 | unfold U' g; rw [vary_joint]; exact Work.F05.mainTerm_gauge hw _ k) |
| 124 | have hd := carries_linear (localize_diff h1.bonds) (localize_diff h2.bonds) (Zmap_motion h t k u h1) |
| 125 | refine ⟨(invariant_cost (adjoints_ortho _) (hf.add (penalty_diff S (matDiffAt_const _) h2.bonds)) (Eventually.of_forall fun v => ?_)).add ha, |
| 126 | (hb.add (((hd.adj (adjoints_ortho _) (adjoints_ortho _)).mul (invariant_cost (adjoints_ortho _) (penalty_diff S (matDiffAt_const _) vary_diff) |
| 127 | (Eventually.of_forall fun v => ?_))).mul hd)).add ha⟩ |
| 128 | · change completed p W t _ (vary _ (jointAdj k u *ᵥ v)) = _ |
| 129 | rw [vary_joint]; exact completed_gauge h hw t k u V _ |
| 130 | change penalty S V' (vary (Zmap t U') (linkAdj u *ᵥ v)) = _ |
| 131 | rw [show Zmap t U'=Lattice.gauge u (Zmap t U) from Zmap_gauge h ..,vary_gauge]; exact penalty_gauge .. |
| 132 | |
| 133 | lemma scalar_gauge (h : S.patch.Branches S.kernel G) (hw : W.Bounds p σ C Λ) (t : S.Choices) (k : NodeField G f) (u : NodeField G c) |
| 134 | (V : Config G c) {U : Loops.Inputs G c f} (h1 : Beam t U) (h2 : Beam t (gaugeJoint S k u U)) : |
| 135 | scalar p W t (Lattice.gauge u V) (gaugeJoint S k u U) = scalar p W t V U := by |
| 136 | have hg := ghost_motion (R_g_carries k (positions U)) (adjoints_ortho _) (adjoints_ortho _) (mu S) |
| 137 | unfold scalar |
| 138 | rw [(vector_carries h hw t k u V h1 h2).1.det (adjoints_ortho _), show positions (gaugeJoint S k u U) = Lattice.gauge k (positions U) from rfl, |
| 139 | hg.det (adjoints_ortho _)] |
| 140 | |
| 141 | lemma Yresp_gauge (h : S.patch.Branches S.kernel G) (hw : W.Bounds p σ C Λ) (t : S.Choices) (k : NodeField G f) (u : NodeField G c) |
| 142 | (V : Config G c) {U : Loops.Inputs G c f} (h1 : Beam t U) (h2 : Beam t (gaugeJoint S k u U)) (v : Loops.Links G c) : |
| 143 | Yresp p W t (Lattice.gauge u V) (gaugeJoint S k u U) (linkAdj u *ᵥ v) = Yresp p W t V U v := |
| 144 | (((vector_carries h hw t k u V h1 h2).2.inv (adjoints_ortho _)).mul (acceleration_carries h t v k u h1 h2)).trace (adjoints_ortho _) |
| 145 | |
| 146 | lemma scalarRef_gauge (hw : W.Bounds p σ C Λ) (μ : ℝ) (k : NodeField G n) (U : Config G n) : |
| 147 | scalarRef μ p W (Lattice.gauge k U) = scalarRef μ p W U := by |
| 148 | have hg := ghost_motion (R_g_carries k U) (adjoints_ortho _) (adjoints_ortho _) μ |
| 149 | rw [scalarRef, scalarRef, (reference_carries hw μ k U).det (adjoints_ortho _),hg.det (adjoints_ortho _)] |
| 150 | end YM.Push.Loops |