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.Further.ROOTED_INTERACTING_REMAINDER.Pruning |
| 2 | import YM.Push.SECTOR_MEASURE.Gauges |
| 3 | |
| 4 | /-! |
| 5 | # Profile integral elimination on each actual F |
| 6 | |
| 7 | Quantities that may be tested after normalization. F is arbitrary. |
| 8 | At fixed V pay for the extra coarse rotations (not fixed to 1! |
| 9 | fine slice fixes only trunks). Especially, no fake iid assumption on the |
| 10 | predictor across the pivotal tests. Conditioning at fixed V for the |
| 11 | pointwise formula vs averaging V across prior using *all bonds* for the |
| 12 | partition-weighted formula gives different costs; keep them separate. |
| 13 | Likelihood kept in both. This pivot estimate need not hold through |
| 14 | arbitrary dropping of defaults. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.Further.RootedInteractingRemainder |
| 19 | open Lattice RG Wilson Function Set Filter Tree Finset MeasureTheory |
| 20 | open SectorNext.Vacuum Pressure Push.SectorMeasure |
| 21 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical |
| 22 | variable {G : Gauge} {c f : Side} {S : StepData c f} |
| 23 | local notation "Δ" => Module.finrank ℝ G.Color |
| 24 | local notation "Nf" => rich f |
| 25 | local notation "Nc" => Fintype.card (Site c) |
| 26 | |
| 27 | /-- A legitimate leftover of profiled reaches even before the other local |
| 28 | operations. On arbitrary F (using its literal Slice and data through the SAME |
| 29 | choice). Standalone data envelope in further files. -/ |
| 30 | def flight (M : Stores S) (t : ℝ) (i : S.Choices) (V : Config G c) (U : Config G f) := |
| 31 | ration M.costs t U * S.likelihood U i * gapper M.aisles t V (S.prediction U i) |
| 32 | |
| 33 | lemma flight_nonneg (M : Stores S) (t : ℝ) (i : S.Choices) (V : Config G c) (U : Config G f) : 0≤flight M t i V U := |
| 34 | mul_nonneg (mul_nonneg (ration_nonneg ..) (S.likelihood_pos ..)) (gapper_nonneg ..) |
| 35 | |
| 36 | lemma wing {α : Type*} [MeasurableSpace α] |
| 37 | (hk : S.patch.Branches S.kernel G) (M : Stores S) (t : ℝ) (k : S.Choices) |
| 38 | {V : α → Config G c} (hv : Measurable V) |
| 39 | {U : α → Config G f} (hu : Measurable U) : Envelope (fun z => flight M t k (V z) (U z)) := by |
| 40 | have hQ : Measurable (fun z => S.prediction (U z) k) := (S.prediction_meas hk k).comp hu |
| 41 | have hR : Envelope (fun z => ration M.costs t (U z)) := Env.along (Env.compact (ration_cont ..)) hu |
| 42 | have hS : Envelope (fun z => gapper M.aisles t (V z) (S.prediction (U z) k)) := |
| 43 | Env.along (F:=fun p : Config G c × Config G c => gapper M.aisles t p.1 p.2) (g:=fun z => (V z,S.prediction (U z) k)) (Env.compact (gapper_cont ..)) (hv.prodMk hQ) |
| 44 | exact (hR.mul (env_likelihood k hk hu)).mul hS |
| 45 | |
| 46 | lemma repack (F : Forest S.ratio) (M : Stores S) (t : ℝ) (k : S.Choices) (V : Config G c) (hk : S.patch.Branches S.kernel G) : |
| 47 | (∫ a, flight M t k V (F.drape a) ∂F.order G) = ∫ U,flight M t k V U ∂prior G f := by |
| 48 | apply (F.pack ..).symm |
| 49 | · exact (wing hk M t k measurable_const measurable_id).integrable _ |
| 50 | intro z hz U |
| 51 | rw [flight, (choice_gauge hk U k z).1,ration_GI M.costs t z U, (choice_gauge hk U k z).2] |
| 52 | unfold Lattice.gauge; simp only [comp_apply,hz,one_mul,inv_one,mul_one]; rfl |
| 53 | |
| 54 | lemma average_roots (M : Stores S) (t : ℝ) (k : S.Choices) (V : Config G c) (hk : S.patch.Branches S.kernel G) : |
| 55 | (∫ U,flight M t k V U ∂prior G f) = |
| 56 | ∫ U,(∫ z, flight M t k V (Lattice.gauge (z ∘ S.ratio.parent) U) ∂Measure.pi fun _=>G.probHaar) ∂prior G f := by |
| 57 | let μ := Measure.pi fun _ : Site c=>G.probHaar |
| 58 | let G' := fun (p : Config G f × (Site c → G.El)) => flight M t k V (Lattice.gauge (p.2 ∘ S.ratio.parent) p.1) |
| 59 | have he : Measurable (fun (p : Config G f × (Site c → G.El)) => Lattice.gauge (p.2 ∘ S.ratio.parent) p.1) := by |
| 60 | unfold Lattice.gauge; fun_prop |
| 61 | have H : Envelope G' := wing hk M t k (V:=fun (_:Config G f × (Site c → G.El)) => V) measurable_const he |
| 62 | let Q := fun U : Config G f => fun z : Site c → G.El => flight M t k V (Lattice.gauge (z ∘ S.ratio.parent) U) |
| 63 | change _ = ∫ U,(∫ z,Q U z ∂μ) ∂prior G f |
| 64 | haveI : IsProbabilityMeasure μ := by unfold μ; infer_instance |
| 65 | have hz : Integrable (uncurry Q) ((prior G f).prod μ) := H.integrable _ |
| 66 | rw [integral_integral_swap hz] |
| 67 | have hx (i) : (∫ x, Q x i ∂prior G f) = ∫ x,flight M t k V x ∂prior G f := by |
| 68 | have hp := prior_gauge (i ∘ S.ratio.parent) |
| 69 | have h1 : Measurable (flight M t k V) := (wing hk M t k measurable_const measurable_id).meas |
| 70 | have hh := integral_map (φ:=gauge (i ∘ S.ratio.parent)) (μ:=prior G f) (f:=flight M t k V) |
| 71 | hp.aemeasurable h1.aestronglyMeasurable |
| 72 | rw [hp.map_eq] at hh; exact hh.symm |
| 73 | simp_rw [hx]; simp only [integral_const,probReal_univ, one_smul] |
| 74 | |
| 75 | |
| 76 | /-- Worst powers retained at fixed V (before restoring scalar units). |
| 77 | There are `rich` fine pivots and independently #coarse sites minus one |
| 78 | coarse rotations; $\ell^1$ over all tags. Especially n=2. -/ |
| 79 | theorem circuit (F : Forest S.ratio) (M : Stores S) (t K : ℝ) (V : Config G c) (hc : 2≤c.val) |
| 80 | (hk : S.patch.Branches S.kernel G) (ht : 0<t) (hs : t≤1) (hK : 1 ≤ K) |
| 81 | (hZ : (∫ i,draught t⁻¹ i ∂G.probHaar) ≤ K*t^Δ) : |
| 82 | (∑ i : S.Choices, ∫ a,flight M t i V (F.drape a) ∂F.order G) ≤ |
| 83 | (K*t^Δ)^(Nf + (Nc-1))*(t⁻¹^Δ)^(M.costs.card+M.aisles.card) := by |
| 84 | let L := K*t^Δ |
| 85 | let H := t⁻¹^Δ |
| 86 | have hL : 0≤L := mul_nonneg (zero_le_one.trans hK) (by positivity) |
| 87 | have hH : 0≤H := by unfold H; positivity |
| 88 | let Y := L^(Nc-1)*H^M.aisles.card |
| 89 | have hY : 0≤Y := mul_nonneg (pow_nonneg hL _) (pow_nonneg hH _) |
| 90 | have h (i : S.Choices) : |
| 91 | (∫ U,flight M t i V U ∂prior G f) ≤ |
| 92 | ∫ U,ration M.costs t U*S.likelihood U i*Y ∂prior G f := by |
| 93 | let ν := Measure.pi fun _ : Site c=>G.probHaar |
| 94 | rw [average_roots M t i V hk] |
| 95 | have he : Integrable (fun p : Config G f × (Site c → G.El) => flight M t i V (Lattice.gauge (p.2 ∘ S.ratio.parent) p.1)) ((prior G f).prod ν) := |
| 96 | (wing hk M t i (V:=fun (_ : Config G f × (Site c → G.El)) => V) measurable_const (by unfold Lattice.gauge; fun_prop)).integrable _ |
| 97 | apply integral_mono he.integral_prod_left -- which arg? |
| 98 | · exact (((Env.compact (ration_cont ..)).mul (env_likelihood i hk measurable_id)).mul (Envelope.const _)).integrable _ |
| 99 | intro U |
| 100 | let Q := S.prediction U i |
| 101 | let g := fun z => Lattice.gauge z Q |
| 102 | have ht' (z : Site c→G.El) : (z∘S.ratio.parent)∘S.ratio.embed=z := by |
| 103 | funext j; dsimp; rw [S.ratio.embed_parent] |
| 104 | have h0 (z : Site c→G.El) := choice_gauge hk U i (z ∘ S.ratio.parent) |
| 105 | have h1 z : flight M t i V (Lattice.gauge (z ∘ S.ratio.parent) U)= |
| 106 | ration M.costs t U*S.likelihood U i*gapper M.aisles t V (g z) := by |
| 107 | rw [flight,ration_GI M.costs t (z ∘ S.ratio.parent) U,(h0 z).1,(h0 z).2,ht'] |
| 108 | simp_rw [h1] |
| 109 | rw [integral_const_mul] |
| 110 | apply mul_le_mul_of_nonneg_left _ (mul_nonneg (ration_nonneg ..) (S.likelihood_pos ..)) |
| 111 | refine le_trans (b:=∫ z,sill M.aisles t V (g z) ∂ν) ?_ (spill hc V Q _ ht hs hK hZ) |
| 112 | let e := fun z : Site c→G.El => (V,g z) |
| 113 | have he' : Continuous e := by unfold e g Lattice.gauge; fun_prop |
| 114 | exact integral_mono (((gapper_cont ..).comp he').integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _)) |
| 115 | (((sill_cont ..).comp he').integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _)) (fun z => gap_sill _ t ht V (g z)) |
| 116 | simp_rw [repack F M t _ V hk] |
| 117 | apply (sum_le_sum fun i _ => h i).trans |
| 118 | have hi (i : S.Choices) : Integrable (fun U => ration M.costs t U*S.likelihood U i * Y) (prior G f) := |
| 119 | (((Env.compact (ration_cont ..)).mul (env_likelihood i hk measurable_id)).mul (Envelope.const _)).integrable _ |
| 120 | rw [← integral_finsetSum _ (fun i _=>hi i)] |
| 121 | simp_rw [← sum_mul,← mul_sum,S.chosen hk,mul_one,integral_mul_const] |
| 122 | have hf : 2 ≤ f.val := hc.trans (by rw [S.sizes]; exact Nat.le_mul_of_pos_right _ S.patch.L.property) |
| 123 | calc |
| 124 | _ ≤ (L^Nf*H^M.costs.card)*Y := mul_le_mul_of_nonneg_right (pruned_default hf _ _ _ ht hs hK hZ) hY |
| 125 | _ = _ := by unfold Y L H; rw [pow_add,pow_add]; ring |
| 126 | |
| 127 | /-- At marginal, better extra pivot count, even in n=2. -/ |
| 128 | theorem circulation (F : Forest S.ratio) (M : Stores S) (t K : ℝ) (hf : 2≤f.val) |
| 129 | (hk : S.patch.Branches S.kernel G) (ht : 0<t) (hs : t≤1) (hK : 1≤K) |
| 130 | (hZ : (∫ i,draught t⁻¹ i ∂G.probHaar) ≤ K*t^Δ) : |
| 131 | (∫ V,(∑ i : S.Choices, ∫ a,flight M t i V (F.drape a) ∂F.order G) ∂prior G c) ≤ |
| 132 | (K*t^Δ)^(Nf + Fintype.card (Bond c))*(t⁻¹^Δ)^(M.costs.card+M.aisles.card) := by |
| 133 | simp_rw [repack F M t _ _ hk] |
| 134 | let L := K*t^Δ |
| 135 | let b := t⁻¹^Δ |
| 136 | let Y := L^(Fintype.card (Bond c)) * b^M.aisles.card |
| 137 | have hY : 0≤Y := by unfold Y L b; have hm : 0<K := zero_lt_one.trans_le hK; positivity |
| 138 | let g := flight (G:=G) M t |
| 139 | let μ := prior G f |
| 140 | let ν := prior G c |
| 141 | haveI : IsProbabilityMeasure μ := by unfold μ; infer_instance |
| 142 | haveI : IsProbabilityMeasure ν := by unfold ν; infer_instance |
| 143 | have hg (i : S.Choices) : Integrable (uncurry (g i)) (ν.prod μ) := |
| 144 | (wing hk M t i (V:=(Prod.fst : Config G c × Config G f → _)) measurable_fst measurable_snd).integrable _ |
| 145 | change (∫ V,(∑ i, ∫ a,g i V a ∂μ) ∂ν) ≤ _ |
| 146 | rw [integral_finsetSum Finset.univ (f:=fun i V => ∫ a,g i V a ∂μ) (fun i _ => (hg i).integral_prod_left)] |
| 147 | simp_rw [integral_integral_swap (hg _)] |
| 148 | have hi (i : S.Choices) := (hg i).swap.integral_prod_left |
| 149 | change ∀ i, Integrable (fun U : Config G f=> ∫ V, g i V U ∂ν) μ at hi |
| 150 | rw [← integral_finsetSum _ (fun i _=> hi i)] |
| 151 | have he := pruned_default hf M.costs t K ht hs hK hZ |
| 152 | have hr : Continuous (ration (G:=G) M.costs t) := ration_cont .. |
| 153 | apply le_trans (b:=(∫ U,ration M.costs t U ∂μ)*Y) |
| 154 | · rw [← integral_mul_const]; apply integral_mono (integrable_finsetSum _ (fun i _ => hi i)) |
| 155 | ((hr.integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _)).mul_const _) |
| 156 | intro U |
| 157 | simp only [g,flight,integral_const_mul] |
| 158 | calc |
| 159 | _ ≤ ∑ i, ration M.costs t U * S.likelihood U i*Y := sum_le_sum fun i _ => |
| 160 | mul_le_mul_of_nonneg_left (drain _ (S.prediction U i) ht hs hK hZ) (mul_nonneg (ration_nonneg ..) (S.likelihood_pos ..)) |
| 161 | _ = _ := by rw [←sum_mul,←mul_sum,S.chosen hk,mul_one] |
| 162 | exact (mul_le_mul_of_nonneg_right he hY).trans_eq (by unfold Y L b; rw [pow_add,pow_add]; ring) |
| 163 | |
| 164 | end YM.Further.RootedInteractingRemainder |