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.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Ford |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Hood |
| 3 | |
| 4 | /-! |
| 5 | # Normalized tags, products |
| 6 | No meas space imposed on tags. F decomposition reads physical ar. -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.ConnectedActivityE6 |
| 10 | open Filter Function Lattice RG RG.Patch Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory Matrix |
| 11 | open Push Push.AbsoluteSums Precision Exterior Shell Channel Next.Fluctuations SectorMeasure Oriented Work.E03 |
| 12 | open Bloch Laurent Work.F03 Progress.StationaryScenes Bid SliceRows Control Window Census Green Mask Pulse Itinerary Coat |
| 13 | open Packets Presented Sector SliceRows.DataKernel LocalRows Footprint Raw ProbabilityTheory Poll Pond |
| 14 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 15 | variable {Ω κ ι : Type} [Fintype ι] |
| 16 | |
| 17 | namespace Pond |
| 18 | section |
| 19 | variable [MeasurableSpace Ω] [Nonempty Ω] (μ : ι → Measure Ω) [hμ : ∀ i, IsProbabilityMeasure (μ i)] |
| 20 | variable (S : Finset κ) (Z : κ → Finset ι) |
| 21 | private def snatch (X : Finset ι) (z : ι→Ω) := fun i:↥X=> z i.val |
| 22 | private def replenish (X : Finset ι) (z : ↥X→Ω) := fun i:ι=> if h : i∈X then z ⟨i,h⟩ else Classical.arbitrary _ |
| 23 | omit [Fintype ι] [MeasurableSpace Ω] in |
| 24 | private lemma returns (X : Finset ι) (z : ↥X→Ω) : snatch X (replenish X z)=z := by ext j; simp [snatch,replenish] |
| 25 | omit [Fintype ι] [Nonempty Ω] in |
| 26 | private lemma nmeas (X : Finset ι) : Measurable (snatch (Ω:=Ω) X) := by unfold snatch; fun_prop |
| 27 | omit [Fintype ι] in |
| 28 | private lemma rmeas (X : Finset ι) : Measurable (replenish (Ω:=Ω) X) := by |
| 29 | apply measurable_pi_lambda; intro i; unfold replenish; split_ifs |
| 30 | · fun_prop |
| 31 | exact measurable_const |
| 32 | include μ |
| 33 | omit [Nonempty Ω] in |
| 34 | private lemma caught (X : Finset ι) : MeasurePreserving (snatch X) (Measure.pi μ) |
| 35 | (Measure.pi (fun i=> μ i.val)) := by convert! measurePreserving_fst.comp (measurePreserving_piEquivPiSubtypeProd μ (fun i=>i∈X)) |
| 36 | omit [Nonempty Ω] in |
| 37 | private lemma slide (X Y : Finset ι) (h : Disjoint X Y) : MeasurePreserving (fun z : ι→Ω=> (snatch X z,snatch Y z)) |
| 38 | (Measure.pi μ) ((Measure.pi (fun i : ↥X=> μ i.val)).prod (Measure.pi (fun i : ↥Y=> μ i.val))) := by |
| 39 | have hg : IndepFun (snatch (Ω:=Ω) X) (snatch Y) (Measure.pi μ) := |
| 40 | (iIndepFun_pi (μ:=μ) (X:=fun _ z=>z) (fun i=> aemeasurable_id)).indepFun_finset X Y h (fun i=> measurable_pi_apply _) |
| 41 | have hp := IndepFun.map_prod_eq_prod_map_map (nmeas X).aemeasurable (nmeas Y).aemeasurable hg |
| 42 | rw [(caught μ X).map_eq, (caught μ Y).map_eq] at hp; exact ⟨(nmeas X).prodMk (nmeas Y),hp⟩ |
| 43 | |
| 44 | lemma marched (h : (S:Set κ).PairwiseDisjoint Z) (f : κ → (ι→Ω) → ℝ) (hf : ∀ i∈S, Measurable (f i)) |
| 45 | (hg : ∀ i∈S,∀ x y, (∀ j∈Z i,x j=y j) → f i x=f i y) : |
| 46 | (∫ u, ∏ i∈S,f i u ∂Measure.pi μ)= ∏ i∈S, ∫ u, f i u ∂Measure.pi μ := by |
| 47 | suffices H : ∀ V : Finset κ, V⊆ S → (∫ u, ∏ i∈V,f i u ∂Measure.pi μ)= ∏ i∈V, ∫ u,f i u ∂Measure.pi μ by |
| 48 | exact H S (Finset.Subset.refl _) |
| 49 | intro V; induction V using Finset.induction_on with |
| 50 | | empty => intro; simp |
| 51 | | @insert i v hi ih => |
| 52 | intro hx |
| 53 | have hu := (subset_insert i v).trans hx; have hs : i∈ S := hx (mem_insert_self ..) |
| 54 | let Y := v.biUnion Z |
| 55 | simp_rw [prod_insert hi]; rw [← ih hu]; refine indexed_prod (caught μ (Z i)) (caught μ Y) (slide μ _ _ ?_) (replenish _) (replenish _) |
| 56 | (rmeas _) (rmeas _) (returns _) (returns _) (f:=f i) ?_ (g:=fun x=> ∏ j∈v,f j x) ?_ |
| 57 | (hf _ hs) (Finset.measurable_fun_prod _ fun j hj=> hf _ (hu hj)) |
| 58 | · refine Finset.disjoint_left.mpr fun z hz ha=> ?_ |
| 59 | obtain ⟨j,hj,ha⟩ := mem_biUnion.mp ha |
| 60 | exact Finset.disjoint_left.mp (h hs (hu hj) fun H=>hi (H.symm ▸ hj)) hz ha |
| 61 | · exact fun x y hH=> hg _ hs x y fun j hj=> congr_fun hH ⟨j,hj⟩ |
| 62 | exact fun x y hH=> prod_congr rfl fun j hj => hg _ (hu hj) x y fun i hk=> congr_fun hH ⟨i, mem_biUnion.mpr ⟨j,hj,hk⟩⟩ |
| 63 | end |
| 64 | |
| 65 | section |
| 66 | variable [Fintype Ω] [Nonempty Ω] |
| 67 | |
| 68 | def likely {ι : Type} [Fintype ι] (z : ι→ℝ) := (Fintype.card ι:ℝ)⁻¹*∑ i, z i |
| 69 | |
| 70 | private lemma choice_kernel (X : Finset ι) (f g : (ι→Ω)→ℝ) |
| 71 | (hf : ∀ (u v : ι→Ω), (∀ i∈X,u i=v i) → f u=f v) |
| 72 | (hg : ∀ (u v : ι→Ω), (∀ i,i∉X→ u i=v i) → g u=g v) : |
| 73 | likely (fun u=> f u*g u)=likely f*likely g := by |
| 74 | let e:=Equiv.piEquivPiSubtypeProd (fun i=> i∈X) (fun _=> Ω) |
| 75 | let F:= fun u=> f (e.symm (u,fun _=> Classical.arbitrary _)); let G:= fun v=> g (e.symm ((fun _=>Classical.arbitrary _),v)) |
| 76 | have he i j : f (e.symm (i,j))=F i := hf _ _ fun a ha => by |
| 77 | change ((if h:a∈X then i _ else _))=(if h:a∈X then i _ else _); rw [dif_pos ha, dif_pos ha] |
| 78 | have hh i j : g (e.symm (i,j))=G j := hg _ _ fun a ha=> by |
| 79 | change ((if h:a∈X then _ else j _))=(if h:a∈X then _ else j _); rw [dif_neg ha,dif_neg ha] |
| 80 | let A := ↥X→Ω; let B := (Subtype fun i => i∉X)→Ω |
| 81 | have hp : (Fintype.card (ι→Ω):ℝ)= Fintype.card A * (Fintype.card B:ℝ) := by rw [Fintype.card_congr e,Fintype.card_prod]; norm_cast |
| 82 | have hv (z : (ι→Ω)→ℝ) : ∑ u,z u= ∑ i : A,∑ j : B,z (e.symm (i,j)) := by rw [← Equiv.sum_comp e.symm z,Fintype.sum_prod_type] |
| 83 | have hb : (Fintype.card B:ℝ) ≠ 0 := by unfold B; positivity |
| 84 | have ha : (Fintype.card A:ℝ) ≠ 0 := by unfold A; positivity |
| 85 | unfold likely; simp_rw [hp,hv]; simp_rw [he,hh,← Finset.mul_sum,sum_const,card_univ,nsmul_eq_mul,← Finset.sum_mul,← Finset.mul_sum] |
| 86 | field_simp |
| 87 | |
| 88 | lemma jurisdictions (S : Finset κ) (X : κ → Finset ι) (h : (S:Set κ).PairwiseDisjoint X) (f : κ → (ι→Ω) → ℝ) |
| 89 | (he : ∀ i∈S,∀ x y,(∀ j∈X i,x j=y j) → f i x=f i y) : likely (fun x=> ∏ i∈S,f i x) =∏ i∈S,likely (f i) := by |
| 90 | induction S using Finset.induction_on with |
| 91 | | empty => simp [likely] |
| 92 | | @insert i v hi ih => |
| 93 | simp_rw [prod_insert hi]; rw [← ih (h.subset (subset_insert ..)) (fun i hh => he i ((subset_insert ..) hh))] |
| 94 | refine choice_kernel (X i) _ _ (he i (mem_insert_self ..)) ?_ |
| 95 | exact fun x y hH=> prod_congr rfl fun j hj=> he _ ((subset_insert ..) hj) x y fun a ha=> hH a (fun hx=> Finset.disjoint_left.mp |
| 96 | (h (mem_insert_self ..) ((subset_insert ..) hj) fun H=>hi (H.symm ▸ hj)) hx ha) |
| 97 | end |
| 98 | end Pond |
| 99 | end YM.ConnectedActivityE6 |