let n be Element of NAT ; :: thesis: for r being real number
for y, x, z being Point of (TOP-REAL n) st y in Sphere x,r & z in Ball x,r holds
(LSeg y,z) /\ (Sphere x,r) = {y}
let r be real number ; :: thesis: for y, x, z being Point of (TOP-REAL n) st y in Sphere x,r & z in Ball x,r holds
(LSeg y,z) /\ (Sphere x,r) = {y}
let y, x, z be Point of (TOP-REAL n); :: thesis: ( y in Sphere x,r & z in Ball x,r implies (LSeg y,z) /\ (Sphere x,r) = {y} )
set s = y;
set t = z;
assume that
A1:
y in Sphere x,r
and
A2:
z in Ball x,r
; :: thesis: (LSeg y,z) /\ (Sphere x,r) = {y}
hereby :: according to TARSKI:def 3,
XBOOLE_0:def 10 :: thesis: {y} c= (LSeg y,z) /\ (Sphere x,r)
let m be
set ;
:: thesis: ( m in (LSeg y,z) /\ (Sphere x,r) implies b1 in {y} )assume A3:
m in (LSeg y,z) /\ (Sphere x,r)
;
:: thesis: b1 in {y}then reconsider w =
m as
Point of
(TOP-REAL n) ;
w in LSeg y,
z
by A3, XBOOLE_0:def 4;
then consider d being
Real such that A4:
0 <= d
and A5:
d <= 1
and A6:
w = ((1 - d) * y) + (d * z)
by JGRAPH_1:52;
A7:
m in Sphere x,
r
by A3, XBOOLE_0:def 4;
A8:
r =
|.(w - x).|
by A7, Th9
.=
|.((((1 - d) * y) + (d * z)) - (((1 - d) + d) * x)).|
by A6, EUCLID:33
.=
|.((((1 - d) * y) + (d * z)) - (((1 - d) * x) + (d * x))).|
by EUCLID:37
.=
|.(((((1 - d) * y) + (d * z)) - ((1 - d) * x)) - (d * x)).|
by EUCLID:50
.=
|.(((((1 - d) * y) - ((1 - d) * x)) + (d * z)) - (d * x)).|
by JORDAN2C:9
.=
|.((((1 - d) * (y - x)) + (d * z)) - (d * x)).|
by EUCLID:53
.=
|.(((1 - d) * (y - x)) + ((d * z) - (d * x))).|
by EUCLID:49
.=
|.(((1 - d) * (y - x)) + (d * (z - x))).|
by EUCLID:53
;
d - 1
<= 1
- 1
by A5, XREAL_1:11;
then A9:
- 0 <= - (d - 1)
;
A10:
|.((1 - d) * (y - x)).| =
(abs (1 - d)) * |.(y - x).|
by TOPRNS_1:8
.=
(1 - d) * |.(y - x).|
by A9, ABSVALUE:def 1
.=
(1 - d) * r
by A1, Th9
;
A11:
|.(d * (z - x)).| =
(abs d) * |.(z - x).|
by TOPRNS_1:8
.=
d * |.(z - x).|
by A4, ABSVALUE:def 1
;
end;
let m be set ; :: according to TARSKI:def 3 :: thesis: ( not m in {y} or m in (LSeg y,z) /\ (Sphere x,r) )
assume
m in {y}
; :: thesis: m in (LSeg y,z) /\ (Sphere x,r)
then A13:
m = y
by TARSKI:def 1;
y in LSeg y,z
by RLTOPSP1:69;
hence
m in (LSeg y,z) /\ (Sphere x,r)
by A1, A13, XBOOLE_0:def 4; :: thesis: verum