diff options
author | Matthieu Sozeau <matthieu.sozeau@inria.fr> | 2014-09-15 21:33:48 +0200 |
---|---|---|
committer | Matthieu Sozeau <matthieu.sozeau@inria.fr> | 2014-09-15 21:37:31 +0200 |
commit | 62a552b508b747b6cdf4bd818233f001ae4ce555 (patch) | |
tree | 80feb19c8d02935b550c7f6c971ea42fc39020b2 /tactics/tactics.mli | |
parent | 1c113305039857ca219f252f5e80f4b179a39082 (diff) |
Add a "Hint Mode ref (+ | -)*" hint for setting a global mode
of resulution for goals whose head is "ref". + means the argument
is an input and shouldn't contain an evar, otherwise resolution
fails. This generalizes the Typeclasses Strict Resolution option
which prevents resolution to fire on underconstrained typeclass
constraints, now the criterion can be applied to specific parameters.
Also cleanup auto/eauto code, uncovering a potential backwards
compatibility issue: in cases the goal contains existentials, we
never use the discrimination net in auto/eauto. We should try to
set this on once the contribs are stabilized (the stdlib goes through
when the dnet is used in these cases).
Diffstat (limited to 'tactics/tactics.mli')
-rw-r--r-- | tactics/tactics.mli | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tactics/tactics.mli b/tactics/tactics.mli index d6e648b9b..c076efb1f 100644 --- a/tactics/tactics.mli +++ b/tactics/tactics.mli @@ -26,12 +26,13 @@ open Locus (** {6 General functions. } *) +exception Bound + val head_constr : constr -> constr val head_constr_bound : constr -> constr +val decompose_app_bound : constr -> global_reference * constr array val is_quantified_hypothesis : Id.t -> goal sigma -> bool -exception Bound - (** {6 Primitive tactics. } *) val introduction : Id.t -> tactic |