Quelle fdiff_12.miz
Sprache: Mizar
|
|
:: Differentiation on Interval
:: by Noboru Endou
::
:: Received March 31, 2023
:: Copyright (c) 2023-2026 Association of Mizar Users
:: (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.
environ
vocabularies NUMBERS, REAL_1, SUBSET_1, SEQ_1, FDIFF_1, XXREAL_0, CARD_1,
COMPLEX1, FUNCT_1, RELAT_1, ARYTM_3, NAT_1, ARYTM_1, VALUED_1, SEQ_2,
ORDINAL2, SQUARE_1, VALUED_0, XXREAL_2, FUNCT_2, TARSKI, RCOMP_1,
XXREAL_1, PARTFUN1, XBOOLE_0, FCONT_1, FUNCT_7, INTEGRA5, ZFMISC_1,
PROB_1, MEMBERED, SEQ_4, MEASURE5, FDIFF_3, SUPINF_1, LIMFUNC1, LIMFUNC2,
LIMFUNC3, FDIFF_12;
notations TARSKI, XBOOLE_0, ZFMISC_1, SUBSET_1, ORDINAL1, XXREAL_3, XCMPLX_0,
XREAL_0, NUMBERS, XXREAL_0, COMPLEX1, XXREAL_1, MEMBERED, LIMFUNC1,
XXREAL_2, RELSET_1, SUPINF_1, SUPINF_2, FUNCT_1, PARTFUN1, PARTFUN2,
FUNCT_2, FCONT_1, NAT_1, VALUED_0, VALUED_1, SQUARE_1, PROB_1, RCOMP_1,
MEASURE5, SEQ_1, RFUNCT_1, SEQ_2, SEQ_4, FDIFF_1, FDIFF_3, INTEGRA5,
LIMFUNC2, LIMFUNC3;
constructors FCONT_1, RELSET_1, SQUARE_1, COMPLEX1, COMSEQ_2, MEASURE6,
MESFUNC5, INTEGRA5, LIMFUNC1, PARTFUN2, FDIFF_1, INTEGRA2, SEQ_4,
FDIFF_3, LIMFUNC2, LIMFUNC3, REAL_1, RVSUM_1, RECDEF_1;
registrations XREAL_0, RELSET_1, RCOMP_1, MEMBERED, XBOOLE_0, NUMBERS,
VALUED_0, VALUED_1, FUNCT_2, XXREAL_2, FCONT_3, SQUARE_1, RELAT_1,
ORDINAL1, XXREAL_0, NAT_1, FDIFF_1, MEASURE5, SUBSET_1, SEQ_2, SEQ_4;
requirements NUMERALS, BOOLE, SUBSET, REAL, ARITHM;
equalities XCMPLX_0;
expansions FDIFF_1, TARSKI;
theorems TARSKI, PARTFUN1, ZFMISC_1, INTEGRA1, RFUNCT_1, FUNCT_1, SEQ_1,
SEQ_2, FDIFF_1, ABSVALUE, RCOMP_1, FCONT_1, FDIFF_2, RELAT_1, XREAL_0,
XXREAL_0, FUNCT_2, XBOOLE_0, XBOOLE_1, SEQ_4, XREAL_1, COMPLEX1,
INTEGRA5, VALUED_1, XXREAL_1, XXREAL_2, ORDINAL1, MEASURE5, NAT_1,
SEQM_3, RFUNCT_2, FUNCT_3, NUMBERS, FDIFF_3, XXREAL_3, VALUED_0,
SUBSET_1, MEASURE6, XCMPLX_0, PROB_1, LIMFUNC1, LIMFUNC2, LIMFUNC3,
L_HOSPIT, PDIFFEQ1, SQUARE_1, XCMPLX_1;
schemes FUNCT_2, SCHEME1, FDIFF_2;
begin :: Preliminaries
theorem Th1: :: relaxation of FDIFF_2:23
for A,B be open Subset of REAL, f1,f2 be PartFunc of REAL,REAL st
f1 is_differentiable_on A & rng(f1|A) c= B &
f2 is_differentiable_on B holds
f2*f1 is_differentiable_on A & (f2*f1)`|A = ((f2`|B)*f1) ( #) (f1`|A)
proof
let A,B be open Subset of REAL, f1,f2 be PartFunc of REAL,REAL;
assume that
A1: f1 is_differentiable_on A and
A2: rng(f1|A) c= B and
A3: f2 is_differentiable_on B;
A4: now
let x0 be Real;
assume
A5: x0 in A;
hence
A6: f1 is_differentiable_in x0 by A1,FDIFF_1: 9;
thus x0 in dom f1 by A1,A5;
thus f1.x0 in f1.:A by A1,A5,FUNCT_1:def 6;
x0 in dom(f1|A) by A1,A5,RELAT_1: 57; then
(f1|A).x0 in B by A2,FUNCT_1: 3; then
f1.x0 in B by A5,FUNCT_1: 49;
hence f2 is_differentiable_in f1.x0 by A3,FDIFF_1: 9;
hence f2*f1 is_differentiable_in x0 by A6,FDIFF_2: 13;
end;
A7: now let y be Real;
assume y in f1.:A; then
consider x be object such that
A8: x in dom f1 & x in A & y = f1.x by FUNCT_1:def 6;
x in dom(f1|A) by A8,RELAT_1: 57; then
(f1|A).x in rng(f1|A) by FUNCT_1: 3; then
f1.x in rng(f1|A) by A8,FUNCT_1: 49;
hence y in B by A2,A8;
end; then
A9: f1.:A c= B;
B c= dom f2 by A3; then
f1.:A c= dom f2 by A7; then
A10: A c= dom (f2*f1) by A1,FUNCT_3: 3;
for x0 be Real holds x0 in A implies f2*f1 is_differentiable_in x0 by A4;
hence
A11: f2*f1 is_differentiable_on A by A10,FDIFF_1: 9;
then
A12:dom ((f2*f1)`|A) = A by FDIFF_1:def 7;
A13: now
let x0 be Element of REAL;
assume
A14: x0 in dom ((f2*f1)`|A);
then
A15: f1 is_differentiable_in x0 by A4,A12;
A16: x0 in dom f1 by A4,A12,A14;
f1.x0 in f1.:A by A4,A12,A14; then
A17: f1.x0 in B by A7;
A18: f2 is_differentiable_in f1.x0 by A4,A12,A14;
thus ((f2*f1)`|A).x0 = diff(f2*f1,x0) by A11,A12,A14,FDIFF_1:def 7
.= diff(f2,f1.x0) * diff(f1,x0) by A15,A18,FDIFF_2: 13
.= diff(f2,f1.x0) * (f1`|A).x0 by A1,A12,A14,FDIFF_1:def 7
.= (f2`|B).(f1.x0) * (f1`|A).x0 by A3,A17,FDIFF_1:def 7
.= ((f2`|B)*f1).x0 * (f1`|A).x0 by A16,FUNCT_1: 13
.= (((f2`|B)*f1) ( #) (f1`|A)).x0 by VALUED_1: 5;
end;
dom (f2`|B) = B by A3,FDIFF_1:def 7; then
dom ((f2*f1)`|A)
= dom ((f2`|B)*f1) /\ A by A12,A1,A9,FUNCT_1: 101,XBOOLE_1: 28
.= dom ((f2`|B)*f1) /\ dom (f1`|A) by A1,FDIFF_1:def 7
.= dom (((f2`|B)*f1) ( #) (f1`|A)) by VALUED_1:def 4;
hence thesis by A13,PARTFUN1: 5;
end;
theorem Th2:
for I be Interval holds
].inf I,sup I.[ is open Subset of REAL & ].inf I,sup I.[ c= I
proof
let I be Interval;
now per cases;
suppose inf I in REAL & sup I in REAL; then
reconsider a = inf I, b = sup I as Real;
].inf I,sup I.[ = ].a,b.[;
hence ].inf I,sup I.[ is open Subset of REAL;
end;
suppose A1: not inf I in REAL;
per cases by A1,XXREAL_0: 14;
suppose A2: inf I = +infty;
].inf I,sup I.[ = {} by A2,XXREAL_0: 3,XXREAL_1: 28;
hence ].inf I,sup I.[ is open Subset of REAL;
end;
suppose A3: inf I = -infty;
per cases;
suppose sup I in REAL; then
reconsider b = sup I as Real;
].inf I,sup I.[ = halfline b by A3,PROB_1:def 10;
hence ].inf I,sup I.[ is open Subset of REAL;
end;
suppose A4: not sup I in REAL;
per cases by A4,XXREAL_0: 14;
suppose sup I = +infty; then
].inf I,sup I.[ = [ #]REAL by A3,XXREAL_1: 224,SUBSET_1:def 3;
hence ].inf I,sup I.[ is open Subset of REAL;
end;
suppose sup I = -infty; then
].inf I,sup I.[ = {} by A3,XXREAL_1: 20;
hence ].inf I,sup I.[ is open Subset of REAL;
end;
end;
end;
end;
suppose not sup I in REAL; then
per cases by XXREAL_0: 14;
suppose A6: sup I = -infty;
].inf I,sup I.[ = {} by A6,XXREAL_0: 5,XXREAL_1: 28;
hence ].inf I,sup I.[ is open Subset of REAL;
end;
suppose A7: sup I = +infty;
per cases;
suppose inf I in REAL; then
reconsider a = inf I as Real;
].inf I,sup I.[ = right_open_halfline a by A7,LIMFUNC1:def 3;
hence ].inf I,sup I.[ is open Subset of REAL;
end;
suppose A8: not inf I in REAL;
per cases by A8,XXREAL_0: 14;
suppose inf I = -infty; then
].inf I,sup I.[ = [ #]REAL by A7,XXREAL_1: 224,SUBSET_1:def 3;
hence ].inf I,sup I.[ is open Subset of REAL;
end;
suppose inf I = +infty; then
].inf I,sup I.[ = {} by A7,XXREAL_1: 20;
hence ].inf I,sup I.[ is open Subset of REAL;
end;
end;
end;
end;
end;
hence ].inf I,sup I.[ is open Subset of REAL;
now let a be set;
assume A9:a in ].inf I,sup I.[; then
reconsider a1=a as Real;
inf I < a1 < sup I by A9,XXREAL_1: 4;
hence a in I by XXREAL_2: 83;
end;
hence ].inf I,sup I.[ c= I;
end;
theorem Th3:
for I be Interval, x be Real st x in I & x <> inf I & x <> sup I holds
x in ].inf I,sup I.[
proof
let I be Interval, x be Real;
assume that
A1: x in I and
A2: x <> inf I and
A3: x <> sup I;
inf I <= x <= sup I by A1,XXREAL_2: 61, 62; then
inf I < x < sup I by A2,A3,XXREAL_0: 1;
hence x in ].inf I,sup I.[ by XXREAL_1: 4;
end;
Lm1:
for r be set, I be interval Subset of REAL st r in I & I is closed_interval
holds (r = inf I & r = lower_bound I) or (r = sup I & r = upper_bound I) or
r in ].inf I, sup I.[
proof
let r be set, I be interval Subset of REAL;
assume that
A1: r in I and
A2: I is closed_interval;
consider a,b be Real such that
A3: I = [.a,b.] by A2,MEASURE5:def 3;
A4: I = [.lower_bound I, upper_bound I.] by A1,A2,INTEGRA1: 4;
reconsider r1 = r as Real by A1;
A5: a <= r1 <= b by A1,A3,XXREAL_1: 1;
per cases;
suppose r1 = a;
hence (r = inf I & r = lower_bound I) or (r = sup I & r = upper_bound I)
or r in ].inf I, sup I.[ by A1,A2,A3,A4,A5,INTEGRA1: 5,XXREAL_2: 25;
end;
suppose r1 = b;
hence (r = inf I & r = lower_bound I) or (r = sup I & r = upper_bound I)
or r in ].inf I, sup I.[ by A1,A2,A3,A4,A5,INTEGRA1: 5,XXREAL_2: 29;
end;
suppose A6: r1 <> a & r1 <> b;
a = inf I & b = sup I by A3,A5,XXREAL_0: 2,XXREAL_2: 25, 29; then
inf I < r1 < sup I by A5,A6,XXREAL_0: 1;
hence (r = inf I & r = lower_bound I) or (r = sup I & r = upper_bound I)
or r in ].inf I, sup I.[ by XXREAL_1: 4;
end;
end;
Lm2:
for r be set, I be interval Subset of REAL st r in I & I is right_open_interval
holds (r = inf I & r = lower_bound I) or r in ].inf I,sup I.[
proof
let r be set, I be interval Subset of REAL;
assume that
A1: r in I and
A2: I is right_open_interval;
consider a be Real, b be R_eal such that
A3: I = [.a,b.[ by A2,MEASURE5:def 4;
a is LowerBound of I by A3,XXREAL_2: 19; then
reconsider J = I as non empty bounded_below real-membered set
by A1,XXREAL_2:def 9;
A4: inf J = lower_bound J;
reconsider r1 = r as Real by A1;
A5: a <= r1 < b by A1,A3,XXREAL_1: 3;
A6: a < b by A5,XXREAL_0: 2;
per cases;
suppose r1 = a;
hence (r = inf I & r = lower_bound I) or r in ].inf I,sup I.[
by A3,A4,A5,XXREAL_2: 26;
end;
suppose r1 <> a; then
a < r1 < b by A5,XXREAL_0: 1; then
inf I < r1 < sup I by A3,A6,XXREAL_2: 26, 31;
hence (r = inf I & r = lower_bound I) or r in ].inf I,sup I.[
by XXREAL_1: 4;
end;
end;
Lm3:
for r be set, I be interval Subset of REAL st r in I & I is left_open_interval
holds (r = sup I & r = upper_bound I) or r in ].inf I,sup I.[
proof
let r be set, I be interval Subset of REAL;
assume that
A1: r in I and
A2: I is left_open_interval;
consider a be R_eal, b be Real such that
A3: I = ].a,b.] by A2,MEASURE5:def 5;
b is UpperBound of I by A3,XXREAL_2: 22; then
reconsider J = I as non empty bounded_above real-membered set
by A1,XXREAL_2:def 10;
A4: sup J = upper_bound J;
reconsider r1 = r as Real by A1;
A5: a < r1 <= b by A1,A3,XXREAL_1: 2;
A6: a < b by A5,XXREAL_0: 2;
per cases;
suppose r1 = b;
hence (r = sup I & r = upper_bound I) or r in ].inf I,sup I.[
by A3,A4,A5,XXREAL_2: 30;
end;
suppose r1 <> b; then
a < r1 < b by A5,XXREAL_0: 1; then
inf I < r1 < sup I by A3,A6,XXREAL_2: 27, 30;
hence (r = sup I & r = upper_bound I) or r in ].inf I,sup I.[
by XXREAL_1: 4;
end;
end;
Lm4:
for r be set, I be interval Subset of REAL st r in I & I is open_interval
holds r in ].inf I,sup I.[
proof
let r be set, I be interval Subset of REAL;
assume that
A1: r in I and
A2: I is open_interval;
consider a,b be R_eal such that
A3: I = ].a,b.[ by A2,MEASURE5:def 2;
reconsider r1 = r as Real by A1;
A4: a < r1 < b by A1,A3,XXREAL_1: 4;
a < b by A4,XXREAL_0: 2; then
inf I = a & sup I = b by A3,XXREAL_2: 28, 32;
hence thesis by A1,A3;
end;
theorem Th4:
for f be PartFunc of REAL,REAL, I be Interval, x be Real st
f is_right_differentiable_in x & x in I & x <> sup I holds
f|I is_right_differentiable_in x
proof
let f be PartFunc of REAL,REAL, I be Interval, x be Real;
assume that
A1: f is_right_differentiable_in x and
A2: x in I and
A3: x <> sup I;
consider r be Real such that
A4: r > 0 & [.x,x+r.] c= dom f by A1,FDIFF_3:def 3;
A5: x <= sup I by A2,XXREAL_2: 4; then
A6: x < sup I by A3,XXREAL_0: 1;
A7: x < +infty by XXREAL_0: 9,XREAL_0:def 1;
-infty < sup I by A5,A2,XXREAL_0: 2, 12; then
A8: sup I - x > 0 by A6,A7,XXREAL_3: 51;
set R0 = min(r,sup I-x);
A9: R0 > 0 by A4,A8,XXREAL_0: 21;
A10:R0 <> -infty by A4,A8,XXREAL_0: 21;
A11:R0 <= r & r < +infty by XREAL_0:def 1,XXREAL_0: 17, 9; then
R0 in REAL by A10,XXREAL_0: 14; then
reconsider r0=R0 as Real;
set R = r0/ 2;
r0 > 0 by A4,A8,XXREAL_0: 21; then
A12:R < r0 by XREAL_1: 216; then
R < r by A11,XXREAL_0: 2; then
x+R < x+r by XREAL_1: 6; then
[.x,x+R.] c= [.x,x+r.] by XXREAL_1: 34; then
A13:[.x,x+R.] c= dom f by A4;
reconsider x0=x as R_eal by XXREAL_0:def 1;
reconsider S=R as R_eal by XXREAL_0:def 1;
A14: x in REAL by XREAL_0:def 1;
r0 <= sup I - x by XXREAL_0: 17; then
R < sup I - x by A12,XXREAL_0: 2; then
S+x0 < sup I - x0 + x0 by A14,XXREAL_3: 43; then
S+x0 < sup I by XXREAL_3: 22; then
A15:x+R < sup I by XXREAL_3:def 2;
A16: x < x+R by A9,XREAL_1: 29, 215; then
x+R in I by A2,A15,XXREAL_2: 81; then
[.x,x+R.] c= I by A2,XXREAL_2:def 12; then
[.x,x+R.] c= dom f /\ I by A13,XBOOLE_0:def 4; then
A17:[.x,x+R.] c= dom (f|I) by RELAT_1: 61;
for h be 0-convergent non-zero Real_Sequence,
c be constant Real_Sequence st rng c = {x} & rng(h+c) c= dom(f|I) &
( for n be Nat holds h.n > 0) holds
h"( #)((f|I)/*(h+c) - (f|I)/*c) is convergent
proof
let h be 0-convergent non-zero Real_Sequence,
c be constant Real_Sequence;
assume that
A18: rng c = {x} and
A19: rng(h+c) c= dom(f|I) and
A20: for n be Nat holds h.n > 0;
dom(f|I) c= dom f by RELAT_1: 60; then
rng(h+c) c= dom f by A19; then
A21: h"( #)(f/*(h+c) - f/*c) is convergent by A1,A18,A20,FDIFF_3:def 3;
A22: (f|I)/*(h+c) = f/*(h+c) by A19,FUNCT_2: 117;
[.x,x+R.] = rng c \/ ].x,x+R.] by A16,A18,XXREAL_1: 130; then
rng c c= [.x,x+R.] by XBOOLE_1: 7; then
rng c c= dom(f|I) by A17;
hence h"( #)((f|I)/*(h+c) - (f|I)/*c) is convergent by A22,A21,FUNCT_2: 117;
end;
hence f|I is_right_differentiable_in x by A17,A9,XREAL_1: 215,FDIFF_3:def 3;
end;
theorem Th5:
for f be PartFunc of REAL,REAL, I be Interval, x be Real st
f is_left_differentiable_in x & x in I & x <> inf I holds
f|I is_left_differentiable_in x
proof
let f be PartFunc of REAL,REAL, I be Interval, x be Real;
assume that
A1: f is_left_differentiable_in x and
A2: x in I and
A3: x <> inf I;
consider r be Real such that
A4: r > 0 & [.x-r,x.] c= dom f by A1,FDIFF_3:def 4;
A5: inf I <= x by A2,XXREAL_2: 3; then
A6: inf I < x by A3,XXREAL_0: 1;
A7: x in REAL by XREAL_0:def 1;
A8: -infty < x by XREAL_0:def 1,XXREAL_0: 12;
inf I < +infty by A5,A7,XXREAL_0: 2, 9; then
A9: x - inf I > 0 by A6,A8,XXREAL_3: 51;
set R0 = min(r,x - inf I);
A10: R0 > 0 by A4,A9,XXREAL_0: 21;
A11:R0 <> -infty by A4,A9,XXREAL_0: 21;
A12:R0 <= r & r < +infty by XREAL_0:def 1,XXREAL_0: 17, 9; then
R0 in REAL by A11,XXREAL_0: 14; then
reconsider r0=R0 as Real;
set R = r0/ 2;
A13:R < r0 by A10,XREAL_1: 216; then
R < r by A12,XXREAL_0: 2; then
x-r < x-R by XREAL_1: 10; then
[.x-R,x.] c= [.x-r,x.] by XXREAL_1: 34; then
A14:[.x-R,x.] c= dom f by A4;
reconsider x0=x as R_eal by XXREAL_0:def 1;
reconsider S=R as R_eal by XXREAL_0:def 1;
A15: -S = -R by XXREAL_3:def 3;
r0 <= x - inf I by XXREAL_0: 17; then
R < x - inf I by A13,XXREAL_0: 2; then
S - x0 < x0 -inf I - x0 by A7,XXREAL_3: 43; then
S - x0 < -inf I + x0 - x0 by XXREAL_3:def 4; then
S - x0 < -inf I by XXREAL_3: 24; then
-(S - x0) > --inf I by XXREAL_3: 38; then
x0 + -S > inf I by XXREAL_3: 26; then
A16:x-R > inf I by A15,XXREAL_3:def 2;
A17: x-R < x by A10,XREAL_1: 44, 215; then
x-R in I by A2,A16,XXREAL_2: 82; then
[.x-R,x.] c= I by A2,XXREAL_2:def 12; then
[.x-R,x.] c= dom f /\ I by A14,XBOOLE_0:def 4; then
A18:[.x-R,x.] c= dom (f|I) by RELAT_1: 61;
for h be 0-convergent non-zero Real_Sequence,
c be constant Real_Sequence st rng c = {x} & rng(h+c) c= dom(f|I) &
( for n be Nat holds h.n < 0) holds
h"( #)((f|I)/*(h+c) - (f|I)/*c) is convergent
proof
let h be 0-convergent non-zero Real_Sequence,
c be constant Real_Sequence;
assume that
A19: rng c = {x} and
A20: rng(h+c) c= dom(f|I) and
A21: for n be Nat holds h.n < 0;
dom(f|I) c= dom f by RELAT_1: 60; then
rng(h+c) c= dom f by A20; then
A22: h"( #)(f/*(h+c) - f/*c) is convergent by A1,A19,A21,FDIFF_3:def 4;
A23: (f|I)/*(h+c) = f/*(h+c) by A20,FUNCT_2: 117;
[.x-R,x.] = rng c \/ [.x-R,x.[ by A17,A19,XXREAL_1: 129; then
rng c c= [.x-R,x.] by XBOOLE_1: 7; then
rng c c= dom(f|I) by A18;
hence h"( #)((f|I)/*(h+c) - (f|I)/*c) is convergent by A23,A22,FUNCT_2: 117;
end;
hence f|I is_left_differentiable_in x by A18,A10,XREAL_1: 215,FDIFF_3:def 4;
end;
theorem Th6:
for X be set, f1,f2 be PartFunc of X,REAL st dom f1 = dom f2 holds
(f1 + f2) - f2 = f1 & (f1 - f2) + f2 = f1
proof
let X be set, f1,f2 be PartFunc of X,REAL;
assume A1: dom f1 = dom f2;
A2: dom(f1+f2) = dom f1 /\ dom f1 by A1,VALUED_1:def 1 .= dom f1; then
A3: dom((f1+f2)-f2) = dom f1 /\ dom f1 by A1,VALUED_1: 12 .= dom f1;
A4: dom(f1-f2) = dom f1 /\ dom f1 by A1,VALUED_1: 12 .= dom f1; then
A5: dom((f1-f2)+f2) = dom f1 /\ dom f1 by A1,VALUED_1:def 1 .= dom f1;
for x be Element of X st x in dom f1 holds f1.x = ((f1+f2)-f2).x
proof
let x be Element of X;
assume A6: x in dom f1; then
((f1+f2)-f2).x = (f1+f2).x - f2.x by A3,VALUED_1: 13
.= f1.x + f2.x - f2.x by A6,A2,VALUED_1:def 1;
hence f1.x = ((f1+f2)-f2).x;
end;
hence (f1 + f2) - f2 = f1 by A3,PARTFUN1: 5;
for x be Element of X st x in dom f1 holds f1.x = ((f1-f2)+f2).x
proof
let x be Element of X;
assume A7: x in dom f1; then
((f1-f2)+f2).x = (f1-f2).x + f2.x by A5,VALUED_1:def 1
.= f1.x - f2.x + f2.x by A4,A7,VALUED_1: 13;
hence f1.x = ((f1-f2)+f2).x;
end;
hence (f1 - f2) + f2 = f1 by A5,PARTFUN1: 5;
end;
begin :: Differentiation on Intervals
definition
let f be PartFunc of REAL,REAL, I be non empty Interval;
pred f is_differentiable_on_interval I means
I c= dom f & inf I < sup I &
(inf I in I implies f is_right_differentiable_in lower_bound I) &
(sup I in I implies f is_left_differentiable_in upper_bound I) &
f is_differentiable_on ].inf I,sup I.[;
end;
Lm5:
for I be interval Subset of REAL st inf I in I holds inf I = lower_bound I
proof
let I be interval Subset of REAL;
assume inf I in I; then
reconsider J=I as non empty left_end real-membered set by XXREAL_2:def 5;
inf J = lower_bound J;
hence inf I = lower_bound I;
end;
Lm6:
for I be interval Subset of REAL st sup I in I holds sup I = upper_bound I
proof
let I be interval Subset of REAL;
assume sup I in I; then
reconsider J=I as non empty right_end real-membered set by XXREAL_2:def 6;
sup J = upper_bound J;
hence sup I = upper_bound I;
end;
definition
let f be PartFunc of REAL,REAL, I be interval non empty Subset of REAL;
assume A1: f is_differentiable_on_interval I;
func f`\I -> PartFunc of REAL,REAL means :Def2:
dom it = I &
for x be Real st x in I holds
(x = inf I implies it.x = Rdiff(f,x)) &
(x = sup I implies it.x = Ldiff(f,x)) &
(x <> inf I & x <> sup I implies it.x = diff(f,x));
existence
proof
defpred P[object] means $ 1 = inf I & $ 1 in I;
defpred Q[object] means $ 1 = sup I & $ 1 in I;
defpred R[object] means $ 1 in ].inf I,sup I.[;
deffunc F(object) = In(Rdiff(f, In($ 1,REAL)),REAL);
deffunc G(object) = In(Ldiff(f, In($ 1,REAL)),REAL);
deffunc H(object) = In(diff(f, In($ 1,REAL)),REAL);
A2: for r be Element of REAL holds (P[r] implies not Q[r]) &
(P[r] implies not R[r]) & (Q[r] implies not R[r]) by A1,XXREAL_1: 4;
consider IT being PartFunc of REAL,REAL such that
A3: ( for r be Element of REAL holds r in dom IT iff P[r] or Q[r] or R[r]) &
for r be Element of REAL st r in dom IT holds (P[r] implies IT.r = F(r)) &
(Q[r] implies IT.r = G(r)) & (R[r] implies IT.r = H(r))
from SCHEME1:sch 9(A2);
take IT;
now let r be set;
assume r in dom IT; then
per cases by A3;
suppose P[r] or Q[r];
hence r in I;
end;
suppose A5: R[r]; then
reconsider r1=r as Real;
inf I < r1 < sup I by A5,XXREAL_1: 4;
hence r in I by XXREAL_2: 83;
end;
end; then
A6: dom IT c= I;
now let r be set;
assume A7: r in I; then
reconsider r1=r as Real;
per cases by MEASURE5: 1;
suppose I is closed_interval; then
P[r] or Q[r] or R[r] by A7,Lm1;
hence r in dom IT by A3;
end;
suppose I is right_open_interval; then
P[r] or R[r] by A7,Lm2;
hence r in dom IT by A3;
end;
suppose I is left_open_interval; then
Q[r] or R[r] by A7,Lm3;
hence r in dom IT by A3;
end;
suppose I is open_interval;
hence r in dom IT by A3,A7,Lm4;
end;
end; then
A8: I c= dom IT;
hence dom IT = I by A6,XBOOLE_0:def 10;
thus for x be Real st x in I holds
(x = inf I implies IT.x = Rdiff(f,x)) &
(x = sup I implies IT.x = Ldiff(f,x)) &
(x <> inf I & x <> sup I implies IT.x = diff(f,x))
proof
let x be Real;
assume
A9: x in I;
per cases;
suppose
A10: x = inf I; then
IT.x = F(x) by A3,A8,A9;
hence thesis by A10,A1;
end;
suppose
A11: x = sup I; then
IT.x = G(x) by A3,A8,A9;
hence thesis by A11,A1;
end;
suppose A12: x <> inf I & x <> sup I;
A13: x in ].inf I,sup I.[
proof
A14: I is closed_interval implies x in ].inf I,sup I.[ by A9,A12,Lm1;
A15: I is right_open_interval implies x in ].inf I,sup I.[ by A9,A12,Lm2;
I is left_open_interval implies x in ].inf I,sup I.[ by A9,A12,Lm3;
hence thesis by A14,A15,A9,Lm4,MEASURE5: 1;
end; then
inf I < x < sup I by XXREAL_1: 4; then
x in I by XXREAL_2: 83; then
IT.x = H(x) by A3,A8,A13;
hence thesis by A12;
end;
end;
end;
uniqueness
proof
let F1,F2 be PartFunc of REAL,REAL;
assume that
A16: dom F1 = I &
for x be Real st x in I holds
(x = inf I implies F1.x = Rdiff(f,x)) &
(x = sup I implies F1.x = Ldiff(f,x)) &
(x <> inf I & x <> sup I implies F1.x = diff(f,x)) and
A17: dom F2 = I &
for x be Real st x in I holds
(x = inf I implies F2.x = Rdiff(f,x)) &
(x = sup I implies F2.x = Ldiff(f,x)) &
(x <> inf I & x <> sup I implies F2.x = diff(f,x));
for x be Element of REAL st x in dom F1 holds F1.x = F2.x
proof
let x be Element of REAL;
assume
A18: x in dom F1;
per cases;
suppose x = inf I; then
F1.x = Rdiff(f,x) & F2.x = Rdiff(f,x) by A16,A17,A18;
hence F1.x = F2.x;
end;
suppose x = sup I; then
F1.x = Ldiff(f,x) & F2.x = Ldiff(f,x) by A16,A17,A18;
hence F1.x = F2.x;
end;
suppose x <> inf I & x <> sup I; then
F1.x = diff(f,x) & F2.x = diff(f,x) by A16,A17,A18;
hence F1.x = F2.x;
end;
end;
hence F1 = F2 by A16,A17,PARTFUN1: 5;
end;
end;
theorem
for f be PartFunc of REAL,REAL, a,b be Real st a < b &
f is_differentiable_on_interval ['a,b'] holds
f is_differentiable_on ].a,b.[
proof
let f be PartFunc of REAL,REAL, a,b be Real;
assume that
A1: a < b and
A2: f is_differentiable_on_interval ['a,b'];
A3: [.a,b.] = ['a,b'] by A1,INTEGRA5:def 3;
a = inf [.a,b.] & b = sup [.a,b.] by A1,XXREAL_2: 25, 29;
hence f is_differentiable_on ].a,b.[ by A2,A3;
end;
theorem
for f be PartFunc of REAL,REAL, a,b be Real st a <= b &
f is_differentiable_on_interval ['a,b'] holds
(f`\['a,b']).a = Rdiff(f,a) & (f`\['a,b']).b = Ldiff(f,b) &
for x be Real st x in ].a,b.[ holds (f`\['a,b']).x = diff(f,x)
proof
let f be PartFunc of REAL,REAL, a,b be Real;
assume that
A1: a <= b and
A2: f is_differentiable_on_interval ['a,b'];
A3: a = inf [.a,b.] & b = sup [.a,b.] by A1,XXREAL_2: 25, 29; then
reconsider I=[.a,b.] as non empty left_end right_end real-membered set
by A1,XXREAL_1: 1,XXREAL_2:def 5,def 6;
A4: I = ['a,b'] by A1,INTEGRA5:def 3;
A5: a in I & b in I by A1,XXREAL_1: 1;
hence (f`\['a,b']).a = Rdiff(f,a) by A3,A2,A4,Def2;
thus (f`\['a,b']).b = Ldiff(f,b) by A2,A5,A4,A3,Def2;
thus for x be Real st x in ].a,b.[ holds (f`\['a,b']).x = diff(f,x)
proof
let x be Real;
assume A6: x in ].a,b.[; then
A7: x <> a & x <> b by XXREAL_1: 4;
].a,b.[ c= [.a,b.] by XXREAL_1: 37;
hence thesis by A2,A3,A7,A4,A6,Def2;
end;
end;
Lm7:
for x,r be Real, h be 0-convergent non-zero Real_Sequence,
c be constant Real_Sequence st r > 0 & rng c = {x} &
( for n be Nat holds h.n > 0) holds
ex N be Nat st rng(h^\N + c) c= ].x,x+r.[ &
( for m be Nat holds (h^\N + c).m = (h+c).(N+m)) &
for m be Nat st N <= m holds ( |. h.m .| < r & x < (h+c).m < x+r )
proof
let x,r be Real, h be 0-convergent non-zero Real_Sequence,
c be constant Real_Sequence;
assume that
A1: r > 0 and
A2: rng c = {x} and
A3: for n be Nat holds h.n > 0;
h is convergent & lim h = 0; then
consider N be Nat such that
A4: for m be Nat st N <= m holds |. h.m - 0 .| < r by A1,SEQ_2:def 7;
take N;
set h1 = h^\N;
now let p be Real;
assume p in rng(h1 + c); then
consider k be Element of NAT such that
A5: p = (h1+c).k by FUNCT_2: 113;
A6: p = h1.k + c.k by A5,VALUED_1: 1;
c.k in rng c by FUNCT_2: 112; then
A7: c.k = x by A2,TARSKI:def 1;
A8: h1.k = h.(N+k) by NAT_1:def 3; then
A9: h1.k > 0 by A3;
|. h1.k - 0 .| < r by A4,A8,NAT_1: 11; then
h1.k < r by A9,ABSVALUE:def 1; then
x < p < x + r by A3,A8,A6,A7,XREAL_1: 6, 29;
hence p in ].x,x+r.[ by XXREAL_1: 4;
end;
hence
A10: rng(h^\N + c) c= ].x,x+r.[;
thus
A11: for m be Nat holds (h^\N + c).m = (h+c).(N+m)
proof
let m be Nat;
A12: dom(h1+c) = NAT & dom c = NAT & dom(h+c) = NAT by FUNCT_2:def 1; then
m in dom(h1+c) & m in dom c & N+m in dom(h+c) & N+m in dom c
by ORDINAL1:def 12; then
A13: c.m = c.(N+m) by FUNCT_1:def 10;
(h1+c).m = h1.m + c.m by A12,ORDINAL1:def 12,VALUED_1:def 1
.= h.(N+m) + c.(N+m) by A13,NAT_1:def 3;
hence (h^\N + c).m = (h+c).(N+m) by A12,ORDINAL1:def 12,VALUED_1:def 1;
end;
thus for m be Nat st N <= m holds |. h.m .| < r & x < (h+c).m < x+r
proof
let m be Nat;
assume
A14: N <= m; then
|. h.m - 0 .| < r by A4;
hence |. h.m .| < r;
consider m1 be Nat such that
A15: m = N+m1 by A14,NAT_1: 10;
dom(h1+c) = NAT by FUNCT_2:def 1; then
(h1+c).m1 in rng(h1+c) by FUNCT_1: 3,ORDINAL1:def 12; then
x < (h1+c).m1 < x+r by A10,XXREAL_1: 4;
hence x < (h+c).m < x+r by A15,A11;
end;
end;
Lm8:
for x,r be Real, h be 0-convergent non-zero Real_Sequence,
c be constant Real_Sequence st r > 0 & rng c = {x} &
( for n be Nat holds h.n < 0) holds
ex N be Nat st rng(h^\N + c) c= ].x-r,x.[ &
( for m be Nat holds (h^\N + c).m = (h+c).(N+m)) &
for m be Nat st N <= m holds ( |. h.m .| < r & x-r < (h+c).m < x )
proof
let x,r be Real, h be 0-convergent non-zero Real_Sequence,
c be constant Real_Sequence;
assume that
A1: r > 0 and
A2: rng c = {x} and
A3: for n be Nat holds h.n < 0;
h is convergent & lim h = 0; then
consider N be Nat such that
A4: for m be Nat st N <= m holds |. h.m - 0 .| < r by A1,SEQ_2:def 7;
take N;
set h1 = h^\N;
now let p be Real;
assume p in rng(h1 + c); then
consider k be Element of NAT such that
A5: p = (h1+c).k by FUNCT_2: 113;
A6: p = h1.k + c.k by A5,VALUED_1: 1;
c.k in rng c by FUNCT_2: 112; then
A7: c.k = x by A2,TARSKI:def 1;
A8: h1.k = h.(N+k) by NAT_1:def 3;
|. h1.k - 0 .| < r by A4,A8,NAT_1: 11; then
-(h1.k) < r by A3,A8,ABSVALUE:def 1; then
x-r < p < x by A3,A8,A6,A7,XREAL_1: 6, 25, 30;
hence p in ].x-r,x.[ by XXREAL_1: 4;
end;
hence
A9: rng(h^\N + c) c= ].x-r,x.[;
thus
A10: for m be Nat holds (h^\N + c).m = (h+c).(N+m)
proof
let m be Nat;
A11: dom(h1+c) = NAT & dom c = NAT & dom(h+c) = NAT by FUNCT_2:def 1; then
m in dom(h1+c) & m in dom c & N+m in dom(h+c) & N+m in dom c
by ORDINAL1:def 12; then
A12: c.m = c.(N+m) by FUNCT_1:def 10;
(h1+c).m = h1.m + c.m by A11,ORDINAL1:def 12,VALUED_1:def 1
.= h.(N+m) + c.(N+m) by A12,NAT_1:def 3;
hence (h^\N + c).m = (h+c).(N+m) by A11,ORDINAL1:def 12,VALUED_1:def 1;
end;
thus for m be Nat st N <= m holds |. h.m .| < r & x-r < (h+c).m < x
proof
let m be Nat;
assume
A13: N <= m; then
|. h.m - 0 .| < r by A4;
hence |. h.m .| < r;
consider m1 be Nat such that
A14: m = N+m1 by A13,NAT_1: 10;
dom(h1+c) = NAT by FUNCT_2:def 1; then
(h1+c).m1 in rng(h1+c) by FUNCT_1: 3,ORDINAL1:def 12; then
x-r < (h1+c).m1 < x by A9,XXREAL_1: 4;
hence x-r < (h+c).m < x by A14,A10;
end;
end;
theorem Th9:
for f be PartFunc of REAL,REAL, I be Interval, x be Real st
f|I is_right_differentiable_in x holds
f is_right_differentiable_in x & Rdiff(f|I,x) = Rdiff(f,x)
proof
let f be PartFunc of REAL,REAL, I be Interval, x be Real;
assume
A1: f|I is_right_differentiable_in x; then
consider r be Real such that
A2: r > 0 & [.x,x+r.] c= dom(f|I) by FDIFF_3:def 3;
A3: dom(f|I) c= dom f by RELAT_1: 60; then
A4: [.x,x+r.] c= dom f by A2;
for h be 0-convergent non-zero Real_Sequence,
c be constant Real_Sequence st rng c = {x} & rng(h+c) c= dom f &
( for n be Nat holds h.n > 0) holds
h"( #)(f/*(h+c)-f/*c) is convergent &
lim(h"( #)(f/*(h+c)-f/*c)) = Rdiff(f|I,x)
proof
let h be 0-convergent non-zero Real_Sequence,
c be constant Real_Sequence;
assume that
A5: rng c = {x} and
A6: rng(h+c) c= dom f and
A7: for n be Nat holds h.n > 0;
consider N be Nat such that
A8: rng(h^\N + c) c= ].x,x+r.[ &
( for m be Nat holds (h^\N + c).m = (h+c).(N+m)) &
for m be Nat st N <= m holds ( |. h.m .| < r & x < (h+c).m < x+r )
by A2,A5,A7,Lm7;
set h1 = h^\N;
].x,x+r.[ c= [.x,x+r.] by XXREAL_1: 37; then
A9: rng(h1+c) c= dom(f|I) by A2,A8; then
A10: (f|I)/*(h1+c) = (f|I)*(h1+c) by FUNCT_2:def 11;
A11: f/*(h+c) = f*(h+c) by A6,FUNCT_2:def 11;
A12: for n be Nat holds h1.n > 0
proof
let n be Nat;
h1.n = h.(N+n) by NAT_1:def 3;
hence h1.n > 0 by A7;
end; then
A13: h1"( #)((f|I)/*(h1+c) - (f|I)/*c) is convergent by A1,A5,A9,FDIFF_3:def 3;
x < x+r by A2,XREAL_1: 29; then
[.x,x+r.] = rng c \/ ].x,x+r.] by A5,XXREAL_1: 130; then
A14: rng c c= [.x,x+r.] by XBOOLE_1: 7; then
A15: rng c c= dom(f|I) by A2;
A16: rng c c= dom f by A2,A3,A14; then
A17: f/*c = f*c by FUNCT_2:def 11;
consider g be Real such that
A18: for p be Real st 0 < p ex M be Nat st for l be Nat st M <= l holds
|. (h1"( #)((f|I)/*(h1+c) - (f|I)/*c)).l - g .| < p
by A13,SEQ_2:def 6;
lim(h1"( #)((f|I)/*(h1+c) - (f|I)/*c)) = g by A13,A18,SEQ_2:def 7; then
A19: Rdiff(f|I,x) = g by A1,A5,A9,A12,FDIFF_3:def 6;
A20: now let p be Real;
assume 0 < p; then
consider M be Nat such that
A21: for l be Nat st M <= l holds
|. (h1"( #)((f|I)/*(h1+c) - (f|I)/*c)).l - g .| < p by A18;
take K = N+M;
hereby let l be Nat;
assume K <= l; then
reconsider i = l-(N+M) as Element of NAT by NAT_1: 21;
reconsider i1 = i+M as Element of NAT by ORDINAL1:def 12;
A22: dom(h1+c) = NAT & dom c = NAT & dom(h+c) = NAT by FUNCT_2:def 1; then
i1 in dom(h1+c) & i1 in dom c; then
i1 in dom((f|I)*(h1+c)) & i1 in dom((f|I)*c) by A9,A15,RELAT_1: 27; then
i1 in dom((f|I)*(h1+c)) /\ dom((f|I)*c) by XBOOLE_0:def 4; then
A23: i1 in dom( (f|I)*(h1+c) - (f|I)*c) by VALUED_1: 12;
A24: (h1+c).i1 in rng(h1+c) & c.i1 in rng c by A22,FUNCT_1: 3;
A25: l in dom(h+c) & l in dom c by A22,ORDINAL1:def 12; then
A26: c.i1 = c.l by A22,FUNCT_1:def 10;
A27: (h1").i1 = ((h")^\N).i1 by SEQM_3: 18 .= (h").(N+i1) by NAT_1:def 3;
A28: f.((h+c).l) = (f*(h+c)).l & f.(c.l) = (f*c).l
by A22,ORDINAL1:def 12,FUNCT_1: 13;
l in dom(f*(h+c)) & l in dom(f*c) by A25,A6,A16,RELAT_1: 27; then
l in dom(f/*(h+c)) /\ dom(f/*c) by A11,A17,XBOOLE_0:def 4; then
A29: l in dom( f/*(h+c) - f/*c ) by VALUED_1: 12;
(h1"( #)((f|I)/*(h1+c) - (f|I)/*c)).i1
= (h1"( #)((f|I)*(h1+c) - (f|I)*c)).i1 by A10,A15,FUNCT_2:def 11
.= (h1").i1 * ((f|I)*(h1+c)-(f|I)*c).i1 by VALUED_1: 5
.= (h1").i1 * ( ((f|I)*(h1+c)).i1 - ((f|I)*c).i1 ) by A23,VALUED_1: 13
.= (h1").i1 * ( (f|I).((h1+c).i1) - ((f|I)*c).i1 ) by A22,FUNCT_1: 13
.= (h1").i1 * ( (f|I).((h1+c).i1) - (f|I).(c.i1) ) by A22,FUNCT_1: 13
.= (h1").i1 * ( f.((h1+c).i1) - (f|I).(c.i1) ) by A24,A9,FUNCT_1: 47
.= (h1").i1 * ( f.((h1+c).i1) - f.(c.i1) ) by A2,A24,A14,FUNCT_1: 47
.= (h").l * ( (f*(h+c)).l - (f*c).l ) by A8,A26,A27,A28
.= (h").l * (f/*(h+c)-f/*c).l by A11,A17,A29,VALUED_1: 13
.= (h"( #)(f/*(h+c)-f/*c)).l by VALUED_1: 5;
hence |. (h"( #)(f/*(h+c)-f/*c)).l - g .| < p by A21,NAT_1: 11;
end;
end;
hence h"( #)(f/*(h+c)-f/*c) is convergent by SEQ_2:def 6;
hence lim(h"( #)(f/*(h+c)-f/*c)) = Rdiff(f|I,x) by A19,A20,SEQ_2:def 7;
end;
hence f is_right_differentiable_in x &
Rdiff(f,x) = Rdiff(f|I,x) by A2,A4,FDIFF_3: 15;
end;
theorem Th10:
for f be PartFunc of REAL,REAL, I be Interval, x be Real st
f|I is_left_differentiable_in x holds
f is_left_differentiable_in x & Ldiff(f|I,x) = Ldiff(f,x)
proof
let f be PartFunc of REAL,REAL, I be Interval, x be Real;
assume
A1: f|I is_left_differentiable_in x; then
consider r be Real such that
A2: r > 0 & [.x-r,x.] c= dom(f|I) by FDIFF_3:def 4;
A3: dom(f|I) c= dom f by RELAT_1: 60; then
A4: [.x-r,x.] c= dom f by A2;
for h be 0-convergent non-zero Real_Sequence,
c be constant Real_Sequence st rng c = {x} & rng(h+c) c= dom f &
( for n be Nat holds h.n < 0) holds
h"( #)(f/*(h+c)-f/*c) is convergent &
lim(h"( #)(f/*(h+c)-f/*c)) = Ldiff(f|I,x)
proof
let h be 0-convergent non-zero Real_Sequence,
c be constant Real_Sequence;
assume that
A5: rng c = {x} and
A6: rng(h+c) c= dom f and
A7: for n be Nat holds h.n < 0;
consider N be Nat such that
A8: rng(h^\N + c) c= ].x-r,x.[ &
( for m be Nat holds (h^\N + c).m = (h+c).(N+m)) &
for m be Nat st N <= m holds ( |. h.m .| < r & x-r < (h+c).m < x )
by A2,A5,A7,Lm8;
set h1 = h^\N;
].x-r,x.[ c= [.x-r,x.] by XXREAL_1: 37; then
A9: rng(h1+c) c= dom(f|I) by A2,A8; then
A10: (f|I)/*(h1+c) = (f|I)*(h1+c) by FUNCT_2:def 11;
A11: f/*(h+c) = f*(h+c) by A6,FUNCT_2:def 11;
A12: for n be Nat holds h1.n < 0
proof
let n be Nat;
h1.n = h.(N+n) by NAT_1:def 3;
hence h1.n < 0 by A7;
end; then
A13: h1"( #)((f|I)/*(h1+c) - (f|I)/*c) is convergent by A1,A5,A9,FDIFF_3:def 4;
x-r < x by A2,XREAL_1: 44; then
[.x-r,x.] = rng c \/ [.x-r,x.[ by A5,XXREAL_1: 129; then
A14: rng c c= [.x-r,x.] by XBOOLE_1: 7; then
A15: rng c c= dom(f|I) by A2;
A16: rng c c= dom f by A2,A3,A14; then
A17: f/*c = f*c by FUNCT_2:def 11;
consider g be Real such that
A18: for p be Real st 0 < p ex M be Nat st for l be Nat st M <= l holds
|. (h1"( #)((f|I)/*(h1+c) - (f|I)/*c)).l - g .| < p
by A13,SEQ_2:def 6;
lim(h1"( #)((f|I)/*(h1+c) - (f|I)/*c)) = g by A13,A18,SEQ_2:def 7; then
A19: Ldiff(f|I,x) = g by A1,A5,A9,A12,FDIFF_3:def 5;
A20: now let p be Real;
assume 0 < p; then
consider M be Nat such that
A21: for l be Nat st M <= l holds
|. (h1"( #)((f|I)/*(h1+c) - (f|I)/*c)).l - g .| < p by A18;
take K = N+M;
hereby let l be Nat;
assume K <= l; then
reconsider i = l-(N+M) as Element of NAT by NAT_1: 21;
reconsider i1 = i+M as Element of NAT by ORDINAL1:def 12;
A22: dom(h1+c) = NAT & dom c = NAT & dom(h+c) = NAT by FUNCT_2:def 1; then
i1 in dom(h1+c) & i1 in dom c; then
i1 in dom((f|I)*(h1+c)) & i1 in dom((f|I)*c) by A9,A15,RELAT_1: 27; then
i1 in dom((f|I)*(h1+c)) /\ dom((f|I)*c) by XBOOLE_0:def 4; then
A23: i1 in dom( (f|I)*(h1+c) - (f|I)*c) by VALUED_1: 12;
A24: (h1+c).i1 in rng(h1+c) & c.i1 in rng c by A22,FUNCT_1: 3;
A25: l in dom(h+c) & l in dom c by A22,ORDINAL1:def 12; then
A26: c.i1 = c.l by A22,FUNCT_1:def 10;
A27: (h1").i1 = ((h")^\N).i1 by SEQM_3: 18 .= (h").(N+i1) by NAT_1:def 3;
A28: f.((h+c).l) = (f*(h+c)).l & f.(c.l) = (f*c).l
by A22,ORDINAL1:def 12,FUNCT_1: 13;
l in dom(f*(h+c)) & l in dom(f*c) by A25,A6,A16,RELAT_1: 27; then
l in dom(f/*(h+c)) /\ dom(f/*c) by A11,A17,XBOOLE_0:def 4; then
A29: l in dom( f/*(h+c) - f/*c ) by VALUED_1: 12;
(h1"( #)((f|I)/*(h1+c) - (f|I)/*c)).i1
= (h1"( #)((f|I)*(h1+c) - (f|I)*c)).i1 by A10,A15,FUNCT_2:def 11
.= (h1").i1 * ((f|I)*(h1+c)-(f|I)*c).i1 by VALUED_1: 5
.= (h1").i1 * ( ((f|I)*(h1+c)).i1 - ((f|I)*c).i1 ) by A23,VALUED_1: 13
.= (h1").i1 * ( (f|I).((h1+c).i1) - ((f|I)*c).i1 ) by A22,FUNCT_1: 13
.= (h1").i1 * ( (f|I).((h1+c).i1) - (f|I).(c.i1) ) by A22,FUNCT_1: 13
.= (h1").i1 * ( f.((h1+c).i1) - (f|I).(c.i1) ) by A9,A24,FUNCT_1: 47
.= (h1").i1 * ( f.((h1+c).i1) - f.(c.i1) ) by A2,A14,A24,FUNCT_1: 47
.= (h").l * ( (f*(h+c)).l - (f*c).l ) by A8,A26,A27,A28
.= (h").l * (f/*(h+c)-f/*c).l by A11,A17,A29,VALUED_1: 13
.= (h"( #)(f/*(h+c)-f/*c)).l by VALUED_1: 5;
hence |. (h"( #)(f/*(h+c)-f/*c)).l - g .| < p by A21,NAT_1: 11;
end;
end;
hence h"( #)(f/*(h+c)-f/*c) is convergent by SEQ_2:def 6;
hence lim(h"( #)(f/*(h+c)-f/*c)) = Ldiff(f|I,x) by A19,A20,SEQ_2:def 7;
end;
hence f is_left_differentiable_in x &
Ldiff(f,x) = Ldiff(f|I,x) by A2,A4,FDIFF_3: 9;
end;
Lm9:
for I be non empty Interval, x be Real st inf I < x < sup I
ex Z be open Subset of REAL st x in Z & Z c= ].inf I,sup I.[
proof
let I be non empty Interval, x be Real;
assume
A1: inf I < x < sup I; then
A2: inf I < sup I by XXREAL_0: 2;
per cases;
suppose A3: inf I = -infty;
per cases per cases;
:: (Stowarzyszenie Uzytkownikow Mizara:: This code can be distributed under the GNU :: versio n 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: http://creativecommons.org/licenses/by-sa
take Z;
x-<<x1by :,;
in :;
r beReal;
assume r in Z;
inf I < r < sup I by A3,A4,XXREAL_0:4,6;
hence r in ].inf I,sup I.[ by XXREAL_1:4;
end;
hence Z c= .inf I,up .;
end;
suppose I <> +;then
FUNCT_2, F , java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
:x- <x XREAL_1:;
reconsider Z, ;
Z
thusx in ,1,4;
letrbe Real
r Z then
IA36XXREAL_14java.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
SEQM_3,, FDIFF_3, XXREAL_3,,
end;
hence=] I, I.;
end;
java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
suppose A6:inf >i then
A7: infty :6
supI=+ by
reconsideri infI Real ,6XXREAL_014XREAL_0def1;
per cases;
A4 now
consider Realsuch that
A9: by XREAL_1:1;
thus x0 in x0 in A1,A5;
take Z;
thus Z by A1,9,XREAL_14java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
nowlet r ;
assume r in Z; then
< < A8,XXREAL_0:,:;
hence r in ].inf I,sup I.[ by XXREAL_1:4;
Zc . Is .java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
end;
suppose sup I <> |A)xin (1A 3;
reconsiderendthen
: =dom f2byA;
take Z;
thus x in Z by A1, for x0 be Real holds x0 in A*1is_differentiable_in A4;
thus Z cc=]infIsup I.;
end:dom (f2f1`A)=Ajava.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 42
then
theorem Th11:
for (*)|)x0=diff(f2f1)by ,A12,A14,DIFF_1def
Ic dom f& for x be Real st in holds
erentiable_in )&
(x = . (`B))x0 * (1|)x0 A16FUNCT_1java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
(x end;
proof
fbe of REAL,EAL,I non empty Interval;
: is_differentiable_on_intervalIjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
hence I c= dom fend;
theorem :
( ]inf,up I. isopen Subset f &]inf ,sup .=I
(x =now persuppose in& REAL;
(x in].IsupI.[ = ].,.;
proof
let x be Real;
assume
A2:x I;
thus]inf I,supI[= {}by ,XXREAL_0:3XXREAL_1:28;
proof
assume per cases;
f is_right_differentiable_in x by A1reconsider b=supI ;
hence f| hence f|I f I,sup I.[ open Subset of REAL;
end;
sup I ;
proof
assume A4: x ;java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
f is_left_differentiable_in
hence|is_left_differentiable_in b A,4Tjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
assume x per cases java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 35
inf I < x < sup I by XXREAL_1:4; then
consider Z be open Subset of REAL such that
A5: x in Z & Z c= ].inf I,sup I.[ by Lm9;
f is_differentiable_on Z by A1,A5,FDIFF_1:26;
hence f is_differentiable_in x by A5,FDIFF_1:9;
end;
end;
assume that
A6: I c= dom f and
A7: for x be Real st x in I holds
(x =in x) &
(x = sup end;
( ].inf Isup.[implies f is_differentiable_inx;
A8: now assume inf I = sup I; then
A9:I={nfI by XXREAL_2:70; then
A10: inf I in ;
x =inf I Real;
f| assume : . I, .[;then
java.lang.StringIndexOutOfBoundsException: Range [10, 5) out of bounds for length 33
A11: r > 0 & [.x,x+r.] c= dom(f|I) by FDIFF_3:def 3;
dom(f|I) c= I; then
A12: [.x,x+r.] c= I by A11;
A13: x < x+r by A11,XREAL_1:29; then
x+r in {inf I} by A12,A9,XXREAL_1:1;
hence contradiction by A13,TARSKI:def 1;
end;
A14: inf I <= sup I by XXREAL_2:40;
A15: A1: r in and
assume A16: inf I inA3 = [a,b]by ,EASURE5:3;
inf I =A4 I =[lower_boundI, upper_boundI. A1,A2,NTEGRA1:4;
f| = =b:java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
hence f java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 8
;
A17: sup I in I implies f is_left_differentiable_in upper_bound I
proof
assume A18: sup I I < supby A5A6,XXREAL_01
sup I = upper_bound I by Lm6; then
fI is_left_differentiable_in upper_bound I by A18,7;
hence f is_left_differentiable_in upper_bound I by Th10;
Lm2:
A19:now a be ;
assume A20: .inf I,upI.;then
reconsider a1=a as Real;
inf I <a1<sup byA20,XXREAL_1:4java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
henceA3: I [ab[byA2,:def 4;
end;
A21 reconsider J I as non empty bounded_below real-membered set
A22:
set J = ].inf I,supA6: a < b by A5,XXREAL_0
for bein . Isup.[ holds
f|(].inf
proof
let x be Real; <bby A5,XXREAL_0:; then
a 23: in ]I I.; then
(r = inf I r I orr . I .java.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 66
java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 48
exjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
st N1 . -f =L(px) +R.(-)java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
ex r1 be Real st inf I < r1 < x
proof
per cases;
= non emptybounded_above real-membered set
consider r1 be Real java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 26
: r1 x XREAL_12
take r1;
thus inf hence r=sup &r upper_boundI or r in]inf, I.[
end;
suppose A27:inf I <> -infty;
A28: inf I < x end;
I<> +nftyby :;then
inf I in REAL by A27,XXREAL_0:14; then
reconsider =inf Ias Real;
consider r1 be Real such that
for beset, I be interval Subset of REAL st r in I & I is open_interval
take let r be set, I be interval Subset of REAL;
thus inf I <r1 <x A29;
end;
end; consider a,b be R_eal such that
Real such
A30: inf I < r1 < x;
ex r2 be Real I bby A3,:32java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
;
suppose A31:sup
consider r2 be consider r2 be REAL,REAL,Ibe Interval,xbe Real;
A32: x < r2 by java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 15
take r2;
thusx<r2<sup I byA31A32,:def 1,XREAL_0:9;
end;
+infty;
A34:supI> x by A23,XXREAL_14; then
sup I <> -infty by XXREAL_0:5; then
sup I A6: x < sup I bXXREAL_0:;
=sup I ;
consider A8 - x>0by A6,,:51;
A35:A9:R0>0 by A4,8XXREAL_0:java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
aker2;
thus x < r2 ,14 then
considerr2
A36:x <r2< sup I;
A37: x-r1 > A37: x-r1 > 0c[x,+r.]by 34;
set rr = min(x-r1,r2
= .-rxrr. ofx
by A37,XXREAL_0:21,RCOMP_1:def 6;
r2 1711,;then
A38: ]. r0 =sup - x :;then
39 .,r2[c ]inf ,sup I. by ,A36,:;
consider java.lang.StringIndexOutOfBoundsException: Range [36, 32) out of bounds for length 47
A40: N A16:x x+Rby,XREAL_1:29215;then
N c= dom f & [x+. c= by,XXREAL_2def12;then
N c= dom f /\ J by [.x,x+R.] c= dom f /\ I by A13XBOOLE_0:def 4;then
A41: N c= dom(f|J)
consider L be LinearFunc, R be consider L be LinearFunc, R be c ={} h+)c=dom(
A42: h"#(fI/(h+c)- (|)*)is
for p be Real st p in Ncbe ;
proof
pjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
assume
N;
xin Nby :6;then
(|)p . &(|J.x= f.x by A41,A43,java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 58
hencethesis ,,A40java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
end;
hence f|(].inf I,sup I.[) is_differentiable_in x by A41;
end; then
f is_differentiable_on ].inf I,sup I.[ by A22;
hence f is_differentiable_on_interval I by A6,A14,A15,A17,A8,XXREAL_0:1;
end;
theorem
for f be PartFunc of REAL,REAL, I be non empty Interval st I is open_interval
holds f is_differentiable_on I iff f is_differentiable_on_interval I
proof
let f be PartFunc of REAL,REAL, I be non empty Interval;
assume I is open_interval; then
consider a,b be R_eal such that
A1: I = ].a,b.[ by MEASURE5:def 2;
A2: a = inf I & b = sup I by A1,XXREAL_1:28,XXREAL_2:28,32;
hence f is_differentiable_on I implies
f is_differentiable_on_interval I by A1,XXREAL_1:4,28;
assume f is_differentiable_on_interval I;
hence f is_differentiable_on I by A1,A2;
end;
Lm10:
for be st isSubsetof REAL Xis
proof
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A1:X Subset ;
bool REAL c= bool ExtREAL by NUMBERS:31,ZFMISC_1:67;
hence A1;
end;
Lm11:
forA1: f
I is A3: x <> inf I;
proof
let I be non empty Interval;
:inf Iin I;
A2: now assume I is open_interval; then
consider a,b be R_ealA6: < xby X:;
A3: I A8:-infty < x XREAL_0d ,:2
inf I = abyA3,2,XREAL_2:java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
hence contradiction byset (, -inf I)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
djava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
now assume
I ;then
a such that
A4: I = ].java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
I=a ,XXREAL_1:6,XXREAL_2:;
hence contradiction byA1,4XXREAL_12java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Range [31, 9) out of bounds for length 34
end;
Lm12::-=- def3java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
for I beR< I,XXREAL_02
I is or is left_open_interval
proof
;
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
A2: now assume I is open_interval; then
consider a,b be R_ealA17 -R xby ,XREAL_1:4215
A3: I = .-,x] c= I by A2,XXREAL_2:def 12;then
sup b ,XREAL_1:8,32java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
hence contradiction java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
end;
now assume
I is right_open_interval; then
consider a be Real,bbeR_eal such that
A4: I=[a.[byMEASURE5def 4;
java.lang.StringIndexOutOfBoundsException: Range [13, 5) out of bounds for length 45
hence contradiction assume
end;
hence thesis by A2,MEASURE5: domfI)= ELAT_160;
end;
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
for I be non A23 fI/hc =/*hc)by ,java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
Lm14:
orI nonjava.lang.StringIndexOutOfBoundsException: Range [18, 13) out of bounds for length 57
nd;
proof
let be Interval;
assume that
Ijava.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
A2 inf I < < sup I;
java.lang.StringIndexOutOfBoundsException: Range [9, 2) out of bounds for length 36
Lm10; then
q be Element such java.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
A4 inI I< q A2,:94;
reconsider q as Real by A4;
I;
thus e > 0 by A3 proof
thus .lower_bound,lower_bound I+. =I
suppose I is closed_interval; java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 8
:=[inf, I MEASURE617;
let x be Element of X;
hence [. ((f1-f2)+f2) f1.+V java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
;
I java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 43
A6: I = [.inf I,sup I.[ by MEASURE6:18;
REAL_1:3;
[ ,I.]=I A3A6,XXREAL_1:43;
end;
end;
Lm15:
Intervalst &inf I < java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
ex e be Real st e > java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 77
proof
A1: supletI be
< ;
A3:
I is assume A1 f I;
consider q be Element of java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 14
A4: q in I & q < sup I x=Iimpliesitx=Ldifffx)) java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
reconsider
thuse by,A4,:50java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
,upper_boundI. c= I
proof
per cases by A1,Lm12;
suppose I is closed_interval; then
A5: I = [.inf I,sup I.] by MEASURE6:17;
inf < A4,A5:java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
.upper_bound I-,pper_boundI]c=I ,,XXREAL_1:;
end;
is;
java.lang.StringIndexOutOfBoundsException: Range [36, 2) out of bounds for length 40
q by A4,,:;
hence [.upper_bound I-ejava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
end;
end;
end;
theorem
for f be PartFunc of REAL,REAL, x0,r be java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 34
f is_right_differentiable_in
proof
let reconsiderr1r Realjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
assumePr Q [r A7,;
A1: f is_right_differentiable_in x0 and
A2: rng f = {r};
A3: ex e be hence in java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
for h be hence r inITbyA3;
+c)c f &(ornNat h.>)holds
r by ,7L;
lim (h"(#)(f/*(h+c) - fA8:c ITjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
thus x stxinI
let h be non-zero 0-convergent x=sup ITx=Ldifffx) java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
assume let x be ;
A4: rng c = {x0} and
:rng(+)=domfajava.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
: orn Natn0java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
thus
A7: h"(#)(fjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
consider e be Real such that
e >0 [,0A1,FDIFF_3: ;
for p be Real st 0<p ex n be Nat st for: I is right_open_interval ]inf ,up .[ by A9,12,m2;
|. ( hencbyA9:;
proof
let p be Real;
assume
A9: 0 < p;
take n = 0;
hereby let m be Nat;
= m;
< e 29;
: in[x0x0e]by 1
11 c c=domf by A8,431java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
A12: f/*(h+c) xbe xI
by (x = sup F2x=Ldifff,x) java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
A13:dom(+ =NAT by :ef 1;then
m inlet be of REAL;
m in dom(f*(h+c)) per cases;
by A5,A10,A8,A4,ZFMISC_1:31,RELAT_1:27; then
m in F1.x = Rdifff,)&F2. (,)by ,A18;
A14: m in dom(end;
(h+c).m F1.x = Ldiff,x x=Ldiff(f,) A17,A18;
by A13,RDINAL1: 2,FUNCT_1:3; then
f.((h+c suppose < & < I
f(hc)m &f.(.) r by ,ARSKI: 1;then
A15: (f*(h+c)).m = rend;
= (hforf be PartFuncof REAL,b be Real st a<b &
.= (h").m * ((f ]ab.[
java.lang.StringIndexOutOfBoundsException: Range [12, 7) out of bounds for length 76
end;
end
lim h"(#(/(+c)-f/*) = 0by A7,EQ_2:ef 7;
end;
hence
end;
theorem
or be of REALREAL,x0,r Real
f hence f is_differentiable_on.,. A2,,A3;
proof
let f be REALREAL,a, Real a =b java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
A1 is_left_differentiable_in and
A2: rng fbe PartFuncof ,REAL,a be ;
A3: ex:f ['a,b'];
for h be non-zero 0-java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
st rng c = st rng c = .b]asnonempty left_end membered
h"(#)(f/*(h+c) - f/*c) is convergent &
lim ("#(/*(h+c) -f/*)=0
proof
let - 0 Real_Sequence, c constantReal_Sequence;
:rng x
A5: rng(h+c)letx ;
A6: for n be Nat holds h.n<0;
thus
:h()f*(+c)-f*c)isconvergent A1,A4,,A5,6FDIFF_3def4;
be
:e> .-ex0. f ,d4java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
for p be Real st 0<p ex n be Nat st for m be Nat st n <= m holds
|.h"#) -.< p
proof
let p be Real;
assume
0<p;
take n = 0;
let mbe
=mjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
- < by44 java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
A10 c java.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
A11: rng c c= dom fhisconvergent lim h=0 then
:*) *hc)& /* *java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
by A5,A10,A8
A13consider ElementNATthat
m in dom(h+c) & m in dom c by A5:p = (1+c. by FUNCT_2113;
m inc. in cby :;then
by A5,A10,A8,A4,ZFMISC_1:31,java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 0
m in dom(f*(h+c)) /\ dom(f |. h1k - 0.| < r by A4A8NAT_1:11; then
A14: indom(f*h+)-fc)byVALUED_1:;
(+. rng+)&mjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
by,def12FUNCT_1
f.((h+c
f.(+)m r&f(.) =r by,:ef1 then
A15:(*(c)m=r&(*).m = by A13,:12F:;
(h"(#)(f/*(h+c) - f/*c)).m
.=(h)m* (*h).m- (*c)m) by A14,ALUED_1:;
. (h"#)f*(+c) -f*c).m -0 | p by A9,A15,COMPLEX1:44;
end;
hence lim (h"(#)(f
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
hence Ldiff hN+c. hc.m A12 ,java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 76
end thusfor m beNat N=m | .m. r x <(c. +java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
|.m-0 |<r A4;
for f be PartFunc of REAL,REAL, I|h| <rjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
I<supI&(x beReal st rng f = {)holds
fis_differentiable_on_interval &
stx inIholds f\).x = 0
proof
let f be PartFunc of REAL,REAL, Ix hc. < +rA15A
assumeendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
: = dom and
constant r > rngc={} &
A3: ex r be Real st rng f = {r};
consider suchthat
rngf={}byA3java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
: assume
A6: inf I in java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
A7: inf I java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 0
consider e be Real such that
: > 0 & [.lower_bound Ilower_bound I+e.] c= I by A6,A2,Lm14;
A9: e > 0 & [.lower_bound I,lower_bound I+e.] c= dom f by A8,A1;
:for h non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence st
I (+c)c
( nbe Natholds h.n > 0) holds
h"(#)(/*hc f/c isconvergent
& lim (h"(#)(f/*(h+c) - f/*c)) = 0
proof
let h be non-zero 0-java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
c constant Real_Sequence;
assumethat
A11: c = {lower_bound I} and
A12: rng(h+c) c= dom f and
n java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 34
:forbeReal st <p
ex N A10: for m be holds h^N+c.=hc)(N+)
|. (h"(#)(f/*(h+c) - f/*c)).k - 0 . proof
proof
letp be ;
assume
0<p;
take N=0;
hereby beNat;
assume N <= k;
A15: . h.(N+m .(N+)by ,NAT_1:ef 3
A16: f/*c = f*c by A1, ;
A17:f*(+c)=fh+)byA12,:def11;
A18: dom mbeNat
k + cbydef;then
in(f(c)&k indomf*)
A12,,A6A,ZFMISC_131RELAT_1:; then
infc (fc)by :ef ;
:indomf(+)-fc VALUED_112;
(h+c).k in rng(h+c) & c.k in rng c
by A18,ORDINAL1:def 12,FUNCT_1:3; then
f((+)k in rng & f.(.k) in rng by ,12A15F:;
:f.(+)k = r& f(c.k) r A4,TARSKIdef 1;
(h"(#)(f end
.= (h").k * ((for f be PartFunc of RE,REAL,Ibe Interval, x Realst
.= is_right_differentiable_in x & Rdiff(|,x)= Rdiff(,x)
.=(h)k*(.(h+)k f.c.) by A18,ORDINAL1:ef 12FUNCT_1:13;
hence |. (h"(#)(f/*(h assume
byA20,,COMPLEX1:44;
end;
end;
henceh()(/*h+) f/c bySEQ_2def6;
hence lim(h"(#)(f/*(h+c) - fjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end; then
for h be non-zero 0-convergent Real_Sequence,
c be constant f be oldsh.n > holds
rng c = {lower_bound lim(h"(#)(f/*(h+c)-f/*c(|,x
(for n be Nat holds h.ncjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
h"(#)(f/*(h+c) - f (h)c
hence
ght_differentiable_in lower_bound I byA9,DIFF_3:ef3java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
fh be-zero - Real_Sequencejava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
c be constant Real_Sequence ^;
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 52
for n beNat holds h.n > 0) holds
lim (h"(#)(f/*(h+c) - f/*c)) = 0 by A10;
Rdifff,ower_bound I =0by A21,FDIFF_3:ef;
end;
A22: now assume
A23: sup I in I; then
24 sup I upper_bound I by Lm6;
consider e be Real such that
25&[upper_bound I-e,upper_bound I.] c= I by A23,A2,Lm15;
A26: e > 0 hence.n> by A7;
A27: for h be non-zero 0-convergentA13 "#(fI)*(1c - (|I)* convergent by A1,A5,A9,FDIFF_3:def 3;
c constant Real_Sequence st
rng c = {upper_bound I} & rng(h+c) c= dom f &
holdsn )
*(h+c)- f/*c) is convergent
& lim (h"(#)(f/*(h+c) - f/*c)) = 0
proof
let h A16: rng c c= f by A2,,A14 then
c java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 17
: java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
A29: rng(h+c) c= dom f and
for n be Nat holds h.n < 0;
A30:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
NbeNatstfor Natst < kholds
|. (h"(#)(f/*(h+c) - f/*c)).k - 0 .| < p
proof
letp ealjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
assume
A31: 0 < ;
takeN0;
hereby let k be Nat;
assume N < econsider =l(+M)as Element ofNAT NAT_1:1;
A32: rng c c= A22 dom(h1+) NAT &dom c= NAT& dom(h+c) FUNCT_2 1 then
A33: f/*c = f*c by A1,A23,A24,A28,ZFMISC_1:31,FUNCT_2:def 11;
A34: *(+)by ,:def ;
A35:dom+c =NAT &dom =NAT by FUNCT_2:def 1; then
k in dom(h+c) & k in dom c by ORDINAL1:def 12; then
k in dom(*(+)) &k in dom(f*c)
by A29,A1,A23,A24,A28,ZFMISC_1:31,RELAT_1:27; then
k in dom(f*(h+cA24: (1c)i1in rng(h1c . byA22,:3;
A36: k in dom(*(+c) f*c)by :;
c.k in rng c
by A35,ORDINAL1:def 12,FUNCT_1:3A27:(1". (h"^N)i1by :18 . (h".(+i1)byNAT_1:def 3;
f.((h+c).k) A28 f.(h+).l) = (f*h+c).l & f(c.) =(*c)l
A37: f.((h+c).k) = r & byA22,RDINAL1def 12,FUNCT_1:13;
=(h"). (*(+) -f).k by A33,A34,VALUED_1:5
.=(h".k *(f*(+c)).k - (f*c.k)by,13
.=
. h)k f(h)k)-f(.k))by,ORDINAL1def 12,UNCT_113;
hence |. (h"(#)(f/*(h+c) - f/*c)).k - 0 .| < p
by A37,A31,COMPLEX1:44;
end;
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
)i1*((|)(h+)i1) (|.c) ,1java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
hence lim(h"(#)(f/*(h+c) - f/*c)) = 0 by A30,SEQ_2:def 7;
end;
then
forh non-ero convergent Real_Sequence,
beconstant st
rngc=upper_boundI &rng(+c)c= dom f java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
( nbe holds .n <0 holds
convergent;
hence
fis_left_differentiable_in upper_bound I by A26,FDIFF_3def 4;
for java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 0
c be constant Real_Sequence st
rng c = {upper_bound I} & rng(h+c) c= dom f &
(for n be Nat holds h.n < 0) holds
lim (h"(#)(f/*(h+c)java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
5;
end
;
Jc= Lm13
A40: J c= dom fA3:domfI c=dom by :60; then
A41: dom(f|J) = J by RELAT_1:62;
java.lang.StringIndexOutOfBoundsException: Range [49, 7) out of bounds for length 60
let x be Real;
assume
A42: x inJ then
I < < I :;then
java.lang.StringIndexOutOfBoundsException: Range [23, 5) out of bounds for length 48
A43: x in Z & Z c= J:rng c = x} and
N be Neighbourhood of suchthat
A44:Nc=ZbyA43,RCOMP_1:18;
A45: N c= dom(f|J) by A41,A43,A44;
for hbe non- 0convergent Real_Sequence,
c be constant Real_Sequence st
rng c =rngh+c)c dom(|)holds
"(fJ/(c-f)*)is convergent
java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
let h be non-zero 0-convergent Real_Sequence,
c beA10: (f)*h+ (|I*(h1+c) byFUNCT_2:def 11;
assume that
rng ={x} and
A47: rng(h+c) c= dom(f|J)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
for p be Real st 0 < p
ex N be Nat st for k henceh1n< A7
|.(h"()(f|)/(h++c -(|J)*c)).k - 0 | <p
proof
let p be Real x-r <xbyA2,:44;then
assume
0 p;
take N = 0;
thus for k be Nat st N <= k holds
|J)*hc)-(|)*c))k-0.| <
proof
let k be Nat;
assume N <= k;
J) by A41,A42,A46,ZFMISC_131;
A50: (f| A13 ;
byA41ZFMISC_1:,java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 56
A51: dom(h+c) = NAT & dom java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
k in dom(h+c) & k in dom c by ORDINAL1:def 12; then
k in dom((f|J)*(h+c)) & kA21:for beNat M<=lholds
by ,41,42,,FMISC_1:,:27; then
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A52: assume < l;then
n (c & k rng
by A51,ORDINAL1:A22: dom(h1+c) = NAT & dom c &dom(+ byFUNCT_2def1 then
A54: (f|J).((h+c dom(|I*h1c))&i1 dom(f)*)byA9,15,:27;then
byA49,47FUNCT_1:47;
dom(|) c=dom by 60;then
f.((h+c).k) in rng f & f.A24 h1+)i1 (h1c) &c in c by A22,UNCT_1:;
k)= r&f.c.) r byA4,:def 1;
(h"(#)((f|J)/A26: ci1=c. by A22,FUNCT_1def 10java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
(h".k *(fJ*(+c)- (|)c.k by A50VALUED_1:5
.= (h").k * (((f|J)*(h+c)).k - ((f|J)*c).java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
. h")k*(f|)((+c.k -(fJc)k
by ,ORDINAL1:def FUNCT_113
.= (h").k * ((f|J).(( l dom*(+c) (*)byA25,6A16,:;then
,13
hence |. (h"(#A: indom /hc) - f/*c )by VALUED_1:12java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
by A48, (h1"#)(|I)(h1+c)- (f|*c).i1 by A10,A15,FUNCT_2:def 11
end;
end;
hence hence ".i1 *( (f|)(+c)i1 (f|)c). ) ,
hence | x byA45FDIFF_2;
end; then
f is_differentiable_on J by A40;
is_differentiable_on_intervalIby A1,A5,22;
thus for x be Real st x in I holds (f`\ .=(h"#)f/(+c-/c). by 5java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
proof
let x h"#(/(+)f*)isconvergent : 6
assume A57: x in I;
per cases;
(\)x by A56A5,A58D;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
suppose A59: x = sup letI Interval x Real;
x = upper_bound I by A57,Lm6;
hence (f`\I).x = 0 by A56,A22,A57,A59,Def2;
end;
suppose A60: x <> inf I & x <> sup I; then
A61: (f`\I).x = diff(f,x) by A56,A57,Def2;
inf I <= x <= sup I by A57,XXREAL_2:61,62; then
inf I < x < sup I by A60,XXREAL_0:1; then
consider Z be open Subset of REAL such that
A62: x in Z & Z c= ].inf I,sup I.[ by Lm9;
A63: Z c= dom f by A1,A62,A39; then
A64: f is_differentiable_on Z & for x be Real st x in Z holds (f`|Z).xA1:inf I< x <sup I; then
by A3,FDIFF_1:11;
(f`|Z).x = 0 by A62,A63,A3,java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 15
reconsider Z =] x1,+[as Subset ;
end;
end;
end;
theorem
f be PartFunc of REAL,,x0beReal
dom f c= left_open_halfline x0 & f is_Lcontinuous_in x0
holds f is_continuous_in x0
proof
let f be PartFunc of suppose supI <>+nfty;then
assume that
A1: dom f c= left_open_halfline x0 and
A2: f is_Lcontinuous_in x0;
thus in by A5,1,XREAL_1:4;
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 26
proof
assume that
A3: rng s c= dom f and
A4: s is convergent and
A5: lim s x0;
rng s c sup =+infty by XXREAL_0:3; then
=left_open_halflinex0 /\ dom f A3,XBOOLE_1:19;
hence f/*s java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 15
end;
hence f is_continuous_in:x<1java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
end;
theorem
for f be PartFunc of REAL,inf I < r < sup I by A8:XXREAL_1:;
dom f c= right_open_halfline x0 & f is_Rcontinuous_in x0
holds f is_continuous_in x0
proof
let f be PartFunc of REAL,REAL, reconsider s = IasReal by ,2XREAL_0:def ,XXREAL_014java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
assume take Z;
A1: dom f c= right_open_halfline java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 32
A2: f is_Rcontinuous_in x0 end;
for s be java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
f/sis convergent x0=(/)
let s be Real_Sequence
assume that
A3: rng s c= (x in ].inf I,sup java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 58
A4: s is convergent andhereby assume
A5: lim s = x0;
hence I c=dom f;
rng s c= right_open_halfline x0 /thus for Realst in
hence f/*s is convergent & f.x0 = lim( (x =I f| java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 60
end;
hence f is_continuous_in x0 by FCONT_1:def 1;
end;
begin :: Fundamental Properties
theorem
for f be PartFunc of REAL,REAL, I be non empty Interval st
I c= dom f & inf I < sup I & f|I = id I holds
f is_differentiable_on_interval I &
for x be Real st x in I holds (f`\I).x = 1
proof
let f be PartFunc of REAL,REAL, I be non empty Interval;
assume that
A1: I c= dom f and
A2: inf I < sup I and
A3: f|I = id I;
A4: for x be set st x in Iend;
proof
let java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 0
assumex I |is_right_differentiable_in
(f|I).x = f.x by FUNCT_1:49;
hence f.x =java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end;
A6: now assume
A7: inf inI
A8: inf I = lower_bound I by Lm5;
consider e be Real such that
A9:A13: <x+ by A11,REAL_1:29; then
A10: e > 0 & [.lower_bound I,lower_bound I+e.] c= dom f by xI by A12,9XXREAL_1:1;
A11: for h be non-zero 0-convergent Real_Sequence,
be Real_Sequencest
rng c = {lower_bound I} &A15 I implies f is_right_differentiable_in lower_boundjava.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 66
(for n be Nat holds h.n > 0) holds
h"(#)(f/*(h+c) - f/*c) is convergent
& lim (h"(#)end;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
let h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence;
assume that
A12: rng c = {lower_bound I} and
A13: rng(h+c) c= dom f and
A14: for n be Nat holds h.n > 0;
A15: inf I a1 < by A20X:4;
ex N be Nat st end;
|. (h"(#)(f/*(h+ .Is. Th2;
proof
;
assume
A16f|(].nf ,sup I.)is_differentiable_in java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
h is convergent & lim h = 0; then
consider N be Nat such that
A17: for m be Nat st N <= m holds |. h.m - 0 .| < e by A9,SEQ_2:def 7;
take N;
let beNat;
assume A18: N <= k;
h.k - 0 > 0 by A14; then
|. h.k r1 by :2;
A19: 0 < h.k < e by A17,A14,A18;
A20: rng c c= I by A7,A8,A12,ZFMISC_1:31;
A21 f/c =* ,A7A8AZ31FUNCT_2def 11;
A22: f inf I in A27X:;then
A23: dom(h+c) = NAT & dom c = NAT by FUNCT_2:def 1; then
k in dom(h+c) & k in dom c by ORDINAL1:def 12; then
k in dom(f*(h+c)) & k in dom(f*c)
by A13,A1,A7,A8,A12,ZFMISC_1:31,RELAT_1:27; A: iI < r1 < xby XREAL_15;
k in dom(f*java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A24: k in dom(f*(h+c)java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
A25: dom h = NAT by FUNCT_2:def 1; then
A26:A32: x r2 by:1;
A27: h.k in rng h by A25,ORDINAL1:def 12,FUNCT_1:3;
A28: (h+c).k sI >-by XXREAL_0:
A29: (h+c).k = h.k java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
c.k = lower_bound I by A28,A12,TARSKI:def 1; java.lang.StringIndexOutOfBoundsException: Range [7, 57) out of bounds for length 15
lower_bound I < (h+c).k < lower_bound I + e by A19end; then
,XREAL_1:8,29; then
(h+)k in .lower_bound I,ower_bound I+e.]byXXREAL_11;then
30: f.(h+c)k +) .k =kA4,,A20
b XXREAL_0,java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 40
=consider of x
.= (h"N =dom f = J by ,A39A; then
.= (h").k * (f.((h+c).k) - (f*c).k) by A23,ORDINAL1:def 12,FUNCT_1:13
.= (h").k Nc=dom / J :;then
.= (h").k * (h.k) by A25,A26,ORDINAL1:def 12,VALUED_1:13
. (h.k) h.)VALUED_110
.= 1 by A27,XCMPLX_0:def 7;
hence |. (h"(#)(f/*(h+c) - f/*c)).k - 1 .| < p
by A16,COMPLEX1:44;
end;
end;
hence h"(#)(f/*(h+c) - f/*c) is convergent by SEQ_2:def 6;
lim(()f*hc -f/c)= 1 ,:def 7;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
then
for h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
rng c = {lower_bound I} & rng(h+c) c= holds I iff f
(for n be Nat holds h.let f be PartFunc of REAL,REAL, I be non empty Interval;
"#)f*hc)-f/c) is convergent;
hence
A31: f is_right_differentiable_in lower_bound I by A10,FDIFF_3:def 3;
for h be non-zero 0-java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
c be constant Real_Sequence st
rng c = {is_differentiable_on_interval I;
h.n >0
lim (h"(#)(fjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
hence Rdiff(f,lower_bound I)java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
end;
A32: now assume
A33: sup I for I be non empty Interval st inf I in I holds
A34:sup Iby;
consider e be Real such that
I- I. =Iby ,
A36: e > 0 & [.upper_bound I-e,upper_bound I.] ci= a by ,28Xjava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 45
A37: for h be nonI isleft_open_intervalthen
c be constant Real_Sequence st
) c= dom java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
(for n be Nat holds h.n < 0) holds
h"(#)(f/*(h+c) - f/*c) is convergent
& lim (h"(#)(f/*(h+c) - f/*c)) = 1
proof
let h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence;
assume that
A38: rng ={upper_boundI and
A39: rng(h+c) c= dom f and
A40: for n be Nat holds h.n < 0;
java.lang.StringIndexOutOfBoundsException: Range [10, 3) out of bounds for length 29
ex N be Nat st for k be Nat st N <= k holds
|. (h"(#)(f/*(h+c) - f/*cL:
proof
let p be Real;
assume
A42:
h is convergent &: inf injava.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
consider N be Nat such that
:for be Nat <=m olds |: 7
take N;
hereby let k be Nat;
assume A44: N <= k;
h.- 0<0 ;then
.h.k -0. hk0 by ABSVALUE:
- h.k < e by A44,A43; then
A45: -e < h.k < 0 by A40, I = [.inf I,sup I.[ by MEASURE6
A46: rng c c= I by A33,A34,A38,java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 8
A47: f/*c = f*c by A1,A33,A34,A38,for I be non empty Interval st sup I in I & inf I < sup I
A48: f/*(h+c) = f*(h+c) by A39,FUNCT_2:def 11;
A49: dom(h+c) = NAT & dom c = NATlet be non java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 32
in dom(+)&k dom c by ORDINAL1def 12;then
in((+c indom(cjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
by A39,A1,A33,A34,A38,ZFMISC_1:31,RELAT_1:27 consider q Element of ExtREAL such that
k in A4: q in I & q sup byA2,XREAL_295;
java.lang.StringIndexOutOfBoundsException: Range [7, 3) out of bounds for length 47
A51: dom h = NAT by FUNCT_2:def 1; then
A52: h+c-c = h by A49,Th6;
A53: h.k in rng h by A51,ORDINAL1:def 12,FUNCT_1:3;
A54: (h+c).k in rng(h+c) & c.k in rng c by A49,ORDINAL1:def 12,FUNCT_1:3;
java.lang.StringIndexOutOfBoundsException: Range [17, 3) out of bounds for length 67
c.k = upper_bound I by A54,A38,TARSKI:def 1; then
upper_bound I-e < (h+c).k < upper_bound I by A45,A55, hence [.pper_boundI-e,pper_bound I.] c= I by A3,A6,XXREAL_1:39;
(h+c).k in [.upper_bound I-e,upper_bound I.] by XXREAL_1:1; then
A56: f.((h+c).k) = (h+c).k & f.(ce;
(h"#(*hc)-f/)k
= (h").k * (f*(h+c) - f*c).k by A47,A48,VALUED_1:5
.= (h").k * ((f*(h+c)).k - (f*c).
.= (h").k * (f.((h+c).k) - (f*c).k) by A49,ORDINAL1:def 12,FUNCT_1:13
.= (h").k * ((h+c).k - c.k) by A56,A49,ORDINAL1:def 12,FUNCT_1:13
.= (h").k * (h.k) byA3:ex be e> & . e.] c= dom by ,:def 3;
.= (h.k)" * (h.k) by VALUED_1:10
.= 1 by A53,XCMPLX_0:def 7;
.(h"#(/(h+ /*))k - 1 . <p
by A42,COMPLEX1:44;
end;
end;
hence h"(#)(f/*(h+c) nlet be non-ero 0- Real_Sequence c constantReal_Sequence
hence lim(h"(#)(f/*(h+A4: rng ={0}and
end;
then
for h be non-zero 0A7: "#(/(+)-f/c by ,A,: ;
c be constant Real_Sequence st
rng c = {upper_bound I} & rng c = {upper_bound I} & rng
(or n e holds h. holds
()f*h+ /*c) is convergent;
hence
A57: f is_left_differentiable_in upper_bound I by java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 12
for h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence st
rng c = {upper_bound I} & rng(h+c) c= dom f &
(for n be Nat holds h.n < 0) holds
lim (h"(#)(f/*(h+c) - A12: /(c (+c) &f/c = *
hence Ldiff(f,upper_bound I) = 1 by A57,FDIFF_3:def 5;
A13: dom(h+c) = NAT & dom c = NAT by FUNCT_2:def 1; then
set J = ].inf I,sup I.[;
A58: J c= I m in dom(f*((f*(h+c) & m dom(f*)
byA5,,A8,4ZFMISC_1:1,ELAT_1:27; then
java.lang.StringIndexOutOfBoundsException: Range [14, 3) out of bounds for length 32
A61: forh+). in (+c) & c.m in rng c
byA13,ORDINAL1: 12,UNCT_1:;then
let x be set;
assume A62: x in J;
java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
hence (f|J).x = x by A4,A62,A58;
;
for x be Real st x in J holds f|J is_differentiable_in x
proof
et xbe Realjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
assume
A63: x J
inf I < x < sup I by XXREAL_1:4; then
consider Z be open Subset of REAL such that
A64: x in Z & Z c= J by Lm9;
consider N be Neighbourhood of x such that
A65: N c= Z by A64,RCOMP_1:18;
A66: N = dom(|J)by A60,64A65;
for h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence letfbe PartFunc of REAL,REAL, x0,r be Real;
rng c = {} & rng(h+)c= dom(fJ holds
"()((|)*(h+c)(|)/*c)is
proof
let h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence;
assume that
A67: rng c =for h -zero0- , c
: rng(+) c= dom(|J)
for p Real st 0<p
ex N be Nat st for k be Nat st N <= k holds
|. (h"(#)((f|J)/*(h+c) - (f|J)/*c)).k - proof
proof
Real
assume
A69: 0 < p;
take N = 0;
thus for k be Nat st N <= k holds
| ("(#((f|J)*(h+c) -(f|J)/*c). - 1.| <p
proof
let k be Nat;
assume N <= k;
A70: rng c c= dom(f|J) by A60,A63,A67,java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 0
A71: (f|J)/*(h+c) = (f|J)*(h+c) & (f|J)/*c = (f|J)*c
by A68,A60,A63,A67,ZFMISC_1:31,FUNCT_2:def 11;
A72: dom(h+c) = NAT & dom c A9: < p;
k in dom(h+c) & k in dom c by ORDINAL1:def 12; then
k in dom((f|J)*(h+c)) & k in dom((f|J)*c)
by A68,A60,A63,A67,ZFMISC_1:31,RELAT_1: by A68,A60,A63,A67,ZFMISC_1:31,RELAT_1:27
k in dom((f|J)*(h+c)) /\ dom((f|J)*c) by XBOOLE_0:def 4; then
A73: k in dom((f|J)*(h+c) - (f|J)*c) by VALUED_1:12;
(h+c).k in rng(h+c) & c.k in rng c
by A72,ORDINAL1: by A5,A10,A8,A4,ZFMI:31,FUNCT_2: 11;
A74: (f|J).((h+c).k) = (h+c).k & (f|J).(c.k) = c.k by A60,A61,A70,A68;
A75: dom h = NAT by FUNCT_2:def 1; then
java.lang.StringIndexOutOfBoundsException: Range [27, 3) out of bounds for length 30
A77:h.k rng h A75,RDINAL1:def ,FUNCT_1:3;
(h"(#)((f|J)/*(h+c) - (f|J)/*c)).k
= (h").k * ((f|J)*(h+c) - (f|J)*c).k by A71,VALUED_1:5
((f|J. by A73,VALUED_1:13
.= (h").k * ((f|J).(
A72,ORDINAL1:def 12,A72,ORDINAL1:def 12,FUNCT_1:13
.= (h").k * ((h+c).k - c.k) by A74,A72,ORDINAL1:def y ,:12,java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 47
.= (h").k * (h.k) by A75,A76,ORDINAL1:def 12,VALUED_1:13
.= (h.k)" * (h.k) by VALUED_1:10
.= 1 by A77,XCMPLX_0:def 7;
java.lang.StringIndexOutOfBoundsException: Range [47, 13) out of bounds for length 62
by A69,COMPLEX1:44;
end;
end;
java.lang.StringIndexOutOfBoundsException: Range [54, 11) out of bounds for length 70
end;
hence f|J is_differentiable_in x by A66,FDIFF_2:11;
end;then
f is_differentiable_on J by A59;
hence
A78: f is_differentiable_on_intervalhence lim ("()(/*h+)-f/c) =0by ,SEQ_2:def 7;
end;
let x beend;
assume A79: x in I;
per cases;
suppose A80: x = inf I; then
x=lower_bound I by A79,Lm5;
hence (f`\I).x = 1 by A6,A78,A79,A80,Def2;
end;
suppose A81: x = sup I; then
x = upper_bound I by A79,Lm6;
hence (f`\I).x = 1 by A78,A79,A81,A32,Def2;
end;
suppose : x< inf I & x<>sup I; then
A83: (f`\I).x = diff(f,x) by A78,A79,Def2;
inf I <= x <= sup I by A79,XXREAL_2:61,62; then
inf I < x < sup I by A82,XXREAL_0:1; then
consider Z be open Subset of REAL such that
A84:x ZZ & Z c=]inf I,up I. Lm9;
A85:Zc dom f by A1,58A84;then
A86: dom(f|Z) = dom (id Z) by RELAT_1:62;
for p be Element of REAL st p in dom(f|Z
proof
let p be Element of REAL;
assume
A87: p in dom(f|Z); thenA8: e > 0 &[.ower_bound I,lower_bound I+e.] c= I by A6,A2,Lm14;
A88: p in dom f & p in Z by RELAT_1:57A9:e 0 &.lower_bound I,ower_boundIe.c= dom f by A8,A1;
Z c= I A10: for h be n-zero0convergent Real_Sequence,
(f|I)|Z = f|Z by RELAT_1:74; then
(|). = (|).p by A87,FUNCT_1:49
.= p by A3,A88,A84,A58,FUNCT_1:18;
hence thesis by A87,FUNCT_1:18;
end; then
A89: f|Z = id Z by A86,PARTFUN1:5; then
A90: f is_differentiable_on Z & for x belet be non-ero -convergentReal_Sequence,
by A85,FDIFF_1:17;
(f`|Z).x = 1 by A84,A89,A85,FDIFF_1:17;
hence (f`\I).x = 1 by A83,A84,A90,FDIFF_1:def 7;
end;
end;
end;
theorem
for f1,f2 be PartFunc of REAL,REAL, I be non empty Interval st
I c= dom(f1+f2) & f1 is_differentiable_on_interval I &
f2 is_differentiable_on_interval I holds
f1+f2 is_differentiable_on_interval I &
(f1+f2)`\I = f1`\I + f2`\I &
for x be Real st x in I holds ((f1+f2)`\I).x = (f1`\java.lang.StringIndexOutOfBoundsException: Range [0, 55) out of bounds for length 14
let f1,f2 be PartFunc of REAL,REAL, I be non empty Interval;
assume that
A1:
A2: f1 A16: f/*c = f*c by A1,A6,A7,A11,ZFMISC_1:31,FUNCT_2:def 11;
A3: f2 is_differentiable_on_interval I;
set J = ].inf I,sup I.[;
J c= I by Lm13; then
A4: J c= dom (f1+f2) by A1;
A5: for x beReal st x in J holds (f1+f2)|J is_differentiable_in x
proof
let x be Real;
assume x in J; then
f1| is_differentiable_in x & f2|J is_differentiable_in x
by A2,A3,FDIFF_1:def 6; then
f1|J + f2|J is_differentiable_in x by FDIFF_1:13;
hence (f1+f2)|J (h+c).k in rng(+)&c. rng c
ndjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
hence
f1+f2 +f2f2 is_differentiable_on_interval java.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
by A1,A2,A3,A4,FDIFF_1:def 6,FDIFF_3:10,("#(/hc -/*c))java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
A7: dom((f1+f2)`\I) = I by .= (h").k * ((f*(h+c)).-(*c)k A19V:13
(f1`\I) I (2\)=I by A2,A3,Def2;then
A8: dom(f1`\I+f2`\I) = I /\ I by VALUED_1:def 1;
A9: for x hence | h()f*h+)-f/*)k - 0 .| p
((f1+f2)`\I).x = (f1`\I + f2`\I).x
end
assume A10: x in dom((f1+f2)`\I); then
A11: x in I by A6,Def2;
per c be cons st
suppose
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 22
A13: inf I = lower_bound I byjava.lang.StringIndexOutOfBoundsException: Range [5, 1) out of bounds for length 10
(f1`\I).x = Rdiff(f1,x) & (f2`\I).x = Rdiff(f2,x) &
((f1+f2)`\I).x = Rdiff(f1+f2,x) by A2,A3,A6,A11,A12,Def2; then
((f1+f2)`\I).x = (f1`\I).x + (f2`\I).x
by A10,A6,Def2,A12,A13,A2,A3,FDIFF_3:16;
hence ((f1+f2)`\I).x = (f1`\I + f2`\I).x by A7,A8,A10,VALUED_1:def 1;
end;
suppose
A14: x = sup I; then
A15: sup I = upper_bound I by A11,Lm6;
(f1`\I).x = Ldiff(f1,x) & (f2`\I).x = Ldiff(f2,x) rng c ={lower_boundI hc =dom java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
((f1+f2)`\I).x = Ldiff(f1+f2,x) by A2,A3,A6,A11,A14,Def2; then
((f1+f2)`\I).x = (f1`\I).x + (f2`\I).x
by A10,A6,Def2,A14,A15,A2,A3,FDIFF_3:10;
hence ((f1+java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 0
end;
suppose
A16: x <> infe beRealsuchthat
A17:(1\)x difff,
((f1+f2)`\I).x = diff(f1+f2,x) by A16,A11,A2,A3,A6,Def2;
inf I
A18: inf I < x< sup I y A16,XXREAL_0:1;
consider Z be open Subset of REAL such that
A19: x in Z & Z c= ].inf I,sup I.[ by A18,Lm9;
_ Z is_differentiable_onZ java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
f1+f2 is_differentiable_on Z by 0
((f1+f2)`|Z).x = diff(f1,x) + diff(f2,x) by A19,FDIFF_1:18; then
((f1+f2)`\I).x = c be Real_Sequencejava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
hence ((f1+A: c ={upper_bound I} and
end;
end;
hence (f1+f2)`\I = f1`\I + f2`\I by A7,A8,PARTFUN1:5;
hereby let x ex beNatst for be Nat N= k holds
A21: x in I; then
((f1+f2)`\I).x = (f1`\I + f2`\I).x by A7,A9;
A31: 0 < p;
end;
end;
theorem
for f1,f2 be PartFuncA32: rng c =dom by A1,A23A24A28,ZFMISC_1:31;
I c= dom(f1-f2) & f1 is_differentiable_on_interval I &
is_differentiable_on_interval holds
f1-f2 is_differentiable_on_interval I&
(f1-f2)`\I = f1`\I - f2`\I &
for x be Real java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 59
of,,Ijava.lang.StringIndexOutOfBoundsException: Range [44, 42) out of bounds for length 64
assume that
A1:I c=domf1f2)
A2: f1 is_differentiable_on_interval
A3: f2 is_differentiable_on_interval I;
reconsider J = ].inf I,sup I.[ as open Subset of REAL by Th2;
J c= I by Th2; then
A4: J c=("#(*hc) f/c)k
A5: for x be Real st x in J holds (f1-f2)|J is_differentiable_in x
proof
let x be Real;
assume x in J; then
f1| is_differentiable_in x & f2|J is_differentiable_in x
by A2,A3,FDIFF_1:def 6; then
f1|J - f2|J is_differentiable_in x by FDIFF_1:14;
hence (f1-f2)|J is_differentiable_in x by RFUNCT_1:47;
end;
hence
A6: f1-f2 is_differentiable_on_interval I
by A1,A4,A2,A3,FDIFF_3:11,17,FDIFF_1:def 6; then
A7: dom(((or Natholds h.n 0) holds
(1`\I) = I & dom(f2`\)=I ,3Def2;then
A8java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A9: for x be Element of REAL st x in dom((f1-f2)`\I) holds
((f1-f2)`\I).x = (f1`\I - f2`\I).x
proof
x be Elementof REAL;
assume A10: x in dom((f1-f2)`\I); then
A11: x in I by A6,Def2 lim(h"#(/(+)-f/*c)) = 0 by A27;
per cases;
suppose
A12: x = inf I; then
A13: inf I = lower_bound I by A11,Lm5;
(f1`\I).x = Rdiff(f1,x) & (f2`\I).x = Rdiff(f2,x) &
((f1-f2)`\I).x = Rdiff(f1-f2,x) by A2,A3,A6,A11,A12,Def2; then
((f1-f2)`\I).x = (f1`\I).x - (f2`\I).x
by A10,A6,Def2,A12,A13,A2,A3,FDIFF_3:17;
hence ((f1-f2)`\I).x = (f1`\I - f2`\I).x by A7,A8,A10,VALUED_1:13;
end;
suppose
A14: x = sup I; then
A15: sup I = upper_bound I by A11,Lm6;
(f1`\I).x = Ldiff(f1,x) & (f2`\I).x = Ldiff(f2,x) &
((f1-f2)`\I).x = Ldiff(f1-f2,x) by A2,A3,A6,A11,A14,Def2; then
((f1-f2)`\I).x = (f1`\I).x - (f2`\I).x
by A10,A6,Def2,A14,A15,A2,A3,FDIFF_3:11;
hence (f1-)\)x (1`\I -f2`\I)xby A7,,A10,VALUED_1:13;
end;
suppose
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
A17: (f1`\I).x = diffA39:J =I by Lm13; hen
(f1-f2)`I).x = diff(f1-2x) by A16,11,A2,3,6,Def2;
inf I <
A18: inf I < x < sup I by A16,XXREAL_0:1; then
A19: x in J by XXREAL_1:4;
java.lang.StringIndexOutOfBoundsException: Range [11, 3) out of bounds for length 46
byA3A4,,FDIFF_1:XXREAL_14;
f1 is_differentiable_on J f REAL such that
f1-2is_differentiable_on by A2,A3,A5,A4; then
((f1-f2)`\I).x = (f1`\I).x - (f2`\I).x by A17,A19,A20,FDIFF_1:def 7;
hence ((f1-f2)`\I).x = (f1`\I - f2`\I).x by A7,A8,A10,VALUED_1:13;
end;
end;
hence (f1-f2)`\I = f1`\I - f2`\I by A7,A8,PARTFUN1:5;
hereby let x be Real;
assume
A21: x in I; then
((f1-f2)`\I).x = (f1`\I - f2`\I).x by A7,A9;
(f2)I)x `I. f`I)x ,,13;
end;
end;
Lm16:
for f be PartFunc of REAL,REAL, x0 java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 17
fjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 38
0(#)f for p be Realst0<p
let f be PartFunc of ,EAL, x0 be Realjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
assume f is_right_differentiable_inx0; then
consider e java.lang.StringIndexOutOfBoundsException: Range [7, 17) out of bounds for length 13
A1: e > 0 & [.x0,x0+e.] c= dom f by FDIFF_3:take =0
A2: x0 < x0+e by A1,XREAL_1:29; then
A3:x0 in .x0,+. XXREAL_1:1;
reconsider I = [.x0,x0+e.] as non empty closed_interval Subset of REAL
by A2,XXREAL_1:1,MEASURE5:def 3;
A4: inf I = x0 & sup I = x0+e by A2,XXREAL_2:25,29;
now let r be Real;
assume r in rng(0(#)f); then
consider x be Element of REAL such that
A5 x in dom(0(#)f) & r = (0(#)f).x by PARTFUN1:3;
(0(#)f).x = 0 * f.x by A5,VALUED_1 k in hc in ORDINAL1d12then
hence r in {0} by A5,TARSKI:def 1;
end; then
A6: rng(0(#)f) c= {0};
A7: I c= dom(0(#)f) by A1,VALUED_1:def 5; then
dom(0(#)f) <> {}; then
A8: rng(0(#)f) = {0} by A6,RELAT_1:42,ZFMISC_1:33; then
A9: 0(#)f is_differentiable_on_interval I by A7,A2,A4,Th15;
hence 0(#)f is_right_differentiable_in x0 by A4,XXREAL_1:1,Lm5;
A10: for x be Real st x in I holds ((0(#)f)`\I).x = 0 by A2,A4,A8,A7,Th15;
((0(#)f)`\I).x0 = Rdiff(0(#)f,x0) by A3,A4,A9,Def2;
hence Rdiff(0(#)f,x0) = 0 by A10,A2,XXREAL_1:1;
end;
Lm17:
for f be PartFunc of REAL,REAL, x0 be Real st
f is_left_differentiable_in x0 holds
0(#)f is_left_differentiable_in x0 & Ldiff(0(#)f,x0) = 0
proof
let f be PartFunc of REAL,REAL, x0 be Real;
assume f is_left_differentiable_in x0; then
consider e be Real such that
A1: e > 0 & [.x0-e,x0.] c= dom f by FDIFF_3:def 4;
A2: x0-e < x0 by A1,XREAL_1:44; then
A3: x0 in [.x0-e,x0.] by XXREAL_1:1;
reconsider I = [.x0-e,x0.] as non empty closed_interval Subset of REAL
by A2,XXREAL_1:1,MEASURE5:def 3;
A4: inf I = x0-e & sup I = x0 by A2,XXREAL_2:25,29;
now let r be Real;
assume r in rng(0(#)f); then
consider x be Element of REAL such that
A5: x in dom(0(#)f) & r = (0(#)f).x by PARTFUN1:3;
(0(#)f).x = 0 * f.x by A5,VALUED_1:def 5;
hence r in {0} by A5,TARSKI:def 1;
end; then
A6: rng(0(#)f) c= {0};
A7: I c= dom(0(#)f) by A1,VALUED_1:def 5; then
dom(0(#)f) <> {}; then
A8: rng(0(#)f) = {0} by A6,ZFMISC_1:33,RELAT_1:42; then
A9: 0(#)f is_differentiable_on_interval I by A7,A2,A4,Th15;
hence 0(#)f is_left_differentiable_in x0 by A4,XXREAL_1:1,Lm6;
A10: for x be Real st x in I holds ((0(#)f)`\I).x = 0 by A2,A4,A8,A7,Th15;
((0(#)f)`\I).x0 = Ldiff(0(#)f,x0) by A3,A4,A9,Def2;
hence Ldiff(0(#)f,x0) = 0 by A10,A2,XXREAL_1:1;
end;
Lm18:
for f be PartFunc of REAL,REAL, x0,r be Real st
r <> 0 & f is_right_differentiable_in x0 holds
r(#)f is_right_differentiable_in x0 & Rdiff(r(#)f,x0) = r * Rdiff(f,x0)
proof
let f be PartFunc of REAL,REAL, x0,r be Real;
assume that
A1: r <> 0 and
A2: f is_right_differentiable_in x0;
set v = |.r.|;
A3: v > 0 by A1,COMPLEX1:47;
A4: dom f = dom(r(#)f) by VALUED_1:def 5; then
A5: ex e be Real st e > 0 & [.x0,x0+e.] c= dom(r(#)f) by A2,FDIFF_3:def 3;
consider e be Real such that
A6: e > 0 & [.x0,x0+e.] c= dom f by A2,FDIFF_3:def 3;
A7: for h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence st
rng c = {x0} & rng(h+c) c= dom(r(#)f) &
(for n be Nat holds h.n > 0) holds
h"(#)((r(#)f)/*(h+c) - (r(|)(+))&k in (fJ*)
& lim(h"(#)((r(#)f)/*(h+c) - (r(#)f)/*c)) = r*Rdiff(f,x0)
proof
let h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequencejava.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
assume that
A8: rng c = {x0java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
A9: rng(h+c) c= dom(r(#)f) and
A10: for n be holds h. 0
A11: h"(#)(f/*(h+c) - f/*c) is convergent by A2,A4,A8,A9,A10,FDIFF_3:def 3;
A12: lim (h"(#)(f/*(h+c) - java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
by A2,A4,A8,A9,A10,FDIFF_3:15 rng byA53,A47,UNCT_13
A13: for p be Real st 0 < p ex n be Nat st for m be Nat st n <= m holds
("#(r#f/*c - (r())*). rRf,).| java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
proof
let p be Real;
assume 0 < p; then
p/v > 0 by A3,XREAL_1:139; then
consider n be Nat such that
m be Nat st n <= holds
.h"()/*hc)-f/*). (f). </v
Sdef7;
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
thus for m be Nat st n <= m holds
|.(h"(#)((r(#)f)/*(h+c) - (r(#)f)/*c)).m - r*Rdiff(f,x0).| < p
let m be Nat;
assume n <= m; then
.h(#)f/(h+ /c)). -Rdiff(,). <p/ A14;then
A15: v * |.(h"(#)(f/*(h+c)-f/*c)).m - Rdiff(f,x0).| < p
by A1,COMPLEX1:47,XREAL_1:79;
A16: v * |.(h"(#)(f/*(h+c)-f/*c)).m - Rdiff(f,x0).|
= |. r*((h"(#)(f/*(h+c)-f/*c)).m - Rdiff(f,x0)) .| by COMPLEX1:65
.= |. rhencef\)x A56,A5,A57A,java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
A17: dom(r(#)(h"(#)(f/*(h java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
x0 < x0+e by A6,inf I <= x <= sup I by A57,XXREAL_2:61,62; then
[,x0+] by XXREAL_1:1; then
rng(h+c) c= dom f & rng c c= dom f
by A8,A9,A6,VALUED_1:def 5,ZFMISC_1:31; then
A18: r(#)A64: is_differentiable_on &x Real st x in h f|)x = 0
by RFUNCT_2:9 by ,DIFF_111
r(#)(h"(#)(f/*(h+c)-f/*c))
(f`I). by ,62A,FDIFF_1:def 7;
.= h"(#)((r(#
hence thesis by A15,A16,A17,java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 0
end;
hence letf be of REAL,,be Real;
hence lim (h"(#)((r(#)f)/*(h+c) - (r(#)f)/*c)) = r*Rdiff(f,x0)
by A13,SEQ_2:def 7;
;
for h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence st
c=dom(r(#f) &
(for n be Nat holds h.n > 0) holds
h"(#)((r(#)f)/*(h+c) - (r(#)f)/*c) is convergent;
hence
A19: r(#)f is_right_differentiable_in x0 by A5,FDIFF_3:def 3;
for h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence st
rng c = {x0} & rng(h+c) c= dom(r(#)f) &
(for n be Nat holds h.n > 0) holds
lim(h"(#)((r(#)f)/*(athat
#),0)= * (x0 A19F: ;
end;
Lm19:
for f be PartFunc of REAL,REAL, x0,r be Real st
r <> 0 & f is_left_differentiable_in x0 holds
r(#)f is_left_differentiable_in x0 & Ldiff(r(#)f,x0) = r * Ldiff(f,x0)
proof
let f be PartFunc of REAL,REAL, x0,r be Real;
assume java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
A1: r <> 0 and
A2: f is_left_differentiable_in x0;
set
3: A1C;
A4: dom f = dom(r(#)f) by VALUED_1:def 5 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 28
A5: ex e be Real st e > 0 & [.x0-e,x0.] c=A5 s
s = /f :;
java.lang.StringIndexOutOfBoundsException: Range [23, 2) out of bounds for length 54
A7: for h be non-zero 0-convergent Real_Sequence,
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
rng c = {x0} & rng(h+c) c= dom(r(#)f) &
(for n be Nat holds h.n < 0) holds
h"(#)((r(#)f)/*(h+c) - (r(#)f)/*c) is convergent
& lim(h"(#)((r(#)f)/*( f is_differentiable_on_inI java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
proof
let h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence;: c= dom and
assume that
A8: rng c = {x0} and
A9: rng+c)c= dom(#f
A10: for n be Nat holds h.n < 0;
A11*c convergent A2,4,A8,9,,DIFF_3def java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
A12: lim (h"(#)(f/*(h+c) - f/*c)) = Ldiff(java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 8
by A2,A4,A8,A9,A10 I
A13: for p be Real st 0 < p ex n be Nat st A9: e > 0 & [.lower_bound I,lower_bound I+e.] c= I by A7,A2,Lm14;
|.(h"(#)( 0&[. +e]c= A9
proof
java.lang.StringIndexOutOfBoundsException: Range [20, 10) out of bounds for length 21
assume 0 < p; then
p/v > 0 by A3 ")h)-*)
consider n be Nat such that
A14: for m be Nat
|.(h"(#)(f/*(h+c) - f/*c)).m - A12 rng java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 34
by A11,A12,SEQ_2:def 7;
take n;
thus for m be Nat A15: for p be Real st 0 < p
|("#((#f)*h+) r#f/c)m Ldiff(f,.
java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
let m belet p Real;
assume n <= m; then
|.(h"(#)(f/*(h+c) - f/*c)).m - Ldiff(f,x0).| < p/v by A14h is convergent &lim h=0 then
A15: v * |.(h"(#)(f/*(h+c)-f/*c)).m - Ldiff(f,x0< e by ,EQ_2:def 7;
by A1,COMPLEX1:47,java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 14
A16: v * |.(h"(#)(f/*(h+c)-f/*c)).m - Ldiff(f,x0).|
= |. r*((h"(#)(f/*(h+| . - 0 .| = h.k - 0 by COMPLEX1:3 then
.= |. r*(h"(#)(f/*(h+c)-f/*c)).m - r*Ldiff(f,x0)
A17: dom(r(#)(h"(#)(f/*(h+c)-f/*c))) = NAT by FUNCT_2:def 1;
x0-e < java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
x0 (c) c by :12
rng(h+c) c= dom by A13,A1,A7,A8,ZFMISC_131,ELAT_1:;then
by A8,9,6VALUED_1def5ZFMISC_131 hen
r#(*hc) == r#f)*hc #(*)=(())*c
by RFUNCT_2:
r(#)(h"(#)(f/*(h+c)-f/*c))
= h"(#)(r(#)(f/*
.= h"(#)((r(#)f)/*(h+c) - (r(#)f)/*c) by A18,RFUNCT_1:18;
henceby,,java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 67
end;
end;
hence h"(#)((r(#)f)/*(h+c) - (r(#)f)/*c) is convergent by java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 19
hence lim (h"(#)((r(#)f)/*(h+c)A30: f.((h+c).k) = (h+c).k & f.(c.k) = c.k by A4,A28,A9,A20;
by A13,SEQ_2:java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
end; then
for h be non-zero 0-convergent Real_Sequence,
java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 77
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 44
(for n be Nat holds h.n < 0) holds
h"(#)((r(#)f)/*(h+c) - (r(#)f)/*c) is convergent;
hence
A19: r(#)f is_left_differentiable_in x0 by A5,FDIFF_3:def 4;
end;
c be constant Real_Sequence st
rng c = {x0} & rng(h+c) c= dom(r(#)f) &
(for n be Nat holds h.n < 0) holds
lim(h"(#)((r(#)f)/*(h+c) - (r(#)f)/*c)) = r*Ldiff(f,x0) by A7;
hence Ldiff(r(#)f,x0) = c be constant Real_Sequst
end;
theorem Th21:
for PartFunc of REAL,REAL, x0, r be Real st
f is_right_differentiable_in x0 holds
r(#)f is_right_differentiable_in x0 & Rdiff(r(#)f,x0) = r*Rdiff(f,x0)
proof
let f be PartFunc of REAL,REAL, x0, r be Real;
assume A1: f is_right_differentiable_in x0; then
r = 0 implies
r(#)f (lower_bound A31: 6
Rdiff(r(#)f,x0) = r*Rdiff(f,x0) by Lm16;
hence thesis by A1,Lm18;
end;
theorem Th22:
for f be PartFunc of REAL,REAL, x0, r be Real st
f is_left_differentiable_in x0 holds
(fjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 70
proof
let f be PartFunc of REAL,REAL, h be non-zero 0-convergent Real_Sequence- 0convergent Real_Sequence
assume A1: f is_left_differentiable_in x0; then
=I java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
r(#)f is_left_differentiable_in x0 &
r#)f,0 Ldiff)java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 46
hence thesis by A1,Lm19;
;
theorem
for f be PartFunc of REAL,REAL, I be non empty Interval, r be Real st
holds
#f I &
(r(#)f)`\I
for x be Real st x in I holds ((r(#)java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 27
proof
let f be PartFunc of REAL,REAL, I be non empty Interval,|.k |=- (k 30
assume
A1: f is_differentiable_on_interval I; then
A2: I c= dom(r(#)f) by A46: rng c c= I by A33,A34,A38,ZFMISC_1:31;
A3: f is_differentiable_on ].inf I,sup I.[ by A1;
for x be Real st x in ].inf I,sup I.[ holds
(r(#)f)|(].inf I,sup I.[) is_differentiable_in x
k domf() java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 41
let x be Real;
assume x in ].inf I,sup I.[; then
f|(].inf I,sup I.[) is_differentiable_in x by A3; then
r(#)(f|(].inf I,sup I.[)) is_differentiable_in x by FDIFF_1
hence (r(#)f)|(].inf I,sup I.[) is_differentiable_in x by RFUNCT_1:49;
end; then
r(#A53: h. in rngh by A51,ORDINAL1: 12F:java.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
henceA54: (+c). in rng(+c) & c.k in rng c A49O:ef 12,:3java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
A4:A55: h+)k = h.k ckby ,: 12,VALUED_1:ef 1;
y A1,h21,,ALUED_1:def 5; then
A5: dom((r(#)f)`\I) = I by Def2;
dom(f`\I) = I by A1,Def2; then
6: dom(r()f`\) =Iby VALUED_1:def 5;
be REALstx (r#f`
((r(#)f)`\I).x = (r(#)(f`.
proof
let x be Element of REAL;
assume A8: x in dom((r(#)f)`\I); then
A9: x in I by A4,Def2;
per cases;
suppose
A10: x = inf I; then
A11: inf I = lower_bound I by A9,Lm5;
A12: (f`\I).x = Rdiff(f,x) by A1,A9,A10,Def2;
((r(#)f)`\I).x = Rdiff(r(#)f,x) by hence h")f/*(+) *) SEQ_2def
())\.x *f\. A,,,,java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
(#f)I) r#(\).byA6A,d5java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
end;
suppose
I; then
A14: sup I = upper_bound I by A9,Lm6;
A15: (f`\I).java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 0
A4,9,A13,Def2; then
((r(#)f)`\I).x = r*(f`\I).x by A1,A8,A4,Def2,A13,A14,A15,Th22;
(#)`I. r()f\I)x A5A,,java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 71
end;
suppose
A16: x <> inf I &A58:J = I by Lm13; then
A17: (f`\I).x = diff(f,x) & ((r(#)fA59: J = dom by A1;then
by A1,A4,A9,Def2;
reconsider:for x Jholds(|)x=java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
J c= I by Th2; then
A18: J c= dom(r(#)f) by A2; then
A19: r(#)f is_differentiable_on J by A1,FDIFF_1:20;
I = x < by A9,:1,;then
A20: inf Iproof
x in J by XXREAL_1:4; then
((#)f`|J).x =diff(r(),)&(`J)x=diff(f,java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
A19,DIFF_1:def 7; then
((r(#)f)`\I).x = r*(f`\I). inf I < x < sup I by XXREAL_ <<sup Iby :4
hence ((r(#)f)`\I).x = (r(#)(f`\I)).x by A5,A6,A8,VALUED_1:def 5;
end;
end;
hence (r(#)f)`\I = r(#)(f`\I) by A5,A6,PARTFUN1:5;
hereby let x be Real;
assume
A21: x in I; then
((r(#)f)`\I).x = (r(#)(f`\I)).x by A5,A7;
hence ((r(#)f)`\I).x = r* h(#)((J)/(+)(|)* convergent
end;
end;
theorem
for f1,f2 be PartFunc of REAL,REAL, I be non empty Interval st
f1 java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
holds
f1(#)f2 is_differentiable_on_interval I &
(f1(#)f2)`\I = f2(#)(f1`\I) + f1(#)(f2`\I) &
for x be Real st x in I holds
((f1(#)f2)`\I).x = (f2.x)*(f1`\I).x + (f1.x)*(f2`\I).x
proof
let f1,f2 be PartFunc of REAL,REAL, I be non empty Interval;
assume that
A1: f1 is_differentiable_on_interval I and
:f2 I;
reconsider J = ].inf I,sup I.[ as open Subset of REAL by Th2;
A3: J c= I by Th2;
A4: I c= dom f1 /\ dom f2 by A1,A2,XBOOLE_1:19; then
I =dom(#)2)by VALUED_1:def ;then
c (f1(f)by ;
hence
A5: f1(#)f2 is_differentiable_on_interval I
by A4,A1,A2,FDIFF_1:21,FDIFF_3:18,12,VALUED_1:def 4; then
A6: dom((f1(#)f2)`\I) = I by Def2;
A7: dom(f1`\I) = I & dom(f2`\I) = I by A1,A2,Def2;
dom f1 /\ dom(f2`\I) = I & dom f2 /\ dom(f1`\I) = I
by A1,A2,A7,XBOOLE_1:28; then
A8: dom(f1(#)(f2`\I)) = I & dom(f2(#)(f1`\I)) = I by VALUED_1:def 4; then
java.lang.StringIndexOutOfBoundsException: Range [43, 2) out of bounds for length 62
A10: for x be Element of REAL st x in dom((f1(#)f2)`\I) holds
(f1()f2)\. f2()f1`\)+f1()f2`I).java.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
proof
let be Element ofREAL;
ume x in dom((f1(#)2)`\I); then
A11: x in I by A5,Def2;
per cases;
suppose
A13: ((f1(#)f2)`\I).x = Rdiff(f1(. (h"). (.k) by A75,A76,ORDINAL1:ef 12,VALUED_1:13
(f2`\I).x = Rdiff(f2,x) by A1,A2,A5,A11,java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 40
f1 is_right_differentiable_in x &
f2 is_right_differentiable_inend
((f1(#)f2)`\I).x = (f2.x)*(f1`\I).x + (f1.x)*(f2`\I).x
by A13,FDIFF_3:18; then
((f1(#)f2)`\I).x = (f2(#)(f1`\I)).x + (f1.x)*(f2`\I).x
by A11,V: 4
((f1(#)f2)`\I).x = (f2(#)(f1`\I)).x + (f1(#)(f2`\I)).xA78: f is_differentiable_on_interval Iby A1,A2,6,32java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
hence ((f1(#)f2)`\I).x = (f2(#)( A79:xin I;
by A11,A9,VALUED_1:def 1;
end;
suppose
A14: x = sup I; then
#f2,x) &(f1`I)x=Ldiff(f1,)java.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69
( (f2
erentiable_in x &
f2 is_left_differentiable_in x by A1,A2,A11,A14,Lm6; then
((f1(#)f2)`\I).x = (f2suppose : x < infI >sup ; then
A15:2
((f1(#)f2)`\I).x = (f2()f1`I)).x f1.)f`I.x
:def 4;then
(#f2)`\)x = (f2#(f1`\I)).x + (f1(#)(f2`\I)).x
by A11,A8,VALUED_1:def 4;
hence ((f1(#)f2)`\I).x = (f2(#)(f1`\I) + f1(#)(f2`\I)).x
by A11A86:dom|Z)=dom( Z)by RELAT_162;
supposeproof
x in J by A11,Th3; then
A17: f1 is_differentiable_in x & f2 is_differentiable_in: in dom(|Z); then
by A1,A2,FDIFF_1:9;
(f1 Z =I by A84,58 then
((f1(#)f2)`\I).x = diff(f1(#)f2,x) by A1,A2,A5,A11,A16,Def2; then
((f1(#)f2)`\I).x = (f2.x)*(f1`\I).x + . by ,88,A84,58,UNCT_118java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
: Z = id A86,PARTFUN15 then
*(f2`\I).
,A8,ALUED_1def4;then
(1(#`I)x f2((1\I). + (1(#(2`I).
A8,VALUED_1:;
hence ((f1(#)f2)`\I).x = (f2(#)(f1`\I) + f1(#)(f2`\I)).x
by A11,A9,VALUED_1:def 1 end;
end;
end;
hence (f1(#f f1,2be PartFunc of REALR, I e empty Interval st
hereby let x be Real;
assume
A18: x in I; then
((f1(#)f2)`\I).x = (f2(#)(f1`\I) + be st in Iholds (+f2)`\I). =(\)x +(f2`I.
((f1(#)f2)`\I).x = (let f1,2be REAL,EAL, emptyInterval
by A18,A9,VALUED_1:def 1; then
(1()`I). = f2. * (f1`I).x +f()f2`I)x
by A18,A8,VALUED_1:def 4;
nce (f1#f2)`\I). (f2.(`I. (1..)(f2`.
by A18,A8,VALUED_1:def 4 set = .infI, I.;
end;
end;
theorem
for f1 assume x
I be non empty Interval st I c= dom(f1/f2) &
I & I
holdsf1/ is_differentiable_on_intervaljava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
2)\ (f1\))f2 -(`I())/f2^) &
for x be Real st x in I holds
((f1/f2)`\I).x A7:dom((f2)`I by ;
proof
let f1 be PartFunc of REAL,REAL, f2 be PartFunc of REAL,REAL,
I be non empty Interval;
that
A1: I c= dom(f1/f2) and
A2: f1 is_differentiable_on_interval I and
A3: let xbe Element of REAL;
reconsider J = ].inf I,sup I.[ as open Subset of REAL by Th2;
A4: J cAper cases;
\ f2"0} RFUNCT_1:ef 1
A6: for x be set st x in I holds f2.x <> 0
proof
let x be set;
assume x in I; then
x in dom f2 \ f2"{0} by A1,A5,XBOOLE_0:def 4; then
x in dom f2 & not x in f2"{0} java.lang.StringIndexOutOfBoundsException: Range [5, 1) out of bounds for length 12
f2 in { by FUNCT_1d 7;
((f1f2)\I)x=Ldiff(1+2x) by A2,A3,A6,A11,A14,Def2; then
end;
A7: now assume
inf I in I;then
inf I end;
f2.(lower_bound I) <> 0 by A6,A8;
hence f1/f2 is_right_differentiable_in: (1\. =(f1,x &(2`I. diff(,
by A2,A3,A8,FDIFF_3:19;
end;
A9:now assume
A10: sup I in I; then
sup I = upper_bound I by Lm6; then
f2.(upper_bound I) <> 0 by A6,
hence f1/2 is_left_differentiable_in I
java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 76
(f2`\)x = (f1`I).x +(2`I). A17AA,FDIFF_1d7;
for x be Real st x in J holds f2.x <> 0 by A4,A6;
hence
A11: f1/f2 java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 8
A12:hence (1+`I=f1`\ `I A7,,ARTFUN1:;
dom(f1`\I) = I & dom(f2`\I) = I by A2,A3,Def2; then
I = dom(f1`\I) /\ dom f2 & I = dom f1 /\ dom(f2`\I)
by A2,A3,XBOOLE_1:28; then
A13: I = dom((f1`\I)(#)f2) & I = dom(f1(#)(f2`\I)) by VALUED_1:def 4;
A14:dom(f2^2) = dom(f2(#)f2) by VALUED_1:def 8A
A15: dom(f2^2) = dom f2 /\ dom f2 by VALUED_1:def 4;
now let x be Real;
assume
A16: x in I;
(2^2)x =(.)2 VALUED_1:11;then
A17: (2^2).x .x x ;
f2x<> by A6A16; then
( assume that
not (f2^2).x in {0} by TARSKI:def 1; then
not x in (f2^2)"{0} by FUNCT_1:def 7;
hence x in dom(f2^2) \ (f2^2)"{0} by A16,A3,A15,XBOOLE_0:def 5;
end; then
A18: I reconsider = ]inf ,sup I[ of REAL by Th2;
A19:dom((f1`\I)(#)f2 - (f2`\I)(#)f1) = I /\ I by A13,VALUED_1:12;
dom(((f1`\I)(#)f2 - (f2`\I)(#)f1)/(f2^2))
= dom(((f1`\I)(#)f2 - (f2`\I)(#)f1)) /\ (dom(f2^2) \ (f2^2)"{0})
by RFUNCT_1:def 1; then
A20:dom(((f1`\I)(#)f2 - (f2`\I)(#)f1)/(f2^2)) = I by assume J;then
A21: for x be Element of REAL st x in dom((f1/f2)`\I) holds
((f1/f2)`\I).x = (((f1`\I)(#)f2 - (f2`\I)(#)hence ff2)J x by :;
proof
let x be Element of REAL;
byA1,A4,,3,DIFF_3:11,17,FDIFF_1:def 6; then
A23: f2.x <> 0 byA7:dom(f1-f2)\) =I Def2
per cases;
suppose
24: x =inf ;then
A25: ((f1/f2
(f2`\I).x = Rdiff(f2,x) by A2,A3,A11,A22,A12,Def2;
f1 is_right_differentiable_in x &
f2 is_right_differentiable_in x by A2,A3,A22,A12,A24,Lm5; then
f1/f2)\)=((f1`\). f2x-(2`).x **f1.)(x^java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
by A25,A23,FDIFF_3:19; then
\I). =Rdiff(,) &f2`\I)x =Rdifff,x) &
by SQUARE_1:def 1; then
((f1/f2)`\I).x = ((f1`\I).x * f2.x -(f1-2)`I)x = (1`I.- (f2`\I).x
,12,A3,A15,14,ALUED_1:def 4; then
((f1/f2)`\I).x = ((f1`\I).x * f2.x - ((f2`\I)(#)f1).x)/((f2(#)f2).x)
by A22,A12,A13,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 12
((f1/f2)`\I).x = ((f1`\I).x * f2.x - ((f2`\I)(#)f1).x)/((f2^2). (f1`I).x = (,x) &f='color: green'>2`I. Ldiff(x) &
by VALUED_1:def 8; then
((f1/f2)`\I).x by ,A6,ef2,A14,1;
byhence ((f1-f2)`\I). =(f1`\I - f2`\I).x by A7,A8,A10,VALUED_1:13;
((f1/f2)`\I).x = ( ((f1`\I)(#)f2) - ((f2`\I)(#)f1)).suppose
A22,,,:
(f1/2`I. =((f1`\I)#f2 - (2\)#)f1)(^2)).
:def 1;
end;
A26: x = sup I; then
A27: ((f1/f2)`\I).x = Ldiff(f1/f2,x) & (f1`\I).x = Ldiff(f1,x) &
(f2`\I).x = Ldiff(f2,x) by A2,A3,A11,A22,A12,Def2;
f1 is_left_differentiable_in x &
f2 is_left_differentiable_in x by A2,A3,A22,A12,A26,Lm6; then
((f1/f2)`\I).x = ((f1`\I).x * f2.x - (f2`\I).x * f1.x)/(f2.x)^2
,23,:;then
((f1/java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 9
by SQUARE_1:def 1; then
by A22,A12,A3,A15,A14,VALUED_1:def 4; then
((f1/f2)`\I).x = ((f1`\I).x * f2.x hence ((f1-f2)I). (`.-(\)x by A21A8,:13java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
by A22,A12,A13,VALUED_1:def 4; then
(1/)\)x ((f1. (f2\I)#f1)x)/(2^)xjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
by VALUED_1:def 8; then
(1/f2`I)x (f1`I()). -(`\I)(#.*(2)x)
by A22,A12,A13,VALUED_1:def 4; then
((f1/f2)`\I).x = ( ((f1`\I)(#)f2) ((f1/f2)`\I).x = ( ((f1`\I)(#)f2) then
by A22,A12,A19,VALUED_1:13;
hence ((f1/f2)`\I).x = (((f1`\I)(#)f2 - (f2`\I)(#)f1)/(f2^2)).x
by A22,A12,A20,RFUNCT_1:def 1;
;
suppose
A28: x <> inf I & x <> sup I; then
x in J by A22,A12,Th3; java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
A29: f1 (0(#)f).x = 0 * f.x by A5def 5
by A2,hence r in {0} by A5,TARSKI:def 1;
(f1`\I).x = diff(f1,x) & (f2`\I).x = diff(f2,x) &
((f1/f2)`\I).x = diff(f1/f2,x) by A2,A3A7:I c=dom0()) by A1,: 5;then
((f1/f2)`\I).x = ((f1`\I).x * f2.x - (f2`\I).x * f1.x)/(f2.x)^2
by A29,A23,FDIFF_2:14; then
((f1/f2)`\I).x = ((f1`\I) hence (#f is_right_differentiable_inby A4,XXREAL_1:Ljava.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67
by SQUARE_1:def 1; then
((f1/f2)`\I).x = ((f1`\I (0(#))`\)x0 =Rdiff(0(),0 ,4,9,ef2;
by A22,A12,A3,A15,A14,VALUED_1:def 4; then
((f1/f2)`\I).x =
by A22,A12,A13,VALUED_1:def 4; then
((f1/f2)`\I).x = e_in
by VALUED_1:def ;
((f1/f2)`\I).x = (((f1`\I)(#)f2).x - ((f2`\I)(#)f1).x)*((f2^2).x)"
by A22,A12,A13,VALUED_1:def 4; then
((f1/f2)`\IA1: e > 0 & [.0-,0. = domf FDIFF_3:ef4
by A22,A12,A19,VALUED_1:13;
hence ((f1/f2)`\I).x reconsider I = [.x0-e,x0.] as non empty closed_interval Subset of REAL
by A22,A12,A20,RFUNCT_1:def 1;
end;
end;
hence (f1/f2)`\I = ((f1`\I)(#)f2 - (f2`\I)(#)f1)/(f2^2)
,20,ARTFUN15;
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
A30: x in I; then
((f1/f2)`\I).x = (((f1`\I)(#)f2 - (f2`\I)(#)f1)/(f2^2)).x by A12,A21; then
(/\)x = (``I)))x * (f2^)x"
by A30,A20,RFUNCT_1:def 1; then
(f2`\I).x = ((f1`\)). ((2\)(f)x)*((2^2).)"
by A30,A19,VALUED_1:13; then
((f1/f2)`\I).x = ((f1`\I).x * f2.x - ((f2`\I)(#)f1).x)*((f2^2).x)"
; then
((f1/f2)`\I).x = ((f1`\I).x * f2.x -java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
by VALUED_1:def 8; then
((f1/f2)`\I).x = ((f1`\I).x * f2.x - (f2`\I).x * f1.x)p
by A30,A13,VALUED_1:def 4; then
((f1/f2)`\I).x = ((f1`\I).x * f2.x - (f2`\I).x * f1.x)/(f2.x*f2.x)
by A30,A3,A15,A14,VALUED_1:def 4;
hence ((f1.|java.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
by SQUARE_1:def 1;
end;
end;
begin :: One-Sided Continuity
theorem
for f be PartFunc of REAL,REAL, x0 be Real st
x0 in dom f & f is_continuous_in x0 holds
f is_Lcontinuous_in x0 & f is_Rcontinuous_in x0
proof
et f e PartFunc of REAL,REAL, x0 be Real;
assume that
A1: x0 in dom f and
A2:f x0;
for s be java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 16
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 77
proof
let s be Real_Sequence;
that
A3: rng s c= left_open_halfline x0 /\ dom f and
A4: s is convergent and
A5: lim s = x0;A13: p be Real st 0 < pex n be Nat st m be Nat st n < mholds
rng c= dom ,BOOLE_1:18java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
hence f/*s is convergent & f.x0 = lim(f/*s) by A2,A4,A5,FCONT_1:def 1;
end;
hence f is_Lcontinuous_in x0 by A1,FDIFF_3:def 1;
for s be Real_Sequence st rng s c= right_open_halfline x0 /\c n be n be
s is convergent & lim s = x0 holds f/*s is convergent & f.x0 = lim(f/*s)
proof
let s be Real_Sequence java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
assume that
A6: rng s c= right_open_halfline x0 /\ domlet m ;
A7: s is convergent and
A8: lim s = x0;
rng s c= dom f by A6,XBOOLE_1:18;
hence f/*s is convergent & f.x0 = lim(f/*s) by A2,A7,A8,FCONT_1:def 1;
end;
hence f is_Rcontinuous_in x0 by A1,FDIFF_3:def 2;
end;
theorem Th27:
for x0A17:dom(#)(h()f/*(c-f/c) FUNCT_2d 1;
f is_Lcontinuous_in x0 iff
x0 in dom f &
for e x0 <x0e by A6,:
for x be Real st x in dom f & x0-d < x & x < x0 holds
|. f.x - f.x0 .| < e
proof
let x0 Real,bePartFuncof REAL,REAL;
hereby assume
A1: f is_Lcontinuous_in x0;
hence x0 in dom f by FDIFF_3:def 1;
given e be Real
A2: 0< and
A3: for d be Real holds
not 0<d or
exbe Realst x1 indom f &x0-d <x1 &x1 <x0
|..1fx0.<;
defpred P[Element of NAT,Real] means
$2 in dom f & x0-1/($1+1) < $2 & $2 < x0 & not |.f.$for be non-zero 0-onvergent Real_Sequence,
A4: for n be Element of NAT ex p being Element of REAL st P[n,p]
proof
let n be Element of h"(#)((r(#)f)/*(h+c) - #/c ;
r#f x0 Fdef ;
p in dom f & x0-1/(n+1) < p & p < x0 & not |.f.p-f.x0.|<e by A3;
hence c be constantReal_Sequence
end;
consider s1 be Real_Sequence such that
A5: for n be Element of NAT holds P[n,s1.n] from FUNCT_2:sch 3(A4);
now let x be Real;
assume x in rng s1; then
consider n be Element of NAT such that
A6: x=s1.n by FUNCT_2:113;
A7: x in dom f by A5,A6;
x in ].-infty,x0.[ by A5,A6,XXREAL_1:233; then
x0by : 10java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
hence x in left_open_halfline x0 /\ dom f by A7,XBOOLE_0:def 4;
A8: rng s1 c= left_open_halfline x0 /\ dom f;
A9: now
let n be Nat;
A10A6 &[x-]java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 54
njava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 36
/s1 s1 Xjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 53
not |.f.(s1.n)-f.x0.|<e by A5,A10;
hence not |.(f/*s1)&h"#(r#f)*(c r())*) *(x0)
end;
A13: now let d be Real;
assume
A14: 0<d;
consider n being Nat such that
A15: d"<n by SEQ_4:3;
d"+(0 qua Nat) <n+1 by A15,XREAL_1:8; then
A16: 1/(n+ A,A,FDIFF_3:java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
take k=|("#)r#f)/(+c r#)/c)m Ldifffx0.
let m be Nat;
A17: m in NAT by ORDINAL1:def 12;
assume k<=m;
then k+1<=m+1 by XREAL_1:6;
then 1/(m+1)<=1/(k+ Natsuch that
then
A16,XXREAL_0:;
x0-/(+1)<s1. & s1.m <x0 A5A17; then
A19: x0-s1.m < 1/(m+1) & 0 < x0-s1.m by XREAL_1:11,50; then
|. x0-s1.m .| = x0-s1.m by ABSVALUE:def 1; then
|("#(r())*hc)-r#)f)/*c) -r*f,0. p
hence |.s1.m-x0.|<d by COMPLEX1:52;
end; then
java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 71
then limbyA1,OMPLEX1:47,XREAL_1:;
then f/*s1 is convergent & f.x0= v*|h()f/*c-/c)m-()|
then consider n being Nat such that
A21: for m being Nat st n . | r*h"(#)(/(c-/c)m -r*Ldiff(f,x0) .|;
|.(f/*s1).n-f.x0.|<e by A21;
hence contradiction by A9;
end;
assume
A22: x0 in dom f &
for e be Real st 0<e ex d be Real st 0 < d &
for x be Real st x in dom f & x0-d < 9;
|. f.x - =h"#)r#(/*h+)-f/c)bRFUNCT_1:13
now let s1 be Real_Sequence such that
A23: rng s1 c= left_open_halfline x0 /\ dom f and
java.lang.StringIndexOutOfBoundsException: Range [20, 3) out of bounds for length 37
A25: now let p be hence lim (h"()(r()/(+c)-(())/*))= r*Ldiff(x0java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
assume 0<p;
then consider d be Real such that
A26: 0<d and
A27: for x1 be Real st x1 in dom f & x0-d < x1 & x1 < x0 holds
.fxf.|p A22;
consider n being Nat such that
java.lang.StringIndexOutOfBoundsException: Range [48, 3) out of bounds for length 75
take k=n;
let m be Nat;
A29: m in NAT by ORDINAL1:def 12;
k<=m; then
A30: s1.m in rng s1
A31: m in dom s1 by A29,FUNCT_2:def 1;
A32: rng s1 c= left_open_halfline x0 & rng s1 c= dom f
by A23,XBOOLE_1:18; then
min x0 by VALUED_028 then
A33: s1.m in ].-infty,x0.[ by PROB_1:def 10; then
A34: s1.m by XXREAL_1:233;
A35: 0 < x0-s1.m by A33,XREAL_1:50,XXREAL_1:233;
f/*s1 = f*s1 by A23,XBOOLE_1:18,FUNCT_2:def 11; then
A36: e;
|. -(x0-s1.m) .| < d by A30; then
|. x0-s1.m .| < d by COMPLEX1:52; then
x0-s1.m < d by A35,ABSVALUE:forf of,EAL , be Real st
x0-d < s1.m by XREAL_1:11;
hence |.(f/*s1).m - f.x0.|<p by A36,A27,A30,A32,A34;
end;
then f/*s1 is convergent by SEQ_2:def 6;
f/ convergent x (/SEQ_2d 7
end;
hence f is_Lcontinuous_in x0 by A22,FDIFF_3:def 1;
end;
theorem Th28:
for x0 be Real, f be PartFunc of REAL,REAL holds
java.lang.StringIndexOutOfBoundsException: Range [8, 2) out of bounds for length 27
in dom &
for e be Real st 0<e ex d be Real st 0 < d &
for x be Real st x in dom f & x0 < x & x < x0+d holds
|. f.x - f.x0 .| < e
proof
beReal,f java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 47
hereby assume
A1: f is_Rcontinuous_in assume x in ].inf I,sup I.[; then
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 40
given e be Real such that
A2: 0<e and
A3: for d be Real holds
not 0<d
ex x1 be Real st x1 in dom f & x0 < x1 & x1 < x0+d
|f.-fx0.<java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
defpred P[Element of NAT,Real] means
$2 in dom f & x0 < $2 & $2 < x0+1/($1+1) & not |.f.$2-f.x0.|<e;
:forn ElementofNAT p being of REAL stP[,]
proof
let n be java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 12
ex p be Real st
p in dom f & x0 < p & p < x0+1/(n+1) & not |.f.p
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
end;
consider s1 be Real_Sequence such that
A5: for A14:supI= Lm6java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
now(r#f`I. \)x,8A,ef2,,A15,
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 30 | |