let x be Point of RealSpace; for r being Real holds Ball (x,r) = ].(x - r),(x + r).[
let r be Real; Ball (x,r) = ].(x - r),(x + r).[
reconsider x2 = x as Real by METRIC_1:def 14;
thus
Ball (x,r) c= ].(x - r),(x + r).[
XBOOLE_0:def 10 ].(x - r),(x + r).[ c= Ball (x,r)proof
let y be
set ;
TARSKI:def 3 ( not y in Ball (x,r) or y in ].(x - r),(x + r).[ )
assume A1:
y in Ball (
x,
r)
;
y in ].(x - r),(x + r).[
then reconsider y1 =
y as
Element of
RealSpace ;
reconsider y2 =
y1 as
Element of
REAL by METRIC_1:def 14;
A2:
dist (
x,
y1) =
real_dist . (
x2,
y2)
by METRIC_1:def 1, METRIC_1:def 14
.=
abs (x2 - y2)
by METRIC_1:def 13
.=
abs (- (y2 - x2))
.=
abs (y2 - x2)
by COMPLEX1:138
;
dist (
x,
y1)
< r
by A1, METRIC_1:12;
hence
y in ].(x - r),(x + r).[
by A2, RCOMP_1:8;
verum
end;
let y be set ; TARSKI:def 3 ( not y in ].(x - r),(x + r).[ or y in Ball (x,r) )
assume A3:
y in ].(x - r),(x + r).[
; y in Ball (x,r)
then reconsider y2 = y as Real ;
reconsider x1 = x, y1 = y2 as Element of RealSpace by METRIC_1:def 14;
abs (y2 - x) =
abs (- (y2 - x))
by COMPLEX1:138
.=
abs (x - y2)
.=
real_dist . (x2,y2)
by METRIC_1:def 13
;
then A4:
real_dist . (x2,y2) < r
by A3, RCOMP_1:8;
dist (x1,y1) = real_dist . (x2,y2)
by METRIC_1:def 1, METRIC_1:def 14;
hence
y in Ball (x,r)
by A4, METRIC_1:12; verum