Merge branch 'clean_and_improve_numeric_examples' into 'master'
[why3.git] / tests / tests-boolean.mlw
blob3f854c7481f577df7a607239ac7498eb53d833bc
2 module M
4   use bool.Bool
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) )
12   = ()
14   let g (a b : bool)
15     ensures {
16       (xorb a b = True)
17       <->
18       ( ( a = True \/ b = True ) /\ not ( a = True /\ b = True) )
20   = ()
22 end