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.Further.THRESHOLD_SOURCE_RESTART.Fire |
| 2 | /-! |
| 3 | # What is actually retained in a new K history |
| 4 | |
| 5 | Construct `printer`: the new K dictionary and k-scale vacuum |
| 6 | representation, from Menu. Records/components on the expanded alphabet |
| 7 | Key, old K and optional letters, with conditions including OLD support |
| 8 | disjointness and coverage of old flags. The step includes the new eligibility |
| 9 | check; unmarked K multiplies our step weight by Old K values, so no new |
| 10 | factor of exp(N * scalar) here. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Further.ThresholdSourceRestart.Sluice.Menu |
| 15 | open Function Set Filter MeasureTheory Wilson RG Lattice Marker Overlay |
| 16 | open Push.Corrected Work.H03 WilsonStartup |
| 17 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical |
| 18 | variable {G : Gauge} {α : Type} {n : Side} {H : Rep G n} {q : BudgetPoint} (L : Menu H q α) |
| 19 | |
| 20 | -- Extra for an actual field. Enforce complete old coverage on *these* |
| 21 | -- vertices; across components comes from coverage of new inventory. |
| 22 | def Ready (i : L.Record) (U : Config G n) := L.paint i.val ⊆ listAll q U ∧ |
| 23 | (∀ j∈ listAll q U, ¬Disjoint j.skin (L.inv i.val) → j∈L.paint i.val) ∧ |
| 24 | (∀ j∈ i.val.toLeft,permits H j U) ∧ |
| 25 | L.inv i.val ∩ flags H.p.threshold U ⊆ i.val.toLeft.biUnion (claims H) |
| 26 | |
| 27 | -- keep identical predicate also in address when payload zero |
| 28 | def sole (i : L.Record) : ForcedAddress G n := ⟨L.limit i.val,L.inv i.val,L.has_inv _,L.has_supp _,L.Ready i⟩ |
| 29 | variable {δ c : ℝ} |
| 30 | lemma read_here (h : H.activities.Valid H.p δ c) (i : L.Record) : UsesFinal q.threshold (L.limit i.val) (L.Ready i) := by |
| 31 | intro U V he _ |
| 32 | have hv j (hj : j∈L.paint i.val) : j ∈ listAll q U ↔ j∈listAll q V := |
| 33 | enroll_reads q j (agrees_mono he (fun x hx => L.holds i.val _ hj (watches _ _ (Halos.enters hx)))) |
| 34 | have hE j (hj : ¬ Disjoint (Key.skin j) (L.inv i.val)) : j ∈ listAll q U ↔ j∈listAll q V := by |
| 35 | obtain ⟨x,hm,hn⟩ := Finset.not_disjoint_iff.mp hj |
| 36 | obtain ⟨b,hb,H⟩ := Finset.mem_biUnion.mp hn |
| 37 | have hx : ¬ Disjoint b.skin (Key.skin j) := Finset.not_disjoint_iff.mpr ⟨x,H,hm⟩ |
| 38 | exact enroll_reads q j (agrees_mono he (fun y hy => L.holds _ _ hb (mentions _ hx hy))) |
| 39 | have hJ (j) (hj : j∈i.val.toLeft) : permits H j U = permits H j V := by |
| 40 | refine eligible_reads _ _ (h.forced.reads_test j) U V ?_ (flags_agree _ _ _ _ (agrees_mono he (L.halo_charge _ _ hj))) |
| 41 | exact agrees_mono he (fun x hx => L.halo_charge _ _ hj (Halos.enters hx)) |
| 42 | have ht : L.inv i.val∩flags H.p.threshold U=L.inv i.val∩flags H.p.threshold V := by |
| 43 | ext x |
| 44 | simp only [Finset.mem_inter, and_congr_right_iff] |
| 45 | intro hx; obtain ⟨b,hb,hn⟩ := Finset.mem_biUnion.mp hx |
| 46 | have hv := flags_agree H.p.threshold U V b.skin (agrees_mono he (fun x hx => L.holds _ _ hb (watches q _ hx))) |
| 47 | constructor |
| 48 | · intro he; exact (Finset.mem_inter.mp (show x∈b.skin∩_ from hv ▸ Finset.mem_inter.mpr ⟨hn,he⟩)).2 |
| 49 | intro he; exact (Finset.mem_inter.mp (show x∈b.skin∩_ from hv.symm ▸ Finset.mem_inter.mpr ⟨hn,he⟩)).2 |
| 50 | unfold Ready; rw [ht] |
| 51 | apply propext; constructor <;> rintro ⟨H',p,t,hu⟩ |
| 52 | · exact ⟨fun j hj => (hv j hj).mp (H' hj),fun j hj hh => p j ((hE j hh).mpr hj) hh, fun j hj => hJ j hj ▸ t j hj,hu⟩ |
| 53 | exact ⟨fun j hj => (hv j hj).mpr (H' hj),fun j hj hh => p j ((hE j hh).mp hj) hh,fun j hj => (hJ j hj).symm ▸ t j hj,hu⟩ |
| 54 | |
| 55 | lemma gauges (h : H.activities.Valid H.p δ c) (i : L.Record) (k U) : L.Ready i (gauge k U) ↔ L.Ready i U := by |
| 56 | simp only [Ready,list_gauge,gauge_flags,permits,eligible_gauge _ _ _ _ (h.forced.symtest _ _ _)] |
| 57 | lemma instruments (h : H.activities.Valid H.p δ c) (i : L.Record) : MeasurableSet {U| L.Ready i U} := by |
| 58 | let J := L.inv i.val |
| 59 | have he : MeasurableSet {U : Config G n| J∩flags H.p.threshold U ⊆ i.val.toLeft.biUnion (claims H)} := by |
| 60 | suffices H' : {U : Config G n | _} = ⋃ p : {z : Support n // J∩z ⊆ i.val.toLeft.biUnion (claims H)}, |
| 61 | {U| flags H.p.threshold U=p.val} from H' ▸ MeasurableSet.iUnion (fun p => flags_measurable_eq ..) |
| 62 | ext U; simp only [Set.mem_iUnion,Set.mem_setOf_eq]; constructor |
| 63 | · exact fun h => ⟨⟨_,h⟩,rfl⟩ |
| 64 | rintro ⟨p,h⟩; rw [h]; exact p.property |
| 65 | apply MeasurableSet.inter _ (MeasurableSet.inter _ (MeasurableSet.inter _ he)) |
| 66 | · suffices ht : MeasurableSet {U : Config G n| ∀ j∈ L.paint i.val, j∈listAll q U} from ht |
| 67 | rw [Set.setOf_forall]; exact MeasurableSet.iInter fun j => by |
| 68 | by_cases h : j∈ L.paint i.val |
| 69 | · simp only [h,true_imp_iff]; exact enroll .. |
| 70 | simp [h] |
| 71 | · change MeasurableSet {U : Config G n | ∀ j ∈ listAll q U, ¬Disjoint j.skin (L.inv i.val) → j∈L.paint i.val} |
| 72 | rw [Set.setOf_forall]; refine MeasurableSet.iInter fun j => ?_ |
| 73 | by_cases h : ¬Disjoint j.skin (L.inv i.val) → j∈L.paint i.val |
| 74 | · convert! (MeasurableSet.univ : MeasurableSet (Set.univ : Set (Config G n))) using 1; ext; tauto |
| 75 | convert! MeasurableSet.compl (enroll q j (G:=G)) using 1; ext; tauto |
| 76 | change MeasurableSet {U | ∀ j ∈ i.val.toLeft, permits H j U} |
| 77 | rw [Set.setOf_forall]; refine MeasurableSet.iInter fun j => ?_ |
| 78 | by_cases he : j ∈ i.val.toLeft |
| 79 | · simp only [he, true_imp_iff]; exact eligible_measurable _ _ (h.forced.meas_test j) |
| 80 | simp [he] |
| 81 | |
| 82 | def glow : Codes n α → Config G n → ℝ := |
| 83 | Sum.elim (fun _ _=>1) (Sum.elim (fun i U => Real.exp (L.flare.charge i U)) |
| 84 | fun i U => Real.exp (L.more.leaf i U)-1) |
| 85 | |
| 86 | def solid (i : L.Record) (U : Config G n) := if (L.sole i).eligible q.threshold U then ∏ j∈i.val,L.glow j U else 0 |
| 87 | |
| 88 | lemma real_solid (h : H.activities.Valid H.p δ c) (i : L.Record) : Measurable (L.solid i) ∧ GaugeInvariant (L.solid i) ∧ |
| 89 | UsesFinal q.threshold (L.limit i.val) (L.solid i) := by |
| 90 | have he j : Measurable (L.glow j) ∧ GaugeInvariant (L.glow j) ∧ UsesFinal q.threshold (L.zone j) (L.glow j) := by |
| 91 | rcases j with j|j|j |
| 92 | · exact ⟨measurable_const,fun _ _ => rfl,fun _ _ _ _ => rfl⟩ |
| 93 | · exact ⟨(L.flare.meas _).exp, fun k U => congr_arg Real.exp (L.flare.stays j k U),fun U V h e => congr_arg Real.exp (L.flare.leg j U V h e)⟩ |
| 94 | exact ⟨((L.more.meas _).exp).sub measurable_const,fun k U => congr_arg (fun x => Real.exp x - 1) (L.more.stays j k U), |
| 95 | fun U V h e => congr_arg (fun x => Real.exp x - 1) (L.more.leg j U V h e)⟩ |
| 96 | refine ⟨Measurable.ite (eligible_measurable _ _ (L.instruments h i)) (Finset.measurable_prod _ fun j _ => (he j).1) measurable_const,fun k U => ?_,fun U V ht hh => ?_⟩ |
| 97 | · unfold solid; rw [eligible_gauge q.threshold _ _ _ (L.gauges h i k U)]; split |
| 98 | · exact Finset.prod_congr rfl fun j _ => (he j).2.1 _ _ |
| 99 | rfl |
| 100 | unfold solid; rw [eligible_reads _ _ (L.read_here h i) U V ht hh]; split |
| 101 | · exact Finset.prod_congr rfl fun j hj => reads_larger (Finset.subset_biUnion_of_mem L.zone hj) (he j).2.2 _ _ ht hh |
| 102 | rfl |
| 103 | |
| 104 | private abbrev blanks (n : Side) := ℕ × Site n |
| 105 | abbrev Book := L.Record ⊕ (blanks n) |
| 106 | |
| 107 | def party : L.Book → Finset ℕ := Sum.elim (fun i => i.val.toLeft) (fun _ => ∅) |
| 108 | def busy : L.Book → Config G n → ℝ := Sum.elim L.solid (fun _ _=>0) |
| 109 | def tailK (j : L.Book) (U : Config G n) := L.busy j U * ∏ i ∈ L.party j,H.activities.K i U |
| 110 | |
| 111 | def stamp : L.Book → ForcedAddress G n := Sum.elim L.sole |
| 112 | (fun s => ⟨{s.2},{s.2},Finset.singleton_nonempty _,le_rfl,fun _ => False⟩) |
| 113 | |
| 114 | variable [Countable α] |
| 115 | |
| 116 | def label : ℕ ≃ L.Book := by |
| 117 | letI : Infinite L.Book := Infinite.of_injective (fun i : ℕ => (Sum.inr (i,(0:Site n)) : L.Book)) (fun _ _ h => congr_arg Prod.fst (Sum.inr.inj h)) |
| 118 | exact (@Denumerable.eqv _ (Classical.choice (nonempty_denumerable L.Book))).symm |
| 119 | |
| 120 | def printer : Rep G n := { H with p:=q,activities := { H.activities with forced:=L.stamp ∘ L.label, K:=L.tailK ∘ L.label }} |
| 121 | lemma kept_entry (i : L.Record) : (L.printer.activities.forced (L.label.symm (Sum.inl i)))=L.sole i := by |
| 122 | unfold printer; simp [L.label.apply_symm_apply,stamp] |
| 123 | lemma new_power (i : Config G n) : L.printer.exponent i=(wished q H).exponent i := rfl |
| 124 | end YM.Further.ThresholdSourceRestart.Sluice.Menu |