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.RELATIVE_LOGDET_TRACE.Boards |
| 2 | import YM.AnalyticBridge.RELATIVE_LOGDET_TRACE.Pockets |
| 3 | |
| 4 | /-! |
| 5 | # Physical read of Gram entries |
| 6 | |
| 7 | For the derivative of the Gram rows in SectorChange, there is an |
| 8 | important parsing shortcut with proof. A regular input direction can be |
| 9 | tested against **all rows**, since skip decisions outside its stencils |
| 10 | already have zero response (never delete a boundary row when taking a |
| 11 | principal window!). Use this even in a mark at a seed which deletes an |
| 12 | active slot. Off-domain the fderiv defaults in unused tentative rows |
| 13 | wouldn't be predicting smoothness -- only take values in the Formula. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.AnalyticBridge.RelativeLogdet.Physical |
| 18 | open Function Matrix Lattice RG Wilson Precision Pressure Tree |
| 19 | open Next.SectorChange Next.SectorChange.Completion |
| 20 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius |
| 21 | variable {c f : Side} {G : Gauge} {S : StepData c f} {x : ℝ} (T : Tube G S) |
| 22 | (k : S.Choices) (V : Config G c) |
| 23 | |
| 24 | /-- Exact mask, no hypothesis of realizability (the existence here is |
| 25 | just `non-tree && not chilled`). -/ |
| 26 | def openBond (A : Stores S) (F : Forest S.ratio) (x : ℝ) (i : Bond f) := ∃ j : Active A x F, j.val.val=i |
| 27 | lemma mask (A : Stores S) (F : Forest S.ratio) (x : ℝ) (i : Bond f) : |
| 28 | openBond A F x i ↔ i∉F.trunks ∧ S.ratio.parent i.1∉A.dome (10*radiusB x) ∧ |
| 29 | S.ratio.parent (i.1+Lattice.step i.2)∉A.dome (10*radiusB x) := by |
| 30 | constructor |
| 31 | · rintro ⟨j,rfl⟩; refine ⟨j.val.property,fun h => j.property (Or.inl h),fun h => j.property (Or.inr h)⟩ |
| 32 | rintro ⟨h,hy,hz⟩; exact ⟨⟨⟨i,h⟩,not_or.mpr ⟨hy,hz⟩⟩,rfl⟩ |
| 33 | |
| 34 | /-- Same primitive rows as on tape, pulled as whole oriented functions. -/ |
| 35 | def clue (x : ℝ) (i : Key G f) (r : Rows.Receipt G S) : ℝ := |
| 36 | (Rows.slip • Rows.bump T x V k (axisPrice i)) r.1 r.2 |
| 37 | |
| 38 | def unpaired (x : ℝ) (i j : Key G f) := ∑ r, clue T k V x i r * clue T k V x j r |
| 39 | |
| 40 | lemma fresh_axis (A : Stores S) (F : Forest S.ratio) (z : Rows.In x A F (G:=G)) : |
| 41 | Rows.fresh x (shots S x) A F (axisPrice z) = axisPrice (sorted A F (Sum.inl z)) := by |
| 42 | rw [on_axis,on_axis] |
| 43 | funext e |
| 44 | by_cases h : e=z.1.val.val |
| 45 | · subst e; rw [Gap.freshly_read,Pi.single_eq_same] |
| 46 | change _ = Pi.single (M:=fun _=> G.Color) z.1.val.val (EuclideanSpace.basisFun G.ColorIndex ℝ z.2) z.1.val.val |
| 47 | rw [Pi.single_eq_same] |
| 48 | rw [Pi.single_eq_of_ne (show e≠(sorted A F (Sum.inl z)).1 from h)] |
| 49 | unfold Rows.fresh |
| 50 | split |
| 51 | next hk => |
| 52 | split |
| 53 | next hx => exact Pi.single_eq_of_ne (show (⟨⟨e,hk⟩,hx⟩:Active A x F) ≠ z.1 from fun hz => h (congr_arg (fun i : Active A x F => i.val.val) hz)) _ |
| 54 | next hx => rfl |
| 55 | next hk => rfl |
| 56 | |
| 57 | lemma to_clue (A : Stores S) (F : Forest S.ratio) (hS : S.patch.Branches S.kernel G) (r : Rows.Receipt G S) (i : Rows.In x A F (G:=G)) : |
| 58 | Rows.move T x V k (shots S x) A F r i=clue T k V x (sorted A F (Sum.inl i)) r := by |
| 59 | unfold Rows.move; rw [Matrix.of_apply,selected_all _ _ _ _ _ _ _ hS,fresh_axis]; rfl |
| 60 | |
| 61 | lemma no_reserved (A : Stores S) (F : Forest S.ratio) (z : vacant A F x G) : |
| 62 | ¬ openBond A F x z.val.1 := by |
| 63 | rintro ⟨i,h⟩ |
| 64 | apply z.property; change ∃ (j : Rows.In x A F (G:=G)), _ |
| 65 | exact ⟨(i,z.val.2),Prod.ext h.symm rfl⟩ |
| 66 | |
| 67 | lemma warm_slot (A : Stores S) (F : Forest S.ratio) (i : Rows.In x A F (G:=G)) : |
| 68 | openBond A F x (sorted A F (.inl i)).1 := ⟨i.1,rfl⟩ |
| 69 | |
| 70 | /-- Fully parsed through physical queries. No mask-specific |
| 71 | reidentification of the coordinates in `unpaired`. -/ |
| 72 | theorem read_kernel (A : Stores S) (F : Forest S.ratio) (x : ℝ) (hS : S.patch.Branches S.kernel G) (i j) : |
| 73 | AFull T A F x V k i j = if openBond A F x i.1 ∧ openBond A F x j.1 then unpaired T k V x i j else (1:Square (Key G f)) i j := by |
| 74 | let e := sorted (G:=G) A F (x:=x) |
| 75 | obtain ⟨i,rfl⟩ := e.surjective i |
| 76 | obtain ⟨j,rfl⟩ := e.surjective j |
| 77 | unfold AFull |
| 78 | simp only [Matrix.submatrix_apply,e, Equiv.symm_apply_apply] |
| 79 | rcases i with i|i <;> rcases j with j|j |
| 80 | · rw [if_pos ⟨warm_slot A F i,warm_slot A F j⟩] |
| 81 | change Rows.gram T x V k (shots S x) A F i j = _ |
| 82 | unfold Rows.gram unpaired |
| 83 | rw [Matrix.mul_apply] |
| 84 | apply Finset.sum_congr rfl |
| 85 | intro r _; rw [Matrix.transpose_apply]; rw [to_clue T k V A F hS r i,to_clue T k V A F hS r j] |
| 86 | · rw [if_neg (fun hx => no_reserved A F j (hx.2))] |
| 87 | change 0=(1:Square (Key G f)) (e (Sum.inl i)) (e (Sum.inr j)) |
| 88 | symm; rw [Matrix.one_apply_ne] |
| 89 | simp |
| 90 | · rw [if_neg (fun hx => no_reserved A F i hx.1)] |
| 91 | change 0=(1:Square (Key G f)) (e (Sum.inr i)) (e (Sum.inl j)) |
| 92 | symm; rw [Matrix.one_apply_ne] |
| 93 | simp |
| 94 | rw [if_neg (fun hx => no_reserved A F i hx.1)] |
| 95 | change (1:Square (vacant A F x G)) i j=(1:Square (Key G f)) (e (Sum.inr i)) (e (Sum.inr j)) |
| 96 | simp only [Matrix.one_apply,e.apply_eq_iff_eq] |
| 97 | simp |
| 98 | |
| 99 | lemma clue_zero (h : S.patch.Branches S.kernel G) (r : Rows.Receipt G S) (i : Key G f) |
| 100 | (he : ¬ separation (Wisps.down S r) (place S i) ≤ Next.SectorChange.span S.patch x) : clue T k V x i r=0 := by |
| 101 | rcases r with ⟨⟨s,u⟩,c⟩ |
| 102 | have hp := bump_dep T x V k s u (axisPrice i) 0 h (by |
| 103 | intro e hx |
| 104 | have hr : e ≠ i.1 := fun hy => by |
| 105 | apply he |
| 106 | rw [hy] at hx; exact (contains ..).1 hx |
| 107 | rw [on_axis,Pi.single_eq_of_ne hr]; rfl) |
| 108 | unfold clue; rw [Pi.smul_apply, hp] |
| 109 | have hf : Rows.bump T x V k (0 : Directions G f) (s,u)=0 := by |
| 110 | rcases u with j|j |
| 111 | · simp only [Rows.bump,Sum.elim_inl]; unfold Rows.faceKick; simp [barrel] |
| 112 | simp [Rows.bump,Rows.noiseKick] |
| 113 | rw [hf,smul_zero]; rfl |
| 114 | |
| 115 | lemma kernel_reach (h : S.patch.Branches S.kernel G) (x : ℝ) (A : Stores S) (F : Forest S.ratio) : |
| 116 | Reaches (place S) (2*Next.SectorChange.span S.patch x) (AFull T A F x V k) := by |
| 117 | intro i j hij |
| 118 | rw [read_kernel _ _ _ _ _ _ h]; split |
| 119 | · unfold unpaired; refine Finset.sum_eq_zero fun r _ => ?_ |
| 120 | by_cases hi : separation (Wisps.down S r) (place S i) ≤ Next.SectorChange.span S.patch x |
| 121 | · rw [clue_zero T k V h r j fun hj => hij (by |
| 122 | apply (separation_triangle _ (Wisps.down S r) _).trans |
| 123 | rw [separation_comm (place S i)]; omega),mul_zero] |
| 124 | rw [clue_zero _ _ _ h r i hi,zero_mul] |
| 125 | next hx => exact Reaches.one (place S) _ _ _ hij |
| 126 | |
| 127 | lemma furnished (h : S.patch.Branches S.kernel G) (A : Stores S) (F : Forest S.ratio) |
| 128 | (he : Next.SectorChange.span S.patch x ≤ radiusB x/50) : |
| 129 | Aperture (place S) (radiusB x) (windows S x) (AFull T A F x V k) := |
| 130 | ⟨(kernel_reach T k V h x A F).trans (by omega),fun i j hj => (contained i j hj).trans (by omega)⟩ |
| 131 | end YM.AnalyticBridge.RelativeLogdet.Physical |