repo.or.cz
/
why3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'clean_and_improve_numeric_examples' into 'master'
[why3.git]
/
tests
/
tests-boolean.mlw
blob
3f854c7481f577df7a607239ac7498eb53d833bc
1
2
module M
3
4
use bool.Bool
5
6
let f (a b : bool)
7
ensures {
8
(andb (orb a b) (notb (andb a b)) = True)
9
<->
10
( ( a = True \/ b = True ) /\ not ( a = True /\ b = True) )
11
}
12
= ()
13
14
let g (a b : bool)
15
ensures {
16
(xorb a b = True)
17
<->
18
( ( a = True \/ b = True ) /\ not ( a = True /\ b = True) )
19
}
20
= ()
21
22
end