:: Fix Point Theorem for Compact Spaces :: by Alicia de la Cruz :: :: Received July 17, 1991 :: Copyright (c) 1991 Association of Mizar Users environ vocabularies METRIC_1, FINSET_1, BOOLE, FUNCT_1, PRE_TOPC, FUNCOP_1, ARYTM_3, PCOMPS_1, COMPTS_1, SETFAM_1, POWER, SUBSET_1, ARYTM_1, SEQ_1, SEQ_2, ORDINAL2, ALI2, HAHNBAN, ARYTM; notations TARSKI, XBOOLE_0, SUBSET_1, ORDINAL1, NUMBERS, FINSET_1, SETFAM_1, METRIC_1, FUNCT_2, STRUCT_0, PRE_TOPC, POWER, FUNCOP_1, COMPTS_1, PCOMPS_1, TOPS_2, VALUED_1, SEQ_1, SEQ_2, XXREAL_0, REAL_1, NAT_1; constructors SETFAM_1, FUNCOP_1, FINSET_1, XXREAL_0, REAL_1, NAT_1, SEQ_2, POWER, TOPS_2, COMPTS_1, PCOMPS_1, SEQ_1, VALUED_1, PARTFUN1; registrations XBOOLE_0, SUBSET_1, ORDINAL1, NUMBERS, XXREAL_0, MEMBERED, SEQM_3, STRUCT_0, METRIC_1, PCOMPS_1, VALUED_1, FUNCT_2; requirements REAL, NUMERALS, SUBSET, BOOLE, ARITHM; definitions COMPTS_1, TARSKI, TOPS_2, ORDINAL1, XBOOLE_0, SUBSET_1; theorems METRIC_1, SUBSET_1, REAL_1, PCOMPS_1, REAL_2, COMPTS_1, POWER, SEQ_2, SEQ_4, SERIES_1, SETFAM_1, SEQ_1, PRE_TOPC, TOPS_1, FUNCOP_1, XBOOLE_1, FINSET_1, XREAL_1, XXREAL_0, XBOOLE_0; schemes SUBSET_1, SEQ_1, DOMAIN_1, NAT_1; begin reserve M for non empty MetrSpace; definition let M be non empty MetrSpace; mode contraction of M -> Function of M, M means :Def1: ex L being Real st 0 < L & L < 1 & for x,y being Point of M holds dist(it.x,it.y) <= L*dist(x,y); existence proof consider x being Point of M; reconsider f = (the carrier of M) --> x as Function of M, M; take f, 1/2; thus 0<1/2 & 1/2<1; let z,y be Point of M; f.z=x & f.y=x by FUNCOP_1:13; then A2: dist(f.z,f.y) = 0 by METRIC_1:1; dist(z,y)>=0 by METRIC_1:5; hence dist(f.z,f.y)<=(1/2)*dist(z,y) by A2,REAL_2:121; end; end; canceled; theorem for f being contraction of M st TopSpaceMetr(M) is compact ex c being Point of M st f.c =c & :: exists a fix point for x being Point of M st f.x=x holds x=c :: exactly 1 fix point proof let f be contraction of M; consider L being Real such that A1: 0 0; defpred P[set] means ex n being Element of NAT st $1 = { x where x is Point of M : dist(x,f.x) <= a*L to_power n}; consider F being Subset-Family of TopSpaceMetr(M) such that A4: for B being Subset of TopSpaceMetr(M) holds B in F iff P[B] from SUBSET_1:sch 3; A5: TopSpaceMetr(M)=TopStruct (#the carrier of M,Family_open_set(M)#) by PCOMPS_1:def 6; defpred P[Point of M] means dist($1,f.($1)) <= a*L to_power (0+1); A6: {x where x is Point of M:P[x]}is Subset of M from DOMAIN_1:sch 7; A7: F is centered proof thus F <> {} by A4,A5,A6; let G be set such that A8: G <> {} and A9: G c= F and A10: G is finite; G is c=-linear proof let B,C be set; assume B in G & C in G; then A11: B in F & C in F by A9; then consider n being Element of NAT such that A12: B= { x where x is Point of M : dist(x,f.x) <= a*L to_power n} by A4; consider m being Element of NAT such that A13: C= { x where x is Point of M : dist(x,f.x) <= a*L to_power m} by A4,A11; A14: for n,m being Element of NAT st n<=m holds L to_power m <= L to_power n proof let n,m be Element of NAT such that A15: n<=m; per cases by A15,REAL_1:def 5; suppose n= L to_power m by A1,POWER:45; end; suppose n=m; hence L to_power n >= L to_power m; end; end; A16: for n,m being Element of NAT st n<=m holds a*L to_power m <= a*L to_power n proof let n,m be Element of NAT such that A17: n<=m; a>=0 by METRIC_1:5; hence a*L to_power m <= a*L to_power n by A14,A17,XREAL_1:66; end; now per cases; case A18: n<=m; thus C c= B proof let y be set; assume y in C; then consider x being Point of M such that A19: y = x and A20: dist(x,f.x) <= a*L to_power m by A13; a*L to_power m <= a*L to_power n by A16,A18; then dist(x,f.x) <= a*L to_power n by A20,XXREAL_0:2; hence y in B by A12,A19; end; end; case A21: m<=n; thus B c= C proof let y be set; assume y in B; then consider x being Point of M such that A22: y = x and A23: dist(x,f.x) <= a*L to_power n by A12; a*L to_power n <= a*L to_power m by A16,A21; then dist(x,f.x) <= a*L to_power m by A23,XXREAL_0:2; hence y in C by A13,A22; end; end; end; hence B c= C or C c= B; end; then consider m being set such that A24: m in G and A25: for C being set st C in G holds m c= C by A8,A10,FINSET_1:30; A26: m c= meet G by A8,A25,SETFAM_1:6; A27: m in F by A9,A24; defpred P[Element of NAT] means { x where x is Point of M : dist(x,f.x) <= a*L to_power $1}<>{}; dist(x0,f.x0) = a*1 .= a*L to_power 0 by POWER:29; then x0 in { x where x is Point of M : dist(x,f.x) <= a*L to_power 0}; then A28: P[0]; A29: for k being Element of NAT st P[k] holds P[k+1] proof let k be Element of NAT; consider z being Element of { x where x is Point of M : dist(x,f.x) <= a*L to_power k}; assume { x where x is Point of M : dist(x,f.x) <= a*L to_power k}<>{}; then z in { x where x is Point of M : dist(x,f.x) <= a*L to_power k}; then consider y being Point of M such that y=z and A30: dist(y,f.y)<= a*L to_power k; A31: L*dist(y,f.y) <= L*(a*L to_power k) by A1,A30,XREAL_1:66; A32: L*(a*L to_power k)=a*(L*L to_power k) .=a*(L to_power k*L to_power 1) by POWER:30 .= a*L to_power (k+1) by A1,POWER:32; dist(f.y,f.(f.y)) <= L*dist(y,f.y) by A2; then dist(f.y,f.(f.y)) <= a*L to_power (k+1) by A31,A32,XXREAL_0:2; then f.y in { x where x is Point of M : dist(x,f.x) <= a*L to_power (k+1)}; hence { x where x is Point of M : dist(x,f.x) <= a*L to_power (k+1)}<>{}; end; for k being Element of NAT holds P[k] from NAT_1:sch 1(A28,A29); then m <> {} by A4,A27; hence meet G <> {} by A26; end; F is closed proof let B be Subset of TopSpaceMetr(M); assume B in F; then consider n being Element of NAT such that A33: B= { x where x is Point of M : dist(x,f.x) <= a*L to_power n} by A4; A34: TopSpaceMetr(M)=TopStruct (#the carrier of M,Family_open_set(M)#) by PCOMPS_1:def 6; then reconsider V = B` as Subset of M; for x being Point of M st x in V ex r being Real st r>0 & Ball(x,r) c= V proof let x be Point of M such that A35: x in V; take r = (dist(x,f.x)-a*L to_power n)/2; A36: dist(x,f.x)-2*r = a*L to_power n; not x in B by A35,XBOOLE_0:def 4; then dist(x,f.x)>a*L to_power n by A33; then dist(x,f.x)-a*L to_power n>0 by XREAL_1:52; hence r>0 by SEQ_2:3; let z be set; assume A37: z in Ball(x,r); then reconsider y=z as Point of M; A38: dist(x,y)= dist(x,f.y) by METRIC_1:4; then A39: (dist(x,y) + dist(y,f.y)) + dist(f.y,f.x) >= dist(x,f.y) + dist(f.y,f.x) by XREAL_1:8; dist(x,f.y) + dist(f.y,f.x) >= dist(x,f.x) by METRIC_1:4; then A40: dist(y,f.y)+dist(x,y)+dist(f.y,f.x)>=dist(x,f.x) by A39,XXREAL_0:2; A41: dist(f.y,f.x)<=L*dist(y,x) by A2; L*dist(y,x)<=dist(y,x) by A1,REAL_2:147,METRIC_1:5; then dist(f.y,f.x)<=dist(y,x) by A41,XXREAL_0:2; then A42: dist(f.y,f.x)+dist(y,x) <= dist(y,x)+dist(y,x) by XREAL_1:8; 2*dist(x,y)<2*r by A38,XREAL_1:70; then A43: dist(y,f.y) + 2*dist(x,y)< dist(y,f.y) + 2*r by XREAL_1:8; dist(y,f.y) + (dist(y,x) + dist(f.y,f.x)) <= dist(y,f.y) + 2*dist(y,x) by A42,XREAL_1:9; then dist(y,f.y)+2*dist(x,y)>=dist(x,f.x) by A40,XXREAL_0:2; then dist(y,f.y)+2*r>dist(x,f.x) by A43,XXREAL_0:2; then not ex x being Point of M st y = x & dist(x,f.x)<= a*L to_power n by A36, XREAL_1:21; then not y in B by A33; hence z in V by A34,SUBSET_1:50; end; then B` in Family_open_set(M) by PCOMPS_1:def 5; then B` is open by A34,PRE_TOPC:def 5; hence B is closed by TOPS_1:29; end; then meet F <> {} by A3,A7,COMPTS_1:13; then consider c' being Point of TopSpaceMetr(M) such that A44: c' in meet F by SUBSET_1:10; reconsider c = c' as Point of M by A5; deffunc F(Element of NAT) = L to_power ($1+1); consider s' being Real_Sequence such that A45: for n being Element of NAT holds s'.n= F(n) from SEQ_1:sch 1; set s = a (#) s'; A46: s' is convergent & lim s'=0 by A1,A45,SERIES_1:1; A47: s is convergent by SEQ_2:21,A1,A45,SERIES_1:1; A48: lim s = a*0 by A46,SEQ_2:22 .= 0; reconsider r = NAT --> dist(c,f.c) as Real_Sequence; A49: r is convergent by SEQ_4:39; now let n be Element of NAT; defpred P[Point of M] means dist($1,f.$1) <= a*L to_power (n+1); set B = { x where x is Point of M : P[x]}; B is Subset of M from DOMAIN_1:sch 7; then B in F by A4,A5; then c in B by A44,SETFAM_1:def 1; then A50: ex x being Point of M st c = x & dist(x,f.x) <= a*L to_power ( n+1 ); s.n = a*s'.n by SEQ_1:13 .= a*L to_power (n+1) by A45; hence r.n <= s.n by A50,FUNCOP_1:13; end; then A51: lim r <= lim s by A47,A49,SEQ_2:32; r.0=dist(c,f.c) by FUNCOP_1:13; then dist(c,f.c)<=0 & dist(c,f.c)>=0 by A48,A51,METRIC_1:5,SEQ_4:40; then dist(c,f.c)=0; hence ex c being Point of M st dist(c,f.c) = 0; end; then consider c being Point of M such that A52: dist(c,f.c) = 0; take c; thus A53: f.c =c by A52,METRIC_1:2; let x be Point of M; assume A54: f.x=x; assume x<>c; then A55: dist(x,c)<>0 by METRIC_1:2; dist(x,c)>=0 by METRIC_1:5; then L*dist(x,c)