Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Pierre-Marie Pédrot
stdpp
Commits
42d20911
Commit
42d20911
authored
May 29, 2019
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
experiment with restrict Hint Mode for Reflexive
parent
bd114ac6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
theories/base.v
theories/base.v
+7
-0
No files found.
theories/base.v
View file @
42d20911
...
...
@@ -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
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment