]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/lib/hott/types.ma
Porting of HOTT from Coq to Matita.
[helm.git] / matita / matita / lib / hott / types.ma
1 (**************************************************************************)
2 (*       ___                                                              *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||         The HELM team.                                      *)
8 (*      ||A||         http://helm.cs.unibo.it                             *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU General Public License Version 2                  *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15 include "pts.ma".
16
17 record Exists (A: Type[0]) (P: A → Type[0]) : Type[0] ≝ {
18  pr1: A;
19  pr2: P pr1
20 }.
21
22 interpretation "Exists" 'exists x = (Exists ? x).
23 interpretation "mk_Exists" 'mk_exists w p = (mk_Exists ?? w p).