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
mamonet authored Mar 3, 2025
2 parents c54a4eb + 1edeb28 commit fa750d3
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 fa750d3

Please sign in to comment.