/-- The free/forgetful adjunction between `PointedToBipointed_snd` and `BipointedToPointed_snd`.
-/
def pointedToBipointedSndBipointedToPointedSndAdjunction :
    pointedToBipointedSnd ⊣ bipointedToPointedSnd :=
  Adjunction.mkOfHomEquiv
    { homEquiv := fun X Y =>
        { toFun := fun f => ⟨f.toFun ∘ Option.some, f.map_snd⟩
          invFun := fun f => ⟨fun o => o.elim Y.toProd.1 f.toFun, rfl, f.map_point⟩
          left_inv := fun f => by
            apply Bipointed.Hom.ext
            funext x
            cases x
            · exact f.map_fst.symm
            · rfl
          right_inv := fun f => Pointed.Hom.ext _ _ rfl }
      homEquiv_naturality_left_symm := fun f g => by
        apply Bipointed.Hom.ext
        funext x
        

Proof state:
case toFun.h
α : Type u_1
β : Type u_2
X'✝ X✝ : Pointed
Y✝ : Bipointed
f : X'✝ ⟶ X✝
g : X✝ ⟶ bipointedToPointedSnd.obj Y✝
x : (pointedToBipointedSnd.obj X'✝).X
⊢ Bipointed.Hom.toFun
      (((fun X Y =>
              {
                toFun := fun f =>
                  { toFun := f.toFun ∘ some,
                    map_point := (_ : Bipointed.Hom.toFun f (pointedToBipointedSnd.obj X).toProd.2 = Y.toProd.2) },
                invFun := fun f =>
                  { toFun := fun o => Option.elim o Y.toProd.1 f.toFun,
                    map_fst :=
                      (_ :
                        (fun o => Option.elim o Y.toProd.1 f.toFun) (pointedToBipointedSnd.obj X).toProd.1 =
                          (fun o => Option.elim o Y.toProd.1 f.toFun) (pointedToBipointedSnd.obj X).toProd.1),
                    map_snd := (_ : Pointed.Hom.toFun f X.point = (bipointedToPointedSnd.obj Y).point) },
                left_inv :=
                  (_ :
                    ∀ (f : pointedToBipointedSnd.obj X ⟶ Y),
                      (fun f =>
                            { toFun := fun o => Option.elim o Y.toProd.1 f.toFun,
                              map_fst :=
                                (_ :
                                  (fun o => Option.elim o Y.toProd.1 f.toFun) (pointedToBipointedSnd.obj X).toProd.1 =
                                    (fun o => Option.elim o Y.toProd.1 f.toFun) (pointedToBipointedSnd.obj X).toProd.1),
                              map_snd := (_ : Pointed.Hom.toFun f X.point = (bipointedToPointedSnd.obj Y).point) })
                          ((fun f =>
                              { toFun := f.toFun ∘ some,
                                map_point :=
                                  (_ : Bipointed.Hom.toFun f (pointedToBipointedSnd.obj X).toProd.2 = Y.toProd.2) })
                            f) =
                        f),
                right_inv :=
                  (_ :
                    ∀ (f : X ⟶ bipointedToPointedSnd.obj Y),
                      (fun f =>
                            { toFun := f.toFun ∘ some,
                              map_point :=
                                (_ : Bipointed.Hom.toFun f (pointedToBipointedSnd.obj X).toProd.2 = Y.toProd.2) })
                          ((fun f =>
                              { toFun := fun o => Option.elim o Y.toProd.1 f.toFun,
                                map_fst :=
                                  (_ :
                                    (fun o => Option.elim o Y.toProd.1 f.toFun) (pointedToBipointedSnd.obj X).toProd.1 =
                                      (fun o => Option.elim o Y.toProd.1 f.toFun)
                                        (pointedToBipointedSnd.obj X).toProd.1),
                                map_snd := (_ : Pointed.Hom.toFun f X.point = (bipointedToPointedSnd.obj Y).point) })
                            f) =
                        f) })
            X'✝ Y✝).symm
        (f ≫ g))
      x =
    Bipointed.Hom.toFun
      (pointedToBipointedSnd.map f ≫
        ((fun X Y =>
                {
                  toFun := fun f =>
                    { toFun := f.toFun ∘ some,
                      map_point := (_ : Bipointed.Hom.toFun f (pointedToBipointedSnd.obj X).toProd.2 = Y.toProd.2) },
                  invFun := fun f =>
                    { toFun := fun o => Option.elim o Y.toProd.1 f.toFun,
                      map_fst :=
                        (_ :
                          (fun o => Option.elim o Y.toProd.1 f.toFun) (pointedToBipointedSnd.obj X).toProd.1 =
                            (fun o => Option.elim o Y.toProd.1 f.toFun) (pointedToBipointedSnd.obj X).toProd.1),
                      map_snd := (_ : Pointed.Hom.toFun f X.point = (bipointedToPointedSnd.obj Y).point) },
                  left_inv :=
                    (_ :
                      ∀ (f : pointedToBipointedSnd.obj X ⟶ Y),
                        (fun f =>
                              { toFun := fun o => Option.elim o Y.toProd.1 f.toFun,
                                map_fst :=
                                  (_ :
                                    (fun o => Option.elim o Y.toProd.1 f.toFun) (pointedToBipointedSnd.obj X).toProd.1 =
                                      (fun o => Option.elim o Y.toProd.1 f.toFun)
                                        (pointedToBipointedSnd.obj X).toProd.1),
                                map_snd := (_ : Pointed.Hom.toFun f X.point = (bipointedToPointedSnd.obj Y).point) })
                            ((fun f =>
                                { toFun := f.toFun ∘ some,
                                  map_point :=
                                    (_ : Bipointed.Hom.toFun f (pointedToBipointedSnd.obj X).toProd.2 = Y.toProd.2) })
                              f) =
                          f),
                  right_inv :=
                    (_ :
                      ∀ (f : X ⟶ bipointedToPointedSnd.obj Y),
                        (fun f =>
                              { toFun := f.toFun ∘ some,
                                map_point :=
                                  (_ : Bipointed.Hom.toFun f (pointedToBipointedSnd.obj X).toProd.2 = Y.toProd.2) })
                            ((fun f =>
                                { toFun := fun o => Option.elim o Y.toProd.1 f.toFun,
                                  map_fst :=
                                    (_ :
                                      (fun o => Option.elim o Y.toProd.1 f.toFun)
                                          (pointedToBipointedSnd.obj X).toProd.1 =
                                        (fun o => Option.elim o Y.toProd.1 f.toFun)
                                          (pointedToBipointedSnd.obj X).toProd.1),
                                  map_snd := (_ : Pointed.Hom.toFun f X.point = (bipointedToPointedSnd.obj Y).point) })
                              f) =
                          f) })
              X✝ Y✝).symm
          g)
      x

Next tactic:
cases x