Bug in reified symbolic FD

From: Warwick Harvey <wh_at_icparc.ic.ac.uk>
Date: Tue 23 Jan 2001 04:21:36 PM GMT
Message-ID: <3A6DAF90.7575DA92@icparc.ic.ac.uk>
I expected the following code to bind X to the value 'a':

[eclipse 2]: B isd X #= a, B = 1.

X = X
B = 1

Delayed goals:
        #=(X, a, 1)
yes.

It knows the constraint `X #= a' is true, but fails to bind X unless X
has had a domain assigned (before B is bound):

[eclipse 3]: X :: [a, b], B isd X #= a, B = 1.

X = a
B = 1
yes.
[eclipse 4]: B isd X #= a, X :: [a, b], B = 1.

X = a
B = 1
yes.
[eclipse 5]: B isd X #= a, B = 1, X :: [a, b].

B = 1
X = X{[a, b]}

Delayed goals:
        #=(X{[a, b]}, a, 1)
yes.

Warwick
Received on Tue Jan 23 16:21:39 2001

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:03 PM GMT GMT