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.AnalyticBridge.GAUSSIAN_FIELD_ALIGNMENT.Charges |
| 2 | import YM.SectorTools.PHYSICAL_GAUSSIAN_SWITCH.ColumnCosts |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Both window conventions respond within a physical support |
| 7 | |
| 8 | Here measured in output parent positions, including across the period |
| 9 | seam. Card check even if horizon larger than side. Genuinely coarse |
| 10 | L scaling, color multiplicity retained. This file concerns support of |
| 11 | the MATRIX and linear-coordinate shift in the Gaussian law at one held |
| 12 | background, NOT footprints of formulas computing entries from a background |
| 13 | (and answers not smooth across switches!). Full address supports and any |
| 14 | projector/gauge provenance other ledgers. -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.SectorTools.PhysicalGaussianSwitch.LocalLpWindows |
| 18 | open Function Filter Set Matrix MeasureTheory |
| 19 | open Lattice Wilson RG Precision Exterior Tree Pressure Pressure.Stores Bid |
| 20 | open Next.SectorChange Next.SectorChange.Rows Next.SectorChange.Gaussian Next.SectorChange.Wisps Next.SectorChange.Schur |
| 21 | open AnalyticBridge.GaussianFieldAlignment |
| 22 | open FreeResolvent.Mid |
| 23 | open scoped Topology BigOperators Classical |
| 24 | variable {G : Gauge} {c f : Side} {S : StepData c f} (A : Stores S) (F : Forest S.ratio) (x : ℝ) |
| 25 | |
| 26 | -- use defeq to `In x A F`. H∈ finite set coordinates |
| 27 | local notation "Area" => In (G:=G) |
| 28 | local notation "Covar" => Next.SectorChange.Gaussian.Table |
| 29 | |
| 30 | def plot (p : Site c) : Finset (Area x A F) := Finset.univ.filter (fun i => separation p (front A F i) ≤ radiusB x+2) |
| 31 | |
| 32 | def haloSet (X : Finset (Area x A F)) := X.biUnion (fun i => plot (G:=G) A F x (front A F i)) |
| 33 | |
| 34 | lemma plot_self (i : Area x A F) : i∈plot (G:=G) A F x (front A F i) := by simp [plot] |
| 35 | lemma halo_self (X : Finset (Area x A F)) : X ⊆ haloSet A F x X := fun i h => Finset.mem_biUnion.mpr ⟨i,h,plot_self A F x i⟩ |
| 36 | |
| 37 | lemma ends_inside (i j : Area x A F) (h : j∈panels A F i) : j∈plot (G:=G) A F x (front A F i) := by |
| 38 | have he : meeting S x i.1.val.val j.1.val.val := h |
| 39 | have hi (i : Area x A F) : front A F i ∈ Next.SectorChange.points S i.1.val.val := Set.mem_insert .. |
| 40 | have hh:= he _ (hi i) _ (hi j) |
| 41 | exact Finset.mem_filter.mpr ⟨Finset.mem_univ _,by omega⟩ |
| 42 | |
| 43 | private lemma mid_points (B : ℕ) (e d : Bond f) (h : 20*separation (axis e) (axis d) ≤ 2*S.patch.L.val*B) : |
| 44 | separation (S.ratio.parent e.1) (S.ratio.parent d.1) ≤ B+2 := by |
| 45 | let g := double f |
| 46 | let L := S.patch.L.val |
| 47 | have hP (p : Bond f) : separation (g.embed p.1) (axis p) ≤ 1 := Work.E03.sep_step .. |
| 48 | have he := separation_triangle (g.embed e.1) (axis d) (g.embed d.1) |
| 49 | have hh := separation_triangle (g.embed e.1) (axis e) (axis d) |
| 50 | rw [upto,separation_comm (axis d) (g.embed d.1)] at he |
| 51 | change 2*separation e.1 d.1 ≤ _ at he |
| 52 | let q:=separation (S.ratio.parent e.1) (S.ratio.parent d.1) |
| 53 | have hl := Corona.near S.ratio e.1; have hk := Corona.near S.ratio d.1 |
| 54 | change _ ≤ L at hl hk |
| 55 | have ha := separation_triangle (S.ratio.embed (S.ratio.parent e.1)) e.1 d.1 |
| 56 | have hx := separation_triangle (S.ratio.embed (S.ratio.parent e.1)) d.1 (S.ratio.embed (S.ratio.parent d.1)) |
| 57 | rw [upto] at hx; change L*q ≤ _ at hx |
| 58 | rw [separation_comm] at hl |
| 59 | have ho : 3 ≤ L := S.patch.coarse |
| 60 | change 20*_ ≤ 2*L*B at h |
| 61 | change q ≤ B+2 |
| 62 | by_contra! H |
| 63 | have ht := Nat.mul_le_mul_left L (show B+2 ≤ q by omega) |
| 64 | have hi := hP e; have hz := hP d |
| 65 | nlinarith |
| 66 | |
| 67 | lemma mids_inside (i j : Area x A F) (h : j∈mids A F x i) : j∈ plot (G:=G) A F x (front A F i) := by |
| 68 | have he := (Finset.mem_filter.mp (show address A F x j ∈ window S (radiusB x) (address A F x i) from h)).2 |
| 69 | rw [cull_address,cull_address] at he |
| 70 | exact Finset.mem_filter.mpr ⟨Finset.mem_univ _,mid_points (S:=S) _ _ _ he⟩ |
| 71 | |
| 72 | -- supply actual ordered columns, no changing Gram to unmasked inverse |
| 73 | lemma columns_confined (Q : Covar (Area x A F)) (X : Finset (Area x A F)) : |
| 74 | ColumnCosts.confined (per (panels A F) Q) (per (mids A F x) Q) X (haloSet A F x X) := by |
| 75 | refine ⟨halo_self A F x X,fun i hi j hj => ?_⟩ |
| 76 | have hv : j ∉ plot (G:=G) A F x (front A F i) := fun he => hj (Finset.mem_biUnion.mpr ⟨i,hi,he⟩) |
| 77 | exact ⟨per_zero _ _ (fun hx => hv (mids_inside A F x _ _ hx)),per_zero _ _ (fun hx => hv (ends_inside A F x _ _ hx))⟩ |
| 78 | |
| 79 | /-- Hybrid tables do correspond to a prescription for computing a |
| 80 | Gaussian with *some* actual window columns changed, on this same list |
| 81 | (not a new definition of `fog`). -/ |
| 82 | def mosaicWindows (X : Finset (Area x A F)) (i : Area x A F) := if i∈X then mids A F x i else panels A F i |
| 83 | private lemma mosaic_calc {I : Type} [Fintype I] [DecidableEq I] (W U : I → Set I) (Q : Covar I) (X : Finset I) : |
| 84 | per (fun i => if i∈X then U i else W i) Q = ColumnCosts.hybrid (per W Q) (per U Q) X := by |
| 85 | ext j i |
| 86 | let g (s : Set I) := per (fun _=>s) Q j i |
| 87 | change g (if i∈X then U i else W i)= g (W i)+(if i∈X then g (U i)-g (W i) else 0) |
| 88 | by_cases h : i∈X <;> simp [h] |
| 89 | |
| 90 | lemma mosaic (Q : Covar (Area x A F)) (X : Finset (Area x A F)) : |
| 91 | per (mosaicWindows A F x X) Q = ColumnCosts.hybrid (per (panels A F) Q) (per (mids A F x) Q) X := |
| 92 | mosaic_calc _ _ Q X |
| 93 | |
| 94 | lemma plot_card (p : Site c) : ((plot (G:=G) A F x p).card:ℝ) ≤ |
| 95 | LocalJet.chips S (radiusB x+2)*(Fintype.card G.ColorIndex) := by |
| 96 | let E (i : Area x A F) : Bond f × G.ColorIndex := (i.1.val.val,i.2) |
| 97 | have hE : Injective E := by |
| 98 | rintro ⟨⟨⟨v,hv⟩,hx⟩,i⟩ ⟨⟨⟨u,hu⟩,hz⟩,j⟩ h |
| 99 | cases (Prod.ext (Prod.mk.inj h).1 (Prod.mk.inj h).2 : (v,i)=(u,j)) -- maybe v dep |
| 100 | rfl |
| 101 | let W := LocalJet.members S p (radiusB x+2) ×ˢ (Finset.univ : Finset G.ColorIndex) |
| 102 | have he : (plot (G:=G) A F x p).card ≤ W.card := Finset.card_le_card_of_injOn E (fun i hi => Finset.mem_product.mpr |
| 103 | ⟨Finset.mem_filter.mpr ⟨Finset.mem_univ _,((Finset.mem_filter (a:=i)).mp hi).2⟩,Finset.mem_univ _⟩) hE.injOn |
| 104 | have ht := LocalJet.saves S p (radiusB x+2) |
| 105 | refine le_trans (show ((plot (G:=G) A F x p).card:ℝ) ≤ W.card from by exact_mod_cast he) ?_ |
| 106 | unfold W; rw [Finset.card_product,Finset.card_univ,Nat.cast_mul]; gcongr |
| 107 | |
| 108 | lemma halo_card (X : Finset (Area x A F)) : ((haloSet A F x X).card : ℝ) ≤ |
| 109 | X.card*(LocalJet.chips S (radiusB x+2)*(Fintype.card G.ColorIndex)) := by |
| 110 | unfold haloSet |
| 111 | refine le_trans (show _ ≤ ((∑ i∈X,(plot (G:=G) A F x (front A F i)).card:ℕ):ℝ) by exact_mod_cast Finset.card_biUnion_le) ?_ |
| 112 | push_cast; simpa using (Finset.sum_le_sum (g:=fun _ => LocalJet.chips S (radiusB x+2)*Fintype.card G.ColorIndex) (s:=X) (fun i _ => plot_card A F x (front A F i))) |
| 113 | end YM.SectorTools.PhysicalGaussianSwitch.LocalLpWindows |