Nuprl Theory finite_sets

(only non hidden objects are presented)

THMnot_dec_is_decA:. P:A . (x:A. P x (P x)) ((x:A. (P x)) (x:A. (P x))) (x:A. P x) (x:A. P x)
THMrect_enumern,m:. f:(n m) (n * m). Bij(n m;(n * m);f)
DISPfinite_dfFin(<s:s:*>)== Fin(<s>)
ABSfiniteFin(s) == n:. f:n s. Bij(n;s;f)
THMfinite_wfT:. Fin(T)
THMcomb_for_finite_wf(T,z.Fin(T)) T: True
THMnsub_is_finiten:. Fin(n)
THMbool_is_finiteFin()
THMone2one_preserves_finT,U:. 1-1-Corresp(T;U) Fin(T) Fin(U)
THMfin_iff_1_1_nsubT:. Fin(T) (m:. 1-1-Corresp(m;T))
THMdiv_bounds_2n:. x:(n * n). x n < n
THMprod_fin_is_finT:. t:T. Fin(T) Fin(T T)
THMfin_dec_finn:. T:. B:T . 1-1-Corresp(n;T) (t:T. Dec(B t)) (m:. 1-1-Corresp(m;{t:T| B t} ))
THMfinite_decidable_subsetT:. B:T . Fin(T) (t:T. Dec(B t)) Fin({t:T| B t} )
THMone_one_preser_finT,S:. Fin(T) 1-1-Corresp(T;S) Fin(S)
THMset_functionS,T:. R:S T . (s:S. Dec(t:T. R s t)) (f:{s:S| t:T. R s t} T. s:{s:S| t:T. R s t} . R s (f s))
THMinv_of_fin_is_finT,S:. f:T S. Fin(S) (s:S. Dec(t:T. f t = s)) Fin(x,y:T//(f x = f y))
THMfin_is_decidT:. Fin(T) (x,y:T. Dec(x = y))
THMfin_dist_funcSt:. Fin(St) (eq:St St . x,y:St. (eq x y) x = y)
THMdecid_is_compT:. f:T . (t:T. Dec(f t)) (g:T . t:T. f t (g t))
THMauto2_list_indAlph:. P:Alph List . (n: (l:Alph List. ||l|| < n P l) (l:Alph List. ||l|| = n P l)) (l:Alph List. P l)
THMone_one_symT,S:. 1-1-Corresp(T;S) 1-1-Corresp(S;T)
THMauto2_lemma_0T:. P:T . (x:T. Dec(P x)) Dec(x:T. (P x)) Dec(x:T. P x)
THMauto2_lemma_1T:. P,Q:T . (t:T. P t Q t) 1-1-Corresp({t:T| P t} ;{t:T| Q t} )
THMauto2_lemma_3Alph:. R:Alph List Alph List . n:. (x:Alph List. R x x) (x,y:Alph List. R x y R y x) (x,y,z:Alph List. R x y R y z R x z) (x,y,z:Alph List. R x y R (z @ x) (z @ y)) (w:n Alph List. l:Alph List. i:n. R l (w i)) (a,b,c:Alph List. ||a|| n * n (a':Alph List ||a'|| < ||a|| R (a @ b) (a' @ b) R (a @ c) (a' @ c)))
THMauto2_lemma_4Alph:. R:Alph List Alph List . n:. (x:Alph List. R x x) (x,y:Alph List. R x y R y x) (x,y,z:Alph List. R x y R y z R x z) (x,y,z:Alph List. R x y R (z @ x) (z @ y)) (w:n Alph List. l:Alph List. i:n. R l (w i)) (a,b,c:Alph List. a':Alph List ||a'|| < n * n R (a @ b) (a' @ b) R (a @ c) (a' @ c))
THMauto2_lemma_5Alph:. n:. Fin(Alph) Fin({l:Alph List| ||l|| = n} )
THMauto2_lemma_6T:. R:T . Fin(T) (t:T. Dec(R t)) Dec(t:T. R t)
THMauto2_lemma_7Alph:. R:Alph List Alph List . n:. L:Alph List . m:. (x:Alph List. R x x) (x,y:Alph List. R x y R y x) (x,y,z:Alph List. R x y R y z R x z) (x,y,z:Alph List. R x y R (z @ x) (z @ y)) (w:n Alph List. l:Alph List. i:n. R l (w i)) (v:m Alph List. l:Alph List. (L l) (i:m. R l (v i))) Fin(Alph) (x,y:Alph List. Dec(l:Alph List. L (l @ x) = L (l @ y)))
THMauto2_lemma_8Alph:. R:Alph List Alph List . n:. L:Alph List . m:. (x:Alph List. R x x) (x,y:Alph List. R x y R y x) (x,y,z:Alph List. R x y R y z R x z) (x,y,z:Alph List. R x y R (z @ x) (z @ y)) (w:n Alph List. l:Alph List. i:n. R l (w i)) (v:m Alph List. l:Alph List. (L l) (i:m. R l (v i))) Fin(Alph) (x,y:Alph List. Dec(l:Alph List. L (l @ x) = L (l @ y)))
COMphole_descrPigeon-hole principle
THMphole_auxn:{1...}. f:(n + 1) n. i:(n + 1). j:i. f i = f j
THMphole_lemman:{1...}. m:{n + 1...}. f:m n. i,j:m. i < j f i = f j
DISPcard_df#(<t:t:*>)=<n:n:*> == #(<t>)=<n>
ABScard#(t)=n == 1-1-Corresp(t;n)
THMcard_wft:. n:. #(t)=n

the other theories