]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/tests/paratest.ma
updating the structures for sorts
[helm.git] / helm / software / matita / tests / paratest.ma
index 4e87472970ec1ac2afb073d28fd51c2188322a16..93970a1d495e4ce2a96d66652356eb67e32449b2 100644 (file)
 
 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