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.PhysicalNext.ACTUAL_SECTOR_FACTOR_DICTIONARY.Cue |
| 2 | import YM.PhysicalNext.ACTUAL_SECTOR_FACTOR_DICTIONARY.Fringe |
| 3 | import YM.SectorNext.RECONNECTED_LOCALITY.Optional |
| 4 | |
| 5 | /-! |
| 6 | # Consuming the independent review *if* the support ledger covers these |
| 7 | letters. |
| 8 | |
| 9 | A way to compose with the verified `Optional.expanding` even for Logs |
| 10 | which might not be summable when their physical prerequisites have been |
| 11 | expanded: buy it *from the Crude bills on this page* (zero bases don't |
| 12 | consume convergence). `Programme.optional` / `floor.repairs` on their own |
| 13 | are finite cutoff results on the unmarked currency. Here put Opinion |
| 14 | prices on the independent addresses recorded in the spelling. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.PhysicalNext.Dictionary.Formal |
| 19 | open Function Filter Set Lattice RG Wilson Pressure Pressure.Tube Pressure.Stores Tree Precision Exterior MeasureTheory Matrix Bloch |
| 20 | open Next.Fluctuations Next.Fluctuations.Sector Next.SectorChange Next.SectorChange.Rows Push.SectorMeasure Push.SectorMeasure.Oriented Push.SectorMeasure.Presented |
| 21 | open AnalyticBridge.Annulus.Map |
| 22 | open AnalyticBridge.LocalGaussian Spot |
| 23 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff InnerProductSpace YM.PhysicalNext.Dictionary.Formal |
| 24 | open Wires Geo Notify Voice Voice.Check Voice.Defenses Parcel Shipment Lobbies SectorNext.Reconnect |
| 25 | open Finset hiding card |
| 26 | variable {G : Gauge} {c f : Side} {S : StepData c f} (D : AnalyticBridge.LocalGaussian.Desk G S) (h : Lit D) |
| 27 | (F : Forest S.ratio) (A : Stores S) (k₀ k : S.Choices) (V : Config G c) (b : Finset ℕ) (s : ℝ) |
| 28 | local notation "x₀"=>D.betaHat |
| 29 | local notation "B"=>radiusB x₀ |
| 30 | local notation "H₀"=>chosen D F k₀ A k |
| 31 | local notation "T"=>Voice.Check.Test |
| 32 | |
| 33 | /- Whole A step mandatory list. -/ |
| 34 | local notation "P" => Fleet.packs S (hump B) (Fleet.manifest A) |
| 35 | |
| 36 | def invoked := (P).biUnion (fun i=>Booklet.checks D i F A) |
| 37 | def volumes := (P).biUnion (fun i=>Booklet.history D i F A) |
| 38 | |
| 39 | include k₀ k in |
| 40 | lemma rolled (i : T c f) : i∈invoked D F A ↔ live x₀ F A b (.inl i) ∧ wanted S x₀ A i := by |
| 41 | rw [← Finset.inl_mem_disjSum (t:=b),invoked, (Booklet.bundled D F A k k₀ b).2, |
| 42 | Finset.mem_image,← show Sum.inl i ∈Set.range (historical D H₀ (b:=b)) ↔ live x₀ F A b _ from controlled D H₀ b _] |
| 43 | constructor |
| 44 | · rintro ⟨j,hj,hp⟩ |
| 45 | have he:=(Parcel.stays D j).mp hj; rw [hp] at he |
| 46 | exact ⟨⟨j,hp⟩,he⟩ |
| 47 | rintro ⟨⟨j,hj⟩,hi⟩; exact ⟨j,(Parcel.stays D j).mpr (by rw [hj]; exact hi), hj⟩ |
| 48 | -- k,k₀ only for A packet lemma above. use include. |
| 49 | |
| 50 | -- Masks on the independent addresses. |
| 51 | def trying (i : T c f) : Prop := live x₀ F A b (.inl i) ∧ ¬wanted S x₀ A i |
| 52 | def offering (i : ListID S × Bool) : Prop := present x₀ A F i.1 ∧ ¬wants D A i.1 ∧ (i.2=false ∨ hasVersions i.1=true) |
| 53 | |
| 54 | def examFee (p : Refs G f) (i : T c f) : ℝ := if trying D F A b i then Casting.complement D i F A b k V p else 0 |
| 55 | def volley (p : Refs G f) (i : ListID S × Bool) : ℝ := if offering D F A i then Shipment.shine D s i.1 i.2 F A b k V p else 0 |
| 56 | |
| 57 | lemma opens (uPAGE : (H₀).Visual) (i : T c f) : |
| 58 | poster D F A k₀ k V b uPAGE i = (if i∈invoked D F A then films D i F A b k V (Print.backdrop x₀ A F uPAGE) else 1) * |
| 59 | (1+ examFee D F A k V b (Print.backdrop x₀ A F uPAGE) i) := by |
| 60 | simp only [poster,examFee,trying,rolled D F A k₀ k b i,Casting.complement,Parcel.frontage] |
| 61 | by_cases he : live x₀ F A b (Sum.inl i) |
| 62 | · by_cases ht : wanted S x₀ A i |
| 63 | · simp [he,ht] |
| 64 | cases hj : bare i <;> simp [he,ht,hj] |
| 65 | simp [he] |
| 66 | |
| 67 | lemma portrait (i : ListID S) (p : Refs G f) : |
| 68 | Optional.factors Prod.fst (Formal.volley D F A k V b s p) i = if present x₀ A F i ∧ ¬wants D A i then Real.exp (introduce D i F A b k V p) else 1 := by |
| 69 | let f:=Formal.volley D F A k V b s p |
| 70 | let e : Bool ≃ {x : ListID S × Bool // x.1=i} := |
| 71 | { toFun u:=⟨(i,u),rfl⟩ |
| 72 | invFun q:=q.val.2 |
| 73 | left_inv u:=rfl |
| 74 | right_inv := fun y=> Subtype.ext (Prod.ext (y.property.symm) rfl) } |
| 75 | unfold Optional.factors; rw [← e.tsum_eq] |
| 76 | change 1+(∑' u:Bool,f (i,u))=_ |
| 77 | rw [tsum_fintype,Fintype.sum_bool] |
| 78 | unfold f volley offering; dsimp only |
| 79 | by_cases hz : present x₀ A F i ∧ ¬wants D A i |
| 80 | · cases i <;> simp [hz,hasVersions,shine] -- try |
| 81 | simp only [if_neg hz] |
| 82 | rw [if_neg (fun hv=>hz ⟨hv.1,hv.2.1⟩), if_neg (fun hv=>hz ⟨hv.1,hv.2.1⟩)]; ring |
| 83 | |
| 84 | -- `repository` alignment applied to independent word names; exponent |
| 85 | -- bills only when original fine/tests succeeded (and all doors live so |
| 86 | -- taw=1). Otherwise do NOT purchase price series. |
| 87 | include h |
| 88 | private theorem runs (uPAGE : (H₀).Visual) (hc : (H₀).Clearing V) (ok : (∏ i : Quizzes D H₀,exam D F A k₀ k V b uPAGE i) ≠0) : |
| 89 | let p:=Print.backdrop x₀ A F uPAGE |
| 90 | let t := volumes D F A |
| 91 | HasSum (fun i=>if present x₀ A F i ∧ ¬wants D A i then introduce D i F A b k V p else 0) |
| 92 | ((H₀).sumValue V uPAGE - (∑ i∈t,sew D i F A b k V p)) := by |
| 93 | intro p t |
| 94 | let r := (written D H₀); let q:=Parcel.tapped D H₀ |
| 95 | let g i := (H₀).price (packets D F k₀ A k h) i V uPAGE |
| 96 | have he : ∑ i∈q,g i=∑ i∈t,sew D i F A b k V p := by |
| 97 | rw [show t=q.image r from (Booklet.bundled D F A k k₀ b).1,Finset.sum_image (once D (H₀)).injOn] |
| 98 | refine Finset.sum_congr rfl fun i hi=>?_ |
| 99 | have hs := arranged D h F A k₀ k V b uPAGE hc ok i |
| 100 | rw [Parcel.receipt,if_pos (show wants D A _ from (Parcel.heated D i).mp hi)] at hs |
| 101 | exact hs.symm |
| 102 | let v := (H₀).repository (packets D F k₀ A k h) V hc h.valid uPAGE |
| 103 | have hq : HasSum (fun i=>if i∈q then g i else 0) (∑ i∈q,g i) := by |
| 104 | have hi (i) (he:i∉q) : (if i∈q then g i else 0)=0 := if_neg he |
| 105 | have hh : HasSum _ _ := (hasSum_sum_of_ne_finset_zero (f:=fun i=>if i∈q then g i else 0) (L:=SummationFilter.unconditional _) hi) |
| 106 | convert! hh using 1 |
| 107 | exact Finset.sum_congr rfl fun i he => (if_pos he).symm |
| 108 | let t' i:=if i∈q then 0 else g i |
| 109 | have hr : HasSum t' _ := (show HasSum g _ from v).sub hq |>.congr_fun (fun i=>by by_cases he : i∈q <;> simp [t',he]) |
| 110 | rw [he] at hr |
| 111 | have ht := (hasSum_extend_zero (once D H₀)).mpr hr |
| 112 | apply ht.congr_fun |
| 113 | intro i |
| 114 | by_cases hf : i ∈ Set.range r |
| 115 | swap |
| 116 | · rw [Function.extend_apply' _ _ _ hf,if_neg (fun hv=>hf ((prescribed D H₀ i).mpr hv.1))]; rfl |
| 117 | obtain ⟨j,rfl⟩:=hf |
| 118 | have hl : present x₀ A F (r j):=advertised D _ |
| 119 | -- extension first vs second |
| 120 | rw [(once D H₀).extend_apply _ _ _] |
| 121 | by_cases hh : wants D A (r j) |
| 122 | · simp only [hl,hh,not_true_eq_false,and_false,↓reduceIte] |
| 123 | unfold t'; rw [if_pos ((Parcel.heated D j).mpr hh)] |
| 124 | rw [if_pos ⟨hl,hh⟩] |
| 125 | have hq:= arranged D h F A k₀ k V b uPAGE hc ok j |
| 126 | rw [Parcel.receipt,if_neg hh] at hq -- hh r) |
| 127 | unfold t'; rw [if_neg (mt (Parcel.heated D j).mp hh)]; exact hq |
| 128 | |
| 129 | abbrev Tryouts (S : StepData c f) := Finset (T c f) × Finset (ListID S × Bool) |
| 130 | |
| 131 | def sealedBook (p : Refs G f) : ℝ := (∏ i∈ invoked D F A, films D i F A b k V p) * Real.exp (∑ i∈ volumes D F A, sew D i F A b k V p) |
| 132 | def tickets (p : Refs G f) (l : Tryouts S) : ℝ := (∏ j∈l.1,examFee D F A k V b p j) * Optional.subsetTerm Prod.fst (Formal.volley D F A k V b s p) l.2 |
| 133 | |
| 134 | set_option maxHeartbeats 400000 in |
| 135 | theorem wing (uPAGE : (H₀).Visual) (hc : (H₀).Clearing V) (hi : D.Nonoverlap b) (χ : ℂ) |
| 136 | (hs : let p:=Print.backdrop x₀ A F uPAGE |
| 137 | Summable (fun i=> χ * ((sealedBook D F A k V b p*tickets D F A k V b s p i : ℝ):ℂ))) : |
| 138 | let p:=Print.backdrop x₀ A F uPAGE |
| 139 | HasSum (fun i=>χ * ((sealedBook D F A k V b p*tickets D F A k V b s p i : ℝ):ℂ)) |
| 140 | (χ * (( (∏ i,exam D F A k₀ k V b uPAGE i) * Real.exp ((H₀).sumValue V uPAGE) : ℝ):ℂ)) := by |
| 141 | intro p; dsimp only at hs |
| 142 | let C := sealedBook D F A k V b p |
| 143 | let K i := Casting.complement D i F A b k V p |
| 144 | let q := examFee D F A k V b p |
| 145 | let e i:= Formal.volley D F A k V b s p i |
| 146 | let E := ∏ i : T c f,(1+ q i) |
| 147 | let O := ∏' i,Optional.factors Prod.fst e i |
| 148 | let Z:=∏ i,exam D F A k₀ k V b uPAGE i |
| 149 | let P₀ := ∏ i∈invoked D F A,films D i F A b k V p |
| 150 | have hZ : Z=P₀*E := by |
| 151 | unfold Z |
| 152 | rw [← feed D h F A k₀ k V b uPAGE hc hi] |
| 153 | simp_rw [opens D F A k₀ k V b uPAGE] |
| 154 | rw [prod_mul_distrib]; refine congr_arg₂ HMul.hMul ?_ rfl |
| 155 | unfold P₀ |
| 156 | rw [←prod_subset (subset_univ (invoked D F A)) (by intro i _ hi; exact if_neg hi)] |
| 157 | exact Finset.prod_congr rfl fun i hi=> if_pos hi |
| 158 | have hzero : Z≠0 → C≠0 := fun hz=>mul_ne_zero (left_ne_zero_of_mul (hZ ▸ hz)) (Real.exp_pos _).ne' |
| 159 | have hΛ : C*(E*O)= Z * Real.exp ((H₀).sumValue V uPAGE) := by |
| 160 | unfold C sealedBook; change P₀*_ * (E*O)=_ |
| 161 | rw [mul_mul_mul_comm,← hZ]; by_cases he: Z≠0 |
| 162 | swap; simp [of_not_not he] -- potential dependent rw; bullet |
| 163 | have ht : O=Real.exp ((H₀).sumValue V uPAGE - (∑ i∈volumes D F A,sew D i F A b k V p)) := by |
| 164 | have hr := runs D h F A k₀ k V b uPAGE hc he |
| 165 | have hv i : Optional.factors Prod.fst e i=Real.exp (if present x₀ A F i ∧ ¬wants D A i then introduce D i F A b k V p else 0) := by |
| 166 | rw [portrait]; split_ifs <;> simp |
| 167 | unfold O; simp_rw [hv]; exact hr.rexp.tprod_eq |
| 168 | rw [ht,←Real.exp_add]; congr 2; ring |
| 169 | let t i := tickets D F A k V b s p i |
| 170 | change Summable (fun i=>χ*(↑(C*t i):ℂ)) at hs |
| 171 | change HasSum (fun i=>χ*(↑(C*t i):ℂ)) (χ*(↑(Z*_):ℂ)) |
| 172 | rw [←hΛ] |
| 173 | simp_rw [Complex.ofReal_mul] at hs ⊢ |
| 174 | simp only [← mul_assoc] at hs ⊢ |
| 175 | let d:=χ*(↑C:ℂ) |
| 176 | change Summable (fun i=>d*(t i:ℂ)) at hs |
| 177 | change HasSum _ (d*(↑E:ℂ)*(↑O:ℂ)) |
| 178 | by_cases hd : d=0 |
| 179 | · change HasSum (fun i=>d*(t i:ℂ)) _ |
| 180 | simp_rw [hd,zero_mul]; exact hasSum_zero |
| 181 | have hb := (summable_mul_left_iff hd).mp hs |
| 182 | have T₀ : Summable t := by |
| 183 | exact Complex.reCLM.summable hb |
| 184 | have pick (j : ListID S × Bool) : t (∅,{j})=e j := by |
| 185 | unfold t tickets Optional.subsetTerm |
| 186 | dsimp only; rw [if_pos (show Fleet.pure Prod.fst {j} from fun i hi j hj hu=> Finset.mem_singleton.mp hj |>.trans (Finset.mem_singleton.mp hi).symm)] |
| 187 | simp [e] |
| 188 | have hl: Summable e := by |
| 189 | rw [show e=(fun i=> t (∅,{i})) from funext fun i=> (pick i).symm] |
| 190 | exact T₀.comp_injective (i:=fun i : ListID S × Bool=> ((∅,{i}) : Tryouts S)) (by intro i u he; exact Finset.singleton_injective (Prod.mk.inj he).2) |
| 191 | have ha:= (Optional.expanding Prod.fst hl).1 |
| 192 | have hh : HasSum t (E*O) := by |
| 193 | let f (i : Finset (T c f)) := ∏ j∈i,q j |
| 194 | have he : HasSum f E := by |
| 195 | unfold E; rw [prod_one_add] |
| 196 | convert! hasSum_fintype f using 1 |
| 197 | exact he.mul ha T₀ |
| 198 | rw [mul_assoc d,←Complex.ofReal_mul]; exact (Complex.ofRealCLM.hasSum hh).mul_left d |
| 199 | end YM.PhysicalNext.Dictionary.Formal |