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.VERIFIED_RESET_STEP.Residual |
| 2 | import YM.Extra.ITERATION_NO_LOSS.TermNorm |
| 3 | import YM.Extra.WILSON_STARTUP.Ownership |
| 4 | import YM.Next.SCHEDULE.Circuit |
| 5 | import YM.Next.SCHEDULE.Postal |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | /-! Uncut quadratic presentation: one plaquette and all (i,j) path |
| 11 | labels of *this* real row, not a new square completion. Chosen hard |
| 12 | indicator for the early alpha term includes the kept-test aperture. -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.AnalyticBridge.VerifiedReset |
| 16 | open Function Filter Set Lattice Wilson RG StressFlux UVNext.PricedKernels Next.Scheduling Work.F03 WilsonStartup |
| 17 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 18 | attribute [local instance] Gauge.frobInner |
| 19 | variable {G : Gauge} {n : Side} {p : BudgetPoint} |
| 20 | |
| 21 | abbrev Duo := Unit ⊕ (ℕ × ℕ) |
| 22 | abbrev Low := PlaqAxes × Duo |
| 23 | namespace Low |
| 24 | variable (R : PathData G) (c : Clip) (d : Low) |
| 25 | |
| 26 | def left (j : ℕ × ℕ) := (R.row d.1 j.1).2 |
| 27 | def right (j : ℕ × ℕ) := (R.row d.1 j.2).2 |
| 28 | def length := d.2.elim (fun _ => 0) (fun j => (d.left R j).length + (d.right R j).length) |
| 29 | def mark := d.2.elim (fun _ => c.direct) (fun j => (R.row d.1 j.1).1*(R.row d.1 j.2).1) |
| 30 | |
| 31 | def plain (o : Site n) : Pot G n := fun U => d.2.elim (fun _ => G.price (faceValue U (o,d.1))) |
| 32 | (fun j => inner ℝ ((d.left R j).atSite U o) ((d.right R j).atSite U o) / 2) |
| 33 | def analogue (w : Flux G) := d.2.elim (fun _ => inner ℝ (w d.1) (w d.1)/2) |
| 34 | (fun j => inner ℝ (w (d.left R j).plaq) (w (d.right R j).plaq)/2) |
| 35 | def proxy (o : Site n) : Pot G n := fun U => d.analogue R (petals U o) |
| 36 | def live (p : BudgetPoint) (o : Site n) (U : Config G n) := d.2.elim (fun _ => PathData.clipped c p.threshold (G.chord (faceValue U (o,d.1)))) |
| 37 | fun _ => if PathData.kept c p.threshold o U then d.mark R c * d.plain R o U else 0 |
| 38 | |
| 39 | def home (p : BudgetPoint) (o : Site n) := d.2.elim (fun _ => halo p.B {o}) |
| 40 | fun j => (halo p.B {o} ∪ Wages.walkCuts (d.left R j) o) ∪ Wages.walkCuts (d.right R j) o |
| 41 | lemma halo_home (p : BudgetPoint) (o : Site n) : halo p.B {o} ⊆ d.home R p o := by |
| 42 | cases e : d.2 <;> simp only [home,e,Sum.elim_inl,Sum.elim_inr] |
| 43 | · exact Finset.Subset.refl _ |
| 44 | exact fun i h => Finset.mem_union_left _ (Finset.mem_union_left _ h) |
| 45 | lemma walk_home (p : BudgetPoint) (o : Site n) {j} (hj : d.2 = .inr j) : |
| 46 | Wages.walkCuts (d.left R j) o ⊆ d.home R p o ∧ Wages.walkCuts (d.right R j) o ⊆ d.home R p o := by |
| 47 | rw [home,hj]; exact ⟨fun _ h => Finset.mem_union_left _ (Finset.mem_union_right _ h),Finset.subset_union_right⟩ |
| 48 | lemma small_home (p : BudgetPoint) (o : Site n) : o ∈ d.home R p o := d.halo_home R p o (halo_subset p.B {o} (Finset.mem_singleton_self _)) |
| 49 | lemma clover_home {p : BudgetPoint} (hB : 2 ≤ p.B) (o : Site n) : halo 2 {o} ⊆ d.home R p o := |
| 50 | (Corona.halo_mono hB (Finset.Subset.refl _)).trans (d.halo_home R p o) |
| 51 | lemma face_home {p : BudgetPoint} (hB : 2 ≤ p.B) (o : Site n) : touched (o,d.1) ⊆ d.home R p o := |
| 52 | fun _ h => d.clover_home R hB o (halo_spec.mpr ⟨_,Finset.mem_singleton_self _, (separation_comm o _).trans_le (visit_near _ h)⟩) |
| 53 | end Low |
| 54 | |
| 55 | open RG.PathData Next.Scheduling |
| 56 | |
| 57 | lemma slot_reads (s : Slot) (o : Site n) : LocalOn (Wages.walkCuts s o) (fun U : Config G n => s.atSite U o) := fun U V h => |
| 58 | s.covered.expandAt _ _ o U V (agrees_mono h (by rintro _ ⟨i,hi,rfl⟩; exact Finset.mem_image_of_mem _ hi)) |
| 59 | lemma root_in (s : Slot) (o : Site n) : o ∈ Wages.walkCuts s o := |
| 60 | Finset.mem_image.mpr ⟨0,Finset.mem_union_left _ (List.mem_toFinset.mpr (by cases s.walk <;> simp [visits])),by simp⟩ |
| 61 | lemma offset_inside (s : Slot) (o : Site n) : (slotFace s o).1 ∈ Wages.walkCuts s o := |
| 62 | Finset.mem_image.mpr ⟨_,Finset.mem_union_right _ (List.mem_toFinset.mpr (by simp [square, visits])),rfl⟩ |
| 63 | lemma slot_length (s : Slot) (o : Site n) {y : Site n} (hy : y ∈ Wages.walkCuts s o) : separation y o ≤ s.length := by |
| 64 | obtain ⟨z,hz,rfl⟩ := Finset.mem_image.mp hy |
| 65 | rw [separation,add_sub_cancel_right]; apply Finset.sup_le; intro i _ |
| 66 | apply (Corona.lap ..).trans (le_trans (Finset.single_le_sum (f:=fun i => (z i).natAbs) (fun _ _ => Nat.zero_le _) (Finset.mem_univ i)) |
| 67 | (Extra.Iteration.Derivs.stencil_length s z hz)) |
| 68 | lemma kept_gauge (c : Clip) (t : ℝ) (k : Site n → G.El) (o : Site n) (U : Config G n) : |
| 69 | kept c t o (Lattice.gauge k U) ↔ kept c t o U := by simp only [kept, face_gauge,G.chord_conj] |
| 70 | lemma kept_local (c : Clip) {p : BudgetPoint} (h : Decent c p) (o : Site n) {U V : Config G n} (he : Agrees (halo p.B {o}) U V) : |
| 71 | kept c p.threshold o U ↔ kept c p.threshold o V := by |
| 72 | refine forall_congr' fun q => ?_ |
| 73 | by_cases hx : p.B-2 ≤ separation o q.1 |
| 74 | · exact iff_of_true (too_far c p h _ _ o hx) (too_far c p h _ _ o hx) |
| 75 | rw [show faceValue U q = faceValue V q from face_local q U V (agrees_mono he ?_)] |
| 76 | intro z hz; apply (halo_spec (y:=z)).mpr ⟨o,Finset.mem_singleton_self _,?_⟩ |
| 77 | apply (separation_triangle o q.1 z).trans |
| 78 | have hl := visit_near q (show z∈touched q from hz); rw [separation_comm] at hl; omega |
| 79 | |
| 80 | lemma kept_small_halo {c : Clip} (h : Decent c p) {o : Site n} {U : Config G n} (hh : Healthy p.threshold (halo p.B {o}) U) : |
| 81 | kept c p.threshold o U := by |
| 82 | intro q |
| 83 | by_cases hx : separation o q.1 ≤ p.B |
| 84 | · have ht := Finset.disjoint_left.mp hh (halo_spec.mpr ⟨o,Finset.mem_singleton_self _,hx⟩) |
| 85 | have he : G.chord (faceValue U q) ≤ p.threshold := le_of_not_gt fun H => ht ((flags_spec ..).mpr ⟨q,anchor_visit q,H⟩) |
| 86 | exact he.trans (le_mul_of_one_le_right p.threshold_pos.le (Real.one_le_exp (div_nonneg (by positivity) c.radius_pos.le))) |
| 87 | exact too_far _ _ h _ _ o (by omega) |
| 88 | lemma kept_slot {c : Clip} {o : Site n} {U : Config G n} (s : Slot) (hh : kept c p.threshold o U) : |
| 89 | ‖s.atSite U o‖ ≤ p.threshold * Real.exp (s.length/c.relaxation) := by |
| 90 | rw [atSite_path,G.norm_adjoint]; have := c.radius_pos; have := p.threshold_pos |
| 91 | apply ((G.curvature_norm _).trans (hh _)).trans; gcongr |
| 92 | exact_mod_cast (separation_comm _ _).trans_le (slot_length s o (offset_inside s o)) |
| 93 | |
| 94 | namespace Low |
| 95 | variable (R : PathData G) (c : Clip) (d : Low) |
| 96 | lemma plain_cont (o : Site n) : Continuous (plain R d o) := by |
| 97 | unfold plain; cases e : d.2 <;> simp only [Sum.elim_inl,Sum.elim_inr] |
| 98 | · unfold faceValue; fun_prop |
| 99 | unfold Slot.atSite expandAt; fun_prop |
| 100 | lemma plain_local (p : BudgetPoint) (hB : 2 ≤ p.B) (o : Site n) : LocalOn (d.home R p o) (d.plain R o) := by |
| 101 | intro U V h; unfold plain; cases he : d.2 |
| 102 | · exact congrArg G.price (face_local (o,d.1) U V (agrees_mono h (Finset.coe_subset.mpr (d.face_home R hB o)))) |
| 103 | · exact congrArg₂ (fun (x y : G.Color) => inner ℝ x y / 2) |
| 104 | (slot_reads (d.left R _) o U V (agrees_mono h (Finset.coe_subset.mpr (d.walk_home R p o he).1))) |
| 105 | (slot_reads (d.right R _) o U V (agrees_mono h (Finset.coe_subset.mpr (d.walk_home R p o he).2))) |
| 106 | lemma plain_gauge (o : Site n) : GaugeInvariant (plain R d o) := by |
| 107 | intro k U; simp only [plain,Work.F05.slot_gauge,inner_adjoint,face_gauge,G.price_conj] |
| 108 | lemma proxy_cont (o : Site n) : Continuous (proxy R d o) := by |
| 109 | unfold proxy analogue; cases e : d.2 <;> simp only [Sum.elim_inl, Sum.elim_inr] <;> fun_prop |
| 110 | lemma proxy_local (o : Site n) : LocalOn (halo 2 {o}) (d.proxy R o) := by intro U V he; simp only [proxy,analogue, petals_reads o _ U V he] |
| 111 | lemma proxy_gauge (o : Site n) : GaugeInvariant (proxy R d o) := by intro k U; simp only [proxy,analogue, petals_gauge,inner_adjoint] |
| 112 | @[fun_prop] lemma live_meas (p : BudgetPoint) (o : Site n) : Measurable (live R c d p o) := by |
| 113 | unfold live; cases e : d.2 |
| 114 | · dsimp only [Sum.elim_inl,clipped]; apply Measurable.ite (isClosed_le (by unfold faceValue; fun_prop) continuous_const).measurableSet <;> unfold faceValue <;> fun_prop |
| 115 | dsimp only [Sum.elim_inr]; exact Measurable.ite (kept_closed c _ _).measurableSet (measurable_const.mul (d.plain_cont R o).measurable) measurable_const |
| 116 | lemma live_local (h : Decent c p) (o : Site n) : LocalOn (d.home R p o) (live R c d p o) := by |
| 117 | intro U V he |
| 118 | have hl := face_local (o,d.1) U V (agrees_mono he (Finset.coe_subset.mpr (d.face_home R h.radius o))) |
| 119 | unfold live; dsimp only at hl; rw [hl,d.plain_local R p h.radius o U V he, kept_local c h o (agrees_mono he (Finset.coe_subset.mpr (d.halo_home R p o)))] |
| 120 | lemma live_gauge (o : Site n) : GaugeInvariant (d.live R c p o) := by intro k U; simp only [live,face_gauge,G.chord_conj, kept_gauge,d.plain_gauge R o k U] |
| 121 | lemma live_plain (h : Decent c p) {U : Config G n} (o : Site n) (hu : Healthy p.threshold (d.home R p o) U) : |
| 122 | d.live R c p o U = d.mark R c * d.plain R o U := by |
| 123 | have hl := kept_small_halo h (healthy_mono (halo_home ..) hu) |
| 124 | unfold live; cases he : d.2 |
| 125 | · simp only [Sum.elim_inl,clipped, if_pos (kept_small c p U (o,d.1) hl), plain,mark,he,G.chord_price]; ring |
| 126 | exact if_pos hl |
| 127 | lemma shapeBound (o : Site n) (U : Config G n) : ‖d.live R c p o U‖ ≤ |
| 128 | |d.mark R c| * (2 * p.threshold * Real.exp ((d.length R)/c.relaxation)) := by |
| 129 | unfold live mark length; cases he : d.2 with |
| 130 | | inl _ => |
| 131 | have ht := p.threshold_le; have hc := c.kink; have hd := c.quadratic_pos; have hp := p.threshold_pos; have hC := c.tail_pos |
| 132 | simp only [Sum.elim_inl,abs_of_pos hd,Nat.cast_zero,zero_div,Real.exp_zero,mul_one]; unfold clipped; split |
| 133 | next h => rw [Real.norm_of_nonneg (by positivity)] |
| 134 | have hi:=G.chord_nonneg (faceValue U (o,d.1)); linarith only [mul_le_mul_of_nonneg_left (show G.chord (faceValue U (o,d.1))^2 ≤ 4 * p.threshold by nlinarith) hd.le] |
| 135 | rw [Real.norm_of_nonneg (by exact mul_nonneg (by positivity) (G.chord_nonneg _))] |
| 136 | exact (mul_le_mul_of_nonneg_left (G.chord_le_two _) (by positivity)).trans (by nlinarith only [mul_le_mul_of_nonneg_right (show c.linear≤c.direct by linarith) hp.le]) |
| 137 | | inr j => |
| 138 | have hp := p.threshold_pos |
| 139 | dsimp only [Sum.elim_inr]; split |
| 140 | next h => |
| 141 | simp only [he, Sum.elim_inr, norm_mul,Real.norm_eq_abs,plain,abs_div]; push_cast |
| 142 | rw [← abs_mul] |
| 143 | refine mul_le_mul_of_nonneg_left ((div_le_self (abs_nonneg _) (by norm_num : 1≤ |(2:ℝ)|)).trans ((abs_real_inner_le_norm ..).trans |
| 144 | ((mul_le_mul (kept_slot (left R d j) h) (kept_slot (right R d j) h) (norm_nonneg _) (by positivity)).trans ?_))) (abs_nonneg _) |
| 145 | rw [add_div,Real.exp_add]; nlinarith only [p.threshold_le, hp, mul_nonneg (Real.exp_nonneg ((d.left R j).length/c.relaxation)) |
| 146 | (Real.exp_nonneg ((d.right R j).length/c.relaxation)),mul_le_mul_of_nonneg_right (show p.threshold*p.threshold≤2*p.threshold by nlinarith [p.threshold_le]) |
| 147 | (mul_nonneg (Real.exp_nonneg ((d.left R j).length/c.relaxation)) (Real.exp_nonneg ((d.right R j).length/c.relaxation)))] |
| 148 | rw [norm_zero]; positivity |
| 149 | end Low |
| 150 | end YM.AnalyticBridge.VerifiedReset |