loonwerks / jkind

JKind - An infinite-state model checker for safety properties in Lustre
http://loonwerks.com/tools/jkind.html
Other
52 stars 32 forks source link

JKind does not detect division by zero #6

Closed agacek closed 11 years ago

agacek commented 11 years ago

JKind does not detect division by zero (using / or 'div'). Instead, it relies on the behavior of the underlying solver which is probably inconsistent and may result in error messages directly from the solver.

Since you can only divide by constants, we should be able to detect this statically. However, doing the detection requires writing code for evaluation of expression which is more work than I'm willing to do at the moment.

Thanks to Lucas Wagner for pointing this out.