LEAST_ELIM_TAC : tactic
Thus, LEAST_ELIM_TAC can be seen as a higher-order match against the theorem
|- !P Q. (?n. P x) /\ (!n. (!m. m < n ==> ~P m) /\ P n ==> Q n) ==> Q ($LEAST P)
?- (LEAST n. 4 < n) = 5
?- (?n. 4 < n) /\ !n. (!m. m < n ==> ~(4 < m)) /\ 4 < n ==> (n = 5)
If there are multiple different LEAST-terms in the goal, then LEAST_ELIM_TAC will pick the first free LEAST-term returned by the standard find_terms function.