X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcontribs%2Fformal_topology%2Foverlap%2Fcprop_connectives.ma;h=13bb825ee9edc3ecca39ff0cecf3f90112cd40f2;hb=ddc0a7b3f0acd57f879e540e696f69ca0c20bbf5;hp=59473882d6663d8b92ce8de55d31b63124fb7da2;hpb=13114a0147a28f8c7359c9c19ee254716eb5f55a;p=helm.git diff --git a/helm/software/matita/contribs/formal_topology/overlap/cprop_connectives.ma b/helm/software/matita/contribs/formal_topology/overlap/cprop_connectives.ma index 59473882d..13bb825ee 100644 --- a/helm/software/matita/contribs/formal_topology/overlap/cprop_connectives.ma +++ b/helm/software/matita/contribs/formal_topology/overlap/cprop_connectives.ma @@ -102,6 +102,22 @@ notation "hvbox(a break ⇔ b)" right associative with precedence 25 for @{'iff1 interpretation "logical iff" 'iff x y = (Iff x y). interpretation "logical iff type1" 'iff1 x y = (Iff1 x y). +inductive exT22 (A:Type2) (P:A→CProp2) : CProp2 ≝ + ex_introT22: ∀w:A. P w → exT22 A P. + +interpretation "CProp2 exists" 'exists \eta.x = (exT22 _ x). + +definition pi1exT22 ≝ λA,P.λx:exT22 A P.match x with [ex_introT22 x _ ⇒ x]. +definition pi2exT22 ≝ + λA,P.λx:exT22 A P.match x return λx.P (pi1exT22 ?? x) with [ex_introT22 _ p ⇒ p]. + +interpretation "exT22 \fst" 'pi1 = (pi1exT22 _ _). +interpretation "exT22 \snd" 'pi2 = (pi2exT22 _ _). +interpretation "exT22 \fst a" 'pi1a x = (pi1exT22 _ _ x). +interpretation "exT22 \snd a" 'pi2a x = (pi2exT22 _ _ x). +interpretation "exT22 \fst b" 'pi1b x y = (pi1exT22 _ _ x y). +interpretation "exT22 \snd b" 'pi2b x y = (pi2exT22 _ _ x y). + inductive exT (A:Type0) (P:A→CProp0) : CProp0 ≝ ex_introT: ∀w:A. P w → exT A P. @@ -118,11 +134,11 @@ definition pi2exT ≝ λA,P.λx:exT A P.match x return λx.P (pi1exT ?? x) with [ex_introT _ p ⇒ p]. interpretation "exT \fst" 'pi1 = (pi1exT _ _). -interpretation "exT \fst" 'pi1a x = (pi1exT _ _ x). -interpretation "exT \fst" 'pi1b x y = (pi1exT _ _ x y). +interpretation "exT \fst a" 'pi1a x = (pi1exT _ _ x). +interpretation "exT \fst b" 'pi1b x y = (pi1exT _ _ x y). interpretation "exT \snd" 'pi2 = (pi2exT _ _). -interpretation "exT \snd" 'pi2a x = (pi2exT _ _ x). -interpretation "exT \snd" 'pi2b x y = (pi2exT _ _ x y). +interpretation "exT \snd a" 'pi2a x = (pi2exT _ _ x). +interpretation "exT \snd b" 'pi2b x y = (pi2exT _ _ x y). inductive exT23 (A:Type0) (P:A→CProp0) (Q:A→CProp0) (R:A→A→CProp0) : CProp0 ≝ ex_introT23: ∀w,p:A. P w → Q p → R w p → exT23 A P Q R. @@ -134,16 +150,14 @@ definition pi2exT23 ≝ interpretation "exT2 \fst" 'pi1 = (pi1exT23 _ _ _ _). interpretation "exT2 \snd" 'pi2 = (pi2exT23 _ _ _ _). -interpretation "exT2 \fst" 'pi1a x = (pi1exT23 _ _ _ _ x). -interpretation "exT2 \snd" 'pi2a x = (pi2exT23 _ _ _ _ x). -interpretation "exT2 \fst" 'pi1b x y = (pi1exT23 _ _ _ _ x y). -interpretation "exT2 \snd" 'pi2b x y = (pi2exT23 _ _ _ _ x y). +interpretation "exT2 \fst a" 'pi1a x = (pi1exT23 _ _ _ _ x). +interpretation "exT2 \snd a" 'pi2a x = (pi2exT23 _ _ _ _ x). +interpretation "exT2 \fst b" 'pi1b x y = (pi1exT23 _ _ _ _ x y). +interpretation "exT2 \snd b" 'pi2b x y = (pi2exT23 _ _ _ _ x y). inductive exT2 (A:Type0) (P,Q:A→CProp0) : CProp0 ≝ ex_introT2: ∀w:A. P w → Q w → exT2 A P Q. -inductive exT22 (A:Type2) (P:A→CProp2) : CProp2 ≝ - ex_introT22: ∀w:A. P w → exT22 A P. definition Not : CProp0 → Prop ≝ λx:CProp.x → False.