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.Extra.MULTISOURCE_BOUNDS.SystemPrices |
| 2 | |
| 3 | /-! |
| 4 | # A more elementary offer towards `Unbilled.raw` |
| 5 | |
| 6 | One *sufficient* procedure based on actual product, component, numbered |
| 7 | log, merger, and canonical-read terms. It is NOT claimed that the physical |
| 8 | RG map has data obeying this model! In particular global singleton units are |
| 9 | not admitted as arbitrarily large interacting vertices. Need component and |
| 10 | vacuum integrals/derivative estimates with `Forward`'s individual product |
| 11 | bounds (including κ on the *output* forced species) and with enough actual |
| 12 | support and derivative reserves. Need common production labels whose |
| 13 | multiplicities can be accounted for by the exact maps (not just equality of |
| 14 | a polynomial on a different alphabet), or justify more merger passes or other |
| 15 | altered inputs. In particular *one* overlap pass here for exclusions plus base |
| 16 | reset, which requires transparent supports/multiplicities through that whole |
| 17 | operation. A second pass for the combined section corrections. These are |
| 18 | price tests with hypotheses on the true arrays, not new constraints on the |
| 19 | spec of CLOSED; can instead prove `Raw` directly. |
| 20 | -/ |
| 21 | |
| 22 | set_option autoImplicit false |
| 23 | noncomputable section |
| 24 | namespace YM.Extra.Multi.System |
| 25 | open Function Filter Lattice RG Source Wilson Overlay Marker Labels MeasureTheory Finset LogTerms Germs Merger Repeated |
| 26 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical ContDiff |
| 27 | |
| 28 | variable {G : Gauge} {C : Family G} {V : Type} [DecidableEq V] {R : Census V} {N p m : ℕ} |
| 29 | {D : V → ℕ} |
| 30 | |
| 31 | def paint (C : Family G) (D : V→ℕ) (m) := duty (fun i => (C.S.block m).val ^ D i : V → ℝ) |
| 32 | |
| 33 | def outlet (C : Family G) (D : V→ℕ) (A : Bands R (C.path.rep N p m)) : Layer G V (C.side m p) where |
| 34 | Id := ℕ × ℕ |
| 35 | supp i := Multi.forced (C.path.rep N p m) i |
| 36 | names i := (tags A i).val |
| 37 | value i := if mixed (tags A i) then (↑(paint C D m (tags A i).val):ℂ)⁻¹ • A.entries i.1 i.2 else 0 |
| 38 | |
| 39 | /-- Structural comparisons and pointwise merger-product tests on the actual |
| 40 | values. Anchor locations here and below are those of A (the desired output), |
| 41 | and reference prices/labels are from exactly C. Individual receipt hypotheses |
| 42 | for producing integrals in these arrays are in Forward. Sup-norm bounds of |
| 43 | forced mergers are instead DERIVED from `restore` and `finish`. -/ |
| 44 | structure Scheme (C : Family G) (D : V → ℕ) (A : Bands R (C.path.rep N p m)) where |
| 45 | marks : Layer G V (C.side m p) -- support/naming only needed for input vertices |
| 46 | vac : Layer G V (C.side m p) -- same |
| 47 | reg : Layer G V (C.side m p) -- integrated first-system unforced terms PRE log, PRE L^D |
| 48 | hard : Layer G V (C.side m p) -- integrated first-system d_X |
| 49 | reset : Layer G V (C.side m p) -- base/reset/indicator partners (only unmarked) |
| 50 | interim : Layer G V (C.side m p) -- forced AFTER exclusions/reset |
| 51 | anchors : reg.Id → Site (C.side m p) |
| 52 | no_marks i : vac.names i=∅ |
| 53 | no_renew i : reset.names i=∅ |
| 54 | cut : Slit C D A.origins reg.log |
| 55 | matchLog : ∃ map : {j // mixed (A.rays j) ∧ A.H j ≠ 0} → reg.log.Id, Injective map ∧ |
| 56 | ∀ i, (A.rays i.val).val = reg.log.names (map i) ∧ A.support i.val = reg.joint (map i) ∧ |
| 57 | A.H i.val = (↑(paint C D m (A.rays i.val).val):ℂ) • reg.log.value (map i) |
| 58 | restore : hard.Merge ((reg.negative (point C m)).combine reset) interim |
| 59 | finish : interim.Merge cut.layer (outlet C D A) |
| 60 | |
| 61 | /-- Unmarked prices, individual first-system kernel and inventory estimates. |
| 62 | These are needed only on an actual representation with structural receipt above; |
| 63 | they refer to `A'` = true input and `F` used to price the true output A. Values |
| 64 | of `Scheme.marks/.vac` aren't used, only their alphabets with support and the |
| 65 | absolute multiplicity and vertex prices. |
| 66 | |
| 67 | Not assuming either the full mixed output mass estimate of the step or a |
| 68 | compatible mixed budget already attained along the run. Numeric hypotheses |
| 69 | before estimating tree series/resets. Use larger output exponent/pre-L flags |
| 70 | if hprice (=7 extra in Scope.inflate on the FINE side, shrinking geometry) |
| 71 | is not enough to attain these individual estimates without losing orders. |
| 72 | -/ |
| 73 | structure Forward {A : Bands R (C.path.rep N p m)} (F : Scheme C D A) |
| 74 | (A' : Bands R (C.path.rep N p (m+1))) (s : Scope) (loss : Tariff) (d : ℕ → ℕ) (ζ : ℕ → ℝ) : Prop where |
| 75 | costs (e : Pieces → ℝ) : Inbox A' (divisor C (m+1)) e → |
| 76 | let P := point C m; let Q := point C (m+1); let j := year C (m+1); let η := hat C m ^ (-ζ j) |
| 77 | ∃ a : F.marks.Id→ℝ, ∃ b : F.vac.Id → ℝ, ∃ t : F.reset.Id → ℝ, ∃ g : F.reg.Id → ℝ, ∃ k : F.hard.Id → ℝ, |
| 78 | (∀ i,0 ≤ a i) ∧ (∀ i,0 ≤ b i) ∧ F.reset.Covers t 1 ∧ F.hard.Covers k (divisor C m) ∧ |
| 79 | Fork (bids A') (blocks A') F.marks.names F.marks.supp A.origins (C.path.levels.clock.op m p).ratio |
| 80 | (s.expand j) P.B Q.B (d j) e a (quote C m loss) ∧ |
| 81 | Ac.Hit F.vac.supp P.B b (P.supportExponent+6) η ∧ Ac.Hit F.reset.supp P.B t (P.supportExponent+3) η ∧ |
| 82 | (∀ i, F.anchors i∈F.reg.supp i ∧ P.Regular (F.reg.supp i) (F.reg.value i) ∧ |
| 83 | P.supBounds (F.anchors i) (F.reg.supp i) (F.reg.value i) (g i)) ∧ |
| 84 | Display (F.marks.combine F.vac).names (F.marks.combine F.vac).supp F.reg.names F.reg.supp (Sum.elim a b) g 1 ∧ |
| 85 | Display (F.marks.combine F.vac).names (F.marks.combine F.vac).supp F.hard.names F.hard.supp (Sum.elim a b) k 1 |
| 86 | |
| 87 | omit [DecidableEq V] in |
| 88 | lemma paint_pos (C : Family G) (m : ℕ) (names : Finset V) : 0 < paint C D m names := prod_pos fun i _ => |
| 89 | pow_pos (by exact_mod_cast (C.S.block m).property) _ |
| 90 | |
| 91 | omit [DecidableEq V] in |
| 92 | lemma earns (C : Family G) (m : ℕ) (names : Finset V) (w : V → ℝ) (τ : Tariff) : |
| 93 | duty (fun v => w v / scaleFee C m τ (D v)) names * paint C D m names = duty (fun v => w v / quote C m τ) names := by |
| 94 | rw [duty,paint,duty,← prod_mul_distrib]; exact prod_congr rfl fun i _ => by have := scaleFee_pos C m τ (D i); unfold scaleFee at *; field_simp |
| 95 | |
| 96 | /-- Turning the intermediate receipts into `Spent mixed` after shipping the |
| 97 | actual normalized arrays with L^D per name. No cost depending on number of |
| 98 | placements. -/ |
| 99 | theorem Scheme.raw_cost {A : Bands R (C.path.rep N p m)} (F : Scheme C D A) (H : C.Makes) (hm : m ≤ N) (hA : A.Active) |
| 100 | (w : V → ℝ) {t : Tariff} (hw : ∀ v, 0 ≤ w v) (g : Tuple F.reg.Id → ℝ) (k : ℕ × ℕ → ℝ) |
| 101 | (hg : ∀ i, 0 ≤ g i ∧ ∀ p∈F.reg.joint i, (point C m).supBounds p (F.reg.joint i) (F.reg.log.value i) (g i)) |
| 102 | (hk : (outlet C D A).Covers k (divisor C m)) |
| 103 | (hG : Rooted F.reg.log.names F.reg.joint (point C m).B ((point C m).supportExponent+1) |
| 104 | (F.reg.log.weighted (fun v => w v / quote C m t) g) (quote C m t)) |
| 105 | (hK : let X := outlet C D A |
| 106 | Rooted X.names X.supp (point C m).B ((point C m).supportExponent+1) (X.weighted (fun v => w v / quote C m t) k) (quote C m t)) : |
| 107 | Spent mixed A (fun v => w v / scaleFee C m t (D v)) 1 (divisor C m) (quote C m t) := by |
| 108 | obtain ⟨f,hi,hf⟩ := F.matchLog |
| 109 | let Z := point C m |
| 110 | have hZ := (H.wilson.represents N p m hm).vac |
| 111 | let u v := w v / scaleFee C m t (D v) |
| 112 | have hu v : 0 ≤ u v := div_nonneg (hw v) (scaleFee_pos ..).le |
| 113 | let δ := Z.supportExponent+1 |
| 114 | let price := paint C D m |
| 115 | let a i := if hi : mixed (A.rays i) ∧ A.H i ≠ 0 then price (A.rays i).val * g (f ⟨i,hi⟩) else 0 |
| 116 | let b i := if mixed (tags A i) then price (tags A i).val * (divisor C m * k i) else 0 |
| 117 | have ha i : 0≤a i := by dsimp only [a]; split; exact mul_nonneg (paint_pos ..).le (hg _).1; rfl |
| 118 | have hb i : 0≤b i := by dsimp only [b]; split; exact mul_nonneg (paint_pos ..).le (mul_nonneg (divisor_pos ..).le (hk _).1); rfl |
| 119 | refine ⟨⟨a,ha,fun i hi v hv => ?_,?_⟩,⟨b,hb,fun j hj U => ?_,?_⟩⟩ |
| 120 | · unfold a; split <;> rename_i h |
| 121 | · obtain ⟨h₁,h₂,h₃⟩ := hf ⟨i,h⟩ |
| 122 | dsimp only at h₁ h₂ h₃ |
| 123 | have ht := hA.pins i v hv; rw [h₂] at ht |
| 124 | rw [hZ,h₂,h₃] |
| 125 | simpa only [Complex.norm_real,Real.norm_of_nonneg (paint_pos C m (A.rays i).val).le] using! |
| 126 | Next.Foundations.bound_smul (paint C D m (A.rays i).val : ℂ) ((hg _).2 (A.origins v) ht) |
| 127 | rw [show A.H i=0 by tauto]; exact supBounds_zero .. |
| 128 | · intro v |
| 129 | refine Budget.certify (fun i => ?_) fun s => ?_ |
| 130 | · split |
| 131 | next => exact mul_nonneg (Real.exp_pos _).le (mul_nonneg (prod_nonneg fun i _ => hu i) (ha i)) |
| 132 | exact le_rfl |
| 133 | let s' := s.filter (fun i => v∈(A.rays i).val ∧ mixed (A.rays i) ∧ A.H i ≠ 0) |
| 134 | let send : s' → F.reg.log.Id := fun i => f ⟨i.val,(mem_filter.mp i.property).2.2⟩ |
| 135 | let charge i := Real.exp (δ*coverNumber Z.B (A.support i))*(Poly.toll u (A.rays i)*a i) |
| 136 | rw [hZ] |
| 137 | calc |
| 138 | _ = ∑ i∈s',charge i := Eq.symm ((sum_filter ..).trans (sum_congr rfl (fun i _ => by |
| 139 | dsimp [a,charge,u,δ,Z]; split_ifs <;> first | rfl | tauto | simp))) |
| 140 | _ = ∑ i:s',charge i := Finset.sum_coe_sort .. |>.symm |
| 141 | _ ≤ _ := (le_of_eq ?_).trans (Budget.cap (hG v) (univ.image send)) |
| 142 | · have hs' : Injective send := fun i j hh => Subtype.ext (congr_arg (fun i : {j // mixed (A.rays j) ∧ A.H j ≠ 0} => i.val) (hi hh)) |
| 143 | rw [sum_image hs'.injOn]; refine sum_congr rfl fun i _ => ?_ |
| 144 | obtain ⟨hx,hy,hz⟩ := (mem_filter.mp i.property).2 |
| 145 | obtain ⟨h₁,h₂,h₃⟩ := hf ⟨i.val,hy,hz⟩; dsimp only at h₁ h₂ |
| 146 | have he : (F.reg.log.names (send i))=(A.rays i.val).val := h₁.symm |
| 147 | dsimp only [a,charge]; rw [dif_pos (And.intro hy hz),h₂,he,if_pos hx,← mul_assoc (Poly.toll ..), Layer.weighted,he] |
| 148 | change _*((duty u (A.rays i.val).val * price _)*g (send i)) = _; unfold u price; rw [earns] |
| 149 | · have h := (hk j).2 U |
| 150 | simp only [outlet, if_pos hj, Pi.smul_apply,norm_smul,norm_inv,Complex.norm_real, Real.norm_of_nonneg (paint_pos C m (tags A j).val).le] at h |
| 151 | rw [show b j = _ from if_pos hj,mul_comm]; rw [inv_mul_eq_div] at h; exact (div_le_iff₀ (paint_pos ..)).mp h |
| 152 | · intro v; refine Budget.mono (Budget.scale (hK v) (divisor_pos ..).le) (fun i => ?_) (fun i => ?_) le_rfl |
| 153 | · split; exact mul_nonneg (Real.exp_pos _).le (mul_nonneg (prod_nonneg fun v _ => hu v) (hb _)); rfl |
| 154 | dsimp only [Layer.weighted,outlet]; rw [hZ]; split_ifs |
| 155 | · unfold b; split |
| 156 | next hm => |
| 157 | change _*(duty u (tags A i).val * (paint C D m _ * _)) ≤ _ |
| 158 | unfold u; rw [← mul_assoc (duty _ _),earns]; apply le_of_eq; ring |
| 159 | next => rw [mul_zero,mul_zero]; exact mul_nonneg (divisor_pos ..).le (mul_nonneg (Real.exp_pos _).le |
| 160 | (mul_nonneg (prod_nonneg fun i _ => div_nonneg (hw _) (zero_le_one.trans (quote_ge ..))) (hk i).1)) |
| 161 | exact (mul_zero _).symm.le |
| 162 | end YM.Extra.Multi.System |