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.SectorNext.RECONNECTED_LOCALITY.Brochures |
| 2 | import YM.Work.A05 |
| 3 | import YM.Work.C22 |
| 4 | import YM.Work.F02.Path |
| 5 | |
| 6 | |
| 7 | set_option warningAsError false |
| 8 | |
| 9 | /-! |
| 10 | # Last encoding to ℕ (with explicit forced reserve slots) |
| 11 | |
| 12 | Need `Activities` true support invariants even at dormant labels, compulsory |
| 13 | nonempty inventory for every index & coherent H/translation on ALL indices. |
| 14 | Doesn't assert that number or type of blanks will suffice to run later transfers; |
| 15 | choose more here where needed. |
| 16 | -/ |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM.SectorNext.Reconnect |
| 20 | open RG Wilson Lattice Filter Function Ledger Finset MeasureTheory |
| 21 | open scoped Classical |
| 22 | |
| 23 | variable {G : Gauge} {c : Side} {ι β : Type*} |
| 24 | |
| 25 | structure Room (G : Gauge) (c : Side) (ι : Type*) where |
| 26 | reg : ι → RegularAddress c |
| 27 | ink : ι → Config G c → ℝ |
| 28 | |
| 29 | namespace Room |
| 30 | |
| 31 | variable (R : Room G c ι) |
| 32 | |
| 33 | abbrev spot (i : ι) := (R.reg i).site |
| 34 | abbrev range (i : ι) := (R.reg i).support |
| 35 | |
| 36 | structure Plan (s : Signed) (b : Site c) where |
| 37 | letter : Equiv.Perm ι |
| 38 | site i : R.spot (letter i)=affine s b (R.spot i) |
| 39 | shape : carrying letter (sitePerm s b) R.range R.range |
| 40 | symm i V : R.ink (letter i) V=R.ink i (pull s b V) |
| 41 | |
| 42 | structure Names (P : BudgetPoint) : Prop where |
| 43 | regular i : P.Regular (R.range i) (R.ink i) |
| 44 | flat i : R.ink i 1=0 |
| 45 | fiber i : Nonwrapping (R.range i) (R.spot i) → ∀ a b, |
| 46 | IsAffineDirection (R.spot i) a → IsAffineDirection (R.spot i) b → logHessian (R.ink i) a b=0 |
| 47 | respects s b : Nonempty (R.Plan s b) |
| 48 | |
| 49 | |
| 50 | |
| 51 | variable (D : Brand G c β) |
| 52 | |
| 53 | /-- regular reserve: infinite even if R indexed by empty set. -/ |
| 54 | abbrev Cipher (c : Side) := Site c × ℕ |
| 55 | |
| 56 | /-- forced reserve includes every nonempty inventory/support. |
| 57 | No internal predicate on these padding slots. -/ |
| 58 | abbrev CipherK (c : Side) := {s : Support c × Support c × ℕ // s.2.1.Nonempty ∧ s.2.1 ⊆ s.1} |
| 59 | |
| 60 | |
| 61 | |
| 62 | variable (q : ℕ ≃ ι ⊕ Cipher c) (n : ℕ ≃ β ⊕ CipherK c) |
| 63 | |
| 64 | def enact : Activities G c := { |
| 65 | reg:=fun i => (q i).elim R.reg (fun i => ⟨i.1,{i.1},by simp⟩) |
| 66 | E:= fun i => (q i).elim R.ink (fun _ _ => 0) |
| 67 | forced i := (n i).elim D.forced (fun i => ⟨i.val.1,i.val.2.1,i.property.1,i.property.2,fun _ => True⟩) |
| 68 | K i := (n i).elim D.ink (fun _ _ => 0)} |
| 69 | |
| 70 | -- transport even reserve supports. -/ |
| 71 | |
| 72 | |
| 73 | variable {P : BudgetPoint} |
| 74 | |
| 75 | |
| 76 | |
| 77 | |
| 78 | |
| 79 | |
| 80 | |
| 81 | |
| 82 | def add (P : BudgetPoint) (x : Config G c) := ∑' i,masked P.threshold (R.range i) (R.ink i) x |
| 83 | |
| 84 | /-- Retrieve labels from indexed arrays at the true V. Used with summability. -/ |
| 85 | lemma submits (V : Config G c) : |
| 86 | (R.enact D q n).additive P V = R.add P V ∧ (R.enact D q n).gas P V = ∑' i,D.record P V i := by |
| 87 | constructor |
| 88 | · unfold Activities.additive Activities.regularOccurrence enact; rw [← q.symm.tsum_eq] |
| 89 | simp only [q.apply_symm_apply] |
| 90 | unfold add |
| 91 | let v i:=masked P.threshold (R.range i) (R.ink i) V |
| 92 | refine tsum_eq_tsum_of_ne_zero_bij (g:=v) (fun i => Sum.inl i.val) |
| 93 | (Sum.inl_injective.comp Subtype.val_injective) ?_ (fun _ => rfl) |
| 94 | rintro (i|i) hi |
| 95 | · exact ⟨⟨i,hi⟩,rfl⟩ |
| 96 | exfalso; apply hi |
| 97 | simp [masked, Set.indicator] |
| 98 | -- support equivalence |
| 99 | let A:=R.enact D q n |
| 100 | let f b := A.gasOccurrence P b V; let g:= D.record P V |
| 101 | let k (i : β) := n.symm (Sum.inl i) |
| 102 | have hi : Injective k:=n.symm.injective.comp Sum.inl_injective |
| 103 | let e := fun s : Finset β => s.image k |
| 104 | have hs : Injective e := Finset.image_injective hi |
| 105 | have hh i : A.forced (k i)=D.forced i := by unfold A k enact; simp |
| 106 | have hK i : A.K (k i)=D.ink i := by unfold A k enact; simp |
| 107 | have he (s) : f (e s)=g s := by |
| 108 | have hq : A.admissible P V (e s) ↔ D.covered P V s := by |
| 109 | unfold Activities.admissible Brand.covered e |
| 110 | rw [image_biUnion]; simp only [hh] |
| 111 | apply and_congr_left; intro _ |
| 112 | constructor |
| 113 | · intro h a ha b hb H |
| 114 | have ht := h (Finset.mem_image_of_mem k ha) (Finset.mem_image_of_mem k hb) (hi.ne H) |
| 115 | simp_rw [hh] at ht; exact ht |
| 116 | intro h i hh' j hj hn |
| 117 | obtain ⟨i,hi,rfl⟩:=mem_image.mp hh'; obtain ⟨j,hj',rfl⟩:=mem_image.mp hj |
| 118 | rw [hh,hh]; exact h hi hj' (mt (congr_arg k) hn) |
| 119 | unfold f g Brand.record Activities.gasOccurrence |
| 120 | split |
| 121 | · rename_i ht; rw [if_pos (hq.mp ht), show e s = s.image k by rfl,prod_image hi.injOn]; simp_rw [hK] |
| 122 | rename_i ht; rw [if_neg (mt hq.mpr ht)] |
| 123 | change (∑' i,f i)=∑' j,g j |
| 124 | refine tsum_eq_tsum_of_ne_zero_bij (fun i : support g => e i.val) (hs.comp Subtype.val_injective) ?_ (fun i => he _) |
| 125 | intro b hb |
| 126 | have hp (i) (hi : i∈b) : ∃ j,k j=i := by |
| 127 | obtain ⟨j,hj⟩:=n.symm.surjective i |
| 128 | subst i |
| 129 | rcases j with j|j; exact ⟨_,rfl⟩ |
| 130 | change f _ ≠0 at hb; unfold f Activities.gasOccurrence at hb; split at hb |
| 131 | · have he:= prod_ne_zero_iff.mp hb _ hi; simp [A,enact] at he |
| 132 | exact (hb rfl).elim |
| 133 | choose v hv using hp |
| 134 | let s := b.attach.image fun i => v i.val i.property |
| 135 | have ht : e s=b := by |
| 136 | ext i; constructor |
| 137 | · intro h |
| 138 | obtain ⟨j,h1,rfl⟩:=mem_image.mp h |
| 139 | obtain ⟨j1,h1,rfl⟩:=mem_image.mp h1 |
| 140 | rw [hv]; exact j1.property |
| 141 | intro he |
| 142 | exact Finset.mem_image.mpr ⟨_,mem_image_of_mem _ (Finset.mem_attach b ⟨_,he⟩),hv i he⟩ |
| 143 | refine ⟨⟨s,?_⟩,ht⟩; rw [mem_support,← he,ht]; exact hb |
| 144 | |
| 145 | end Room |
| 146 | end YM.SectorNext.Reconnect |