| Some definitions of interest. |
|
absval | Def |i| == if 0i i else -i fi |
| | Thm* x:. |x| |
|
gcd | Def gcd(a;b) == if b=0 a else gcd(b;a rem b) fi (recursive) |
| | Thm* a,b:. gcd(a;b) |
|
gcd_p | Def GCD(a;b;y) == y | a & y | b & (z:. z | a & z | b z | y) |
| | Thm* a,b,y:. GCD(a;b;y) Prop |
|
not | Def A == A False |
| | Thm* A:Prop. (A) Prop |