]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/library/formal_topology/concrete_spaces.ma
4accb180381603cc35c0b3eb0fd2992bca7e8aef
[helm.git] / helm / software / matita / library / formal_topology / concrete_spaces.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 "formal_topology/basic_pairs.ma".
16
17 interpretation "REL carrier" 'card c = (carrier c).
18
19 definition comprehension: ∀b:REL. (b → CProp) → Ω \sup |b| ≝
20  λb:REL.λP.{x | ∃p: x ∈ b. P (mk_ssigma ?? x p)}.
21
22 interpretation "subset comprehension" 'comprehension s p =
23  (comprehension s p).
24
25 definition ext: ∀o: basic_pair. (form o) → Ω \sup |(concr o)| ≝
26  λo,f.{x ∈ (concr o) | x ♮(rel o) f}.
27
28 definition downarrow ≝
29  λo: basic_pair.λa,b: form o.
30   {c | ext ? c ⊆ ext ? a ∩ ext ? b }.