reconsider P = [.0,1.] as Subset of R^1 by MEMBERED:3, TOPMETR:17;
A1:
I[01] = R^1 | P
by TOPMETR:19, TOPMETR:20;
reconsider D1 = D as Subset of (R^1 | P) by TOPMETR:19, TOPMETR:20;
A2:
Cl D = (Cl (Up D1)) /\ P
by A1, CONNSP_3:30;
thus
Cl D c= [#] I[01]
; XBOOLE_0:def 10 [#] I[01] c= Cl D
let x be object ; TARSKI:def 3 ( not x in [#] I[01] or x in Cl D )
assume A3:
x in [#] I[01]
; x in Cl D
reconsider p = x as Point of RealSpace by A3, BORSUK_1:40;
then
x in Cl (Up D1)
by GOBOARD6:92, TOPMETR:def 6;
hence
x in Cl D
by A3, A2, BORSUK_1:40, XBOOLE_0:def 4; verum