SICP Exercise 2.16
Question
Explain, in general, why equivalent algebraic expressions may lead to different answers. Can you devise an interval-arithmetic package that does not have this shortcoming, or is this task impossible? (Warning: This problem is very difficult.)
Answer
It is not an exaggeration to say that this problem is very difficult. As a matter of fact, it is so difficult that, as far as I know, nobody has solved it yet.
That being said, it is still an interesting question so let’s look at why this is so difficult.
As mentioned in my answer to exercise 2.15, the core problem here is the
question of identity. Identity is not a problem in regular arithmetic,
because if, for example,
For example, let us assume that
So in order to fix this, we would have to find some way to introduce identity into the system, for which there is no simple way in pure mathematics. This is known as the Dependency Problem. If you are interested, here is a link to the Wikipedia article.