1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 include "logic/pts.ma".
17 nrecord pair (A,B: Type[0]) : Type[0] ≝
22 interpretation "Pair construction" 'pair x y = (mk_pair ? ? x y).
24 interpretation "Product" 'product x y = (pair x y).
26 interpretation "pair pi1" 'pi1 = (fst ? ?).
27 interpretation "pair pi2" 'pi2 = (snd ? ?).
28 interpretation "pair pi1" 'pi1a x = (fst ? ? x).
29 interpretation "pair pi2" 'pi2a x = (snd ? ? x).
30 interpretation "pair pi1" 'pi1b x y = (fst ? ? x y).
31 interpretation "pair pi2" 'pi2b x y = (snd ? ? x y).