let n be non zero Element of NAT ; for a, b being Real
for f being continuous PartFunc of REAL,(REAL-NS n) st a < b & [.a,b.] = dom f & f | ].a,b.[ is constant holds
for x being Real st x in [.a,b.] holds
f . x = f . a
let a, b be Real; for f being continuous PartFunc of REAL,(REAL-NS n) st a < b & [.a,b.] = dom f & f | ].a,b.[ is constant holds
for x being Real st x in [.a,b.] holds
f . x = f . a
let f be continuous PartFunc of REAL,(REAL-NS n); ( a < b & [.a,b.] = dom f & f | ].a,b.[ is constant implies for x being Real st x in [.a,b.] holds
f . x = f . a )
assume A1:
( a < b & [.a,b.] = dom f & f | ].a,b.[ is constant )
; for x being Real st x in [.a,b.] holds
f . x = f . a
A2:
].a,b.[ c= [.a,b.]
by XXREAL_1:25;
reconsider d = (b - a) / 2 as Real ;
A3:
0 < b - a
by A1, XREAL_1:50;
then A4:
0 < d
by XREAL_1:215;
a + ((b - a) / 2) = (a + b) / 2
;
then A5:
( a < a + d & a + d < b )
by A1, XREAL_1:226;
then
a + d in ].a,b.[
;
then
f . (a + d) in rng f
by A2, A1, FUNCT_1:3;
then reconsider f0 = f . (a + d) as Point of (REAL-NS n) ;
A6: dom (f | ].a,b.[) =
(dom f) /\ ].a,b.[
by RELAT_1:61
.=
].a,b.[
by A1, XXREAL_1:25, XBOOLE_1:28
;
A7:
now for x being Real st x in ].a,b.[ holds
f /. x = f0let x be
Real;
( x in ].a,b.[ implies f /. x = f0 )assume A8:
x in ].a,b.[
;
f /. x = f0A9:
a + d in dom (f | ].a,b.[)
by A5, A6;
thus f /. x =
f . x
by A8, A2, A1, PARTFUN1:def 6
.=
(f | ].a,b.[) . x
by A6, A8, FUNCT_1:47
.=
(f | ].a,b.[) . (a + d)
by A1, A6, A8, A9, FUNCT_1:def 10
.=
f0
by A9, FUNCT_1:47
;
verum end;
A10:
a in dom f
by A1;
A11:
b in dom f
by A1;
deffunc H1( Nat) -> set = a + (d / ($1 + 1));
A12:
for x being Element of NAT holds H1(x) is Element of REAL
by XREAL_0:def 1;
consider s1 being Real_Sequence such that
A13:
for x being Element of NAT holds s1 . x = H1(x)
from FUNCT_2:sch 9(A12);
A14:
f is_continuous_in a
by A10, NFCONT_3:def 2;
A15:
now for y being object st y in rng s1 holds
y in ].a,b.[let y be
object ;
( y in rng s1 implies y in ].a,b.[ )assume
y in rng s1
;
y in ].a,b.[then consider x being
object such that A16:
(
x in dom s1 &
y = s1 . x )
by FUNCT_1:def 3;
reconsider x =
x as
Element of
NAT by A16;
A17:
y = a + (d / (x + 1))
by A13, A16;
A18:
0 < d / (x + 1)
by A4, XREAL_1:139;
1
+ 0 <= 1
+ x
by XREAL_1:7;
then A19:
d / (x + 1) <= d / 1
by XREAL_1:118, A3;
A20:
a + 0 < a + (d / (x + 1))
by A18, XREAL_1:8;
a + (d / (x + 1)) <= a + d
by A19, XREAL_1:7;
then
a + (d / (x + 1)) < b
by A5, XXREAL_0:2;
hence
y in ].a,b.[
by A17, A20;
verum end;
then A21:
rng s1 c= ].a,b.[
by TARSKI:def 3;
then A22:
rng s1 c= dom f
by A2, A1, XBOOLE_1:1;
then A33:
s1 is convergent
by SEQ_2:def 6;
then A34:
lim s1 = a
by A23, SEQ_2:def 7;
A35:
( f /* s1 is convergent & f /. a = lim (f /* s1) )
by A14, A22, A33, A34, NFCONT_3:def 1;
A36:
for i being Nat holds (f /* s1) . i = f0
then
lim (f /* s1) = f0
by A35, NORMSP_1:def 7;
then A40:
f . a = f0
by A35, A10, PARTFUN1:def 6;
deffunc H2( Nat) -> set = b - (d / ($1 + 1));
A41:
for x being Element of NAT holds H2(x) is Element of REAL
by XREAL_0:def 1;
consider s2 being Real_Sequence such that
A42:
for x being Element of NAT holds s2 . x = H2(x)
from FUNCT_2:sch 9(A41);
A43:
f is_continuous_in b
by A11, NFCONT_3:def 2;
A44:
now for y being object st y in rng s2 holds
y in ].a,b.[let y be
object ;
( y in rng s2 implies y in ].a,b.[ )assume
y in rng s2
;
y in ].a,b.[then consider x being
object such that A45:
(
x in dom s2 &
y = s2 . x )
by FUNCT_1:def 3;
reconsider x =
x as
Element of
NAT by A45;
A46:
y = b - (d / (x + 1))
by A42, A45;
A47:
0 < d / (x + 1)
by A4, XREAL_1:139;
1
+ 0 <= 1
+ x
by XREAL_1:7;
then A48:
d / (x + 1) <= d / 1
by XREAL_1:118, A3;
A49:
b - (d / (x + 1)) < b - 0
by A47, XREAL_1:15;
b - d <= b - (d / (x + 1))
by A48, XREAL_1:13;
then
a < b - (d / (x + 1))
by A5, XXREAL_0:2;
hence
y in ].a,b.[
by A46, A49;
verum end;
then A50:
rng s2 c= ].a,b.[
by TARSKI:def 3;
then A51:
rng s2 c= dom f
by A2, A1, XBOOLE_1:1;
then A61:
s2 is convergent
by SEQ_2:def 6;
then A62:
lim s2 = b
by A52, SEQ_2:def 7;
A63:
( f /* s2 is convergent & f /. b = lim (f /* s2) )
by A43, A51, A61, A62, NFCONT_3:def 1;
A64:
for i being Element of NAT holds (f /* s2) . i = f0
then
lim (f /* s2) = f0
by A63, NORMSP_1:def 7;
then A67:
f . b = f0
by A63, A11, PARTFUN1:def 6;
let x be Real; ( x in [.a,b.] implies f . x = f . a )
assume
x in [.a,b.]
; f . x = f . a
then A68:
ex r being Real st
( x = r & a <= r & r <= b )
;