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.EveryPhase.Compatibility |
| 2 | import YM.EveryPhase.Frequency |
| 3 | |
| 4 | /-! # Attachment covers the hot vectors -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.EveryPhase |
| 8 | open Function Set Filter MeasureTheory Spec Boundary Probe OS Org Next.BOUNDARY |
| 9 | open scoped Topology NNReal ContDiff InnerProductSpace |
| 10 | variable {G : Gauge} {C : Family G} {S T : Table C.book} {V : Chamber T timeAxis} |
| 11 | {A : Spread V} {Y : Show.Rhythm (C:=C) S V A} {X : Wightman S} |
| 12 | {J : X.operators.H →L[ℂ] V.H} {R : Algebra S} {W : Surface S} |
| 13 | |
| 14 | variable {n m : ℕ} |
| 15 | |
| 16 | private lemma closer (p : Heights n) (hp : p∈positiveHeight n) (m : ℕ) : |
| 17 | Tendsto (fun u : ℝ≥0 × Heights m => dawn (Bid.bothH p u.2)) (edgeFilter m) |
| 18 | (𝓝[shores (n+m)] (dawn (Bid.bothH p (0:Heights m)))) := by |
| 19 | apply tendsto_nhdsWithin_iff.mpr |
| 20 | refine ⟨?_, (heights_valid m).mono fun _ hx => warmer (n+m) (etched (Work.C24.ordered hp hx.1))⟩ |
| 21 | have hm : Continuous (fun z : Heights m => Bid.bothH p z) := by |
| 22 | apply continuous_pi; intro i; refine Fin.addCases ?_ ?_ i |
| 23 | · intro i; simp only [Bid.bothH,Fin.append_left]; exact continuous_const |
| 24 | intro i; simp only [Bid.bothH,Fin.append_right]; exact continuous_apply _ |
| 25 | have hh : Continuous (@dawn (n+m)) := by |
| 26 | unfold dawn place points position; fun_prop |
| 27 | exact ((hh.comp hm).tendsto 0).comp (heights_zero m) |
| 28 | |
| 29 | lemma vector_cooled (I : Attachment X V J) (h : Show.Reveals R X.spin X.J Y W) |
| 30 | (ht : Bid.Hull Y.bits Y.lift X.J) (hi : Y.lift.NonTangentialFree W) |
| 31 | (v : Fin n → S.Union) (x : ℝ≥0 × Heights n) (hx : x∈margins n) |
| 32 | (P : Joint n →L[ℂ] X.operators.H) (hP : ExtendsTensor X.operators v P) |
| 33 | (f : Joint n) (hf : HasCompactSupport ⇑f) : |
| 34 | hot Y.bits v (hat f) x=J (P (hat (chilled x.2 f hf))) := by |
| 35 | haveI := edge_nontrivial n |
| 36 | let A := hot Y.bits v (hat f) x |
| 37 | let g := chilled x.2 f hf |
| 38 | have hg : HasCompactSupport ⇑g := remains _ _ _ |
| 39 | let B := J (P (hat g)) |
| 40 | obtain ⟨D,F,hF,hZ⟩ := h.visible |
| 41 | let C₀ := D (n+n) |
| 42 | let r := Bid.bothT v v X.J |
| 43 | let Q p (u : Joint _) := C₀.partialD (W.W _ r) (dawn (Bid.bothH x.2 p)) (joinedTest (hat f) u) |
| 44 | have tp (u) (y : ℝ≥0 × Heights n) (hy : y∈margins n) : |
| 45 | inner ℂ A (hot Y.bits v u y) = Q y.2 u := by |
| 46 | unfold A Q; rw [hot_pair ht hi _ _ _ _ _ _ hx hy] |
| 47 | exact (Work.C15.partialD_psi (hF (n+n)) (spectra h.I) Y.power.1 Y.power.2 h.I.axis r (Work.C24.ordered hx.1 hy.1) _).symm |
| 48 | have hw : inner ℂ B B = W.W _ r (joinedTest (hat g) (hat g)) := by |
| 49 | unfold B |
| 50 | rw [show inner ℂ (J (P (hat g))) (J (P (hat g))) = inner ℂ (P (hat g)) (P (hat g)) from |
| 51 | LinearIsometry.inner_map_map (⟨J.toLinearMap, I.acts.scale⟩ : X.operators.H →ₗᵢ[ℂ] V.H) _ _] |
| 52 | exact I.inner_eq Y.linked ht hi hP hP _ _ |
| 53 | have hu : inner ℂ A A=inner ℂ B B := by |
| 54 | apply Eq.trans (tp _ x hx) |
| 55 | rw [hw]; exact boundary_tilt (hF (n+n)) (spectra h.I) x.2 x.2 _ |
| 56 | (warmer (n+n) (etched (Work.C24.ordered hx.1 hx.1))) f f hf hf |
| 57 | have hp := closer x.2 hx.1 n |
| 58 | let u := dawn (Bid.bothH x.2 (0:Heights n)) |
| 59 | have he : u∈ shores (n+n) := by |
| 60 | obtain ⟨he,hh⟩ := tendsto_nhdsWithin_iff.mp hp |
| 61 | exact (solid_fields _).mem_of_tendsto he hh |
| 62 | obtain ⟨Ψ,hΨ,e⟩ := I.smears n v |
| 63 | have hv : Tendsto (hot Y.bits v (hat g)) (edgeFilter n) (𝓝 B) := by |
| 64 | unfold B; rw [extends_unique v hP hΨ]; exact e _ _ Y.linked _ |
| 65 | have hh := tendsto_const_nhds (x:=A) |>.inner (𝕜:=ℂ) hv |
| 66 | have ha : Tendsto (fun y : ℝ≥0 × Heights n => Q y.2 (hat g)) (edgeFilter n) (𝓝 (Q 0 (hat g))) := |
| 67 | ((D (n+n)).tends (hF _) _ _ u he).tendsto.comp hp |
| 68 | have hb : inner ℂ A B=inner ℂ B B := by |
| 69 | refine (tendsto_nhds_unique_of_eventuallyEq hh ha ((heights_valid n).mono fun y hy => tp (hat g) y hy)).trans ?_ |
| 70 | rw [hw]; unfold Q |
| 71 | rw [boundary_tilt (K:=C₀) (hF _) (spectra h.I) _ _ _ he f g hf hg,chilled_zero] |
| 72 | apply sub_eq_zero.mp; change A-B=0 |
| 73 | apply (inner_self_eq_zero (𝕜:=ℂ)).mp |
| 74 | rw [inner_sub_left, inner_sub_right, inner_sub_right,hu, hb, ← inner_conj_symm B A, hb, |
| 75 | inner_conj_symm]; simp |
| 76 | |
| 77 | lemma hot_cont (B : Small S V) (v : Fin n → S.Union) {x : ℝ≥0 × Heights n} (hx : x∈margins n) : |
| 78 | Continuous fun f : Joint n => hot B v f x := by |
| 79 | let M := (∏ i, ‖B.bar x.1 (v i)‖)*‖V.omega‖ |
| 80 | have hp (f : Joint n) : ‖hot B v f x‖ ≤ M * weight f := by |
| 81 | rw [weight_eq, ← integral_const_mul] |
| 82 | apply norm_integral_le_of_norm_le (f.integrable.norm.const_mul M) |
| 83 | refine ae_of_all _ fun i => ?_ |
| 84 | rw [norm_smul]; exact mul_comm M ‖f i‖ ▸ |
| 85 | mul_le_mul_of_nonneg_left ((Work.C23.shot_control B x.1 n v x.2 hx.2).2 _) (norm_nonneg _) |
| 86 | apply continuous_iff_continuousAt.mpr; intro t |
| 87 | apply Metric.tendsto_nhds.mpr; intro ε hε |
| 88 | have hh : Continuous fun f : Joint n => M * weight (f-t) := |
| 89 | continuous_const.mul (weight_cont.comp (continuous_id.sub continuous_const)) |
| 90 | filter_upwards [(hh.tendsto t).eventually (gt_mem_nhds (show M*weight (t-t)<ε by simpa using hε))] |
| 91 | with u hu |
| 92 | rw [dist_eq_norm,show hot B v u x-hot B v t x=hot B v (u-t) x from ?_] |
| 93 | · exact (hp (u-t)).trans_lt hu |
| 94 | unfold hot; rw [← integral_sub (hot_int B v u hx) (hot_int B v t hx)]; simp [sub_smul] |
| 95 | |
| 96 | lemma rangeClosed (I : Attachment X V J) : IsClosed (J.range : Set V.H) := |
| 97 | (⟨J.toLinearMap, I.acts.scale⟩ : X.operators.H →ₗᵢ[ℂ] V.H).isometry.isUniformInducing.isComplete_range.isClosed |
| 98 | |
| 99 | lemma vector_in (I : Attachment X V J) (h : Show.Reveals R X.spin X.J Y W) |
| 100 | (ht : Bid.Hull Y.bits Y.lift X.J) (hi : Y.lift.NonTangentialFree W) |
| 101 | (v : Fin n → S.Union) (x : ℝ≥0 × Heights n) (hx : x∈margins n) |
| 102 | (f : Joint n) : hot Y.bits v f x ∈ J.range := by |
| 103 | let g j := Probe.cap j (port f) |
| 104 | obtain ⟨P,hP,-⟩ := I.smears n v |
| 105 | have hh j : hot Y.bits v (hat (g j)) x ∈ J.range := |
| 106 | ⟨_,(vector_cooled I h ht hi v x hx P hP (g j) (Probe.finite_cap j)).symm⟩ |
| 107 | have he : Tendsto (fun j => hat (g j)) atTop (𝓝 f) := by |
| 108 | simpa only [Function.comp_def,g,Probe.travels] using! (hat.continuous.tendsto (port f)).comp (persistent (port f)) |
| 109 | exact (rangeClosed I).mem_of_tendsto (((hot_cont Y.bits v hx).tendsto f).comp he) (Eventually.of_forall hh) |
| 110 | |
| 111 | lemma shot_in (I : Attachment X V J) (h : Show.Reveals R X.spin X.J Y W) |
| 112 | (ht : Bid.Hull Y.bits Y.lift X.J) (hi : Y.lift.NonTangentialFree W) |
| 113 | (v : Fin n → S.Union) (x : ℝ≥0 × Heights n) (hx : x∈margins n) |
| 114 | (q : Points n) : Y.bits.shot x.1 n v x.2 q ∈ J.range := by |
| 115 | have hJ : J.rangeᗮᗮ=J.range := by |
| 116 | rw [Submodule.orthogonal_orthogonal_eq_closure, (rangeClosed I).submodule_topologicalClosure_eq] |
| 117 | rw [← hJ] |
| 118 | apply (Submodule.mem_orthogonal ..).mpr; intro u hu |
| 119 | let f := Y.bits.shot x.1 n v x.2 |
| 120 | have hg := (innerSL ℂ u).continuous.comp (Work.C23.shot_control Y.bits x.1 n v x.2 hx.2).1 |
| 121 | refine congr_fun (Work.C15.eq_of_tests (fun y => inner ℂ u (f y)) (fun _ => 0) hg continuous_const (fun g => ?_)) q |
| 122 | have hv : inner ℂ u (hot Y.bits v g x)=0 := (Submodule.mem_orthogonal' ..).mp hu _ (vector_in I h ht hi _ _ hx g) |
| 123 | simp only [zero_mul,integral_zero]; rw [← hv, hot, ← integral_inner (hot_int Y.bits v g hx)] |
| 124 | simp only [inner_smul_right,f]; simp_rw [mul_comm] |
| 125 | end YM.EveryPhase |