Skip to content

Commit

Permalink
more polymorphic terminal unit and initial empty
Browse files Browse the repository at this point in the history
Signed-off-by: Ali Caglayan <[email protected]>

<!-- ps-id: 3f878d9b-cf2e-49c8-866c-eabbbd1a498b -->
  • Loading branch information
Alizter committed Oct 10, 2024
1 parent 9ed2b66 commit e6d7256
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theories/WildCat/Universe.v
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ Defined.
#[export]
Hint Immediate catie_isequiv : typeclass_instances.

Global Instance isinitial_zero : IsInitial Empty.
Global Instance isinitial_zero : IsInitial (A:=Type) Empty.
Proof.
intro A.
exists (Empty_rec _).
intros g.
rapply Empty_ind.
Defined.

Global Instance isterminal_unit : IsTerminal Unit.
Global Instance isterminal_unit : IsTerminal (A:=Type) Unit.
Proof.
intros A.
exists (fun _ => tt).
Expand Down

0 comments on commit e6d7256

Please sign in to comment.