Skip to content
Snippets Groups Projects
Commit 4c60de24 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Add `TCDiag` type class.

parent 6c34b059
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -133,6 +133,11 @@ Inductive TCEq {A} (x : A) : A → Prop := TCEq_refl : TCEq x x. ...@@ -133,6 +133,11 @@ Inductive TCEq {A} (x : A) : A → Prop := TCEq_refl : TCEq x x.
Existing Class TCEq. Existing Class TCEq.
Existing Instance TCEq_refl. Existing Instance TCEq_refl.
Inductive TCDiag {A} (C : A Prop) : A A Prop :=
| TCDiag_diag x : C x TCDiag C x x.
Existing Class TCDiag.
Existing Instance TCDiag_diag.
(** Throughout this development we use [stdpp_scope] for all general purpose (** Throughout this development we use [stdpp_scope] for all general purpose
notations that do not belong to a more specific scope. *) notations that do not belong to a more specific scope. *)
Delimit Scope stdpp_scope with stdpp. Delimit Scope stdpp_scope with stdpp.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment