Z3 FP logic: creates an unexpected model

For this problem: http://rise4fun.com/Z3/YNBG

Z3 creates a model:

sat
((s0 FP!val!0))

I expected to see the true number as a model. It is almost as if it were considered FPas an uninterpreted species for this case. Is there a way to get Z3 to create a real number here?

+1
source share
1 answer

Thanks for reporting this. Indeed, there was a mistake in completing the model for FPA. The fix is ​​already available in the unstable branch on Codeplex .

, == ( ) NaN false, s0 . ( get-model) NaN ( , ).

0

Source: https://habr.com/ru/post/1541813/


All Articles