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.ActualParticularBackground |
| 2 | import NavierStokes.ActualCarrierGeometry |
| 3 | |
| 4 | /-! |
| 5 | # Actual particular background on the full retained carrier |
| 6 | |
| 7 | The retained source mask gives the padded native scale interval `(1/4,4)`. |
| 8 | The cells below use its phase carrier and closed clock core without adding |
| 9 | the narrower dyadic mask of the original primary coefficient support. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.ParticularPaddedBackground |
| 15 | |
| 16 | open Set Function Filter WeightedClasses PhaseJetBounds |
| 17 | open LinearWaveBounds LocalizedWaveBounds CorrectionState CorrectionStep |
| 18 | open CorrectionInitialization ActualPrimaryBounds |
| 19 | open scoped Topology ContDiff |
| 20 | |
| 21 | variable {B N0 : ℕ} |
| 22 | |
| 23 | noncomputable def paddedCell (n : ℕ) (i : CopyIndex B N0) : Set ActualPrimary.FullPoint := |
| 24 | {x | near i.1 n ∧ |
| 25 | (fullCopy i.1 n i.2 x).1 ∈ |
| 26 | (PrimaryGeometryAssembly.domain ActualPrimary.nominal (ActualPrimary.choice B N0).prepared.N).carrier i.1.2 ∧ |
| 27 | (fullCopy i.1 n i.2 x).2 ∈ (ActualPrimary.clockWindow i.1.2).core} |
| 28 | |
| 29 | noncomputable def cells (n : ℕ) (i : CopyIndex B N0) : Set ActualParticularBackground.Native := |
| 30 | ActualParticularBackground.nativeToFull ⁻¹' paddedCell n i |
| 31 | |
| 32 | theorem primary_control_subset_padded (n : ℕ) (i : CopyIndex B N0) : |
| 33 | controlCell n i ⊆ paddedCell n i := |
| 34 | fun _ hx => ⟨hx.1, hx.2.1, hx.2.2.1⟩ |
| 35 | |
| 36 | theorem padded_q (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 37 | {n : ℕ} {i : CopyIndex B N0} {x : ActualPrimary.FullPoint} |
| 38 | (hc : x ∈ paddedCell n i) : |
| 39 | SimilarityHomogeneity.chartQ ActualPrimary.h (fullCopy i.1 n i.2 x).1 ∈ |
| 40 | Ioo (1 / 4 : ℝ) 4 := |
| 41 | (ActualCarrierGeometry.cell_geometry hN i.1.2 hc.2.1).2.2.2.2.1 |
| 42 | |
| 43 | theorem padded_maps (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 44 | {n : ℕ} {i : CopyIndex B N0} {x : ActualPrimary.FullPoint} |
| 45 | (hx : x ∈ fullStrip.domain) (hc : x ∈ paddedCell n i) : |
| 46 | ((fullCopy i.1 n i.2 x).1, (fullCopy i.1 n i.2 x).2.2) ∈ |
| 47 | (ActualPhaseDefect.reducedJetDomain ActualPhaseDefect.paddedRegion).carrier i.1 := by |
| 48 | have hr := copyPoint_radial i.1 n i.2 (x := ActualSignedGeometry.meanEquiv.symm x.1) hx |
| 49 | apply ActualPhaseDefect.native_reduced_domain_mem ActualPhaseDefect.paddedRegion i.1.1 i.1.2 hc.2.1 |
| 50 | · apply (BaseContextAssembly.nativeStrip_mem ActualPrimary.nominal ActualPhaseDefect.paddedRegion |
| 51 | (BaseContextAssembly.insertSlow (fullCopy i.1 n i.2 x).1)).mpr |
| 52 | exact ⟨⟨hr.1, padded_q hN hc⟩, hr.2⟩ |
| 53 | · simp only [ActualPrimary.length_sign i.1.1 i.1.2] |
| 54 | exact hc.2.2.2 |
| 55 | |
| 56 | theorem polynomial_on_padded (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 57 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 58 | {f : SignedLabel B N0 → PhaseCalculus.Slow × ℝ → E} |
| 59 | (hf : PolynomialJets (ActualPhaseDefect.reducedJetDomain ActualPhaseDefect.paddedRegion) f) : |
| 60 | LocalUnweighted fullStrip paddedCell 0 |
| 61 | (fun n i x => f i.1 ((fullCopy i.1 n i.2 x).1, (fullCopy i.1 n i.2 x).2.2)) := by |
| 62 | let D := ActualPhaseDefect.reducedJetDomain (B := B) (N0 := N0) ActualPhaseDefect.paddedRegion |
| 63 | refine ⟨fun _ _ _ _ => zero_le_one, ?_, ?_⟩ |
| 64 | · intro n i x hx hc |
| 65 | have hm := padded_maps hN hx hc |
| 66 | rw [slotCopy_affine] at hm |
| 67 | have hh := ((hf.smooth i.1).contDiffAt ((D.isOpen i.1).mem_nhds hm)).comp x |
| 68 | (((slotLinear i.1 n).contDiff.add |
| 69 | (contDiff_const (c := slotOfNative (copyPoint i.1 n i.2 0)))).contDiffAt) |
| 70 | simpa only [← slotCopy_affine, Function.comp_def] using hh |
| 71 | · intro m |
| 72 | obtain ⟨C, hC, p, hb⟩ := hf.bound m |
| 73 | have hcost := copyCost_one |
| 74 | refine ⟨C * 25 ^ p * copyCost ^ m, by positivity, p + m, ?_⟩ |
| 75 | intro n i x hx hc j hj |
| 76 | have hG := fullStrip.one_le_growth n x |
| 77 | have hS := fullStrip.one_le_slow n |
| 78 | have hm := padded_maps hN hx hc |
| 79 | have hscale : D.scale i.1 ≤ 25 * fullStrip.growth n x := by |
| 80 | exact (ActualSignedGeometry.S_window_le hc.1.1 (near_distance hc.1).2).trans |
| 81 | (mul_le_mul_of_nonneg_left |
| 82 | ((le_max_right 1 (ChartScales.S n)).trans (fullStrip.slow_le_growth n x)) (by norm_num)) |
| 83 | have hlin : ‖slotLinear i.1 n‖ ^ j ≤ copyCost ^ m * fullStrip.growth n x ^ m := by |
| 84 | calc |
| 85 | _ ≤ (copyCost * fullStrip.slow n) ^ m := |
| 86 | (pow_le_pow_left₀ (norm_nonneg _) (slotLinear_bound hc.1) j).trans |
| 87 | (pow_le_pow_right₀ (one_le_mul_of_one_le_of_one_le hcost hS) hj) |
| 88 | _ ≤ (copyCost * fullStrip.growth n x) ^ m := by gcongr; exact fullStrip.slow_le_growth n x |
| 89 | _ = _ := mul_pow _ _ _ |
| 90 | have hu := PhaseJetBounds.norm_jet_comp_affine (D.isOpen i.1) (hf.smooth i.1) |
| 91 | (slotLinear i.1 n) (slotOfNative (copyPoint i.1 n i.2 0)) |
| 92 | (by simpa only [← slotCopy_affine] using hm) j |
| 93 | simp only [← slotCopy_affine] at hu |
| 94 | calc |
| 95 | _ ≤ ‖iteratedFDeriv ℝ j (f i.1) ((fullCopy i.1 n i.2 x).1, (fullCopy i.1 n i.2 x).2.2)‖ * |
| 96 | ‖slotLinear i.1 n‖ ^ j := hu |
| 97 | _ ≤ (C * (25 * fullStrip.growth n x) ^ p) * (copyCost ^ m * fullStrip.growth n x ^ m) := by |
| 98 | have hfb := (hb i.1 j hj _ hm).trans (mul_le_mul_of_nonneg_left |
| 99 | (pow_le_pow_left₀ (zero_le_one.trans (D.one_le_scale i.1)) hscale p) (zero_le_one.trans hC)) |
| 100 | exact mul_le_mul hfb hlin (pow_nonneg (norm_nonneg _) _) ((norm_nonneg _).trans hfb) |
| 101 | _ = majorant fullStrip (fun _ _ => 1) 0 (C * 25 ^ p * copyCost ^ m) (p + m) n x := by |
| 102 | rw [majorant, mul_pow, pow_add, Real.rpow_zero] |
| 103 | ring |
| 104 | |
| 105 | /-! ## The actual normal and material defect on the larger cells -/ |
| 106 | |
| 107 | theorem padded_normal_germ {i : CopyIndex B N0} {n : ℕ} {x : ActualPrimary.FullPoint} |
| 108 | (hx : x ∈ fullStrip.domain) (hc : x ∈ paddedCell n i) : |
| 109 | chartNormal i.1 n =ᶠ[𝓝 x] fun y => normalScale i.1 n • |
| 110 | (jointPhase (B := B) (N0 := N0)).normal i.1 |
| 111 | ((fullCopy i.1 n i.2 y).1, (fullCopy i.1 n i.2 y).2.2) := by |
| 112 | let P := ActualPrimary.phases B N0 i.1.1 |
| 113 | let l := spatialLabel i.1 |
| 114 | let gap := ChartScales.nativeIndex ActualPrimary.h (BaseChartJets.cellBand i.1.2) - CommonWindow.index ActualPrimary.h n |
| 115 | have hp : ActualSignedGeometry.slowChange ActualPrimary.h (ChartScales.Q n) |
| 116 | (ChartScales.Q (BaseChartJets.cellBand i.1.2)) |
| 117 | ((PhysicalResidualTZ.swapCylinder x).1.1, (PhysicalResidualTZ.swapCylinder x).1.2.1) ∈ |
| 118 | (PrimaryGeometryAssembly.domain ActualPrimary.nominal (ActualPrimary.choice B N0).prepared.N).carrier i.1.2 := hc.2.1 |
| 119 | have hcore : (ActualSignedGeometry.slotGeometry ActualPrimary.slots ActualSignedGeometry.vectors_det l 0).coordinates i.2 |
| 120 | (CommonCoverSolve.coverPower gap (PhysicalResidualTZ.swapCylinder x).1.2.2) ∈ |
| 121 | (ActualSignedGeometry.clockWindow ActualPrimary.slots l.1).core := by |
| 122 | erw [ActualSignedGeometry.slot_coordinates_from_zero] |
| 123 | have hl : l.1 = BaseChartJets.cellBand i.1.2 := rfl |
| 124 | have hg : gap = ChartScales.nativeIndex ActualPrimary.h (spatialLabel i.1).1 - CommonWindow.index ActualPrimary.h n := rfl |
| 125 | have hY : (PhysicalResidualTZ.swapCylinder x).1.2.2 = (ActualSignedGeometry.meanEquiv.symm x.1).2 := rfl |
| 126 | rw [hg, hY, ← fullCopy_slot] |
| 127 | rw [hl, ← clock_eq i.1] |
| 128 | exact hc.2.2 |
| 129 | have hxR : 0 < x.1.1 := BaseContextAssembly.nativeStrip_radius ActualPrimary.nominal region hx |
| 130 | have hphys := ActualSignedGeometry.phase_normal_view_germ ActualPrimary.slots |
| 131 | ActualPrimary.outgoing.data.h_pos.le (label_large i.1) (CommonWindow.index ActualPrimary.h n) gap |
| 132 | (ChartScales.Q_pos n) (ChartScales.Q_pos (BaseChartJets.cellBand i.1.2)) |
| 133 | (ChartScales.carrier ActualPrimary.h n) (ChartScales.carrier ActualPrimary.h (BaseChartJets.cellBand i.1.2)) |
| 134 | (P.phase.p i.1.2) (P.phase.pz i.1.2) (P.phase.x0 i.1.2) (P.phase.F i.1.2) (P.phase.G i.1.2) |
| 135 | ((PrimaryGeometryAssembly.domain ActualPrimary.nominal (ActualPrimary.choice B N0).prepared.N).isOpen i.1.2) |
| 136 | (P.baseF.smooth i.1.2) (P.baseG.smooth i.1.2) i.2 (P.phase.theta i.1.2) |
| 137 | (x := PhysicalResidualTZ.swapCylinder x) |
| 138 | hxR hp hcore |
| 139 | have hfull := hphys.comp_tendsto PhysicalResidualTZ.swapCylinder.continuous.continuousAt |
| 140 | filter_upwards [hfull] with y hy |
| 141 | rw [chartNormal, fullStrip, context_normal_swap (ActualPrimary.commonContext B) strip |
| 142 | (ActualPrimary.chartCoefficients i.1.1 i.1.2) n |
| 143 | (PhysicalResidualBridge.commonGraph (ChartScales.Q n) ActualPrimary.h (CommonWindow.index ActualPrimary.h n)) |
| 144 | (CommonBaseContext.context_matches_physical ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B _ n) |
| 145 | rfl rfl |
| 146 | (ActualSignedGeometry.preparedViewPhase ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.slots |
| 147 | (ActualPrimary.choice B N0).prepared i.1.1 i.1.2 n (CommonWindow.index ActualPrimary.h n)) |
| 148 | (funext (ActualPrimary.chartCoefficients_phase_view i.1.1 i.1.2 n (CommonWindow.index_le hc.1.2)))] |
| 149 | apply hy.trans |
| 150 | change normalScale i.1 n • _ = normalScale i.1 n • _ |
| 151 | apply congrArg (fun z => normalScale i.1 n • z) |
| 152 | change PhaseCalculus.phaseNormal _ _ _ _ _ _ _ = PhaseCalculus.phaseNormal _ _ _ _ _ _ _ |
| 153 | erw [ActualSignedGeometry.slot_coordinates_from_zero] |
| 154 | rfl |
| 155 | |
| 156 | |
| 157 | theorem padded_normalScale_local : LocalUnweighted fullStrip (paddedCell (B := B) (N0 := N0)) 0 |
| 158 | (fun n i (_ : ActualPrimary.FullPoint) => normalScale i.1 n) := by |
| 159 | apply local_constant normalUpper_pos.le |
| 160 | intro n i x _ hx |
| 161 | have h := normalScale_bounds hx.1 |
| 162 | rw [abs_of_pos (normalLower_pos.trans_le h.1)] |
| 163 | exact h.2 |
| 164 | |
| 165 | theorem padded_normal_local (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) : |
| 166 | LocalUnweighted fullStrip (paddedCell (B := B) (N0 := N0)) 0 |
| 167 | (fun n i => chartNormal i.1 n) := by |
| 168 | have hn := LocalizedWaveBounds.unweighted_smul |
| 169 | (padded_normalScale_local (B := B) (N0 := N0)) |
| 170 | (polynomial_on_padded hN native_normal_polynomial) |
| 171 | have hn' : LocalUnweighted fullStrip (paddedCell (B := B) (N0 := N0)) 0 |
| 172 | (fun n i x => normalScale i.1 n • (jointPhase (B := B) (N0 := N0)).normal i.1 |
| 173 | ((fullCopy i.1 n i.2 x).1, (fullCopy i.1 n i.2 x).2.2)) := by |
| 174 | simpa only [zero_add] using hn |
| 175 | exact hn'.congr_germ (fun _ _ _ hx hc => (padded_normal_germ hx hc).symm) |
| 176 | |
| 177 | theorem padded_normal_range {i : CopyIndex B N0} {n : ℕ} {x : ActualPrimary.FullPoint} |
| 178 | (hx : x ∈ fullStrip.domain) (hc : x ∈ paddedCell n i) : |
| 179 | normalFloor B N0 ≤ ‖chartNormal i.1 n x‖ ∧ |
| 180 | ‖chartNormal i.1 n x‖ ≤ normalCeiling B N0 := by |
| 181 | let P := ActualPrimary.phases B N0 i.1.1 |
| 182 | have ht : (fullCopy i.1 n i.2 x).2.2 ∈ P.V i.1.2 := |
| 183 | P.interval i.1.2 (by erw [ActualPrimary.length_sign i.1.1 i.1.2]; exact hc.2.2.2) |
| 184 | have hdom : ((fullCopy i.1 n i.2 x).1, (fullCopy i.1 n i.2 x).2.2) ∈ |
| 185 | ((PrimaryGeometryAssembly.domain ActualPrimary.nominal (ActualPrimary.choice B N0).prepared.N).slot P.V P.openV).carrier i.1.2 := |
| 186 | ⟨hc.2.1, ht⟩ |
| 187 | have hlow := P.normal_range.1 i.1.2 _ hdom |
| 188 | have hupp := P.normal_range.2 i.1.2 _ hdom |
| 189 | have hscale := normalScale_bounds hc.1 |
| 190 | rw [(padded_normal_germ hx hc).eq_of_nhds, norm_smul, Real.norm_eq_abs, |
| 191 | abs_of_pos (normalLower_pos.trans_le hscale.1)] |
| 192 | have hj : i.1.1 = 0 ∨ i.1.1 = 1 := by omega |
| 193 | have hb : min (ActualPrimary.phases B N0 0).b (ActualPrimary.phases B N0 1).b ≤ P.b := by |
| 194 | rcases hj with h | h <;> simp only [P, h] |
| 195 | · exact min_le_left _ _ |
| 196 | · exact min_le_right _ _ |
| 197 | have hM : P.M ^ 2 + 3 * P.M ≤ |
| 198 | max ((ActualPrimary.phases B N0 0).M ^ 2 + 3 * (ActualPrimary.phases B N0 0).M) |
| 199 | ((ActualPrimary.phases B N0 1).M ^ 2 + 3 * (ActualPrimary.phases B N0 1).M) := by |
| 200 | rcases hj with h | h <;> simp only [P, h] |
| 201 | · exact le_max_left _ _ |
| 202 | · exact le_max_right _ _ |
| 203 | exact ⟨mul_le_mul hscale.1 (hb.trans hlow) |
| 204 | (le_min (ActualPrimary.phases B N0 0).b_pos.le (ActualPrimary.phases B N0 1).b_pos.le) |
| 205 | (normalLower_pos.trans_le hscale.1).le, |
| 206 | mul_le_mul hscale.2 (hupp.trans hM) (norm_nonneg _) normalUpper_pos.le⟩ |
| 207 | |
| 208 | |
| 209 | theorem padded_defect_local (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) : LocalizedWaveBounds.LocalUnweighted fullStrip (paddedCell (B := B) (N0 := N0)) 1 |
| 210 | (fun n i => ActualPhaseDefect.defect i.1.1 i.1.2 n) := by |
| 211 | have hweight : LocalizedWaveBounds.LocalUnweighted fullStrip (paddedCell (B := B) (N0 := N0)) 0 |
| 212 | (fun n i (_ : ActualPrimary.FullPoint) => ActualPhaseDefect.materialWeight i.1.2 n) := by |
| 213 | apply local_constant (show 0 ≤ ActualPhaseDefect.materialWeightBound by |
| 214 | have h0 := ActualSignedGeometry.powerBound_one (ActualPrimary.h / 2 + 1 / 2) |
| 215 | have h1 := ActualSignedGeometry.powerBound_one (CoordinateAlgebra.A ActualPrimary.h - ActualPrimary.h) |
| 216 | unfold ActualPhaseDefect.materialWeightBound |
| 217 | positivity) |
| 218 | intro n i x _ hc |
| 219 | obtain ⟨hp, hu⟩ := ActualPhaseDefect.active_materialWeight_bound i.1.2 n hc.1.2 |
| 220 | simpa only [abs_of_pos hp] using hu |
| 221 | have hr := polynomial_on_padded hN (ActualPhaseDefect.native_reduced_polynomial |
| 222 | (B := B) (N0 := N0) ActualPhaseDefect.paddedRegion) |
| 223 | have hm := (LocalizedWaveBounds.unweighted_mul hweight hr).band_smul (LinearWaveBounds.band_epsilon fullStrip) |
| 224 | have hm' : LocalizedWaveBounds.LocalUnweighted fullStrip (paddedCell (B := B) (N0 := N0)) 1 |
| 225 | (fun n i x => ChartScales.epsilon ActualPrimary.h n * ActualPhaseDefect.materialWeight i.1.2 n * |
| 226 | ActualPhaseDefect.reducedExpression i.1.1 i.1.2 n i.2 x) := by |
| 227 | simp only [zero_add, smul_eq_mul, mul_assoc, ActualPhaseDefect.reducedExpression_eq_native] at hm ⊢ |
| 228 | exact hm |
| 229 | apply hm'.congr_germ |
| 230 | intro n i x hx hc |
| 231 | apply Filter.EventuallyEq.symm |
| 232 | apply ActualPhaseDefect.active_copy_defect_germ i.1.1 i.1.2 n hc.1.2 i.2 hx hc.2.1 |
| 233 | rw [← clock_eq i.1] |
| 234 | exact hc.2.2 |
| 235 | |
| 236 | |
| 237 | /-! ## Zero input slots and the unchanged native carrier -/ |
| 238 | |
| 239 | theorem full_background_inputs (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 240 | (j : ℤ) (W : ℕ → CopyIndex B N0 → ActualPrimary.FullPoint → ℝ) |
| 241 | (hW : ∀ n i x, x ∈ fullStrip.domain → 0 ≤ W n i x) : |
| 242 | InputBounds fullStrip paddedCell W 0 ChartScales.kappa (directions B) |
| 243 | (ActualParticularBackground.zeroRescale (j : ℝ) (actualFamily (B := B) (N0 := N0))) := by |
| 244 | have ho := CommonBaseContext.context_operator_bounds ActualPrimary.certificate ActualPrimary.modulation |
| 245 | ActualPrimary.upper B region (CommonWindow.index_le_native ActualPrimary.h) |
| 246 | refine { |
| 247 | loss_nonneg := by norm_num [ChartScales.kappa] |
| 248 | radial_profile := LocalClass.of_global (HarmonicWaveInteraction.class_lift ho.radialProfile) |
| 249 | radial_scale := ho.radialFrequency |
| 250 | fast_scale := ho.fastCoefficient |
| 251 | frequency_scale := LocalizedWaveBounds.constant_real_mul (LocalClass.band_const carrier_band) (j : ℝ) |
| 252 | radius := LocalClass.of_global radius_unweighted |
| 253 | inverse_radius := LocalClass.of_global (HarmonicWaveInteraction.class_lift ho.invRadius) |
| 254 | radial_base := LocalClass.of_global (HarmonicWaveInteraction.class_lift |
| 255 | (BaseContextAssembly.radialBase_unweighted ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B region)) |
| 256 | frequency_base := LocalClass.of_global (HarmonicWaveInteraction.class_lift |
| 257 | (BaseContextAssembly.frequencyBase_unweighted ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B region)) |
| 258 | axial_base := LocalClass.of_global (HarmonicWaveInteraction.class_lift |
| 259 | (BaseContextAssembly.axialBase_unweighted ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B region)) |
| 260 | radial_base_aux := ?_ |
| 261 | frequency_base_aux := ?_ |
| 262 | axial_base_aux := ?_ |
| 263 | normal := ?_ |
| 264 | defect := ?_ |
| 265 | amplitude := fun _ => LocalClass.zero (fun n i x hx => mul_nonneg (Real.sqrt_nonneg _) (hW n i x hx)) |
| 266 | pressure := LocalClass.zero (fun n i x hx => mul_nonneg (Real.sqrt_nonneg _) (hW n i x hx)) } |
| 267 | · intro n i x _ _ |
| 268 | exact Filter.Eventually.of_forall (slow_field_auxiliary B |
| 269 | (BaseContextAssembly.radialSlow ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B n)) |
| 270 | · intro n i x _ _ |
| 271 | exact Filter.Eventually.of_forall (slow_field_auxiliary B |
| 272 | (BaseContextAssembly.frequencySlow ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B n)) |
| 273 | · intro n i x _ _ |
| 274 | exact Filter.Eventually.of_forall (slow_field_auxiliary B |
| 275 | (BaseContextAssembly.axialSlow ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper B n)) |
| 276 | · rw [ActualParticularBackground.zeroRescale_normal, actualFamily_normal_eq] |
| 277 | exact padded_normal_local hN |
| 278 | · rw [ActualParticularBackground.zeroRescale_defect, actualFamily_defect_eq] |
| 279 | exact padded_defect_local hN |
| 280 | |
| 281 | /-- The literal `actualCarrier`, now controlled on every retained padded |
| 282 | cell. No dyadic mask or additional support hypothesis is imposed. -/ |
| 283 | theorem actual_background_inputs (hN : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 284 | (b : SignedLabel B N0 → HarmonicBlock CyclePoint) |
| 285 | (hb : ∀ l, SameCarrier (b l) (ActualParticularBackground.primaryBlock l)) |
| 286 | (j : ℤ) (W : ℕ → CopyIndex B N0 → ActualParticularBackground.Native → ℝ) |
| 287 | (hW : ∀ n i x, x ∈ ActualParticularBackground.nativeStrip.domain → 0 ≤ W n i x) : |
| 288 | InputBounds ActualParticularBackground.nativeStrip cells W 0 ChartScales.kappa |
| 289 | (ActualParticularBackground.directions B) (ActualParticularBackground.backgroundFamily b j) := by |
| 290 | rw [ActualParticularBackground.backgroundFamily_eq b hb j] |
| 291 | let Wfull : ℕ → CopyIndex B N0 → ActualPrimary.FullPoint → ℝ := |
| 292 | fun n i x => W n i (ActualParticularBackground.nativeToFull.symm x) |
| 293 | have hWfull : ∀ n i x, x ∈ fullStrip.domain → 0 ≤ Wfull n i x := by |
| 294 | intro n i x hx |
| 295 | apply hW |
| 296 | change ActualParticularBackground.nativeToFull (ActualParticularBackground.nativeToFull.symm x) ∈ |
| 297 | fullStrip.domain |
| 298 | simpa only [ActualParticularBackground.nativeToFull.apply_symm_apply] using hx |
| 299 | have hh := ActualParticularBackground.inputBounds_reindex ActualParticularBackground.nativeToFull |
| 300 | (full_background_inputs hN j Wfull hWfull) |
| 301 | simp only [Wfull, ActualParticularBackground.nativeToFull.symm_apply_apply] at hh |
| 302 | exact hh |
| 303 | |
| 304 | theorem background_normal_range |
| 305 | (b : SignedLabel B N0 → HarmonicBlock CyclePoint) |
| 306 | (hb : ∀ l, SameCarrier (b l) (ActualParticularBackground.primaryBlock l)) (j : ℤ) |
| 307 | {n : ℕ} {i : CopyIndex B N0} {x : ActualParticularBackground.Native} |
| 308 | (hx : x ∈ ActualParticularBackground.nativeStrip.domain) (hi : x ∈ cells n i) : |
| 309 | normalFloor B N0 ≤ ‖(ActualParticularBackground.backgroundFamily b j).normal |
| 310 | ActualParticularBackground.nativeStrip (ActualParticularBackground.directions B) n i x‖ ∧ |
| 311 | ‖(ActualParticularBackground.backgroundFamily b j).normal ActualParticularBackground.nativeStrip |
| 312 | (ActualParticularBackground.directions B) n i x‖ ≤ normalCeiling B N0 := by |
| 313 | rw [ActualParticularBackground.background_normal b hb j] |
| 314 | exact padded_normal_range hx hi |
| 315 | |
| 316 | theorem background_inverse_frequency |
| 317 | (b : SignedLabel B N0 → HarmonicBlock CyclePoint) |
| 318 | (hb : ∀ l, SameCarrier (b l) (ActualParticularBackground.primaryBlock l)) (j : ℤ) : |
| 319 | LocalUnweighted ActualParticularBackground.nativeStrip (cells (B := B) (N0 := N0)) (1 / 2 : ℝ) |
| 320 | (fun n i (_ : ActualParticularBackground.Native) => |
| 321 | 1 / (ActualParticularBackground.backgroundFamily b j).frequency n i) := by |
| 322 | have hh : LocalUnweighted ActualParticularBackground.nativeStrip (cells (B := B) (N0 := N0)) (1 / 2 : ℝ) |
| 323 | (fun n _ (_ : ActualParticularBackground.Native) => |
| 324 | 1 / (ChartScales.carrier ActualPrimary.h n : ℝ)) := |
| 325 | LocalClass.band_const inverse_carrier_band |
| 326 | apply (LocalizedWaveBounds.constant_real_mul hh ((j : ℝ)⁻¹)).congr |
| 327 | intro n i x |
| 328 | change (j : ℝ)⁻¹ * (1 / (ChartScales.carrier ActualPrimary.h n : ℝ)) = |
| 329 | 1 / (ActualParticularBackground.carrier b j i.1).frequency n |
| 330 | rw [ActualParticularBackground.carrier_frequency b hb j] |
| 331 | simp only [one_div, mul_inv_rev] |
| 332 | ring |
| 333 | |
| 334 | end NavierStokes.ParticularPaddedBackground |