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.Next.MAXWELL.Det |
| 2 | import YM.SectorTools.ACTUAL_SCALAR_LEDGER.Matrix |
| 3 | |
| 4 | |
| 5 | set_option autoImplicit false |
| 6 | set_option warningAsError false |
| 7 | set_option synthInstance.maxSize 1024 |
| 8 | |
| 9 | /-! |
| 10 | # The value entries of the physical Ledger; Quote.Pays adapter |
| 11 | |
| 12 | Conditional low-level interface from window/gap and intact charter receipts (produced |
| 13 | together before Bar in later module). First forecast *only* the two logs from their exact |
| 14 | principal matrices: one with windows on the full matched precision and blank sector, |
| 15 | the other with the same endpoints C / ordered residual. No flag differentiation or |
| 16 | post-reset estimate. Frame-local approximation error VALUE per key, total has native |
| 17 | link and color dimensions, NOT period-independent. Uses nat-floor coarse range, not |
| 18 | charging smallness retroactively on an arbitrary `Cosmos` alone. |
| 19 | -/ |
| 20 | noncomputable section |
| 21 | namespace YM.SectorTools.ActualScalar |
| 22 | open Function Filter Set MeasureTheory Matrix RG Wilson Lattice Pressure Pressure.Stores Precision Tree Push.SectorMeasure |
| 23 | Next.SectorChange Further GaussianScalar AnalyticBridge.ResetIncome SectorNext.Vacuum |
| 24 | open AnalyticBridge (GaussianFieldAlignment.Rates GaussianFieldAlignment.Ready) |
| 25 | open scoped Topology BigOperators Classical ContDiff Matrix.Norms.Frobenius |
| 26 | |
| 27 | variable {G : Gauge} {c f : Side} {S : StepData c f} (e : Plate G S) (v : AnalyticBridge.GaussianFieldAlignment.Rates) |
| 28 | |
| 29 | structure Bought (e : Plate G S) (v : AnalyticBridge.GaussianFieldAlignment.Rates) : Prop where |
| 30 | doors : Doors e |
| 31 | localH : LocalRatio e.chart |
| 32 | branches : S.patch.Branches S.kernel G |
| 33 | standing A k V : e.matched A V → Next.SectorChange.Standing (F:=e.forest) (A:=A) e.book e.chart e.d k V |
| 34 | sound A k V : e.matched A V ∨ V=1 → AnalyticBridge.GaussianFieldAlignment.Ready A e.forest e.x e.tube k V v.s v.η v.C v.D |
| 35 | timed : Timing (expense G S.patch.L v) (rangeSize e.x) |
| 36 | |
| 37 | namespace Bought |
| 38 | variable (he : Bought e v) |
| 39 | include he |
| 40 | local notation "p" => expense G S.patch.L v |
| 41 | variable {v e} |
| 42 | lemma tall : 120 ≤ radiusB e.x := Nat.le_trans (by decide : 120 ≤ 200) (he.sound noHole e.tag 1 (Or.inr rfl)).side |
| 43 | |
| 44 | def lens := frame e he.tall |
| 45 | |
| 46 | lemma sees (A : Stores S) (k : S.Choices) (V : Config G c) : |
| 47 | AnalyticBridge.GaussianFieldAlignment.Ready A e.forest e.x e.tube k (supported e A V) v.s v.η v.C v.D := |
| 48 | he.sound A k _ <| by unfold supported; split <;> simp [*] |
| 49 | |
| 50 | lemma tables (A : Stores S) (k : S.Choices) (V : Config G c) (Y : GaussianScalar.Frozen (held e A) G) : |
| 51 | RawPrice p (distance e) ((sheets e he.doors A k V).sigma Y) := precision_price _ _ _ _ _ _ _ (he.sees A k V) |
| 52 | lemma flat : RawPrice p (distance e) e.Flat := by |
| 53 | rw [← flat_price_eq e he.doors he.branches]; exact precision_price _ _ _ _ _ _ _ (he.sound noHole _ _ (Or.inr rfl)) |
| 54 | |
| 55 | lemma scanner : Scanner e.Flat e.book (sheets e he.doors) (p).low (p).high ((p).correctionCost (rangeSize e.x)) := by |
| 56 | have hh A k V : Opened e.chart ((sheets e he.doors A k V).veil) e.book A k V := opened _ _ he.doors he.localH he.branches _ _ (he.standing A k V) |
| 57 | have hx := activeScanner he.lens e.Flat p e.book (sheets e he.doors) (hi ..) he.flat he.tables he.timed (away e he.tall) hh |
| 58 | have hs A k V : ((sheets e he.doors A k V).screen he.lens) = sheets e he.doors A k V := screened_eq _ he.doors _ _ _ he.tall v.η_pos (he.sees A k V).solvent |
| 59 | simpa only [hs] using hx |
| 60 | |
| 61 | lemma matched_log (A : Stores S) (k : S.Choices) (V : Config G c) (hv : e.matched A V) |
| 62 | (Y : GaussianScalar.Frozen (held e A) G) : |
| 63 | let W := page e he.doors A k V |
| 64 | Round.traceLog (W.eps Y) = Real.log (1+(e.Gram A V k * e.Cov A V k - 1)).det := by |
| 65 | have h := he.scanner.matrixRule A k V |
| 66 | rw [opens_at_match _ _ _ _ _ hv] at h |
| 67 | intro W; rw [(W.rates_trace h Y).2.1,(eps_price e he.doors A k V Y).2.2] |
| 68 | end Bought |
| 69 | |
| 70 | lemma spare_eq (Z : ChartRatio G) (β : ℝ) (h : 0<β) : spare Z β=gaussLink Z β := by |
| 71 | unfold Next.SectorChange.spare gaussLink |
| 72 | rw [show coupling β ^ 2=β⁻¹ from (Fiber.spread_beta _ h).2, ← div_eq_mul_inv, Real.sqrt_eq_rpow, |
| 73 | ← Real.rpow_mul_natCast (by positivity)] |
| 74 | simp only [Gauge.Color,finrank_euclideanSpace]; congr 2; ring |
| 75 | |
| 76 | lemma cost_eq (he : Bought e v) (R : Rep G f) (hr : 0<R.beta) (A : Stores S) (k : S.Choices) (V : Config G c) (hv : e.matched A V) |
| 77 | (Y : GaussianScalar.Frozen (held e A) G) : |
| 78 | e.cost R A V k = (page e he.doors A k V).chargeOut e.Flat R.beta Y := by |
| 79 | unfold Plate.cost Fiber.chargeOut residualLog |
| 80 | rw [← Fiber.eps, (eps_price ..).1, he.matched_log A k V hv Y,spare_eq e.chart _ hr] |
| 81 | rw [← Fintype.card_congr (heldEquiv e A),Fintype.card_coe]; change _ = -(↑(held e A).card : ℝ)*_ - _/_ + _/_; ring |
| 82 | |
| 83 | namespace Bought |
| 84 | variable (he : Bought e v) |
| 85 | include he |
| 86 | local notation "p" => expense G S.patch.L v |
| 87 | variable (R : Rep G f) (hr : 0<R.beta) (A : Stores S) (k : S.Choices) (V : Config G c) (Y : GaussianScalar.Frozen (held e A) G) |
| 88 | variable {e v} |
| 89 | |
| 90 | include hr in |
| 91 | lemma windows (hv : e.matched A V) : |
| 92 | let W := page e he.doors A k V |
| 93 | e.cost R A V k = -∑ _ ∈ held e A,Real.log (gaussLink e.chart R.beta) + |
| 94 | ∑ i,(W.nearby p he.lens e.Flat Y i + W.trailPrice he.lens e.Flat Y i) ∧ |
| 95 | (∀ i, |W.nearby p he.lens e.Flat Y i| ≤ Panel.amount (p).low (p).high ∧ |W.trailPrice he.lens e.Flat Y i| ≤ (p).fog (rangeSize e.x)) ∧ |
| 96 | |∑ i, W.trailPrice he.lens e.Flat Y i| ≤ Fintype.card (Key e.forest G)*(p).fog (rangeSize e.x) := by |
| 97 | intro W |
| 98 | have ht := he.sound A k V (Or.inl hv) |
| 99 | have hh Y : RawPrice p (distance e) (W.sigma Y) := precision_price _ _ _ _ _ _ _ ht |
| 100 | have he' y : W.C y=(W.screen he.lens).C y := C_eq _ _ _ _ _ _ _ v.η_pos ht.solvent |
| 101 | obtain ⟨h1,h2⟩ := W.in_book p he.lens e.Flat (hi ..) hh he.flat (away e he.tall) he.timed he' Y R.beta |
| 102 | rw [cost_eq _ v he R hr A k V hv Y]; exact ⟨h1,h2,(Finset.abs_sum_le_sum_abs _ _).trans (by simpa using Finset.sum_le_sum (s:=Finset.univ) fun i _ => (h2 i).2)⟩ |
| 103 | |
| 104 | |
| 105 | |
| 106 | |
| 107 | |
| 108 | |
| 109 | end Bought |
| 110 | end YM.SectorTools.ActualScalar |