Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

P_PGEN_TAC

PairRules.P_PGEN_TAC : (term -> tactic)

Specializes a goal with the given paired structure of variables.

When applied to a paired structure of variables p', and a goal A ?- !p. t, the tactic P_PGEN_TAC returns the goal A ?- t[p'/p].

     A ?- !p. t
   ==============  P_PGEN_TAC "p'"
    A ?- t[p'/x]

Failure

Fails unless the goal's conclusion is a paired universal quantification and the term a paired structure of variables of the appropriate type. It also fails if any of the variables of the supplied structure occurs free in either the assumptions or (initial) conclusion of the goal.

See also

Tactic.X_GEN_TAC, PairRules.FILTER_PGEN_TAC, PairRules.PGEN, PairRules.PGENL, PairRules.PSPEC, PairRules.PSPECL, PairRules.PSPEC_ALL, PairRules.PSPEC_TAC