:: GOBRD14 semantic presentation

Lemma1: Euclid 2 = MetrStruct(# (REAL 2),(Pitag_dist 2) #)
by EUCLID:def 7;

theorem Th1: :: GOBRD14:1
for b1 being TopSpace
for b2, b3 being Subset of b1 st b3 is_a_component_of b2 holds
b3 is connected
proof end;

theorem Th2: :: GOBRD14:2
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) st b3 is_inside_component_of b2 holds
b3 is connected
proof end;

theorem Th3: :: GOBRD14:3
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) st b3 is_outside_component_of b2 holds
b3 is connected
proof end;

theorem Th4: :: GOBRD14:4
for b1 being Nat
for b2, b3 being Subset of (TOP-REAL b1) st b3 is_a_component_of b2 ` holds
b2 misses b3
proof end;

theorem Th5: :: GOBRD14:5
for b1, b2, b3 being Subset of (TOP-REAL 2) st b1 is_outside_component_of b2 & b3 is_inside_component_of b2 holds
b1 misses b3
proof end;

theorem Th6: :: GOBRD14:6
for b1 being Nat st 2 <= b1 holds
for b2, b3, b4 being Subset of (TOP-REAL b1) st b4 is Bounded & b2 is_outside_component_of b4 & b3 is_outside_component_of b4 holds
b2 = b3
proof end;

theorem Th7: :: GOBRD14:7
for b1 being non constant standard special_circular_sequence
for b2 being Subset of (TOP-REAL 2)
for b3 being Point of (Euclid 2) st b3 = 0.REAL 2 & b2 is_outside_component_of L~ b1 holds
ex b4 being Real st
( b4 > 0 & (Ball b3,b4) ` c= b2 )
proof end;

registration
let c1 be closed Subset of (TOP-REAL 2);
cluster BDD a1 -> open ;
coherence
BDD c1 is open
proof end;
cluster UBD a1 -> open ;
coherence
UBD c1 is open
proof end;
end;

registration
let c1 be compact Subset of (TOP-REAL 2);
cluster UBD a1 -> connected ;
coherence
UBD c1 is connected
proof end;
end;

theorem Th8: :: GOBRD14:8
for b1 being Nat
for b2 being FinSequence of (TOP-REAL b1) st L~ b2 <> {} holds
2 <= len b2
proof end;

definition
let c1 be Nat;
let c2, c3 be Point of (TOP-REAL c1);
func dist c2,c3 -> Real means :Def1: :: GOBRD14:def 1
ex b1, b2 being Point of (Euclid a1) st
( b1 = a2 & b2 = a3 & a4 = dist b1,b2 );
existence
ex b1 being Realex b2, b3 being Point of (Euclid c1) st
( b2 = c2 & b3 = c3 & b1 = dist b2,b3 )
proof end;
uniqueness
for b1, b2 being Real st ex b3, b4 being Point of (Euclid c1) st
( b3 = c2 & b4 = c3 & b1 = dist b3,b4 ) & ex b3, b4 being Point of (Euclid c1) st
( b3 = c2 & b4 = c3 & b2 = dist b3,b4 ) holds
b1 = b2
;
commutativity
for b1 being Real
for b2, b3 being Point of (TOP-REAL c1) st ex b4, b5 being Point of (Euclid c1) st
( b4 = b2 & b5 = b3 & b1 = dist b4,b5 ) holds
ex b4, b5 being Point of (Euclid c1) st
( b4 = b3 & b5 = b2 & b1 = dist b4,b5 )
;
end;

:: deftheorem Def1 defines dist GOBRD14:def 1 :
for b1 being Nat
for b2, b3 being Point of (TOP-REAL b1)
for b4 being Real holds
( b4 = dist b2,b3 iff ex b5, b6 being Point of (Euclid b1) st
( b5 = b2 & b6 = b3 & b4 = dist b5,b6 ) );

theorem Th9: :: GOBRD14:9
for b1, b2 being Point of (TOP-REAL 2) holds dist b1,b2 = sqrt ((((b1 `1 ) - (b2 `1 )) ^2 ) + (((b1 `2 ) - (b2 `2 )) ^2 ))
proof end;

theorem Th10: :: GOBRD14:10
for b1 being Nat
for b2 being Point of (TOP-REAL b1) holds dist b2,b2 = 0
proof end;

theorem Th11: :: GOBRD14:11
for b1 being Nat
for b2, b3, b4 being Point of (TOP-REAL b1) holds dist b2,b4 <= (dist b2,b3) + (dist b3,b4)
proof end;

theorem Th12: :: GOBRD14:12
for b1, b2, b3, b4 being real number
for b5, b6 being Point of (TOP-REAL 2) st b1 <= b5 `1 & b5 `1 <= b2 & b3 <= b5 `2 & b5 `2 <= b4 & b1 <= b6 `1 & b6 `1 <= b2 & b3 <= b6 `2 & b6 `2 <= b4 holds
dist b5,b6 <= (b2 - b1) + (b4 - b3)
proof end;

theorem Th13: :: GOBRD14:13
for b1, b2 being Nat
for b3 being Go-board st 1 <= b1 & b1 < len b3 & 1 <= b2 & b2 < width b3 holds
cell b3,b1,b2 = product (1,2 --> [.((b3 * b1,1) `1 ),((b3 * (b1 + 1),1) `1 ).],[.((b3 * 1,b2) `2 ),((b3 * 1,(b2 + 1)) `2 ).])
proof end;

theorem Th14: :: GOBRD14:14
for b1, b2 being Nat
for b3 being Go-board st 1 <= b1 & b1 < len b3 & 1 <= b2 & b2 < width b3 holds
cell b3,b1,b2 is compact
proof end;

theorem Th15: :: GOBRD14:15
for b1, b2, b3 being Nat
for b4 being Go-board st [b1,b2] in Indices b4 & [(b1 + b3),b2] in Indices b4 holds
dist (b4 * b1,b2),(b4 * (b1 + b3),b2) = ((b4 * (b1 + b3),b2) `1 ) - ((b4 * b1,b2) `1 )
proof end;

theorem Th16: :: GOBRD14:16
for b1, b2, b3 being Nat
for b4 being Go-board st [b1,b2] in Indices b4 & [b1,(b2 + b3)] in Indices b4 holds
dist (b4 * b1,b2),(b4 * b1,(b2 + b3)) = ((b4 * b1,(b2 + b3)) `2 ) - ((b4 * b1,b2) `2 )
proof end;

theorem Th17: :: GOBRD14:17
for b1 being Nat
for b2 being compact non horizontal non vertical Subset of (TOP-REAL 2) holds 3 <= (len (Gauge b2,b1)) -' 1
proof end;

theorem Th18: :: GOBRD14:18
for b1, b2 being Nat
for b3 being compact non horizontal non vertical Subset of (TOP-REAL 2) st b1 <= b2 holds
for b4, b5 being Nat st 2 <= b4 & b4 <= (len (Gauge b3,b1)) - 1 & 2 <= b5 & b5 <= (len (Gauge b3,b1)) - 1 holds
ex b6, b7 being Nat st
( 2 <= b6 & b6 <= (len (Gauge b3,b2)) - 1 & 2 <= b7 & b7 <= (len (Gauge b3,b2)) - 1 & [b6,b7] in Indices (Gauge b3,b2) & (Gauge b3,b1) * b4,b5 = (Gauge b3,b2) * b6,b7 & b6 = 2 + ((2 |^ (b2 -' b1)) * (b4 -' 2)) & b7 = 2 + ((2 |^ (b2 -' b1)) * (b5 -' 2)) )
proof end;

theorem Th19: :: GOBRD14:19
for b1, b2, b3 being Nat
for b4 being compact non horizontal non vertical Subset of (TOP-REAL 2) st [b1,b2] in Indices (Gauge b4,b3) & [b1,(b2 + 1)] in Indices (Gauge b4,b3) holds
dist ((Gauge b4,b3) * b1,b2),((Gauge b4,b3) * b1,(b2 + 1)) = ((N-bound b4) - (S-bound b4)) / (2 |^ b3)
proof end;

theorem Th20: :: GOBRD14:20
for b1, b2, b3 being Nat
for b4 being compact non horizontal non vertical Subset of (TOP-REAL 2) st [b1,b2] in Indices (Gauge b4,b3) & [(b1 + 1),b2] in Indices (Gauge b4,b3) holds
dist ((Gauge b4,b3) * b1,b2),((Gauge b4,b3) * (b1 + 1),b2) = ((E-bound b4) - (W-bound b4)) / (2 |^ b3)
proof end;

theorem Th21: :: GOBRD14:21
for b1 being compact non horizontal non vertical Subset of (TOP-REAL 2)
for b2, b3 being real number st b2 > 0 & b3 > 0 holds
ex b4 being Nat st
( 1 < b4 & dist ((Gauge b1,b4) * 1,1),((Gauge b1,b4) * 1,2) < b2 & dist ((Gauge b1,b4) * 1,1),((Gauge b1,b4) * 2,1) < b3 )
proof end;

theorem Th22: :: GOBRD14:22
for b1 being non constant standard special_circular_sequence
for b2 being Subset of ((TOP-REAL 2) | ((L~ b1) ` )) holds
( not b2 is_a_component_of (TOP-REAL 2) | ((L~ b1) ` ) or b2 = RightComp b1 or b2 = LeftComp b1 )
proof end;

theorem Th23: :: GOBRD14:23
for b1 being non constant standard special_circular_sequence
for b2, b3 being Subset of (TOP-REAL 2) st (L~ b1) ` = b2 \/ b3 & b2 misses b3 & ( for b4, b5 being Subset of ((TOP-REAL 2) | ((L~ b1) ` )) st b4 = b2 & b5 = b3 holds
( b4 is_a_component_of (TOP-REAL 2) | ((L~ b1) ` ) & b5 is_a_component_of (TOP-REAL 2) | ((L~ b1) ` ) ) ) & not ( b2 = RightComp b1 & b3 = LeftComp b1 ) holds
( b2 = LeftComp b1 & b3 = RightComp b1 )
proof end;

theorem Th24: :: GOBRD14:24
for b1 being non constant standard special_circular_sequence holds LeftComp b1 misses RightComp b1
proof end;

theorem Th25: :: GOBRD14:25
for b1 being non constant standard special_circular_sequence holds ((L~ b1) \/ (RightComp b1)) \/ (LeftComp b1) = the carrier of (TOP-REAL 2)
proof end;

theorem Th26: :: GOBRD14:26
for b1 being non constant standard special_circular_sequence
for b2 being Point of (TOP-REAL 2) holds
( b2 in L~ b1 iff ( not b2 in LeftComp b1 & not b2 in RightComp b1 ) )
proof end;

theorem Th27: :: GOBRD14:27
for b1 being non constant standard special_circular_sequence
for b2 being Point of (TOP-REAL 2) holds
( b2 in LeftComp b1 iff ( not b2 in L~ b1 & not b2 in RightComp b1 ) )
proof end;

theorem Th28: :: GOBRD14:28
for b1 being non constant standard special_circular_sequence
for b2 being Point of (TOP-REAL 2) holds
( b2 in RightComp b1 iff ( not b2 in L~ b1 & not b2 in LeftComp b1 ) ) by Th26, Th27;

theorem Th29: :: GOBRD14:29
for b1 being non constant standard special_circular_sequence holds L~ b1 = (Cl (RightComp b1)) \ (RightComp b1)
proof end;

theorem Th30: :: GOBRD14:30
for b1 being non constant standard special_circular_sequence holds L~ b1 = (Cl (LeftComp b1)) \ (LeftComp b1)
proof end;

theorem Th31: :: GOBRD14:31
for b1 being non constant standard special_circular_sequence holds Cl (RightComp b1) = (RightComp b1) \/ (L~ b1)
proof end;

theorem Th32: :: GOBRD14:32
for b1 being non constant standard special_circular_sequence holds Cl (LeftComp b1) = (LeftComp b1) \/ (L~ b1)
proof end;

registration
let c1 be non constant standard special_circular_sequence;
cluster L~ a1 -> Jordan ;
coherence
L~ c1 is Jordan
proof end;
end;

theorem Th33: :: GOBRD14:33
for b1 being Point of (TOP-REAL 2)
for b2 being non constant standard clockwise_oriented special_circular_sequence st b1 in RightComp b2 holds
W-bound (L~ b2) < b1 `1
proof end;

theorem Th34: :: GOBRD14:34
for b1 being Point of (TOP-REAL 2)
for b2 being non constant standard clockwise_oriented special_circular_sequence st b1 in RightComp b2 holds
E-bound (L~ b2) > b1 `1
proof end;

theorem Th35: :: GOBRD14:35
for b1 being Point of (TOP-REAL 2)
for b2 being non constant standard clockwise_oriented special_circular_sequence st b1 in RightComp b2 holds
N-bound (L~ b2) > b1 `2
proof end;

theorem Th36: :: GOBRD14:36
for b1 being Point of (TOP-REAL 2)
for b2 being non constant standard clockwise_oriented special_circular_sequence st b1 in RightComp b2 holds
S-bound (L~ b2) < b1 `2
proof end;

theorem Th37: :: GOBRD14:37
for b1, b2 being Point of (TOP-REAL 2)
for b3 being non constant standard clockwise_oriented special_circular_sequence st b1 in RightComp b3 & b2 in LeftComp b3 holds
LSeg b1,b2 meets L~ b3
proof end;

theorem Th38: :: GOBRD14:38
for b1 being compact non horizontal non vertical Subset of (TOP-REAL 2) holds Cl (RightComp (SpStSeq b1)) = product (1,2 --> [.(W-bound (L~ (SpStSeq b1))),(E-bound (L~ (SpStSeq b1))).],[.(S-bound (L~ (SpStSeq b1))),(N-bound (L~ (SpStSeq b1))).])
proof end;

theorem Th39: :: GOBRD14:39
for b1 being non constant standard clockwise_oriented special_circular_sequence holds proj1 .: (Cl (RightComp b1)) = proj1 .: (L~ b1)
proof end;

theorem Th40: :: GOBRD14:40
for b1 being non constant standard clockwise_oriented special_circular_sequence holds proj2 .: (Cl (RightComp b1)) = proj2 .: (L~ b1)
proof end;

theorem Th41: :: GOBRD14:41
for b1 being non constant standard clockwise_oriented special_circular_sequence holds RightComp b1 c= RightComp (SpStSeq (L~ b1))
proof end;

theorem Th42: :: GOBRD14:42
for b1 being non constant standard clockwise_oriented special_circular_sequence holds Cl (RightComp b1) is compact
proof end;

theorem Th43: :: GOBRD14:43
for b1 being non constant standard clockwise_oriented special_circular_sequence holds not LeftComp b1 is Bounded
proof end;

theorem Th44: :: GOBRD14:44
for b1 being non constant standard clockwise_oriented special_circular_sequence holds LeftComp b1 is_outside_component_of L~ b1
proof end;

theorem Th45: :: GOBRD14:45
for b1 being non constant standard clockwise_oriented special_circular_sequence holds RightComp b1 is_inside_component_of L~ b1
proof end;

theorem Th46: :: GOBRD14:46
for b1 being non constant standard clockwise_oriented special_circular_sequence holds UBD (L~ b1) = LeftComp b1
proof end;

theorem Th47: :: GOBRD14:47
for b1 being non constant standard clockwise_oriented special_circular_sequence holds BDD (L~ b1) = RightComp b1
proof end;

theorem Th48: :: GOBRD14:48
for b1 being non constant standard clockwise_oriented special_circular_sequence
for b2 being Subset of (TOP-REAL 2) st b2 is_outside_component_of L~ b1 holds
b2 = LeftComp b1
proof end;

theorem Th49: :: GOBRD14:49
for b1 being non constant standard clockwise_oriented special_circular_sequence
for b2 being Subset of (TOP-REAL 2) st b2 is_inside_component_of L~ b1 holds
b2 meets RightComp b1
proof end;

theorem Th50: :: GOBRD14:50
for b1 being non constant standard clockwise_oriented special_circular_sequence
for b2 being Subset of (TOP-REAL 2) st b2 is_inside_component_of L~ b1 holds
b2 = BDD (L~ b1)
proof end;

theorem Th51: :: GOBRD14:51
for b1 being non constant standard clockwise_oriented special_circular_sequence holds W-bound (L~ b1) = W-bound (RightComp b1)
proof end;

theorem Th52: :: GOBRD14:52
for b1 being non constant standard clockwise_oriented special_circular_sequence holds E-bound (L~ b1) = E-bound (RightComp b1)
proof end;

theorem Th53: :: GOBRD14:53
for b1 being non constant standard clockwise_oriented special_circular_sequence holds N-bound (L~ b1) = N-bound (RightComp b1)
proof end;

theorem Th54: :: GOBRD14:54
for b1 being non constant standard clockwise_oriented special_circular_sequence holds S-bound (L~ b1) = S-bound (RightComp b1)
proof end;