X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Flibrary%2Fdatatypes%2Fconstructors.ma;h=92b27d64e904d543b696040a750419a701a29997;hb=f538a0b46ba4164a21a76e47a6ed3b3e9deb5041;hp=6e67c039fe78010f3cc04ab0d41ddf2daa9e09b4;hpb=4dc47c9675ffd5fa50296ffaa9b5997501518c98;p=helm.git diff --git a/helm/software/matita/library/datatypes/constructors.ma b/helm/software/matita/library/datatypes/constructors.ma index 6e67c039f..92b27d64e 100644 --- a/helm/software/matita/library/datatypes/constructors.ma +++ b/helm/software/matita/library/datatypes/constructors.ma @@ -21,7 +21,7 @@ inductive unit : Set ≝ something: unit. inductive Prod (A,B:Type) : Type \def pair : A \to B \to Prod A B. -interpretation "Pair construction" 'pair x y = (pair _ _ x y). +interpretation "Pair construction" 'pair x y = (pair ? ? x y). interpretation "Product" 'product x y = (Prod x y). @@ -33,12 +33,12 @@ definition snd \def \lambda A,B:Type.\lambda p: Prod A B. match p with [(pair a b) \Rightarrow b]. -interpretation "pair pi1" 'pi1 = (fst _ _). -interpretation "pair pi2" 'pi2 = (snd _ _). -interpretation "pair pi1" 'pi1a x = (fst _ _ x). -interpretation "pair pi2" 'pi2a x = (snd _ _ x). -interpretation "pair pi1" 'pi1b x y = (fst _ _ x y). -interpretation "pair pi2" 'pi2b x y = (snd _ _ x y). +interpretation "pair pi1" 'pi1 = (fst ? ?). +interpretation "pair pi2" 'pi2 = (snd ? ?). +interpretation "pair pi1" 'pi1a x = (fst ? ? x). +interpretation "pair pi2" 'pi2a x = (snd ? ? x). +interpretation "pair pi1" 'pi1b x y = (fst ? ? x y). +interpretation "pair pi2" 'pi2b x y = (snd ? ? x y). theorem eq_pair_fst_snd: \forall A,B:Type.\forall p:Prod A B. p = 〈 \fst p, \snd p 〉.