---------------------------------------------------------------------- PEXISTS_TAC (PairRules) ---------------------------------------------------------------------- PEXISTS_TAC : (term -> tactic) KEYWORDS tactic, quantifier, existential, choose, witness. LIBRARY pair SYNOPSIS Reduces paired existentially quantified goal to one involving a specific witness. DESCRIBE When applied to a term {q} and a goal {?p. t}, the tactic {PEXISTS_TAC} reduces the goal to {t[q/p]}. A ?- ?p. t ============= EXISTS_TAC "q" A ?- t[q/p] FAILURE Fails unless the goal’s conclusion is a paired existential quantification and the term supplied has the same type as the quantified pair in the goal. EXAMPLE The goal: ?- ?(x,y). (x,y)=(1,2) can be solved by: PEXISTS_TAC "(1,2)" THEN REFL_TAC SEEALSO Tactic.EXISTS_TAC, PairRules.PEXISTS. ----------------------------------------------------------------------