%------------------------------------------------------------------------------ % Metric Spaces % % Author: David Lester, Manchester University, NIA, Universite Perpignan % % All references are to WA Sutherland "Introduction to Metric and % Topological Spaces", OUP, 1981 % % Version 1.0 17/08/07 Initial Version % Version 1.1 23/03/11 New intervals added for probability %------------------------------------------------------------------------------
real_topology: THEORY
BEGIN
IMPORTING metric_space_def[real,(LAMBDA (x,y:real): abs(x-y))],
metric_space[real,(LAMBDA (x,y:real): abs(x-y))],
reals@bounded_reals,
countable_cross[rat,posrat], % Proof Only
sets_aux@countable_types % Proof only
a,x,y: VAR real
r: VAR posreal
q: VAR rat
pq: VAR posrat
X,A: VAR set[real]
interval?(A):bool = FORALL (x,y:(A),z:real): x <= z AND z <= y => A(z)
bounded?(A):bool
= (empty?(A) OR
(nonempty?(A) AND above_bounded[real](A) AND below_bounded[real](A)))
unbounded?(A):bool = NOT bounded?(A)
bounded_interval?(A):bool = interval?(A) AND bounded?(A)
unbounded_interval?(A):bool = interval?(A) AND unbounded?(A)
bounded_open_interval?(A):bool = bounded_interval?(A) and metric_open?(A)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.