{"files":472,"lines":131412,"directories":2,"declarations":6250,"theorems":5038,"maxDepth":13,"shards":3,"scan":{"sorry":{"count":0,"files":[]},"admit":{"count":0,"files":[]},"axiom":{"count":0,"files":[]},"native_decide":{"count":0,"files":[]},"implemented_by":{"count":0,"files":[]},"extern":{"count":0,"files":[]},"debug":{"count":0,"files":[]}},"top":{"TorusEuler/InductiveLaterActivationJetBounds.lean":{"text":"import TorusEuler.ActivationPrimaryJetBounds\nimport TorusEuler.InductiveLaterWaveSelection\nimport TorusEuler.HierarchyInductiveTransverseBudget\n\n/-! The weighted activation estimate for the selected later inductive input. -/\n\nopen Set\n\nnamespace TorusEuler.InductiveEulerTip.SelectedLaterInput\n\nopen LocalizedAmplitude HierarchyTwistedProfile\n\nnoncomputable section\n\nset_option maxHeartbeats 1100000 in\n/-- The selected later wave supplies the scheduled residual's primary\ntwo-jet bound with a uniform radius threshold and coefficient. -/\ntheorem exists_activationPrimary_phaseJetBound :\n    ∃ (A : ℕ) (C : ℝ), 30 ≤ A ∧ 0 ≤ C ∧\n      ∀ {P : InductiveEulerParameters} {n : ℕ} {p : InductiveEulerTip P n}\n        {Cenv : ℝ} {a : ℕ} (d : p.SelectedLaterInput Cenv a), A ≤ a →\n      ∀ t ∈ Icc p.nextActivation (P.slab (n + 2) p.nextActivation),\n        let D := P.frequency (n + 1) ^ 9\n        let freq := P.frequency (n + 2)\n        let γ := freq ^ (3 / 4 : ℝ) * ‖d.selection.crossing.amplitude t‖\n        PhaseJetBound 2 (γ * (C * D ^ (a + 27) * freq ^ (-5 / 4 : ℝ)))\n          (scaledPhaseProfile d.radius d.width\n            (PhysicalApproximationData.activationPrimary (h := d.width) d.seed d.parent.geometry.inverse t)) := by\n  obtain ⟨W, hW, hJet⟩ := InductiveEulerStage.exists_velocity_jet_bounds\n  obtain ⟨A, C, hA, hC, hPrimary⟩ :=\n    PhysicalApproximationData.exists_parent_activationPrimary_phaseJetBound W hW\n  refine ⟨A, C, hA, hC, ?_⟩\n  intro P n p Cenv a d ha t ht D freq γ\n  let T := P.slab (n + 2) p.nextActivation\n  have hParentTwo : 2 ≤ P.frequency (n + 1) :=\n    (by norm_num : (2 : ℝ) ≤ 4).trans d.parent_frequency_ge_four\n  have hParentOne : 1 ≤ P.frequency (n + 1) := one_le_two.trans hParentTwo\n  have hFreq : 1 ≤ freq := by\n    change 1 ≤ P.frequency (n + 1 + 1)\n    rw [P.frequency_step (n + 1)]\n    exact one_le_pow₀ hParentOne\n  have hFreqPos : 0 < freq := zero_lt_one.trans_le hFreq\n  have hD : 2 ≤ D := hParentTwo.trans (by\n    dsimp only [D]\n    simpa only [pow_one] using pow_le_pow_right₀ hParentOne (show 1 ≤ (9 : ℕ) by decide))\n  have hD₁ : 1 ≤ D := one_le_two.trans hD\n  have hD₀ : 0 < D := zero_lt_one.trans_le hD₁\n  have hRadius : d.radius ≤ (D ^ A)⁻¹ :=\n    inv_anti₀ (pow_pos hD₀ _) (pow_le_pow_right₀ hD₁ ha)\n  have hRadiusInv : d.radius⁻¹ ≤ D ^ a := by\n    change ((D ^ a)⁻¹)⁻¹ ≤ D ^ a\n    rw [inv_inv]\n  have hStart : p.nextActivation ∈ Icc 0 T :=\n    ⟨d.regularity.nonneg_start, d.regularity.start_lt_end.le⟩\n  have hStart' : p.nextActivation ∈ Icc p.nextActivation T :=\n    ⟨le_rfl, d.regularity.start_lt_end.le⟩\n  have hLaunch : ‖labelWaveVector p.parent.flow 0 0 d.carrier p.nextActivation‖ = freq := by\n    rw [d.carrier_transport hStart']\n    exact (d.selection.crossing.launch_geometry hFreqPos).2.1\n  have hc := d.parent.centerWaveOn_labelWaveVector hStart (show d.carrier = _ from rfl)\n    d.selection.center\n  exact hPrimary (g := d.parent.geometry) d.time_le_one hD hRadius hRadiusInv hFreq hLaunch\n    d.parent.deformationOn.flow d.parent.smooth_velocity (fun u _ => p.parent.periodic_velocity u)\n    (fun _ hu x => (d.parent.raw_coframe_norm_le_frequency_nine hParentTwo hu x).1)\n    (fun _ hu x => (d.parent.raw_coframe_norm_le_frequency_nine hParentTwo hu x).2)\n    (fun i j hj hji u hu x => hJet p.parent hParentOne i j hj hji u (d.parent.subset hu) x)\n    hc d.seed d.regularity t ht\n\nend\nend TorusEuler.InductiveEulerTip.SelectedLaterInput\n"},"TorusEuler/InductiveUniformStageEstimates.lean":{"text":"import TorusEuler.InductiveScheduledConstruction\nimport TorusEuler.InductiveMeasuredStageReadout\nimport TorusEuler.InductiveProfileBounds\nimport TorusEuler.InductiveStagePressureBounds\nimport TorusEuler.InductiveStageResidualBounds\nimport TorusEuler.FirstWavePrimaryPressureBound\n\n/-! The same quantitative estimates and cutoff used at every selected stage. -/\n\nopen Set\nopen scoped InnerProductSpace\n\nnamespace TorusEuler\n\nopen HierarchyTwistedProfile InductiveEulerParameters InductiveEulerStage\nopen HierarchyTwistedProfile.PhysicalApproximationData\n\nnoncomputable section\n\n/-- The remaining wave-specific estimates have fixed costs and parent\npowers before the common stage schedule is chosen. -/\nstructure LaterPrimaryCosts where\n  radiusFloor : ℕ\n  pressureCost : ℝ\n  pressurePower : ℕ → ℕ\n  activationCost : ℝ\n  pressure_nonneg : 0 ≤ pressureCost\n  activation_nonneg : 0 ≤ activationCost\n  pressure : ∀ {P : InductiveEulerParameters} {n : ℕ} {tip : InductiveEulerTip P n}\n    {Cenv : ℝ} {a : ℕ} (d : tip.SelectedLaterInput Cenv a), radiusFloor ≤ a →\n    ∀ t ∈ Icc 0 (P.slab (n + 2) tip.nextActivation), ∀ x v : Vec3,\n      ⟪v, fderiv ℝ (gradient (d.approximation.leadingPressure t)) x v⟫_ℝ ≤\n        (pressureCost * (P.frequency (n + 1) ^ (9 : ℕ)) ^ (pressurePower a) *\n          P.frequency (n + 2) ^ (-1 / 4 : ℝ)) * ‖v‖ ^ 2\n  activation : ∀ {P : InductiveEulerParameters} {n : ℕ} {tip : InductiveEulerTip P n}\n    {Cenv : ℝ} {a : ℕ} (d : tip.SelectedLaterInput Cenv a), radiusFloor ≤ a →\n    ∀ t ∈ Icc tip.nextActivation (P.slab (n + 2) tip.nextActivation), PhaseJetBound 2\n      (d.centerWeight t * (activationCost * (P.frequency (n + 1) ^ (9 : ℕ)) ^ (a + 27) *\n        P.frequency (n + 2) ^ (-5 / 4 : ℝ)))\n      (scaledPhaseProfile d.radius d.width (activationPrimary (h := d.width) d.seed d.parent.geometry.inverse t))\n\nset_option maxHeartbeats 5500000 in\n/-- Choose the shared costs from the analytic estimates, and use the exact\nfirst and later leading inputs to produce the two physical constructors. -/\ntheorem uniformPhysicalEstimates_of_laterPrimaryCosts (primary : LaterPrimaryCosts) : UniformPhysicalEstimates Unit := by\n  intro strength Cenv aMin hStrength _\n  obtain ⟨Nswitch, hNswitch, hSwitch⟩ := InductiveEulerTip.SelectedLaterInput.exists_centerWeight_switch_bound\n    strength hStrength\n  obtain ⟨seedFirst, hSeedFirst, hFirst⟩ := InductiveFirstWaveSelection.exists_leadingSeedCost\n  obtain ⟨Aseed, seedLater, _, _, hLater⟩ := InductiveEulerTip.SelectedLaterInput.exists_leadingSeedCost\n  obtain ⟨Cfirst, hCfirst, hFirstPressure⟩ := InductiveFirstWaveSelection.exists_leading_pressure_hessian_bound\n  obtain ⟨aRec, bRec, haRec, _, hProfileSelect⟩ := OnSlab.exists_inductiveProfileBounds\n  let a := max aRec (max aMin (max Aseed primary.radiusFloor))\n  let r := 2 * a + bRec\n  let eLead := max (2 * a) (primary.pressurePower a)\n  let eRes := scheduledResidualParentExponent a (a + 27)\n  let eVel := max a 1 + 1 + 6 * r\n  let ePressure := stagePressureExponent a r eLead\n  let power := max eVel (max eRes ePressure)\n  let seedCost m := max (seedFirst m) (seedLater m)\n  have hSeedCost m : 0 ≤ seedCost m := (hSeedFirst m).trans (le_max_left _ _)\n  have haA : aRec ≤ a := le_max_left _ _\n  have haMin : aMin ≤ a := (le_max_left _ _).trans (le_max_right _ _)\n  have haSeed : Aseed ≤ a := (le_max_left _ _).trans ((le_max_right _ _).trans (le_max_right _ _))\n  have haPrimary : primary.radiusFloor ≤ a := (le_max_right _ _).trans\n    ((le_max_right _ _).trans (le_max_right _ _))\n  have ha₇ : 7 ≤ a := (by decide : 7 ≤ 30).trans (haRec.trans haA)\n  obtain ⟨K, hK, _, hProfile⟩ := hProfileSelect seedCost hSeedCost\n  have hK₀ (m : ℕ) : 0 ≤ K m := zero_le_one.trans (hK m)\n  obtain ⟨coefficient, hCoefficient, hCaps⟩ := exists_stageCoefficientCaps\n  obtain ⟨bernstein, _, hBernsteinBounds⟩ := exists_velocity_bernstein_bounds_through_depth\n  obtain ⟨Kgeom, Kparent, hKgeom, hKparent, hPressureCaps⟩ := exists_stagePressureGeometryCaps\n  obtain ⟨Ccutoff, Kcutoff, hCcutoff, hKcutoff, hCutoff⟩ := exists_inductiveCutoffBudget\n  let Clead := max Cfirst primary.pressureCost\n  have hClead : 0 ≤ Clead := hCfirst.trans (le_max_left _ _)\n  let Clevel depth := scheduledVelocityLevelConstant K depth\n  have hLevel₀ (depth : ℕ) : 0 ≤ Clevel depth :=\n    zero_le_one.trans (hierarchyLevelConstant_one_le (hK₀ _) depth)\n  let velCost depth := scheduledVelocityStepCost coefficient K depth\n  let jetCost depth := 1 + 40 * profileFlowJetConstant coefficient depth (Clevel depth)\n  let resCost depth := scheduledResidualStepCost coefficient K primary.activationCost depth\n  let presCost depth := stagePressureCost depth Kgeom Kparent (Clevel depth) Clead\n  let cost : StepCosts Unit :=\n    { analytic := fun _ _ depth => scheduledVelocityParentCost bernstein depth\n      cutoffTail := Kcutoff\n      step := fun depth => velCost depth + jetCost depth + resCost depth + presCost depth\n      mean := scheduledVelocityMeanCost coefficient K }\n  have hVelNonneg depth : 0 ≤ velCost depth :=\n    (scheduledVelocityCosts_nonneg hCoefficient hK₀ depth).1\n  have hJetOne depth : 1 ≤ jetCost depth := by\n    have hb := one_le_profileFlowJetConstant coefficient hCoefficient depth (hLevel₀ depth)\n    dsimp [jetCost]\n    linarith only [hb]\n  have hResNonneg depth : 0 ≤ resCost depth := scheduledResidualStepCost_nonneg hK₀ primary.activation_nonneg depth\n  have hPresNonneg depth : 0 ≤ presCost depth :=\n    stagePressureCost_nonneg depth (zero_le_one.trans hKgeom) hKparent (hLevel₀ depth) hClead\n  have hMajorizes depth : 1 ≤ cost.step depth ∧ velCost depth ≤ cost.step depth ∧\n      jetCost depth ≤ cost.step depth ∧ resCost depth ≤ cost.step depth ∧ presCost depth ≤ cost.step depth := by\n    dsimp only [cost]\n    have hv := hVelNonneg depth\n    have hj := hJetOne depth\n    have hr := hResNonneg depth\n    have hp := hPresNonneg depth\n    exact ⟨by linarith, by linarith, by linarith, by linarith, by linarith⟩\n  have common {P : InductiveEulerParameters} {i : ℕ} {oldActivation activation : ℝ}\n      {parent : InductiveEulerStage P i oldActivation} {k : Vec3} {hT : 0 < P.slab (i + 1) activation}\n      {d : parent.OnSlab hT k} {b : PhysicalApproximationData d.geometry parent.pressure (P.stepDepth i)}\n      (s : SelectedPhysicalStageSeed d b a seedCost) (properties : PhysicalApproximationProperties b)\n      (hBase : 1 ≤ P.frequency 0)\n      (num : P.StepNumericalBudget i a (profileFlowJetPower r) r power Ccutoff cost)\n      (hLead : ∀ t ∈ Icc 0 (P.slab (i + 1) activation), ∀ x v : Vec3,\n        ⟪v, fderiv ℝ (gradient (b.leadingPressure t)) x v⟫_ℝ ≤\n          (Clead * (P.frequency i ^ (9 : ℕ)) ^ eLead * P.frequency (i + 1) ^ (-1 / 4 : ℝ)) * ‖v‖ ^ 2)\n      (hResidual : ∀\n        (caps : StageCoefficientCaps d a (P.frequency i ^ (9 : ℕ))\n          (((P.frequency i ^ (9 : ℕ)) ^ a)⁻¹) (P.frequency (i + 1) ^ (-1 / 2 : ℝ))\n          (P.frequency (i + 1)) coefficient),\n        unweightedSeminorm False (((P.frequency i ^ (9 : ℕ)) ^ a)⁻¹)\n          (P.frequency (i + 1) ^ (-1 / 2 : ℝ)) 2 hT (b.operators.remainder b.profiles (P.stepDepth i)) ≤\n          scheduledResidualTailCost K (P.stepDepth i) *\n            P.frequency (i + 1) ^ hierarchyOscExponent (P.stepDepth i + 1) →\n        ∀ t ∈ Icc 0 (P.slab (i + 1) activation),\n          spatialHolderHalfNorm 1 (b.residual t) ≤ P.frequency (i + 2) ^ (-7 / 2 : ℝ)) :\n      ∃ stage : ScheduledPhysicalStage parent b properties a, stage.symbol = dyadicMultiplierCutoff := by\n    let depth := P.stepDepth i\n    have hμ := one_le_two.trans num.parent_ge_two\n    have hf := one_le_two.trans num.child_ge_two\n    have hDepth : 2 ≤ depth := (le_max_left _ _).trans num.order_le_depth\n    have hOrder : 3 ≤ depth + 1 := by omega\n    have ht : activation ∈ Icc 0 (P.slab (i + 1) activation) := ⟨s.activation_nonneg, s.activation_lt.le⟩\n    have cap := hCaps d b.time_le_one hμ (zero_lt_one.trans_le hf) ht s.label_covector_norm a ha₇\n    have capP := hPressureCaps d b.time_le_one hμ (zero_lt_one.trans_le hf) ht s.label_covector_norm a ha₇\n    obtain ⟨_, hLevelsRaw, hTailRaw⟩ := hProfile d hBase num.parent_ge_two a haA (depth + 1) hDepth\n      b s.relay s.activation_nonneg s.activation_lt s.covector_norm s.carrier_eq s.center_wave\n      s.leading_inactive s.weight_continuous s.weight_pos s.weight_le_one\n      (fun j _ => s.seed_le j) num.recurrence_small\n    have hLevels : ∀ m ≤ depth + 1, ∀ j ∈ Finset.Icc 1 depth,\n        HierarchyLevelBound (s.measured (zero_le_two.trans num.child_ge_two))\n          (P.frequency (i + 1)) ((P.frequency i ^ (9 : ℕ)) ^ r) (Clevel depth) m j := by\n      simpa only [max_eq_left hOrder, Clevel, scheduledVelocityLevelConstant] using hLevelsRaw\n    have hTailEq := scheduledResidualTailCost_eq_of_profileBounds K hDepth\n    rw [hTailEq] at hTailRaw\n    have hPress := potential_hessian_upper_of_actualStageLevels d b properties\n      (by omega : 1 ≤ depth) capP hμ hf (hLevel₀ depth) hClead (isClosed_tsupport _)\n      s.leading_inactive s.activation_nonneg s.activation_lt.le s.gamma s.weight_continuous\n      s.weight_pos s.weight_le_one (fun m hm j hj =>\n        hLevels m ((Finset.mem_Icc.mp hm).2.trans (by omega))\n          j (Finset.mem_Icc.mpr ⟨(by decide : 1 ≤ 2).trans (Finset.mem_Icc.mp hj).1, (Finset.mem_Icc.mp hj).2⟩))\n      hLead ((le_max_right eRes ePressure).trans ((le_max_right eVel _).trans num.absolute_exponent))\n      (hMajorizes depth).2.2.2.2\n    have hCut := hCutoff b properties hDepth (one_le_pow₀ hf : 1 ≤ P.frequency (i + 1) ^ (5 : ℕ))\n    exact s.exists_scheduledPhysicalStage_of_levels properties num hCoefficient hK cap\n      (hBernsteinBounds parent hμ depth) ()\n      (le_abs_self _) (hMajorizes depth).2.1 le_rfl (le_max_left _ _) (hMajorizes depth).2.2.1\n      hLevels (hKcutoff _) hCcutoff hCut (hResidual cap hTailRaw)\n      (fun t ht x v => by rw [← b.potential_eq properties ht]; exact hPress t ht x v)\n  refine ⟨a, profileFlowJetPower r, r, power, Ccutoff, Nswitch, cost, haMin,\n    fun depth => (hMajorizes depth).1, ?_, ?_⟩\n  · intro P hN _ num d\n    have hBase := hNswitch.le.trans hN\n    have hD : 1 ≤ P.frequency 0 ^ (9 : ℕ) := one_le_pow₀ hBase\n    let s : SelectedPhysicalStageSeed (activation := 0) d.onSlab d.approximation a seedCost :=\n      { center := d.origin.amplitude\n        covector := d.origin.covector\n        activation_nonneg := le_rfl\n        activation_lt := d.time_pos\n        covector_norm := d.launch_covector_length\n        carrier_eq := d.carrier_eq_at_activation\n        carrier_le := by\n          rw [d.launch_covector_norm]\n          exact le_mul_of_one_le_left d.frequency_pos.le hD\n        center_wave := d.centerWaveOn\n        weight_continuous := d.gamma_continuous\n        weight_pos := d.gamma_pos\n        weight_le_one := d.gamma_le_one\n        leading_inactive := d.leading_inactive\n        relay := d.leadingRelayData\n        seed_le := fun m => (hFirst d m).trans (mul_le_mul_of_nonneg_right\n          (mul_le_mul_of_nonneg_right (le_max_left _ _) (by positivity))\n          (Real.rpow_nonneg d.frequency_pos.le _)) }\n    refine common s d.properties hBase num ?_ ?_\n    · intro t ht x v\n      refine (hFirstPressure P a d t ht x v).trans ?_\n      have hPower := pow_le_pow_right₀ hD (le_max_left (2 * a) (primary.pressurePower a))\n      exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right\n        (mul_le_mul (le_max_left Cfirst primary.pressureCost) hPower (by positivity) hClead)\n        (Real.rpow_nonneg d.frequency_pos.le _)) (sq_nonneg _)\n    · intro caps hTail t ht\n      exact (OnSlab.residual_of_scheduledZeroSwitch d.onSlab d.approximation num caps\n        hCoefficient hK₀ primary.activation_nonneg (hMajorizes _).2.2.2.1\n        ((le_max_left eRes ePressure).trans (le_max_right eVel _))\n        hTail d.leadingSwitch_eq_zero d.completionSwitch_eq_zero t ht).2\n  · intro P n hLife tip _ hN hStrengthP num d\n    have hBase := hNswitch.le.trans hN\n    have hD : 1 ≤ P.frequency (n + 1) ^ (9 : ℕ) := one_le_two.trans d.parent_scale_ge_two\n    have hf : 0 ≤ P.frequency (n + 2) := zero_le_one.trans d.child_frequency_ge_one\n    let s : SelectedPhysicalStageSeed d.parent d.approximation a seedCost :=\n      { center := d.selection.crossing.amplitude\n        covector := d.selection.crossing.waveVector\n        activation_nonneg := tip.next_activation_nonnegative\n        activation_lt := d.regularity.start_lt_end\n        covector_norm := d.launch_covector_norm\n        carrier_eq := d.carrier_eq_launch_pullback\n        carrier_le := d.carrier_bound\n        center_wave := d.centerWaveOn\n        weight_continuous := d.centerWeight_continuous\n        weight_pos := d.centerWeight_pos\n        weight_le_one := d.centerWeight_le_one\n        leading_inactive := d.leading_inactive\n        relay := d.leadingRelayData\n        seed_le := fun m => (hLater d haSeed m).trans (mul_le_mul_of_nonneg_right\n          (mul_le_mul_of_nonneg_right (le_max_right _ _) (by positivity)) (Real.rpow_nonneg hf _)) }\n    refine common s d.properties hBase num ?_ ?_\n    · intro t ht x v\n      refine (primary.pressure d haPrimary t ht x v).trans ?_\n      have hPower := pow_le_pow_right₀ hD (le_max_right (2 * a) (primary.pressurePower a))\n      exact mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right\n        (mul_le_mul (le_max_right Cfirst primary.pressureCost) hPower (by positivity) hClead)\n        (Real.rpow_nonneg hf _)) (sq_nonneg _)\n    · intro caps hTail t ht\n      exact (OnSlab.residual_of_scheduledLaterSwitch d.parent d.approximation num caps\n        hCoefficient hK₀ primary.activation_nonneg (hMajorizes _).2.2.2.1\n        ((le_max_left eRes ePressure).trans (le_max_right eVel _)) hTail\n        d.seed d.regularity d.seed_even rfl (primary.activation d haPrimary)\n        (fun u _ => hSwitch d hN hStrengthP u) t ht).2\n\nend\n\n/-- The selected first and later estimates prove the main theorem on the basic schedule. -/\ntheorem theorem11_of_laterPrimaryCosts (primary : LaterPrimaryCosts) : Theorem11 :=\n  theorem11_of_uniformPhysicalEstimates (uniformPhysicalEstimates_of_laterPrimaryCosts primary)\n\nend TorusEuler\n"},"TorusEuler/LaterWavePrimaryPressureBound.lean":{"text":"import TorusEuler.HierarchyPhysicalPressureBounds\nimport TorusEuler.InductiveLaterStageAssembly\nimport TorusEuler.ParentSeedJetBudgets\n\n/-! The leading pressure Hessian for the actual selected later wave. -/\n\nopen Set\nopen scoped ContDiff InnerProductSpace\n\nnamespace TorusEuler.InductiveEulerTip.SelectedLaterInput\n\nnoncomputable section\n\nopen HierarchyTwistedProfile LocalizedAmplitude\n\nprivate theorem laterPrimaryPressure_constant_le {D b ℓ B₀ P₀ : ℝ} (a : ℕ)\n    (hD : 1 ≤ D) (hb : 1 ≤ b) (hℓ : 1 ≤ ℓ) (hB₀ : 0 ≤ B₀) (hP₀ : 0 ≤ P₀) :\n    let B := (ℓ * D ^ 8) * (b * D)\n    let Q := 2 * (4 * (P₀ * D ^ 7) * (B₀ * D ^ 13)) * (max 1 (D ^ a * B)) ^ 2\n    let Cb := ℓ * b\n    let Cq := 2 * (4 * P₀ * B₀) * Cb ^ 2\n    (2 * B ^ 3 + (3 * B ^ 4 + B ^ 2) * Q) ≤\n      (2 * Cb ^ 3 + (3 * Cb ^ 4 + Cb ^ 2) * Cq) * D ^ (2 * a + 74) := by\n  dsimp only\n  let Cb := ℓ * b\n  let Cq := 2 * (4 * P₀ * B₀) * Cb ^ 2\n  have hCb : 1 ≤ Cb := one_le_mul_of_one_le_of_one_le hℓ hb\n  have hCb₀ : 0 ≤ Cb := zero_le_one.trans hCb\n  have hCq : 0 ≤ Cq := by dsimp only [Cq]; positivity\n  have hD₀ : 0 ≤ D := zero_le_one.trans hD\n  have hB : (ℓ * D ^ 8) * (b * D) = Cb * D ^ 9 := by dsimp only [Cb]; ring\n  have hJ : 1 ≤ D ^ a * (Cb * D ^ 9) :=\n    one_le_mul_of_one_le_of_one_le (one_le_pow₀ hD)\n      (one_le_mul_of_one_le_of_one_le hCb (one_le_pow₀ hD))\n  rw [hB, max_eq_right hJ]\n  let E := 2 * a + 38\n  have hQ : 2 * (4 * (P₀ * D ^ 7) * (B₀ * D ^ 13)) * (D ^ a * (Cb * D ^ 9)) ^ 2 =\n      Cq * D ^ E := by\n    rw [mul_pow, mul_pow, ← pow_mul D a 2, ← pow_mul D 9 2]\n    dsimp only [Cq, E]\n    rw [pow_add D (2 * a), Nat.mul_comm 2 a]\n    ring\n  rw [hQ]\n  have hE : E + 36 = 2 * a + 74 := rfl\n  have hHead : 2 * Cb ^ 3 * D ^ 27 ≤ 2 * Cb ^ 3 * D ^ (E + 36) :=\n    mul_le_mul_of_nonneg_left (pow_le_pow_right₀ hD (by omega)) (by positivity)\n  have hGeom : 3 * Cb ^ 4 * D ^ 36 + Cb ^ 2 * D ^ 18 ≤\n      (3 * Cb ^ 4 + Cb ^ 2) * D ^ 36 := by\n    rw [add_mul]\n    have hPow : D ^ 18 ≤ D ^ 36 := pow_le_pow_right₀ hD (by decide : (18 : ℕ) ≤ 36)\n    exact add_le_add le_rfl (mul_le_mul_of_nonneg_left hPow (sq_nonneg Cb))\n  calc\n    _ = 2 * Cb ^ 3 * D ^ 27 + (3 * Cb ^ 4 * D ^ 36 + Cb ^ 2 * D ^ 18) * (Cq * D ^ E) := by ring\n    _ ≤ 2 * Cb ^ 3 * D ^ (E + 36) +\n        ((3 * Cb ^ 4 + Cb ^ 2) * D ^ 36) * (Cq * D ^ E) :=\n      add_le_add hHead (mul_le_mul_of_nonneg_right hGeom (by positivity))\n    _ = (2 * Cb ^ 3 + (3 * Cb ^ 4 + Cb ^ 2) * Cq) * D ^ (E + 36) := by\n      rw [pow_add D E 36]\n      ring\n    _ = _ := by rw [hE]\n\nset_option maxHeartbeats 2500000 in\n/-- The leading pressure Hessian of Lemma 5.9 for any physical\nparent geometry with Bernstein-scale velocity jets. -/\ntheorem _root_.TorusEuler.exists_parent_leading_pressure_hessian_bound\n    (W : ℕ → ℝ) (hW : ∀ j, 0 ≤ W j) :\n    ∃ (A : ℕ) (C : ℝ), 30 ≤ A ∧ 0 ≤ C ∧\n      ∀ {U : Velocity} {X : ℝ → Velocity} {T t₀ D ell Cseed freq rate : ℝ}\n        {a : ℕ} {k : Vec3} {center : ℝ → Vec3},\n        0 < T → T ≤ 1 → 2 ≤ D → 1 ≤ freq → A ≤ a → ell⁻¹ = D ^ a →\n        ‖labelWaveVector X 0 0 k t₀‖ = freq → ‖k‖ ≤ D * freq →\n        IsLabelFlowOn U X (Icc 0 T) →\n        ContDiffOn ℝ ∞ (Function.uncurry U) (Icc 0 T ×ˢ (univ : Set Vec3)) →\n        (∀ t ∈ Icc 0 T, SpatiallyPeriodic (U t)) →\n        (∀ t ∈ Icc 0 T, ∀ x, ‖fderiv ℝ (X 0 t) x‖ ≤ D) →\n        (∀ t ∈ Icc 0 T, ∀ x, ‖fderiv ℝ (X t 0) (X 0 t x)‖ ≤ D) →\n        (∀ n j : ℕ, 1 ≤ j → j ≤ n → ∀ t ∈ Icc 0 T, ∀ x,\n          ‖iteratedFDeriv ℝ j (U t) x‖ ≤ W n * D ^ j) →\n        (∀ t ∈ Icc t₀ T, ‖center t‖ ≤ freq ^ (-3 / 4 : ℝ)) →\n        let M (t : ℝ) (x : Vec3) := fderiv ℝ (U t) (X 0 t x)\n        let κ (t : ℝ) (x : Vec3) := labelWaveVector X 0 x k t\n        CenterWaveOn (fun t => M t 0) (fun t => κ t 0) center t₀ T D →\n        ∀ (seed : SeedOn M κ center t₀ T ell D Cseed)\n          (reg : seed.HierarchyRegularity rate (freq ^ (-1 / 2 : ℝ))),\n        ∀ t ∈ Icc 0 T, ∀ x v : Vec3,\n          ⟪v, fderiv ℝ (gradient (graphRead (fun u => X u 0) (seed.twistedPressure reg k) t)) x v⟫_ℝ ≤\n            (C * D ^ (2 * a + 74) * freq ^ (-1 / 4 : ℝ)) * ‖v‖ ^ 2 := by\n  obtain ⟨A, hA, hSeed⟩ := exists_parent_seed_leadingAndSlowJetBounds W hW\n  obtain ⟨_, Cseed, Cpressure, _, hCseed, hCpressure, hSlow⟩ := hSeed 2\n  obtain ⟨Gjet, hGjet, hParent⟩ := exists_parent_coefficientJetBounds W hW\n  let b := 1 + W 1\n  let l := 1 + Gjet 1\n  let Cb := l * b\n  let Cq := 2 * (4 * Cpressure * Cseed) * Cb ^ 2\n  let C := 2 * Cb ^ 3 + (3 * Cb ^ 4 + Cb ^ 2) * Cq\n  have hb : 1 ≤ b := le_add_of_nonneg_right (hW 1)\n  have hl : 1 ≤ l := le_add_of_nonneg_right (hGjet 1)\n  have hCs : 0 ≤ Cseed := zero_le_one.trans hCseed\n  have hCp : 0 ≤ Cpressure := zero_le_one.trans hCpressure\n  refine ⟨A, C, hA, by dsimp only [C, Cq, Cb]; positivity, ?_⟩\n  intro U X T t₀ D ell Cinput freq rate a k center hT hTime hD₂ hfreq ha hRadius\n    hLaunch hCarrier hX hU hper hF hG hVel hCap M κ hCenter seed reg t ht x v\n  let B := b * D\n  let L := l * D ^ 8\n  have hD : 1 ≤ D := one_le_two.trans hD₂\n  have hD₀ : 0 ≤ D := zero_le_one.trans hD\n  have hB : 1 ≤ B := one_le_mul_of_one_le_of_one_le hb hD\n  have hL : 1 ≤ L := one_le_mul_of_one_le_of_one_le hl (one_le_pow₀ hD)\n  have hDB : D ≤ B := le_mul_of_one_le_left hD₀ hb\n  have hM (y : Vec3) : ‖fderiv ℝ (U t) y‖ ≤ B := by\n    have hj := hVel 1 1 le_rfl le_rfl t ht y\n    rw [norm_iteratedFDeriv_one, pow_one] at hj\n    exact hj.trans (mul_le_mul_of_nonneg_right (le_add_of_nonneg_left zero_le_one) hD₀)\n  have hG₁ (y : Vec3) : ‖fderiv ℝ (fun z => fderiv ℝ (X t 0) (X 0 t z)) y‖ ≤ L := by\n    have hj := (hParent hT hTime hD hX hU hper hF hG hVel k\n      (zero_lt_one.trans_le hfreq) ⟨reg.nonneg_start, reg.start_lt_end.le⟩ hLaunch 1 t ht y).2.1\n    rw [norm_iteratedFDeriv_one] at hj\n    exact hj.trans (mul_le_mul_of_nonneg_right (le_add_of_nonneg_left zero_le_one) (by positivity))\n  have hCar : ‖k‖ ≤ B * freq := hCarrier.trans\n    (mul_le_mul_of_nonneg_right hDB (zero_le_one.trans hfreq))\n  have hEll : ell ≤ (D ^ A)⁻¹ := by\n    rw [← inv_inv ell, hRadius]\n    exact inv_anti₀ (pow_pos (zero_lt_one.trans_le hD) _) (pow_le_pow_right₀ hD ha)\n  have hRows (ha : t₀ ≤ t) := hSlow (k := k) reg.nonneg_start reg.start_lt_end hTime hD₂\n    reg.envelope_pos hEll hfreq hLaunch hX hU hper hF hG hVel hCenter seed\n    (χ := (1 : ℝ)) (by norm_num) t ⟨ha, ht.2⟩\n  have hAmp (ha : t₀ ≤ t) :\n      PhaseJetBound 2 ((Cseed * D ^ 13) * ‖center t‖)\n        (fun y => radialEnvelope ell (ell • y) • seed.amplitude t (ell • y)) :=\n    (hRows ha).2.1\n  have hP (ha : t₀ ≤ t) :\n      let F (y : Vec3) := hierarchyRelayPressureAmplitudeCoefficient (M t (ell • y))\n        (freq⁻¹ • κ t (ell • y))\n      ContDiff ℝ ∞ F ∧ PhaseJetBound 2 (Cpressure * D ^ 7) F := (hRows ha).2.2\n  have hbud := SeedOn.primaryPressureBudget_of_parent_seedJets (seed := seed) reg\n    hX hU hper ht hfreq hB hL (by positivity : 0 ≤ Cseed * D ^ 13)\n    (by positivity : 0 ≤ Cpressure * D ^ 7) rfl (fun ha => hCap t ⟨ha, ht.2⟩)\n    hCar hM (fun y => (hG t ht y).trans hDB) hG₁ hAmp hP\n  have hBound := SeedOn.twistedPressure_parentGraph_hessian_upper (seed := seed) reg\n    hX hU hper ht hbud x v\n  have hConstant :\n      2 * (L * B) ^ 3 + (3 * (L * B) ^ 4 + (L * B) ^ 2) *\n        (2 * (4 * (Cpressure * D ^ 7) * (Cseed * D ^ 13)) * (max 1 (ell⁻¹ * (L * B))) ^ 2) ≤\n      C * D ^ (2 * a + 74) := by\n    rw [hRadius]\n    exact laterPrimaryPressure_constant_le a hD hb hl hCs hCp\n  exact hBound.trans (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hConstant (by positivity)) (sq_nonneg _))\n\n/-- The actual selected leading pressure has the same uniform one-sided\nbound on the scheduled later slabs. -/\ntheorem exists_leading_pressure_hessian_bound :\n    ∃ (A : ℕ) (C : ℝ), 30 ≤ A ∧ 0 ≤ C ∧\n      ∀ {P : InductiveEulerParameters} {n : ℕ} {tip : InductiveEulerTip P n}\n        {Cenv : ℝ} {a : ℕ} (d : tip.SelectedLaterInput Cenv a), A ≤ a →\n        ∀ t ∈ Icc 0 (P.slab (n + 2) tip.nextActivation), ∀ x v : Vec3,\n        ⟪v, fderiv ℝ (gradient (d.approximation.leadingPressure t)) x v⟫_ℝ ≤\n          (C * (P.frequency (n + 1) ^ 9) ^ (2 * a + 74) * P.frequency (n + 2) ^ (-1 / 4 : ℝ)) * ‖v‖ ^ 2 := by\n  obtain ⟨W, hW, hVelocity⟩ := InductiveEulerStage.exists_velocity_jet_bounds\n  obtain ⟨A, C, hA, hC, hBound⟩ := exists_parent_leading_pressure_hessian_bound W hW\n  refine ⟨A, C, hA, hC, ?_⟩\n  intro P n tip Cenv a d ha t ht x v\n  let D := P.frequency (n + 1) ^ (9 : ℕ)\n  let T := P.slab (n + 2) tip.nextActivation\n  let U := tip.parent.velocity\n  let X := tip.parent.flow\n  have hParentOne : 1 ≤ P.frequency (n + 1) := one_le_two.trans d.parent_frequency_ge_two\n  have hF (u : ℝ) (hu : u ∈ Icc 0 T) (y : Vec3) : ‖fderiv ℝ (X 0 u) y‖ ≤ D :=\n    ((d.parent.deformationOn.bounds u hu).2.1 y).2.trans d.parent_frequency_le_scale\n  have hG (u : ℝ) (hu : u ∈ Icc 0 T) (y : Vec3) : ‖fderiv ℝ (X u 0) (X 0 u y)‖ ≤ D :=\n    ((d.parent.deformationOn.bounds u hu).2.2 (X 0 u y)).2.trans d.parent_frequency_le_scale\n  have hVel (m j : ℕ) (hj : 1 ≤ j) (hm : j ≤ m) (u : ℝ) (hu : u ∈ Icc 0 T) (y : Vec3) :\n      ‖iteratedFDeriv ℝ j (U u) y‖ ≤ W m * D ^ j :=\n    hVelocity tip.parent hParentOne m j hj hm u (d.parent.subset hu) y\n  have hCap (u : ℝ) (hu : u ∈ Icc tip.nextActivation T) :\n      ‖d.selection.crossing.amplitude u‖ ≤ P.frequency (n + 2) ^ (-3 / 4 : ℝ) := by\n    simpa only [neg_div] using d.center_amplitude_le_peak u hu\n  change ⟪v, fderiv ℝ (gradient (graphRead (fun u => X u 0) (d.seed.twistedPressure d.regularity d.carrier) t)) x v⟫_ℝ ≤ _\n  exact hBound d.time_pos d.time_le_one d.parent_scale_ge_two d.child_frequency_ge_one\n    ha d.radius_inv d.label_launch_covector_norm d.carrier_bound d.parent.deformationOn.flow\n    d.parent.smooth_velocity (fun u _ => tip.parent.periodic_velocity u)\n    hF hG hVel hCap d.centerWaveOn_labels d.seed d.regularity t ht x v\n\nend\nend TorusEuler.InductiveEulerTip.SelectedLaterInput\n"},"TorusEuler/Statement.lean":{"text":"import Mathlib.Analysis.Calculus.ContDiff.Comp\nimport Mathlib.Analysis.Calculus.Deriv.Basic\nimport Mathlib.Analysis.Calculus.Gradient.Basic\nimport Mathlib.Analysis.InnerProductSpace.PiL2\nimport Mathlib.MeasureTheory.Function.LpSeminorm.Defs\nimport Mathlib.MeasureTheory.Integral.Bochner.Set\nimport Mathlib.MeasureTheory.Measure.Haar.InnerProductSpace\nimport Mathlib.Topology.UniformSpace.UniformConvergence\n\nopen Filter MeasureTheory Set\nopen scoped ContDiff ENNReal Topology\n\nnamespace TorusEuler\n\nabbrev Vec3 := EuclideanSpace ℝ (Fin 3)\nabbrev Velocity := ℝ → Vec3 → Vec3\nabbrev Pressure := ℝ → Vec3 → ℝ\n\ndef latticeVector (n : Fin 3 → ℤ) : Vec3 :=\n  WithLp.toLp 2 (fun i => (n i : ℝ))\n\n/-- Period-one functions in the three spatial coordinates descend to the flat torus. -/\ndef SpatiallyPeriodic {α : Type*} (f : Vec3 → α) : Prop :=\n  ∀ (n : Fin 3 → ℤ) (x : Vec3), f (x + latticeVector n) = f x\n\ndef centeredCell : Set Vec3 :=\n  {x | ∀ i, x i ∈ Icc (-(1 / 2 : ℝ)) (1 / 2)}\n\ndef offOrigin : Set Vec3 :=\n  (range latticeVector)ᶜ\n\nnoncomputable def torusLInf {F : Type*} [NormedAddCommGroup F] (f : Vec3 → F) : ℝ≥0∞ :=\n  eLpNormEssSup f (volume.restrict centeredCell)\n\nnoncomputable def divergence (v : Vec3 → Vec3) (x : Vec3) : ℝ :=\n  ∑ i : Fin 3, (fderiv ℝ v x (EuclideanSpace.single i 1)) i\n\nnoncomputable def curlOfDerivative (D : Vec3 →L[ℝ] Vec3) : Vec3 :=\n  let D₀ := D (EuclideanSpace.single 0 1)\n  let D₁ := D (EuclideanSpace.single 1 1)\n  let D₂ := D (EuclideanSpace.single 2 1)\n  WithLp.toLp 2 ![D₁ 2 - D₂ 1, D₂ 0 - D₀ 2, D₀ 1 - D₁ 0]\n\nnoncomputable def curl (v : Vec3 → Vec3) (x : Vec3) : Vec3 :=\n  curlOfDerivative (fderiv ℝ v x)\n\nnoncomputable def timeDerivative (T : ℝ) (u : Velocity) (t : ℝ) (x : Vec3) : Vec3 :=\n  derivWithin (fun r => u r x) (Ico 0 T) t\n\n/-- Smooth Euler flow on the half-open time slab, with mean-zero pressure.\n    Derivatives in time at zero are taken from within the slab. -/\nstructure IsEulerSolution (T : ℝ) (u : Velocity) (p : Pressure) : Prop where\n  time_pos : 0 < T\n  smooth_velocity : ContDiffOn ℝ ∞ (Function.uncurry u) (Ico 0 T ×ˢ (univ : Set Vec3))\n  smooth_pressure : ContDiffOn ℝ ∞ (Function.uncurry p) (Ico 0 T ×ˢ (univ : Set Vec3))\n  periodic_velocity : ∀ t ∈ Ico 0 T, SpatiallyPeriodic (u t)\n  periodic_pressure : ∀ t ∈ Ico 0 T, SpatiallyPeriodic (p t)\n  mean_zero_pressure : ∀ t ∈ Ico 0 T, (∫ x in centeredCell, p t x) = 0\n  momentum : ∀ t ∈ Ico 0 T, ∀ x,\n    timeDerivative T u t x + fderiv ℝ (u t) x (u t x) + gradient (p t) x = 0\n  incompressible : ∀ t ∈ Ico 0 T, ∀ x, divergence (u t) x = 0\n\ntheorem IsEulerSolution.contDiff_velocity_slice {T : ℝ} {u : Velocity} {p : Pressure}\n    (h : IsEulerSolution T u p) {t : ℝ} (ht : t ∈ Ico 0 T) : ContDiff ℝ ∞ (u t) := by\n  rw [← contDiffOn_univ]\n  exact h.smooth_velocity.comp (contDiff_const.prodMk contDiff_id).contDiffOn\n    (fun x _ => ⟨ht, mem_univ x⟩)\n\ntheorem IsEulerSolution.hasDerivWithinAt_velocity {T : ℝ} {u : Velocity} {p : Pressure}\n    (h : IsEulerSolution T u p) {t : ℝ} (ht : t ∈ Ico 0 T) (x : Vec3) :\n    HasDerivWithinAt (fun r => u r x) (timeDerivative T u t x) (Ico 0 T) t := by\n  have htraj : ContDiffOn ℝ ∞ (fun r => u r x) (Ico 0 T) :=\n    h.smooth_velocity.comp (contDiff_id.prodMk contDiff_const).contDiffOn\n      (fun r hr => ⟨hr, mem_univ x⟩)\n  exact (htraj.differentiableOn (by simp) t ht).hasDerivWithinAt\n\ntheorem isEulerSolution_zero {T : ℝ} (hT : 0 < T) :\n    IsEulerSolution T (fun _ _ => 0) (fun _ _ => 0) where\n  time_pos := hT\n  smooth_velocity := contDiffOn_const\n  smooth_pressure := contDiffOn_const\n  periodic_velocity := fun _ _ _ _ => rfl\n  periodic_pressure := fun _ _ _ _ => rfl\n  mean_zero_pressure := by simp\n  momentum := by simp [timeDerivative]\n  incompressible := by simp [divergence]\n\ntheorem terminalTime_neBot {T : ℝ} (hT : 0 < T) : NeBot (𝓝[Ico 0 T] T) := by\n  apply mem_closure_iff_nhdsWithin_neBot.mp\n  rw [closure_Ico hT.ne]\n  exact ⟨hT.le, le_rfl⟩\n\n/-- The velocity has no smooth Euler continuation to any longer time interval. -/\ndef IsMaximalEulerSolution (T : ℝ) (u : Velocity) (p : Pressure) : Prop :=\n  IsEulerSolution T u p ∧\n    ∀ S > T, ¬ ∃ (v : Velocity) (q : Pressure),\n      IsEulerSolution S v q ∧ ∀ t ∈ Ico 0 T, v t = u t\n\n/-- Convergence of the ambient spatial jets on compact subsets of the punctured lift. -/\ndef HasOffOriginLimits (T : ℝ) (f : Velocity) : Prop :=\n  ∀ K : Set Vec3, IsCompact K → K ⊆ offOrigin → ∀ m : ℕ,\n    ∃ (U : Set Vec3) (g : Vec3 → Vec3),\n      IsOpen U ∧ K ⊆ U ∧ U ⊆ offOrigin ∧ ContDiffOn ℝ m g U ∧\n        ∀ j ≤ m, TendstoUniformlyOn\n          (fun t => iteratedFDeriv ℝ j (f t)) (iteratedFDeriv ℝ j g) (𝓝[Ico 0 T] T) K\n\n/-- The conclusions of Theorem 1.1 for a given Euler solution and initial datum. -/\ndef EulerSingularityWitness (u₀ : Vec3 → Vec3) (T : ℝ) (u : Velocity) (p : Pressure) : Prop :=\n    ContDiff ℝ ∞ u₀ ∧ SpatiallyPeriodic u₀ ∧ Function.Odd u₀ ∧\n    (∀ x, divergence u₀ x = 0) ∧\n    IsMaximalEulerSolution T u p ∧\n    u 0 = u₀ ∧\n    (∀ t ∈ Ico 0 T, Function.Odd (u t)) ∧\n    (∫⁻ t in Ico 0 T, torusLInf (fderiv ℝ (u t))) = ⊤ ∧\n    (∫⁻ t in Ico 0 T, torusLInf (curl (u t))) = ⊤ ∧\n    (∃ C : ℝ, ∀ t ∈ Ico 0 T, torusLInf (u t) ≤ ENNReal.ofReal C) ∧\n    Tendsto (fun t => ‖curl (u t) 0‖) (𝓝[Ico 0 T] T) atTop ∧\n    HasOffOriginLimits T u ∧ HasOffOriginLimits T (timeDerivative T u)\n\n/-- The proposition of frozen Theorem 1.1 (label cc:target:unforced). -/\ndef Theorem11 : Prop :=\n  ∃ (u₀ : Vec3 → Vec3) (T : ℝ) (u : Velocity) (p : Pressure), EulerSingularityWitness u₀ T u p\n\nend TorusEuler\n"},"TorusEuler/Theorem11.lean":{"text":"import TorusEuler.InductiveUniformStageEstimates\nimport TorusEuler.InductiveLaterActivationJetBounds\nimport TorusEuler.LaterWavePrimaryPressureBound\n\n/-! The frozen torus Euler theorem. -/\n\nnamespace TorusEuler\n\n/-- The fixed leading pressure and activation costs of the actual later wave. -/\ntheorem nonempty_laterPrimaryCosts : Nonempty LaterPrimaryCosts := by\n  obtain ⟨Apressure, Cpressure, _, hCpressure, hPressure⟩ :=\n    InductiveEulerTip.SelectedLaterInput.exists_leading_pressure_hessian_bound\n  obtain ⟨Aactivation, Cactivation, _, hCactivation, hActivation⟩ :=\n    InductiveEulerTip.SelectedLaterInput.exists_activationPrimary_phaseJetBound\n  exact ⟨\n    { radiusFloor := max Apressure Aactivation\n      pressureCost := Cpressure\n      pressurePower := fun a => 2 * a + 74\n      activationCost := Cactivation\n      pressure_nonneg := hCpressure\n      activation_nonneg := hCactivation\n      pressure := fun d ha => hPressure d ((le_max_left _ _).trans ha)\n      activation := fun d ha => hActivation d ((le_max_right _ _).trans ha) }⟩\n\n/-- Theorem 1.1 of the frozen torus manuscript. -/\ntheorem theorem11 : Theorem11 :=\n  theorem11_of_laterPrimaryCosts (Classical.choice nonempty_laterPrimaryCosts)\n\nend TorusEuler\n"}},"topImports":{"TorusEuler/Theorem11.lean":["TorusEuler/InductiveLaterActivationJetBounds.lean","TorusEuler/InductiveUniformStageEstimates.lean","TorusEuler/LaterWavePrimaryPressureBound.lean"],"TorusEuler/InductiveLaterActivationJetBounds.lean":["TorusEuler/ActivationPrimaryJetBounds.lean","TorusEuler/HierarchyInductiveTransverseBudget.lean","TorusEuler/InductiveLaterWaveSelection.lean"],"TorusEuler/InductiveUniformStageEstimates.lean":["TorusEuler/FirstWavePrimaryPressureBound.lean","TorusEuler/InductiveMeasuredStageReadout.lean","TorusEuler/InductiveProfileBounds.lean","TorusEuler/InductiveScheduledConstruction.lean","TorusEuler/InductiveStagePressureBounds.lean","TorusEuler/InductiveStageResidualBounds.lean"],"TorusEuler/LaterWavePrimaryPressureBound.lean":["TorusEuler/HierarchyPhysicalPressureBounds.lean","TorusEuler/InductiveLaterStageAssembly.lean","TorusEuler/ParentSeedJetBudgets.lean"],"TorusEuler/ActivationPrimaryJetBounds.lean":["TorusEuler/FirstWaveDerivativeBudgets.lean","TorusEuler/HierarchyLinearRelayBounds.lean","TorusEuler/HierarchyPhysicalVelocityBounds.lean","TorusEuler/ParentSeedJetBudgets.lean","TorusEuler/SeedDerivativeBudgets.lean"],"TorusEuler/HierarchyInductiveTransverseBudget.lean":["TorusEuler/HierarchyTransverseBudgets.lean","TorusEuler/InductiveParentGeometry.lean","TorusEuler/ParentVelocityEstimates.lean"],"TorusEuler/InductiveLaterWaveSelection.lean":["TorusEuler/HierarchyPhysicalInitialSlice.lean","TorusEuler/HierarchyPrimaryPressureCenter.lean","TorusEuler/HierarchyTwistedLeadingSwitch.lean","TorusEuler/InductivePhysicalApproximation.lean","TorusEuler/InductiveStageVelocityJetBounds.lean","TorusEuler/LaterPhysicalLeadingInput.lean"],"TorusEuler/FirstWavePrimaryPressureBound.lean":["TorusEuler/FirstWaveDerivativeBudgets.lean","TorusEuler/HierarchyPhysicalPressureBounds.lean","TorusEuler/HierarchyPrimaryPressureCenter.lean","TorusEuler/InductiveFirstWaveSelection.lean"],"TorusEuler/InductiveMeasuredStageReadout.lean":["TorusEuler/InductiveCutoffBudget.lean","TorusEuler/InductiveScheduledReadout.lean","TorusEuler/InductiveStageProfileFlowBounds.lean","TorusEuler/InductiveStageVelocityBounds.lean","TorusEuler/SelectedPhysicalStageSeed.lean"],"TorusEuler/InductiveProfileBounds.lean":["TorusEuler/HierarchyFiniteOrderBudget.lean","TorusEuler/HierarchyNormalizedTransverseBudget.lean","TorusEuler/HierarchyParentResidualNorm.lean","TorusEuler/HierarchySelectedDepthTail.lean","TorusEuler/HierarchySelectedRecurrence.lean","TorusEuler/HierarchyStageCoefficientCaps.lean","TorusEuler/InductiveStageMeanBounds.lean"],"TorusEuler/InductiveScheduledConstruction.lean":["TorusEuler/InductiveFirstStageAssembly.lean","TorusEuler/InductiveLaterStageAssembly.lean"],"TorusEuler/InductiveStagePressureBounds.lean":["TorusEuler/HierarchyPhysicalPressureBounds.lean","TorusEuler/InductiveParentGeometry.lean","TorusEuler/InductiveStageVelocityJetBounds.lean","TorusEuler/ParentCoframeEstimates.lean"],"TorusEuler/InductiveStageResidualBounds.lean":["TorusEuler/HierarchyPhysicalVelocityBounds.lean","TorusEuler/InductiveProfileBounds.lean","TorusEuler/InductiveStepNumericalBudgets.lean"],"TorusEuler/HierarchyPhysicalPressureBounds.lean":["TorusEuler/HierarchyHigherPressure.lean","TorusEuler/HierarchyPhysicalApproximation.lean","TorusEuler/HierarchyPrimaryPressureCenter.lean","TorusEuler/MeanPressureHessian.lean"],"TorusEuler/InductiveLaterStageAssembly.lean":["TorusEuler/HierarchyCenterWeight.lean","TorusEuler/HierarchyInductiveTransverseBudget.lean","TorusEuler/HierarchySelectedLinearEstimates.lean","TorusEuler/InductiveLaterWaveSelection.lean","TorusEuler/InductiveWaveSwitchBound.lean","TorusEuler/ParentSeedJetBudgets.lean","TorusEuler/ScheduledPhysicalStage.lean"],"TorusEuler/ParentSeedJetBudgets.lean":["TorusEuler/LaterWaveDerivativeBudgets.lean","TorusEuler/SeedDerivativeBudgets.lean"],"TorusEuler/FirstWaveDerivativeBudgets.lean":["TorusEuler/CoframeDerivativeBounds.lean","TorusEuler/FirstWaveHierarchyInput.lean","TorusEuler/FirstWaveLocalized.lean","TorusEuler/HierarchyActualNorms.lean","TorusEuler/LocalizedAmplitudeComparison.lean","TorusEuler/WavePressureCenter.lean"],"TorusEuler/HierarchyLinearRelayBounds.lean":["TorusEuler/HierarchySourceBounds.lean","TorusEuler/LabelFlowGeometry.lean","TorusEuler/OscillatoryHierarchySolve.lean","TorusEuler/ParentCoframeEstimates.lean","TorusEuler/PhaseProfileEstimates.lean","TorusEuler/TerminalIntegrals.lean","TorusEuler/WaveCompletionBounds.lean"],"TorusEuler/HierarchyPhysicalVelocityBounds.lean":["TorusEuler/HierarchyDepthTail.lean","TorusEuler/HierarchyGraphReadoutBounds.lean","TorusEuler/InductiveStageVelocityJetBounds.lean","TorusEuler/LaterPhysicalLeadingInput.lean","TorusEuler/PhysicalWaveStageClosure.lean"],"TorusEuler/SeedDerivativeBudgets.lean":["TorusEuler/LocalizedSeedRegularity.lean","TorusEuler/OscillatoryDerivativeEstimates.lean","TorusEuler/ParentCoframeEstimates.lean","TorusEuler/TransverseCoframeRegularity.lean"],"TorusEuler/HierarchyTransverseBudgets.lean":["TorusEuler/HierarchyPhysicalApproximation.lean","TorusEuler/HierarchyTransverseNorms.lean","TorusEuler/PhysicalWaveEnvelopeSupport.lean","TorusEuler/SeedDerivativeBudgets.lean"],"TorusEuler/InductiveParentGeometry.lean":["TorusEuler/HierarchyParentGeometry.lean","TorusEuler/InductiveStageConstruction.lean","TorusEuler/TruncatedChildStage.lean"],"TorusEuler/ParentVelocityEstimates.lean":["TorusEuler/EndpointConcreteProjection.lean","TorusEuler/ParentResidualEstimates.lean","TorusEuler/ResidualGradient.lean"],"TorusEuler/HierarchyPhysicalInitialSlice.lean":["TorusEuler/HierarchyPhysicalApproximation.lean"],"TorusEuler/HierarchyPrimaryPressureCenter.lean":["TorusEuler/HierarchyPhysicalGraph.lean","TorusEuler/InductionChildEstimates.lean","TorusEuler/LaterWaveHierarchyInput.lean","TorusEuler/SeedDerivativeBudgets.lean"],"TorusEuler/HierarchyTwistedLeadingSwitch.lean":["TorusEuler/HierarchyTwistedRelayBounds.lean","TorusEuler/LaterWaveHierarchyInput.lean"],"TorusEuler/InductivePhysicalApproximation.lean":["TorusEuler/HierarchyPhysicalApproximation.lean","TorusEuler/InductiveParentGeometry.lean","TorusEuler/PhysicalWaveEnvelopeSupport.lean"],"TorusEuler/InductiveStageVelocityJetBounds.lean":["TorusEuler/InductiveStageConstruction.lean"],"TorusEuler/LaterPhysicalLeadingInput.lean":["TorusEuler/HierarchyPhysicalApproximation.lean","TorusEuler/LaterWaveHierarchyInput.lean"],"TorusEuler/InductiveFirstWaveSelection.lean":["TorusEuler/FirstPhysicalLeadingInput.lean","TorusEuler/HierarchyTwistedSelectedRelay.lean","TorusEuler/InductivePhysicalApproximation.lean"],"TorusEuler/InductiveCutoffBudget.lean":["TorusEuler/InductiveStepNumericalBudgets.lean","TorusEuler/PhysicalWaveStageClosure.lean"],"TorusEuler/InductiveScheduledReadout.lean":["TorusEuler/HierarchyPhysicalVelocityBounds.lean","TorusEuler/ScheduledPhysicalStage.lean"],"TorusEuler/InductiveStageProfileFlowBounds.lean":["TorusEuler/HierarchyPhysicalVelocityBounds.lean","TorusEuler/HierarchyStageCoefficientCaps.lean"],"TorusEuler/InductiveStageVelocityBounds.lean":["TorusEuler/HierarchyCentralRemainder.lean","TorusEuler/HierarchyPhysicalVelocityBounds.lean","TorusEuler/HierarchyStageCoefficientCaps.lean","TorusEuler/InductiveStepNumericalBudgets.lean"],"TorusEuler/SelectedPhysicalStageSeed.lean":["TorusEuler/HierarchyCenterWeight.lean","TorusEuler/HierarchyInductiveTransverseBudget.lean","TorusEuler/HierarchySelectedLinearEstimates.lean","TorusEuler/InductiveStepNumericalBudgets.lean"],"TorusEuler/HierarchyFiniteOrderBudget.lean":["TorusEuler/HierarchyDepthAssembly.lean","TorusEuler/ThresholdSelection.lean"],"TorusEuler/HierarchyNormalizedTransverseBudget.lean":["TorusEuler/HierarchyInductiveTransverseBudget.lean"],"TorusEuler/HierarchyParentResidualNorm.lean":["TorusEuler/HierarchyTwistedCoefficientNorms.lean","TorusEuler/InductiveParentGeometry.lean","TorusEuler/ParentVelocityEstimates.lean"],"TorusEuler/HierarchySelectedDepthTail.lean":["TorusEuler/HierarchyDepthTail.lean","TorusEuler/HierarchyPhysicalApproximation.lean","TorusEuler/HierarchySlowInteractionEstimates.lean","TorusEuler/HierarchyTwistedRelayCoefficientBudget.lean"],"TorusEuler/HierarchySelectedRecurrence.lean":["TorusEuler/HierarchyPhysicalSourceTerms.lean","TorusEuler/HierarchySelectedLinearEstimates.lean"],"TorusEuler/HierarchyStageCoefficientCaps.lean":["TorusEuler/HierarchyTwistedCoefficientNorms.lean","TorusEuler/HierarchyTwistedRelayCoefficientBudget.lean","TorusEuler/HierarchyTwistedSlowSourceBounds.lean","TorusEuler/InductiveParentGeometry.lean","TorusEuler/InductiveStageVelocityJetBounds.lean","TorusEuler/PhysicalHierarchyProfileBounds.lean"],"TorusEuler/InductiveStageMeanBounds.lean":["TorusEuler/HierarchyPhysicalMeanBounds.lean","TorusEuler/InductiveParentGeometry.lean","TorusEuler/InductiveStageVelocityJetBounds.lean"],"TorusEuler/InductiveFirstStageAssembly.lean":["TorusEuler/FirstWaveDerivativeBudgets.lean","TorusEuler/HierarchyCenterWeight.lean","TorusEuler/HierarchySelectedLinearEstimates.lean","TorusEuler/InductiveFirstWaveSelection.lean","TorusEuler/ScheduledPhysicalStage.lean"],"TorusEuler/ParentCoframeEstimates.lean":["TorusEuler/CoframeDerivativeBounds.lean","TorusEuler/FlowHigherVariations.lean"],"TorusEuler/InductiveStepNumericalBudgets.lean":["TorusEuler/InductiveParameterSelection.lean"],"TorusEuler/HierarchyHigherPressure.lean":["TorusEuler/HierarchyActualNorms.lean","TorusEuler/HierarchyConcreteCompletion.lean","TorusEuler/HierarchyPhysicalSolvers.lean","TorusEuler/HierarchySupportPropagation.lean","TorusEuler/HierarchyTwistedSolves.lean","TorusEuler/PhysicalHierarchyProfileBounds.lean","TorusEuler/WavePressureCenter.lean"],"TorusEuler/HierarchyPhysicalApproximation.lean":["TorusEuler/HierarchyParityPropagation.lean","TorusEuler/HierarchyPhysicalGraph.lean","TorusEuler/HierarchyPhysicalPiola.lean","TorusEuler/HierarchyPhysicalSupport.lean","TorusEuler/ParentPressureParity.lean","TorusEuler/TruncatedChildStage.lean"],"TorusEuler/MeanPressureHessian.lean":["TorusEuler/EndpointCoefficientCompatibility.lean","TorusEuler/PressureHessianMultiplier.lean","TorusEuler/SmoothPeriodicHolder.lean","TorusEuler/TruncatedParentPoissonPressure.lean"],"TorusEuler/HierarchyCenterWeight.lean":["TorusEuler/LocalizedAmplitudeComparison.lean"],"TorusEuler/HierarchySelectedLinearEstimates.lean":["TorusEuler/HierarchySelectedSourceIdentities.lean","TorusEuler/HierarchyTwistedRelayCoefficientBudget.lean","TorusEuler/HierarchyTwistedSelectedRelay.lean"],"TorusEuler/InductiveWaveSwitchBound.lean":["TorusEuler/ActivationProfiles.lean","TorusEuler/InductionAmplificationSmallness.lean","TorusEuler/InductiveStageConstruction.lean","TorusEuler/PhysicalAmplificationCrossing.lean"],"TorusEuler/ScheduledPhysicalStage.lean":["TorusEuler/InductiveStepNumericalBudgets.lean","TorusEuler/PhysicalWaveStageClosure.lean"],"TorusEuler/LaterWaveDerivativeBudgets.lean":["TorusEuler/FirstWaveDerivativeBudgets.lean","TorusEuler/LaterWaveHierarchyInput.lean"]},"depthOf":{"TorusEuler/Theorem11.lean":0,"TorusEuler/InductiveLaterActivationJetBounds.lean":1,"TorusEuler/InductiveUniformStageEstimates.lean":1,"TorusEuler/LaterWavePrimaryPressureBound.lean":1,"TorusEuler/ActivationPrimaryJetBounds.lean":2,"TorusEuler/HierarchyInductiveTransverseBudget.lean":2,"TorusEuler/InductiveLaterWaveSelection.lean":2,"TorusEuler/FirstWavePrimaryPressureBound.lean":2,"TorusEuler/InductiveMeasuredStageReadout.lean":2,"TorusEuler/InductiveProfileBounds.lean":2,"TorusEuler/InductiveScheduledConstruction.lean":2,"TorusEuler/InductiveStagePressureBounds.lean":2,"TorusEuler/InductiveStageResidualBounds.lean":2,"TorusEuler/HierarchyPhysicalPressureBounds.lean":2,"TorusEuler/InductiveLaterStageAssembly.lean":2,"TorusEuler/ParentSeedJetBudgets.lean":2,"TorusEuler/FirstWaveDerivativeBudgets.lean":3,"TorusEuler/HierarchyLinearRelayBounds.lean":3,"TorusEuler/HierarchyPhysicalVelocityBounds.lean":3,"TorusEuler/SeedDerivativeBudgets.lean":3,"TorusEuler/HierarchyTransverseBudgets.lean":3,"TorusEuler/InductiveParentGeometry.lean":3,"TorusEuler/ParentVelocityEstimates.lean":3,"TorusEuler/HierarchyPhysicalInitialSlice.lean":3,"TorusEuler/HierarchyPrimaryPressureCenter.lean":3,"TorusEuler/HierarchyTwistedLeadingSwitch.lean":3,"TorusEuler/InductivePhysicalApproximation.lean":3,"TorusEuler/InductiveStageVelocityJetBounds.lean":3,"TorusEuler/LaterPhysicalLeadingInput.lean":3,"TorusEuler/InductiveFirstWaveSelection.lean":3,"TorusEuler/InductiveCutoffBudget.lean":3,"TorusEuler/InductiveScheduledReadout.lean":3,"TorusEuler/InductiveStageProfileFlowBounds.lean":3,"TorusEuler/InductiveStageVelocityBounds.lean":3,"TorusEuler/SelectedPhysicalStageSeed.lean":3,"TorusEuler/HierarchyFiniteOrderBudget.lean":3,"TorusEuler/HierarchyNormalizedTransverseBudget.lean":3,"TorusEuler/HierarchyParentResidualNorm.lean":3,"TorusEuler/HierarchySelectedDepthTail.lean":3,"TorusEuler/HierarchySelectedRecurrence.lean":3,"TorusEuler/HierarchyStageCoefficientCaps.lean":3,"TorusEuler/InductiveStageMeanBounds.lean":3,"TorusEuler/InductiveFirstStageAssembly.lean":3,"TorusEuler/ParentCoframeEstimates.lean":3,"TorusEuler/InductiveStepNumericalBudgets.lean":3,"TorusEuler/HierarchyHigherPressure.lean":3,"TorusEuler/HierarchyPhysicalApproximation.lean":3,"TorusEuler/MeanPressureHessian.lean":3,"TorusEuler/HierarchyCenterWeight.lean":3,"TorusEuler/HierarchySelectedLinearEstimates.lean":3,"TorusEuler/InductiveWaveSwitchBound.lean":3,"TorusEuler/ScheduledPhysicalStage.lean":3,"TorusEuler/LaterWaveDerivativeBudgets.lean":3},"root":"TorusEuler/Theorem11.lean","ur":"ur 0.0.1-dev (d1a722f3b197)"}