intLib.ARITH_PROVE raises exception `NotFound`
someplaceguy opened this issue · comments
The following expression unexpectedly raises a NotFound
exception:
> intLib.ARITH_PROVE ``x (0i) + 0 % 5 = 0i``;
Exception- NotFound raised
I wouldn't expect it to prove the provided term, but usually when such procedures fail they raise a HOL_ERR
exception (so I assume this is a bug?).
BTW, I forgot to mention: interestingly, if I change the 5
to a 4
, then it raises a HOL_ERR
exception as expected:
> intLib.ARITH_PROVE ``x (0i) + 0 % 4 = 0i``;
Exception-
HOL_ERR
{message =
"Tried to prove generalised goal (generalising x 0...) but it was false",
origin_function = "OMEGA_CONV", origin_structure = "IntDP_Munge"}
raised