X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Ftests%2Fparatest.ma;h=93970a1d495e4ce2a96d66652356eb67e32449b2;hb=d8ab88f926134731baa64f48c519289587c20261;hp=4e87472970ec1ac2afb073d28fd51c2188322a16;hpb=b97a7976503b2d2e5cbc9199f848135a324775a8;p=helm.git diff --git a/helm/software/matita/tests/paratest.ma b/helm/software/matita/tests/paratest.ma index 4e8747297..93970a1d4 100644 --- a/helm/software/matita/tests/paratest.ma +++ b/helm/software/matita/tests/paratest.ma @@ -14,5 +14,20 @@ include "nat/plus.ma". -ntheorem foo: \forall x, y. ((λz. x + x = z + z) ?). -##[ #x; #y; nnormalize; nauto. \ No newline at end of file +(*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.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