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.Work.F03.Flat |
| 2 | |
| 3 | |
| 4 | /-! |
| 5 | # F03. Transport the canonical Hessian onto the tree slice |
| 6 | |
| 7 | Use the actual tested function with fixed `k`. Log of the lifted links gives a smooth |
| 8 | chart substitution on some neighborhood in the real parameter plane, and its tangent |
| 9 | is exactly the `stretch`. Gradient already zero in flat coordinates, so the mixed |
| 10 | Hessian pulls back on these tangents alone. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Work.F03 |
| 15 | open Filter Function Lattice Tree RG Wilson Precision Exterior Bid |
| 16 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 17 | |
| 18 | variable {G : Gauge} {c f : Side} {S : StepData c f} |
| 19 | |
| 20 | section chart |
| 21 | variable {g : Ratio c f} (H : Forest g) |
| 22 | |
| 23 | abbrev ChartVars (G : Gauge) := Dir G c × AxisChart G H |
| 24 | |
| 25 | def live (a : ChartVars H G) := lifting H (represent a.1) a.2 |
| 26 | |
| 27 | lemma live_zero : live H (0 : ChartVars H G) = 1 := by |
| 28 | simp only [live, Prod.snd_zero, Prod.fst_zero, lifted, link_one, replica_one] |
| 29 | |
| 30 | def axisLog (b : ChartVars H G) : Dir G f := fun i => |
| 31 | G.plog (G.mat (live H b (i.1, axisEquiv.symm i.2))) |
| 32 | |
| 33 | def inclusion (b : ChartVars H G) : Logs G c f := (b.1, axisLog H b) |
| 34 | |
| 35 | lemma inclusion_zero : inclusion H (0 : ChartVars H G) = 0 := by |
| 36 | apply Prod.ext |
| 37 | · rfl |
| 38 | funext i |
| 39 | change axisLog H 0 i = _ |
| 40 | simp [axisLog, live_zero] |
| 41 | |
| 42 | lemma live_smooth (e : Edge (Site f)) : |
| 43 | ContDiffAt ℝ ω (fun b : ChartVars H G => G.mat (live H b e)) 0 := by |
| 44 | by_cases h : e ∈ H.trunks |
| 45 | · have he (b : ChartVars H G) : live H b e = 1 := H.on_tree _ ⟨e,h⟩ |
| 46 | simp_rw [he] |
| 47 | exact contDiffAt_const |
| 48 | have he (b : ChartVars H G) : live H b e = |
| 49 | G.lieExp (b.2 ⟨e,h⟩) * replica g (represent b.1) e := H.off_tree _ ⟨e,h⟩ |
| 50 | have hh : ContDiffAt ℝ ω (fun b : ChartVars H G => b.2 (⟨e,h⟩ : H.Free)) 0 := |
| 51 | (contDiffAt_apply ℝ G.Color ⟨e,h⟩ (0:AxisChart G H)).comp (f:=Prod.snd) (0:ChartVars H G) contDiffAt_snd |
| 52 | simp_rw [he,G.mat_mul] |
| 53 | apply (G.exp_jet.contDiffAt.comp (f:=fun b : ChartVars H G => b.2 ⟨e,h⟩) _ hh).mul |
| 54 | unfold replica |
| 55 | split |
| 56 | · exact contDiffAt_const |
| 57 | exact (represent_smooth (G:=G) _).contDiffAt.comp (f := Prod.fst) (0:ChartVars H G) contDiffAt_fst |
| 58 | |
| 59 | lemma inclusion_smooth : ContDiffAt ℝ ω (inclusion H (G:=G)) 0 := by |
| 60 | refine contDiffAt_fst.prodMk (show ContDiffAt ℝ ω (axisLog H (G:=G)) 0 from |
| 61 | contDiffAt_pi.mpr fun i => ?_) |
| 62 | have ht := live_smooth H (G:=G) (i.1, axisEquiv.symm i.2) |
| 63 | refine ContDiffAt.comp (g:=G.plog) _ ?_ ht |
| 64 | rw [live_zero, Pi.one_apply, G.mat_one] |
| 65 | exact G.plog_diff |
| 66 | |
| 67 | lemma inclusion_works : (fun x : ChartVars H G => represent (axisLog H x)) =ᶠ[𝓝 0] live H := by |
| 68 | have he (e : Edge (Site f)) : |
| 69 | ∀ᶠ x : ChartVars H G in 𝓝 0, G.lieExp (G.plog (G.mat (live H x e))) = live H x e := by |
| 70 | have hb : ContinuousAt (fun x : ChartVars H G => live H x e) 0 := |
| 71 | (G.continuous_mat.isClosedEmbedding G.mat_injective).isEmbedding.tendsto_nhds_iff.mpr |
| 72 | (live_smooth H (G:=G) e).continuousAt.tendsto |
| 73 | have hv := hb.tendsto |
| 74 | rw [live_zero,Pi.one_apply] at hv |
| 75 | exact hv.eventually G.plog_right |
| 76 | filter_upwards [eventually_all.mpr he] with x hx |
| 77 | funext e |
| 78 | rw [represent_link,axisLog, show axisEquiv.symm (coord e.2) = e.2 from |
| 79 | axisEquiv.symm_apply_apply _] |
| 80 | exact hx e |
| 81 | |
| 82 | end chart |
| 83 | |
| 84 | variable (H : Forest S.ratio) |
| 85 | |
| 86 | lemma live_rate (e : Edge (Site f)) (a : ChartVars H G) : |
| 87 | HasDerivAt (fun t : ℝ => G.mat (live H (t • a) e)) |
| 88 | (G.colorMat (stretch H a (e.1,coord e.2))) 0 := by |
| 89 | dsimp only [stretch] |
| 90 | rw [show axisEquiv.symm (coord e.2) = e.2 from axisEquiv.symm_apply_apply _] |
| 91 | by_cases h : e ∈ H.trunks |
| 92 | · have he (b : ChartVars H G) : live H b e = 1 := H.on_tree _ ⟨e,h⟩ |
| 93 | have hp : linearCopy S.ratio (collect G a.1) e = 0 := |
| 94 | if_pos (H.trunk_internal (show (e.1,e.2) ∈ H.trunks from h)) |
| 95 | simp_rw [he] |
| 96 | rw [dif_pos (show (e.1,e.2) ∈ H.trunks from h)] |
| 97 | change HasDerivAt _ (G.colorMat (linearCopy S.ratio (collect G a.1) e + 0)) _ |
| 98 | rw [hp, add_zero, map_zero] |
| 99 | exact hasDerivAt_const .. |
| 100 | rw [dif_neg (show (e.1,e.2) ∉ H.trunks from h)] |
| 101 | let l := a.2 (⟨e,h⟩ : H.Free) |
| 102 | have he (t : ℝ) : live H (t • a) e = |
| 103 | G.lieExp (t • l) * replica S.ratio (represent (t • a.1)) e := H.off_tree _ ⟨e,h⟩ |
| 104 | simp_rw [he,G.mat_mul] |
| 105 | have ht : HasDerivAt (fun t : ℝ => G.mat (G.lieExp (t • l))) (G.colorMat l) 0 := by |
| 106 | have hd : HasFDerivAt (fun x => G.mat (G.lieExp x)) G.colorMat.toContinuousLinearMap |
| 107 | ((0:ℝ) • l) := by rw [zero_smul]; exact G.expDiff_zero |
| 108 | have hi : HasDerivAt (fun t : ℝ => t • l) l 0 := by |
| 109 | simpa using! (hasDerivAt_id' (0:ℝ)).smul_const l |
| 110 | exact hd.comp_hasDerivAt 0 hi |
| 111 | have hv : HasDerivAt (fun t : ℝ => G.mat (replica S.ratio (represent (t • a.1)) e)) |
| 112 | (G.colorMat (linearCopy S.ratio (collect G a.1) e)) 0 := by |
| 113 | unfold linearCopy replica |
| 114 | split |
| 115 | · rw [map_zero]; exact hasDerivAt_const .. |
| 116 | exact represent_rate a.1 (S.ratio.parent e.1,e.2) |
| 117 | convert! ht.mul hv using 1 |
| 118 | change G.colorMat (linearCopy S.ratio (collect G a.1) e + l) = _ |
| 119 | simp [add_comm] |
| 120 | |
| 121 | lemma inclusion_deriv (a : ChartVars H G) : |
| 122 | fderiv ℝ (inclusion H (G:=G)) 0 a = (a.1, stretch H a) := by |
| 123 | let d := fderiv ℝ (inclusion H (G:=G)) 0 a |
| 124 | have he : HasDerivAt (fun t : ℝ => inclusion H (t • a)) d 0 := |
| 125 | Push.side _ ((inclusion_smooth H).differentiableAt (by simp)) a |
| 126 | have hf : ∀ᶠ t : ℝ in 𝓝 0, represent (axisLog H (t • a)) = live H (t • a) := by |
| 127 | have hg : Tendsto (fun t : ℝ => t • a) (𝓝 0) (𝓝 0) := by |
| 128 | simpa using! (show Continuous fun t : ℝ => t • a from by fun_prop).tendsto 0 |
| 129 | exact hg.eventually (inclusion_works H) |
| 130 | apply Prod.ext |
| 131 | · have hh : HasDerivAt (fun t : ℝ => t • a.1) d.1 0 := he.fst |
| 132 | have ha : HasDerivAt (fun t : ℝ => t • a.1) a.1 0 := by |
| 133 | simpa using! (hasDerivAt_id' (0:ℝ)).smul_const a.1 |
| 134 | exact hh.unique ha |
| 135 | change d.2 = stretch H a |
| 136 | funext ⟨x,i⟩ |
| 137 | obtain ⟨j,rfl⟩ := axisEquiv.surjective i |
| 138 | change d.2 (x,coord j) = stretch H a (x,coord j) |
| 139 | apply G.colorMat_injective |
| 140 | have hd : HasDerivAt (fun t : ℝ => (inclusion H (t • a)).2 (x,coord j)) (d.2 (x,coord j)) 0 := |
| 141 | hasDerivAt_pi.mp he.snd _ |
| 142 | have hu : HasFDerivAt (fun v => G.mat (G.lieExp v)) G.colorMat.toContinuousLinearMap |
| 143 | ((inclusion H ((0:ℝ) • a)).2 (x,coord j)) := by |
| 144 | rw [zero_smul, inclusion_zero]; exact G.expDiff_zero |
| 145 | have ha : HasDerivAt (fun t : ℝ => G.mat (live H (t • a) (x,j))) (G.colorMat (d.2 (x,coord j))) 0 := by |
| 146 | refine (hu.comp_hasDerivAt 0 hd).congr_of_eventuallyEq ?_ |
| 147 | filter_upwards [hf] with t ht |
| 148 | rw [← ht, represent_link]; rfl |
| 149 | exact ha.unique (live_rate H (x,j) a) |
| 150 | |
| 151 | lemma from_flat (k : S.Choices) (W : PathData G) (p : Clip) : |
| 152 | uncurry (tested H k p W) =ᶠ[𝓝 0] flat S k p W ∘ inclusion H := by |
| 153 | filter_upwards [(inclusion_works H (G:=G))] with z hz |
| 154 | change mainTerm p W (live H z) + noiseTaylor S _ (live H z) k = |
| 155 | mainTerm p W (represent (axisLog H z)) + noiseTaylor S _ (represent (axisLog H z)) k |
| 156 | rw [hz]; rfl |
| 157 | |
| 158 | /-- Ticket F03. `Fires` and the spectral/path/step properties here remain inputs. -/ |
| 159 | theorem answer : YM.Bid.F03 := by |
| 160 | intro G c f S h H B p W σ C Λ u v hf hb ht hs hi |
| 161 | constructor |
| 162 | · intro k |
| 163 | have he : ContDiffAt ℝ ω (flat S k p W) (inclusion H 0) := by |
| 164 | rw [inclusion_zero]; exact flat_smooth h.1 k hi |
| 165 | exact (he.comp 0 (inclusion_smooth H)).congr_of_eventuallyEq (from_flat (S:=S) H k W p) |
| 166 | intro k F |
| 167 | have hv : F =ᶠ[𝓝 0] flat S k p W ∘ inclusion H := from_flat H k W p |
| 168 | obtain ⟨h0,h1,h2⟩ := flat_jets h.1 k hb ht hf hs hi |
| 169 | have he := hessian_comp (f := flat S k p W) (inclusion_zero H) |
| 170 | ((flat_smooth h.1 k hi).of_le le_top) ((inclusion_smooth H).of_le le_top) h1 |
| 171 | refine ⟨hv.eq_of_nhds.trans ?_, hv.fderiv_eq.trans he.1, fun a b => ?_⟩ |
| 172 | · rw [comp_apply,inclusion_zero,h0] |
| 173 | rw [(hv.iteratedFDeriv ℝ 2).eq_of_nhds, he.2, h2, |
| 174 | inclusion_deriv H, inclusion_deriv H] |
| 175 | rfl |
| 176 | |
| 177 | end YM.Work.F03 |