RSL 0.4 properties
Check messages
This calculation divides by the difference of two inputs, each from 1 to 10:divide/rater.rsl
divide/rater.rsl
divide/rater.rsl
if self.a != self.b then … else 0 removes the case, and the check then passes.
The check is conservative. It tracks one range for each value, so it refuses some safe programs.
A guard or a narrower input gives the check the fact it needs.
Proof sources
The checker itself is unproven. A failure that it misses stops that one rating with an error, in place of a premium.
Reviewer checks
The check proves what the program does. It leaves open whether the program follows its filing.- A reviewer reads each cited region and confirms the value or rule.
- Independent rating examples confirm the premiums.
Premium,Rate,FactorandPctname what a number is, and the check leaves unit arithmetic to the author.
Related
- Check messages explains each message, with a program that gets it and the fix.
- Check guarantees in the language reference states the rule in one paragraph.
- Test a rater compares a program with independent examples.