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.ProjectorNext.PROJECTOR_CALIBRATION.Colors |
| 2 | import YM.ProjectorNext.PROJECTOR_CALIBRATION.Empirical |
| 3 | import YM.ProjectorNext.PROJECTOR_CALIBRATION.Reconstruct |
| 4 | import YM.ProjectorNext.PROJECTOR_CALIBRATION.Telescope |
| 5 | |
| 6 | |
| 7 | /-! # Actual equation stencils on cover and regulator |
| 8 | |
| 9 | `valve` multiplies each energy derivative; it doesn't see β or θ. |
| 10 | Packet will insert the `t_N^{-l}` (l of the column of course) and put |
| 11 | `β_N^{-1}` ONLY on the divergence. Complexify linearly across columns on the |
| 12 | actual frame. -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.ProjectorNext.Calibration |
| 16 | open Lattice Wilson RG Source Source.Drops Function Filter Labels Next.Foundations Push.CutoffProjectors Tensor |
| 17 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff InnerProductSpace |
| 18 | variable {G : Gauge} {H : Hol G} {d : ℕ} |
| 19 | |
| 20 | namespace Machine |
| 21 | variable (M : Machine H d) |
| 22 | |
| 23 | def estimate (U : CoverConfig G) := M.recover fun i => (M.loops i).eval U |
| 24 | |
| 25 | lemma estimate_one : M.estimate (1:CoverConfig G) = 0 := by |
| 26 | unfold estimate; rw [← map_zero (f:=M.recover)] -- syntax? |
| 27 | apply congr_arg; funext i; simp [Slot.eval,faceValue,square,travel] |
| 28 | |
| 29 | lemma estimate_gauge (U : CoverConfig G) (t : Cover → G.El) : M.estimate (gauge t U) = Cast (t 0) (M.estimate U) := by |
| 30 | unfold estimate; simp_rw [Slot.eval,travel_gauge,face_gauge,G.curvature_conjugate,G.adjoint_mul] |
| 31 | have hh (i) (y : G.Color) : G.adjoint (t (stop 0 (M.loops i).walk))⁻¹ (G.adjoint (t ((M.loops i).offset)) y)=y := by rw [← G.adjoint_mul]; simp [Slot.offset] |
| 32 | simp_rw [hh] |
| 33 | exact M.intertwine .. |
| 34 | |
| 35 | abbrev Outlet := (k : Level d) × ↥((M.filters k).addresses) |
| 36 | |
| 37 | /-- Associated positive link. No claim outlets are distinct as links. -/ |
| 38 | def address (i : M.Outlet) : Position := i.2.val |
| 39 | |
| 40 | /-- Filter a single link sample (already transported to o). -/ |
| 41 | def tap (i : M.Outlet) : G.Color →ₗ[ℝ] Snap G d := |
| 42 | (firing i.1).comp (((M.filters i.1).Z).comp (LinearMap.single ℝ (fun _ => G.Color) i.2)) |
| 43 | |
| 44 | def channel (i : M.Outlet) (U : CoverConfig G) (c : G.Color) := |
| 45 | M.tap i (G.adjoint (travel U 0 (base (M.address i))) c) |
| 46 | |
| 47 | lemma tap_natural (i : M.Outlet) (u : G.El) (c : G.Color) : M.tap i (G.adjoint u c)=Cast u (M.tap i c) := by |
| 48 | let S := M.filters i.1 |
| 49 | have ht : (LinearMap.single ℝ _ i.2 (G.adjoint u c) : ↥S.addresses → G.Color) = colorAction u (LinearMap.single ℝ _ i.2 c) := by |
| 50 | funext j; change (Pi.single i.2 (G.adjoint u c) : ↥S.addresses → G.Color) j = G.adjoint u ((Pi.single i.2 c : ↥S.addresses → G.Color) j) |
| 51 | by_cases h : j=i.2 <;> simp [h] |
| 52 | change firing i.1 (S.Z (LinearMap.single ℝ _ i.2 _))= _ |
| 53 | rw [ht,S.color,firing_natural]; rfl |
| 54 | |
| 55 | lemma channel_gauge (i : M.Outlet) (c : G.Color) (U : CoverConfig G) (t : Cover → G.El) : |
| 56 | M.channel i (gauge t U) (G.adjoint (t (M.address i).1) c)=Cast (t 0) (M.channel i U c) := by |
| 57 | simp_rw [channel, travel_gauge,route_end,G.adjoint_mul, ← G.adjoint_mul ((t _)⁻¹) (t _), inv_mul_cancel,G.adjoint_one,tap_natural] |
| 58 | |
| 59 | variable (F : Labels.Frame G d) |
| 60 | |
| 61 | abbrev shade (m : F.Index) := palette (F.grades m).2 (F.basis m) |
| 62 | |
| 63 | def valveL (m : F.Index) (i : M.Outlet) (U : CoverConfig G) : G.Color →ₗ[ℝ] ℂ := |
| 64 | (Cross.mix (shade F m) M.U (M.estimate U)).toLinearMap.comp |
| 65 | ((M.tap i).comp (G.adjoint (travel U 0 (base (M.address i))))) |
| 66 | |
| 67 | def valve (m : F.Index) (i : M.Outlet) (c : G.Color) (U : CoverConfig G) := |
| 68 | Cross.mix (shade F m) M.U (M.estimate U) (M.channel i U c) |
| 69 | |
| 70 | lemma valveL_apply (m : F.Index) (i : M.Outlet) (c : G.Color) (U : CoverConfig G) : |
| 71 | M.valveL F m i U c = M.valve F m i c U := rfl |
| 72 | |
| 73 | lemma valve_gauge (m : F.Index) (i : M.Outlet) (c : G.Color) (U : CoverConfig G) (t : Cover → G.El) : |
| 74 | M.valve F m i (G.adjoint (t (M.address i).1) c) (gauge t U)=M.valve F m i c U := by |
| 75 | unfold valve; rw [estimate_gauge,channel_gauge] |
| 76 | trans (1:ℝ) • Cross.mix (shade F m) M.U (M.estimate U) (M.channel i U c) |
| 77 | · refine Cross.scaled_mix (shade F m) M.U (castAction (t 0) (d:=d)) _ ?_ ?_ _ _ |
| 78 | · intro x; rw [one_smul]; exact painting (F.grades m).2 (F.pure m) (t 0) x |
| 79 | intro x; exact M.toSplit.comm .. |
| 80 | exact one_smul .. |
| 81 | |
| 82 | lemma small_estimate : Small G M.estimate := |
| 83 | (Small.vector (fun i => (M.loops i).eval) fun _ => Small.slot _).linear M.recover.toContinuousLinearMap |
| 84 | |
| 85 | lemma small_channel (i : M.Outlet) (c : G.Color) : Small G (fun U => M.channel i U c) := |
| 86 | (Small.adjoint (T:=fun U => travel U _ _) (Small.path ..) (Small.constant c)).linear (M.tap i).toContinuousLinearMap |
| 87 | |
| 88 | lemma small_valve (m : F.Index) (i : M.Outlet) (c : G.Color) : Small G (M.valve F m i c) := |
| 89 | (M.small_estimate).two (M.small_channel i c) (fun x y => Cross.mix (shade F m) M.U x y) |
| 90 | (contDiff_iff_contDiffAt.mpr fun _ => Cross.mix_smooth _ _ contDiffAt_fst contDiffAt_snd) |
| 91 | |
| 92 | /-- Deploy the coefficients on the torus, ignoring remainders and chains. |
| 93 | For chains to use these, they must really have these weights. Allow collisions |
| 94 | at tight sizes: add the functions on that physical link. -/ |
| 95 | def port {n : Side} (o : Site n) (i : M.Outlet) : Edge (Site n) := (wrap n (M.address i).1+o,(M.address i).2) |
| 96 | |
| 97 | def feed {n : Side} (o : Site n) (m : F.Index) : Vectors G n := fun U e j => |
| 98 | ∑ i : M.Outlet, if e=M.port o i then M.valve F m i (colors G j) (expandAt o U) else 0 |
| 99 | |
| 100 | def weights {n : Side} (o : Site n) : F.Coeff →ₗ[ℂ] Vectors G n := |
| 101 | ∑ i : F.Index, LinearMap.toSpanSingleton ℂ _ (M.feed F o i) ∘ₗ (LinearMap.proj i) |
| 102 | |
| 103 | lemma weights_eval {n : Side} (o : Site n) (x : F.Coeff) (U : Config G n) (e : Edge (Site n)) (j : G.ColorIndex) : |
| 104 | M.weights F o x U e j = ∑ i : F.Index, ∑ w : M.Outlet, |
| 105 | if e=M.port o w then x i*M.valve F i w (colors G j) (expandAt o U) else 0 := by |
| 106 | unfold weights |
| 107 | rw [LinearMap.sum_apply] |
| 108 | simp [Finset.sum_apply,feed,Finset.mul_sum,mul_ite] |
| 109 | |
| 110 | end Machine |
| 111 | end YM.ProjectorNext.Calibration |