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.PertExtension.OrbTree |
| 2 | import YM.Wilson.Law |
| 3 | import Mathlib.MeasureTheory.Integral.Prod |
| 4 | import Mathlib.Topology.Algebra.Module.WeakDual |
| 5 | |
| 6 | /-! Normalized Wilson law on inversion quotient and exact elimination of paths |
| 7 | through a tree **on gauge-invariant integrals**. Probability Haar once per |
| 8 | unoriented inversion orbit. Leave just the common global gauge unfixed. No |
| 9 | Faddeev–Popov factor on this slice, including with the inversion convention. |
| 10 | (Measures used at finite regulators only.) -/ |
| 11 | set_option autoImplicit false |
| 12 | set_option maxHeartbeats 3000000 |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | noncomputable section |
| 15 | namespace YM.PertExtension.Orb |
| 16 | open Set Function MeasureTheory Wilson Lattice Filter |
| 17 | open scoped Topology Matrix.Norms.Frobenius NNReal ENNReal BigOperators Classical |
| 18 | |
| 19 | private def haar (G : Gauge)(I : Type) [Fintype I] := Measure.pi fun _ : I=>G.probHaar |
| 20 | local notation "Haar" => haar |
| 21 | private instance (G : Gauge)(I : Type)[Fintype I]:IsProbabilityMeasure (Haar G I) := by unfold haar;infer_instance |
| 22 | |
| 23 | section Split |
| 24 | variable {I K : Type*} [Fintype I] [MeasurableSpace K] |
| 25 | variable (μ : Measure K)[SigmaFinite μ](p : I→Prop) |
| 26 | local notation "L" => {x:I//p x} |
| 27 | local notation "M" => {x:I//¬p x} |
| 28 | local notation "π₁" => (Measure.pi fun _ : L=>μ) |
| 29 | local notation "π₂" => (Measure.pi fun _ : M=>μ) |
| 30 | private def assembly (x : (L → K) × (M → K)) (e : I) := if h:p e then x.1 ⟨e,h⟩ else x.2 ⟨e,h⟩ |
| 31 | private lemma assembly_meas : Measurable (assembly (K:=K) p) := by |
| 32 | apply measurable_pi_lambda; intro e; unfold assembly;split<;>fun_prop |
| 33 | private lemma assembly_map : MeasurePreserving (assembly p) ((π₁).prod π₂) (Measure.pi fun _ : I=>μ) := by |
| 34 | have hf := assembly_meas (K:=K) p |
| 35 | refine ⟨hf,Eq.symm ?_⟩; apply Measure.pi_eq; intro t ht |
| 36 | rw [Measure.map_apply hf (MeasurableSet.univ_pi ht)] |
| 37 | have he : assembly p ⁻¹' (Set.pi univ t) = (Set.pi univ (fun i:L=>t i)) ×ˢ ((Set.pi univ (fun i:M=>t i))) := by |
| 38 | ext ⟨x,y⟩ |
| 39 | simp only [Set.mem_prod, Set.mem_pi,mem_preimage,mem_univ,true_implies] |
| 40 | exact ⟨fun h=>⟨fun i=> by simpa only [assembly,dif_pos i.property] using h (↑i),fun i=> by simpa only [assembly,dif_neg i.property] using h (↑i)⟩, |
| 41 | fun ⟨h1,h2⟩ i=>by unfold assembly;split |
| 42 | next h=>exact h1 ⟨i,h⟩ |
| 43 | next h=>exact h2 ⟨i,h⟩⟩ |
| 44 | rw [he,Measure.prod_prod,Measure.pi_pi,Measure.pi_pi]; exact Fintype.prod_subtype_mul_prod_subtype p (fun i=>μ (t i)) |
| 45 | |
| 46 | omit [MeasurableSpace K] μ in |
| 47 | @[fun_prop] private lemma assembly_cont [TopologicalSpace K] : Continuous (assembly (K:=K) p) := by apply continuous_pi; intro e; unfold assembly; split <;> fun_prop |
| 48 | end Split |
| 49 | |
| 50 | section GaugeEliminate |
| 51 | variable (G : Gauge){n : Side} |
| 52 | |
| 53 | @[fun_prop] private lemma split_cont : Continuous (fun x : (Trees n → G.El) × (Cotree n → G.El)=>splitLink x.1 x.2) := by |
| 54 | apply continuous_pi;intro i; unfold splitLink;split <;> fun_prop |
| 55 | private lemma split_map : MeasurePreserving (fun x=>(splitLink x.1 x.2)) ((haar G (Trees n)).prod (haar G (Cotree n))) (haar G (OEdge n)) := by |
| 56 | exact assembly_map G.probHaar (Branch (n:=n)) |
| 57 | |
| 58 | @[fun_prop] lemma lift_cont : Continuous (liftLinks (K:=G.El) (n:=n)) := by |
| 59 | apply continuous_pi; intro i; unfold liftLinks;split<;>fun_prop |
| 60 | @[fun_prop] lemma fresh_cont (b : Trees n→G.El) : Continuous (fresh b) := by apply continuous_pi; intro i; unfold fresh; fun_prop |
| 61 | @[fun_prop] lemma fresh_meas (b : Trees n→G.El) : Measurable (fresh b) := by apply measurable_pi_lambda; intro i; unfold fresh; fun_prop |
| 62 | lemma rotated (b : Trees n → G.El): MeasurePreserving (fresh b) (Haar G (Cotree n)) (Haar G (Cotree n)) := |
| 63 | measurePreserving_pi _ _ (fun i=> (measurePreserving_mul_right _ _).comp (measurePreserving_mul_left _ _)) |
| 64 | |
| 65 | lemma average_eq {V : Type*}[NormedAddCommGroup V][NormedSpace ℝ V][CompleteSpace V] |
| 66 | (O : Config G n → V)(h : Continuous O) (he : Even n.val) |
| 67 | (hu : ∀ t : Site n → G.El, (∀ x,t (-x)=t x) → ∀ u, O (gauge t u) = O u) : |
| 68 | (∫ u,O (liftLinks u) ∂Haar G (OEdge n)) = ∫ v,O (links (fun _=>1) v) ∂Haar G (Cotree n) := by |
| 69 | let f := fun x : ((Trees n→G.El)×(Cotree n→G.El))=>O (links x.1 x.2);let F:=fun v=>O (links (fun _=>1) v) |
| 70 | have hf : Continuous f:=(h.comp (lift_cont G)).comp (split_cont G) |
| 71 | have h0 : Continuous F:=show Continuous (f ∘ (fun v : Cotree n→G.El => (1,v))) from hf.comp (continuous_const.prodMk continuous_id) |
| 72 | let m:=(Haar G (Trees n)).prod (Haar G (Cotree n)) |
| 73 | calc |
| 74 | (∫ u,O (liftLinks u) ∂Haar G (OEdge n))=∫ x, f x ∂m := by |
| 75 | rw [← MeasurePreserving.map_eq (split_map G (n:=n))] |
| 76 | exact integral_map ((assembly_meas Branch).aemeasurable) ((h.comp (lift_cont G)).aestronglyMeasurable) |
| 77 | _ = ∫ b,∫ u, f (b,u) ∂Haar G (Cotree n) ∂Haar G (Trees n) := integral_prod _ (hf.integrable_of_hasCompactSupport <| .of_compactSpace f) |
| 78 | _ = ∫ _,∫ u, F u ∂Haar G (Cotree n) ∂Haar G (Trees n) := by |
| 79 | apply integral_congr_ae (Eventually.of_forall ?_); intro b |
| 80 | have heq u : f (b,u)=F (fresh b u):=(hu _ (frame_neg b) (links b u)).symm.trans (congr_arg O (alignment he ..)) |
| 81 | simp_rw [heq]; nth_rw 2 [← (rotated G b).map_eq];exact (integral_map ((fresh_meas G b).aemeasurable) h0.aestronglyMeasurable).symm |
| 82 | _ = ∫ v,O (links (fun _=>1) v) ∂Haar G (Cotree n) := by simp [F] |
| 83 | end GaugeEliminate |
| 84 | end YM.PertExtension.Orb |