Thms exponent Sections AutomataTheory Doc

en Def en(l) == if null(l) 0 else hd(l)+en(tl(l))n fi (recursive)

Thm* n:, l:n*. en(l)

int_seg Def {i..j} == {k:| i k < j }

Thm* m,n:. {m..n} Type

length Def ||as|| == Case of as; nil 0 ; a.as' ||as'||+1 (recursive)

Thm* A:Type, l:A*. ||l||

Thm* ||nil||

nat Def == {i:| 0i }

Thm* Type

nat_plus Def == {i:| 0 < i }

Thm* Type

tl Def tl(l) == Case of l; nil nil ; h.t t

Thm* A:Type, l:A*. tl(l) A*

hd Def hd(l) == Case of l; nil "?" ; h.t h

Thm* A:Type, l:A*. ||l||1 hd(l) A

null Def null(as) == Case of as; nil true ; a.as' false

Thm* T:Type, as:T*. null(as)

Thm* null(nil)

lelt Def i j < k == ij & j < k

le Def AB == B < A

Thm* i,j:. ij Prop

not Def A == A False

Thm* A:Prop. (A) Prop

About:
!abstractionimpliesfalseallpropmemberless_thanint
andlist_indbtruebfalseuniverselistboolnil
tokennatural_numbersetrecursive_def_noticeaddifthenelsemultiply