math / data /lean /OAI /Dynamics /EntropyCounterexample /AngularExtension.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
2.79 kB
import OAI.Dynamics.EntropyCounterexample.AngularDerivative
namespace OAI
noncomputable section
open Filter Topology
open scoped OnePoint
namespace Problem340
theorem eventually_zero_comp_inv {f : β„‚ β†’ β„‚} (hf : HasCompactSupport f)
(hzero : f 0 = 0) :
(fun z : β„‚ => f z⁻¹) =αΆ [𝓝 0] (fun _ => 0) := by
change βˆ€αΆ  z : β„‚ in 𝓝 0, f z⁻¹ = 0
rw [← nhdsNE_sup_pure (0 : β„‚), eventually_sup]
constructor
Β· have hinv : Tendsto (Inv.inv : β„‚ β†’ β„‚) (𝓝[β‰ ] 0) (coclosedCompact β„‚) := by
simpa only [Filter.coclosedCompact_eq_cocompact,
← Metric.cobounded_eq_cocompact] using
(tendsto_invβ‚€_nhdsNE_zero (Ξ± := β„‚))
exact hinv.eventually (hasCompactSupport_iff_eventuallyEq.mp hf)
Β· simpa using hzero
theorem contDiff_comp_inv_of_compactSupport {f : β„‚ β†’ β„‚} {n : WithTop β„•βˆž}
(hf : ContDiff ℝ n f) (hcomp : HasCompactSupport f) (hzero : f 0 = 0) :
ContDiff ℝ n (fun z : β„‚ => f z⁻¹) := by
rw [contDiff_iff_contDiffAt]
intro z
by_cases hz : z = 0
Β· subst z
exact (contDiffAt_const : ContDiffAt ℝ n (fun _ : β„‚ => (0 : β„‚)) 0).congr_of_eventuallyEq (eventually_zero_comp_inv hcomp hzero)
Β· exact hf.contDiffAt.comp z (contDiffAt_id.inv hz)
def planeZeroExtension (f : β„‚ β†’ β„‚) (z : OnePoint β„‚) : β„‚ := z.elim 0 f
@[simp] theorem planeZeroExtension_infty (f : β„‚ β†’ β„‚) :
planeZeroExtension f ∞ = 0 := rfl
@[simp] theorem planeZeroExtension_coe (f : β„‚ β†’ β„‚) (z : β„‚) :
planeZeroExtension f (z : OnePoint β„‚) = f z := rfl
theorem continuous_planeZeroExtension {f : β„‚ β†’ β„‚} (hf : Continuous f)
(hcomp : HasCompactSupport f) : Continuous (planeZeroExtension f) := by
rw [OnePoint.continuous_iff]
constructor
Β· change Tendsto f (coclosedCompact β„‚) (𝓝 (0 : β„‚))
exact Tendsto.congr' (hasCompactSupport_iff_eventuallyEq.mp hcomp).symm
tendsto_const_nhds
Β· exact hf
theorem continuous_cutoff_angular_onePoint {Ο‡ : β„‚ β†’ β„‚} {n : WithTop β„•βˆž}
(hΟ‡ : ContDiff ℝ n Ο‡) (hcomp : HasCompactSupport Ο‡)
(hzero : βˆ€αΆ  z in 𝓝 (0 : β„‚), Ο‡ z = 0) (k : β„•) :
Continuous (planeZeroExtension (fun z => Ο‡ z * angularPhase z ^ k)) := by
apply continuous_planeZeroExtension (contDiff_cutoff_angular_power hχ hzero k).continuous
exact hcomp.mul_right
theorem contDiff_cutoff_angular_inv {Ο‡ : β„‚ β†’ β„‚} {n : WithTop β„•βˆž}
(hΟ‡ : ContDiff ℝ n Ο‡) (hcomp : HasCompactSupport Ο‡)
(hzero : βˆ€αΆ  z in 𝓝 (0 : β„‚), Ο‡ z = 0) (k : β„•) :
ContDiff ℝ n (fun z : β„‚ => Ο‡ z⁻¹ * angularPhase z⁻¹ ^ k) := by
apply contDiff_comp_inv_of_compactSupport (contDiff_cutoff_angular_power hχ hzero k)
hcomp.mul_right
simp [hzero.self_of_nhds]
end Problem340
end
end OAI