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=644acc2183a3d813951252fd8921a175f4b5c340;hpb=4bdb34a1cce33b4387b04cc37bf229e08f5bbafb;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 644acc218..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,14 +150,15 @@ 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. + definition Not : CProp0 → Prop ≝ λx:CProp.x → False. interpretation "constructive not" 'not x = (Not x).