frozen(Var, Goals) unifies Goals with the conjunction of all
goals which are blocked on the variable Var. If no goal is
blocked, Goals is unified with atom true.
If after the success of a query, a goal Goal is still blocked on a
variable Var, portray(Goal, Goal2) is called by the Prolog
top level. If this one succeeds, Goals2 is displayed, but if portray/2 fails or if it is not defined freeze(Var, Goal) is
printed instead.
Note : Only the goals blocked on the variables of the query are
displayed.