]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/ground/lib/subset_overlap.ma
update in ground
[helm.git] / matita / matita / contribs / lambdadelta / ground / lib / subset_overlap.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/lib/subset.ma".
16 include "ground/notation/relations/between_3.ma".
17 include "ground/notation/relations/not_between_3.ma".
18
19 (* OVERLAP FOR SUBSETS ******************************************************)
20
21 definition subset_ol (A): relation2 (𝒫❨A❩) (𝒫❨A❩) ≝
22            λu1,u2. ∃∃p. p ϵ u1 & p ϵ u2.
23
24 interpretation
25   "overlap (subset)"
26   'Between A u1 u2 = (subset_ol A u1 u2).
27
28 interpretation
29   "negated overlap (subset)"
30   'NotBetween A u1 u2 = (negation (subset_ol A u1 u2)).
31
32 (* Basic constructions ******************************************************)
33
34 lemma subset_ol_i (A) (u1) (u2) (a):
35        a ϵ u1 → a ϵ u2 → u1 ≬{A} u2.
36 /2 width=3 by ex2_intro/ qed.