Thms bool 1 Doc

bnot Def b == if b false else true fi

Thm* b:. b

bool Def == Unit+Unit

Thm* Type

function_primDef x:AB(x) == PRIMITIVE {Total functions from A: x.b(x) such that b(x) B(x) for x A }

btrue Def true ==

Thm* true

bfalse Def false ==

Thm* false

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