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 "formal_topology/basic_pairs.ma".
17 interpretation "REL carrier" 'card c = (carrier c).
19 definition comprehension: ∀b:REL. (b → CProp) → Ω \sup |b| ≝
20 λb:REL.λP.{x | ∃p: x ∈ b. P (mk_ssigma ?? x p)}.
22 interpretation "subset comprehension" 'comprehension s p =
25 definition ext: ∀o: basic_pair. (form o) → Ω \sup |(concr o)| ≝
26 λo,f.{x ∈ (concr o) | x ♮(rel o) f}.
28 definition downarrow ≝
29 λo: basic_pair.λa,b: form o.
30 {c | ext ? c ⊆ ext ? a ∩ ext ? b }.