Skip to content
Snippets Groups Projects
Commit 59a8668c authored by Ralf Jung's avatar Ralf Jung Committed by Robbert Krebbers
Browse files

Apply 2 suggestion(s) to 1 file(s)

parent b42fc8af
No related branches found
No related tags found
No related merge requests found
...@@ -72,14 +72,15 @@ Global Hint Cut [_* persistent_separable and_persistent] : typeclass_instances. ...@@ -72,14 +72,15 @@ Global Hint Cut [_* persistent_separable and_persistent] : typeclass_instances.
This hint says that at any point during the instance search (`_*`), if This hint says that at any point during the instance search (`_*`), if
`persistent_separable` has been applied, the next instance to be applied should `persistent_separable` has been applied, the next instance to be applied should
**not** be `and_persistent`. **not** be `and_persistent`. This rules out the derivation on the right
in the example above.
**Warning from the Coq reference manual:** The regexp matches the entire path. **Warning from the Coq reference manual:** The regexp matches the entire path.
Most hints will start with a leading `_*` to match the tail of the path. Most hints will start with a leading `_*` to match the tail of the path.
The order matters. Having a cut for `[_* and_persistent persistent_separable]` The order matters. Having a cut for `[_* and_persistent persistent_separable]`
(i.e., excluding the first derivation) would result in incompleteness. It (i.e., excluding the first derivation) would result in incompleteness. It
become impossible to derive `Separable (P ∧ Q)` from `Persistent P` and becomes impossible to derive `Separable (P ∧ Q)` from `Persistent P` and
`Separable Q`. `Separable Q`.
Note that `Separable` is not closed under `∀`, but `Persistent` is. Hence we Note that `Separable` is not closed under `∀`, but `Persistent` is. Hence we
......
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