X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Flibrary%2Flogic%2Fconnectives.ma;h=76d0323166ad947578481e7c06bb4d8d8b3cc41a;hb=6d49221c1fefe6a2c5bddb3db24d3698414a700f;hp=6a20bc8979c15805f2be51269218e05c3015eb20;hpb=4dc47c9675ffd5fa50296ffaa9b5997501518c98;p=helm.git diff --git a/helm/software/matita/library/logic/connectives.ma b/helm/software/matita/library/logic/connectives.ma index 6a20bc897..76d032316 100644 --- a/helm/software/matita/library/logic/connectives.ma +++ b/helm/software/matita/library/logic/connectives.ma @@ -32,6 +32,12 @@ qed. default "absurd" cic:/matita/logic/connectives/absurd.con. +theorem not_to_not : \forall A,B:Prop. (A → B) \to ¬B →¬A. +intros.unfold.intro.apply H1.apply (H H2). +qed. + +default "absurd" cic:/matita/logic/connectives/absurd.con. + inductive And (A,B:Prop) : Prop \def conj : A \to B \to (And A B). @@ -49,7 +55,6 @@ inductive Or (A,B:Prop) : Prop \def or_introl : A \to (Or A B) | or_intror : B \to (Or A B). -(*CSC: the URI must disappear: there is a bug now *) interpretation "logical or" 'or x y = (Or x y). theorem Or_ind': @@ -70,7 +75,7 @@ definition decidable : Prop \to Prop \def \lambda A:Prop. A \lor \lnot A. inductive ex (A:Type) (P:A \to Prop) : Prop \def ex_intro: \forall x:A. P x \to ex A P. -interpretation "exists" 'exists \eta.x = (ex _ x). +interpretation "exists" 'exists x = (ex ? x). inductive ex2 (A:Type) (P,Q:A \to Prop) : Prop \def ex_intro2: \forall x:A. P x \to Q x \to ex2 A P Q.