The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V27. Algebraic topology and condensed mathematics

Mathlib.Topology.Homotopy.Basic

128 declarations. Mathlib docs · Source

Homotopy between functions

In this file, we define a homotopy between two functions f₀ and f₁. First we define ContinuousMap.Homotopy between the two functions, with no restrictions on the intermediate maps. Then, as in the formalisation in HOL-Analysis, we define ContinuousMap.HomotopyWith f₀ f₁ P, for homotopies between f₀ and f₁, where the intermediate maps satisfy the predicate P. Finally, we define ContinuousMap.HomotopyRel f₀ f₁ S, for homotopies between f₀ and f₁ which are fixed on S.

Definitions

  • ContinuousMap.Homotopy f₀ f₁ is the type of homotopies between f₀ and f₁.
  • ContinuousMap.HomotopyWith f₀ f₁ P is the type of homotopies between f₀ and f₁, where the intermediate maps satisfy the predicate P.
  • ContinuousMap.HomotopyRel f₀ f₁ S is the type of homotopies between f₀ and f₁ which are fixed on S.

For each of the above, we have

  • refl f, which is the constant homotopy from f to f.
  • symm F, which reverses the homotopy F. For example, if F : ContinuousMap.Homotopy f₀ f₁, then F.symm : ContinuousMap.Homotopy f₁ f₀.
  • trans F G, which concatenates the homotopies F and G. For example, if F : ContinuousMap.Homotopy f₀ f₁ and G : ContinuousMap.Homotopy f₁ f₂, then F.trans G : ContinuousMap.Homotopy f₀ f₂.

We also define the relations

  • ContinuousMap.Homotopic f₀ f₁ is defined to be Nonempty (ContinuousMap.Homotopy f₀ f₁)
  • ContinuousMap.HomotopicWith f₀ f₁ P is defined to be Nonempty (ContinuousMap.HomotopyWith f₀ f₁ P)
  • ContinuousMap.HomotopicRel f₀ f₁ P is defined to be Nonempty (ContinuousMap.HomotopyRel f₀ f₁ P)

and for ContinuousMap.homotopic and ContinuousMap.homotopic_rel, we also define the setoid and quotient in C(X, Y) by these relations.

References

theorem ContinuousMap.Homotopy.mk.congr_simp E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (toContinuousMap toContinuousMap_1 : C(↑unitInterval × X, Y))
  (e_toContinuousMap : toContinuousMap = toContinuousMap_1)
  (map_zero_left : ∀ (x : X), toContinuousMap.toFun (0, x) = f₀ x)
  (map_one_left : ∀ (x : X), toContinuousMap.toFun (1, x) = f₁ x),
  { toContinuousMap := toContinuousMap, map_zero_left := map_zero_left, map_one_left := map_one_left } =
    { toContinuousMap := toContinuousMap_1, map_zero_left := ⋯, map_one_left := ⋯ }

theorem ContinuousMap.HomotopyWith.mk.injEq E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  {P : C(X, Y) → Prop} (toHomotopy : f₀.Homotopy f₁)
  (prop' : ∀ (t : ↑unitInterval), P { toFun := fun x ↦ toHomotopy.toFun (t, x), continuous_toFun := ⋯ })
  (toHomotopy_1 : f₀.Homotopy f₁)
  (prop'_1 : ∀ (t : ↑unitInterval), P { toFun := fun x ↦ toHomotopy_1.toFun (t, x), continuous_toFun := ⋯ }),
  ({ toHomotopy := toHomotopy, prop' := prop' } = { toHomotopy := toHomotopy_1, prop' := prop'_1 }) =
    (toHomotopy = toHomotopy_1)

def ContinuousMap.HomotopyWith.ctorIdx E1 #

{X : Type u} →
  {Y : Type v} →
    {inst : TopologicalSpace X} →
      {inst_1 : TopologicalSpace Y} → {f₀ f₁ : C(X, Y)} → {P : C(X, Y) → Prop} → f₀.HomotopyWith f₁ P → ℕ

theorem ContinuousMap.Homotopy.mk.inj E1 #

∀ {X : Type u} {Y : Type v} {inst : TopologicalSpace X} {inst_1 : TopologicalSpace Y} {f₀ f₁ : C(X, Y)}
  {toContinuousMap : C(↑unitInterval × X, Y)} {map_zero_left : ∀ (x : X), toContinuousMap.toFun (0, x) = f₀ x}
  {map_one_left : ∀ (x : X), toContinuousMap.toFun (1, x) = f₁ x} {toContinuousMap_1 : C(↑unitInterval × X, Y)}
  {map_zero_left_1 : ∀ (x : X), toContinuousMap_1.toFun (0, x) = f₀ x}
  {map_one_left_1 : ∀ (x : X), toContinuousMap_1.toFun (1, x) = f₁ x},
  { toContinuousMap := toContinuousMap, map_zero_left := map_zero_left, map_one_left := map_one_left } =
      { toContinuousMap := toContinuousMap_1, map_zero_left := map_zero_left_1, map_one_left := map_one_left_1 } →
    toContinuousMap = toContinuousMap_1

theorem ContinuousMap.Homotopy.cast.congr_simp E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ g₀ g₁ : C(X, Y)}
  (F F_1 : f₀.Homotopy f₁), F = F_1 → ∀ (h₀ : f₀ = g₀) (h₁ : f₁ = g₁), F.cast h₀ h₁ = F_1.cast h₀ h₁

theorem ContinuousMap.HomotopyWith.mk.inj E1 #

∀ {X : Type u} {Y : Type v} {inst : TopologicalSpace X} {inst_1 : TopologicalSpace Y} {f₀ f₁ : C(X, Y)}
  {P : C(X, Y) → Prop} {toHomotopy : f₀.Homotopy f₁}
  {prop' : ∀ (t : ↑unitInterval), P { toFun := fun x ↦ toHomotopy.toFun (t, x), continuous_toFun := ⋯ }}
  {toHomotopy_1 : f₀.Homotopy f₁}
  {prop'_1 : ∀ (t : ↑unitInterval), P { toFun := fun x ↦ toHomotopy_1.toFun (t, x), continuous_toFun := ⋯ }},
  { toHomotopy := toHomotopy, prop' := prop' } = { toHomotopy := toHomotopy_1, prop' := prop'_1 } →
    toHomotopy = toHomotopy_1

theorem ContinuousMap.Homotopy.mk.injEq E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (toContinuousMap : C(↑unitInterval × X, Y)) (map_zero_left : ∀ (x : X), toContinuousMap.toFun (0, x) = f₀ x)
  (map_one_left : ∀ (x : X), toContinuousMap.toFun (1, x) = f₁ x) (toContinuousMap_1 : C(↑unitInterval × X, Y))
  (map_zero_left_1 : ∀ (x : X), toContinuousMap_1.toFun (0, x) = f₀ x)
  (map_one_left_1 : ∀ (x : X), toContinuousMap_1.toFun (1, x) = f₁ x),
  ({ toContinuousMap := toContinuousMap, map_zero_left := map_zero_left, map_one_left := map_one_left } =
      { toContinuousMap := toContinuousMap_1, map_zero_left := map_zero_left_1, map_one_left := map_one_left_1 }) =
    (toContinuousMap = toContinuousMap_1)

def ContinuousMap.Homotopy.ctorIdx E1 #

{X : Type u} →
  {Y : Type v} → {inst : TopologicalSpace X} → {inst_1 : TopologicalSpace Y} → {f₀ f₁ : C(X, Y)} → f₀.Homotopy f₁ → ℕ

structure ContinuousMap.Homotopy E1 #

{X : Type u} →
  {Y : Type v} → [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → C(X, Y) → C(X, Y) → Type (max u v)

ContinuousMap.Homotopy f₀ f₁ is the type of homotopies from f₀ to f₁.

When possible, instead of parametrizing results over (f : ContinuousMap.Homotopy f₀ f₁), you should parametrize over {F : Type*} [HomotopyLike F f₀ f₁] (f : F).

When you extend this structure, make sure to extend ContinuousMap.HomotopyLike.

abbrev ContinuousMap.Homotopy.toContinuousMap E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] → {f₀ f₁ : C(X, Y)} → f₀.Homotopy f₁ → C(↑unitInterval × X, Y)

ctor ContinuousMap.Homotopy.mk E0 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] →
        {f₀ f₁ : C(X, Y)} →
          (toContinuousMap : C(↑unitInterval × X, Y)) →
            (∀ (x : X), toContinuousMap.toFun (0, x) = f₀ x) →
              (∀ (x : X), toContinuousMap.toFun (1, x) = f₁ x) → f₀.Homotopy f₁

theorem ContinuousMap.Homotopy.map_zero_left E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (self : f₀.Homotopy f₁) (x : X), self.toFun (0, x) = f₀ x

value of the homotopy at 0

theorem ContinuousMap.Homotopy.map_one_left E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (self : f₀.Homotopy f₁) (x : X), self.toFun (1, x) = f₁ x

value of the homotopy at 1

class ContinuousMap.HomotopyLike E1 #

{X : outParam (Type u_3)} →
  {Y : outParam (Type u_4)} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] →
        (F : Type u_5) → outParam C(X, Y) → outParam C(X, Y) → [FunLike F (↑unitInterval × X) Y] → Prop

ContinuousMap.HomotopyLike F f₀ f₁ states that F is a type of homotopies between f₀ and f₁.

You should extend this class when you extend ContinuousMap.Homotopy.

instance ContinuousMap.HomotopyLike.toContinuousMapClass E0 #

∀ {X : outParam (Type u_3)} {Y : outParam (Type u_4)} {inst : TopologicalSpace X} {inst_1 : TopologicalSpace Y}
  {F : Type u_5} {f₀ f₁ : outParam C(X, Y)} {inst_2 : FunLike F (↑unitInterval × X) Y}
  [self : ContinuousMap.HomotopyLike F f₀ f₁], ContinuousMapClass F (↑unitInterval × X) Y

ctor ContinuousMap.HomotopyLike.mk E0 #

∀ {X : outParam (Type u_3)} {Y : outParam (Type u_4)} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  {F : Type u_5} {f₀ f₁ : outParam C(X, Y)} [inst_2 : FunLike F (↑unitInterval × X) Y]
  [toContinuousMapClass : ContinuousMapClass F (↑unitInterval × X) Y],
  (∀ (f : F) (x : X), f (0, x) = f₀ x) → (∀ (f : F) (x : X), f (1, x) = f₁ x) → ContinuousMap.HomotopyLike F f₀ f₁

theorem ContinuousMap.HomotopyLike.map_zero_left E0 #

∀ {X : outParam (Type u_3)} {Y : outParam (Type u_4)} {inst : TopologicalSpace X} {inst_1 : TopologicalSpace Y}
  {F : Type u_5} {f₀ f₁ : outParam C(X, Y)} {inst_2 : FunLike F (↑unitInterval × X) Y}
  [self : ContinuousMap.HomotopyLike F f₀ f₁] (f : F) (x : X), f (0, x) = f₀ x

value of the homotopy at 0

theorem ContinuousMap.HomotopyLike.map_one_left E0 #

∀ {X : outParam (Type u_3)} {Y : outParam (Type u_4)} {inst : TopologicalSpace X} {inst_1 : TopologicalSpace Y}
  {F : Type u_5} {f₀ f₁ : outParam C(X, Y)} {inst_2 : FunLike F (↑unitInterval × X) Y}
  [self : ContinuousMap.HomotopyLike F f₀ f₁] (f : F) (x : X), f (1, x) = f₁ x

value of the homotopy at 1

instance ContinuousMap.Homotopy.instFunLike E0 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] → {f₀ f₁ : C(X, Y)} → FunLike (f₀.Homotopy f₁) (↑unitInterval × X) Y

instance ContinuousMap.Homotopy.instHomotopyLike E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)},
  ContinuousMap.HomotopyLike (f₀.Homotopy f₁) f₀ f₁

theorem ContinuousMap.Homotopy.ext E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  {F G : f₀.Homotopy f₁}, (∀ (x : ↑unitInterval × X), F x = G x) → F = G

theorem ContinuousMap.Homotopy.ext_iff E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  {F G : f₀.Homotopy f₁}, F = G ↔ ∀ (x : ↑unitInterval × X), F x = G x

def ContinuousMap.Homotopy.Simps.apply E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] → {f₀ f₁ : C(X, Y)} → f₀.Homotopy f₁ → ↑unitInterval × X → Y

See Note [custom simps projection]. We need to specify this projection explicitly in this case, because it is a composition of multiple projections.

theorem ContinuousMap.Homotopy.continuous E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (F : f₀.Homotopy f₁), Continuous ⇑F

Deprecated. Use map_continuous instead.

theorem ContinuousMap.Homotopy.apply_zero E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (F : f₀.Homotopy f₁) (x : X), F (0, x) = f₀ x

theorem ContinuousMap.Homotopy.apply_one E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (F : f₀.Homotopy f₁) (x : X), F (1, x) = f₁ x

theorem ContinuousMap.Homotopy.coe_toContinuousMap E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (F : f₀.Homotopy f₁), ⇑F.toContinuousMap = ⇑F

def ContinuousMap.Homotopy.curry E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] → {f₀ f₁ : C(X, Y)} → f₀.Homotopy f₁ → C(↑unitInterval, C(X, Y))

Currying a homotopy to a continuous function from I to C(X, Y).

theorem ContinuousMap.Homotopy.curry_apply E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (F : f₀.Homotopy f₁) (t : ↑unitInterval) (x : X), (F.curry t) x = F (t, x)

theorem ContinuousMap.Homotopy.curry_zero E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (F : f₀.Homotopy f₁), F.curry 0 = f₀

theorem ContinuousMap.Homotopy.curry_one E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (F : f₀.Homotopy f₁), F.curry 1 = f₁

def ContinuousMap.Homotopy.extend E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → {f₀ f₁ : C(X, Y)} → f₀.Homotopy f₁ → C(ℝ, C(X, Y))

Continuously extending a curried homotopy to a function from ℝ to C(X, Y).

theorem ContinuousMap.Homotopy.extend_apply_of_le_zero E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (F : f₀.Homotopy f₁) {t : ℝ}, t ≤ 0 → ∀ (x : X), (F.extend t) x = f₀ x

theorem ContinuousMap.Homotopy.extend_apply_of_one_le E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (F : f₀.Homotopy f₁) {t : ℝ}, 1 ≤ t → ∀ (x : X), (F.extend t) x = f₁ x

theorem ContinuousMap.Homotopy.extend_apply_coe E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (F : f₀.Homotopy f₁) (t : ↑unitInterval) (x : X), (F.extend ↑t) x = F (t, x)

theorem ContinuousMap.Homotopy.extend_of_mem_I E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (F : f₀.Homotopy f₁) {t : ℝ} (ht : t ∈ unitInterval), F.extend t = F.curry ⟨t, ht⟩

theorem ContinuousMap.Homotopy.extend_zero E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (F : f₀.Homotopy f₁), F.extend 0 = f₀

theorem ContinuousMap.Homotopy.extend_one E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (F : f₀.Homotopy f₁), F.extend 1 = f₁

theorem ContinuousMap.Homotopy.extend_apply_of_mem_I E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (F : f₀.Homotopy f₁) {t : ℝ} (ht : t ∈ unitInterval) (x : X), (F.extend t) x = F (⟨t, ht⟩, x)

theorem ContinuousMap.Homotopy.congr_fun E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  {F G : f₀.Homotopy f₁}, F = G → ∀ (x : ↑unitInterval × X), F x = G x

theorem ContinuousMap.Homotopy.congr_arg E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (F : f₀.Homotopy f₁) {x y : ↑unitInterval × X}, x = y → F x = F y

def ContinuousMap.Homotopy.refl E1 #

{X : Type u} → {Y : Type v} → [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → (f : C(X, Y)) → f.Homotopy f

Given a continuous function f, we can define a ContinuousMap.Homotopy f f by F (t, x) = f x

theorem ContinuousMap.Homotopy.refl_apply E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (f : C(X, Y))
  (x : ↑unitInterval × X), (ContinuousMap.Homotopy.refl f) x = f x.2

instance ContinuousMap.Homotopy.instInhabitedId E0 #

{X : Type u} → [inst : TopologicalSpace X] → Inhabited ((ContinuousMap.id X).Homotopy (ContinuousMap.id X))

def ContinuousMap.Homotopy.symm E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → {f₀ f₁ : C(X, Y)} → f₀.Homotopy f₁ → f₁.Homotopy f₀

Given a ContinuousMap.Homotopy f₀ f₁, we can define a ContinuousMap.Homotopy f₁ f₀ by reversing the homotopy.

theorem ContinuousMap.Homotopy.symm_apply E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (F : f₀.Homotopy f₁) (x : ↑unitInterval × X), F.symm x = F (unitInterval.symm x.1, x.2)

theorem ContinuousMap.Homotopy.symm_symm E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  (F : f₀.Homotopy f₁), F.symm.symm = F

theorem ContinuousMap.Homotopy.symm_bijective E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)},
  Function.Bijective ContinuousMap.Homotopy.symm

def ContinuousMap.Homotopy.trans E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] → {f₀ f₁ f₂ : C(X, Y)} → f₀.Homotopy f₁ → f₁.Homotopy f₂ → f₀.Homotopy f₂

Given ContinuousMap.Homotopy f₀ f₁ and ContinuousMap.Homotopy f₁ f₂, we can define a ContinuousMap.Homotopy f₀ f₂ by putting the first homotopy on [0, 1/2] and the second on [1/2, 1].

theorem ContinuousMap.Homotopy.trans_apply E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ f₂ : C(X, Y)}
  (F : f₀.Homotopy f₁) (G : f₁.Homotopy f₂) (x : ↑unitInterval × X),
  (F.trans G) x = if h : ↑x.1 ≤ 1 / 2 then F (⟨2 * ↑x.1, ⋯⟩, x.2) else G (⟨2 * ↑x.1 - 1, ⋯⟩, x.2)

theorem ContinuousMap.Homotopy.symm_trans E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ f₂ : C(X, Y)}
  (F : f₀.Homotopy f₁) (G : f₁.Homotopy f₂), (F.trans G).symm = G.symm.trans F.symm

def ContinuousMap.Homotopy.cast E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] → {f₀ f₁ g₀ g₁ : C(X, Y)} → f₀.Homotopy f₁ → f₀ = g₀ → f₁ = g₁ → g₀.Homotopy g₁

Casting a ContinuousMap.Homotopy f₀ f₁ to a ContinuousMap.Homotopy g₀ g₁ where f₀ = g₀ and f₁ = g₁.

theorem ContinuousMap.Homotopy.cast_apply E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ g₀ g₁ : C(X, Y)}
  (F : f₀.Homotopy f₁) (h₀ : f₀ = g₀) (h₁ : f₁ = g₁) (a : ↑unitInterval × X), (F.cast h₀ h₁) a = F a

def ContinuousMap.Homotopy.comp E1 #

{X : Type u} →
  {Y : Type v} →
    {Z : Type w} →
      [inst : TopologicalSpace X] →
        [inst_1 : TopologicalSpace Y] →
          [inst_2 : TopologicalSpace Z] →
            {f₀ f₁ : C(X, Y)} → {g₀ g₁ : C(Y, Z)} → g₀.Homotopy g₁ → f₀.Homotopy f₁ → (g₀.comp f₀).Homotopy (g₁.comp f₁)

If we have a ContinuousMap.Homotopy g₀ g₁ and a ContinuousMap.Homotopy f₀ f₁, then we can compose them and get a ContinuousMap.Homotopy (g₀.comp f₀) (g₁.comp f₁).

theorem ContinuousMap.Homotopy.comp_apply E0 #

∀ {X : Type u} {Y : Type v} {Z : Type w} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  [inst_2 : TopologicalSpace Z] {f₀ f₁ : C(X, Y)} {g₀ g₁ : C(Y, Z)} (G : g₀.Homotopy g₁) (F : f₀.Homotopy f₁)
  (x : ↑unitInterval × X), (G.comp F) x = G (x.1, F x)

def ContinuousMap.Homotopy.compContinuousMap E1 #

{X : Type u} →
  {Y : Type v} →
    {Z : Type w} →
      [inst : TopologicalSpace X] →
        [inst_1 : TopologicalSpace Y] →
          [inst_2 : TopologicalSpace Z] →
            {g₀ g₁ : C(Y, Z)} → g₀.Homotopy g₁ → (f : C(X, Y)) → (g₀.comp f).Homotopy (g₁.comp f)

Composition of a ContinuousMap.Homotopy g₀ g₁ and f : C(X, Y) as a homotopy between g₀.comp f and g₁.comp f.

theorem ContinuousMap.Homotopy.compContinuousMap_apply E0 #

∀ {X : Type u} {Y : Type v} {Z : Type w} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  [inst_2 : TopologicalSpace Z] {g₀ g₁ : C(Y, Z)} (G : g₀.Homotopy g₁) (f : C(X, Y)) (x : ↑unitInterval × X),
  (G.compContinuousMap f) x = G (x.1, f x.2)

def ContinuousMap.Homotopy.prodMk E1 #

{X : Type u} →
  {Y : Type v} →
    {Z : Type w} →
      [inst : TopologicalSpace X] →
        [inst_1 : TopologicalSpace Y] →
          [inst_2 : TopologicalSpace Z] →
            {f₀ f₁ : C(X, Y)} →
              {g₀ g₁ : C(X, Z)} → f₀.Homotopy f₁ → g₀.Homotopy g₁ → (f₀.prodMk g₀).Homotopy (f₁.prodMk g₁)

Let F be a homotopy between f₀ : C(X, Y) and f₁ : C(X, Y). Let G be a homotopy between g₀ : C(X, Z) and g₁ : C(X, Z). Then F.prodMk G is the homotopy between f₀.prodMk g₀ and f₁.prodMk g₁ that sends p to (F p, G p).

def ContinuousMap.Homotopy.prodMap E1 #

{X : Type u} →
  {Y : Type v} →
    {Z : Type w} →
      {Z' : Type x} →
        [inst : TopologicalSpace X] →
          [inst_1 : TopologicalSpace Y] →
            [inst_2 : TopologicalSpace Z] →
              [inst_3 : TopologicalSpace Z'] →
                {f₀ f₁ : C(X, Y)} →
                  {g₀ g₁ : C(Z, Z')} → f₀.Homotopy f₁ → g₀.Homotopy g₁ → (f₀.prodMap g₀).Homotopy (f₁.prodMap g₁)

Let F be a homotopy between f₀ : C(X, Y) and f₁ : C(X, Y). Let G be a homotopy between g₀ : C(Z, Z') and g₁ : C(Z, Z'). Then F.prodMap G is the homotopy between f₀.prodMap g₀ and f₁.prodMap g₁ that sends (t, x, z) to (F (t, x), G (t, z)).

def ContinuousMap.Homotopy.pi E1 #

{X : Type u} →
  {ι : Type u_2} →
    [inst : TopologicalSpace X] →
      {Y : ι → Type u_3} →
        [inst_1 : (i : ι) → TopologicalSpace (Y i)] →
          {f₀ f₁ : (i : ι) → C(X, Y i)} →
            ((i : ι) → (f₀ i).Homotopy (f₁ i)) → (ContinuousMap.pi f₀).Homotopy (ContinuousMap.pi f₁)

Given a family of homotopies F i between f₀ i : C(X, Y i) and f₁ i : C(X, Y i), returns a homotopy between ContinuousMap.pi f₀ and ContinuousMap.pi f₁.

def ContinuousMap.Homotopy.piMap E1 #

{ι : Type u_2} →
  {X : ι → Type u_3} →
    {Y : ι → Type u_4} →
      [inst : (i : ι) → TopologicalSpace (X i)] →
        [inst_1 : (i : ι) → TopologicalSpace (Y i)] →
          {f₀ f₁ : (i : ι) → C(X i, Y i)} →
            ((i : ι) → (f₀ i).Homotopy (f₁ i)) → (ContinuousMap.piMap f₀).Homotopy (ContinuousMap.piMap f₁)

Given a family of homotopies F i between f₀ i : C(X i, Y i) and f₁ i : C(X i, Y i), returns a homotopy between ContinuousMap.piMap f₀ and ContinuousMap.piMap f₁.

def ContinuousMap.Homotopic E1 #

{X : Type u} → {Y : Type v} → [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → C(X, Y) → C(X, Y) → Prop

Given continuous maps f₀ and f₁, we say f₀ and f₁ are homotopic if there exists a ContinuousMap.Homotopy f₀ f₁.

theorem ContinuousMap.Homotopic.refl E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (f : C(X, Y)), f.Homotopic f

theorem ContinuousMap.Homotopic.symm E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] ⦃f g : C(X, Y)⦄,
  f.Homotopic g → g.Homotopic f

theorem ContinuousMap.Homotopic.trans E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] ⦃f g h : C(X, Y)⦄,
  f.Homotopic g → g.Homotopic h → f.Homotopic h

theorem ContinuousMap.Homotopic.comp E1 #

∀ {X : Type u} {Y : Type v} {Z : Type w} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  [inst_2 : TopologicalSpace Z] {g₀ g₁ : C(Y, Z)} {f₀ f₁ : C(X, Y)},
  g₀.Homotopic g₁ → f₀.Homotopic f₁ → (g₀.comp f₀).Homotopic (g₁.comp f₁)

theorem ContinuousMap.Homotopic.equivalence E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y],
  Equivalence ContinuousMap.Homotopic

theorem ContinuousMap.Homotopic.prodMk E1 #

∀ {X : Type u} {Y : Type v} {Z : Type w} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  [inst_2 : TopologicalSpace Z] {f₀ f₁ : C(X, Y)} {g₀ g₁ : C(X, Z)},
  f₀.Homotopic f₁ → g₀.Homotopic g₁ → (f₀.prodMk g₀).Homotopic (f₁.prodMk g₁)

theorem ContinuousMap.Homotopic.prodMap E1 #

∀ {X : Type u} {Y : Type v} {Z : Type w} {Z' : Type x} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  [inst_2 : TopologicalSpace Z] [inst_3 : TopologicalSpace Z'] {f₀ f₁ : C(X, Y)} {g₀ g₁ : C(Z, Z')},
  f₀.Homotopic f₁ → g₀.Homotopic g₁ → (f₀.prodMap g₀).Homotopic (f₁.prodMap g₁)

theorem ContinuousMap.Homotopic.pi E1 #

∀ {X : Type u} {ι : Type u_2} [inst : TopologicalSpace X] {Y : ι → Type u_3} [inst_1 : (i : ι) → TopologicalSpace (Y i)]
  {f₀ f₁ : (i : ι) → C(X, Y i)},
  (∀ (i : ι), (f₀ i).Homotopic (f₁ i)) → (ContinuousMap.pi f₀).Homotopic (ContinuousMap.pi f₁)

If each f₀ i : C(X, Y i) is homotopic to f₁ i : C(X, Y i), then ContinuousMap.pi f₀ is homotopic to ContinuousMap.pi f₁.

theorem ContinuousMap.Homotopic.piMap E1 #

∀ {ι : Type u_2} {X : ι → Type u_3} {Y : ι → Type u_4} [inst : (i : ι) → TopologicalSpace (X i)]
  [inst_1 : (i : ι) → TopologicalSpace (Y i)] {f₀ f₁ : (i : ι) → C(X i, Y i)},
  (∀ (i : ι), (f₀ i).Homotopic (f₁ i)) → (ContinuousMap.piMap f₀).Homotopic (ContinuousMap.piMap f₁)

If each f₀ i : C(X, Y i) is homotopic to f₁ i : C(X, Y i), then ContinuousMap.pi f₀ is homotopic to ContinuousMap.pi f₁.

structure ContinuousMap.HomotopyWith E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → C(X, Y) → C(X, Y) → (C(X, Y) → Prop) → Type (max u v)

The type of homotopies between f₀ f₁ : C(X, Y), where the intermediate maps satisfy the predicate P : C(X, Y) → Prop

ctor ContinuousMap.HomotopyWith.mk E0 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] →
        {f₀ f₁ : C(X, Y)} →
          {P : C(X, Y) → Prop} →
            (toHomotopy : f₀.Homotopy f₁) →
              (∀ (t : ↑unitInterval), P { toFun := fun x ↦ toHomotopy.toFun (t, x), continuous_toFun := ⋯ }) →
                f₀.HomotopyWith f₁ P

abbrev ContinuousMap.HomotopyWith.toHomotopy E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] → {f₀ f₁ : C(X, Y)} → {P : C(X, Y) → Prop} → f₀.HomotopyWith f₁ P → f₀.Homotopy f₁

theorem ContinuousMap.HomotopyWith.prop' E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  {P : C(X, Y) → Prop} (self : f₀.HomotopyWith f₁ P) (t : ↑unitInterval),
  P { toFun := fun x ↦ self.toFun (t, x), continuous_toFun := ⋯ }

the intermediate maps of the homotopy satisfy the property

instance ContinuousMap.HomotopyWith.instFunLike E0 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] →
        {f₀ f₁ : C(X, Y)} → {P : C(X, Y) → Prop} → FunLike (f₀.HomotopyWith f₁ P) (↑unitInterval × X) Y

instance ContinuousMap.HomotopyWith.instHomotopyLike E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  {P : C(X, Y) → Prop}, ContinuousMap.HomotopyLike (f₀.HomotopyWith f₁ P) f₀ f₁

theorem ContinuousMap.HomotopyWith.coeFn_injective E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  {P : C(X, Y) → Prop}, Function.Injective DFunLike.coe

theorem ContinuousMap.HomotopyWith.ext_iff E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  {P : C(X, Y) → Prop} {F G : f₀.HomotopyWith f₁ P}, F = G ↔ ∀ (x : ↑unitInterval × X), F x = G x

theorem ContinuousMap.HomotopyWith.ext E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  {P : C(X, Y) → Prop} {F G : f₀.HomotopyWith f₁ P}, (∀ (x : ↑unitInterval × X), F x = G x) → F = G

def ContinuousMap.HomotopyWith.Simps.apply E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] →
        {f₀ f₁ : C(X, Y)} → {P : C(X, Y) → Prop} → f₀.HomotopyWith f₁ P → ↑unitInterval × X → Y

See Note [custom simps projection]. We need to specify this projection explicitly in this case, because it is a composition of multiple projections.

theorem ContinuousMap.HomotopyWith.continuous E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  {P : C(X, Y) → Prop} (F : f₀.HomotopyWith f₁ P), Continuous ⇑F

theorem ContinuousMap.HomotopyWith.apply_zero E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  {P : C(X, Y) → Prop} (F : f₀.HomotopyWith f₁ P) (x : X), F (0, x) = f₀ x

theorem ContinuousMap.HomotopyWith.apply_one E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  {P : C(X, Y) → Prop} (F : f₀.HomotopyWith f₁ P) (x : X), F (1, x) = f₁ x

theorem ContinuousMap.HomotopyWith.coe_toContinuousMap E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  {P : C(X, Y) → Prop} (F : f₀.HomotopyWith f₁ P), ⇑F.toContinuousMap = ⇑F

theorem ContinuousMap.HomotopyWith.coe_toHomotopy E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  {P : C(X, Y) → Prop} (F : f₀.HomotopyWith f₁ P), ⇑F.toHomotopy = ⇑F

theorem ContinuousMap.HomotopyWith.prop E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  {P : C(X, Y) → Prop} (F : f₀.HomotopyWith f₁ P) (t : ↑unitInterval), P (F.curry t)

theorem ContinuousMap.HomotopyWith.extendProp E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)}
  {P : C(X, Y) → Prop} (F : f₀.HomotopyWith f₁ P) (t : ℝ), P (F.extend t)

def ContinuousMap.HomotopyWith.refl E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] → {P : C(X, Y) → Prop} → (f : C(X, Y)) → P f → f.HomotopyWith f P

Given a continuous function f, and a proof h : P f, we can define a HomotopyWith f f P by F (t, x) = f x

theorem ContinuousMap.HomotopyWith.refl_apply E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {P : C(X, Y) → Prop} (f : C(X, Y))
  (hf : P f) (x : ↑unitInterval × X), (ContinuousMap.HomotopyWith.refl f hf) x = f x.2

instance ContinuousMap.HomotopyWith.instInhabitedIdTrue E0 #

{X : Type u} →
  [inst : TopologicalSpace X] → Inhabited ((ContinuousMap.id X).HomotopyWith (ContinuousMap.id X) fun x ↦ True)

def ContinuousMap.HomotopyWith.symm E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] →
        {P : C(X, Y) → Prop} → {f₀ f₁ : C(X, Y)} → f₀.HomotopyWith f₁ P → f₁.HomotopyWith f₀ P

Given a HomotopyWith f₀ f₁ P, we can define a HomotopyWith f₁ f₀ P by reversing the homotopy.

theorem ContinuousMap.HomotopyWith.symm_apply E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {P : C(X, Y) → Prop}
  {f₀ f₁ : C(X, Y)} (F : f₀.HomotopyWith f₁ P) (x : ↑unitInterval × X), F.symm x = F (unitInterval.symm x.1, x.2)

theorem ContinuousMap.HomotopyWith.symm_symm E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {P : C(X, Y) → Prop}
  {f₀ f₁ : C(X, Y)} (F : f₀.HomotopyWith f₁ P), F.symm.symm = F

theorem ContinuousMap.HomotopyWith.symm_bijective E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {P : C(X, Y) → Prop}
  {f₀ f₁ : C(X, Y)}, Function.Bijective ContinuousMap.HomotopyWith.symm

def ContinuousMap.HomotopyWith.trans E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] →
        {P : C(X, Y) → Prop} → {f₀ f₁ f₂ : C(X, Y)} → f₀.HomotopyWith f₁ P → f₁.HomotopyWith f₂ P → f₀.HomotopyWith f₂ P

Given HomotopyWith f₀ f₁ P and HomotopyWith f₁ f₂ P, we can define a HomotopyWith f₀ f₂ P by putting the first homotopy on [0, 1/2] and the second on [1/2, 1].

theorem ContinuousMap.HomotopyWith.trans_apply E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {P : C(X, Y) → Prop}
  {f₀ f₁ f₂ : C(X, Y)} (F : f₀.HomotopyWith f₁ P) (G : f₁.HomotopyWith f₂ P) (x : ↑unitInterval × X),
  (F.trans G) x = if h : ↑x.1 ≤ 1 / 2 then F (⟨2 * ↑x.1, ⋯⟩, x.2) else G (⟨2 * ↑x.1 - 1, ⋯⟩, x.2)

theorem ContinuousMap.HomotopyWith.symm_trans E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {P : C(X, Y) → Prop}
  {f₀ f₁ f₂ : C(X, Y)} (F : f₀.HomotopyWith f₁ P) (G : f₁.HomotopyWith f₂ P), (F.trans G).symm = G.symm.trans F.symm

def ContinuousMap.HomotopyWith.cast E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] →
        {P : C(X, Y) → Prop} → {f₀ f₁ g₀ g₁ : C(X, Y)} → f₀.HomotopyWith f₁ P → f₀ = g₀ → f₁ = g₁ → g₀.HomotopyWith g₁ P

Casting a HomotopyWith f₀ f₁ P to a HomotopyWith g₀ g₁ P where f₀ = g₀ and f₁ = g₁.

theorem ContinuousMap.HomotopyWith.cast_apply E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {P : C(X, Y) → Prop}
  {f₀ f₁ g₀ g₁ : C(X, Y)} (F : f₀.HomotopyWith f₁ P) (h₀ : f₀ = g₀) (h₁ : f₁ = g₁) (a : ↑unitInterval × X),
  (F.cast h₀ h₁) a = F a

def ContinuousMap.HomotopicWith E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → C(X, Y) → C(X, Y) → (C(X, Y) → Prop) → Prop

Given continuous maps f₀ and f₁, we say f₀ and f₁ are homotopic with respect to the predicate P if there exists a HomotopyWith f₀ f₁ P.

theorem ContinuousMap.HomotopicWith.refl E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {P : C(X, Y) → Prop}
  (f : C(X, Y)), P f → f.HomotopicWith f P

theorem ContinuousMap.HomotopicWith.symm E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {P : C(X, Y) → Prop}
  ⦃f g : C(X, Y)⦄, f.HomotopicWith g P → g.HomotopicWith f P

theorem ContinuousMap.HomotopicWith.trans E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {P : C(X, Y) → Prop}
  ⦃f g h : C(X, Y)⦄, f.HomotopicWith g P → g.HomotopicWith h P → f.HomotopicWith h P

abbrev ContinuousMap.HomotopyRel E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → C(X, Y) → C(X, Y) → Set X → Type (max u v)

A HomotopyRel f₀ f₁ S is a homotopy between f₀ and f₁ which is fixed on the points in S.

theorem ContinuousMap.HomotopyRel.fst_eq_snd E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)} {S : Set X}
  (F : f₀.HomotopyRel f₁ S) {x : X}, x ∈ S → f₀ x = f₁ x

def ContinuousMap.HomotopyRel.refl E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → (f : C(X, Y)) → (S : Set X) → f.HomotopyRel f S

Given a map f : C(X, Y) and a set S, we can define a HomotopyRel f f S by setting F (t, x) = f x for all t. This is defined using HomotopyWith.refl, but with the proof filled in.

theorem ContinuousMap.HomotopyRel.refl_apply E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (f : C(X, Y)) (S : Set X)
  (x : ↑unitInterval × X), (ContinuousMap.HomotopyRel.refl f S) x = f x.2

def ContinuousMap.HomotopyRel.symm E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] → {f₀ f₁ : C(X, Y)} → {S : Set X} → f₀.HomotopyRel f₁ S → f₁.HomotopyRel f₀ S

Given a HomotopyRel f₀ f₁ S, we can define a HomotopyRel f₁ f₀ S by reversing the homotopy.

theorem ContinuousMap.HomotopyRel.symm_apply E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)} {S : Set X}
  (F : f₀.HomotopyRel f₁ S) (x : ↑unitInterval × X), F.symm x = F (unitInterval.symm x.1, x.2)

theorem ContinuousMap.HomotopyRel.symm_symm E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)} {S : Set X}
  (F : f₀.HomotopyRel f₁ S), F.symm.symm = F

theorem ContinuousMap.HomotopyRel.symm_bijective E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)} {S : Set X},
  Function.Bijective ContinuousMap.HomotopyRel.symm

def ContinuousMap.HomotopyRel.trans E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] →
        {f₀ f₁ f₂ : C(X, Y)} → {S : Set X} → f₀.HomotopyRel f₁ S → f₁.HomotopyRel f₂ S → f₀.HomotopyRel f₂ S

Given HomotopyRel f₀ f₁ S and HomotopyRel f₁ f₂ S, we can define a HomotopyRel f₀ f₂ S by putting the first homotopy on [0, 1/2] and the second on [1/2, 1].

theorem ContinuousMap.HomotopyRel.trans_apply E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ f₂ : C(X, Y)} {S : Set X}
  (F : f₀.HomotopyRel f₁ S) (G : f₁.HomotopyRel f₂ S) (x : ↑unitInterval × X),
  (F.trans G) x = if h : ↑x.1 ≤ 1 / 2 then F (⟨2 * ↑x.1, ⋯⟩, x.2) else G (⟨2 * ↑x.1 - 1, ⋯⟩, x.2)

theorem ContinuousMap.HomotopyRel.symm_trans E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ f₂ : C(X, Y)} {S : Set X}
  (F : f₀.HomotopyRel f₁ S) (G : f₁.HomotopyRel f₂ S), (F.trans G).symm = G.symm.trans F.symm

def ContinuousMap.HomotopyRel.cast E1 #

{X : Type u} →
  {Y : Type v} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] →
        {S : Set X} → {f₀ f₁ g₀ g₁ : C(X, Y)} → f₀.HomotopyRel f₁ S → f₀ = g₀ → f₁ = g₁ → g₀.HomotopyRel g₁ S

Casting a HomotopyRel f₀ f₁ S to a HomotopyRel g₀ g₁ S where f₀ = g₀ and f₁ = g₁.

theorem ContinuousMap.HomotopyRel.cast_apply E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {S : Set X}
  {f₀ f₁ g₀ g₁ : C(X, Y)} (F : f₀.HomotopyRel f₁ S) (h₀ : f₀ = g₀) (h₁ : f₁ = g₁) (a : ↑unitInterval × X),
  (F.cast h₀ h₁) a = F a

def ContinuousMap.HomotopyRel.compContinuousMap E1 #

{X : Type u} →
  {Y : Type v} →
    {Z : Type w} →
      [inst : TopologicalSpace X] →
        [inst_1 : TopologicalSpace Y] →
          [inst_2 : TopologicalSpace Z] →
            {S : Set X} →
              {f₀ f₁ : C(X, Y)} → f₀.HomotopyRel f₁ S → (g : C(Y, Z)) → (g.comp f₀).HomotopyRel (g.comp f₁) S

Post-compose a homotopy relative to a set by a continuous function.

theorem ContinuousMap.HomotopyRel.compContinuousMap_apply E0 #

∀ {X : Type u} {Y : Type v} {Z : Type w} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  [inst_2 : TopologicalSpace Z] {S : Set X} {f₀ f₁ : C(X, Y)} (F : f₀.HomotopyRel f₁ S) (g : C(Y, Z))
  (x : ↑unitInterval × X), (F.compContinuousMap g) x = g (F x)

def ContinuousMap.HomotopicRel E1 #

{X : Type u} →
  {Y : Type v} → [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → C(X, Y) → C(X, Y) → Set X → Prop

Given continuous maps f₀ and f₁, we say f₀ and f₁ are homotopic relative to a set S if there exists a HomotopyRel f₀ f₁ S.

theorem ContinuousMap.HomotopicRel.homotopic E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {S : Set X} {f₀ f₁ : C(X, Y)},
  f₀.HomotopicRel f₁ S → f₀.Homotopic f₁

If two maps are homotopic relative to a set, then they are homotopic.

theorem ContinuousMap.HomotopicRel.fst_eq_snd E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {S : Set X} ⦃f₀ f₁ : C(X, Y)⦄,
  f₀.HomotopicRel f₁ S → ∀ {x : X}, x ∈ S → f₀ x = f₁ x

If two maps are homotopic relative to a set, then they agree on it.

theorem ContinuousMap.HomotopicRel.refl E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {S : Set X} (f : C(X, Y)),
  f.HomotopicRel f S

theorem ContinuousMap.HomotopicRel.symm E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {S : Set X} ⦃f g : C(X, Y)⦄,
  f.HomotopicRel g S → g.HomotopicRel f S

theorem ContinuousMap.HomotopicRel.trans E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {S : Set X} ⦃f g h : C(X, Y)⦄,
  f.HomotopicRel g S → g.HomotopicRel h S → f.HomotopicRel h S

theorem ContinuousMap.HomotopicRel.equivalence E1 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {S : Set X},
  Equivalence fun f g ↦ f.HomotopicRel g S

theorem ContinuousMap.HomotopicRel.comp_continuousMap E1 #

∀ {X : Type u} {Y : Type v} {Z : Type w} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
  [inst_2 : TopologicalSpace Z] {S : Set X} ⦃f₀ f₁ : C(X, Y)⦄,
  f₀.HomotopicRel f₁ S → ∀ (g : C(Y, Z)), (g.comp f₀).HomotopicRel (g.comp f₁) S

theorem ContinuousMap.homotopicRel_empty E0 #

∀ {X : Type u} {Y : Type v} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f₀ f₁ : C(X, Y)},
  f₀.HomotopicRel f₁ ∅ ↔ f₀.Homotopic f₁