Skip to content

Commit

Permalink
two more lemmas
Browse files Browse the repository at this point in the history
  • Loading branch information
PetarMax committed Aug 21, 2024
1 parent f709606 commit 570c9e2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/kontrol/kdist/kontrol_lemmas.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,5 +456,12 @@ module KONTROL-AUX-LEMMAS
requires 0 <=Int A
[simplification]
rule bool2Word(X) *Int Y ==Int Z => (X andBool (Y ==Int Z)) orBool ((notBool X) andBool Z ==Int 0)
[simplification]
rule X *Int Y <=Int Z => Y <Int ( Z +Int 1 ) /Int X
requires 0 <Int X andBool 0 <=Int Z andBool ( Z +Int 1) modInt X ==Int 0
[simplification, concrete(X, Z), preserves-definedness]
endmodule
```

0 comments on commit 570c9e2

Please sign in to comment.