X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Ftests%2Fparatest.ma;h=93970a1d495e4ce2a96d66652356eb67e32449b2;hb=c35f0cd5d774d92e3158196eead7ecb17cf2f384;hp=68fe4cdde555e7ce9db3a560a47b8708e6abcee6;hpb=96c91e470f670018df67c9cbff62fa06e3b57c5e;p=helm.git diff --git a/helm/software/matita/tests/paratest.ma b/helm/software/matita/tests/paratest.ma index 68fe4cdde..93970a1d4 100644 --- a/helm/software/matita/tests/paratest.ma +++ b/helm/software/matita/tests/paratest.ma @@ -14,13 +14,20 @@ include "nat/plus.ma". -ntheorem boo: - ((λx.x = x) ?) → 0 = 0. -##[ #H; nwhd in H ⊢ %; nauto by H. +(*ntheorem boo: + (∀x. x = x) → 0 = 0. +##[ #H; nwhd in H ⊢ %; nauto by H.*) + +ntheorem bboo: + (∀x. x + 0 = x) -> + (∀x, y. x + S y = S (x + y)) → + (∀x, y. x + y = y + x) → + 3 + 2 = 5. +#H; #H1; #H2; nauto by H, H1. H2. ntheorem foo: ((λx.x + 0 = x) ?) → ((λx,y.x + S y = S (x + y)) ? ?) → - ((λx,y.y + x = x + y) ? ?) → - ∀x. ((λz. x + x = z + S z) ?). + ((λx,y.x y = x y) ? ?) → + ∀x. ((λz. x + x = z + z) ?). ##[ #H; #H1; #H2; #x; nwhd in H H1 H2 ⊢ %; nauto by H, H1, H2. \ No newline at end of file