Skip to content

Commit

Permalink
Merge pull request #1323 from cryspen/logand_lemma_plus
Browse files Browse the repository at this point in the history
Add more facts to logand_lemma
  • Loading branch information
W95Psp authored Mar 4, 2025
2 parents 65bb656 + 1edeb28 commit 2ea62d9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ val logand_lemma: #t:inttype -> a:int_t t -> b:int_t t ->
logand zero a == zero /\
logand a ones == a /\
logand ones a == a /\
(a == b ==> logand a b == a) /\
(b == lognot a ==> logand a b == zero) /\
(v a >= 0 ==> (v (logand a b) >= 0) /\ (v (logand a b) <= v a)) /\
(v b >= 0 ==> (v (logand a b) >= 0) /\ (v (logand a b) <= v b)))

Expand Down

0 comments on commit 2ea62d9

Please sign in to comment.