Skip to content
Snippets Groups Projects
Commit 42d20911 authored by Ralf Jung's avatar Ralf Jung
Browse files

experiment with restrict Hint Mode for Reflexive

parent bd114ac6
Branches ralf/reflexive
No related tags found
No related merge requests found
......@@ -39,6 +39,13 @@ Obligation Tactic := idtac.
(** 3. Hide obligations from the results of the [Search] commands. *)
Add Search Blacklist "_obligation_".
(** Restrict Mode of some stdlib typeclasses. *)
Hint Mode Reflexive ! ! : typeclass_instances.
(* This needs a new instance to not break rewriting, see
https://github.com/coq/coq/issues/7916. *)
Instance: forall T (f : T -> Prop), Proper (eq ==> iff) f.
Proof. now intros T f x y ->. Qed.
(** * Sealing off definitions *)
Section seal.
Local Set Primitive Projections.
......
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