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.AlgebraicTopology.FundamentalGroupoid.InducedMaps

17 declarations and 1 deprecated aliases. Mathlib docs · Source

Homotopic maps induce naturally isomorphic functors

Main definitions

  • FundamentalGroupoidFunctor.homotopicMapsNatIso H The natural isomorphism between the induced functors f : π(X) ⥤ π(Y) and g : π(X) ⥤ π(Y), given a homotopy H : f ∼ g

  • FundamentalGroupoidFunctor.equivOfHomotopyEquiv hequiv The equivalence of the categories π(X) and π(Y) given a homotopy equivalence hequiv : X ≃ₕ Y between them.

Old proof

The rest of the file contains definitions and theorems required to write the same proof in a slightly different manner.

The proof was rewritten in 2025 for two reasons:

  • the new proof is much more straightforward;
  • the new proof is fully universe polymorphic.

TODO: review which of these definitions and theorems are useful for other reasons, then deprecate the rest of them.

These definitions set up the following diagram, for each path p:

            f(p)
        *--------*
        | \      |
    H₀  |   \ d  |  H₁
        |     \  |
        *--------*
            g(p)

Here, H₀ = H.evalAt x₀ is the path from f(x₀) to g(x₀), and similarly for H₁. Similarly, f(p) denotes the path in Y that the induced map f takes p, and similarly for g(p).

Finally, d, the diagonal path, is H(0 ⟶ 1, p), the result of the induced H on Path.Homotopic.prod (0 ⟶ 1) p, where (0 ⟶ 1) denotes the path from 0 to 1 in I.

It is clear that the diagram commutes (H₀ ≫ g(p) = d = f(p) ≫ H₁), but unfortunately, many of the paths do not have defeq starting/ending points, so we end up needing some casting.

theorem Path.Homotopic.map_trans_evalAt E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f g : C(X, Y)}
  (F : f.Homotopy g) {x₁ x₂ : X} (p : Path x₁ x₂),
  ((p.map ⋯).trans (F.evalAt x₂)).Homotopic ((F.evalAt x₁).trans (p.map ⋯))

Let F be a homotopy between two continuous maps f g : C(X, Y). Given a path p : Path x₁ x₂ in the domain, consider the following two paths in the codomain. One path goes along the image of p under f, then along the trajectory of x₂ under F. The other path goes along the trajectory of x₁ under F, then along the image of p under g.

These two paths are homotopic.

def FundamentalGroupoidFunctor.homotopicMapsNatIso E1 #

{X : Type u_1} →
  {Y : Type u_2} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] →
        {f g : C(X, Y)} → f.Homotopy g → (FundamentalGroupoid.map f ⟶ FundamentalGroupoid.map g)

Given a homotopy H : f ∼ g, we have an associated natural isomorphism between the induced functors map f and map g on fundamental groupoids.

instance FundamentalGroupoidFunctor.instIsIsoFunctorFundamentalGroupoidHomotopicMapsNatIso E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f g : C(X, Y)}
  (H : f.Homotopy g), CategoryTheory.IsIso (FundamentalGroupoidFunctor.homotopicMapsNatIso H)

def FundamentalGroupoidFunctor.equivOfHomotopyEquiv E1 #

{X : Type u_3} →
  {Y : Type u_4} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] →
        ContinuousMap.HomotopyEquiv X Y →
          (↑(FundamentalGroupoid.fundamentalGroupoidFunctor.obj ↧X) ≌
            ↑(FundamentalGroupoid.fundamentalGroupoidFunctor.obj ↧Y))

Homotopy equivalent topological spaces have equivalent fundamental groupoids.

def unitInterval.upath01 E1 #

Path { down := 0 } { down := 1 }

The path 0 ⟶ 1 in ULift I

def unitInterval.uhpath01 E1 #

FundamentalGroupoid.fromTop { down := 0 } ⟶ FundamentalGroupoid.fromTop { down := 1 }

The homotopy path class of 0 → 1 in ULift I

abbrev ContinuousMap.Homotopy.hcast E1 #

{X : TopCat} → {x₀ x₁ : ↑X} → x₀ = x₁ → (FundamentalGroupoid.fromTop x₀ ⟶ FundamentalGroupoid.fromTop x₁)

Abbreviation for eqToHom that accepts points in a topological space

theorem ContinuousMap.Homotopy.hcast_def E0 #

∀ {X : TopCat} {x₀ x₁ : ↑X} (hx₀ : x₀ = x₁), ContinuousMap.Homotopy.hcast hx₀ = CategoryTheory.eqToHom ⋯

theorem ContinuousMap.Homotopy.heq_path_of_eq_image E1 #

∀ {X₁ X₂ Y : TopCat} {f : C(↑X₁, ↑Y)} {g : C(↑X₂, ↑Y)} {x₀ x₁ : ↑X₁} {x₂ x₃ : ↑X₂} {p : Path x₀ x₁} {q : Path x₂ x₃},
  (∀ (t : ↑unitInterval), f (p t) = g (q t)) →
    (FundamentalGroupoid.fundamentalGroupoidFunctor.map (TopCat.ofHom f)).map ⟦p⟧ ≍
      (FundamentalGroupoid.fundamentalGroupoidFunctor.map (TopCat.ofHom g)).map ⟦q⟧

If f(p(t) = g(q(t)) for two paths p and q, then the induced path homotopy classes f(p) and g(p) are the same as well, despite having a priori different types

def ContinuousMap.Homotopy.uliftMap E1 #

{X Y : TopCat} → {f g : C(↑X, ↑Y)} → f.Homotopy g → C(↑↧(ULift.{u, 0} ↑unitInterval × ↑X), ↑Y)

Interpret a homotopy H : C(I × X, Y) as a map C(ULift I × X, Y)

theorem ContinuousMap.Homotopy.ulift_apply E0 #

∀ {X Y : TopCat} {f g : C(↑X, ↑Y)} (H : f.Homotopy g) (i : ULift.{u, 0} ↑unitInterval) (x : ↑X),
  H.uliftMap (i, x) = H (i.down, x)

abbrev ContinuousMap.Homotopy.prodToProdTopI E1 #

{X : TopCat} →
  {a₁ a₂ : ↑↧(ULift.{u, 0} ↑unitInterval)} →
    {b₁ b₂ : ↑X} →
      (FundamentalGroupoid.fromTop a₁ ⟶ FundamentalGroupoid.fromTop a₂) →
        (FundamentalGroupoid.fromTop b₁ ⟶ FundamentalGroupoid.fromTop b₂) →
          ((FundamentalGroupoidFunctor.prodToProdTop (↧(ULift.{u, 0} ↑unitInterval)) X).obj
              ({ as := a₁ }, { as := b₁ }) ⟶
            (FundamentalGroupoidFunctor.prodToProdTop (↧(ULift.{u, 0} ↑unitInterval)) X).obj
              ({ as := a₂ }, { as := b₂ }))

An abbreviation for prodToProdTop, with some types already in place to help the typechecker. In particular, the first path should be on the ulifted unit interval.

def ContinuousMap.Homotopy.diagonalPath E1 #

{X Y : TopCat} →
  {f g : C(↑X, ↑Y)} →
    (H : f.Homotopy g) →
      {x₀ x₁ : ↑X} →
        (FundamentalGroupoid.fromTop x₀ ⟶ FundamentalGroupoid.fromTop x₁) →
          (FundamentalGroupoid.fromTop (H (0, x₀)) ⟶ FundamentalGroupoid.fromTop (H (1, x₁)))

The diagonal path d of a homotopy H on a path p

def ContinuousMap.Homotopy.diagonalPath' E1 #

{X Y : TopCat} →
  {f g : C(↑X, ↑Y)} →
    f.Homotopy g →
      {x₀ x₁ : ↑X} →
        (FundamentalGroupoid.fromTop x₀ ⟶ FundamentalGroupoid.fromTop x₁) →
          (FundamentalGroupoid.fromTop (f x₀) ⟶ FundamentalGroupoid.fromTop (g x₁))

The diagonal path, but starting from f x₀ and going to g x₁

theorem ContinuousMap.Homotopy.apply_zero_path E1 #

∀ {X Y : TopCat} {f g : C(↑X, ↑Y)} (H : f.Homotopy g) {x₀ x₁ : ↑X}
  (p : FundamentalGroupoid.fromTop x₀ ⟶ FundamentalGroupoid.fromTop x₁),
  (FundamentalGroupoid.fundamentalGroupoidFunctor.map (TopCat.ofHom f)).map p =
    CategoryTheory.CategoryStruct.comp (ContinuousMap.Homotopy.hcast ⋯)
      (CategoryTheory.CategoryStruct.comp
        ((FundamentalGroupoid.fundamentalGroupoidFunctor.map (TopCat.ofHom H.uliftMap)).map
          (ContinuousMap.Homotopy.prodToProdTopI
            (CategoryTheory.CategoryStruct.id (FundamentalGroupoid.fromTop { down := 0 })) p))
        (ContinuousMap.Homotopy.hcast ⋯))

Proof that f(p) = H(0 ⟶ 0, p), with the appropriate casts

theorem ContinuousMap.Homotopy.apply_one_path E1 #

∀ {X Y : TopCat} {f g : C(↑X, ↑Y)} (H : f.Homotopy g) {x₀ x₁ : ↑X}
  (p : FundamentalGroupoid.fromTop x₀ ⟶ FundamentalGroupoid.fromTop x₁),
  (FundamentalGroupoid.fundamentalGroupoidFunctor.map (TopCat.ofHom g)).map p =
    CategoryTheory.CategoryStruct.comp (ContinuousMap.Homotopy.hcast ⋯)
      (CategoryTheory.CategoryStruct.comp
        ((FundamentalGroupoid.fundamentalGroupoidFunctor.map (TopCat.ofHom H.uliftMap)).map
          (ContinuousMap.Homotopy.prodToProdTopI
            (CategoryTheory.CategoryStruct.id (FundamentalGroupoid.fromTop { down := 1 })) p))
        (ContinuousMap.Homotopy.hcast ⋯))

Proof that g(p) = H(1 ⟶ 1, p), with the appropriate casts

theorem ContinuousMap.Homotopy.evalAt_eq E0 #

∀ {X Y : TopCat} {f g : C(↑X, ↑Y)} (H : f.Homotopy g) (x : ↑X),
  ⟦H.evalAt x⟧ =
    CategoryTheory.CategoryStruct.comp (ContinuousMap.Homotopy.hcast ⋯)
      (CategoryTheory.CategoryStruct.comp
        ((FundamentalGroupoid.fundamentalGroupoidFunctor.map (TopCat.ofHom H.uliftMap)).map
          (ContinuousMap.Homotopy.prodToProdTopI unitInterval.uhpath01
            (CategoryTheory.CategoryStruct.id (FundamentalGroupoid.fromTop x))))
        (ContinuousMap.Homotopy.hcast ⋯))

Proof that H.evalAt x = H(0 ⟶ 1, x ⟶ x), with the appropriate casts

Deprecated aliases

NameNew nameSince
unitInterval.path01Path.id2026-10-07