]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/dama/constructive_connectives.ma
The pretty printers in CicPp now have an optional ~metasenv argument to
[helm.git] / helm / software / matita / dama / constructive_connectives.ma
index 259357934da012a99aba8adafac2febba1152462..461f90e6dd66ef507029de1e0494ecb0859097c0 100644 (file)
@@ -18,6 +18,17 @@ inductive or (A,B:Type) : Type \def
    Left : A → or A B
  | Right : B → or A B.
 
-interpretation "classical or" 'or x y =
+interpretation "constructive or" 'or x y =
   (cic:/matita/constructive_connectives/or.ind#xpointer(1/1) x y).
 
+inductive ex (A:Type) (P:A→Prop) : Type \def
+  ex_intro: ∀w:A. P w → ex A P.
+
+notation < "hvbox(Σ ident i opt (: ty) break . p)"
+  right associative with precedence 20
+for @{ 'exists ${default
+  @{\lambda ${ident i} : $ty. $p)}
+  @{\lambda ${ident i} . $p}}}.
+
+interpretation "constructive exists" 'sigma \eta.x =
+  (cic:/matita/constructive_connectives/ex.ind#xpointer(1/1) _ x).
\ No newline at end of file