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.Contacts.Normal.Stage |
| 2 | |
| 3 | /-! |
| 4 | # Full normal dimensions and distinct-centroid sets |
| 5 | |
| 6 | Jeopardy at partially collapsed points when taking derivatives of partitions of unity |
| 7 | will be only on proper normal subspaces. We prove this in the integrations where some normal |
| 8 | coordinates are allowed to vary. Not a claim that the ambient lattice cutoff kernels agree |
| 9 | a.e. on any coincidence plane. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | set_option maxHeartbeats 600000 |
| 13 | noncomputable section |
| 14 | namespace YM.Contacts.Normal |
| 15 | open Function Filter Set Finset MeasureTheory Submodule |
| 16 | open scoped Topology Classical BigOperators InnerProductSpace MeasureTheory |
| 17 | variable {k : ℕ} {g f l : Group k} |
| 18 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 19 | {P : E →ₗᵢ[ℝ] Points k} |
| 20 | |
| 21 | /-- Internal coordinate for dimension calculation only. -/ |
| 22 | def omitPivot (g : Group k) (i : Fin k) : plane g →ₗ[ℝ] (g.erase i → E4) where |
| 23 | toFun x := fun j=> x.val j.val |
| 24 | map_add' _ _:= rfl |
| 25 | map_smul' _ _:= rfl |
| 26 | lemma omit_bijects {i : Fin k} (hi : i∈g) : Bijective (omitPivot g i) := by |
| 27 | let G:=g.erase i |
| 28 | constructor |
| 29 | · refine LinearMap.ker_eq_bot.mp (eq_bot_iff.mpr (fun x hx=>?_)) |
| 30 | refine (Submodule.mem_bot ..).mpr (Subtype.ext (PiLp.ext fun j=>?_)) |
| 31 | have he j (hj : j∈G) : x.val j=0 := congr_fun (show omitPivot g i x=0 from hx) ⟨j,hj⟩ |
| 32 | by_cases hg:j∈g |
| 33 | · by_cases hh:j=i |
| 34 | · subst j; have hw:=(plane_iff.mp x.property).1; rw [← Finset.add_sum_erase _ _ hi, Finset.sum_eq_zero (f:=fun t:Fin k=>x.val t) (s:=g.erase i) (fun t ha=> he t ha), add_zero] at hw; exact hw |
| 35 | exact he _ (Finset.mem_erase.mpr ⟨hh,hg⟩) |
| 36 | exact (plane_iff.mp x.property).2 _ hg |
| 37 | intro x; let f : Fin k→ E4:= fun j=> if h:j∈G then x ⟨j,h⟩ else 0 |
| 38 | let y:= points (Function.update f i (-(∑ j∈G,f j))); refine ⟨⟨y,plane_iff.mpr ?_⟩,?_⟩ |
| 39 | · refine ⟨?_,fun j hj=>?_⟩ |
| 40 | · rw [← Finset.add_sum_erase _ _ hi] |
| 41 | simp only [y,points_apply,Function.update_self] |
| 42 | rw [Finset.sum_congr rfl (s₁:=g.erase i) (f:=update f i (-(G.sum f))) (g:=f) (?_),← show G=g.erase i from rfl,neg_add_cancel]; exact fun b hb=> Function.update_of_ne (Finset.mem_erase.mp hb).1 .. |
| 43 | have hf : j≠i:= fun e=> hj (e ▸ hi) |
| 44 | simp only [y, points_apply,Function.update_of_ne hf, f,G, hj,Finset.mem_erase,and_false] |
| 45 | simp |
| 46 | ext1 a; change y a.val=x a; simp only [y,points_apply,Function.update_of_ne (Finset.mem_erase.mp a.property).1]; exact dif_pos (show a.val∈G from a.property) --] |
| 47 | lemma dimension_plane (hg : g.Nonempty) : Module.finrank ℝ (plane g) = 4*(g.card-1) := by |
| 48 | obtain ⟨i,hi⟩:=hg |
| 49 | rw [(LinearEquiv.ofBijective (omitPivot g i) (omit_bijects hi)).finrank_eq, Module.finrank_pi_fintype]; simp [Axis,E4,card_erase_of_mem hi]; ring -- don't unfold WithLp |
| 50 | lemma dimension_normal (hg : g.Nonempty) (h : plane g ≤ LinearMap.range P.toLinearMap) : Module.finrank ℝ (normalOn P g)= 4*(g.card-1):= by |
| 51 | let F : (normalOn P g) →ₗ[ℝ] plane g := (P.toLinearMap.comp (normalOn P g).subtype).codRestrict _ fun x=> x.property |
| 52 | have he : Bijective F:= by |
| 53 | refine ⟨fun x y hi=> Subtype.ext (P.injective (congr_arg (Subtype.val) hi)),fun x=>?_⟩ |
| 54 | obtain ⟨v,hv'⟩:= h x.property; have hv : P v=x.val:= hv' |
| 55 | exact ⟨⟨v,(on_plane ..).2 (hv.symm ▸ x.property)⟩,Subtype.ext hv⟩ |
| 56 | exact (LinearEquiv.ofBijective _ he).finrank_eq.trans (dimension_plane hg) |
| 57 | |
| 58 | lemma tangent_pair {x y : Fin k} (hx : x∈g) (hy : y∈g) (v : E4) : PiLp.single 2 (β:=fun _:Fin k=>E4) x v-PiLp.single 2 y v ∈ plane g := by |
| 59 | apply plane_iff.mpr; simp only [PiLp.sub_apply,PiLp.single_apply,Finset.sum_sub_distrib]; simp [hx,hy]; -- see dep dite |
| 60 | intro j hj; have he:j≠x:= fun h=> hj (h ▸ hx); have hw:j≠y:= fun h=> hj (h ▸ hy); simp [he,hw] -- check |
| 61 | lemma centroid_unequal (hf : f.Nonempty)(hl : l.Nonempty) (he : Disjoint f l) (h1 : f⊆g) (h2 : l⊆g) (h : plane g ≤ LinearMap.range P.toLinearMap) : |
| 62 | ∃ x:E, x∈ normalOn P g ∧ centroid f (P x) ≠ centroid l (P x) := by |
| 63 | obtain ⟨i,hi⟩:=hf; obtain ⟨j,hj⟩:=hl; let v:= basis 0 |
| 64 | obtain ⟨x,(hx : P x=_)⟩:= h (tangent_pair (h1 hi) (h2 hj) v) |
| 65 | refine ⟨x,(on_plane ..).2 (hx ▸ tangent_pair (h1 hi) (h2 hj) v),?_⟩; rw [hx] |
| 66 | have hi' : i∉l := Finset.disjoint_left.mp he hi; have hj' : j∉f := fun h=> Finset.disjoint_left.mp he h hj |
| 67 | simp only [centroid_formula,PiLp.sub_apply,Finset.sum_sub_distrib,PiLp.single_apply]; simp [hi,hj,hi',hj'] |
| 68 | have hs:0<(f.card:ℝ):=by exact_mod_cast (Finset.card_pos.mpr ⟨i,hi⟩) |
| 69 | have ht:0<(l.card:ℝ):=by exact_mod_cast (Finset.card_pos.mpr ⟨j,hj⟩) |
| 70 | intro hv |
| 71 | apply ne_of_gt (add_pos (inv_pos.mpr hs) (inv_pos.mpr ht)) |
| 72 | have he:=congr_arg (fun x:E4=> x (0:Axis)) hv; simp [v] at he; linarith -- orientation? |
| 73 | omit [InnerProductSpace ℝ E] in -- can't omit instance from P in declaration? remove |
| 74 | lemma rank_eq_zero (h : g.card ≤ 1) : plane g = ⊥ := by |
| 75 | rcases Finset.eq_empty_or_nonempty g with h0|h1; subst g |
| 76 | · refine eq_bot_iff.mpr fun p hp=> (Submodule.mem_bot ..).mpr (PiLp.ext fun i=> (plane_iff.mp hp).2 i (by simp)) |
| 77 | have ht:= dimension_plane h1; exact Submodule.finrank_eq_zero.mp (by omega) |
| 78 | section |
| 79 | variable [FiniteDimensional ℝ E] [MeasureSpace E] [BorelSpace E] [(volume : Measure E).IsAddHaarMeasure] |
| 80 | lemma ae_unequal (hf : f.Nonempty)(hl : l.Nonempty)(he : Disjoint f l)(h1 : f⊆g)(h2 : l⊆g)(h : plane g ≤ LinearMap.range P.toLinearMap) : ∀ᵐ x:E, centroid f (P x) ≠ centroid l (P x) := by |
| 81 | let u := ((centroid f-centroid l).toLinearMap.comp P.toLinearMap).ker |
| 82 | have ht : u ≠ ⊤:= by |
| 83 | obtain ⟨x,hx,hx'⟩:= centroid_unequal hf hl he h1 h2 h; intro h; have hh : x∈u := h ▸ Submodule.mem_top; exact hx' (sub_eq_zero.mp hh) |
| 84 | refine (show ∀ᵐ x:E, x∉u from compl_mem_ae_iff.mpr (Measure.addHaar_submodule volume u ht)).mono fun x hx h=>hx (show x∈ u from sub_eq_zero.mpr h) |
| 85 | end |
| 86 | end YM.Contacts.Normal |