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.PhysicalResidualNaturality |
| 2 | import NavierStokes.VariableGaugeMean |
| 3 | |
| 4 | /-! |
| 5 | # Coherence of the actual moving-gauge pressure reconstruction |
| 6 | |
| 7 | The hypotheses transport the primitive gauge data and the incoming state on |
| 8 | whole radial/torus fibers. The recomputed pressure and retained cutoff alias |
| 9 | are obtained from their genuine integral definitions. |
| 10 | -/ |
| 11 | |
| 12 | namespace NavierStokes.GaugeStateCoherence |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | open Set Function Filter |
| 17 | open scoped ContDiff Topology |
| 18 | open PhysicalResidualNaturality |
| 19 | |
| 20 | abbrev Plane := PressureStream.Plane |
| 21 | |
| 22 | variable {S T : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] |
| 23 | [NormedAddCommGroup T] [NormedSpace ℝ T] |
| 24 | |
| 25 | /-- The actual invertible map on the universal cover. -/ |
| 26 | noncomputable def chartEquiv (l : ℝ) (hl : l ≠ 0) (P : S ≃L[ℝ] T) (k : ℕ) : |
| 27 | PressureStream.Lift S ≃L[ℝ] PressureStream.Lift T := |
| 28 | (PhysicalResidualNaturality.scalarEquiv ℝ l hl).prodCongr |
| 29 | (P.prodCongr (CommonCoverSolve.coverPower k)) |
| 30 | |
| 31 | @[simp] theorem chartEquiv_apply (l : ℝ) (hl : l ≠ 0) (P : S ≃L[ℝ] T) (k : ℕ) |
| 32 | (z : PressureStream.Lift S) : |
| 33 | chartEquiv l hl P k z = (l * z.1, (P z.2.1, TemporalMeanUpdate.coverMap k z.2.2)) := by |
| 34 | simp only [chartEquiv, ContinuousLinearEquiv.prodCongr_apply, |
| 35 | PhysicalResidualNaturality.scalarEquiv_apply, smul_eq_mul, |
| 36 | MeanChartCompatibility.coverMap_eq_coverPower] |
| 37 | |
| 38 | theorem coverPull_eq (l : ℝ) (hl : l ≠ 0) (P : S ≃L[ℝ] T) (k : ℕ) |
| 39 | (u : ℝ) (f : PressureStream.Lift T → ℝ) (z : PressureStream.Lift S) : |
| 40 | MeanChartCompatibility.coverPull l P.toContinuousLinearMap k u f z = |
| 41 | u * f (chartEquiv l hl P k z) := by |
| 42 | rw [chartEquiv_apply] |
| 43 | rfl |
| 44 | |
| 45 | /-! ## Whole-fiber locality of the actual gauge operators -/ |
| 46 | |
| 47 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] in |
| 48 | theorem pressureSource_fiberLocal (a b : ℝ) (hab : a < b) (ell : S → ℝ) : |
| 49 | PhysicalMeanDomain.FiberLocal (VariableGaugeMean.pressureSource a b hab ell) := by |
| 50 | intro f g s he r Y |
| 51 | unfold VariableGaugeMean.pressureSource |
| 52 | rw [he r Y, show PressureStream.pressureMass f s = PressureStream.pressureMass g s from |
| 53 | PhysicalMeanDomain.liftedPressureMass_fiberLocal f g s he r Y] |
| 54 | |
| 55 | theorem meanPressure_fiberLocal (d a b M : ℝ) (hab : a < b) (ell : S → ℝ) (v : Plane) : |
| 56 | PhysicalMeanDomain.FiberLocal (VariableGaugeMean.meanPressure d a b M hab ell v) := by |
| 57 | intro f g s he r Y |
| 58 | exact VariableGaugeMean.compactPrimitive_fiberLocal d a b M ell v _ _ s |
| 59 | (pressureSource_fiberLocal a b hab ell f g s he) r Y |
| 60 | |
| 61 | theorem meanPressure_congr_profile {d a b d' a' b' : ℝ} {hab : a < b} {hab' : a' < b'} |
| 62 | (hd : d = d') (ha : a = a') (hb : b = b') (M : ℝ) (ell : S → ℝ) |
| 63 | (v : Plane) (f : PressureStream.Lift S → ℝ) : |
| 64 | VariableGaugeMean.meanPressure d a b M hab ell v f = |
| 65 | VariableGaugeMean.meanPressure d' a' b' M hab' ell v f := by |
| 66 | subst d' |
| 67 | subst a' |
| 68 | subst b' |
| 69 | rfl |
| 70 | |
| 71 | /-- The scalar whose negative is the radial component of `pressureAliasState`. -/ |
| 72 | noncomputable def pressureAlias (d a b M : ℝ) (hab : a < b) (ell : S → ℝ) |
| 73 | (v : Plane) (f : PressureStream.Lift S → ℝ) : PressureStream.Lift S → ℝ := |
| 74 | VariableGaugeMean.compactAlias d a b M ell v |
| 75 | (VariableGaugeMean.pressureSource a b hab ell f) |
| 76 | |
| 77 | theorem pressureAlias_fiberLocal (d a b M : ℝ) (hab : a < b) (ell : S → ℝ) (v : Plane) : |
| 78 | PhysicalMeanDomain.FiberLocal (pressureAlias d a b M hab ell v) := by |
| 79 | intro f g s he r Y |
| 80 | exact PhysicalMeanDomain.physicalAlias_fiberLocal d (ell s * a) (ell s * b) M v _ _ s |
| 81 | (pressureSource_fiberLocal a b hab ell f g s he) r Y |
| 82 | |
| 83 | theorem pressureAlias_eq_fixed {a b : ℝ} (hab : a < b) (d M : ℝ) (ell : S → ℝ) |
| 84 | (v : Plane) (f : PressureStream.Lift S → ℝ) (z : PressureStream.Lift S) |
| 85 | (hl : 0 < ell z.2.1) : |
| 86 | pressureAlias d a b M hab ell v f z = |
| 87 | PressureStream.pressureAlias d (ell z.2.1 * a) (ell z.2.1 * b) M |
| 88 | (mul_lt_mul_of_pos_left hab hl) v f z := by |
| 89 | exact PhysicalMeanDomain.physicalAlias_fiberLocal d (ell z.2.1 * a) (ell z.2.1 * b) M v |
| 90 | _ _ z.2.1 (fun r Y => VariableGaugeMean.pressureSource_eq_fixed hab ell f |
| 91 | (r, (z.2.1, Y)) hl) z.1 z.2.2 |
| 92 | |
| 93 | theorem pressureAlias_congr_endpoints {a b a' b' : ℝ} {hab : a < b} {hab' : a' < b'} |
| 94 | (ha : a = a') (hb : b = b') (d M : ℝ) (v : Plane) |
| 95 | (f : PressureStream.Lift S → ℝ) (z : PressureStream.Lift S) : |
| 96 | PressureStream.pressureAlias d a b M hab v f z = |
| 97 | PressureStream.pressureAlias d a' b' M hab' v f z := by |
| 98 | subst a' |
| 99 | subst b' |
| 100 | rfl |
| 101 | |
| 102 | /-! ## Recomputed pressure from transported primitive data -/ |
| 103 | |
| 104 | /-- Only primitive gauge data are compared: profile endpoints, exponent, |
| 105 | length and actual radial transport vector. -/ |
| 106 | structure GaugeOn (V : Set S) (l : ℝ) (P : S →L[ℝ] T) (k : ℕ) |
| 107 | (g : VariableGaugeMean.GaugeData S) (r : VariableGaugeMean.GaugeData T) |
| 108 | (n nr : ℕ) : Prop where |
| 109 | exponent : r.radial.exponent = g.radial.exponent |
| 110 | inner : r.radial.inner = g.radial.inner |
| 111 | outer : r.radial.outer = g.radial.outer |
| 112 | positive : ∀ s ∈ V, 0 < g.length n s |
| 113 | length : ∀ s ∈ V, r.length nr (P s) = l * g.length n s |
| 114 | frequency : g.radial.frequency n • TemporalMeanUpdate.coverMap k g.radial.radialDirection = |
| 115 | (r.radial.frequency nr * l ^ g.radial.exponent) • r.radial.radialDirection |
| 116 | |
| 117 | theorem meanPressure_on {l : ℝ} (hl : 0 < l) (P : S ≃L[ℝ] T) (k : ℕ) |
| 118 | {a b d M N u : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) |
| 119 | (v w : Plane) (hshift : M • TemporalMeanUpdate.coverMap k v = (N * l ^ d) • w) |
| 120 | (ell : S → ℝ) (ell' : T → ℝ) {V : Set S} {U : Set T} (hU : IsOpen U) |
| 121 | (hmap : MapsTo P V U) (hpos : ∀ s ∈ V, 0 < ell s) |
| 122 | (hlen : ∀ s ∈ V, ell' (P s) = l * ell s) |
| 123 | {f : PressureStream.Lift S → ℝ} {fr : PressureStream.Lift T → ℝ} |
| 124 | (he : ScalarOn (PhysicalMeanDomain.slowDomain V) (chartEquiv l hl.ne' P k) u f fr) |
| 125 | (hf : ContDiffOn ℝ ∞ fr (PhysicalMeanDomain.slowDomain U)) |
| 126 | (hp : PhysicalMeanDomain.PeriodicOn U fr) |
| 127 | (hs : VariableGaugeMean.SupportedGauge a b ell' U fr) : |
| 128 | ScalarOn (PhysicalMeanDomain.slowDomain V) (chartEquiv l hl.ne' P k) (u / l) |
| 129 | (VariableGaugeMean.meanPressure d a b M hab ell v f) |
| 130 | (VariableGaugeMean.meanPressure d a b N hab ell' w fr) := by |
| 131 | intro z hz |
| 132 | have hfiber : ∀ r Y, f (r, (z.2.1, Y)) = |
| 133 | MeanChartCompatibility.coverPull l P.toContinuousLinearMap k u fr (r, (z.2.1, Y)) := by |
| 134 | intro r Y |
| 135 | rw [coverPull_eq l hl.ne' P k] |
| 136 | exact he _ hz |
| 137 | rw [meanPressure_fiberLocal d a b M hab ell v _ _ z.2.1 hfiber z.1 z.2.2] |
| 138 | have ht := VariableGaugeMean.meanPressure_coverPull hl ha hab hd P.toContinuousLinearMap |
| 139 | k M N u v w hshift ell ell' hU hf hp hs z (hmap hz) (hpos _ hz) (hlen _ hz) |
| 140 | rw [chartEquiv_apply] |
| 141 | exact ht |
| 142 | |
| 143 | theorem reconstructState_on {l c : ℝ} (hl : 0 < l) (P : S ≃L[ℝ] T) (k : ℕ) |
| 144 | {V : Set S} {U : Set T} (hV : IsOpen V) (hU : IsOpen U) (hmap : MapsTo P V U) |
| 145 | (g : VariableGaugeMean.GaugeData S) (gr : VariableGaugeMean.GaugeData T) |
| 146 | (C : CorrectionState.Context (PressureStream.Lift S)) |
| 147 | (Cr : CorrectionState.Context (PressureStream.Lift T)) |
| 148 | (s : CorrectionState.State (PressureStream.Lift S)) |
| 149 | (r : CorrectionState.State (PressureStream.Lift T)) (n nr : ℕ) |
| 150 | (ha : 0 < g.radial.inner) (hd : 0 < g.radial.exponent) |
| 151 | (hg : GaugeOn V l P.toContinuousLinearMap k g gr n nr) |
| 152 | (H : StateOn (PhysicalMeanDomain.slowDomain V) (chartEquiv l hl.ne' P k) c l s r n nr) |
| 153 | (G : ContextOn (PhysicalMeanDomain.slowDomain V) (chartEquiv l hl.ne' P k) c l C Cr n nr) |
| 154 | (hf : ContDiffOn ℝ ∞ (r.gr Cr nr) (PhysicalMeanDomain.slowDomain U)) |
| 155 | (hp : PhysicalMeanDomain.PeriodicOn U (r.gr Cr nr)) |
| 156 | (hs : VariableGaugeMean.SupportedGauge gr.radial.inner gr.radial.outer (gr.length nr) U (r.gr Cr nr)) : |
| 157 | StateOn (PhysicalMeanDomain.slowDomain V) (chartEquiv l hl.ne' P k) c l |
| 158 | (VariableGaugeMean.reconstructState g C s) (VariableGaugeMean.reconstructState gr Cr r) n nr := by |
| 159 | refine ⟨H.mean, ?_, H.oscillation, H.oscillatoryPressure, H.baseError, H.gaussian, H.aliasError⟩ |
| 160 | have hgr := H.gr G (PhysicalMeanDomain.slowDomain_open hV) hl.ne' |
| 161 | have hsup : VariableGaugeMean.SupportedGauge g.radial.inner g.radial.outer (gr.length nr) U (r.gr Cr nr) := by |
| 162 | simpa only [hg.inner, hg.outer] using hs |
| 163 | have ht := meanPressure_on hl P k ha g.radial.inner_lt_outer hd |
| 164 | g.radial.radialDirection gr.radial.radialDirection hg.frequency (g.length n) (gr.length nr) |
| 165 | hU hmap hg.positive hg.length hgr hf hp hsup |
| 166 | have hfactor : c * c * l / l = c * c := mul_div_cancel_right₀ (c*c) hl.ne' |
| 167 | change ScalarOn _ _ _ (VariableGaugeMean.meanPressure _ _ _ _ _ _ _ _) |
| 168 | (VariableGaugeMean.meanPressure _ _ _ _ _ _ _ _) |
| 169 | rw [meanPressure_congr_profile (hab' := g.radial.inner_lt_outer) hg.exponent hg.inner hg.outer |
| 170 | (gr.radial.frequency nr) (gr.length nr) gr.radial.radialDirection (r.gr Cr nr)] |
| 171 | exact ht.reweight hfactor |
| 172 | |
| 173 | /-! ## The retained pressure alias has the residual units -/ |
| 174 | |
| 175 | theorem fixedPressureAlias_fiberLocal (d a b M : ℝ) (hab : a < b) (v : Plane) : |
| 176 | PhysicalMeanDomain.FiberLocal (S := S) (PressureStream.pressureAlias d a b M hab v) := by |
| 177 | intro f g s he r Y |
| 178 | exact PhysicalMeanDomain.physicalAlias_fiberLocal d a b M v _ _ s |
| 179 | (PhysicalMeanDomain.pressureSource_fiberLocal a b hab f g s he) r Y |
| 180 | |
| 181 | theorem pressureAlias_zero_of_nonpositive {a b d : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) |
| 182 | (M : ℝ) (ell : S → ℝ) (v : Plane) (f : PressureStream.Lift S → ℝ) |
| 183 | (z : PressureStream.Lift S) (hl : 0 < ell z.2.1) (hz : z.1 ≤ 0) : |
| 184 | pressureAlias d a b M hab ell v f z = 0 := by |
| 185 | by_contra hn |
| 186 | have hh := RadialPullback.physicalAlias_supported (mul_pos hl ha) |
| 187 | (mul_lt_mul_of_pos_left hab hl) hd M ((0 : S), v) |
| 188 | (VariableGaugeMean.pressureSource a b hab ell f) hn |
| 189 | exact (not_lt_of_ge (hh.1.trans hz)) (mul_pos hl ha) |
| 190 | |
| 191 | theorem pressureAlias_congr_profile {d a b d' a' b' : ℝ} {hab : a < b} {hab' : a' < b'} |
| 192 | (hd : d = d') (ha : a = a') (hb : b = b') (M : ℝ) (ell : S → ℝ) |
| 193 | (v : Plane) (f : PressureStream.Lift S → ℝ) : |
| 194 | pressureAlias d a b M hab ell v f = pressureAlias d' a' b' M hab' ell v f := by |
| 195 | subst d' |
| 196 | subst a' |
| 197 | subst b' |
| 198 | rfl |
| 199 | |
| 200 | /-- Naturality of the actual variable-gauge alias, including all nonpositive |
| 201 | radii where the cutoff makes both sides vanish. -/ |
| 202 | theorem pressureAlias_coverPull {l a b d : ℝ} (hl : 0 < l) (ha : 0 < a) |
| 203 | (hab : a < b) (hd : 0 < d) (P : S →L[ℝ] T) (k : ℕ) (M N u : ℝ) |
| 204 | (v w : Plane) (hshift : M • TemporalMeanUpdate.coverMap k v = (N * l ^ d) • w) |
| 205 | (ell : S → ℝ) (ell' : T → ℝ) {U : Set T} (hU : IsOpen U) |
| 206 | {f : PressureStream.Lift T → ℝ} (hf : ContDiffOn ℝ ∞ f (PhysicalMeanDomain.slowDomain U)) |
| 207 | (hp : PhysicalMeanDomain.PeriodicOn U f) (hs : VariableGaugeMean.SupportedGauge a b ell' U f) |
| 208 | (z : PressureStream.Lift S) (hz : P z.2.1 ∈ U) (hzl : 0 < ell z.2.1) |
| 209 | (hell : ell' (P z.2.1) = l * ell z.2.1) : |
| 210 | pressureAlias d a b M hab ell v (MeanChartCompatibility.coverPull l P k u f) z = |
| 211 | u * pressureAlias d a b N hab ell' w f |
| 212 | (MeanChartCompatibility.chartLinear l (P.prodMap (TemporalMeanUpdate.coverMap k)) z) := by |
| 213 | have hzl' : 0 < ell' (P z.2.1) := by rw [hell]; exact mul_pos hl hzl |
| 214 | by_cases hr : 0 ≤ z.1 |
| 215 | · let g := PhysicalMeanDomain.freezeSlow (P z.2.1) f |
| 216 | have hg : ContDiff ℝ ∞ g := VariableGaugeMean.freezeSlow_contDiff hU hz hf |
| 217 | have hgp : PressureStream.TorusPeriodicLift g := by |
| 218 | intro r s Y j |
| 219 | exact hp r (P z.2.1) hz Y j |
| 220 | have hgs : RadialAlias.RadiallySupported (l * (ell z.2.1 * a)) (l * (ell z.2.1 * b)) g := by |
| 221 | intro p hne |
| 222 | have h := hs (p.1, (P z.2.1, p.2.2)) hz hne |
| 223 | rw [hell] at h |
| 224 | simp only [mul_assoc] at h |
| 225 | exact h |
| 226 | have he (r : ℝ) (Y : Plane) : g (r, (P z.2.1, Y)) = f (r, (P z.2.1, Y)) := rfl |
| 227 | have hscaleA : l * (ell z.2.1 * a) = ell' (P z.2.1) * a := by rw [hell]; ring |
| 228 | have hscaleB : l * (ell z.2.1 * b) = ell' (P z.2.1) * b := by rw [hell]; ring |
| 229 | have ht := MeanChartCompatibility.pressureAlias_coverPull hl (mul_pos hzl ha) |
| 230 | (mul_lt_mul_of_pos_left hab hzl) hd P k M N u v w hshift hg hgp hgs z hr |
| 231 | have hleft : PressureStream.pressureAlias d (ell z.2.1 * a) (ell z.2.1 * b) M |
| 232 | (mul_lt_mul_of_pos_left hab hzl) v (MeanChartCompatibility.coverPull l P k u g) z = |
| 233 | PressureStream.pressureAlias d (ell z.2.1 * a) (ell z.2.1 * b) M |
| 234 | (mul_lt_mul_of_pos_left hab hzl) v (MeanChartCompatibility.coverPull l P k u f) z := |
| 235 | fixedPressureAlias_fiberLocal d _ _ M _ v |
| 236 | (MeanChartCompatibility.coverPull l P k u g) (MeanChartCompatibility.coverPull l P k u f) |
| 237 | z.2.1 (fun _ _ => rfl) z.1 z.2.2 |
| 238 | rw [pressureAlias_eq_fixed hab d M ell v _ z hzl, |
| 239 | pressureAlias_eq_fixed hab d N ell' w f _ hzl'] |
| 240 | change _ = u * PressureStream.pressureAlias d (l * (ell z.2.1 * a)) |
| 241 | (l * (ell z.2.1 * b)) N _ w g |
| 242 | (MeanChartCompatibility.chartLinear l (P.prodMap (TemporalMeanUpdate.coverMap k)) z) at ht |
| 243 | rw [hleft] at ht |
| 244 | rw [pressureAlias_congr_endpoints (hab' := mul_lt_mul_of_pos_left hab hzl') hscaleA hscaleB] at ht |
| 245 | exact ht.trans (congrArg (fun t : ℝ => u * t) |
| 246 | (fixedPressureAlias_fiberLocal d (ell' (P z.2.1) * a) |
| 247 | (ell' (P z.2.1) * b) N (mul_lt_mul_of_pos_left hab hzl') w g f (P z.2.1) he |
| 248 | (l * z.1) (TemporalMeanUpdate.coverMap k z.2.2))) |
| 249 | · have hzr : z.1 ≤ 0 := (lt_of_not_ge hr).le |
| 250 | rw [pressureAlias_zero_of_nonpositive ha hab hd M ell v _ z hzl hzr, |
| 251 | pressureAlias_zero_of_nonpositive ha hab hd N ell' w f _ hzl' |
| 252 | (mul_nonpos_of_nonneg_of_nonpos hl.le hzr), mul_zero] |
| 253 | |
| 254 | theorem pressureAlias_on {l : ℝ} (hl : 0 < l) (P : S ≃L[ℝ] T) (k : ℕ) |
| 255 | {a b d M N u : ℝ} (ha : 0 < a) (hab : a < b) (hd : 0 < d) |
| 256 | (v w : Plane) (hshift : M • TemporalMeanUpdate.coverMap k v = (N * l ^ d) • w) |
| 257 | (ell : S → ℝ) (ell' : T → ℝ) {V : Set S} {U : Set T} (hU : IsOpen U) |
| 258 | (hmap : MapsTo P V U) (hpos : ∀ s ∈ V, 0 < ell s) |
| 259 | (hlen : ∀ s ∈ V, ell' (P s) = l * ell s) |
| 260 | {f : PressureStream.Lift S → ℝ} {fr : PressureStream.Lift T → ℝ} |
| 261 | (he : ScalarOn (PhysicalMeanDomain.slowDomain V) (chartEquiv l hl.ne' P k) u f fr) |
| 262 | (hf : ContDiffOn ℝ ∞ fr (PhysicalMeanDomain.slowDomain U)) |
| 263 | (hp : PhysicalMeanDomain.PeriodicOn U fr) |
| 264 | (hs : VariableGaugeMean.SupportedGauge a b ell' U fr) : |
| 265 | ScalarOn (PhysicalMeanDomain.slowDomain V) (chartEquiv l hl.ne' P k) u |
| 266 | (pressureAlias d a b M hab ell v f) (pressureAlias d a b N hab ell' w fr) := by |
| 267 | intro z hz |
| 268 | have hfiber : ∀ r Y, f (r, (z.2.1, Y)) = |
| 269 | MeanChartCompatibility.coverPull l P.toContinuousLinearMap k u fr (r, (z.2.1, Y)) := by |
| 270 | intro r Y |
| 271 | rw [coverPull_eq l hl.ne' P k] |
| 272 | exact he _ hz |
| 273 | rw [pressureAlias_fiberLocal d a b M hab ell v _ _ z.2.1 hfiber z.1 z.2.2] |
| 274 | have ht := pressureAlias_coverPull hl ha hab hd P.toContinuousLinearMap |
| 275 | k M N u v w hshift ell ell' hU hf hp hs z (hmap hz) (hpos _ hz) (hlen _ hz) |
| 276 | rw [chartEquiv_apply] |
| 277 | exact ht |
| 278 | |
| 279 | theorem pressureAliasState_on {l c : ℝ} (hl : 0 < l) (P : S ≃L[ℝ] T) (k : ℕ) |
| 280 | {V : Set S} {U : Set T} (hV : IsOpen V) (hU : IsOpen U) (hmap : MapsTo P V U) |
| 281 | (g : VariableGaugeMean.GaugeData S) (gr : VariableGaugeMean.GaugeData T) |
| 282 | (C : CorrectionState.Context (PressureStream.Lift S)) |
| 283 | (Cr : CorrectionState.Context (PressureStream.Lift T)) |
| 284 | (s : CorrectionState.State (PressureStream.Lift S)) |
| 285 | (r : CorrectionState.State (PressureStream.Lift T)) (n nr : ℕ) |
| 286 | (ha : 0 < g.radial.inner) (hd : 0 < g.radial.exponent) |
| 287 | (hg : GaugeOn V l P.toContinuousLinearMap k g gr n nr) |
| 288 | (H : StateOn (PhysicalMeanDomain.slowDomain V) (chartEquiv l hl.ne' P k) c l s r n nr) |
| 289 | (G : ContextOn (PhysicalMeanDomain.slowDomain V) (chartEquiv l hl.ne' P k) c l C Cr n nr) |
| 290 | (hf : ContDiffOn ℝ ∞ (r.gr Cr nr) (PhysicalMeanDomain.slowDomain U)) |
| 291 | (hp : PhysicalMeanDomain.PeriodicOn U (r.gr Cr nr)) |
| 292 | (hs : VariableGaugeMean.SupportedGauge gr.radial.inner gr.radial.outer (gr.length nr) U (r.gr Cr nr)) : |
| 293 | ∀ z ∈ PhysicalMeanDomain.slowDomain V, ∀ theta i, |
| 294 | VariableGaugeMean.pressureAliasState g C s n (z, theta) i = |
| 295 | (c*c*l) * VariableGaugeMean.pressureAliasState gr Cr r nr |
| 296 | (chartEquiv l hl.ne' P k z, theta) i := by |
| 297 | have hgr := H.gr G (PhysicalMeanDomain.slowDomain_open hV) hl.ne' |
| 298 | have hsup : VariableGaugeMean.SupportedGauge g.radial.inner g.radial.outer (gr.length nr) U (r.gr Cr nr) := by |
| 299 | simpa only [hg.inner, hg.outer] using hs |
| 300 | have ht := pressureAlias_on hl P k ha g.radial.inner_lt_outer hd |
| 301 | g.radial.radialDirection gr.radial.radialDirection hg.frequency (g.length n) (gr.length nr) |
| 302 | hU hmap hg.positive hg.length hgr hf hp hsup |
| 303 | have heq := pressureAlias_congr_profile (hab := gr.radial.inner_lt_outer) (hab' := g.radial.inner_lt_outer) |
| 304 | hg.exponent hg.inner hg.outer (gr.radial.frequency nr) (gr.length nr) gr.radial.radialDirection (r.gr Cr nr) |
| 305 | intro z hz theta i |
| 306 | have he := ht z hz |
| 307 | rw [← heq] at he |
| 308 | fin_cases i |
| 309 | · change -pressureAlias _ _ _ _ _ _ _ _ z = (c*c*l) * -pressureAlias _ _ _ _ _ _ _ _ _ |
| 310 | rw [he] |
| 311 | ring |
| 312 | · change (0 : ℝ) = (c*c*l) * 0 |
| 313 | simp |
| 314 | · change (0 : ℝ) = (c*c*l) * 0 |
| 315 | simp |
| 316 | |
| 317 | /-! ## The actual similarity gauge in two bands -/ |
| 318 | |
| 319 | noncomputable def bandScale (n m : ℕ) : ℝ := |
| 320 | (ChartScales.Q n / ChartScales.Q m) ^ (1 / 2 : ℝ) |
| 321 | |
| 322 | theorem bandScale_pos (n m : ℕ) : 0 < bandScale n m := |
| 323 | Real.rpow_pos_of_pos (div_pos (ChartScales.Q_pos n) (ChartScales.Q_pos m)) _ |
| 324 | |
| 325 | noncomputable def bandVelocityScale (h : ℝ) (n m : ℕ) : ℝ := |
| 326 | (ChartScales.Q n / ChartScales.Q m) ^ CoordinateAlgebra.A h |
| 327 | |
| 328 | /-- The slow coordinates are ordered `(T,Z)`, as in the moving mean gauge. -/ |
| 329 | noncomputable def bandSlowEquiv (h : ℝ) (n m : ℕ) : Plane ≃L[ℝ] Plane := |
| 330 | (PhysicalResidualNaturality.scalarEquiv ℝ (ChartScales.Q n / ChartScales.Q m) |
| 331 | (div_pos (ChartScales.Q_pos n) (ChartScales.Q_pos m)).ne').prodCongr |
| 332 | (PhysicalResidualNaturality.scalarEquiv ℝ |
| 333 | ((ChartScales.Q n / ChartScales.Q m) ^ CoordinateAlgebra.D h) |
| 334 | (Real.rpow_pos_of_pos (div_pos (ChartScales.Q_pos n) (ChartScales.Q_pos m)) _).ne') |
| 335 | |
| 336 | @[simp] theorem bandSlowEquiv_apply (h : ℝ) (n m : ℕ) (s : Plane) : |
| 337 | bandSlowEquiv h n m s = |
| 338 | ((ChartScales.Q n / ChartScales.Q m) * s.1, |
| 339 | (ChartScales.Q n / ChartScales.Q m) ^ CoordinateAlgebra.D h * s.2) := rfl |
| 340 | |
| 341 | noncomputable def bandChartEquiv (h : ℝ) (n m k : ℕ) : PressureStream.Lift Plane ≃L[ℝ] PressureStream.Lift Plane := |
| 342 | chartEquiv (bandScale n m) (bandScale_pos n m).ne' (bandSlowEquiv h n m) k |
| 343 | |
| 344 | @[simp] theorem bandChartEquiv_apply (h : ℝ) (n m k : ℕ) (z : PressureStream.Lift Plane) : |
| 345 | bandChartEquiv h n m k z = |
| 346 | (bandScale n m * z.1, (bandSlowEquiv h n m z.2.1, TemporalMeanUpdate.coverMap k z.2.2)) := |
| 347 | chartEquiv_apply _ _ _ _ _ |
| 348 | |
| 349 | theorem qLength_bandSlowEquiv {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 350 | (n m : ℕ) {s : Plane} (hs : 0 < s.1) : |
| 351 | VariableGaugeMean.qLength (2*h) (bandSlowEquiv h n m s) = |
| 352 | bandScale n m * VariableGaugeMean.qLength (2*h) s := by |
| 353 | change Real.sqrt (SimilarityCoordinates.coordinateQ (2*h) |
| 354 | ((ChartScales.Q n / ChartScales.Q m) * s.1, |
| 355 | (ChartScales.Q n / ChartScales.Q m) ^ CoordinateAlgebra.D h * s.2)) = _ |
| 356 | rw [SimilarityHomogeneity.coordinateQ_scale_h hh hh1 |
| 357 | (div_pos (ChartScales.Q_pos n) (ChartScales.Q_pos m)) hs, |
| 358 | Real.sqrt_mul (div_pos (ChartScales.Q_pos n) (ChartScales.Q_pos m)).le] |
| 359 | rw [Real.sqrt_eq_rpow] |
| 360 | rfl |
| 361 | |
| 362 | theorem radialFrequency_band_transport (h d M : ℝ) (n m k i ir : ℕ) (hi : i + k = ir) : |
| 363 | MeanChartCompatibility.radialFrequency h n i d M * ChartScales.Lambda ^ k = |
| 364 | MeanChartCompatibility.radialFrequency h m ir d M * bandScale n m ^ d := by |
| 365 | have hp : bandScale n m ^ d = ChartScales.Q n ^ (d / 2) / ChartScales.Q m ^ (d / 2) := by |
| 366 | unfold bandScale |
| 367 | rw [← Real.rpow_mul (div_pos (ChartScales.Q_pos n) (ChartScales.Q_pos m)).le] |
| 368 | rw [show (1 / 2 : ℝ) * d = d / 2 by ring] |
| 369 | exact Real.div_rpow (ChartScales.Q_pos n).le (ChartScales.Q_pos m).le (d / 2) |
| 370 | rw [MeanChartCompatibility.radialFrequency, MeanChartCompatibility.radialFrequency, hp, ← hi, pow_add] |
| 371 | field_simp [(Real.rpow_pos_of_pos (ChartScales.Q_pos m) (d / 2)).ne'] |
| 372 | |
| 373 | /-- The similarity gauge satisfies all primitive transport laws with the |
| 374 | actual band scales and actual common-index gap. -/ |
| 375 | theorem similarityGaugeOn {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 376 | (d a b M : ℝ) (hab : a < b) (index : ℕ → ℕ) (n m k : ℕ) |
| 377 | (hi : index n + k = index m) {V : Set Plane} (hV : ∀ s ∈ V, 0 < s.1) : |
| 378 | GaugeOn V (bandScale n m) (bandSlowEquiv h n m).toContinuousLinearMap k |
| 379 | (VariableGaugeMean.similarityGauge h d a b M hab index) |
| 380 | (VariableGaugeMean.similarityGauge h d a b M hab index) n m := by |
| 381 | refine ⟨rfl, rfl, rfl, ?_, ?_, ?_⟩ |
| 382 | · intro s hs |
| 383 | exact VariableGaugeMean.qLength_pos (by linarith) (by linarith) (hV s hs) |
| 384 | · intro s hs |
| 385 | exact qLength_bandSlowEquiv hh hh1 n m (hV s hs) |
| 386 | · change MeanChartCompatibility.radialFrequency h n (index n) d M • |
| 387 | TemporalMeanUpdate.coverMap k (TorusInverse.vector .radial) = |
| 388 | (MeanChartCompatibility.radialFrequency h m (index m) d M * bandScale n m ^ d) • |
| 389 | TorusInverse.vector .radial |
| 390 | rw [MeanChartCompatibility.coverMap_radial, smul_smul, |
| 391 | radialFrequency_band_transport h d M n m k (index n) (index m) hi] |
| 392 | |
| 393 | theorem bandScale_eq_ratioPower (n m : ℕ) : |
| 394 | bandScale n m = PhysicalParticularWave.ratioPower (ChartScales.Q n) (ChartScales.Q m) (1/2) := |
| 395 | Real.div_rpow (ChartScales.Q_pos n).le (ChartScales.Q_pos m).le _ |
| 396 | |
| 397 | theorem bandVelocityScale_eq_ratioPower (h : ℝ) (n m : ℕ) : |
| 398 | bandVelocityScale h n m = |
| 399 | PhysicalParticularWave.ratioPower (ChartScales.Q n) (ChartScales.Q m) (CoordinateAlgebra.A h) := |
| 400 | Real.div_rpow (ChartScales.Q_pos n).le (ChartScales.Q_pos m).le _ |
| 401 | |
| 402 | /-! ## Actual support, on the same moving shell -/ |
| 403 | |
| 404 | end |
| 405 | |
| 406 | end NavierStokes.GaugeStateCoherence |