For example, consider the real function
f(x,y) = y + 1 / g(x)
and its interval extention over interval domain (X,Y) where both X and Y
are
nonempty. If we are computing with bare objects and g(X) is not
continuous,
then we have
Y + 1 / def.
Promoting the bare decoration def to (Empty,def) gives:
Y + 1 / (Empty,def)
= Y + (1/Empty,inf(ein,def))
= Y + (Empty,def)
= (Y+Empty,inf(dac,def))
= (Empty,def)
= def
In other words, the exception "def" first occured in g(X) and this
decoration is promoted all the way to the end of the computation. So the
user knows in this case the reason for failure.
On the other hand, promoting the bare decoration def to (Entire,def)
gives:
Y + 1 / (Entire,def)
= Y + (1/Entire,inf(con,def))
= Y + (Entire,con)
= (Y+Entire,inf(dac,con))
= (Entire,con)
= con
In this case, the exception "def" that occured in g(X) is lost by the
subsequent computations: the user has less knowledge why the failure
occurred.