X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fmatita%2Fdama%2Fconstructive_connectives.ma;h=0a840d5a51837289f5f32337c2efbbdd3c0128cb;hb=9791cd146bc0b8df953aee7bb8a3df60553b530c;hp=259357934da012a99aba8adafac2febba1152462;hpb=bf45bade243d89f2171e76e8eaa9a58489eda45c;p=helm.git diff --git a/helm/software/matita/dama/constructive_connectives.ma b/helm/software/matita/dama/constructive_connectives.ma index 259357934..0a840d5a5 100644 --- a/helm/software/matita/dama/constructive_connectives.ma +++ b/helm/software/matita/dama/constructive_connectives.ma @@ -14,10 +14,33 @@ set "baseuri" "cic:/matita/constructive_connectives/". -inductive or (A,B:Type) : Type \def - Left : A → or A B - | Right : B → or A B. +inductive Or (A,B:Type) : Type ≝ + Left : A → Or A B + | Right : B → Or A B. -interpretation "classical or" 'or x y = - (cic:/matita/constructive_connectives/or.ind#xpointer(1/1) x y). +interpretation "constructive or" 'or x y = + (cic:/matita/constructive_connectives/Or.ind#xpointer(1/1) x y). +inductive And (A,B:Type) : Type ≝ + | Conj : A → B → And A B. + +interpretation "constructive and" 'and x y = + (cic:/matita/constructive_connectives/And.ind#xpointer(1/1) x y). + +inductive ex (A:Type) (P:A→Prop) : Type ≝ + ex_intro: ∀w:A. P w → ex A P. + +notation < "hvbox(Σ ident i opt (: ty) break . p)" + right associative with precedence 20 +for @{ 'sigma ${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). + +alias id "False" = "cic:/matita/logic/connectives/False.ind#xpointer(1/1)". +definition Not ≝ λx:Type.x → False. + +interpretation "constructive not" 'not x = + (cic:/matita/constructive_connectives/Not.con x).