Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  Affine.lean   Sprache: Lean

 

/-
Copyright (c) 2020 Frédéric Dupuis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Frédéric Dupuis, Attila Gáspár
-/

module

public import Mathlib.LinearAlgebra.AffineSpace.Midpoint
public import Mathlib.Topology.Algebra.Group.Torsor

set_option doc.verso true
set_option doc.verso.suggestions false

/-!
# Topological properties of affine spaces and maps

This file contains a few facts regarding the continuity of affine maps.
-/


public section

open Topology

namespace AffineMap

variable
  {R V P W Q : Type*}
  [AddCommGroup V] [TopologicalSpace V]
  [AddTorsor V P] [TopologicalSpace P] [IsTopologicalAddTorsor P]
  [AddCommGroup W] [TopologicalSpace W]
  [AddTorsor W Q] [TopologicalSpace Q] [IsTopologicalAddTorsor Q]

section Ring

variable [Ring R] [Module R V] [Module R W]

private theorem linear_decomp {f : P →ᵃ[R] Q} :
    (f.linear : V → W) = (Homeomorph.vaddConst <| f (Classical.arbitrary P)).symm ∘ f ∘
      (Homeomorph.vaddConst (Classical.arbitrary P)) := by
  ext v
  simp

/-- If `f` is an affine map, then its linear part is continuous iff `f` is continuous. -/
theorem continuous_linear_iff {f : P →ᵃ[R] Q} : Continuous f.linear ↔ Continuous f := by
  simp only [linear_decomp, Homeomorph.comp_continuous_iff, Homeomorph.comp_continuous_iff']

/-- If `f` is an affine map, then its linear part is an open map iff `f` is an open map. -/
theorem isOpenMap_linear_iff {f : P →ᵃ[R] Q} : IsOpenMap f.linear ↔ IsOpenMap f := by
  simp only [linear_decomp, Homeomorph.comp_isOpenMap_iff, Homeomorph.comp_isOpenMap_iff']

/-- If `f` is an affine map, then its linear part is an embedding iff `f` is an embedding. -/
theorem isEmbedding_linear_iff {f : P →ᵃ[R] Q} : IsEmbedding f.linear ↔ IsEmbedding f := by
  simp only [linear_decomp, Homeomorph.comp_isEmbedding_iff, Homeomorph.isEmbedding_comp_iff]

/-- If `f` is an affine map, then its linear part is an open embedding iff `f` is an open embedding.
-/

theorem isOpenEmbedding_linear_iff {f : P →ᵃ[R] Q} :
    IsOpenEmbedding f.linear ↔ IsOpenEmbedding f := by
  simp only [linear_decomp, Homeomorph.comp_isOpenEmbedding_iff,
    Homeomorph.isOpenEmbedding_comp_iff]

/-- If `f` is an affine map, then its linear part is a closed embedding iff `f` is a closed
embedding. -/

theorem isClosedEmbedding_linear_iff {f : P →ᵃ[R] Q} :
    IsClosedEmbedding f.linear ↔ IsClosedEmbedding f := by
  simp only [linear_decomp, Homeomorph.comp_isClosedEmbedding_iff,
    Homeomorph.isClosedEmbedding_comp_iff]

variable [TopologicalSpace R] [ContinuousSMul R V]

/-- The line map is continuous in all arguments. -/
@[continuity, fun_prop]
theorem lineMap_continuous_uncurry :
    Continuous (fun pqt : P × P × R ↦ lineMap pqt.1 pqt.2.1 pqt.2.2) := by
  simp only [coe_lineMap]
  fun_prop

/-- The line map is continuous. -/
theorem lineMap_continuous {p q : P} :
    Continuous (lineMap p q : R →ᵃ[R] P) := by
  fun_prop

open Filter

section Tendsto

variable {α : Type*} {l : Filter α}

theorem _root_.Filter.Tendsto.lineMap {f₁ f₂ : α → P} {g : α → R} {p₁ p₂ : P} {c : R}
    (h₁ : Tendsto f₁ l (�� p₁)) (h₂ : Tendsto f₂ l (�� p₂)) (hg : Tendsto g l (�� c)) :
    Tendsto (fun x => AffineMap.lineMap (f₁ x) (f₂ x) (g x)) l (�� <| AffineMap.lineMap p₁ p₂ c) :=
  (hg.smul (h₂.vsub h₁)).vadd h₁

theorem _root_.Filter.Tendsto.midpoint [Invertible (2 : R)] {f₁ f₂ : α → P} {p₁ p₂ : P}
    (h₁ : Tendsto f₁ l (�� p₁)) (h₂ : Tendsto f₂ l (�� p₂)) :
    Tendsto (fun x => midpoint R (f₁ x) (f₂ x)) l (�� <| midpoint R p₁ p₂) :=
  h₁.lineMap h₂ tendsto_const_nhds

end Tendsto

variable {X : Type*} [TopologicalSpace X] {f₁ f₂ : X → P} {g : X → R} {s : Set X} {x : X}

@[fun_prop]
theorem _root_.ContinuousWithinAt.lineMap (h₁ : ContinuousWithinAt f₁ s x)
    (h₂ : ContinuousWithinAt f₂ s x) (hg : ContinuousWithinAt g s x) :
    ContinuousWithinAt (fun x ↦ lineMap (f₁ x) (f₂ x) (g x)) s x :=
  Tendsto.lineMap h₁ h₂ hg

theorem _root_.ContinuousAt.lineMap (h₁ : ContinuousAt f₁ x) (h₂ : ContinuousAt f₂ x)
    (hg : ContinuousAt g x) :
    ContinuousAt (fun x ↦ lineMap (f₁ x) (f₂ x) (g x)) x := by
  fun_prop

theorem _root_.ContinuousOn.lineMap (h₁ : ContinuousOn f₁ s) (h₂ : ContinuousOn f₂ s)
    (hg : ContinuousOn g s) :
    ContinuousOn (fun x ↦ lineMap (f₁ x) (f₂ x) (g x)) s := by
  fun_prop

theorem _root_.Continuous.lineMap (h₁ : Continuous f₁) (h₂ : Continuous f₂)
    (hg : Continuous g) :
    Continuous (fun x ↦ lineMap (f₁ x) (f₂ x) (g x)) := by
  fun_prop

end Ring

section CommRing

variable [CommRing R] [Module R V] [ContinuousConstSMul R V]

@[continuity, fun_prop]
theorem homothety_continuous (x : P) (t : R) : Continuous <| homothety x t := by
  rw [coe_homothety]
  fun_prop

variable (R) [TopologicalSpace R] [Module R W] [ContinuousSMul R W] (x : Q) {s : Set Q}

open scoped Topology

theorem _root_.eventually_homothety_mem_of_mem_interior {y : Q} (hy : y ∈ interior s) :
    ∀ᶠ δ in �� (1 : R), homothety x δ y ∈ s := by
  have cont : Continuous (fun δ : R => homothety x δ y) := lineMap_continuous
  filter_upwards [cont.tendsto' 1 y (by simp) |>.eventually (isOpen_interior.eventually_mem hy)]
    with _ h using interior_subset h

theorem _root_.eventually_homothety_image_subset_of_finite_subset_interior {t : Set Q}
    (ht : t.Finite) (h : t ⊆ interior s) : ∀ᶠ δ in �� (1 : R), homothety x δ '' t ⊆ s := by
  suffices ∀ y ∈ t, ∀ᶠ δ in �� (1 : R), homothety x δ y ∈ s by
    simp_rw [Set.image_subset_iff]
    exact (Filter.eventually_all_finite ht).mpr this
  intro y hy
  exact eventually_homothety_mem_of_mem_interior R x (h hy)

end CommRing

section Field

variable [Field R] [Module R V] [ContinuousConstSMul R V]

theorem homothety_isOpenMap (x : P) (t : R) (ht : t ≠ 0) : IsOpenMap <| homothety x t := by
  apply IsOpenMap.of_inverse (homothety_continuous x t⁻¹) <;> intro e <;>
    simp [← AffineMap.comp_apply, ← homothety_mul, ht]

end Field

end AffineMap

Messung
CHZG
9310010097

¤ Dauer der Verarbeitung: 0.11 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,094
#Domains=862,590