]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/tests/interactive/grafite.ma
branch for universe
[helm.git] / matita / tests / interactive / grafite.ma
diff --git a/matita/tests/interactive/grafite.ma b/matita/tests/interactive/grafite.ma
new file mode 100644 (file)
index 0000000..e71310a
--- /dev/null
@@ -0,0 +1,34 @@
+
+
+(* commento *)
+(** hint. *)
+
+inductive pippo : Type \def
+  | a : Type \to pippo
+  | b : Prop \to pippo
+  | c : Set \to pippo.
+
+definition pollo : Set \to Set \def
+  \lambda a:Set.a.
+
+inductive paolo : Prop \def t:paolo.
+
+theorem comeno : \forall p:pippo.pippo.
+intros.assumption.
+qed.
+
+definition f : pippo \to paolo \def
+  \lambda x:pippo.
+  match x with 
+  [ (a z) \Rightarrow t
+  | (b z) \Rightarrow t
+  | (c z) \Rightarrow t ].
+
+record w : Type \def {
+  mario : Prop;
+  pippo : Set
+}.
+
+whelp locate pippo.
+
+print "coercions".