]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/nlibrary/datatypes/pairs.ma
...
[helm.git] / helm / software / matita / nlibrary / datatypes / pairs.ma
index dfff0c3f8a1443620fb92a591cb64053196c919f..2165accbb557c0d2c30b291e235e1d3a274b70d1 100644 (file)
@@ -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).