Q.PAT_ABBREV_TAC : term quotation -> tactic
The trace variable "PAT_ABBREV_TAC: match var/const" controls whether or not trivial matches (with constants or variables) are allowed. By default trivial matches are permitted but when the trace variable is false the tactic will ignore trivial matches, which could result in failure.
?- (n + 10) * y <= 42315
Abbrev (X = (n + 10) * y) ?- X <= 42315
?- y <= 42315
Abbrev (X = y) ?- X <= 42315
Feedback.set_trace "PAT_ABBREV_TAC: match var/const" 0
Abbrev (X = 42315) ?- y <= X
?- !x. x < 3