let X be non empty TopSpace; ( ( X is Hausdorff & X is locally-compact ) iff One-Point_Compactification X is Hausdorff )
set D = { (U \/ {([#] X)}) where U is Subset of X : ( U is open & U ` is compact ) } ;
A1:
not [#] X in [#] X
;
A2:
[#] (One-Point_Compactification X) = succ ([#] X)
by Def9;
[#] X in {([#] X)}
by TARSKI:def 1;
then reconsider q = [#] X as Point of (One-Point_Compactification X) by A2, XBOOLE_0:def 3;
A3:
the topology of (One-Point_Compactification X) = the topology of X \/ { (U \/ {([#] X)}) where U is Subset of X : ( U is open & U ` is compact ) }
by Def9;
A4:
[#] X c= [#] (One-Point_Compactification X)
by Th4;
thus
( X is Hausdorff & X is locally-compact implies One-Point_Compactification X is Hausdorff )
( One-Point_Compactification X is Hausdorff implies ( X is Hausdorff & X is locally-compact ) )
A25:
X is SubSpace of One-Point_Compactification X
by Th5;
assume A26:
One-Point_Compactification X is Hausdorff
; ( X is Hausdorff & X is locally-compact )
hence
X is Hausdorff
by A25; X is locally-compact
let x be Point of X; COMPACT1:def 6 ex U being a_neighborhood of x st U is compact
reconsider p = x as Point of (One-Point_Compactification X) by A4;
not [#] X in [#] X
;
then
p <> q
;
then consider V, U being Subset of (One-Point_Compactification X) such that
A27:
V is open
and
A28:
U is open
and
A29:
p in V
and
A30:
q in U
and
A31:
V misses U
by A26;
U in the topology of (One-Point_Compactification X)
by A28;
then
U in { (U \/ {([#] X)}) where U is Subset of X : ( U is open & U ` is compact ) }
by A3, A32, XBOOLE_0:def 3;
then consider W being Subset of X such that
A33:
U = W \/ {([#] X)}
and
W is open
and
A34:
W ` is compact
;
A35: ([#] X) \ U =
(([#] X) \ W) /\ (([#] X) \ {([#] X)})
by A33, XBOOLE_1:53
.=
(([#] X) \ W) /\ ([#] X)
by A1, ZFMISC_1:57
.=
([#] X) \ W
by XBOOLE_1:28
;
A36:
[#] X in {([#] X)}
by TARSKI:def 1;
then A37:
[#] X in U
by A33, XBOOLE_0:def 3;
A38: ([#] (One-Point_Compactification X)) \ U =
(([#] X) \ U) \/ ({([#] X)} \ U)
by A2, XBOOLE_1:42
.=
(([#] X) \ W) \/ {}
by A37, A35, ZFMISC_1:60
.=
W `
;
A39:
V c= U `
by A31, SUBSET_1:23;
then A40:
V c= [#] X
by A38, XBOOLE_1:1;
V in the topology of (One-Point_Compactification X)
by A27;
then
V in the topology of X
by A3, A41, XBOOLE_0:def 3;
then reconsider Vx = V as open Subset of X by PRE_TOPC:def 2;
set K = Cl Vx;
A42:
Int Vx c= Int (Cl Vx)
by PRE_TOPC:18, TOPS_1:19;
x in Int Vx
by A29, TOPS_1:23;
then reconsider K = Cl Vx as a_neighborhood of x by A42, CONNSP_2:def 1;
take
K
; K is compact
(U `) /\ ([#] X) = W `
by A38, XBOOLE_1:28;
then
W ` is closed
by A25, A28, PRE_TOPC:13;
hence
K is compact
by A34, A39, A38, COMPTS_1:9, TOPS_1:5; verum