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.Rates |
| 2 | import YM.Extra.MULTISOURCE_BOUNDS.Schedule |
| 3 | import YM.Work.A01.Support |
| 4 | |
| 5 | /-! |
| 6 | # A sufficient trajectory interface, and commissioning it on all scales |
| 7 | |
| 8 | The one-step analytic input `Raw` is a JMara-type absolute |
| 9 | bound at the **provisional**, not repainted, output radii; the polynomial |
| 10 | cost is applied after the full forced divisor. It is not provided by EBare, |
| 11 | Based or exactness. It only needs to apply on the bands actually produced, |
| 12 | for admitted derivative orders/supports. The one-step precondition uses both |
| 13 | sorts of actual nonunit marked terms including singleton section terms and |
| 14 | compensation, *no* absolute smallness of global units at this test. Units are |
| 15 | instead priced separately for evaluation. See `Prepared.projects` for |
| 16 | input mass conversion, not claiming the integration result `Raw` in general. |
| 17 | |
| 18 | `Skeleton` and `Unbilled` are INPUTS (esp. to companion trajectory and cutoff |
| 19 | vacuum builders). They do not say that estimates were satisfied along the |
| 20 | run. They require MANY-name structural data and local producer bounds about |
| 21 | the full densities of the same physical products; no labelling of a |
| 22 | polynomial in a different vacuum as though it transferred here. Any |
| 23 | alternate alphabet should justify an appropriate comparison/price theorem or |
| 24 | use modified inputs openly. All eventuality and volume scope of this route |
| 25 | to Center are in Application. More stringent dictionary requirements for |
| 26 | comparisons / noncentered births not passing `Copied`, continuum detector |
| 27 | estimates etc. are not solved here. |
| 28 | -/ |
| 29 | |
| 30 | set_option autoImplicit false |
| 31 | noncomputable section |
| 32 | namespace YM.Extra.Multi |
| 33 | open Function Filter Lattice RG Source Wilson Overlay Marker Labels MeasureTheory Finset |
| 34 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical |
| 35 | |
| 36 | variable {G : Gauge} {C : Family G} {V : Type*} [DecidableEq V] {R : Census V} |
| 37 | variable {m i N p : ℕ} {s : Scope} {t : Tariff} |
| 38 | |
| 39 | /-- Physical step estimate needed between two explicit arrays. This is before |
| 40 | the separation gain and iteration. For a version accepting arbitrary input |
| 41 | couplings/masks replace only if actually established. Small input nonunits |
| 42 | (factorial-free); no positivity of amplitudes. -/ |
| 43 | def Raw (C : Family G) (A : Bands R (C.path.rep N p m)) (A' : Bands R (C.path.rep N p (m+1))) |
| 44 | (D : V→ℕ) (t : Tariff) := ∀ w : V → ℝ, (∀ i, 0<w i) → |
| 45 | Spent entire A' w 0 (divisor C (m+1)) ((gHat C (m+1))^2/2) → |
| 46 | Spent mixed A (fun i => w i / scaleFee C m t (D i)) 1 (divisor C m) (quote C m t) |
| 47 | |
| 48 | /-- Extra cost at cutoff (or instead build a different birth producer); |
| 49 | `Lawful` alone doesn't assert this strengthened exponent. -/ |
| 50 | def Thick (C : Family G) (N p : ℕ) := let P := C.path.rep N p N |
| 51 | ∃ k : ℕ → ℝ, (∀ i, 0≤k i ∧ ∀ U, ‖P.activities.K i U‖ ≤ k i) ∧ |
| 52 | Ac.Hit (fun i => (P.activities.forced i).support) P.p.B k (P.p.supportExponent+1) |
| 53 | (C.path.levels.clock.forcedAllowance N) |
| 54 | |
| 55 | /-- Protected subset can keep its full rates (at every opening). Pure |
| 56 | coincident pairs require a smaller protected subset or some other argument, |
| 57 | see `coincidence`. Doesn't exclude coincidences/alternatives in the census. |
| 58 | -/ |
| 59 | def Fresh {n : Side} (hot : Finset V) (R : Census V) (o : V → Site n) (B : ℕ) := ∀ q : R.Mode, |
| 60 | (↑(q.val∩hot) : Set V).Pairwise fun x y => B^2 ≤ separation (o x) (o y) |
| 61 | |
| 62 | lemma Fresh.packs {n : Side} {B : ℕ} {hot : Finset V} {o : V → Site n} (h : Fresh hot R o B) (hB : 0<B) : |
| 63 | ∀ i : R.Mode, mixed i → let s := i.val; let y := (s∩hot).image o |
| 64 | s.Nonempty ∧ ((s∩hot).card ≤ (s\hot).card ∨ |
| 65 | 2 ≤ y.card ∧ (↑y : Set (Site n)).Pairwise (fun x y => B^2 ≤ separation x y)) := by |
| 66 | intro i hi s y |
| 67 | have hw : 0<B^2 := pow_pos hB _ |
| 68 | change 2 ≤ s.card at hi |
| 69 | refine ⟨card_pos.mp (by omega),?_⟩ |
| 70 | by_cases hn : (s∩hot).card ≤ (s\hot).card |
| 71 | · exact Or.inl hn |
| 72 | have H : Set.InjOn o (s∩hot : Finset V) := by |
| 73 | intro x hx y hy hxy; by_contra he |
| 74 | have : _ ≤ separation (o x) (o y) := h i hx hy he |
| 75 | rw [hxy] at this; simp at this; omega |
| 76 | refine Or.inr ⟨?_,fun x hx z hz he => ?_⟩ |
| 77 | · have hb : (s∩hot).card + (s\hot).card = s.card := by grind -- card_sdiff |
| 78 | rw [card_image_of_injOn H]; omega |
| 79 | obtain ⟨x,hx',rfl⟩ := mem_image.mp (show x∈y from hx) |
| 80 | obtain ⟨z,hz',rfl⟩ := mem_image.mp (show z∈y from hz) |
| 81 | exact h i hx' hz' (ne_of_apply_ne _ he) |
| 82 | |
| 83 | variable [Fintype V] |
| 84 | variable {D : V → ℕ} {u : ∀ i, C.label (D i)} {r : V→ℝ} |
| 85 | variable (H : C.Makes) (hprep : Prepared s t C.localSection C.path.levels) (hot : Finset V) |
| 86 | (hr : ∀ i,0<r i) (hc : ∀ i,(C.labels.level (D i)).coeffSize (u i) ≤ r i) |
| 87 | |
| 88 | /-- Sufficient tagged canonical cutoff array interface. Use either combined or |
| 89 | separate/disjoint blocks of the original column coordinates for the attaching |
| 90 | letter at each name. Components must visit each participating name exactly |
| 91 | once, regardless of the number of basis terms or other histories at that |
| 92 | name. Zero ghosts permitted subject to `Active` elsewhere. -/ |
| 93 | def Opening (C : Family G) (A : Bands R (C.path.rep N p N)) (D : V → ℕ) (u : ∀ i,C.label (D i)) := |
| 94 | let Y i := (C.localSection (D i)).footprint (A.origins i) |
| 95 | Birth A mixed id Y (fun i => canon C N p N (A.origins i) (u i)) ∨ |
| 96 | ∃ slots : ∀ i, PiecesAt (C.labels.level (D i)), (∀ i, Pairwise (Function.onFun Disjoint (slots i))) ∧ |
| 97 | Birth A mixed Prod.fst (fun j : V×ℕ => Y j.1) |
| 98 | (fun j => portion C N p N (A.origins j.1) (u j.1) (slots j.1 j.2)) |
| 99 | |
| 100 | include H hprep hr hc in |
| 101 | theorem born_of_fibers {α : Type*} {A : Bands R (C.path.rep N p N)} (h : Thick C N p) (hy : A.Active) |
| 102 | (hn : ∀ i,C.ref (D i) ≤ N) (hμ : Occupancy A.origins (s.markers (year C N))) {q : α→V} |
| 103 | {term : α → Config G (C.side N p) → ℂ} (K : α → ℝ) (hK : ∀ i,0 ≤ K i ∧ ∀ U, ‖term i U‖ ≤ K i) |
| 104 | (hBound : ∀ i, ∀ t : Finset α, (∀ j∈t,q j=i) → (∑ j∈t,K j) ≤ |
| 105 | BasisCost.price (C.localSection (D i)) * (gHat C N)⁻¹^BasisCost.slots (C.labels.level (D i)) * allowance C N p N (u i)) |
| 106 | (hb : Birth A mixed q (fun j => (C.localSection (D (q j))).footprint (A.origins (q j))) term) : |
| 107 | Spent mixed A (rate C N t hot D r N) 0 (divisor C N) (gHat C N ^ 4) := by |
| 108 | let g := gHat C N; let κ := divisor C N; let w := rate C N t hot D r N |
| 109 | obtain ⟨k,hk,hVac⟩ := h |
| 110 | let P := (C.path.rep N p N).p |
| 111 | have hp : P = point C N := (H.wilson.represents N p N le_rfl).vac |
| 112 | let Y i := (C.localSection (D i)).footprint (A.origins i) |
| 113 | let μ := s.markers (year C N) |
| 114 | let Z i := BasisCost.price (C.localSection (D i)) * g⁻¹^BasisCost.slots (C.labels.level (D i)) * allowance C N p N (u i) |
| 115 | have hh := hprep.here N |
| 116 | change Ample C.localSection _ μ _ (hat C N) at hh |
| 117 | have he i := hh.atlas (D i) (admitted C N H (hn i)) |
| 118 | change ∀ i, _ ≤ (point C N).B ∧ _ * _ * g ≤ 1 at he |
| 119 | let F i := C.labels.level (D i) |
| 120 | let X i := coord C N p N (u i) |
| 121 | have hZ i := BasisCost.price_pos (C.localSection (D i)) |
| 122 | have hg : 0<g := gHat_pos .. |
| 123 | have hw i : 0<w i := rate_pos hot (hr i) |
| 124 | have hz i : (F i).coeffSize ((F i).core (X i).x) ≤ allowance C N p N (u i) := (BasisCost.coeff_le _).trans |
| 125 | (le_mul_of_one_le_left (BasisCost.coeff_nonneg _) (col_ge C N)) |
| 126 | have Hz i : 0≤allowance C N p N (u i) := (BasisCost.coeff_nonneg _).trans (hz i) |
| 127 | have HZ i : 0≤Z i := mul_nonneg (mul_nonneg (zero_le_one.trans (hZ i)) (by positivity)) (Hz i) |
| 128 | have ht i : Real.exp ((P.supportExponent+2)*coverNumber P.B (Y i)) * (w i * Z i) ≤ g^6 := by |
| 129 | have hx := BasisCost.small_footprint (C.localSection (D i)) (A.origins i) (he i).1 |
| 130 | let price := BasisCost.price (C.localSection (D i)) |
| 131 | have hw' := pays_coord C N p N (hr i) (strength C.labels (D i)) H (u i) (hc i) (hn i) le_rfl |
| 132 | replace hw' : w i * allowance C N p N (u i) ≤ g ^ (strength C.labels (D i)) := |
| 133 | (mul_le_mul_of_nonneg_right (rate_le hot (hr i)) (Hz i)).trans hw' |
| 134 | have h1 : 0 ≤ P.supportExponent + 2 := by have := P.exponent_pos; linarith |
| 135 | calc |
| 136 | _ ≤ Real.exp (P.supportExponent+2) * (w i * Z i) := by |
| 137 | apply mul_le_mul_of_nonneg_right _ (mul_nonneg (hw _).le (HZ _)); apply Real.exp_monotone |
| 138 | apply mul_le_of_le_one_right h1 |
| 139 | rw [hp]; exact_mod_cast hx |
| 140 | _ = Real.exp ((point C N).supportExponent+2) * price * g⁻¹^BasisCost.slots (F i) * (w i * allowance C N p N (u i)) := by |
| 141 | rw [hp]; unfold Z F price; ring |
| 142 | _ ≤ Real.exp ((point C N).supportExponent+2)* price * g⁻¹^BasisCost.slots (F i)*g^(strength C.labels (D i)) := |
| 143 | mul_le_mul_of_nonneg_left hw' (mul_nonneg (mul_nonneg (Real.exp_pos _).le (zero_le_one.trans (hZ i))) (by positivity)) |
| 144 | _ = (Real.exp ((point C N).supportExponent+2)*price*g)*g^7 := by |
| 145 | rw [strength,pow_add,inv_pow]; unfold F; field_simp |
| 146 | _ ≤ _ := (mul_le_of_le_one_left (by positivity) (he i).2).trans (pow_le_pow_of_le_one hg.le (gHat_le_one ..) (by decide)) |
| 147 | have he' : Rooted (fun j => {q j}) (fun j => Y (q j)) P.B (P.supportExponent+1+1) (fun j => w (q j)*K j) (g^6) := by |
| 148 | intro i |
| 149 | refine Budget.certify (fun v => ?_) (fun s => ?_) |
| 150 | · split; exact mul_nonneg (Real.exp_pos _).le (mul_nonneg (hw _).le (hK _).1); rfl |
| 151 | let s' := s.filter fun j => i=q j |
| 152 | have hq j (hj : j∈s') : q j=i := (mem_filter.mp hj).2.symm |
| 153 | simp only [Finset.mem_singleton]; rw [← sum_filter]; apply le_trans ?_ (ht i) |
| 154 | calc |
| 155 | ∑ j ∈ s', _ = Real.exp ((P.supportExponent+2)*coverNumber P.B (Y i))*(w i*∑ j∈s',K j) := by |
| 156 | simp only [mul_sum]; exact sum_congr rfl fun j hj => by rw [hq _ hj]; ring_nf |
| 157 | _ ≤ _ := mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left (hBound i s' hq) (hw _).le) (Real.exp_pos _).le |
| 158 | let γ := μ*siteFactor P.B*(g^6) |
| 159 | have hγ := root_hit hμ (fun i => mul_nonneg (hw _).le (hK i).1) (pow_nonneg hg.le _) |
| 160 | (fun i _ => ⟨_,mem_singleton_self _,show A.origins (q i)∈Y (q i) from mem_image.mpr ⟨0,(H.sections _).anchored,by simp⟩⟩) he' |
| 161 | have hc : 0 ≤ κ+γ := by unfold γ siteFactor; have := divisor_pos C N; dsimp only [κ]; positivity |
| 162 | have hk0 : κ ≤ g^6 := hh.vacuum |
| 163 | let B := P.B |
| 164 | let b : ℝ := ((B+B+1:ℕ):ℝ)^4 |
| 165 | have hb1 : 1 ≤ b := one_le_pow₀ (by exact_mod_cast (show 1 ≤ B+B+1 by omega)) |
| 166 | have hf : (1+μ*siteFactor P.B)*b*g ≤ 1 := by dsimp only [b,B]; rw [hp]; exact hh.contact |
| 167 | have hsmall : b*(κ+γ) ≤ g^5 := calc |
| 168 | _ ≤ b*(g^6+γ) := by gcongr |
| 169 | _ = ((1+μ*siteFactor P.B)*b*g)*g^5 := by unfold γ; ring |
| 170 | _ ≤ _ := mul_le_of_le_one_left (by positivity) hf |
| 171 | have Hs : κ+γ ≤ g^5 := (le_mul_of_one_le_left hc hb1).trans hsmall |
| 172 | have hm : g^5 ≤ 1 := pow_le_one₀ hg.le (gHat_le_one ..) |
| 173 | have hh := hb.spent mixed hy (fun i => (hw i).le) hk hK (divisor_pos C N) (divisor_le C N) |
| 174 | (δ:=0) (by simpa using P.exponent_pos.le : 0 ≤ P.supportExponent+0) (a:=κ) (by |
| 175 | rw [show divisor C N*κ=C.path.levels.clock.forcedAllowance N from (Real.mul_self_sqrt (Real.exp_pos _).le), add_zero]; exact hVac) |
| 176 | (b:=γ) (by simpa only [add_zero] using hγ) hc (hsmall.trans hm) |
| 177 | refine hh.mono (fun i => (hw i).le) (fun _ => le_rfl) (divisor_pos ..).le ?_ (fun _ h => h) (fun _ h => h) |
| 178 | have H1 := (le_abs_self _).trans (Real.abs_exp_sub_one_le (x:=κ+γ) (by rw [abs_of_nonneg hc]; exact Hs.trans hm)) |
| 179 | rw [abs_of_nonneg hc] at H1; have ht : g ≤ 1/4 := (hprep.here N).perturb |
| 180 | exact H1.trans ((mul_le_mul_of_nonneg_left Hs (by positivity)).trans (by nlinarith [mul_le_mul_of_nonneg_left ht (pow_nonneg hg.le 4)])) |
| 181 | |
| 182 | include H hprep hr hc in |
| 183 | lemma born_mixed {A : Bands R (C.path.rep N p N)} (h : Thick C N p) (hy : A.Active) |
| 184 | (hn : ∀ i, C.ref (D i) ≤ N) (hμ : Occupancy A.origins (s.markers (year C N))) (hb : Opening C A D u) : |
| 185 | Spent mixed A (rate C N t hot D r N) 0 (divisor C N) (gHat C N ^ 4) := by |
| 186 | let F i := C.labels.level (D i) |
| 187 | let g := gHat C N |
| 188 | let base i := BasisCost.price (C.localSection (D i)) * g⁻¹ ^ BasisCost.slots (F i) |
| 189 | let X i := (coord C N p N (u i)).x |
| 190 | have hbase i : 0 ≤ base i := by |
| 191 | have := BasisCost.price_pos (C.localSection (D i)); have hg : 0 < g := gHat_pos ..; unfold base; positivity |
| 192 | rcases hb with hb|⟨slots,hslot,hb⟩ |
| 193 | · let K i := base i*(F i).coeffSize ((F i).core (X i)) |
| 194 | refine born_of_fibers H hprep hot hr hc h hy hn hμ K (fun i => ⟨mul_nonneg (hbase _) (BasisCost.coeff_nonneg _), fun U => |
| 195 | BasisCost.full_scaled _ _ _ (gHat_pos ..) (gHat_le ..) (gHat_le_one ..) _⟩) (fun i s hs => ?_) hb |
| 196 | calc |
| 197 | _ ≤ ∑ j∈({i}:Finset V),K j := sum_le_sum_of_subset_of_nonneg (fun j hj => mem_singleton.mpr (hs j hj)) |
| 198 | (fun j _ _ => mul_nonneg (hbase _) (BasisCost.coeff_nonneg _)) |
| 199 | _ ≤ _ := by rw [sum_singleton]; exact mul_le_mul_of_nonneg_left ((BasisCost.coeff_le _).trans |
| 200 | (le_mul_of_one_le_left (BasisCost.coeff_nonneg _) (col_ge ..))) (hbase _) |
| 201 | let cost (i : V) (j : ℕ) := base i * (F i).coeffSize (partialCore (F i) (slots i j) (X i)) |
| 202 | refine born_of_fibers H hprep hot hr hc h hy hn hμ (fun i : V × ℕ => cost i.1 i.2) (fun i => ⟨mul_nonneg (hbase _) (BasisCost.coeff_nonneg _), fun U => |
| 203 | BasisCost.full_scaled _ _ _ (gHat_pos ..) (gHat_le ..) (gHat_le_one ..) _⟩) (fun i s hs => ?_) hb |
| 204 | calc |
| 205 | _ = ∑ j∈s.image Prod.snd, cost i j := by |
| 206 | rw [sum_image (show Set.InjOn Prod.snd s from fun a ha b hb h => Prod.ext ((hs a ha).trans (hs b hb).symm) h)] |
| 207 | exact sum_congr rfl fun j hj => congr_arg (fun k => cost k j.2) (hs j hj) |
| 208 | _ ≤ _ := by unfold cost; rw [← mul_sum]; exact mul_le_mul_of_nonneg_left ((pieces_sum _ _ (hslot i) _ _).trans |
| 209 | (le_mul_of_one_le_left (BasisCost.coeff_nonneg _) (col_ge ..))) (hbase _) |
| 210 | |
| 211 | include H hprep hr in |
| 212 | lemma rewind (hG : G.Simple) {A : Bands R (C.path.rep N p m)} {A' : Bands R (C.path.rep N p (m+1))} |
| 213 | (h : Raw C A A' D t) (hI : A.Active) (hn : ∀ i, C.ref (D i) ≤ m) (hm : m < N) |
| 214 | (hp : Fresh hot R A.origins (point C m).B) (hμ : Occupancy A.origins (s.markers (year C m))) |
| 215 | (he : Spent entire A' (rate C (m+1) t hot D r N) 0 (divisor C (m+1)) ((gHat C (m+1))^2/2)) : |
| 216 | Spent mixed A (rate C m t hot D r N) 0 (divisor C m) ((gHat C m)^4) := by |
| 217 | have h0 (j v) : 0<rate C j t hot D r N v := rate_pos hot (hr v) |
| 218 | have hf := h _ (h0 _) he |
| 219 | let b := quote C m t |
| 220 | have hb : 1≤ b := quote_ge .. |
| 221 | have hg := gHat_pos C m |
| 222 | let P := (C.path.rep N p m).p |
| 223 | have hv : P = point C m := (H.wilson.represents _ p _ hm.le).vac |
| 224 | have hB : 8 ≤ P.B := hv.symm ▸ (hprep.here m).large |
| 225 | have hD : 1 ≤ b / gHat C m^4 := (one_le_div (by positivity)).mpr ((pow_le_one₀ hg.le (gHat_le_one ..)).trans hb) |
| 226 | have hh v := switch (C:=C) (N:=N) (t:=t) hot hG (D:=D) (admitted C _ H ((hn v).trans (Nat.le_succ _))) (r:=r) (hr v) hm |
| 227 | convert hf.reset hI hot (s.markers_pos _) hμ hB (fun v => (h0 m v).le) (fun v => (div_pos (h0 (m+1) v) (scaleFee_pos ..)).le) |
| 228 | hD (jump_ge ..) zero_le_one (fun v hv => (hh v).1 hv) (fun v hv => (hh v).2 hv) (by dsimp only [P] at hv; rw [one_mul,hv]; exact hprep.across m) |
| 229 | ((hv.symm ▸ hp : Fresh hot R A.origins P.B).packs (by omega)) using 1 |
| 230 | have hb' : 0 < b := by linarith; -- needed for cancellation |
| 231 | change gHat C m ^4 = b/(b/gHat C m^4); field_simp |
| 232 | |
| 233 | /-- Physical data *before* the mixed quantitative induction. -/ |
| 234 | structure Skeleton (C : Family G) (L : Lane C.path R N p) (D : V → ℕ) (v : ∀ i,C.label (D i)) (k : ℕ) : Prop where |
| 235 | load : L.load=D |
| 236 | fields i : L.uses i=C.O N p (v i) ((L.sites N).origins i) |
| 237 | active j : k≤j → j≤N → (L.sites j).Active |
| 238 | copy j : k≤j → j≤N → ∀ i, Copied (L.sites j) i (v i) |
| 239 | aligned j : k ≤ j → j < N → ∀ i, (C.path.levels.clock.op j p).ratio.parent ((L.sites (j+1)).origins i)=(L.sites j).origins i |
| 240 | first s U : L.signal N s U = Ride.bump (C.S.a N) s L.load * (Wilson.bare (C.beta N p) U : ℂ)*Ride.Product (H:=C.path) L.uses s U |
| 241 | transforms j s : k≤j → j<N → L.signal j s=(Ride.bump (↑(C.S.block j).val) s L.load) • |
| 242 | (C.path.levels.clock.op j p).push (C.path.β N p (j+1)) (L.signal (j+1) s) |
| 243 | |
| 244 | structure Unbilled (C : Family G) (L : Lane C.path R N p) (D : V → ℕ) (v : ∀ i,C.label (D i)) (k : ℕ) (t : Tariff) |
| 245 | : Prop extends Skeleton C L D v k where |
| 246 | birth : Opening C (L.sites N) D v |
| 247 | raw j : k ≤ j → j<N → Raw C (L.sites j) (L.sites (j+1)) D t |
| 248 | |
| 249 | namespace Unbilled |
| 250 | variable {L : Lane C.path R N p} (h : Unbilled C L D u i t) (hG : G.Simple) |
| 251 | (hμ : ∀ j, i ≤ j → j ≤ N → Occupancy (L.sites j).origins (s.markers (year C j))) |
| 252 | (hsep : ∀ j, i ≤ j → j ≤ N → Fresh hot R (L.sites j).origins (point C j).B) |
| 253 | (hborn : Thick C N p) (hstart : ∀ v,C.ref (D v) ≤ i) |
| 254 | |
| 255 | include h |
| 256 | theorem reads (x : R.Mode) : Integrable (Ride.Product (H:=C.path) L.uses x) (law G (C.side N p) (C.beta N p)) := by |
| 257 | apply continuous_integrable |
| 258 | unfold Ride.Product; refine continuous_finsetProd _ (fun i _ => ?_) |
| 259 | rw [h.fields]; exact C.continuousO .. |
| 260 | |
| 261 | include hsep hμ hG hstart hborn H hr hc hprep |
| 262 | |
| 263 | theorem realizes (hm : i ≤ m) (hn : m ≤ N) : |
| 264 | let w := rate C m t hot D r N |
| 265 | (∀ v,w v * ‖(L.sites m).units v‖ ≤ 1) ∧ Spent entire (L.sites m) w 0 (divisor C m) (gHat C m^2/2) := by |
| 266 | induction hn using Nat.decreasingInduction with |
| 267 | | self => |
| 268 | have hs := fun v => (hstart v).trans hm |
| 269 | have he i := (hprep.here N).atlas (D i) (admitted C N H (hs i)) |
| 270 | obtain ⟨h1,h2⟩ := copied_price H (h.copy N hm le_rfl) hs le_rfl hr hc (fun i => (rate_pos hot (hr i)).le) |
| 271 | (fun i => rate_le hot (hr i)) (fun i => (he i).1) (hprep.here N).singletons |
| 272 | have hB := born_mixed H hprep hot hr hc hborn (h.active N hm le_rfl) hs (hμ N hm le_rfl) h.birth |
| 273 | refine ⟨h1, (h2.complete (h.active _ hm le_rfl) (fun i => (rate_pos hot (hr i)).le) (divisor_pos ..).le hB).mono |
| 274 | (fun i => (rate_pos hot (hr i)).le) (fun _ => le_rfl) (divisor_pos ..).le ?_ (fun _ h => h) (fun _ h => h)⟩ |
| 275 | have he : gHat C N ≤ 1/4 := (hprep.here N).perturb |
| 276 | have ht := gHat_pos C N |
| 277 | nlinarith [mul_le_mul_of_nonneg_left (pow_le_pow_left₀ ht.le he 2) (sq_nonneg (gHat C N))] |
| 278 | | of_succ m hn ih => |
| 279 | have hs := fun v => (hstart v).trans hm |
| 280 | have he i := (hprep.here m).atlas (D i) (admitted C m H (hs i)) |
| 281 | obtain ⟨h1,h2⟩ := copied_price H (h.copy m hm hn.le) hs hn.le hr hc (fun i => (rate_pos hot (hr i)).le) |
| 282 | (fun i => rate_le hot (hr i)) (fun i => (he i).1) (hprep.here m).singletons |
| 283 | have hM := rewind H hprep hot hr hG (h.raw m hm hn) (h.active m hm hn.le) hs hn (hsep m hm hn.le) (hμ m hm hn.le) |
| 284 | (ih (hm.trans (Nat.le_succ m))).2 |
| 285 | refine ⟨h1, (h2.complete (h.active _ hm hn.le) (fun i => (rate_pos hot (hr i)).le) (divisor_pos ..).le hM).mono |
| 286 | (fun i => (rate_pos hot (hr i)).le) (fun _ => le_rfl) (divisor_pos ..).le ?_ (fun _ h => h) (fun _ h => h)⟩ |
| 287 | have he : gHat C m ≤ 1/4 := (hprep.here m).perturb |
| 288 | have ht := gHat_pos C m |
| 289 | nlinarith [mul_le_mul_of_nonneg_left (pow_le_pow_left₀ ht.le he 2) (sq_nonneg (gHat C m))] |
| 290 | |
| 291 | theorem radial (hm : i ≤ m) (hn : m ≤ N) : (L.sites m).Radial (rate C m t hot D r N) 1 1 1 (divisor C m) := by |
| 292 | obtain ⟨hx,hh⟩ := h.realizes H hprep hot hr hc hG hμ hsep hborn hstart hm hn |
| 293 | have he : gHat C m ^2 / 2 ≤ 1 := by have := gHat_le_one C m; have := gHat_pos C m; nlinarith |
| 294 | exact (hh.mono (fun i => (rate_pos hot (hr i)).le) (fun _ => le_rfl) (divisor_pos ..).le he |
| 295 | (ok':=entire) (fun _ h => h) (fun _ h => h)).radial (fun i => rate_pos hot (hr i)) (divisor_pos ..) hx |
| 296 | |
| 297 | include hot in |
| 298 | theorem usable (hn : i ≤ N) : L.Works i := by |
| 299 | refine ⟨hn,fun j hj hk => ⟨h.active j hj hk,_,_,_,_,_,h.radial H hprep hot hr hc hG hμ hsep hborn hstart hj hk⟩, |
| 300 | fun j v h1 h2 => h.aligned j h1 h2 v,h.reads,h.first,fun j h1 h2 x => h.transforms j x h1 h2⟩ |
| 301 | end Unbilled |
| 302 | |
| 303 | end YM.Extra.Multi |