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.Compact.State |
| 2 | |
| 3 | /-! |
| 4 | # Borel indicators share one projection |
| 5 | |
| 6 | Common approx wrt sums of finitely many regular finite measures. |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.Spectral.Rep |
| 11 | open MeasureTheory Measure Filter Set Function Complex |
| 12 | open scoped Topology NNReal ENNReal Real BigOperators InnerProductSpace |
| 13 | variable {X : Type*} [TopologicalSpace X] [T2Space X] [MeasurableSpace X] [BorelSpace X] [CompactSpace X] |
| 14 | {H : Hilbert} (A : CC X →⋆ₐ[ℂ] H.Op) |
| 15 | |
| 16 | def read (v : H) : CC X →ₗ[ℂ] H := ((ContinuousLinearMap.apply ℂ H.space v).toLinearMap).comp A.toAlgHom.toLinearMap |
| 17 | abbrev L (μ : Measure X) := Lp ℂ 2 μ |
| 18 | abbrev name (μ : Measure X) [IsFiniteMeasure μ] : CC X →L[ℂ] L μ := ContinuousMap.toLp 2 μ ℂ |
| 19 | |
| 20 | theorem frame (μ : Measure X) [IsFiniteMeasure μ] [Regular μ] : DenseRange (name μ) := ContinuousMap.toLp_denseRange ℂ μ ℂ (by norm_num) |
| 21 | |
| 22 | theorem weight (v : H) (f : CC X) : ‖read A v f‖=‖name (sees A v) f‖ := by |
| 23 | let μ := sees A v |
| 24 | let x := name μ f |
| 25 | change ‖A f v‖=‖x‖ |
| 26 | suffices he : inner ℂ (A f v) (A f v)=inner ℂ x x by |
| 27 | rw [@norm_eq_sqrt_re_inner ℂ,@norm_eq_sqrt_re_inner ℂ,he] |
| 28 | rw [← squares,atState,← pairings,L2.inner_def]; apply integral_congr_ae |
| 29 | have he : ∀ᵐ a ∂μ, x a=f a := ContinuousMap.coeFn_toLp .. |
| 30 | filter_upwards [he] with a ha |
| 31 | change star (f a)*f a=inner ℂ (x a) (x a) |
| 32 | rw [ha,RCLike.inner_apply]; exact mul_comm _ _ |
| 33 | |
| 34 | def J (v : H) : L (sees A v) →L[ℂ] H.space := (read A v).extendOfNorm (name _).toLinearMap |
| 35 | lemma reads (v : H) (f : CC X) : J A v (name _ f)=A f v := |
| 36 | LinearMap.extendOfNorm_eq (frame _) ⟨1,fun f => show ‖read A v f‖ ≤ _ by rw [weight]; simp⟩ f |
| 37 | |
| 38 | lemma iso (v : H) : Isometry (J A v) := by |
| 39 | apply AddMonoidHomClass.isometry_of_norm |
| 40 | intro x |
| 41 | have he := (frame (sees A v)).equalizer ((J A v).continuous.norm) |
| 42 | (continuous_norm (E := L _)) (g := fun x => ‖J A v x‖) ?_ |
| 43 | · exact congr_fun he x |
| 44 | funext f |
| 45 | change ‖J A v (name _ f)‖ = _ |
| 46 | rw [reads]; exact weight .. |
| 47 | |
| 48 | lemma pair (v : H) (f g : L (sees A v)) : inner ℂ (J A v f) (J A v g)=inner ℂ f g := |
| 49 | LinearIsometry.inner_map_map (show L (sees A v) →ₗᵢ[ℂ] H from |
| 50 | { (J A v).toLinearMap with norm_map' := fun i => (iso A v).norm_map_of_map_zero (map_zero _) i }) f g |
| 51 | |
| 52 | def blob (μ : Measure X) [IsFiniteMeasure μ] {s : Set X} (h : MeasurableSet s) : L μ := |
| 53 | indicatorConstLp 2 h (measure_ne_top μ s) 1 |
| 54 | omit [TopologicalSpace X] [T2Space X] [BorelSpace X] [CompactSpace X] in |
| 55 | lemma slice {s t : Set X} (h : MeasurableSet s) (ht : MeasurableSet t) (μ : Measure X) [IsFiniteMeasure μ] : |
| 56 | inner ℂ (blob μ h) (blob μ ht) = ↑(μ.real (s∩t)) := by |
| 57 | rw [blob,L2.inner_indicatorConstLp_one]; unfold blob |
| 58 | rw [integral_congr_ae (ae_restrict_of_ae indicatorConstLp_coeFn), integral_indicator ht, restrict_restrict ht]; simp [inter_comm] |
| 59 | |
| 60 | def R (v : H) {s : Set X} (h : MeasurableSet s) := J A v (blob (sees A v) h) |
| 61 | |
| 62 | lemma everyone (v : H) : R A v (@MeasurableSet.univ X _)=v := by |
| 63 | unfold R |
| 64 | rw [show blob (sees A v) MeasurableSet.univ=name (sees A v) 1 from by |
| 65 | apply Lp.ext; apply EventuallyEq.trans indicatorConstLp_coeFn |
| 66 | rw [Set.indicator_univ]; exact (ContinuousMap.coeFn_toLp (sees A v) (𝕜 := ℂ) (1 : CC X)).symm,reads,map_one]; rfl |
| 67 | |
| 68 | lemma R_norm (v : H) {s} (h : MeasurableSet s) : ‖R A v h‖≤‖v‖ := by |
| 69 | have he : ‖R A v h‖^2=(sees A v).real s := by |
| 70 | rw [← inner_self_eq_norm_sq (𝕜 := ℂ), R,pair,slice h h, inter_self];rfl |
| 71 | apply (sq_le_sq₀ (norm_nonneg _) (norm_nonneg _)).1 |
| 72 | rw [he,← size A v] |
| 73 | exact measureReal_mono (subset_univ _) |
| 74 | |
| 75 | lemma shoots {s} (h : MeasurableSet s) (μ : Measure X) [IsFiniteMeasure μ] [Regular μ] : ∃ f : ℕ → CC X, |
| 76 | ∀ v : H, sees A v ≤ μ → Tendsto (fun n => A (f n) v) atTop (𝓝 (R A v h)) := by |
| 77 | obtain ⟨w,hw,hW⟩ := mem_closure_iff_seq_limit.mp (frame μ (blob μ h)) |
| 78 | choose f hf using hw |
| 79 | have hf := hW.congr' (Eventually.of_forall fun i => (hf i).symm) |
| 80 | refine ⟨f,fun v hv => ?_⟩ |
| 81 | simp_rw [← reads A v] |
| 82 | refine (J A v).continuous.continuousAt.tendsto.comp (f := fun i => name _ (f i)) ?_ |
| 83 | apply EMetric.tendsto_nhds.mpr |
| 84 | intro ε he |
| 85 | let B (μ : Measure X) [IsFiniteMeasure μ] n := edist (name μ (f n)) (blob μ h) |
| 86 | have hb (μ : Measure X) [IsFiniteMeasure μ] n : |
| 87 | B μ n=eLpNorm ((f n:X→ℂ) - s.indicator fun _ => 1) 2 μ := by |
| 88 | unfold B; rw [Lp.edist_def]; apply eLpNorm_congr_ae |
| 89 | exact (ContinuousMap.coeFn_toLp μ (f n)).sub indicatorConstLp_coeFn |
| 90 | apply (EMetric.tendsto_nhds.mp hf ε he).mono |
| 91 | intro n hn |
| 92 | change B (sees A v) n < ε |
| 93 | apply lt_of_le_of_lt _ (show B μ n < ε from hn) |
| 94 | rw [hb,hb]; exact eLpNorm_mono_measure _ hv |
| 95 | |
| 96 | def batch {s : Set X} (h : MeasurableSet s) : H.Op := LinearMap.mkContinuous (σ := RingHom.id ℂ) { |
| 97 | toFun := fun x : H => R A x h |
| 98 | map_add' := by |
| 99 | intro x y |
| 100 | obtain ⟨f,hf⟩ := shoots A h (sees A x + sees A y + sees A (x+y)) |
| 101 | have he := hf (x+y) (Measure.le_add_left le_rfl) |
| 102 | simp_rw [map_add] at he |
| 103 | exact tendsto_nhds_unique he ((hf x (Measure.le_add_right (Measure.le_add_right le_rfl))).add (hf y (Measure.le_add_right (Measure.le_add_left le_rfl)))) |
| 104 | map_smul' := by |
| 105 | intro c x |
| 106 | obtain ⟨f,hf⟩ := shoots A h (sees A x+sees A (c • x)) |
| 107 | have he := hf (c • x) (Measure.le_add_left le_rfl) |
| 108 | simp_rw [map_smul] at he |
| 109 | exact tendsto_nhds_unique he (tendsto_const_nhds.smul (hf x (Measure.le_add_right le_rfl))) } 1 (fun x => show ‖R A x h‖ ≤ 1*‖x‖ by |
| 110 | rw [one_mul]; exact R_norm A x h) |
| 111 | |
| 112 | lemma fact (M N : H.Op) (h : ∀ x, inner ℂ (M x) x= inner ℂ (N x) x) : M=N := by |
| 113 | apply sub_eq_zero.mp; apply ContinuousLinearMap.coe_injective |
| 114 | apply (inner_map_self_eq_zero (M-N).toLinearMap).mp |
| 115 | intro x; change inner ℂ (M x-N x) x=0 |
| 116 | rw [inner_sub_left,h,sub_self] |
| 117 | |
| 118 | lemma value (v : H) {s t : Set X} (h : MeasurableSet s) (ht : MeasurableSet t) : |
| 119 | inner ℂ (batch A h v) (batch A ht v)=↑((sees A v).real (s∩t)) := |
| 120 | (pair A v _ _).trans (slice h ht _) |
| 121 | lemma whole : batch A MeasurableSet.univ=ContinuousLinearMap.id ℂ _ := ContinuousLinearMap.ext (fun i => everyone A i) |
| 122 | lemma outer (v : H) {s : Set X} (h : MeasurableSet s) : inner ℂ (batch A h v) v=↑((sees A v).real s) := by |
| 123 | simpa [whole] using value A v h MeasurableSet.univ |
| 124 | lemma inner' (v : H) {s : Set X} (h : MeasurableSet s) : inner ℂ v (batch A h v)=↑((sees A v).real s) := by |
| 125 | simpa [inner_conj_symm] using congr_arg (starRingEnd ℂ) (outer A v h) |
| 126 | lemma refl {s : Set X} (h : MeasurableSet s) : (batch A h).adjoint=batch A h := by |
| 127 | apply fact; intro x; rw [ContinuousLinearMap.adjoint_inner_left,outer, inner'] |
| 128 | lemma joins {s t : Set X} (h : MeasurableSet s) (hv : MeasurableSet t) : |
| 129 | (batch A h).comp (batch A hv) = batch A (h.inter hv) := by |
| 130 | apply fact; intro x |
| 131 | rw [outer A _ (h.inter hv), ContinuousLinearMap.comp_apply, ← ContinuousLinearMap.adjoint_inner_right,refl,value, inter_comm] |
| 132 | lemma nobody : batch A MeasurableSet.empty=0 := by |
| 133 | ext1 x; change J A x (blob _ _)=0 |
| 134 | rw [blob,indicatorConstLp_empty,map_zero] |
| 135 | end YM.Spectral.Rep |