:: TOPGEN_5 semantic presentation

theorem Th1: :: TOPGEN_5:1
for b1, b2 being Function st b1 tolerates b2 holds
for b3 being set holds (b1 +* b2) " b3 = (b1 " b3) \/ (b2 " b3)
proof end;

theorem Th2: :: TOPGEN_5:2
for b1, b2 being Function st dom b1 misses dom b2 holds
for b3 being set holds (b1 +* b2) " b3 = (b1 " b3) \/ (b2 " b3)
proof end;

registration
let c1 be set ;
let c2 be real-membered set ;
cluster -> real-yielding Relation of a1,a2;
coherence
for b1 being Relation of c1,c2 holds b1 is real-yielding
proof end;
end;

theorem Th3: :: TOPGEN_5:3
for b1, b2 being set
for b3 being Function st b2 in dom b3 holds
(commute (b1 .--> b3)) . b2 = b1 .--> (b3 . b2)
proof end;

theorem Th4: :: TOPGEN_5:4
for b1 being set
for b2 being Function holds
( b1 in dom (commute b2) iff ex b3 being set ex b4 being Function st
( b3 in dom b2 & b4 = b2 . b3 & b1 in dom b4 ) )
proof end;

theorem Th5: :: TOPGEN_5:5
for b1, b2 being set
for b3 being Function holds
( b1 in dom ((commute b3) . b2) iff ex b4 being Function st
( b1 in dom b3 & b4 = b3 . b1 & b2 in dom b4 ) )
proof end;

theorem Th6: :: TOPGEN_5:6
for b1, b2 being set
for b3, b4 being Function st b1 in dom b3 & b4 = b3 . b1 & b2 in dom b4 holds
((commute b3) . b2) . b1 = b4 . b2
proof end;

theorem Th7: :: TOPGEN_5:7
for b1 being set
for b2, b3, b4 being Function st b4 = b2 \/ b3 holds
(commute b4) . b1 = ((commute b2) . b1) \/ ((commute b3) . b1)
proof end;

registration
cluster finite -> finite bounded Element of bool REAL ;
coherence
for b1 being finite Subset of REAL holds b1 is bounded
proof end;
end;

theorem Th8: :: TOPGEN_5:8
for b1, b2, b3, b4 being real number st b1 < b2 & b3 <= b4 holds
].b1,b3.[ /\ [.b2,b4.] = [.b2,b3.[
proof end;

theorem Th9: :: TOPGEN_5:9
for b1, b2, b3, b4 being real number st b1 >= b2 & b3 > b4 holds
].b1,b3.[ /\ [.b2,b4.] = ].b1,b4.]
proof end;

theorem Th10: :: TOPGEN_5:10
for b1, b2, b3, b4 being real number st b1 <= b2 & b2 < b3 & b3 <= b4 holds
[.b1,b3.[ \/ ].b2,b4.] = [.b1,b4.]
proof end;

theorem Th11: :: TOPGEN_5:11
for b1, b2, b3, b4 being real number st b1 <= b2 & b2 < b3 & b3 <= b4 holds
[.b1,b3.[ /\ ].b2,b4.] = ].b2,b3.[
proof end;

theorem Th12: :: TOPGEN_5:12
for b1, b2 being set holds
( product <*b1,b2*>,[:b1,b2:] are_equipotent & Card (product <*b1,b2*>) = (Card b1) *` (Card b2) )
proof end;

scheme :: TOPGEN_5:sch 1
s1{ P1[ set ], F1() -> non empty set , F2() -> non empty set , F3() -> non empty set , F4( set ) -> set , F5( set ) -> set } :
ex b1 being Function of F3(),F2() st
for b2 being Element of F1() st b2 in F3() holds
( ( P1[b2] implies b1 . b2 = F4(b2) ) & ( P1[b2] implies b1 . b2 = F5(b2) ) )
provided
E11: F3() c= F1() and
E12: for b1 being Element of F1() st b1 in F3() holds
( ( P1[b1] implies F4(b1) in F2() ) & ( P1[b1] implies F5(b1) in F2() ) )
proof end;

scheme :: TOPGEN_5:sch 2
s2{ P1[ set ], P2[ set ], F1() -> non empty set , F2() -> non empty set , F3() -> non empty set , F4( set ) -> set , F5( set ) -> set , F6( set ) -> set } :
ex b1 being Function of F3(),F2() st
for b2 being Element of F1() st b2 in F3() holds
( ( P1[b2] implies b1 . b2 = F4(b2) ) & ( P1[b2] & P2[b2] implies b1 . b2 = F5(b2) ) & ( P1[b2] & P2[b2] implies b1 . b2 = F6(b2) ) )
provided
E11: F3() c= F1() and
E12: for b1 being Element of F1() st b1 in F3() holds
( ( P1[b1] implies F4(b1) in F2() ) & ( P1[b1] & P2[b1] implies F5(b1) in F2() ) & ( P1[b1] & P2[b1] implies F6(b1) in F2() ) )
proof end;

theorem Th13: :: TOPGEN_5:13
for b1, b2 being real number holds |.|[b1,b2]|.| ^2 = (b1 ^2 ) + (b2 ^2 )
proof end;

theorem Th14: :: TOPGEN_5:14
for b1 being TopSpace
for b2 being non empty TopSpace
for b3, b4 being closed Subset of b1
for b5 being continuous Function of (b1 | b3),b2
for b6 being continuous Function of (b1 | b4),b2 st b5 tolerates b6 holds
b5 +* b6 is continuous Function of (b1 | (b3 \/ b4)),b2
proof end;

theorem Th15: :: TOPGEN_5:15
for b1 being TopSpace
for b2 being non empty TopSpace
for b3, b4 being closed Subset of b1 st b3 misses b4 holds
for b5 being continuous Function of (b1 | b3),b2
for b6 being continuous Function of (b1 | b4),b2 holds b5 +* b6 is continuous Function of (b1 | (b3 \/ b4)),b2
proof end;

theorem Th16: :: TOPGEN_5:16
for b1 being TopSpace
for b2 being non empty TopSpace
for b3 being open closed Subset of b1
for b4 being continuous Function of (b1 | b3),b2
for b5 being continuous Function of (b1 | (b3 ` )),b2 holds b4 +* b5 is continuous Function of b1,b2
proof end;

theorem Th17: :: TOPGEN_5:17
for b1 being Nat
for b2 being Point of (TOP-REAL b1)
for b3 being real positive number holds b2 in Ball b2,b3
proof end;

definition
func y=0-line -> Subset of (TOP-REAL 2) equals :: TOPGEN_5:def 1
{ |[b1,0]| where B is Element of REAL : verum } ;
coherence
{ |[b1,0]| where B is Element of REAL : verum } is Subset of (TOP-REAL 2)
proof end;
func y>=0-plane -> Subset of (TOP-REAL 2) equals :: TOPGEN_5:def 2
{ |[b1,b2]| where B is Element of REAL , B is Element of REAL : b2 >= 0 } ;
coherence
{ |[b1,b2]| where B is Element of REAL , B is Element of REAL : b2 >= 0 } is Subset of (TOP-REAL 2)
proof end;
end;

:: deftheorem Def1 defines y=0-line TOPGEN_5:def 1 :
y=0-line = { |[b1,0]| where B is Element of REAL : verum } ;

:: deftheorem Def2 defines y>=0-plane TOPGEN_5:def 2 :
y>=0-plane = { |[b1,b2]| where B is Element of REAL , B is Element of REAL : b2 >= 0 } ;

theorem Th18: :: TOPGEN_5:18
for b1, b2 being set holds
( <*b1,b2*> in y=0-line iff ( b1 in REAL & b2 = 0 ) )
proof end;

theorem Th19: :: TOPGEN_5:19
for b1, b2 being real number holds
( |[b1,b2]| in y=0-line iff b2 = 0 )
proof end;

theorem Th20: :: TOPGEN_5:20
Card y=0-line = continuum
proof end;

theorem Th21: :: TOPGEN_5:21
for b1, b2 being set holds
( <*b1,b2*> in y>=0-plane iff ( b1 in REAL & ex b3 being Element of REAL st
( b2 = b3 & b3 >= 0 ) ) )
proof end;

theorem Th22: :: TOPGEN_5:22
for b1, b2 being real number holds
( |[b1,b2]| in y>=0-plane iff b2 >= 0 )
proof end;

registration
cluster y=0-line -> non empty ;
coherence
not y=0-line is empty
by Th19;
cluster y>=0-plane -> non empty ;
coherence
not y>=0-plane is empty
by Th22;
end;

theorem Th23: :: TOPGEN_5:23
y=0-line c= y>=0-plane
proof end;

theorem Th24: :: TOPGEN_5:24
for b1, b2, b3 being real number st b3 > 0 holds
( Ball |[b1,b2]|,b3 c= y>=0-plane iff b3 <= b2 )
proof end;

theorem Th25: :: TOPGEN_5:25
for b1, b2, b3 being real number st b3 > 0 & b2 >= 0 holds
( Ball |[b1,b2]|,b3 misses y=0-line iff b3 <= b2 )
proof end;

theorem Th26: :: TOPGEN_5:26
for b1 being Nat
for b2, b3 being Element of (TOP-REAL b1)
for b4, b5 being real positive number st |.(b2 - b3).| <= b4 - b5 holds
Ball b3,b5 c= Ball b2,b4
proof end;

theorem Th27: :: TOPGEN_5:27
for b1 being real number
for b2, b3 being real positive number st b2 <= b3 holds
Ball |[b1,b2]|,b2 c= Ball |[b1,b3]|,b3
proof end;

theorem Th28: :: TOPGEN_5:28
for b1, b2 being non empty TopSpace
for b3 being Neighborhood_System of b1
for b4 being Neighborhood_System of b2 st b3 = b4 holds
TopStruct(# the carrier of b1,the topology of b1 #) = TopStruct(# the carrier of b2,the topology of b2 #)
proof end;

definition
func Niemytzki-plane -> non empty strict TopSpace means :Def3: :: TOPGEN_5:def 3
( the carrier of a1 = y>=0-plane & ex b1 being Neighborhood_System of a1 st
( ( for b2 being Element of REAL holds b1 . |[b2,0]| = { ((Ball |[b2,b3]|,b3) \/ {|[b2,0]|}) where B is Element of REAL : b3 > 0 } ) & ( for b2, b3 being Element of REAL st b3 > 0 holds
b1 . |[b2,b3]| = { ((Ball |[b2,b3]|,b4) /\ y>=0-plane ) where B is Element of REAL : b4 > 0 } ) ) );
existence
ex b1 being non empty strict TopSpace st
( the carrier of b1 = y>=0-plane & ex b2 being Neighborhood_System of b1 st
( ( for b3 being Element of REAL holds b2 . |[b3,0]| = { ((Ball |[b3,b4]|,b4) \/ {|[b3,0]|}) where B is Element of REAL : b4 > 0 } ) & ( for b3, b4 being Element of REAL st b4 > 0 holds
b2 . |[b3,b4]| = { ((Ball |[b3,b4]|,b5) /\ y>=0-plane ) where B is Element of REAL : b5 > 0 } ) ) )
proof end;
uniqueness
for b1, b2 being non empty strict TopSpace st the carrier of b1 = y>=0-plane & ex b3 being Neighborhood_System of b1 st
( ( for b4 being Element of REAL holds b3 . |[b4,0]| = { ((Ball |[b4,b5]|,b5) \/ {|[b4,0]|}) where B is Element of REAL : b5 > 0 } ) & ( for b4, b5 being Element of REAL st b5 > 0 holds
b3 . |[b4,b5]| = { ((Ball |[b4,b5]|,b6) /\ y>=0-plane ) where B is Element of REAL : b6 > 0 } ) ) & the carrier of b2 = y>=0-plane & ex b3 being Neighborhood_System of b2 st
( ( for b4 being Element of REAL holds b3 . |[b4,0]| = { ((Ball |[b4,b5]|,b5) \/ {|[b4,0]|}) where B is Element of REAL : b5 > 0 } ) & ( for b4, b5 being Element of REAL st b5 > 0 holds
b3 . |[b4,b5]| = { ((Ball |[b4,b5]|,b6) /\ y>=0-plane ) where B is Element of REAL : b6 > 0 } ) ) holds
b1 = b2
proof end;
end;

:: deftheorem Def3 defines Niemytzki-plane TOPGEN_5:def 3 :
for b1 being non empty strict TopSpace holds
( b1 = Niemytzki-plane iff ( the carrier of b1 = y>=0-plane & ex b2 being Neighborhood_System of b1 st
( ( for b3 being Element of REAL holds b2 . |[b3,0]| = { ((Ball |[b3,b4]|,b4) \/ {|[b3,0]|}) where B is Element of REAL : b4 > 0 } ) & ( for b3, b4 being Element of REAL st b4 > 0 holds
b2 . |[b3,b4]| = { ((Ball |[b3,b4]|,b5) /\ y>=0-plane ) where B is Element of REAL : b5 > 0 } ) ) ) );

theorem Th29: :: TOPGEN_5:29
y>=0-plane \ y=0-line is open Subset of Niemytzki-plane
proof end;

Lemma27: the carrier of Niemytzki-plane = y>=0-plane
by Def3;

theorem Th30: :: TOPGEN_5:30
y=0-line is closed Subset of Niemytzki-plane
proof end;

theorem Th31: :: TOPGEN_5:31
for b1 being real number
for b2 being real positive number holds (Ball |[b1,b2]|,b2) \/ {|[b1,0]|} is open Subset of Niemytzki-plane
proof end;

theorem Th32: :: TOPGEN_5:32
for b1 being real number
for b2, b3 being real positive number holds (Ball |[b1,b2]|,b3) /\ y>=0-plane is open Subset of Niemytzki-plane
proof end;

theorem Th33: :: TOPGEN_5:33
for b1, b2 being real number
for b3 being real positive number st b3 <= b2 holds
Ball |[b1,b2]|,b3 is open Subset of Niemytzki-plane
proof end;

theorem Th34: :: TOPGEN_5:34
for b1 being Point of Niemytzki-plane
for b2 being real positive number ex b3 being Point of (TOP-REAL 2)ex b4 being open Subset of Niemytzki-plane st
( b1 in b4 & b3 in b4 & ( for b5 being Point of (TOP-REAL 2) st b5 in b4 holds
|.(b5 - b3).| < b2 ) )
proof end;

theorem Th35: :: TOPGEN_5:35
for b1, b2 being real number
for b3 being real positive number ex b4, b5 being rational number st
( |[b4,b5]| in Ball |[b1,b2]|,b3 & |[b4,b5]| <> |[b1,b2]| )
proof end;

theorem Th36: :: TOPGEN_5:36
for b1 being Subset of Niemytzki-plane st b1 = (y>=0-plane \ y=0-line ) /\ (product <*RAT ,RAT *>) holds
for b2 being set holds Cl (b1 \ {b2}) = [#] Niemytzki-plane
proof end;

theorem Th37: :: TOPGEN_5:37
for b1 being Subset of Niemytzki-plane st b1 = y>=0-plane \ y=0-line holds
for b2 being set holds Cl (b1 \ {b2}) = [#] Niemytzki-plane
proof end;

theorem Th38: :: TOPGEN_5:38
for b1 being Subset of Niemytzki-plane st b1 = y>=0-plane \ y=0-line holds
Cl b1 = [#] Niemytzki-plane
proof end;

theorem Th39: :: TOPGEN_5:39
for b1 being Subset of Niemytzki-plane st b1 = y=0-line holds
( Cl b1 = b1 & Int b1 = {} )
proof end;

theorem Th40: :: TOPGEN_5:40
(y>=0-plane \ y=0-line ) /\ (product <*RAT ,RAT *>) is dense Subset of Niemytzki-plane
proof end;

theorem Th41: :: TOPGEN_5:41
(y>=0-plane \ y=0-line ) /\ (product <*RAT ,RAT *>) is dense-in-itself Subset of Niemytzki-plane
proof end;

theorem Th42: :: TOPGEN_5:42
y>=0-plane \ y=0-line is dense Subset of Niemytzki-plane
proof end;

theorem Th43: :: TOPGEN_5:43
y>=0-plane \ y=0-line is dense-in-itself Subset of Niemytzki-plane
proof end;

theorem Th44: :: TOPGEN_5:44
y=0-line is nowhere_dense Subset of Niemytzki-plane
proof end;

theorem Th45: :: TOPGEN_5:45
for b1 being Subset of Niemytzki-plane st b1 = y=0-line holds
Der b1 is empty
proof end;

theorem Th46: :: TOPGEN_5:46
for b1 being Subset of y=0-line holds b1 is closed Subset of Niemytzki-plane
proof end;

theorem Th47: :: TOPGEN_5:47
RAT is dense Subset of Sorgenfrey-line
proof end;

theorem Th48: :: TOPGEN_5:48
Sorgenfrey-line is separable
proof end;

theorem Th49: :: TOPGEN_5:49
Niemytzki-plane is separable
proof end;

theorem Th50: :: TOPGEN_5:50
Niemytzki-plane is_T1
proof end;

theorem Th51: :: TOPGEN_5:51
not Niemytzki-plane is being_T4
proof end;

definition
let c1 be TopSpace;
attr a1 is Tychonoff means :Def4: :: TOPGEN_5:def 4
( a1 is_T1 & ( for b1 being closed Subset of a1
for b2 being Point of a1 st b2 in b1 ` holds
ex b3 being continuous Function of a1,I[01] st
( b3 . b2 = 0 & b3 .: b1 c= {1} ) ) );
end;

:: deftheorem Def4 defines Tychonoff TOPGEN_5:def 4 :
for b1 being TopSpace holds
( b1 is Tychonoff iff ( b1 is_T1 & ( for b2 being closed Subset of b1
for b3 being Point of b1 st b3 in b2 ` holds
ex b4 being continuous Function of b1,I[01] st
( b4 . b3 = 0 & b4 .: b2 c= {1} ) ) ) );

registration
cluster Tychonoff -> being_T1 being_T3 TopStruct ;
coherence
for b1 being TopSpace st b1 is Tychonoff holds
( b1 is being_T1 & b1 is being_T3 )
proof end;
cluster non empty being_T1 being_T4 -> non empty Tychonoff TopStruct ;
coherence
for b1 being non empty TopSpace st b1 is being_T1 & b1 is being_T4 holds
b1 is Tychonoff
proof end;
end;

theorem Th52: :: TOPGEN_5:52
for b1 being being_T1 TopSpace st b1 is Tychonoff holds
for b2 being prebasis of b1
for b3 being Point of b1
for b4 being Subset of b1 st b3 in b4 & b4 in b2 holds
ex b5 being continuous Function of b1,I[01] st
( b5 . b3 = 0 & b5 .: (b4 ` ) c= {1} )
proof end;

registration
let c1 be set ;
let c2 be non empty real-membered set ;
cluster -> real-yielding Relation of a1,a2;
coherence
for b1 being Relation of c1,c2 holds b1 is real-yielding
;
end;

theorem Th53: :: TOPGEN_5:53
for b1 being TopSpace
for b2 being non empty SubSpace of R^1
for b3, b4 being continuous Function of b1,b2
for b5 being Subset of b1 st ( for b6 being Point of b1 holds
( b6 in b5 iff b3 . b6 <= b4 . b6 ) ) holds
b5 is closed
proof end;

theorem Th54: :: TOPGEN_5:54
for b1 being TopSpace
for b2 being non empty SubSpace of R^1
for b3, b4 being continuous Function of b1,b2 ex b5 being continuous Function of b1,b2 st
for b6 being Point of b1 holds b5 . b6 = max (b3 . b6),(b4 . b6)
proof end;

theorem Th55: :: TOPGEN_5:55
for b1 being non empty TopSpace
for b2 being non empty SubSpace of R^1
for b3 being non empty finite set
for b4 being ManySortedFunction of b3 st ( for b5 being set st b5 in b3 holds
b4 . b5 is continuous Function of b1,b2 ) holds
ex b5 being continuous Function of b1,b2 st
for b6 being Point of b1
for b7 being non empty finite Subset of REAL st b7 = rng ((commute b4) . b6) holds
b5 . b6 = max b7
proof end;

theorem Th56: :: TOPGEN_5:56
for b1 being non empty being_T1 TopSpace
for b2 being prebasis of b1 st ( for b3 being Point of b1
for b4 being Subset of b1 st b3 in b4 & b4 in b2 holds
ex b5 being continuous Function of b1,I[01] st
( b5 . b3 = 0 & b5 .: (b4 ` ) c= {1} ) ) holds
b1 is Tychonoff
proof end;

theorem Th57: :: TOPGEN_5:57
Sorgenfrey-line is_T1
proof end;

theorem Th58: :: TOPGEN_5:58
for b1 being real number holds left_open_halfline b1 is closed Subset of Sorgenfrey-line
proof end;

theorem Th59: :: TOPGEN_5:59
for b1 being real number holds left_closed_halfline b1 is closed Subset of Sorgenfrey-line
proof end;

theorem Th60: :: TOPGEN_5:60
for b1 being real number holds right_closed_halfline b1 is closed Subset of Sorgenfrey-line
proof end;

theorem Th61: :: TOPGEN_5:61
for b1, b2 being real number holds [.b1,b2.[ is closed Subset of Sorgenfrey-line
proof end;

theorem Th62: :: TOPGEN_5:62
for b1 being real number
for b2 being rational number st b1 < b2 holds
ex b3 being continuous Function of Sorgenfrey-line ,I[01] st
for b4 being Point of Sorgenfrey-line holds
( ( b4 in [.b1,b2.[ implies b3 . b4 = 0 ) & ( not b4 in [.b1,b2.[ implies b3 . b4 = 1 ) )
proof end;

theorem Th63: :: TOPGEN_5:63
Sorgenfrey-line is Tychonoff
proof end;

definition
let c1 be real number ;
let c2 be real positive number ;
func + c1,c2 -> Function of Niemytzki-plane ,I[01] means :Def5: :: TOPGEN_5:def 5
( a3 . |[a1,0]| = 0 & ( for b1 being real number
for b2 being real non negative number holds
( ( ( b1 <> a1 or b2 <> 0 ) & not |[b1,b2]| in Ball |[a1,a2]|,a2 implies a3 . |[b1,b2]| = 1 ) & ( |[b1,b2]| in Ball |[a1,a2]|,a2 implies a3 . |[b1,b2]| = (|.(|[a1,0]| - |[b1,b2]|).| ^2 ) / ((2 * a2) * b2) ) ) ) );
existence
ex b1 being Function of Niemytzki-plane ,I[01] st
( b1 . |[c1,0]| = 0 & ( for b2 being real number
for b3 being real non negative number holds
( ( ( b2 <> c1 or b3 <> 0 ) & not |[b2,b3]| in Ball |[c1,c2]|,c2 implies b1 . |[b2,b3]| = 1 ) & ( |[b2,b3]| in Ball |[c1,c2]|,c2 implies b1 . |[b2,b3]| = (|.(|[c1,0]| - |[b2,b3]|).| ^2 ) / ((2 * c2) * b3) ) ) ) )
proof end;
uniqueness
for b1, b2 being Function of Niemytzki-plane ,I[01] st b1 . |[c1,0]| = 0 & ( for b3 being real number
for b4 being real non negative number holds
( ( ( b3 <> c1 or b4 <> 0 ) & not |[b3,b4]| in Ball |[c1,c2]|,c2 implies b1 . |[b3,b4]| = 1 ) & ( |[b3,b4]| in Ball |[c1,c2]|,c2 implies b1 . |[b3,b4]| = (|.(|[c1,0]| - |[b3,b4]|).| ^2 ) / ((2 * c2) * b4) ) ) ) & b2 . |[c1,0]| = 0 & ( for b3 being real number
for b4 being real non negative number holds
( ( ( b3 <> c1 or b4 <> 0 ) & not |[b3,b4]| in Ball |[c1,c2]|,c2 implies b2 . |[b3,b4]| = 1 ) & ( |[b3,b4]| in Ball |[c1,c2]|,c2 implies b2 . |[b3,b4]| = (|.(|[c1,0]| - |[b3,b4]|).| ^2 ) / ((2 * c2) * b4) ) ) ) holds
b1 = b2
proof end;
end;

:: deftheorem Def5 defines + TOPGEN_5:def 5 :
for b1 being real number
for b2 being real positive number
for b3 being Function of Niemytzki-plane ,I[01] holds
( b3 = + b1,b2 iff ( b3 . |[b1,0]| = 0 & ( for b4 being real number
for b5 being real non negative number holds
( ( ( b4 <> b1 or b5 <> 0 ) & not |[b4,b5]| in Ball |[b1,b2]|,b2 implies b3 . |[b4,b5]| = 1 ) & ( |[b4,b5]| in Ball |[b1,b2]|,b2 implies b3 . |[b4,b5]| = (|.(|[b1,0]| - |[b4,b5]|).| ^2 ) / ((2 * b2) * b5) ) ) ) ) );

theorem Th64: :: TOPGEN_5:64
for b1 being Point of (TOP-REAL 2) st b1 `2 >= 0 holds
for b2 being real number
for b3 being real positive number st (+ b2,b3) . b1 = 0 holds
b1 = |[b2,0]|
proof end;

theorem Th65: :: TOPGEN_5:65
for b1, b2 being real number
for b3 being real positive number st b1 <> b2 holds
(+ b1,b3) . |[b2,0]| = 1
proof end;

theorem Th66: :: TOPGEN_5:66
for b1 being Point of (TOP-REAL 2)
for b2 being real number
for b3, b4 being real positive number st b3 <= 1 & |.(b1 - |[b2,(b4 * b3)]|).| = b4 * b3 & b1 `2 <> 0 holds
(+ b2,b4) . b1 = b3
proof end;

theorem Th67: :: TOPGEN_5:67
for b1 being Point of (TOP-REAL 2)
for b2, b3 being real number
for b4 being real positive number st 0 <= b3 & b3 <= 1 & |.(b1 - |[b2,(b4 * b3)]|).| < b4 * b3 holds
(+ b2,b4) . b1 < b3
proof end;

theorem Th68: :: TOPGEN_5:68
for b1 being Point of (TOP-REAL 2) st b1 `2 >= 0 holds
for b2, b3 being real number
for b4 being real positive number st 0 <= b3 & b3 < 1 & |.(b1 - |[b2,(b4 * b3)]|).| > b4 * b3 holds
(+ b2,b4) . b1 > b3
proof end;

theorem Th69: :: TOPGEN_5:69
for b1 being Point of (TOP-REAL 2) st b1 `2 >= 0 holds
for b2, b3, b4 being real number
for b5 being real positive number st 0 <= b3 & b4 <= 1 & (+ b2,b5) . b1 in ].b3,b4.[ holds
ex b6 being real positive number st
( b6 <= b1 `2 & Ball b1,b6 c= (+ b2,b5) " ].b3,b4.[ )
proof end;

theorem Th70: :: TOPGEN_5:70
for b1 being real number
for b2, b3 being real positive number holds Ball |[b1,(b3 * b2)]|,(b3 * b2) c= (+ b1,b3) " ].0,b2.[
proof end;

theorem Th71: :: TOPGEN_5:71
for b1 being real number
for b2, b3 being real positive number holds (Ball |[b1,(b3 * b2)]|,(b3 * b2)) \/ {|[b1,0]|} c= (+ b1,b3) " [.0,b2.[
proof end;

theorem Th72: :: TOPGEN_5:72
for b1 being Point of (TOP-REAL 2) st b1 `2 >= 0 holds
for b2, b3 being real number
for b4 being real positive number st 0 < (+ b2,b4) . b1 & (+ b2,b4) . b1 < b3 & b3 <= 1 holds
b1 in Ball |[b2,(b4 * b3)]|,(b4 * b3)
proof end;

theorem Th73: :: TOPGEN_5:73
for b1 being Point of (TOP-REAL 2) st b1 `2 > 0 holds
for b2, b3 being real number
for b4 being real positive number st 0 <= b3 & b3 < (+ b2,b4) . b1 holds
ex b5 being real positive number st
( b5 <= b1 `2 & Ball b1,b5 c= (+ b2,b4) " ].b3,1.] )
proof end;

theorem Th74: :: TOPGEN_5:74
for b1 being Point of (TOP-REAL 2) st b1 `2 = 0 holds
for b2 being real number
for b3 being real positive number st (+ b2,b3) . b1 = 1 holds
ex b4 being real positive number st (Ball |[(b1 `1 ),b4]|,b4) \/ {b1} c= (+ b2,b3) " {1}
proof end;

theorem Th75: :: TOPGEN_5:75
for b1 being non empty TopSpace
for b2 being SubSpace of b1
for b3 being Basis of b1 holds { (b4 /\ ([#] b2)) where B is Subset of b1 : ( b4 in b3 & b4 meets [#] b2 ) } is Basis of b2
proof end;

theorem Th76: :: TOPGEN_5:76
{ ].b1,b2.[ where B is Real, B is Real : b1 < b2 } is Basis of R^1
proof end;

theorem Th77: :: TOPGEN_5:77
for b1 being TopSpace
for b2, b3 being Subset of b1
for b4 being set st b2 in b4 & b3 in b4 & b4 \/ {(b2 \/ b3)} is Basis of b1 holds
b4 is Basis of b1
proof end;

theorem Th78: :: TOPGEN_5:78
({ [.0,b1.[ where B is Real : ( 0 < b1 & b1 <= 1 ) } \/ { ].b1,1.] where B is Real : ( 0 <= b1 & b1 < 1 ) } ) \/ { ].b1,b2.[ where B is Real, B is Real : ( 0 <= b1 & b1 < b2 & b2 <= 1 ) } is Basis of I[01]
proof end;

theorem Th79: :: TOPGEN_5:79
for b1 being non empty TopSpace
for b2 being Function of b1,I[01] holds
( b2 is continuous iff for b3, b4 being real number st 0 <= b3 & b3 < 1 & 0 < b4 & b4 <= 1 holds
( b2 " [.0,b4.[ is open & b2 " ].b3,1.] is open ) )
proof end;

registration
let c1 be real number ;
let c2 be real positive number ;
cluster + a1,a2 -> continuous real-yielding ;
coherence
+ c1,c2 is continuous
proof end;
end;

theorem Th80: :: TOPGEN_5:80
for b1 being Subset of Niemytzki-plane
for b2 being Element of REAL
for b3 being real positive number st b1 = (Ball |[b2,b3]|,b3) \/ {|[b2,0]|} holds
ex b4 being continuous Function of Niemytzki-plane ,I[01] st
( b4 . |[b2,0]| = 0 & ( for b5, b6 being real number holds
( ( |[b5,b6]| in b1 ` implies b4 . |[b5,b6]| = 1 ) & ( |[b5,b6]| in b1 \ {|[b2,0]|} implies b4 . |[b5,b6]| = (|.(|[b2,0]| - |[b5,b6]|).| ^2 ) / ((2 * b3) * b6) ) ) ) )
proof end;

definition
let c1, c2 be real number ;
let c3 be real positive number ;
func + c1,c2,c3 -> Function of Niemytzki-plane ,I[01] means :Def6: :: TOPGEN_5:def 6
for b1 being real number
for b2 being real non negative number holds
( ( not |[b1,b2]| in Ball |[a1,a2]|,a3 implies a4 . |[b1,b2]| = 1 ) & ( |[b1,b2]| in Ball |[a1,a2]|,a3 implies a4 . |[b1,b2]| = |.(|[a1,a2]| - |[b1,b2]|).| / a3 ) );
existence
ex b1 being Function of Niemytzki-plane ,I[01] st
for b2 being real number
for b3 being real non negative number holds
( ( not |[b2,b3]| in Ball |[c1,c2]|,c3 implies b1 . |[b2,b3]| = 1 ) & ( |[b2,b3]| in Ball |[c1,c2]|,c3 implies b1 . |[b2,b3]| = |.(|[c1,c2]| - |[b2,b3]|).| / c3 ) )
proof end;
uniqueness
for b1, b2 being Function of Niemytzki-plane ,I[01] st ( for b3 being real number
for b4 being real non negative number holds
( ( not |[b3,b4]| in Ball |[c1,c2]|,c3 implies b1 . |[b3,b4]| = 1 ) & ( |[b3,b4]| in Ball |[c1,c2]|,c3 implies b1 . |[b3,b4]| = |.(|[c1,c2]| - |[b3,b4]|).| / c3 ) ) ) & ( for b3 being real number
for b4 being real non negative number holds
( ( not |[b3,b4]| in Ball |[c1,c2]|,c3 implies b2 . |[b3,b4]| = 1 ) & ( |[b3,b4]| in Ball |[c1,c2]|,c3 implies b2 . |[b3,b4]| = |.(|[c1,c2]| - |[b3,b4]|).| / c3 ) ) ) holds
b1 = b2
proof end;
end;

:: deftheorem Def6 defines + TOPGEN_5:def 6 :
for b1, b2 being real number
for b3 being real positive number
for b4 being Function of Niemytzki-plane ,I[01] holds
( b4 = + b1,b2,b3 iff for b5 being real number
for b6 being real non negative number holds
( ( not |[b5,b6]| in Ball |[b1,b2]|,b3 implies b4 . |[b5,b6]| = 1 ) & ( |[b5,b6]| in Ball |[b1,b2]|,b3 implies b4 . |[b5,b6]| = |.(|[b1,b2]| - |[b5,b6]|).| / b3 ) ) );

theorem Th81: :: TOPGEN_5:81
for b1 being Point of (TOP-REAL 2) st b1 `2 >= 0 holds
for b2 being real number
for b3 being real non negative number
for b4 being real positive number holds
( (+ b2,b3,b4) . b1 = 0 iff b1 = |[b2,b3]| )
proof end;

theorem Th82: :: TOPGEN_5:82
for b1 being real number
for b2 being real non negative number
for b3, b4 being real positive number st b4 <= 1 holds
(+ b1,b2,b3) " [.0,b4.[ = (Ball |[b1,b2]|,(b3 * b4)) /\ y>=0-plane
proof end;

theorem Th83: :: TOPGEN_5:83
for b1 being Point of (TOP-REAL 2) st b1 `2 > 0 holds
for b2 being real number
for b3 being real non negative number
for b4, b5 being real positive number st (+ b2,b4,b5) . b1 > b3 holds
( |.(|[b2,b4]| - b1).| > b5 * b3 & (Ball b1,(|.(|[b2,b4]| - b1).| - (b5 * b3))) /\ y>=0-plane c= (+ b2,b4,b5) " ].b3,1.] )
proof end;

theorem Th84: :: TOPGEN_5:84
for b1 being Point of (TOP-REAL 2) st b1 `2 = 0 holds
for b2 being real number
for b3 being real non negative number
for b4, b5 being real positive number st (+ b2,b4,b5) . b1 > b3 holds
( |.(|[b2,b4]| - b1).| > b5 * b3 & ex b6 being real positive number st
( b6 = (|.(|[b2,b4]| - b1).| - (b5 * b3)) / 2 & (Ball |[(b1 `1 ),b6]|,b6) \/ {b1} c= (+ b2,b4,b5) " ].b3,1.] ) )
proof end;

registration
let c1 be real number ;
let c2, c3 be real positive number ;
cluster + a1,a2,a3 -> continuous real-yielding ;
coherence
+ c1,c2,c3 is continuous
proof end;
end;

theorem Th85: :: TOPGEN_5:85
for b1 being Subset of Niemytzki-plane
for b2, b3 being Element of REAL
for b4 being real positive number st b3 > 0 & b1 = (Ball |[b2,b3]|,b4) /\ y>=0-plane holds
ex b5 being continuous Function of Niemytzki-plane ,I[01] st
( b5 . |[b2,b3]| = 0 & ( for b6, b7 being real number holds
( ( |[b6,b7]| in b1 ` implies b5 . |[b6,b7]| = 1 ) & ( |[b6,b7]| in b1 implies b5 . |[b6,b7]| = |.(|[b2,b3]| - |[b6,b7]|).| / b4 ) ) ) )
proof end;

theorem Th86: :: TOPGEN_5:86
Niemytzki-plane is_T1
proof end;

theorem Th87: :: TOPGEN_5:87
Niemytzki-plane is Tychonoff
proof end;