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.Slice.Gate |
| 2 | |
| 3 | /-! |
| 4 | # Proof of seam reflection positivity for actual Wilson lattice |
| 5 | |
| 6 | Works for all nonnegative beta. Integrals justified before domination. |
| 7 | Never replace crossing links in a probe: it must be measurable, strict. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.Slice |
| 12 | open Function Set Filter MeasureTheory |
| 13 | open Lattice Wilson Cells Analysis |
| 14 | open scoped Topology BigOperators Matrix.Norms.Frobenius ComplexOrder ComplexConjugate |
| 15 | variable {n : Side} {G : Gauge} (C : Cut n) (β : ℝ) |
| 16 | |
| 17 | private lemma area_cont (u : Posts C G) : Continuous (area C β u) := by |
| 18 | unfold area |
| 19 | refine continuous_finsetProd _ ?_; intro i _ |
| 20 | have he : Continuous (reader C u) := by |
| 21 | have hv := (continuous_follow C (G := G)).comp (show Continuous fun v : Open C G => ((u, (1 : Doors C G)), v, v) from by fun_prop) |
| 22 | exact hv |
| 23 | have hx (i : Per n) : Continuous (fun p : Open C G => reader C u p i) := (continuous_apply i).comp he |
| 24 | have H := (weight_cont C.pos (n := n) (G := G) β).comp (show Continuous |
| 25 | (fun p : Open C G => ((reader C u p i).1,(reader C u p (i.val+1)).1,(reader C u p i).2)) from |
| 26 | (hx _).fst.prodMk ((hx _).fst.prodMk (hx _).snd)) |
| 27 | exact H |
| 28 | |
| 29 | private def factors (F : Config G n → ℂ) (u : Posts C G) (x : Open C G) := |
| 30 | (area C β u x : ℂ) * F (chain C.pos (reader C u x)) |
| 31 | |
| 32 | private lemma fm (F : Config G n → ℂ) (H : Interior C.sector F) (u : Posts C G) : Measurable (factors C β F u) := by |
| 33 | refine ((Complex.continuous_ofReal.comp (area_cont C β u)).measurable).mul (H.borel.comp ?_) |
| 34 | apply Continuous.measurable |
| 35 | apply (chain_cont C.pos).comp |
| 36 | exact (continuous_follow C).comp (show Continuous fun v : Open C G => ((u,(1 : Doors C G)),v,v) from by fun_prop) |
| 37 | |
| 38 | private def terms (F : Config G n → ℂ) (i : Config G n) := F i * star (F (C.pullC G i)) |
| 39 | private def examines (F : Config G n → ℂ) (p : Dwelling C G) : ℂ := |
| 40 | let v := chain C.pos (follow C p) |
| 41 | (bare β v : ℂ)*terms C F v |
| 42 | |
| 43 | private lemma tall (F : Config G n → ℂ) (H : Interior C.sector F) {μ : Measure (Config G n)} [IsFiniteMeasure μ] : |
| 44 | Integrable (terms C F) μ := by |
| 45 | obtain ⟨c,hc⟩ := H.cost |
| 46 | refine Integrable.of_bound (f := (terms C F)) ?_ (c*c) ?_ |
| 47 | · exact (H.borel.mul ((continuous_star (R := ℂ)).measurable.comp (H.borel.comp (continuous_pull _ _).measurable))).aestronglyMeasurable |
| 48 | exact Eventually.of_forall fun x => calc |
| 49 | _ ≤ _ := norm_mul_le .. |
| 50 | _ ≤ _ := mul_le_mul (hc _) ((norm_star _).trans_le (hc _)) (norm_nonneg _) ((norm_nonneg _).trans (hc x)) |
| 51 | |
| 52 | private lemma readers (F : Config G n → ℂ) (H : Interior C.sector F) (P : Dwelling C G) : |
| 53 | examines C β F P = (rim C β P : ℂ)*factors C β F P.1.1 P.2.1 * star (factors C β F P.1.1 P.2.2) := by |
| 54 | unfold examines terms factors |
| 55 | dsimp only |
| 56 | rw [includes, H.localSites _ _ (first_eye C P),H.localSites _ _ (second_eye C P)]; simp; ring |
| 57 | |
| 58 | private lemma link_positive (F : Config G n → ℂ) (H : Interior C.sector F) (hβ : 0 ≤ β) (u : Posts C G) : |
| 59 | 0 ≤ ∫ v : Open C G × Open C G, (∫ d : Doors C G, examines C β F ((u,d),v) ∂doorM G C) ∂((fieldM G C).prod (fieldM G C)) := by |
| 60 | simp_rw [readers C β F H, integral_mul_const]; |
| 61 | let f := factors C β F u |
| 62 | have h : ∃ c : ℝ, ∀ x, ‖star (f x)‖ ≤ c := by |
| 63 | obtain ⟨D,hD⟩ := (area_cont C β u).bounded_above_of_compact_support (HasCompactSupport.of_compactSpace _) |
| 64 | obtain ⟨E,hE⟩ := H.cost |
| 65 | refine ⟨D*E,fun x => ?_⟩ |
| 66 | unfold f factors; rw [norm_star,norm_mul,Complex.norm_real] |
| 67 | exact mul_le_mul (hD x) (hE _) (norm_nonneg _) ((norm_nonneg (area C β u x)).trans (hD _)) |
| 68 | obtain ⟨c,hc⟩ := h |
| 69 | haveI : @BorelSpace (Open C G) (MetricSpace.toPseudoMetricSpace (α := Open C G)).toUniformSpace.toTopologicalSpace (inferInstance : MeasurableSpace _) := instBorelSpaceOpen C |
| 70 | haveI : @SecondCountableTopology (Open C G) (MetricSpace.toPseudoMetricSpace (α := Open C G)).toUniformSpace.toTopologicalSpace := instSecondCountableTopologyOpen _ |
| 71 | haveI : @CompactSpace (Open C G) (MetricSpace.toPseudoMetricSpace (α := Open C G)).toUniformSpace.toTopologicalSpace := (inferInstance : CompactSpace (Open C G)) |
| 72 | have hv := NNKernel.integrated (X := Open C G) (fieldM G C) (portPos C β u hβ) (portContinuous C β u) |
| 73 | (f := fun i => star (f i)) ((continuous_star (R := ℂ)).measurable.comp (fm C β F H u)) hc |
| 74 | simp only [star_star] at hv; exact hv |
| 75 | |
| 76 | -- if need Fubini exchange a.e. enough. |
| 77 | private lemma insidePos (F : Config G n → ℂ) (H : Interior C.sector F) (hβ : 0 ≤ β) |
| 78 | (hv : Integrable (examines C β F) (dwellM G C)) : |
| 79 | 0 ≤ ∫ x, examines C β F x ∂dwellM G C := by |
| 80 | unfold dwellM at hv ⊢; rw [integral_prod _ hv] |
| 81 | let m := ((fieldM G C).prod (fieldM G C)) |
| 82 | let f := examines C β F |
| 83 | have hi : Integrable (fun y : Posts C G × Doors C G => ∫ x, f (y,x) ∂m) ((postM G C).prod (doorM G C)) := |
| 84 | Integrable.integral_prod_left hv |
| 85 | change 0 ≤ ∫ y : Posts C G × Doors C G, (∫ x, f (y,x) ∂m) ∂((postM G C).prod (doorM G C)) |
| 86 | rw [integral_prod _ hi] |
| 87 | -- need reorder at μ-almost every post. |
| 88 | apply integral_nonneg_of_ae |
| 89 | have hj : Integrable (fun x : Posts C G × Doors C G × Open C G × Open C G => f ((x.1,x.2.1),x.2.2)) |
| 90 | ((postM G C).prod ((doorM G C).prod m)) := by |
| 91 | have hμ := measurePreserving_prodAssoc (postM G C) (doorM G C) m |
| 92 | exact hμ.symm.integrable_comp_of_integrable hv |
| 93 | have hL : ∀ᵐ u ∂postM G C, Integrable (fun x : Doors C G × Open C G × Open C G => f ((u,x.1),x.2)) ((doorM G C).prod m) := |
| 94 | hj.prod_right_ae |
| 95 | filter_upwards [hL] with u hu |
| 96 | rw [integral_integral_swap hu]; exact link_positive C β F H hβ u |
| 97 | |
| 98 | theorem reflected_positive (hβ : 0 ≤ β) : Positive G β C := by |
| 99 | intro F H |
| 100 | have HT : Integrable (fun v => (bare β v : ℂ)*terms C F v) (prior G n) := by |
| 101 | obtain ⟨c,hc⟩ := (bare_cont (G := G) (n := n) β).bounded_above_of_compact_support (HasCompactSupport.of_compactSpace _) |
| 102 | apply Integrable.bdd_mul (tall C F H) |
| 103 | (Complex.continuous_ofReal.measurable.comp (bare_cont β).measurable).aestronglyMeasurable |
| 104 | exact Eventually.of_forall fun x => show ‖(bare β x : ℂ)‖ ≤ c from by simp only [Complex.norm_real]; exact hc _ |
| 105 | change 0 ≤ moment β (terms C F) |
| 106 | rw [moment_formula β (terms C F) (tall C F H)] |
| 107 | have hm (f : Config G n → ℂ) (h' : Integrable f (prior G n)) : |
| 108 | (∫ p, f (chain C.pos (follow C p)) ∂(dwellM G C)) = ∫ p, f p ∂(prior G n) := by |
| 109 | have hp := board (G := G) C |
| 110 | have he := integral_map (f := f) hp.aemeasurable (by rw [hp.map_eq]; exact h'.aestronglyMeasurable) |
| 111 | rw [hp.map_eq] at he; exact he.symm |
| 112 | rw [← hm _ HT] |
| 113 | have hp := partition_pos (G := G) (n := n) β |
| 114 | exact mul_nonneg (by positivity) (insidePos C β F H hβ ((board C).integrable_comp_of_integrable HT)) |
| 115 | end YM.Slice |