Here is a simple CLPFD relation:
1 #= 81 mod X.
This returns:
X in inf.. -1\/1..sup,
81 mod X#=1.
Unless my math is completely incorrect, shouldn't the domain of X be -80.. -1\/1..80?
Full stop in clause-body? Cannot redefine ,/2
procedure `a(A,B)' does not exist
Reachable from:
swish_trace:swish_call(a(4,A))
'$swish wrapper'(a(4,A),B)
First things first:
Is there a mistake in the constraint solver?
No(t necessarily), because all admissible solutions are still contained in the domain that is deduced, and no wrong solutions are reported. The domain that you deduced is a proper subset of what the solver reports.
Does th...