X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fnlibrary%2Fdatatypes%2Fpairs.ma;h=2165accbb557c0d2c30b291e235e1d3a274b70d1;hb=a4cd6a8a1d6a008518c12daca794b9e811c1dee5;hp=dfff0c3f8a1443620fb92a591cb64053196c919f;hpb=7508af658c85b26d0af929c85069bae18bc6546a;p=helm.git diff --git a/helm/software/matita/nlibrary/datatypes/pairs.ma b/helm/software/matita/nlibrary/datatypes/pairs.ma index dfff0c3f8..2165accbb 100644 --- a/helm/software/matita/nlibrary/datatypes/pairs.ma +++ b/helm/software/matita/nlibrary/datatypes/pairs.ma @@ -17,4 +17,15 @@ include "logic/pts.ma". nrecord pair (A,B: Type[0]) : Type[0] ≝ { fst: A; snd: B - }. \ No newline at end of file + }. + +interpretation "Pair construction" 'pair x y = (mk_pair ? ? x y). + +interpretation "Product" 'product x y = (pair 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).