X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fdama%2Fconstructive_connectives.ma;h=2cf0d8d58b8d7ba389d10c67421fa2be0b785008;hb=dbf2689a206bb4f7a3b36f6e40a88a47c8ad6e09;hp=a0fb66dedf2fd671eacb057796976e5a41b7dd07;hpb=c6b621c1df5abd9a8a1567991379768c435607dd;p=helm.git diff --git a/helm/software/matita/dama/constructive_connectives.ma b/helm/software/matita/dama/constructive_connectives.ma index a0fb66ded..2cf0d8d58 100644 --- a/helm/software/matita/dama/constructive_connectives.ma +++ b/helm/software/matita/dama/constructive_connectives.ma @@ -14,14 +14,20 @@ 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 "constructive or" 'or x y = - (cic:/matita/constructive_connectives/or.ind#xpointer(1/1) x y). + (cic:/matita/constructive_connectives/Or.ind#xpointer(1/1) x y). -inductive ex (A:Type) (P:A→Prop) : Type \def +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)" @@ -32,3 +38,9 @@ for @{ 'sigma ${default 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). \ No newline at end of file