X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fnlibrary%2Farithmetics%2Fnat.ma;h=d4ba1135e241626f551b5bca4b55c0a43f7d01e5;hb=fa0d5a79683ea3966f62b21be7e1a3e274597911;hp=1ef6a81cbbfdc55f335481f199cfcc008f00218f;hpb=375a7d0e4c11f3b09d33b9dd24f1da7f7b442885;p=helm.git diff --git a/helm/software/matita/nlibrary/arithmetics/nat.ma b/helm/software/matita/nlibrary/arithmetics/nat.ma index 1ef6a81cb..d4ba1135e 100644 --- a/helm/software/matita/nlibrary/arithmetics/nat.ma +++ b/helm/software/matita/nlibrary/arithmetics/nat.ma @@ -80,10 +80,6 @@ napply nat_elim2; #n; ##[ ncases n; /2/; ##| /3/; ##| #m; #Hind; ncases Hind;/3/; - (* - ##[/2/; ##|#H; nwhd; - napply or_introl; - napply eq_f2; /3/; *) ##] nqed. @@ -127,7 +123,7 @@ ntheorem associative_plus : associative nat plus. #n; nelim n; nnormalize; //; nqed. ntheorem assoc_plus1: ∀a,b,c. c + (b + a) = b + c + a. -//; nqed. +//; nqed. ntheorem injective_plus_r: ∀n:nat.injective nat nat (λm.n+m). #n; nelim n; nnormalize; /3/; nqed. @@ -276,8 +272,6 @@ ntheorem monotonic_pred: monotonic ? le pred. #n; #m; #lenm; nelim lenm; /2/;nqed. ntheorem le_S_S_to_le: ∀n,m:nat. S n ≤ S m → n ≤ m. -(* XXX *) nletin hint ≝ monotonic. -#a; #b; #H; napplyS monotonic_pred; /2/; nqed. (* this are instances of the le versions @@ -453,9 +447,8 @@ ntheorem le_n_Sm_elim : ∀n,m:nat.n ≤ S m → (* le and eq *) ntheorem le_to_le_to_eq: ∀n,m. n ≤ m → m ≤ n → n = m. -napply nat_elim2; -#n; #H1; #H2; /4/; - nqed. +napply nat_elim2; /4/; +nqed. ntheorem lt_O_S : ∀n:nat. O < S n. /2/; nqed.