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.Score.Subdivide |
| 2 | import YM.Contacts.Coherent |
| 3 | |
| 4 | /-! # Recursion at the level of finite pointwise expressions |
| 5 | |
| 6 | This is the field-valued score not yet a distribution. See body for the limits in testing. |
| 7 | `ceiling` counts exactly possible retained weights (including the zero case when the degree is |
| 8 | negative). `leave`/`cascade` are chosen for lightweight algebra and pointwise show exact equations. |
| 9 | Tests in all identities below may vanish near all horizontal/mixed slabs but **not** in general |
| 10 | near child diagonals: use Taylor when they don't. The expressions are total (use natural zero |
| 11 | junk, including indicators on detector ranges). Estimates on prescribed supports and |
| 12 | applications to genuine Euclidean hierarchies will not use unseparated readings. |
| 13 | |
| 14 | `System` is packaging input to this calculus (includes positions in ambient plane |
| 15 | with physical offsets). Heights, center projections, field system and probes will always be |
| 16 | filled by the same `fill`/Devices implementation for nonperturbative uses. Can then compare with |
| 17 | perturbative scores without identifying field spaces. Cumulant recursion is by cardinality, |
| 18 | NOT loss bound/expansion parameter. This source doesn't compute PT expansions yet. |
| 19 | -/ |
| 20 | set_option autoImplicit false |
| 21 | set_option maxHeartbeats 600000 |
| 22 | noncomputable section |
| 23 | namespace YM.Contacts.Normal |
| 24 | open Function Filter Set Metric MeasureTheory MultipleContact Submodule Ordered |
| 25 | open scoped Topology BigOperators Classical ContDiff TensorProduct InnerProductSpace |
| 26 | variable {k : ℕ} {E A B : Type*} [NormedAddCommGroup E][InnerProductSpace ℝ E] [FiniteDimensional ℝ E] |
| 27 | variable [CommRing A][Algebra ℂ A] |
| 28 | variable [CommRing B][Algebra ℂ B] |
| 29 | variable (P : E→ₗᵢ[ℝ] Points k) |
| 30 | |
| 31 | structure System (E A : Type*) (k : ℕ) [NormedAddCommGroup E][InnerProductSpace ℝ E] [CommRing A][Algebra ℂ A] where |
| 32 | deg : Fin k → ℕ |
| 33 | reader (g : Group k) (w : ℕ) : E→ A→ₗ[ℂ] A |
| 34 | field (i : Fin k) : E→ A |
| 35 | |
| 36 | namespace System |
| 37 | variable (S : System E A k) (s : ℝ) (g : Group k) |
| 38 | /-- Total engineering degree of the original basis word. -/ |
| 39 | def degree := g.sum S.deg |
| 40 | def relative (g : Group k) := 4*(g.card-1) |
| 41 | def depth := S.degree g +1 - relative g |
| 42 | |
| 43 | def subtractAt (g : Group k) (F : Score E A) := - ∑ w:Fin (S.depth g), reshape (S.reader g w) F * instructionScore E A (taylor (normalOn P g) s ((S.depth g) - 1-w.val)) |
| 44 | -- helper for finset strong recursion without measure unfolding through finite sums |
| 45 | private def replacing (g : Group k) (C : ∀ f : Group k, f.card < g.card → Score E A) : Group k → Score E A := fun f=> if h:f.card<g.card then C f h else 0 |
| 46 | |
| 47 | def elementary := (g.prod S.field) ⊗ₜ[ℂ] (1:Optical E) |
| 48 | def cumulant (g : Group k) : Score E A := if g.card < 2 then elementary S g else |
| 49 | S.subtractAt P s g (receding (replacing g fun f _=> cumulant f) g) |
| 50 | termination_by g.card |
| 51 | -- `cumulant` and all its operations on a region are on originally assigned engineering grades. |
| 52 | def punctured (g : Group k) := receding (S.cumulant P s) g |
| 53 | def full := totalForm (S.cumulant P s) g |
| 54 | lemma single_op {i : Fin k} : S.cumulant P s {i}= S.field i ⊗ₜ[ℂ] (1:Optical E) := by rw [cumulant]; simp [elementary] |
| 55 | lemma equation_subtract (hg : 1 < g.card) : S.cumulant P s g= S.subtractAt P s g (S.punctured P s g) := by |
| 56 | rw [cumulant,if_neg (show ¬ _ by omega)]; congr 1; unfold punctured receding |
| 57 | refine Finset.sum_congr rfl fun i hi=> Eq.symm (?_ : parcel (S.cumulant P s) i= _) |
| 58 | refine eq_product (p:=S.cumulant P s) (?_) -- arguments name etc |
| 59 | intro j hj; have he:= Finset.card_lt_card (inner_piece i (Finset.mem_erase.mp hi).1 hj); rw [replacing,dif_pos he] |
| 60 | lemma full_formula (hg : g.Nonempty) : S.full P s g= S.punctured P s g+ S.cumulant P s g := partition_cases hg |
| 61 | lemma full_single (i : Fin k) : S.full P s {i}= S.field i ⊗ₜ[ℂ] (1:Optical E) := by |
| 62 | rw [full_formula P S s {i} (Finset.singleton_nonempty _), single_op] |
| 63 | unfold punctured receding |
| 64 | rw [Finset.sum_eq_zero (fun P h=> ((Finset.mem_erase.mp h).1 (top_of_single i P)).elim), zero_add] |
| 65 | lemma uses_part {g : Group k}{q : Group k → Score E A}(Q : Pieces g)(hQ : ∀ y∈ Q.parts, Mark (Uses (normalOn P y)) (q y)) : Mark (Uses (normalOn P g)) (parcel q Q):= by |
| 66 | apply Mark.chain _ _ _ (fun i hi=> Mark.switch (hQ i hi) (fun v hv=> hv.widen (normal_le P (Q.subset hi)))) |
| 67 | intro x hx y hy h; exact (hQ _ hx).agree (hQ _ hy) (fun _ _ ha hb=> ha.independent hb (normals_distinct P (Q.disjoint hx hy h))) |
| 68 | lemma uses_cumulant : Mark (Uses (normalOn P g)) (S.cumulant P s g):=by |
| 69 | induction g using Finset.strongInductionOn with |
| 70 | | _ g ih=> |
| 71 | by_cases hg : g.card<2 |
| 72 | · rw [cumulant,if_pos hg]; exact .atom _ Uses.id |
| 73 | rw [S.equation_subtract P s g (by omega)] |
| 74 | have ht : Mark (Uses (normalOn P g)) (S.punctured P s g) := by apply Mark.sum; intro i hi; exact uses_part P _ fun j hj=> ih j (inner_piece i (Finset.mem_erase.mp hi).1 hj) |
| 75 | apply Mark.minus; apply Mark.sum; intro i hi; exact Mark.prod (ht.transformed _) (Mark.inst (Uses.taylor _ le_rfl _ _)) (fun _ _ hf hg=> hf.times hg) |
| 76 | lemma uses_full (g : Group k) : Mark (Uses (normalOn P g)) (S.full P s g) := Mark.sum fun i _=> uses_part P i (fun _ _=> S.uses_cumulant ..) -- S not binder? |
| 77 | lemma compatible : permitted (S.cumulant P s):= fun a b h=> (S.uses_cumulant P s a).agree (S.uses_cumulant P s b) fun _ _ ha hb=> ha.independent hb (normals_distinct P h) |
| 78 | lemma can_use : permitted (S.full P s) :=fun a b h=> (S.uses_full P s a).agree (S.uses_full P s b) fun _ _ ha hb=> ha.independent hb (normals_distinct P h) |
| 79 | lemma uses_punctured : Mark (Uses (normalOn P g)) (S.punctured P s g):= Mark.sum fun i _=> uses_part P i (fun _ _=> S.uses_cumulant ..) |
| 80 | |
| 81 | /-- True term seen only at germs on its total collapsing point. -/ |
| 82 | lemma translatesOrigin : Mark (fun q=> Germ q (slide (normalOn P g) 0)) (S.cumulant P s g):= by |
| 83 | by_cases hg : g.card<2 |
| 84 | · have hp : normalOn P g= ⊥:= by unfold normalOn; rw [rank_eq_zero (by omega)]; exact LinearMap.ker_eq_bot.mpr P.injective |
| 85 | rw [cumulant,if_pos hg]; apply Mark.atom _; rw [hp, show ⇑(slide (⊥:Submodule ℝ E) 0) = id from funext fun x=>by simp only [slide_zero,starProjection_bot,zero_apply,sub_zero,id_eq]] -- coe? |
| 86 | exact Germ.identity |
| 87 | rw [S.equation_subtract P s g (by omega)] |
| 88 | exact Mark.minus (Mark.sum fun i _=> Mark.prod ((S.uses_punctured P s g).transformed (S.reader g i)) (Mark.inst (focal s ((S.depth g)-1-i.val))) (fun _ _ h=> Germ.right h)) |
| 89 | |
| 90 | /-- Restrict right by the indicated mask-test. This equates optical instructions in an equality |
| 91 | of tensors, not just isolated tests when no more projections or group operations are performed. -/ |
| 92 | lemma refines (v : SmoothTests E) (Q : Pieces g) (hg : plane g ≤ LinearMap.range P.toLinearMap) |
| 93 | (hv : ∀ x∈ tsupport v.val, ∀ i∈Q.parts, ∀ j∈Q.parts,i≠j → ∀ a∈ i,∀ b∈ j,(P x) a≠(P x) b) : |
| 94 | S.full P s g*instructionScore E A (mask v) = parcel (S.full P s) Q * instructionScore E A (mask v) := by |
| 95 | let p:= S.cumulant P s; change totalForm p _ * _ = parcel (totalForm p) _ * _ |
| 96 | rw [← full_expands p Q (S.compatible P s), Finset.sum_mul, totalForm,Finset.sum_mul]; symm |
| 97 | apply Finset.sum_subset (Finset.filter_subset ..); intro a _ hi; obtain ⟨b,hb,u,hu,y,hy,hxy,c,hc,d,hd,hcu,hdy⟩:= crossing (P:=a) (Q:=Q) (fun h=> hi (Finset.mem_filter.mpr ⟨Finset.mem_univ _,h⟩)) |
| 98 | rw [parcel,split_last _ hb p ((S.compatible P s).stands a),mul_assoc, all_off (f:=v) (K:=normalOn P b) (?_) (S.translatesOrigin P s b),mul_zero]; intro x hx hp; have h := Submodule.starProjection_apply_eq_zero_iff (normalOn P b) |>.2 hx; exact hv _ hp _ hu _ hy (Ne.symm hxy) _ hcu _ hdy ((collapsed_iff ..).1 ((local_collapse (le_trans (plane_le (a.subset hb)) hg) x).2 h) _ hc _ hd) |
| 99 | |
| 100 | end System |
| 101 | end YM.Contacts.Normal |