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

Hints for reflexivity also on goals that are not identical.

parent 7c3051dd
No related branches found
No related tags found
No related merge requests found
...@@ -209,9 +209,9 @@ Instance: Params (@equiv) 2. ...@@ -209,9 +209,9 @@ Instance: Params (@equiv) 2.
(for types that have an [Equiv] instance) rather than the standard Leibniz (for types that have an [Equiv] instance) rather than the standard Leibniz
equality. *) equality. *)
Instance equiv_default_relation `{Equiv A} : DefaultRelation () | 3. Instance equiv_default_relation `{Equiv A} : DefaultRelation () | 3.
Hint Extern 0 (_ _) => reflexivity. Hint Extern 0 (?x ?y) => reflexivity.
Hint Extern 0 (_ _) => symmetry; assumption. Hint Extern 0 (_ _) => symmetry; assumption.
Hint Extern 0 (_ {_} _) => reflexivity. Hint Extern 0 (?x {_} ?y) => reflexivity.
Hint Extern 0 (_ {_} _) => symmetry; assumption. Hint Extern 0 (_ {_} _) => symmetry; assumption.
(** ** Operations on collections *) (** ** Operations on collections *)
......
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