diff options
| author | msozeau | 2008-12-16 10:19:06 +0000 |
|---|---|---|
| committer | msozeau | 2008-12-16 10:19:06 +0000 |
| commit | 6fabdb398ffedd3f3ffdef3cd02b8749be20445b (patch) | |
| tree | fbf1765941a0f4f620b81c9ffc59006acd02e91a /tactics/eauto.ml4 | |
| parent | 302571c0740f4a93ef1350901e2ab1add792597b (diff) | |
Finish fix for the treatment of [inverse] in [setoid_rewrite], making a
variant of the [unify] tactic that takes a hint db as argument and does
unification modulo its [transparent_state]. Add test-file for bug #1939
and another [AdvancedTypeClasses.v] that mimicks
[AdvancedCanonicalStructure.v].
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11685 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics/eauto.ml4')
| -rw-r--r-- | tactics/eauto.ml4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tactics/eauto.ml4 b/tactics/eauto.ml4 index ea50107ceb..5610f7518e 100644 --- a/tactics/eauto.ml4 +++ b/tactics/eauto.ml4 @@ -458,3 +458,9 @@ TACTIC EXTEND autosimpl | [ "autosimpl" hintbases(db) ] -> [ autosimpl (match db with None -> ["core"] | Some x -> "core"::x) None ] END + +TACTIC EXTEND unify +| ["unify" constr(x) constr(y) ] -> [ unify x y ] +| ["unify" constr(x) constr(y) "with" preident(base) ] -> [ + unify ~state:(Hint_db.transparent_state (searchtable_map base)) x y ] +END |
