Improved WD Lemma Generation: Difference between revisions
From Event-B
Jump to navigationJump to search
imported>Desaperh No edit summary |
imported>Desaperh mNo edit summary |
||
Line 8: | Line 8: | ||
The well-definedness lemma generated for predicate <math> x \div y=5 \land \lnot x \div y=3 </math> | The well-definedness lemma generated for predicate <math> x \div y=5 \land \lnot x \div y=3 </math> is | ||
<math> \lnot y=0 \land (x\div y=5 \limp \lnot y=0) </math> | |||
[[Category:Developer documentation]] | [[Category:Developer documentation]] |
Revision as of 11:11, 21 April 2010
This page describes work in progress for optimising well-definedness lemmas generated by the Core Rodin platform.
Motivating examples
With Rodin 1.3, the well-definedness lemma generated for predicate is
This predicate is sub-optimal as it contains twice the same sub-predicate (). Consequently, when the prover is fed with the generated lemma, it will have to prove twice the same goal.
The well-definedness lemma generated for predicate is