:: ALI2 semantic presentation

definition
let c1 be non empty MetrSpace;
mode contraction of a1 -> Function of a1,a1 means :E1: :: ALI2:def 1
ex b1 being Real st
( 0 < b1 & b1 < 1 & for b2, b3 being Point of a1 holds dist (a2 . b2),(a2 . b3) <= b1 * (dist b2,b3) );
existence
ex b1 being Function of c1,c1ex b2 being Real st
( 0 < b2 & b2 < 1 & for b3, b4 being Point of c1 holds dist (b1 . b3),(b1 . b4) <= b2 * (dist b3,b4) )
proof
consider c2 being Point of c1;
the carrier of c1 --> c2 is Function of c1,c1
proof
E1: dom (the carrier of c1 --> c2) = the carrier of c1 by FUNCOP_1:19;
rng (the carrier of c1 --> c2) c= {c2} by FUNCOP_1:19;
then rng (the carrier of c1 --> c2) c= the carrier of c1 by XBOOLE_1:1;
hence the carrier of c1 --> c2 is Function of c1,c1 by E1, FUNCT_2:def 1, RELSET_1:11;
end;
then reconsider c3 = the carrier of c1 --> c2 as Function of c1,c1 ;
take c3 ;
take 1 / 2 ;
thus ( 0 < 1 / 2 & 1 / 2 < 1 ) ;
let c4, c5 be Point of c1;
( c3 . c4 = c2 & c3 . c5 = c2 ) by FUNCOP_1:13;
then E1: dist (c3 . c4),(c3 . c5) = 0 by METRIC_1:1;
dist c4,c5 >= 0 by METRIC_1:5;
hence dist (c3 . c4),(c3 . c5) <= (1 / 2) * (dist c4,c5) by E1, REAL_2:121;
end;
end;

:: deftheorem E1 defines contraction ALI2:def 1 :
for b1 being non empty MetrSpace
for b2 being Function of b1,b1 holds
( b2 is contraction of b1 iff ex b3 being Real st
( 0 < b3 & b3 < 1 & for b4, b5 being Point of b1 holds dist (b2 . b4),(b2 . b5) <= b3 * (dist b4,b5) ) );

theorem :: ALI2:1
canceled;

theorem :: ALI2:2
for b1 being non empty MetrSpace
for b2 being contraction of b1 holds
not ( TopSpaceMetr b1 is compact & for b3 being Point of b1 holds
not ( b2 . b3 = b3 & for b4 being Point of b1 holds
( b2 . b4 = b4 implies b4 = b3 ) ) )
proof
let c1 be non empty MetrSpace;
let c2 be contraction of c1;
consider c3 being Real such that
E2: ( 0 < c3 & c3 < 1 )
and E3: for b1, b2 being Point of c1 holds dist (c2 . b1),(c2 . b2) <= c3 * (dist b1,b2) by E1;
assume E4: TopSpaceMetr c1 is compact ;
consider c4 being Point of c1;
set c5 = dist c4,(c2 . c4);
now
assume dist c4,(c2 . c4) <> 0 ;
defpred S1[ set ] means ex b1 being Nat st a1 = { b2 where B is Point of c1 : dist b2,(c2 . b2) <= (dist c4,(c2 . c4)) * (c3 to_power b1) } ;
consider c6 being Subset-Family of (TopSpaceMetr c1) such that
E5: for b1 being Subset of (TopSpaceMetr c1) holds
( b1 in c6 iff S1[b1] ) from SUBSET_1:sch 3();
E6: TopSpaceMetr c1 = TopStruct the carrier of c1,(Family_open_set c1) by PCOMPS_1:def 6;
defpred S2[ Point of c1] means dist a1,(c2 . a1) <= (dist c4,(c2 . c4)) * (c3 to_power (0 + 1));
E7: { b1 where B is Point of c1 : S2[b1] } is Subset of c1 from DOMAIN_1:sch 7();
E8: c6 is centered
proof
thus c6 <> {} by E5, E6, E7; :: uses COMPTS_1:def 2
let c7 be set ;
assume that E9: c7 <> {}
and E10: c7 c= c6
and E11: c7 is finite ;
c7 is c=-linear
proof
let c8, c9 be set ; :: uses ORDINAL1:def 9
assume ( c8 in c7 & c9 in c7 ) ;
then E12: ( c8 in c6 & c9 in c6 ) by E10;
then consider c10 being Nat such that
E13: c8 = { b1 where B is Point of c1 : dist b1,(c2 . b1) <= (dist c4,(c2 . c4)) * (c3 to_power c10) } by E5;
consider c11 being Nat such that
E14: c9 = { b1 where B is Point of c1 : dist b1,(c2 . b1) <= (dist c4,(c2 . c4)) * (c3 to_power c11) } by E5, E12;
E15: for b1, b2 being Nat holds
( b1 <= b2 implies c3 to_power b2 <= c3 to_power b1 )
proof
let c12, c13 be Nat;
assume E16: c12 <= c13 ;
per cases not ( not c12 < c13 & not c12 = c13 ) by E16, REAL_1:def 5;
suppose c12 < c13 ;
hence c3 to_power c12 >= c3 to_power c13 by E2, POWER:45;
end;
suppose c12 = c13 ;
hence c3 to_power c12 >= c3 to_power c13 ;
end;
end;
end;
E16: for b1, b2 being Nat holds
( b1 <= b2 implies (dist c4,(c2 . c4)) * (c3 to_power b2) <= (dist c4,(c2 . c4)) * (c3 to_power b1) )
proof
let c12, c13 be Nat;
assume E17: c12 <= c13 ;
E18: dist c4,(c2 . c4) >= 0 by METRIC_1:5;
c3 to_power c13 <= c3 to_power c12 by E15, E17;
hence (dist c4,(c2 . c4)) * (c3 to_power c13) <= (dist c4,(c2 . c4)) * (c3 to_power c12) by E18, XREAL_1:66;
end;
now
per cases ( c10 <= c11 or c11 <= c10 ) ;
case E17: c10 <= c11 ;
thus c9 c= c8
proof
let c12 be set ; :: uses TARSKI:def 3
assume c12 in c9 ;
then consider c13 being Point of c1 such that
E18: c12 = c13
and E19: dist c13,(c2 . c13) <= (dist c4,(c2 . c4)) * (c3 to_power c11) by E14;
(dist c4,(c2 . c4)) * (c3 to_power c11) <= (dist c4,(c2 . c4)) * (c3 to_power c10) by E16, E17;
then dist c13,(c2 . c13) <= (dist c4,(c2 . c4)) * (c3 to_power c10) by E19, XREAL_1:2;
hence c12 in c8 by E13, E18;
end;
end;
case E17: c11 <= c10 ;
thus c8 c= c9
proof
let c12 be set ; :: uses TARSKI:def 3
assume c12 in c8 ;
then consider c13 being Point of c1 such that
E18: c12 = c13
and E19: dist c13,(c2 . c13) <= (dist c4,(c2 . c4)) * (c3 to_power c10) by E13;
(dist c4,(c2 . c4)) * (c3 to_power c10) <= (dist c4,(c2 . c4)) * (c3 to_power c11) by E16, E17;
then dist c13,(c2 . c13) <= (dist c4,(c2 . c4)) * (c3 to_power c11) by E19, XREAL_1:2;
hence c12 in c9 by E14, E18;
end;
end;
end;
end;
hence ( c8 c= c9 or c9 c= c8 ) ; :: uses XBOOLE_0:def 9
end;
then consider c8 being set such that
E12: c8 in c7
and E13: for b1 being set holds
( b1 in c7 implies c8 c= b1 ) by E9, E11, FINSET_1:30;
E14: c8 c= meet c7 by E9, E13, SETFAM_1:6;
E15: c8 in c6 by E10, E12;
defpred S3[ Nat] means { b1 where B is Point of c1 : dist b1,(c2 . b1) <= (dist c4,(c2 . c4)) * (c3 to_power a1) } <> {} ;
dist c4,(c2 . c4) = (dist c4,(c2 . c4)) * 1
.= (dist c4,(c2 . c4)) * (c3 to_power 0) by POWER:29 ;
then c4 in { b1 where B is Point of c1 : dist b1,(c2 . b1) <= (dist c4,(c2 . c4)) * (c3 to_power 0) } ;
then E16: S3[0] ;
E17: for b1 being Nat holds
( S3[b1] implies S3[b1 + 1] )
proof
let c9 be Nat;
consider c10 being Element of { b1 where B is Point of c1 : dist b1,(c2 . b1) <= (dist c4,(c2 . c4)) * (c3 to_power c9) } ;
assume { b1 where B is Point of c1 : dist b1,(c2 . b1) <= (dist c4,(c2 . c4)) * (c3 to_power c9) } <> {} ;
then c10 in { b1 where B is Point of c1 : dist b1,(c2 . b1) <= (dist c4,(c2 . c4)) * (c3 to_power c9) } ;
then consider c11 being Point of c1 such that
c11 = c10
and E18: dist c11,(c2 . c11) <= (dist c4,(c2 . c4)) * (c3 to_power c9) ;
E19: c3 * (dist c11,(c2 . c11)) <= c3 * ((dist c4,(c2 . c4)) * (c3 to_power c9)) by E2, E18, XREAL_1:66;
E20: c3 * ((dist c4,(c2 . c4)) * (c3 to_power c9)) = (dist c4,(c2 . c4)) * (c3 * (c3 to_power c9))
.= (dist c4,(c2 . c4)) * ((c3 to_power c9) * (c3 to_power 1)) by POWER:30
.= (dist c4,(c2 . c4)) * (c3 to_power (c9 + 1)) by E2, POWER:32 ;
dist (c2 . c11),(c2 . (c2 . c11)) <= c3 * (dist c11,(c2 . c11)) by E3;
then dist (c2 . c11),(c2 . (c2 . c11)) <= (dist c4,(c2 . c4)) * (c3 to_power (c9 + 1)) by E19, E20, XREAL_1:2;
then c2 . c11 in { b1 where B is Point of c1 : dist b1,(c2 . b1) <= (dist c4,(c2 . c4)) * (c3 to_power (c9 + 1)) } ;
hence { b1 where B is Point of c1 : dist b1,(c2 . b1) <= (dist c4,(c2 . c4)) * (c3 to_power (c9 + 1)) } <> {} ;
end;
for b1 being Nat holds
S3[b1] from NAT_1:sch 1(E16, E17);
then c8 <> {} by E5, E15;
hence meet c7 <> {} by E14, XBOOLE_1:3;
end;
c6 is closed
proof
let c7 be Subset of (TopSpaceMetr c1); :: uses TOPS_2:def 2
assume c7 in c6 ;
then consider c8 being Nat such that
E9: c7 = { b1 where B is Point of c1 : dist b1,(c2 . b1) <= (dist c4,(c2 . c4)) * (c3 to_power c8) } by E5;
E10: TopSpaceMetr c1 = TopStruct the carrier of c1,(Family_open_set c1) by PCOMPS_1:def 6;
then reconsider c9 = c7 ` as Subset of c1 ;
for b1 being Point of c1 holds
not ( b1 in c9 & for b2 being Real holds
not ( b2 > 0 & Ball b1,b2 c= c9 ) )
proof
let c10 be Point of c1;
assume E11: c10 in c9 ;
take c11 = ((dist c10,(c2 . c10)) - ((dist c4,(c2 . c4)) * (c3 to_power c8))) / 2;
E12: (dist c10,(c2 . c10)) - (2 * c11) = (dist c4,(c2 . c4)) * (c3 to_power c8) ;
not c10 in c7 by E11, SUBSET_1:54;
then dist c10,(c2 . c10) > (dist c4,(c2 . c4)) * (c3 to_power c8) by E9;
then (dist c10,(c2 . c10)) - ((dist c4,(c2 . c4)) * (c3 to_power c8)) > 0 by XREAL_1:52;
hence c11 > 0 by SEQ_2:3;
let c12 be set ; :: uses TARSKI:def 3
assume E13: c12 in Ball c10,c11 ;
then reconsider c13 = c12 as Point of c1 ;
E14: dist c10,c13 < c11 by E13, METRIC_1:12;
(dist c10,c13) + (dist c13,(c2 . c13)) >= dist c10,(c2 . c13) by METRIC_1:4;
then E15: ((dist c10,c13) + (dist c13,(c2 . c13))) + (dist (c2 . c13),(c2 . c10)) >= (dist c10,(c2 . c13)) + (dist (c2 . c13),(c2 . c10)) by XREAL_1:8;
(dist c10,(c2 . c13)) + (dist (c2 . c13),(c2 . c10)) >= dist c10,(c2 . c10) by METRIC_1:4;
then E16: ((dist c13,(c2 . c13)) + (dist c10,c13)) + (dist (c2 . c13),(c2 . c10)) >= dist c10,(c2 . c10) by E15, XREAL_1:2;
E17: dist (c2 . c13),(c2 . c10) <= c3 * (dist c13,c10) by E3;
dist c13,c10 >= 0 by METRIC_1:5;
then c3 * (dist c13,c10) <= dist c13,c10 by E2, REAL_2:147;
then dist (c2 . c13),(c2 . c10) <= dist c13,c10 by E17, XREAL_1:2;
then E18: (dist (c2 . c13),(c2 . c10)) + (dist c13,c10) <= (dist c13,c10) + (dist c13,c10) by XREAL_1:8;
2 * (dist c10,c13) < 2 * c11 by E14, XREAL_1:70;
then E19: (dist c13,(c2 . c13)) + (2 * (dist c10,c13)) < (dist c13,(c2 . c13)) + (2 * c11) by XREAL_1:8;
(dist c13,(c2 . c13)) + ((dist c13,c10) + (dist (c2 . c13),(c2 . c10))) <= (dist c13,(c2 . c13)) + (2 * (dist c13,c10)) by E18, XREAL_1:9;
then (dist c13,(c2 . c13)) + (2 * (dist c10,c13)) >= dist c10,(c2 . c10) by E16, XREAL_1:2;
then (dist c13,(c2 . c13)) + (2 * c11) > dist c10,(c2 . c10) by E19, XREAL_1:2;
then for b1 being Point of c1 holds
not ( c13 = b1 & dist b1,(c2 . b1) <= (dist c4,(c2 . c4)) * (c3 to_power c8) ) by E12, XREAL_1:21;
then not c13 in c7 by E9;
hence c12 in c9 by E10, SUBSET_1:50;
end;
then c7 ` in Family_open_set c1 by PCOMPS_1:def 5;
then c7 ` is open by E10, PRE_TOPC:def 5;
hence c7 is closed by TOPS_1:29;
end;
then meet c6 <> {} by E4, E8, COMPTS_1:13;
then consider c7 being Point of (TopSpaceMetr c1) such that
E9: c7 in meet c6 by SUBSET_1:10;
reconsider c8 = c7 as Point of c1 by E6;
deffunc H1( Nat) -> Element of REAL = c3 to_power (a1 + 1);
consider c9 being Real_Sequence such that
E10: for b1 being Nat holds c9 . b1 = H1(b1) from SEQ_1:sch 1();
set c10 = (dist c4,(c2 . c4)) (#) c9;
E11: ( c9 is convergent & lim c9 = 0 ) by E2, E10, SERIES_1:1;
then E12: (dist c4,(c2 . c4)) (#) c9 is convergent by SEQ_2:21;
E13: lim ((dist c4,(c2 . c4)) (#) c9) = (dist c4,(c2 . c4)) * 0 by E11, SEQ_2:22
.= 0 ;
reconsider c11 = NAT --> (dist c8,(c2 . c8)) as Real_Sequence by FUNCOP_1:57;
E14: for b1 being Nat holds c11 . b1 = dist c8,(c2 . c8) by FUNCOP_1:13;
E15: c11 is convergent by SEQ_4:39;
now
let c12 be Nat;
defpred S3[ Point of c1] means dist a1,(c2 . a1) <= (dist c4,(c2 . c4)) * (c3 to_power (c12 + 1));
set c13 = { b1 where B is Point of c1 : S3[b1] } ;
{ b1 where B is Point of c1 : S3[b1] } is Subset of c1 from DOMAIN_1:sch 7();
then { b1 where B is Point of c1 : S3[b1] } in c6 by E5, E6;
then c8 in { b1 where B is Point of c1 : S3[b1] } by E9, SETFAM_1:def 1;
then E16: ex b1 being Point of c1 st
( c8 = b1 & dist b1,(c2 . b1) <= (dist c4,(c2 . c4)) * (c3 to_power (c12 + 1)) ) ;
((dist c4,(c2 . c4)) (#) c9) . c12 = (dist c4,(c2 . c4)) * (c9 . c12) by SEQ_1:13
.= (dist c4,(c2 . c4)) * (c3 to_power (c12 + 1)) by E10 ;
hence c11 . c12 <= ((dist c4,(c2 . c4)) (#) c9) . c12 by E14, E16;
end;
then E16: lim c11 <= lim ((dist c4,(c2 . c4)) (#) c9) by E12, E15, SEQ_2:32;
c11 . 0 = dist c8,(c2 . c8) by E14;
then ( dist c8,(c2 . c8) <= 0 & dist c8,(c2 . c8) >= 0 ) by E13, E16, METRIC_1:5, SEQ_4:40;
then dist c8,(c2 . c8) = 0 ;
hence ex b1 being Point of c1 st dist b1,(c2 . b1) = 0 ;
end;
then consider c6 being Point of c1 such that
E5: dist c6,(c2 . c6) = 0 ;
take c6 ;
thus E6: c2 . c6 = c6 by E5, METRIC_1:2;
let c7 be Point of c1;
assume E7: c2 . c7 = c7 ;
assume c7 <> c6 ;
then E8: dist c7,c6 <> 0 by METRIC_1:2;
dist c7,c6 >= 0 by METRIC_1:5;
then c3 * (dist c7,c6) < dist c7,c6 by E2, E8, REAL_2:145;
hence not verum by E3, E6, E7;
end;