Thms bool 1 Doc

NOTE: The operator coercing a to a Prop is normally invisible since it is pretty obvious when it is needed.

assert Def b == if b True else False fi

Thm* b:. b Prop

bimplies Def pq == p q

Thm* p,q:. pq

iff Def P Q == (P Q) & (P Q)

Thm* (A B) Prop

bool Def == Unit+Unit

Thm* Type

bnot Def b == if b false else true fi

Thm* b:. b

bor Def p q == if p true else q fi

Thm* p,q:. (p q)

ifthenelse Def if b t else f fi == dec(b ; t; f)

Thm* b:, A:Type, p,q:A. if b p else q fi A

rev_implies Def P Q == Q P

Thm* (A B) Prop

btrue Def true ==

Thm* true

bfalse Def false ==

Thm* false