-- Module: Mathlib.CategoryTheory.WithTerminal.Basic
Goal:
C : Type u
inst : Category.{v, u} C
x : (WithInitial C)ᵒᵖ
⊢ Eq (α :=
    Quiver.Hom (V := WithTerminal Cᵒᵖ)
      (match (motive := (WithInitial C)ᵒᵖ → WithTerminal Cᵒᵖ) op star with
        | op x =>
          match (motive := WithInitial C → WithTerminal Cᵒᵖ) x with
          | of x => WithTerminal.of (op x)
          | star => WithTerminal.star :
        WithTerminal Cᵒᵖ)
      (match (motive := (WithInitial C)ᵒᵖ → WithTerminal Cᵒᵖ) op star with
        | op x =>
          match (motive := WithInitial C → WithTerminal Cᵒᵖ) x with
          | of x => WithTerminal.of (op x)
          | star => WithTerminal.star :
        WithTerminal Cᵒᵖ))
    (match (motive :=
        Quiver.Hom.{v, u} (V := (WithInitial C)ᵒᵖ) (op star) (op star) →
          Quiver.Hom (V := WithTerminal Cᵒᵖ)
            (match (motive := (WithInitial C)ᵒᵖ → WithTerminal Cᵒᵖ) op star with
              | op x =>
                match (motive := WithInitial C → WithTerminal Cᵒᵖ) x with
                | of x => WithTerminal.of (op x)
                | star => WithTerminal.star :
              WithTerminal Cᵒᵖ)
            (match (motive := (WithInitial C)ᵒᵖ → WithTerminal Cᵒᵖ) op star with
              | op x =>
                match (motive := WithInitial C → WithTerminal Cᵒᵖ) x with
                | of x => WithTerminal.of (op x)
                | star => WithTerminal.star :
              WithTerminal Cᵒᵖ))
        𝟙 (op star) with
      | op f =>
        match (motive :=
          (x y : (WithInitial C)ᵒᵖ) →
            (unop y ⟶ unop x) →
              (x ⟶ y) →
                Quiver.Hom (V := WithTerminal Cᵒᵖ)
                  (match (motive := (WithInitial C)ᵒᵖ → WithTerminal Cᵒᵖ) x with
                    | op x =>
                      match (motive := WithInitial C → WithTerminal Cᵒᵖ) x with
                      | of x => WithTerminal.of (op x)
                      | star => WithTerminal.star :
                    WithTerminal Cᵒᵖ)
                  (match (motive := (WithInitial C)ᵒᵖ → WithTerminal Cᵒᵖ) y with
                    | op x =>
                      match (motive := WithInitial C → WithTerminal Cᵒᵖ) x with
                      | of x => WithTerminal.of (op x)
                      | star => WithTerminal.star :
                    WithTerminal Cᵒᵖ))
          op star, op star, f, 𝟙 (op star) with
        | op (of x), op (of y), f, x_1 => (WithTerminal.down f).op
        | op (of a), op star, x, x_1 =>
          Limits.IsTerminal.from WithTerminal.starTerminal
            (match (motive := (WithInitial C)ᵒᵖ → WithTerminal Cᵒᵖ) op (of a) with
            | op x =>
              match (motive := WithInitial C → WithTerminal Cᵒᵖ) x with
              | of x => WithTerminal.of (op x)
              | star => WithTerminal.star)
        | op star, op star, x, x_1 =>
          𝟙
            (match (motive := (WithInitial C)ᵒᵖ → WithTerminal Cᵒᵖ) op star with
            | op x =>
              match (motive := WithInitial C → WithTerminal Cᵒᵖ) x with
              | of x => WithTerminal.of (op x)
              | star => WithTerminal.star) :
      Quiver.Hom (V := WithTerminal Cᵒᵖ)
        (match (motive := (WithInitial C)ᵒᵖ → WithTerminal Cᵒᵖ) op star with
          | op x =>
            match (motive := WithInitial C → WithTerminal Cᵒᵖ) x with
            | of x => WithTerminal.of (op x)
            | star => WithTerminal.star :
          WithTerminal Cᵒᵖ)
        (match (motive := (WithInitial C)ᵒᵖ → WithTerminal Cᵒᵖ) op star with
          | op x =>
            match (motive := WithInitial C → WithTerminal Cᵒᵖ) x with
            | of x => WithTerminal.of (op x)
            | star => WithTerminal.star :
          WithTerminal Cᵒᵖ))
    (𝟙
        (match (motive := (WithInitial C)ᵒᵖ → WithTerminal Cᵒᵖ) op star with
        | op x =>
          match (motive := WithInitial C → WithTerminal Cᵒᵖ) x with
          | of x => WithTerminal.of (op x)
          | star => WithTerminal.star) :
      Quiver.Hom (V := WithTerminal Cᵒᵖ)
        (match (motive := (WithInitial C)ᵒᵖ → WithTerminal Cᵒᵖ) op star with
          | op x =>
            match (motive := WithInitial C → WithTerminal Cᵒᵖ) x with
            | of x => WithTerminal.of (op x)
            | star => WithTerminal.star :
          WithTerminal Cᵒᵖ)
        (match (motive := (WithInitial C)ᵒᵖ → WithTerminal Cᵒᵖ) op star with
          | op x =>
            match (motive := WithInitial C → WithTerminal Cᵒᵖ) x with
            | of x => WithTerminal.of (op x)
            | star => WithTerminal.star :
          WithTerminal Cᵒᵖ))

Tactic:
rfl