- type 'a t-  = - {- }
- tis the type of matching successes. It ultimately contains a- Tacexpr.glob_tactic_exprrepresenting the left-hand side of the corresponding matching rule, a matching substitution to be applied, a context substitution mapping identifier to context like those of- Matching.matching_result), and a- Term.constr substitution mapping corresponding to matched hypotheses.
 
- val match_term : Environ.env -> Evd.evar_map -> EConstr.constr -> (Constr_matching.binding_bound_vars * Pattern.constr_pattern, Tacexpr.glob_tactic_expr) Tacexpr.match_rule list -> Tacexpr.glob_tactic_expr t Proofview.tactic
- match_term env sigma term rulesmatches the term- termwith the set of matching rules- rules. The environment- envand the evar_map- sigmaare not currently used, but avoid code duplication.
 
- val match_goal : Environ.env -> Evd.evar_map -> EConstr.named_context -> EConstr.constr -> (Constr_matching.binding_bound_vars * Pattern.constr_pattern, Tacexpr.glob_tactic_expr) Tacexpr.match_rule list -> Tacexpr.glob_tactic_expr t Proofview.tactic
- match_goal env sigma hyps concl rulesmatches the goal- hyps|-conclwith the set of matching rules- rules. The environment- envand the evar_map- sigmaare used to check convertibility for pattern variables shared between hypothesis patterns or the conclusion pattern.