Skip to content

Commit

Permalink
Merge pull request #2116 from Alizter/ps/rr/more_polymorphic_terminal…
Browse files Browse the repository at this point in the history
…_unit_and_initial_empty

more polymorphic terminal unit and initial empty
  • Loading branch information
Alizter authored Oct 13, 2024
2 parents 6780b53 + e6d7256 commit 8b9719e
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 8b9719e

Please sign in to comment.