Rank | Theorem | Name |
6 | Thm* P:(L:(T List)  (||L||-1)  ), m:((T List)  ).
Thm* ( L:T List, i: (||L||-1).
Thm* (P(L,i)  P(swap(L;i;i+1),i) & m(swap(L;i;i+1))<m(L))
Thm* 
Thm* ( L:T List.
Thm* ( L':T List.
Thm* ((L guarded_permutation(T; L,i. P(L,i)) L') & ( i: (||L'||-1). P(L',i))) | [partial_sort_exists] |
cites the following: |
5 | Thm* f:(T T), m:(T  ).
Thm* ( x:T. m(f(x)) m(x) & (m(f(x)) = m(x)  f(x) = x))
Thm* 
Thm* ( x:T. n: . f(f^n(x)) = f^n(x)) | [iteration_terminates] |
2 | Thm* P:(L:(T List)  (||L||-1) Prop).
Thm* Trans(T List)(_1 guarded_permutation(T;P) _2) | [guarded_permutation_transitivity] |
0 | Thm* R:(T T Prop), x,y:T. (x R y)  (x (R^*) y) | [rel_rel_star] |
0 | Thm* k: , P:( k  ).
Thm* (( i: k. P(i))  0<search(k;P))
Thm* & (0<search(k;P)  P(search(k;P)-1) & ( j: k. j<search(k;P)-1  P(j))) | [search_property] |
0 | Thm* L:T List. L = nil  0<||L|| | [non_nil_length] |
3 | Thm* L:T List, i,j: ||L||. ||swap(L;i;j)|| = ||L||  | [swap_length] |
0 | Thm* l:T List. ||l|| = 0  l = nil | [length_zero] |
0 | Thm* x,y:T, R:(T T Prop). x = y  (x (R^*) y) | [rel_star_weakening] |