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 NavierStokes.ReferenceUniformStocks |
| 2 | import NavierStokes.AppendixJoiningResults |
| 3 | |
| 4 | /-! # The literal linear joining-width estimate at the actual held endpoint -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace NavierStokes.ReferenceEndpointRate |
| 9 | |
| 10 | open Set Filter ProfileHistories ReferencePath NaturalProfile NaturalAxisCoefficients |
| 11 | open ReferenceUniformStocks ReferenceUniformJets TransitionRamp ClosedIntervalJetAlgebra StressActivation |
| 12 | open scoped Topology ContDiff |
| 13 | |
| 14 | variable {h j σ Λ : ℝ} {P0 : ℝ → ℝ} |
| 15 | (d : AnalyticInputs h j σ P0) (hΛ : 0 < Λ) (hP0 : ContDiff ℝ ∞ P0) |
| 16 | (hs : NaturalAxisRange.Parameters h j) |
| 17 | |
| 18 | /-- The same stock-driven continuation, on the full printed numerical range. -/ |
| 19 | def reference (q : Choice d Λ) : StockReference parameterInterval where |
| 20 | exponent := h |
| 21 | radius0 := (q.input hΛ).endpoint |
| 22 | radius0_pos := (q.input hΛ).endpoint_pos |
| 23 | domain := (q.input hΛ).radialDomain |
| 24 | profiles := q.profiles hΛ hP0 |
| 25 | log_mem := fun y _ hη => StressActivation.FromReference.log_radius_mem (q.input hΛ) y hη |
| 26 | f_pos := fun y _ hη => (q.input hΛ).refF_pos q.δ |
| 27 | (StressActivation.FromReference.log_radius_mem (q.input hΛ) y hη) |
| 28 | (mul_pos (q.input hΛ).endpoint_pos (Real.exp_pos _)).le |
| 29 | L_ne_zero := fun η hη => (lt_of_lt_of_le (by norm_num : (0:ℝ)<4879/5000) |
| 30 | (AppendixJoiningResults.axis_L_lower_bound_window hs.h_pos.le hs.h_le |
| 31 | ⟨hη.1.le,hη.2.le⟩)).ne' |
| 32 | |
| 33 | theorem reference_eq_ofNatural (hs' : NaturalAxisData.SmallParameters h j) (q : Choice d Λ) : |
| 34 | reference d hΛ hP0 hs q = |
| 35 | ofNatural q.profile.family hΛ hs' q.δ_pos q.δ_lt hP0 := rfl |
| 36 | |
| 37 | theorem reference_radius (q : Choice d Λ) : |
| 38 | (reference d hΛ hP0 hs q).radius0 = 4/Λ := rfl |
| 39 | |
| 40 | theorem reference_finalTime (q : Choice d Λ) : |
| 41 | (reference d hΛ hP0 hs q).finalTime = Real.log (110/(4/Λ)) := rfl |
| 42 | |
| 43 | theorem reference_initialU (q : Choice d Λ) : |
| 44 | (reference d hΛ hP0 hs q).initialU = fun η => q.profile.family.U (4/Λ,η) := by |
| 45 | funext η |
| 46 | exact (q.input hΛ).refU_eq_natural_initial q.δ le_rfl |
| 47 | |
| 48 | theorem reference_initialU_error (q : Choice d Λ) (n : ℕ) {η : ℝ} (hη : η ∈ J) : |
| 49 | |iteratedDeriv n (fun ξ => (reference d hΛ hP0 hs q).initialU ξ - NaturalAxisData.U j ξ) η| ≤ |
| 50 | ReferenceJetBounds.jetConstant d.coefficients 0 n / Λ := by |
| 51 | rw [reference_initialU] |
| 52 | have hY : Λ*(4/Λ) = 4 := by field_simp |
| 53 | rw [naturalU_error_jet d q.profile (by rw [hY]; norm_num) (original_interval_interior hη) n, |
| 54 | abs_mul, abs_of_pos (one_div_pos.mpr hΛ)] |
| 55 | have hb := (ReferenceJetBounds.coefficient_jet_bound d.coefficients q.profile.coefficients |
| 56 | q.profile.norm_ball 0 n (p := (Λ*(4/Λ),η)) (by rw [hY]; norm_num)).2 |
| 57 | convert! mul_le_mul_of_nonneg_left hb (one_div_nonneg.mpr hΛ.le) using 1 |
| 58 | ring |
| 59 | |
| 60 | theorem radius_final_interval {J' : Set ℝ} (R : StockReference J') {t : ℝ} |
| 61 | (ht : t ≤ R.finalTime) : radius R.radius0 t ∈ Ioc (0:ℝ) 110 := by |
| 62 | refine ⟨mul_pos R.radius0_pos (Real.exp_pos t),?_⟩ |
| 63 | have he := Real.exp_le_exp.mpr ht |
| 64 | rw [StockReference.finalTime, Real.exp_log (div_pos (by norm_num) R.radius0_pos)] at he |
| 65 | have hm := mul_le_mul_of_nonneg_left he R.radius0_pos.le |
| 66 | simpa only [radius,mul_div_cancel₀ _ R.radius0_pos.ne'] using hm |
| 67 | |
| 68 | /-- One stock bound is chosen before every admissible amplitude and reference width. -/ |
| 69 | theorem exists_reference_axialStock_bound (hσ : 0 < σ) |
| 70 | (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) |
| 71 | (N : ℕ) : ∃ B, 0 ≤ B ∧ ∀ q : Choice d Λ, ∀ n ≤ N, |
| 72 | ∀ t ≤ (reference d hΛ hP0 hs q).finalTime, ∀ η ∈ J, |
| 73 | |parameterJet n (reference d hΛ hP0 hs q).axialStock (t,η)| ≤ B := by |
| 74 | obtain ⟨B,hB,hb⟩ := (uniform_axialFormula d hΛ hP0 hs hσ hscale N |
| 75 | (by norm_num : (0:ℝ)≤110)).2 |
| 76 | refine ⟨B,hB,?_⟩ |
| 77 | intro q n hn t ht η hη |
| 78 | let R := reference d hΛ hP0 hs q |
| 79 | let X := radius R.radius0 t |
| 80 | have hX := radius_final_interval R ht |
| 81 | have hm (ξ : ℝ) (hξ : ξ ∈ parameterInterval) : (X,ξ) ∈ R.domain.carrier := R.log_mem t ξ hξ |
| 82 | have he : (fun ξ => R.axialStock (t,ξ)) =ᶠ[𝓝 η] |
| 83 | (fun ξ => axialFormula R.profiles h (X,ξ)) := by |
| 84 | filter_upwards [parameterInterval_open.mem_nhds (original_interval_interior hη)] with ξ hξ |
| 85 | exact (axialFormula_eq R.profiles h (hm ξ hξ) hX.1).symm |
| 86 | rw [parameterJet_eq_iteratedDeriv parameterInterval_open (R.axialStock_smooth parameterInterval_open) |
| 87 | n (original_interval_interior hη), he.iteratedDeriv_eq n] |
| 88 | have hsl : ∀ ξ ∈ J, ContDiffAt ℝ ∞ (fun ξ => axialFormula R.profiles h (X,ξ)) ξ := by |
| 89 | intro ξ hξ |
| 90 | have he' : (fun z => axialFormula R.profiles h (X,z)) =ᶠ[𝓝 ξ] |
| 91 | (fun z => R.axialStock (t,z)) := by |
| 92 | filter_upwards [parameterInterval_open.mem_nhds (original_interval_interior hξ)] with z hz |
| 93 | exact axialFormula_eq R.profiles h (hm z hz) hX.1 |
| 94 | exact (slice_smoothAt (logDomain parameterInterval parameterInterval_open) |
| 95 | (R.axialStock_smooth parameterInterval_open) ⟨mem_univ _,original_interval_interior hξ⟩).congr_of_eventuallyEq he' |
| 96 | exact (bound_iff_jets hsl).mp (hb (q,⟨X,hX.1.le,hX.2⟩)) n hn η hη |
| 97 | |
| 98 | /-- The endpoint integral has a linear control cost for any actual stock reference. -/ |
| 99 | theorem endpoint_error_from_stock {J' : Set ℝ} (hJ : IsOpen J') |
| 100 | (R : StockReference J') {g : ℝ → ℝ} (hg : ContDiffOn ℝ ∞ g J') |
| 101 | {T κ w η M I : ℝ} (hT : 0 < T) (hκ : κ ∈ Icc (0:ℝ) 1) |
| 102 | (hfinal : 0 ≤ R.finalTime) (hη : η ∈ J') (hM : 0 ≤ M) (n : ℕ) |
| 103 | (hi : |iteratedDeriv n (fun ξ => R.initialU ξ-g ξ) η| ≤ I) |
| 104 | (hb : ∀ t ∈ Icc (0:ℝ) R.finalTime, |parameterJet n R.axialStock (t,η)| ≤ M) : |
| 105 | |iteratedDeriv n (fun ξ => R.endpointU T κ w ξ-g ξ) η| ≤ I+M*(T+κ*R.finalTime) := by |
| 106 | apply jet_transfer n |
| 107 | (((R.endpointU_smooth hJ T κ w).contDiffAt (hJ.mem_nhds hη)).sub |
| 108 | (hg.contDiffAt (hJ.mem_nhds hη))) |
| 109 | (((R.initialU_smooth hJ).contDiffAt (hJ.mem_nhds hη)).sub |
| 110 | (hg.contDiffAt (hJ.mem_nhds hη))) |
| 111 | · have he : (fun ξ => (R.endpointU T κ w ξ-g ξ)-(R.initialU ξ-g ξ)) = |
| 112 | fun ξ => R.axialVelocity T κ w (R.finalTime,ξ)-R.initialU ξ := by |
| 113 | funext ξ |
| 114 | simp only [StockReference.endpointU] |
| 115 | ring |
| 116 | rw [he] |
| 117 | exact axialField_jet_error_bound hJ (R.axialStock_smooth hJ) R.initialU |
| 118 | hT hκ hfinal hη hM n hb |
| 119 | · exact hi |
| 120 | |
| 121 | /-- The joining constant is chosen before amplitude and before all smaller widths. |
| 122 | The natural coefficient constant displayed on the right does not depend on `Λ`. -/ |
| 123 | theorem exists_linear_jet_constant (hΛ1 : 1 ≤ Λ) (hσ : 0 < σ) |
| 124 | (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) |
| 125 | (N : ℕ) : ∃ Cjoin, 0 ≤ Cjoin ∧ ∀ q : Choice d Λ, |
| 126 | ∀ T, 0 < T → ∀ κ ∈ Icc (0:ℝ) 1, ∀ w₁, 0 ≤ w₁ → ∀ w₂, 0 ≤ w₂ → |
| 127 | ∀ n ≤ N, ∀ η ∈ J, |
| 128 | |iteratedDeriv n (fun ξ => (reference d hΛ hP0 hs q).endpointU T κ w₁ ξ- |
| 129 | NaturalAxisData.U j ξ) η| ≤ ReferenceJetBounds.jetConstant d.coefficients 0 n/Λ + |
| 130 | Cjoin*(T+κ+w₁+w₂) := by |
| 131 | obtain ⟨B,hB,hb⟩ := exists_reference_axialStock_bound d hΛ hP0 hs hσ hscale N |
| 132 | let Y := Real.log (110/(4/Λ)) |
| 133 | refine ⟨B*(1+|Y|), mul_nonneg hB (by positivity),?_⟩ |
| 134 | intro q T hT κ hκ w₁ hw₁ w₂ hw₂ n hn η hη |
| 135 | let R := reference d hΛ hP0 hs q |
| 136 | have hR4 : R.radius0 ≤ 4 := by |
| 137 | change 4/Λ ≤ 4 |
| 138 | exact (div_le_iff₀ hΛ).mpr (by nlinarith) |
| 139 | have hfinal : 0 ≤ R.finalTime := by |
| 140 | apply Real.log_nonneg |
| 141 | exact (le_div_iff₀ R.radius0_pos).mpr (by linarith) |
| 142 | have hres := endpoint_error_from_stock parameterInterval_open R (uStar_smooth j).contDiffOn (w := w₁) |
| 143 | hT hκ hfinal (original_interval_interior hη) hB n |
| 144 | (reference_initialU_error d hΛ hP0 hs q n hη) |
| 145 | (fun t ht => hb q n hn t ht.2 η hη) |
| 146 | have hsum : T+κ*Y ≤ (1+|Y|)*(T+κ+w₁+w₂) := by |
| 147 | have h1 := mul_nonneg (abs_nonneg Y) hT.le |
| 148 | have h2 := mul_le_mul_of_nonneg_left (le_abs_self Y) hκ.1 |
| 149 | have h3 := mul_nonneg (by positivity : 0 ≤ 1+|Y|) (add_nonneg hw₁ hw₂) |
| 150 | nlinarith [hκ.1] |
| 151 | apply hres.trans |
| 152 | exact add_le_add le_rfl ((mul_le_mul_of_nonneg_left hsum hB).trans_eq (by ring)) |
| 153 | |
| 154 | /-- All orders through `N` share one natural constant chosen before `Λ`, and |
| 155 | one joining constant chosen before amplitude and the transition widths. -/ |
| 156 | theorem exists_linear_Ck_constants (hσ : 0 < σ) (N : ℕ) : |
| 157 | ∃ Cnat, 0 ≤ Cnat ∧ ∀ Λ, ∀ hΛ : 0 < Λ, 1 ≤ Λ → |
| 158 | AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ → |
| 159 | ∃ Cjoin, 0 ≤ Cjoin ∧ ∀ q : Choice d Λ, |
| 160 | ∀ T, 0 < T → ∀ κ ∈ Icc (0:ℝ) 1, ∀ w₁, 0 ≤ w₁ → ∀ w₂, 0 ≤ w₂ → |
| 161 | ∀ n ≤ N, ∀ η ∈ J, |
| 162 | |iteratedDeriv n (fun ξ => (reference d hΛ hP0 hs q).endpointU T κ w₁ ξ- |
| 163 | NaturalAxisData.U j ξ) η| ≤ Cnat/Λ+Cjoin*(T+κ+w₁+w₂) := by |
| 164 | obtain ⟨Cnat,hCnat,hcn⟩ := finite_majorant |
| 165 | (fun n => ReferenceJetBounds.jetConstant d.coefficients 0 n) N |
| 166 | refine ⟨Cnat,zero_le_one.trans hCnat,?_⟩ |
| 167 | intro Λ hΛ hΛ1 hscale |
| 168 | obtain ⟨Cjoin,hCjoin,hcj⟩ := exists_linear_jet_constant d hΛ hP0 hs hΛ1 hσ hscale N |
| 169 | refine ⟨Cjoin,hCjoin,?_⟩ |
| 170 | intro q T hT κ hκ w₁ hw₁ w₂ hw₂ n hn η hη |
| 171 | exact (hcj q T hT κ hκ w₁ hw₁ w₂ hw₂ n hn η hη).trans |
| 172 | (add_le_add (div_le_div_of_nonneg_right (hcn n hn) hΛ.le) le_rfl) |
| 173 | |
| 174 | theorem exists_reference_angularStock_bound (hΛ1 : 1 ≤ Λ) (hσ : 0 < σ) |
| 175 | (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) |
| 176 | (N : ℕ) : ∃ B, 0 ≤ B ∧ ∀ q : Choice d Λ, ∀ n ≤ N, |
| 177 | ∀ t ∈ Icc (0:ℝ) (reference d hΛ hP0 hs q).finalTime, ∀ η ∈ J, |
| 178 | |parameterJet n (reference d hΛ hP0 hs q).angularStock (t,η)| ≤ B := by |
| 179 | have ha : 0 < 4/Λ := div_pos (by norm_num) hΛ |
| 180 | have haR : 4/Λ ≤ (110:ℝ) := (div_le_iff₀ hΛ).mpr (by nlinarith) |
| 181 | obtain ⟨B,hB,hb⟩ := (uniform_reference_quantities d hΛ hP0 hs hσ hscale N ha haR).2.2.1.2 |
| 182 | refine ⟨B,hB,?_⟩ |
| 183 | intro q n hn t ht η hη |
| 184 | let R := reference d hΛ hP0 hs q |
| 185 | let X := radius R.radius0 t |
| 186 | have hX := radius_final_interval R ht.2 |
| 187 | have hXa : 4/Λ ≤ X := by |
| 188 | have hm := mul_le_mul_of_nonneg_left (Real.one_le_exp ht.1) R.radius0_pos.le |
| 189 | change R.radius0 ≤ R.radius0*Real.exp t |
| 190 | simpa only [mul_one] using hm |
| 191 | rw [parameterJet_eq_iteratedDeriv parameterInterval_open (R.angularStock_smooth parameterInterval_open) |
| 192 | n (original_interval_interior hη)] |
| 193 | have hj := (bound_iff_jets (k := N) (B := B) (fun ξ hξ => slice_smoothAt |
| 194 | (logDomain parameterInterval parameterInterval_open) (R.angularStock_smooth parameterInterval_open) |
| 195 | (X := t) (η := ξ) ⟨mem_univ _,original_interval_interior hξ⟩)).mp |
| 196 | exact hj (hb (q,⟨X,hXa,hX.2⟩)) n hn η hη |
| 197 | |
| 198 | /-- A uniform stock bound controls every logarithmic endpoint jet, including order zero. -/ |
| 199 | theorem logarithmic_error_from_stock {J' : Set ℝ} (hJ : IsOpen J') |
| 200 | (R : StockReference J') {T κ w₁ w₂ η M : ℝ} (hκ : κ ∈ Icc (0:ℝ) 1) |
| 201 | (hfinal : 0 ≤ R.finalTime) (hη : η ∈ J') (hM : 0 ≤ M) (n : ℕ) |
| 202 | (hb : ∀ t ∈ Icc (0:ℝ) R.finalTime, |parameterJet n R.angularStock (t,η)| ≤ M) : |
| 203 | |iteratedDeriv n (fun ξ => R.logAmplitude T κ w₁ w₂ (R.finalTime,ξ)-R.initialLog ξ) η| ≤ |
| 204 | (M+1)*R.finalTime := by |
| 205 | rw [StockReference.logAmplitude,logField,integrate_error_jet hJ R.initialLog |
| 206 | (angularSlope_smooth T κ R.bigTime w₁ w₂ hJ (R.angularStock_smooth hJ)) n R.finalTime hη] |
| 207 | have hi := integral_norm_bound hfinal (F := fun t => |
| 208 | parameterJet n (angularSlope T κ R.bigTime w₁ w₂ R.angularStock) (t,η)) (M := M+1) (by |
| 209 | intro t ht |
| 210 | rw [parameterJet_angularSlope hJ (R.angularStock_smooth hJ) T κ R.bigTime w₁ w₂ n hη] |
| 211 | have hs := step_mem (R.bigTime+w₁) w₂ t |
| 212 | have hd := damping_mem T hκ t |
| 213 | have hz := (controlled_product_bound (a := 1-step (R.bigTime+w₁) w₂ t) |
| 214 | (by constructor <;> linarith [hs.1,hs.2]) |
| 215 | hd.1 hM (hb t ht)).trans (mul_le_of_le_one_left hM hd.2) |
| 216 | have hf : |if n=0 then (2/5:ℝ)*step (R.bigTime+w₁) w₂ t else 0| ≤ 1 := by |
| 217 | split_ifs |
| 218 | · rw [abs_of_nonneg (mul_nonneg (by norm_num) hs.1)] |
| 219 | linarith [hs.2] |
| 220 | · norm_num |
| 221 | exact (abs_sub _ _).trans (add_le_add hz hf)) |
| 222 | simpa only [sub_zero] using hi |
| 223 | |
| 224 | /-- The normalized logarithmic endpoint envelope is uniform before amplitude and |
| 225 | all transition widths, without requiring a separately assumed small-control bound. -/ |
| 226 | theorem exists_endpointLog_bound (hΛ1 : 1 ≤ Λ) (hσ : 0 < σ) |
| 227 | (hscale : AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ) |
| 228 | (N : ℕ) : ∃ B, 0 ≤ B ∧ ∀ q : Choice d Λ, ∀ T κ w₁ w₂ : ℝ, |
| 229 | κ ∈ Icc (0:ℝ) 1 → ∀ n ≤ N, ∀ η ∈ J, |
| 230 | |iteratedDeriv n ((reference d hΛ hP0 hs q).endpointLog T κ w₁ w₂ q.C) η| ≤ B := by |
| 231 | obtain ⟨M,hM,hm⟩ := exists_reference_angularStock_bound d hΛ hP0 hs hΛ1 hσ hscale N |
| 232 | obtain ⟨B,hB,hb⟩ := exists_normalizedReferenceLog_jets d hΛ hσ hscale N |
| 233 | let Y := Real.log (110/(4/Λ)) |
| 234 | let c := Real.log 220/2 |
| 235 | refine ⟨B+(|c|+(M+1)*|Y|),by positivity,?_⟩ |
| 236 | intro q T κ w₁ w₂ hκ n hn η hη |
| 237 | let R := reference d hΛ hP0 hs q |
| 238 | let L := fun ξ => Real.log q.C+R.initialLog ξ |
| 239 | have hL : ContDiffOn ℝ ∞ L parameterInterval := |
| 240 | contDiffOn_const.add (R.initialLog_smooth parameterInterval_open) |
| 241 | have hLbound : |iteratedDeriv n L η| ≤ B := |
| 242 | hb q.C q.C_pos q.profile q.δ q.δ_pos q.δ_lt (4/Λ) |
| 243 | (div_nonneg (by norm_num) hΛ.le) n hn η hη |
| 244 | have hR4 : R.radius0 ≤ 4 := by |
| 245 | change 4/Λ ≤ 4 |
| 246 | exact (div_le_iff₀ hΛ).mpr (by nlinarith) |
| 247 | have hfinal : 0 ≤ R.finalTime := by |
| 248 | apply Real.log_nonneg |
| 249 | exact (le_div_iff₀ R.radius0_pos).mpr (by linarith) |
| 250 | have herr := logarithmic_error_from_stock parameterInterval_open R |
| 251 | (T := T) (w₁ := w₁) (w₂ := w₂) hκ hfinal (original_interval_interior hη) hM n |
| 252 | (fun t ht => hm q n hn t ht η hη) |
| 253 | apply jet_transfer n |
| 254 | ((R.endpointLog_smooth parameterInterval_open T κ w₁ w₂ q.C).contDiffAt |
| 255 | (parameterInterval_open.mem_nhds (original_interval_interior hη))) |
| 256 | (hL.contDiffAt (parameterInterval_open.mem_nhds (original_interval_interior hη))) |
| 257 | · have he : (fun ξ => R.endpointLog T κ w₁ w₂ q.C ξ-L ξ) = |
| 258 | fun ξ => c+(R.logAmplitude T κ w₁ w₂ (R.finalTime,ξ)-R.initialLog ξ) := by |
| 259 | funext ξ |
| 260 | dsimp [StockReference.endpointLog,L,c] |
| 261 | ring |
| 262 | rw [he] |
| 263 | have herr' : |iteratedDeriv n (fun ξ => R.logAmplitude T κ w₁ w₂ (R.finalTime,ξ)-R.initialLog ξ) η| |
| 264 | ≤ (M+1)*|Y| := herr.trans (mul_le_mul_of_nonneg_left (le_abs_self Y) (by positivity)) |
| 265 | by_cases hn0 : n=0 |
| 266 | · subst n |
| 267 | simp only [iteratedDeriv_zero] at herr' ⊢ |
| 268 | exact (abs_add_le _ _).trans (add_le_add le_rfl herr') |
| 269 | · rw [iteratedDeriv_const_add (Nat.pos_of_ne_zero hn0)] |
| 270 | exact herr'.trans (le_add_of_nonneg_left (abs_nonneg c)) |
| 271 | · exact hLbound |
| 272 | |
| 273 | /-- The two conclusions of the current `join:scale-envelope` hold together for |
| 274 | one actual stock-driven continuation and one choice of constants in the printed order. -/ |
| 275 | theorem exists_entrance_envelope (hσ : 0 < σ) (N : ℕ) : |
| 276 | ∃ Cnat, 0 ≤ Cnat ∧ ∀ Λ, ∀ hΛ : 0 < Λ, 1 ≤ Λ → |
| 277 | AxisReference.stabilityScale d.coefficients.epsilon (profileErrorConstant d) ≤ Λ → |
| 278 | ∃ B Cjoin, 0 ≤ B ∧ 0 ≤ Cjoin ∧ ∀ q : Choice d Λ, |
| 279 | ∀ T, 0 < T → ∀ κ ∈ Icc (0:ℝ) 1, ∀ w₁, 0 ≤ w₁ → ∀ w₂, 0 ≤ w₂ → |
| 280 | ∀ n ≤ N, ∀ η ∈ J, |
| 281 | |iteratedDeriv n ((reference d hΛ hP0 hs q).endpointLog T κ w₁ w₂ q.C) η| ≤ B ∧ |
| 282 | |iteratedDeriv n (fun ξ => (reference d hΛ hP0 hs q).endpointU T κ w₁ ξ- |
| 283 | NaturalAxisData.U j ξ) η| ≤ Cnat/Λ+Cjoin*(T+κ+w₁+w₂) := by |
| 284 | obtain ⟨Cnat,hCnat,hcn⟩ := exists_linear_Ck_constants d hP0 hs hσ N |
| 285 | refine ⟨Cnat,hCnat,?_⟩ |
| 286 | intro Λ hΛ hΛ1 hscale |
| 287 | obtain ⟨Cjoin,hCjoin,hcj⟩ := hcn Λ hΛ hΛ1 hscale |
| 288 | obtain ⟨B,hB,hb⟩ := exists_endpointLog_bound d hΛ hP0 hs hΛ1 hσ hscale N |
| 289 | exact ⟨B,Cjoin,hB,hCjoin,fun q T hT κ hκ w₁ hw₁ w₂ hw₂ n hn η hη => |
| 290 | ⟨hb q T κ w₁ w₂ hκ n hn η hη,hcj q T hT κ hκ w₁ hw₁ w₂ hw₂ n hn η hη⟩⟩ |
| 291 | |
| 292 | /-- These endpoint functions are exactly the physical fields at `X_i = 110`. -/ |
| 293 | theorem endpointU_eq_physical {J' : Set ℝ} (R : StockReference J') |
| 294 | (hR : R.radius0 < 110) (T κ w η : ℝ) : |
| 295 | R.endpointU T κ w η = R.physicalU T κ w (110,η) := by |
| 296 | rw [StockReference.physicalU,ite_eq_right (not_le.mpr hR)] |
| 297 | rfl |
| 298 | |
| 299 | theorem endpointLog_eq_physical {J' : Set ℝ} (R : StockReference J') |
| 300 | (hR : R.radius0 < 110) (T κ w₁ w₂ : ℝ) {C : ℝ} (hC : 0 < C) (η : ℝ) : |
| 301 | R.endpointLog T κ w₁ w₂ C η = |
| 302 | Real.log (C*(Real.sqrt 220*R.physicalF T κ w₁ w₂ (110,η))) := by |
| 303 | rw [StockReference.physicalF,ite_eq_right (not_le.mpr hR)] |
| 304 | rw [Real.log_mul hC.ne' (mul_ne_zero (Real.sqrt_pos.mpr (by norm_num)).ne' (Real.exp_pos _).ne'), |
| 305 | Real.log_mul (Real.sqrt_pos.mpr (by norm_num)).ne' (Real.exp_pos _).ne', |
| 306 | Real.log_exp,Real.log_sqrt (by norm_num)] |
| 307 | simp only [StockReference.endpointLog,StockReference.logPoint,StockReference.logTime, |
| 308 | StockReference.finalTime,add_assoc] |
| 309 | |
| 310 | end NavierStokes.ReferenceEndpointRate |