Skip to content

Commit

Permalink
additional lemma for cleaning up specification of getRageQuitSupport
Browse files Browse the repository at this point in the history
  • Loading branch information
PetarMax committed Jun 22, 2024
1 parent 3103f4a commit 615778d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/kontrol/lido-lemmas.k
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ module LIDO-LEMMAS
// Further arithmetic
rule ( X *Int Y ) /Int Y => X requires Y =/=Int 0 [simplification, preserves-definedness]
rule ( X ==Int ( X *Int Y ) /Word Y ) orBool Y ==Int 0 => true [simplification, preserves-definedness]
rule ( 0 ==Int 0 /Word Y ) orBool Y ==Int 0 => true [simplification, preserves-definedness]

rule A <=Int B /Int C => A *Int C <=Int B requires 0 <Int C [simplification, preserves-definedness]
rule A <Int B /Int C => (A +Int 1) *Int C <=Int B requires 0 <Int C [simplification, preserves-definedness]
Expand Down

0 comments on commit 615778d

Please sign in to comment.