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.Extra.WILSON_STARTUP.Cylinder |
| 2 | import YM.Extra.WILSON_STARTUP.LinearMarkers |
| 3 | import YM.Next.FOUNDATIONS.Split |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Initialization of a simultaneous-marker cutoff overlay |
| 8 | |
| 9 | Square-zero, distinct address tags even for equal coefficients. Allowed |
| 10 | selections include every singleton and are downward closed. Actual mask tests |
| 11 | on each support and full Hᵛ, side independent of potential conflicts. If a |
| 12 | probe fails its good test, add it exactly once inside the unique packet(s), |
| 13 | with the same scalar in each mode-product. No stationarity, β or recursion |
| 14 | assumed from its Lane packaging. Uses `Wide` when product not zero. |
| 15 | -/ |
| 16 | noncomputable section |
| 17 | set_option autoImplicit false |
| 18 | namespace YM.WilsonStartup.Mixture |
| 19 | open Function Filter RG Lattice Wilson Ovens Marker LinearMarkers Finset Overlay Source Padded Labels |
| 20 | open scoped Topology Classical Matrix.Norms.Frobenius BigOperators |
| 21 | variable {G : Gauge} {n : Side} {V : Type} [Fintype V] [DecidableEq V] [Nonempty V] {d : ℕ} {F : Frame G d} |
| 22 | |
| 23 | variable (R : Census V) (S : SectionData F) (o : V → Site n) (P : Rep G n) (v : V → F.Coeff) |
| 24 | |
| 25 | abbrev Positive (R : Census V) := {i : R.Mode // i.val.Nonempty} |
| 26 | scoped instance : Nonempty (Positive R) := Nonempty.map (fun v : V => ⟨R.fire v,Finset.singleton_nonempty v⟩) inferInstance |
| 27 | |
| 28 | def test (i : V) (j : ℕ) := Mark.guard P (S.footprint (o i)) j |
| 29 | |
| 30 | def entire (U : Config G n) (i : V) := Mark.realMaskFree S (o i) P (v i) U |
| 31 | def free (U : Config G n) (i : V) := Mark.probe S (o i) P (v i) U |
| 32 | def works (i : V) := masked P.p.threshold (S.footprint (o i)) (Mark.probe S (o i) P (v i)) |
| 33 | def diffuse (U : Config G n) : V → ℂ := (fun i => v i 0) + (fun i => works S o P v i U) |
| 34 | |
| 35 | def measured (j : ℕ) (U : Config G n) (i : V) : ℂ := if test S o P i j then free S o P v U i else 0 |
| 36 | |
| 37 | def parcel (j : ℕ) (i : Positive R) (U : Config G n) : ℂ := (P.activities.K j U:ℂ) * ∏ l∈i.val.val,measured S o P v j U l |
| 38 | |
| 39 | def overlay : Bands R P where |
| 40 | origins := o |
| 41 | units := fun i => v i 0 |
| 42 | support := fun i => S.footprint (o (name V i)) |
| 43 | rays := fun i => R.fire (name V i) |
| 44 | H := fun i => if fixed V i then Mark.probe S (o (name V i)) P (v (name V i)) else 0 |
| 45 | marks := fun _ j => (name (Positive R) j).val |
| 46 | entries := fun i j => if fixed (Positive R) j then parcel R S o P v i (name (Positive R) j) else 0 |
| 47 | |
| 48 | variable {R S o P v} |
| 49 | |
| 50 | omit [Fintype V] [Nonempty V] in |
| 51 | lemma parcel_ne {j : ℕ} {i : Positive R} (U : Config G n) (h : parcel R S o P v j i U ≠ 0) : P.activities.K j U ≠ 0 ∧ |
| 52 | ∀ l∈i.val.val,¬ Disjoint (S.footprint (o l)) (P.activities.forced j).inventory ∧ S.footprint (o l) ⊆ (P.activities.forced j).support := by |
| 53 | refine ⟨fun he => h (by simp [parcel,he]),fun l hl => of_not_not fun hj => h ?_⟩ |
| 54 | unfold parcel; rw [prod_eq_zero hl (if_neg hj),mul_zero] |
| 55 | |
| 56 | theorem active {A : Hol G} (h : S.Sound A) {w : ℝ} (hs : Bid.Credit S P.p.order P.p.power w) |
| 57 | (hf : P.activities.ForcedFamily P.p) : (overlay R S o P v).Active := by |
| 58 | have ho (i : V) : o i ∈ S.footprint (o i) := mem_image.mpr ⟨0,h.anchored,by simp⟩ |
| 59 | have ht {i j} {U : Config G n} (hp : (overlay R S o P v).entries i j U ≠ 0) := parcel_ne (j:=i) (U:=U) (i:=name (Positive R) j) (S:=S) (P:=P) (o:=o) (v:=v) (by |
| 60 | dsimp only [overlay] at hp; split at hp |
| 61 | · exact hp |
| 62 | exact (hp rfl).elim) |
| 63 | constructor |
| 64 | · intro _; exact singleton_nonempty _ |
| 65 | · intro i j hj; exact (Finset.mem_singleton.mp hj).symm ▸ ho _ |
| 66 | · intro i; dsimp [overlay]; split |
| 67 | · exact (Next.Foundations.combination_bound _ _ hs _).1 |
| 68 | exact ⟨fun _ _ _ => rfl,measurable_const,fun _ _ => rfl,fun _ _ => contDiffAt_const, |
| 69 | fun _ _ a _ he => Next.Foundations.left_has (f:=0) a he contDiffAt_const⟩ |
| 70 | · intro i j; exact (name (Positive R) j).2 |
| 71 | · intro i j hj l hl |
| 72 | obtain ⟨U,hU⟩ := not_forall.mp (mt funext hj); exact ((ht hU).2 l hl).2 (ho _) |
| 73 | · intro i j U W he hw; dsimp only [overlay]; split |
| 74 | · unfold parcel; rw [hf.reads i U W he hw]; congr 1 |
| 75 | apply Finset.prod_congr rfl; intro l hl |
| 76 | unfold measured; split |
| 77 | next hg => exact S.placed_local _ _ U W (agrees_mono he (coe_subset.mpr hg.2)) |
| 78 | rfl |
| 79 | rfl |
| 80 | · exact fun i j U he => hf.permit _ _ (ht he).1 |
| 81 | · intro i j; dsimp [overlay]; split |
| 82 | · refine Measurable.mul (Complex.continuous_ofReal.measurable.comp (hf.meas i)) (Finset.measurable_fun_prod _ fun l _ => ?_) |
| 83 | dsimp only [measured]; split |
| 84 | · exact (S.continuous_places ..).measurable |
| 85 | exact measurable_const |
| 86 | exact measurable_const |
| 87 | intro i j k U; dsimp only [overlay]; split |
| 88 | · unfold parcel; rw [hf.sym i k U]; congr 1; refine Finset.prod_congr rfl fun l _ => ?_; unfold measured; split |
| 89 | · exact S.placed_invariant h (o l) _ k U |
| 90 | rfl |
| 91 | rfl |
| 92 | |
| 93 | theorem extra (U : Config G n) : (overlay R S o P v).extra U = linear R (diffuse S o P v U) := by |
| 94 | unfold Bands.extra diffuse; rw [linear_add]; congr 1 |
| 95 | apply totals (α:=V) |
| 96 | intro i; simp only [Bands.ray,overlay]; split |
| 97 | · rfl |
| 98 | rw [show masked _ _ (0:Config G n → ℂ) U=0 from ?_, Poly.send_zero] |
| 99 | by_cases ht : Healthy P.p.threshold (S.footprint (o (name V i))) U |
| 100 | · exact masked_eq _ _ _ _ ht |
| 101 | exact masked_ne _ _ _ _ ht |
| 102 | |
| 103 | theorem each (j : ℕ) (U : Config G n) : (overlay R S o P v).each j U = (P.activities.K j U:ℂ) • ∏ i : V,factor R (measured S o P v j U) i := by |
| 104 | unfold Bands.each; rw [totals (α:=Positive R) (g:=fun l => Poly.send l.val (parcel R S o P v j l U)) (fun k => ?_)]; swap |
| 105 | · simp only [Bands.tagged, overlay]; split <;> first | rfl | exact Poly.send_zero _ |
| 106 | ext y |
| 107 | rw [Poly.part_smul,across,Poly.part_plus,Poly.part_sum, Poly.part_send]; simp only [Poly.part_send] |
| 108 | by_cases h : y=R.quiet |
| 109 | · subst y; rw [if_pos rfl]; simp only [show ∀ (i : Positive R),R.quiet ≠ i.val from |
| 110 | fun i he => (i.property.ne_empty (congr_arg (fun p : R.Mode => p.val) he.symm)), ↓reduceIte,Finset.sum_const_zero,add_zero]; rw [Census.quiet]; simp |
| 111 | rw [if_neg h,zero_add,Finset.sum_eq_single (⟨y, Finset.nonempty_iff_ne_empty.mpr (by intro he; exact h (Subtype.ext he))⟩ : Positive R)] |
| 112 | · rw [if_pos rfl]; rfl |
| 113 | · intro i _ hi; rw [if_neg]; exact fun he => hi (Subtype.ext he.symm) |
| 114 | simp |
| 115 | |
| 116 | theorem packet (h : Wide P) (ht : ∀ i,Mark.Tight P.p (S.footprint (o i))) (U : Config G n) (s : Finset ℕ) : |
| 117 | (overlay R S o P v).packet s U = (P.activities.gasOccurrence P.p s U : ℂ) • ∏ i : V, factor R |
| 118 | (fun i => Mark.unseen S (o i) P (v i) U) i := by |
| 119 | unfold Bands.packet Activities.gasOccurrence; split <;> rename_i hs |
| 120 | · simp_rw [Complex.ofReal_prod,each, Finset.prod_smul,Finset.prod_comm (s:=s) (t:=Finset.univ)] |
| 121 | by_cases hk : (∏ i∈s,(P.activities.K i U:ℂ)) = 0 |
| 122 | · simp [hk] |
| 123 | have hP := Finset.prod_ne_zero_iff.mp hk |
| 124 | congr 1; apply Finset.prod_congr rfl; intro i _ |
| 125 | unfold factor monomial |
| 126 | by_cases hh : Healthy P.p.threshold (S.footprint (o i)) U |
| 127 | · have hz (j) (hj : j∈s) : ¬ test S o P i j := fun ht => ht.1 (Finset.disjoint_of_subset_right (fun x hx => |
| 128 | hs.2 ▸ Finset.mem_biUnion.mpr ⟨j,hj,hx⟩) hh) |
| 129 | simp only [Mark.unseen,hh,if_true,Poly.send_zero,add_zero]; exact prod_eq_one fun j hj => by simp [measured,hz j hj] |
| 130 | obtain ⟨j,hj,he⟩ := Mark.pack h (ht i) s hs hh fun j hj H => hP j hj (by simp [H]) |
| 131 | rw [prod_eq_single_of_mem j hj.1 fun k hk hne => ?_]; swap |
| 132 | · simp [measured,show ¬ test S o P i k from fun H => hne (he _ ⟨hk,H⟩)] |
| 133 | simp [Mark.unseen,hh,measured,(show test S o P i j from hj.2),free] |
| 134 | simp |
| 135 | |
| 136 | theorem density (h : Wide P) (ht : ∀ i,Mark.Tight P.p (S.footprint (o i))) {A : Hol G} (hA : S.Sound A) {δ w : ℝ} |
| 137 | (hP : P.activities.Valid P.p δ w) (U : Config G n) : |
| 138 | (overlay R S o P v).density U = (P.eval U:ℂ) • ∏ i : V,factor R (entire S o P v U) i := by |
| 139 | have hs := Complex.ofRealCLM.summable ((Activities.gasSeries hP).summable U) |
| 140 | change Summable (fun s : Finset ℕ => (P.activities.gasOccurrence P.p s U : ℂ)) at hs |
| 141 | unfold Bands.density Bands.cluster |
| 142 | simp_rw [packet h ht U,Summable.tsum_smul_const hs,← Complex.ofReal_tsum, extra U,passing,mul_smul_comm,← Finset.prod_mul_distrib,combine] |
| 143 | simp_rw [Rep.eval,Complex.ofReal_mul,← smul_smul]; congr 2 |
| 144 | suffices diffuse S o P v U + (fun i => Mark.unseen S (o i) P (v i) U) = entire S o P v U by rw [this] |
| 145 | funext i |
| 146 | have he j : (Mark.entry S (o i) P (v i)).maskedTerm P j U=0 := by |
| 147 | by_cases h : Healthy P.p.threshold ({o i}:Support n) U; exact masked_eq _ _ _ _ h; exact masked_ne _ _ _ _ h |
| 148 | have ht := Mark.bulk_match S hA (o i) P (v i) U |
| 149 | simp only [Source.Coefficient.exponentialEntry,he,tsum_zero,add_zero] at ht |
| 150 | exact ht |
| 151 | end YM.WilsonStartup.Mixture |