Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

| 1 | import Euler.PacketPhysicalStage |
| 2 | import Euler.PacketNeighborControlled |
| 3 | import Euler.PacketBeforeTargetSize |
| 4 | import Euler.EulerProof |
| 5 | |
| 6 | /-! |
| 7 | Uniform neighboring amplification and before-target size control from the |
| 8 | actual physical equations. The scalar reference is shared by uniqueness, |
| 9 | so its choice is independent of the physical label. |
| 10 | -/ |
| 11 | |
| 12 | /-! ## From `Euler/PacketPhysicalNeighbor.lean` |
| 13 | |
| 14 | The text of `Euler/PacketPhysicalNeighbor.lean`, folded into this file, which was its only importer. -/ |
| 15 | |
| 16 | section |
| 17 | |
| 18 | /-! |
| 19 | Actual neighboring physical primaries satisfy the amplification estimate |
| 20 | with their genuine initial discrepancy. The source moving frame is the |
| 21 | center frame. Its neighboring matrix perturbation is part of the actual |
| 22 | parent error; all scaled coefficient and ray bounds are derived here. |
| 23 | -/ |
| 24 | |
| 25 | noncomputable section |
| 26 | |
| 27 | |
| 28 | namespace EulerPacketMovingFrame |
| 29 | |
| 30 | open Set EulerSmoothLimit EulerPacketNormalizedPrimary EulerPacketRay |
| 31 | EulerPacketStage EulerPacketPerturbation InnerProductSpace ContinuousLinearMap |
| 32 | |
| 33 | theorem physical_neighbor_stage_references |
| 34 | {B B₁ M E : ℝ → Space →L[ℝ] Space} {m v r w : ℝ → Space} |
| 35 | {c s₀ t₀ a ε σ Θ T G d lam : ℝ} {S : Set ℝ} |
| 36 | (hσ : 0 < σ) (hσsmall : σ ≤ 1/4) (hT0 : 0 < T) (hT : T ≤ Θ) |
| 37 | (ha : 1/2 ≤ a) (hε : 0 < ε) (hΘ : 1 ≤ Θ) (hG : 1 ≤ G) (hd : 0 ≤ d) |
| 38 | (hs₀ : s₀ ≠ 0) (hlam : 0 ≤ lam) |
| 39 | (hsmall : 1000000*neighborStabilityConstant*(16*(ε*Θ*(4*G)^2+d))*Θ^40 ≤ 1) |
| 40 | (hmap : MapsTo (physicalTime t₀ a ε) (Icc 0 Θ) S) |
| 41 | (hMc : ContinuousOn M S) |
| 42 | (hBd : ∀ t ∈ S, HasDerivWithinAt B (B₁ t) S t) |
| 43 | (hmd : ∀ t ∈ S, HasDerivWithinAt m (-(B t).adjoint (m t)) S t) |
| 44 | (hvd : ∀ t ∈ S, HasDerivWithinAt v (-(B t) (v t)+ |
| 45 | (2*⟪m t,(B t) (v t)⟫_ℝ/‖m t‖^2) • m t) S t) |
| 46 | (hrd : ∀ t ∈ S, HasDerivWithinAt r (-(M t).adjoint (r t)) S t) |
| 47 | (hwd : ∀ t ∈ S, HasDerivWithinAt w (-(M t) (w t)+ |
| 48 | (2*⟪r t,(M t) (w t)⟫_ℝ/‖r t‖^2) • r t) S t) |
| 49 | (hm0 : ∀ t ∈ S, m t ≠ 0) (hv0 : ∀ t ∈ S, v t ≠ 0) |
| 50 | (hmv : ∀ t ∈ S, ⟪m t,v t⟫_ℝ = 0) (hrw0 : ⟪r t₀,w t₀⟫_ℝ = 0) |
| 51 | (hB : ∀ t ∈ S, ‖B t‖ ≤ G) (hB₁ : ∀ t ∈ S, ‖B₁ t‖ ≤ G^2) |
| 52 | (hE : ∀ t ∈ S, ‖E t‖ ≤ d) |
| 53 | (hparent : ∀ t ∈ S, M t = B t+ |
| 54 | primaryShear c m v t • rankOne ℝ (unit (v t)) (unit (m t))+E t) |
| 55 | (hb0 : rescaledFrame B m v t₀ a ε 0 0 1 = a) |
| 56 | (hk0 : rescaledFrame B m v t₀ a ε 0 2 1 = a*σ^2) |
| 57 | (hh0 : rescaledShear c m v t₀ a ε 0 = a/ε^2) |
| 58 | (hrInitial : norm3 (scaledRay m v r s₀ t₀ a ε 0 0) (scaledRay m v r s₀ t₀ a ε 0 1) |
| 59 | (scaledRay m v r s₀ t₀ a ε 0 2-1) ≤ 16*(ε*Θ*(4*G)^2+d)) |
| 60 | (hvelocityInitial : |scaledVelocity m v w t₀ a ε 0 1-1|+ |
| 61 | |scaledVelocity m v w t₀ a ε 0 0+lam| ≤ 16*(ε*Θ*(4*G)^2+d)) : |
| 62 | let e := 16*(ε*Θ*(4*G)^2+d) |
| 63 | let U := fun τ => scaledVelocity m v w t₀ a ε τ 0 |
| 64 | let V := fun τ => scaledVelocity m v w t₀ a ε τ 1 |
| 65 | (∀ τ ∈ Icc 0 T, |
| 66 | norm3 (scaledRay m v r s₀ t₀ a ε τ 0-σ^2*τ^2) |
| 67 | (scaledRay m v r s₀ t₀ a ε τ 1+2*σ^2*τ) |
| 68 | (scaledRay m v r s₀ t₀ a ε τ 2-1) ≤ 800*e*Θ^5 ∧ |
| 69 | 1/2 ≤ scaledRay m v r s₀ t₀ a ε τ 2 ∧ |
| 70 | ⟪r (physicalTime t₀ a ε τ), w (physicalTime t₀ a ε τ)⟫_ℝ = 0) ∧ |
| 71 | ∃ F F₁ Z Z₁ : ℝ → ℝ, |
| 72 | F 0 = 1 ∧ F₁ 0 = 0 ∧ Z 0 = 1 ∧ Z₁ 0 = lam ∧ |
| 73 | (∀ t, HasDerivAt F (F₁ t) t) ∧ (∀ t, HasDerivAt Z (Z₁ t) t) ∧ |
| 74 | (∀ t, HasDerivAt (fun s => (1+(σ^2*s^2)^2)*F₁ s) |
| 75 | (2*(1-σ^2*(σ^2*t^2))*F t) t) ∧ |
| 76 | (∀ t, HasDerivAt (fun s => (1+(σ^2*s^2)^2)*Z₁ s) |
| 77 | (2*(1-σ^2*(σ^2*t^2))*Z t) t) ∧ |
| 78 | (∀ t ∈ Icc 0 T, |V t-Z t|+|U t+Z₁ t| ≤ 400000000*e*Θ^29*(1+lam)*F t) ∧ |
| 79 | (∀ t ∈ Icc 1 T, 0 < V t ∧ |V t/Z t-1| ≤ neighborStabilityConstant*e*Θ^29 ∧ |
| 80 | |U t/V t+Z₁ t/Z t| ≤ 10*(neighborStabilityConstant*e*Θ^29)) := by |
| 81 | let e := 16*(ε*Θ*(4*G)^2+d) |
| 82 | let Rp := scaledRay m v r s₀ t₀ a ε |
| 83 | let Vp := scaledVelocity m v w t₀ a ε |
| 84 | let Mf := rescaledFrame M m v t₀ a ε |
| 85 | let Bf := rescaledFrame B m v t₀ a ε |
| 86 | let Rmat : ℝ → Fin 3 → Fin 3 → ℝ := fun τ => scaledRayEntry a ε (Mf τ) (frameSkew (Bf τ)) |
| 87 | let Amat : ℝ → Fin 3 → Fin 3 → ℝ := fun τ => scaledVelocityEntry a ε (Mf τ) |
| 88 | let Cmat : ℝ → Fin 3 → Fin 3 → ℝ := fun τ => |
| 89 | scaledVelocityEntry a ε (fun i j => Mf τ i j+frameSkew (Bf τ) i j) |
| 90 | have he : 0 ≤ e := by dsimp [e]; positivity |
| 91 | have hΘ0 : 0 ≤ Θ := by linarith |
| 92 | have hK : 1 ≤ neighborStabilityConstant := le_trans (by norm_num) neighborStabilityConstant_ge |
| 93 | have hbase : 1000000*e*Θ^40 ≤ 1 := by |
| 94 | have hnonneg := mul_nonneg (sub_nonneg.mpr hK) (mul_nonneg he (pow_nonneg hΘ0 40)) |
| 95 | change 1000000*neighborStabilityConstant*e*Θ^40 ≤ 1 at hsmall |
| 96 | linarith only [hsmall, hnonneg] |
| 97 | have heΘ : e ≤ e*Θ^40 := by |
| 98 | simpa only [mul_one] using mul_le_mul_of_nonneg_left (one_le_pow₀ hΘ : 1 ≤ Θ^40) he |
| 99 | have heSmall : e ≤ 1 := by linarith only [hbase, heΘ, he] |
| 100 | have hpow : e*Θ^5 ≤ e*Θ^40 := |
| 101 | mul_le_mul_of_nonneg_left (pow_le_pow_right₀ hΘ (by decide : 5 ≤ 40)) he |
| 102 | have hsmallRay : 400*(4*e)*Θ^5 ≤ 1 := by |
| 103 | linarith only [hbase, hpow, mul_nonneg he (pow_nonneg hΘ0 5)] |
| 104 | have ha0 : 0 < a := by linarith |
| 105 | have hσsq : σ^2 ≤ 1 := by nlinarith only [hσ, hσsmall] |
| 106 | have herr := physical_matrix_errors ha hε hΘ hG hd heSmall hmap hBd hmd hvd hm0 hv0 hmv |
| 107 | hB hB₁ hE hparent hb0 hk0 hh0 |
| 108 | have hsub : Icc (0:ℝ) T ⊆ Icc 0 Θ := fun _ ht => ⟨ht.1, ht.2.trans hT⟩ |
| 109 | have hmapT : MapsTo (physicalTime t₀ a ε) (Icc 0 T) S := fun _ ht => hmap (hsub ht) |
| 110 | have hMf : ∀ i j, ContinuousOn (fun τ => Mf τ i j) (Icc 0 T) := |
| 111 | rescaledFrame_continuousOn B M hmapT hMc hmd hvd hm0 hv0 hmv |
| 112 | have hBf : ∀ i j, ContinuousOn (fun τ => Bf τ i j) (Icc 0 T) := |
| 113 | rescaledFrame_continuousOn B B hmapT (fun t ht => (hBd t ht).continuousWithinAt) |
| 114 | hmd hvd hm0 hv0 hmv |
| 115 | have hSf := frameSkew_continuousOn hBf |
| 116 | have hRmc : ∀ i j, ContinuousOn (fun τ => Rmat τ i j) (Icc 0 T) := |
| 117 | scaledRayEntry_continuousOn a ε hMf hSf |
| 118 | have hAmc : ∀ i j, ContinuousOn (fun τ => Amat τ i j) (Icc 0 T) := |
| 119 | scaledVelocityEntry_continuousOn a ε hMf |
| 120 | have hCmc : ∀ i j, ContinuousOn (fun τ => Cmat τ i j) (Icc 0 T) := |
| 121 | scaledVelocityEntry_continuousOn a ε (fun i j => (hMf i j).add (hSf i j)) |
| 122 | have hRode : ∀ i τ, τ ∈ Icc 0 T → HasDerivWithinAt (fun s => Rp s i) |
| 123 | (∑ j : Fin 3, Rmat τ i j*Rp τ j) (Icc 0 T) τ := by |
| 124 | intro i τ hτ |
| 125 | have ht := hmapT hτ |
| 126 | exact scaledRay_hasDerivWithinAt (B (physicalTime t₀ a ε τ)) (M (physicalTime t₀ a ε τ)) |
| 127 | (ne_of_gt ha0) (ne_of_gt hε) hs₀ hmapT (hmd _ ht) (hvd _ ht) (hrd _ ht) |
| 128 | (hm0 _ ht) (hv0 _ ht) (hmv _ ht) i |
| 129 | have hP : ∀ τ ∈ Icc 0 T, HasDerivWithinAt (fun s => Rp s 0) |
| 130 | (Rmat τ 0 0*Rp τ 0+Rmat τ 0 1*Rp τ 1+Rmat τ 0 2*Rp τ 2) (Icc 0 T) τ := by |
| 131 | intro τ hτ |
| 132 | simpa only [Fin.sum_univ_three] using hRode 0 τ hτ |
| 133 | have hQ : ∀ τ ∈ Icc 0 T, HasDerivWithinAt (fun s => Rp s 1) |
| 134 | (Rmat τ 1 0*Rp τ 0+Rmat τ 1 1*Rp τ 1+Rmat τ 1 2*Rp τ 2) (Icc 0 T) τ := by |
| 135 | intro τ hτ |
| 136 | simpa only [Fin.sum_univ_three] using hRode 1 τ hτ |
| 137 | have hN : ∀ τ ∈ Icc 0 T, HasDerivWithinAt (fun s => Rp s 2) |
| 138 | (Rmat τ 2 0*Rp τ 0+Rmat τ 2 1*Rp τ 1+Rmat τ 2 2*Rp τ 2) (Icc 0 T) τ := by |
| 139 | intro τ hτ |
| 140 | simpa only [Fin.sum_univ_three] using hRode 2 τ hτ |
| 141 | have hRclose : ∀ τ ∈ Icc 0 T, ∀ i j, |Rmat τ i j-idealRayEntry (σ^2) i j| ≤ 4*e := |
| 142 | fun τ hτ => (herr.2 τ (hsub hτ)).1 |
| 143 | have hnear := ray_closeness_within (sq_nonneg σ) hσsq hΘ hT0 hT |
| 144 | (mul_nonneg (by norm_num : (0:ℝ) ≤ 4) he) hsmallRay hRmc hP hQ hN hRclose |
| 145 | (hrInitial.trans (show e ≤ 4*e by linarith)) |
| 146 | have hrnonzero : ∀ τ ∈ Icc 0 T, r (physicalTime t₀ a ε τ) ≠ 0 := by |
| 147 | intro τ hτ hzero |
| 148 | have hNne : Rp τ 2 ≠ 0 := by linarith only [(hnear τ hτ).2] |
| 149 | apply hNne |
| 150 | simp only [Rp, scaledRay, movingRay, hzero, inner_zero_right, zero_div] |
| 151 | have hpair := rescaled_tangentPairing_zero M hmapT hrd hwd hrnonzero hrw0 |
| 152 | have hUV : ∀ τ ∈ Icc 0 T, |
| 153 | HasDerivWithinAt (fun s => Vp s 0) |
| 154 | (velocityFirstRhs (Amat τ) (Cmat τ) ε (Rp τ 0) (Rp τ 1) (Rp τ 2) (Vp τ 0) (Vp τ 1)) (Icc 0 T) τ ∧ |
| 155 | HasDerivWithinAt (fun s => Vp s 1) |
| 156 | (velocitySecondRhs (Amat τ) (Cmat τ) ε (Rp τ 0) (Rp τ 1) (Rp τ 2) (Vp τ 0) (Vp τ 1)) (Icc 0 T) τ := by |
| 157 | intro τ hτ |
| 158 | have ht := hmapT hτ |
| 159 | have hNne : Rp τ 2 ≠ 0 := by linarith only [(hnear τ hτ).2] |
| 160 | exact scaledVelocity_firstTwo_hasDerivWithinAt (B (physicalTime t₀ a ε τ)) |
| 161 | (M (physicalTime t₀ a ε τ)) (ne_of_gt ha0) (ne_of_gt hε) hs₀ hmapT |
| 162 | (hmd _ ht) (hvd _ ht) (hwd _ ht) (hm0 _ ht) (hv0 _ ht) (hmv _ ht) |
| 163 | (hrnonzero τ hτ) (hpair τ hτ) hNne |
| 164 | refine ⟨?_, ?_⟩ |
| 165 | · intro τ hτ |
| 166 | refine ⟨?_, (hnear τ hτ).2, hpair τ hτ⟩ |
| 167 | linarith only [(hnear τ hτ).1] |
| 168 | · exact controlled_neighbor_stage_references_within hσ hσsmall hΘ hT0 hT he hε.le herr.1 hlam hsmall |
| 169 | hRmc hAmc hCmc hP hQ hN (fun τ hτ => (hUV τ hτ).1) (fun τ hτ => (hUV τ hτ).2) |
| 170 | hRclose (fun τ hτ => (herr.2 τ (hsub hτ)).2.1) (fun τ hτ => (herr.2 τ (hsub hτ)).2.2) |
| 171 | hrInitial hvelocityInitial |
| 172 | |
| 173 | end EulerPacketMovingFrame |
| 174 | end |
| 175 | |
| 176 | end |
| 177 | |
| 178 | /-! ## From `Euler/PacketScalarUniqueness.lean` |
| 179 | |
| 180 | The text of `Euler/PacketScalarUniqueness.lean`, folded into this file, which was its only importer. -/ |
| 181 | |
| 182 | section |
| 183 | |
| 184 | /-! Uniqueness of the actual scalar comparison equation, including its state. -/ |
| 185 | |
| 186 | noncomputable section |
| 187 | |
| 188 | |
| 189 | namespace EulerPacketMovingFrame |
| 190 | |
| 191 | open Set EulerPacketGrowth EulerPacketExistence |
| 192 | |
| 193 | /-- The scalar equation and its initial state determine both state |
| 194 | components on the forward half-line. This lets independently constructed |
| 195 | neighbor comparisons use one common reference. -/ |
| 196 | theorem equation30_state_eq_of_initial |
| 197 | {σ : ℝ} {Z Z₁ W W₁ : ℝ → ℝ} |
| 198 | (hσ : 0 < σ) (hσsmall : σ ≤ 1/4) |
| 199 | (hZ : ∀ t, 0 ≤ t → HasDerivAt Z (Z₁ t) t) |
| 200 | (hW : ∀ t, 0 ≤ t → HasDerivAt W (W₁ t) t) |
| 201 | (hfluxZ : ∀ t, 0 ≤ t → HasDerivAt (fun s => (1+(σ^2*s^2)^2)*Z₁ s) |
| 202 | (2*(1-σ^2*(σ^2*t^2))*Z t) t) |
| 203 | (hfluxW : ∀ t, 0 ≤ t → HasDerivAt (fun s => (1+(σ^2*s^2)^2)*W₁ s) |
| 204 | (2*(1-σ^2*(σ^2*t^2))*W t) t) |
| 205 | (hi : Z 0 = W 0) (hi₁ : Z₁ 0 = W₁ 0) : |
| 206 | ∀ t, 0 ≤ t → Z t = W t ∧ Z₁ t = W₁ t := by |
| 207 | have hσ2 : σ^2 ≤ 1 := by nlinarith only [hσ, hσsmall] |
| 208 | obtain ⟨F, F₁, hF0, hF₁0, hF, hfluxF⟩ := equation30_exists_global (sq_nonneg σ) hσ2 1 0 |
| 209 | intro t ht |
| 210 | have hdiff : ∀ s ∈ Icc 0 t, |
| 211 | HasDerivAt (fun x => Z x-W x) (Z₁ s-W₁ s) s := by |
| 212 | intro s hs |
| 213 | exact (hZ s hs.1).sub (hW s hs.1) |
| 214 | have hfluxdiff : ∀ s ∈ Icc 0 t, |
| 215 | HasDerivAt (fun x => (1+(σ^2*x^2)^2)*(Z₁ x-W₁ x)) |
| 216 | (2*(1-σ^2*(σ^2*s^2))*(Z s-W s)) s := by |
| 217 | intro s hs |
| 218 | convert! (hfluxZ s hs.1).sub (hfluxW s hs.1) using 1 |
| 219 | · ext x |
| 220 | dsimp only [Pi.sub_apply] |
| 221 | ring |
| 222 | · ring |
| 223 | have hb := equation30_relative_propagator hσ hσsmall (le_max_left 1 t) |
| 224 | (by norm_num : (0:ℝ) ≤ 0) ht (le_max_right 1 t) |
| 225 | (fun s _ => hF s) (fun s _ => hfluxF s) hF0 hF₁0 hdiff hfluxdiff |
| 226 | simp only [hi, hi₁, sub_self, abs_zero, add_zero, mul_zero] at hb |
| 227 | have hz : |Z t-W t| = 0 := by linarith only [hb, abs_nonneg (Z t-W t), abs_nonneg (Z₁ t-W₁ t)] |
| 228 | have hz₁ : |Z₁ t-W₁ t| = 0 := by linarith only [hb, abs_nonneg (Z t-W t), abs_nonneg (Z₁ t-W₁ t)] |
| 229 | exact ⟨sub_eq_zero.mp (abs_eq_zero.mp hz), sub_eq_zero.mp (abs_eq_zero.mp hz₁)⟩ |
| 230 | |
| 231 | end EulerPacketMovingFrame |
| 232 | end |
| 233 | |
| 234 | end |
| 235 | |
| 236 | noncomputable section |
| 237 | |
| 238 | |
| 239 | namespace EulerPacketMovingFrame |
| 240 | |
| 241 | open Set EulerSmoothLimit EulerPacketNormalizedPrimary EulerPacketRay |
| 242 | InnerProductSpace ContinuousLinearMap |
| 243 | |
| 244 | theorem physical_family_amplification_and_size {α : Type*} (center : α) |
| 245 | {B B₁ : ℝ → Space →L[ℝ] Space} {M E : α → ℝ → Space →L[ℝ] Space} |
| 246 | {m v : ℝ → Space} {r w : α → ℝ → Space} |
| 247 | {c s₀ t₀ a ε σ Θ T G d lam : ℝ} {S : Set ℝ} |
| 248 | (hσ : 0 < σ) (hσsmall : σ ≤ 1/4) (hT0 : 1 ≤ T) (hT : T ≤ Θ) |
| 249 | (ha : 1/2 ≤ a) (hε : 0 < ε) (hΘ : 1 ≤ Θ) (hG : 1 ≤ G) (hd : 0 ≤ d) |
| 250 | (hs₀ : 0 < s₀) (hlam : 0 ≤ lam) |
| 251 | (hsmall : 1000000*neighborStabilityConstant*(16*(ε*Θ*(4*G)^2+d))*Θ^40 ≤ 1) |
| 252 | (hmap : MapsTo (physicalTime t₀ a ε) (Icc 0 Θ) S) |
| 253 | (hMc : ∀ ξ, ContinuousOn (M ξ) S) |
| 254 | (hBd : ∀ t ∈ S, HasDerivWithinAt B (B₁ t) S t) |
| 255 | (hmd : ∀ t ∈ S, HasDerivWithinAt m (-(B t).adjoint (m t)) S t) |
| 256 | (hvd : ∀ t ∈ S, HasDerivWithinAt v (-(B t) (v t)+ |
| 257 | (2*⟪m t,(B t) (v t)⟫_ℝ/‖m t‖^2) • m t) S t) |
| 258 | (hrd : ∀ ξ t, t ∈ S → HasDerivWithinAt (r ξ) (-(M ξ t).adjoint (r ξ t)) S t) |
| 259 | (hwd : ∀ ξ t, t ∈ S → HasDerivWithinAt (w ξ) (-(M ξ t) (w ξ t)+ |
| 260 | (2*⟪r ξ t,(M ξ t) (w ξ t)⟫_ℝ/‖r ξ t‖^2) • r ξ t) S t) |
| 261 | (hm0 : ∀ t ∈ S, m t ≠ 0) (hv0 : ∀ t ∈ S, v t ≠ 0) |
| 262 | (hmv : ∀ t ∈ S, ⟪m t,v t⟫_ℝ = 0) (hrw0 : ∀ ξ, ⟪r ξ t₀,w ξ t₀⟫_ℝ = 0) |
| 263 | (hB : ∀ t ∈ S, ‖B t‖ ≤ G) (hB₁ : ∀ t ∈ S, ‖B₁ t‖ ≤ G^2) |
| 264 | (hE : ∀ ξ t, t ∈ S → ‖E ξ t‖ ≤ d) |
| 265 | (hparent : ∀ ξ t, t ∈ S → M ξ t = B t+ |
| 266 | primaryShear c m v t • rankOne ℝ (unit (v t)) (unit (m t))+E ξ t) |
| 267 | (hb0 : rescaledFrame B m v t₀ a ε 0 0 1 = a) |
| 268 | (hk0 : rescaledFrame B m v t₀ a ε 0 2 1 = a*σ^2) |
| 269 | (hh0 : rescaledShear c m v t₀ a ε 0 = a/ε^2) |
| 270 | (hrInitial : ∀ ξ, |
| 271 | norm3 (scaledRay m v (r ξ) s₀ t₀ a ε 0 0) (scaledRay m v (r ξ) s₀ t₀ a ε 0 1) |
| 272 | (scaledRay m v (r ξ) s₀ t₀ a ε 0 2-1) ≤ 16*(ε*Θ*(4*G)^2+d)) |
| 273 | (hvelocityInitial : ∀ ξ, |scaledVelocity m v (w ξ) t₀ a ε 0 1-1|+ |
| 274 | |scaledVelocity m v (w ξ) t₀ a ε 0 0+lam| ≤ 16*(ε*Θ*(4*G)^2+d)) : |
| 275 | let e := 16*(ε*Θ*(4*G)^2+d) |
| 276 | ∃ F F₁ Z Z₁ : ℝ → ℝ, |
| 277 | F 0 = 1 ∧ F₁ 0 = 0 ∧ Z 0 = 1 ∧ Z₁ 0 = lam ∧ |
| 278 | (∀ t, HasDerivAt F (F₁ t) t) ∧ (∀ t, HasDerivAt Z (Z₁ t) t) ∧ |
| 279 | (∀ t, HasDerivAt (fun s => (1+(σ^2*s^2)^2)*F₁ s) |
| 280 | (2*(1-σ^2*(σ^2*t^2))*F t) t) ∧ |
| 281 | (∀ t, HasDerivAt (fun s => (1+(σ^2*s^2)^2)*Z₁ s) |
| 282 | (2*(1-σ^2*(σ^2*t^2))*Z t) t) ∧ |
| 283 | (∀ ξ τ, τ ∈ Icc 0 T → |
| 284 | norm3 (scaledRay m v (r ξ) s₀ t₀ a ε τ 0-σ^2*τ^2) |
| 285 | (scaledRay m v (r ξ) s₀ t₀ a ε τ 1+2*σ^2*τ) |
| 286 | (scaledRay m v (r ξ) s₀ t₀ a ε τ 2-1) ≤ 800*e*Θ^5 ∧ |
| 287 | 1/2 ≤ scaledRay m v (r ξ) s₀ t₀ a ε τ 2 ∧ |
| 288 | ⟪r ξ (physicalTime t₀ a ε τ), w ξ (physicalTime t₀ a ε τ)⟫_ℝ = 0) ∧ |
| 289 | (∀ ξ τ, τ ∈ Icc 0 T → |
| 290 | |scaledVelocity m v (w ξ) t₀ a ε τ 1-Z τ|+ |
| 291 | |scaledVelocity m v (w ξ) t₀ a ε τ 0+Z₁ τ| ≤ 400000000*e*Θ^29*(1+lam)*F τ) ∧ |
| 292 | (∀ ξ τ, τ ∈ Icc 1 T → |
| 293 | 0 < scaledVelocity m v (w ξ) t₀ a ε τ 1 ∧ |
| 294 | |scaledVelocity m v (w ξ) t₀ a ε τ 1/Z τ-1| ≤ neighborStabilityConstant*e*Θ^29 ∧ |
| 295 | |scaledVelocity m v (w ξ) t₀ a ε τ 0/scaledVelocity m v (w ξ) t₀ a ε τ 1+Z₁ τ/Z τ| |
| 296 | ≤ 10*(neighborStabilityConstant*e*Θ^29)) ∧ |
| 297 | (∀ ξ τ, τ ∈ Icc 1 T → |
| 298 | ‖r ξ (physicalTime t₀ a ε τ)‖*‖w ξ (physicalTime t₀ a ε τ)‖ ≤ |
| 299 | 64*(‖r center (physicalTime t₀ a ε T)‖*‖w center (physicalTime t₀ a ε T)‖)) := by |
| 300 | let e := 16*(ε*Θ*(4*G)^2+d) |
| 301 | have hTpos : 0 < T := by linarith only [hT0] |
| 302 | have hall (ξ : α) := physical_neighbor_stage_references hσ hσsmall hTpos hT ha hε hΘ hG hd |
| 303 | (ne_of_gt hs₀) hlam hsmall hmap (hMc ξ) hBd hmd hvd (hrd ξ) (hwd ξ) hm0 hv0 hmv (hrw0 ξ) |
| 304 | hB hB₁ (hE ξ) (hparent ξ) hb0 hk0 hh0 (hrInitial ξ) (hvelocityInitial ξ) |
| 305 | obtain ⟨_, F, F₁, Z, Z₁, hF0, hF₁0, hZ0, hZ₁0, hF, hZ, hfluxF, hfluxZ, _, _⟩ := hall center |
| 306 | have hcommon (ξ : α) : |
| 307 | (∀ τ ∈ Icc 0 T, |
| 308 | norm3 (scaledRay m v (r ξ) s₀ t₀ a ε τ 0-σ^2*τ^2) |
| 309 | (scaledRay m v (r ξ) s₀ t₀ a ε τ 1+2*σ^2*τ) |
| 310 | (scaledRay m v (r ξ) s₀ t₀ a ε τ 2-1) ≤ 800*e*Θ^5 ∧ |
| 311 | 1/2 ≤ scaledRay m v (r ξ) s₀ t₀ a ε τ 2 ∧ |
| 312 | ⟪r ξ (physicalTime t₀ a ε τ), w ξ (physicalTime t₀ a ε τ)⟫_ℝ = 0) ∧ |
| 313 | (∀ τ ∈ Icc 0 T, |
| 314 | |scaledVelocity m v (w ξ) t₀ a ε τ 1-Z τ|+ |
| 315 | |scaledVelocity m v (w ξ) t₀ a ε τ 0+Z₁ τ| ≤ 400000000*e*Θ^29*(1+lam)*F τ) ∧ |
| 316 | (∀ τ ∈ Icc 1 T, |
| 317 | 0 < scaledVelocity m v (w ξ) t₀ a ε τ 1 ∧ |
| 318 | |scaledVelocity m v (w ξ) t₀ a ε τ 1/Z τ-1| ≤ neighborStabilityConstant*e*Θ^29 ∧ |
| 319 | |scaledVelocity m v (w ξ) t₀ a ε τ 0/scaledVelocity m v (w ξ) t₀ a ε τ 1+Z₁ τ/Z τ| |
| 320 | ≤ 10*(neighborStabilityConstant*e*Θ^29)) := by |
| 321 | obtain ⟨hray, F', F₁', Z', Z₁', hF0', hF₁0', hZ0', hZ₁0', hF', hZ', hfluxF', hfluxZ', herr, hrel⟩ := hall ξ |
| 322 | have hFeq := equation30_state_eq_of_initial hσ hσsmall (fun t _ => hF' t) (fun t _ => hF t) |
| 323 | (fun t _ => hfluxF' t) (fun t _ => hfluxF t) (hF0'.trans hF0.symm) (hF₁0'.trans hF₁0.symm) |
| 324 | have hZeq := equation30_state_eq_of_initial hσ hσsmall (fun t _ => hZ' t) (fun t _ => hZ t) |
| 325 | (fun t _ => hfluxZ' t) (fun t _ => hfluxZ t) (hZ0'.trans hZ0.symm) (hZ₁0'.trans hZ₁0.symm) |
| 326 | refine ⟨hray, ?_, ?_⟩ |
| 327 | · intro τ hτ |
| 328 | simpa only [(hFeq τ hτ.1).1, (hZeq τ hτ.1).1, (hZeq τ hτ.1).2] using herr τ hτ |
| 329 | · intro τ hτ |
| 330 | have ht0 : 0 ≤ τ := by linarith only [hτ.1] |
| 331 | simpa only [(hZeq τ ht0).1, (hZeq τ ht0).2] using hrel τ hτ |
| 332 | refine ⟨F, F₁, Z, Z₁, hF0, hF₁0, hZ0, hZ₁0, hF, hZ, hfluxF, hfluxZ, |
| 333 | (fun ξ => (hcommon ξ).1), (fun ξ => (hcommon ξ).2.1), (fun ξ => (hcommon ξ).2.2), ?_⟩ |
| 334 | have he : 0 ≤ e := by dsimp [e]; positivity |
| 335 | have hεe : ε ≤ e := by |
| 336 | have hg : 1 ≤ (4*G)^2 := by linarith only [hG, sq_nonneg (G-1)] |
| 337 | have hc : 1 ≤ Θ*(4*G)^2 := by |
| 338 | simpa only [one_mul] using mul_le_mul hΘ hg |
| 339 | (by norm_num : (0:ℝ) ≤ 1) (by linarith only [hΘ] : 0 ≤ Θ) |
| 340 | have hh := mul_le_mul_of_nonneg_left hc hε.le |
| 341 | dsimp [e] |
| 342 | linarith only [hh, hd, hε] |
| 343 | have hK : 1 ≤ neighborStabilityConstant := (by norm_num : (1:ℝ) ≤ 1000000000).trans neighborStabilityConstant_ge |
| 344 | have hsub : Icc (1:ℝ) T ⊆ Icc 0 T := fun _ ht => ⟨by linarith only [ht.1], ht.2⟩ |
| 345 | have htime {τ : ℝ} (hτ : τ ∈ Icc 1 T) : physicalTime t₀ a ε τ ∈ S := |
| 346 | hmap ⟨(hsub hτ).1, hτ.2.trans hT⟩ |
| 347 | have hrays (ξ : α) (τ : ℝ) (hτ : τ ∈ Icc 1 T) : |
| 348 | |scaledRay m v (r ξ) s₀ t₀ a ε τ 0-σ^2*τ^2| ≤ 800*e*Θ^5 ∧ |
| 349 | |scaledRay m v (r ξ) s₀ t₀ a ε τ 1-(-2*σ^2*τ)| ≤ 800*e*Θ^5 ∧ |
| 350 | |scaledRay m v (r ξ) s₀ t₀ a ε τ 2-1| ≤ 800*e*Θ^5 := by |
| 351 | have hh := ((hcommon ξ).1 τ (hsub hτ)).1 |
| 352 | unfold norm3 at hh |
| 353 | have hqeq : scaledRay m v (r ξ) s₀ t₀ a ε τ 1-(-2*σ^2*τ) = |
| 354 | scaledRay m v (r ξ) s₀ t₀ a ε τ 1+2*σ^2*τ := by ring |
| 355 | rw [hqeq] |
| 356 | constructor |
| 357 | · linarith only [hh, abs_nonneg (scaledRay m v (r ξ) s₀ t₀ a ε τ 1+2*σ^2*τ), |
| 358 | abs_nonneg (scaledRay m v (r ξ) s₀ t₀ a ε τ 2-1)] |
| 359 | constructor |
| 360 | · linarith only [hh, abs_nonneg (scaledRay m v (r ξ) s₀ t₀ a ε τ 0-σ^2*τ^2), |
| 361 | abs_nonneg (scaledRay m v (r ξ) s₀ t₀ a ε τ 2-1)] |
| 362 | · linarith only [hh, abs_nonneg (scaledRay m v (r ξ) s₀ t₀ a ε τ 0-σ^2*τ^2), |
| 363 | abs_nonneg (scaledRay m v (r ξ) s₀ t₀ a ε τ 1+2*σ^2*τ)] |
| 364 | exact physical_before_target_size_bound center (fun _ => m) (fun _ => v) r w |
| 365 | hs₀ hε hσ hσsmall hT0 hT hΘ hK he hεe hsmall |
| 366 | (fun _ _ hτ => hm0 _ (htime hτ)) (fun _ _ hτ => hv0 _ (htime hτ)) |
| 367 | (fun _ _ hτ => hmv _ (htime hτ)) (fun ξ τ hτ => ((hcommon ξ).1 τ (hsub hτ)).2.2) |
| 368 | (fun t _ => hZ t) (fun t _ => hfluxZ t) hZ0 (by rw [hZ₁0]; exact hlam) |
| 369 | (fun ξ τ hτ => (hrays ξ τ hτ).1) (fun ξ τ hτ => (hrays ξ τ hτ).2.1) |
| 370 | (fun ξ τ hτ => (hrays ξ τ hτ).2.2) (fun ξ τ hτ => ((hcommon ξ).2.2 τ hτ).2.1) |
| 371 | (fun ξ τ hτ => ((hcommon ξ).2.2 τ hτ).2.2) |
| 372 | |
| 373 | end EulerPacketMovingFrame |