]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/ground/lib/subset.ma
25863fe2b6f8547929aaae653dbbf0d93c5d983a
[helm.git] / matita / matita / contribs / lambdadelta / ground / lib / subset.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 "ground/notation/functions/powerclass_1.ma".
16 include "ground/notation/relations/epsilon_3.ma".
17 include "ground/lib/relations.ma".
18
19 (* SUBSETS ******************************************************************)
20
21 definition subset (A): Type[0] ≝
22            predicate A.
23
24 interpretation
25   "power class (subset)"
26   'PowerClass A = (subset A).
27
28 definition subset_in (A): 𝒫❨A❩ → 𝒫❨A❩ ≝
29            λu.u.
30
31 interpretation
32   "membership (subset)"
33   'Epsilon A a u = (subset_in A u a).