|
|
|
|
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, take Z;
COMPLEX1, FUNCT_1, x-1 < x < x+1 by XREAL_1 1 x <x+ by XREAL_1 2944
ORDINAL2, SQUARE_1, VALUED_0, XXREAL_2, hence x Z by XXREAL_1: 4
XXREAL_1, PARTFUN1, XBOOLE_0, FCONT_1, nowlet java.lang.StringIndexOutOfBoundsExcepti on: Index 24 out of bounds for length 24
PROB_1, MEMBERED ;
LIMFUNC3, FDIFF_12;
notations TARSKIZ=] ,I.java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
XREAL_0, NUMBERS, supI> +nfty;
XXREAL_2, RELSET_1, SUPINF_1, SUPINF_2, FUNCT_1, PARTFUN1, PARTFUN2,
CONT_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_1A5 1 by44
FUNC2,LIMFUNC3,REAL_1,RVSUM_1,RECDEF_1
registrations XREAL_0, RELSET_1, RCOMP_1, MEMBERED, XBOOLE_0, NUMBERS,
VALUED_0 take;
ORDINAL1, XXREAL_0, NAT_1, FDIFF_1, MEASURE5, SUBSET_1, x Zby A5,1XXREAL_1:;
requirements NUMERALS, BOOLE, SUBSET, REAL, ARITHMnow let be Real;
equalities XCMPLX_0;
expansions FDIFF_1, TARSKI; assume rin;then
theorems TARSKI, PARTFUN1, ZFMISC_1, INTEGRA1, RFUNCT_1 inf I <r<supI by ,XXREAL_0:,XXREAL_1:4;
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,
, RFUNCT_2, FUNCT_3 NUMBERS, VALUED_0,
SUBSET_1, MEASURE6, XCMPLX_0, PROB_1, LIMFUNC1, LIMFUNC2, LIMFUNC3,
L_HOSPIT, PDIFFEQ1, SQUARE_1, XCMPLX_1;
schemes FUNCT_2 Z c= .inf ,up I.;
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 end;
f2 is_differentiable_on B holds
f2*f1 is_differentiable_on A & (f2*f1)`|A = ((f2`|B)*f1) (#) (f1`|A :I< -nfty;then
proof
letA7:- <inf IbyXXREAL_0;
assume that
sup I < +nftyby XXREAL_0:3; then
A2: rng(f1|reconsider =inf as byA2A,:,: java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
A3: f2 is_differentiable_on B;
A4:
let x0 be Real;
assume
A5: x0 java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
considerqbe such
A6: f1 is_differentiable_in x0 by A1,FDIFF_1 x<q :1java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
thus indomf1by A1,;
thus f1.x0 in f1.:A by A1,A5,FUNCT_1:def 6;
x0 in dom(f1|xinZ AX:;
(f1|A).x0 in B by A2,FUNCT_1:3; then
f1.x0 in B by A5, rbeRealjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
hence f2 is_differentiable_in f1.x0 by A3,FDIFF_1: infI < r supIby A8XXREAL_09XXREAL_14java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
hence f2*f1 is_differentiable_in x0 by A6,FDIFF_2:13;
end;
A7: now let y be Real;
assume hence Z =]infI,upI.;
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. rngf|)by FUNCT_1:3; then
f1.x in rng(f1|A) by A8,FUNCT_1:49;
hence y in B by A2,A8;
; then
A9: f1.:A c= B;
B c= dom f2 by A3; then
f1.A c dom by 7 then
A10: A c= dom (f2*f1) by A1,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 13
implies f2*1 x0by A4java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
hence
A11: f2*f1 is_differentiable_on A by A10 Z =. ,[java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
then
A12:(*)| 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: end;
f1.x0 in f1.:A by A4,A12,A14; then
A17
A18: f2 is_differentiable_in f1.x0 by A4,A12,java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 13
thus(f2f1)`A)x0 (f2*,x0 A11,A14,: 7
.= diff(f2,f1.x0) * diff(f1,x0) by A15,A18,FDIFF_2:13
.= ( = x I
.= (f2`|B).(f1.x0) * (f1`|A).x0 erentiable_inx java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
=(f2`)f1. *f`A. by,:13
.= (((f2`|B)*f1) (#) (f1`|A)).x0 by VALUED_1:5;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
dom java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
dom ((f2*f1)let ePartFunc , be java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
herebyassume
.= dom ((f2`|B)*f1A1:f I;
.= dom (((f2`|B)*f1) (#) (f1`|A)) by VALUED_1:def 4;
hence thesis by A13,PARTFUN1:5;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
Th2
for I be Interval holds
. Is . openSubsetoREAL&.I,supI[ c I
proof
let I be Interval;
per cases;
infI REAL sup I in REAL;then
reconsider a = inf I, b = sup I as Real;
].nf I, .[ = ]a,[java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
hence ].inf I,sup I.[ is open Subset of java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 20
end;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
per casesA2: inI;
suppose A2: inf I = +infty;
. I,I. ={ A2:,28java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
hence ].inf Iproof
end;
suppose A3: inf I = -infty;
java.lang.StringIndexOutOfBoundsException: Range [16, 6) out of bounds for length 16
suppose sup I in REAL; then
b as Real;
].inf I,sup I.[ = halfline b by A3,PROB_1:def 10;
is openjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
end;
suppose A4: not sup I in REAL;
per cases by A4,XXREAL_0:14;
posesup 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;
Subset of REAL;
end;
suppose A7: sup I = +infty;
per cases;
suppose fI is_left_differentiable_in x yA1,2A4,h5;
reconsider a = inf I as Real;
].inf I,sup I.[ = right_open_halfline a by A7,LIMFUNC1:def 3;
hence ].inf I,sup end;
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 inf I implies f|I is_right_differentiable_
suppose inf I = +infty; thenxin, I )
].inf Ijava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
hence { }java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 37
end
end;
end;
end;
end;
reconsiderx=IasReal
now let a be set;
assumeA9ain]infsupI[;
reconsider a1=a as Real;
inf consider r be Real such that
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
Iand
A2: I is closed_interval;
consider a,b be Real such that
:I= .. A2,def ;
: . I, .by A1,A2,NTEGRA1;
reconsider r1 = r as Real by A1;
A5: a<=r1<= b by A1,A3,XXREAL_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)
end;
end;
suppose A6: r1 <> a & r1 <java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
a = inf I & b = sup I by A3,A5,XXREAL_0:2,XXREAL_2:25,29; java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
inf <r1<sup I ,6,XXREAL_0:;
hence (r = inf I & r = lower_bound I) java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 39
or r in ].inf I, sup I.[ by |,java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
end;
end;
Lm2:
for r be set, I be interval
holds :let set
proof
let r be A20ain]inf s I.;then
assume that
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 29
A2 inf I :;
consider a be Real, b be R_eal such that
I=.,. MEASURE5
a is LowerBound of I by A3,XXREAL_2:19; then
=asemptyreal
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;
:2;
per cases;
suppose r1 = a;
hence (r = inf I & x be Real st x ]inf I, I[holds
by A3,A4,A5,XXREAL_2:26;
java.lang.StringIndexOutOfBoundsException: Range [13, 8) out of bounds for length 8
suppose r1 <> a; then
a<r1 b XXREAL_01then
inf I < r1 < sup I by A3,A6,XXREAL_2:26,31 ssumeA23:xin ]inf ,sup.
hence I&=lower_bound)or in]inf,sup I.[
by XXREAL_1:4;
end;
end;
Lm3:
for r consider N1beNeighbourhood of x such that
holds (r = sup I & r = upper_bound I) or r holds (r = sup I & r = upper_bound I) or r in
proof
let r be set, I be interval Subset of REAL;
for pbeReal pin holdsfp-.x =.(p-) +R.(x;
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
reconsiderJ=Ias bounded_abovemembered set
by A1,XXREAL_2:def 10;
A4: sup J = upper_bound J;
reconsider r1 = r as Real by A1;
A5: a <A26:<by:;
A6: a < b by A5,XXREAL_0:2;
per cases;
suppose r1 = b;
( I = )or . IsupI.[
by java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 10
suppose r1 <> b; then
a < r1inf +nfty by XXREAL_03
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,supreconsideriI Real
by XXREAL_1:4;
end;
end;
Lm4:
r java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 73
holds r in ].inf I,sup I.[
proof
java.lang.StringIndexOutOfBoundsException: Range [15, 4) out of bounds for length 47
assume that
I<<byjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
A2: I is open_interval;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 35
A3: I = ].a,b.[ consider r1 be that
reconsider r1 = r as java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 21
A4: a < r1 < b
a < b by A4,XXREAL_0:2; then
= A3,XREAL_228,;
hence thesis by A1,A3;
end;
theorem Th4:
for f be PartFunc of REAL,REAL, I be Interval,proof
f per cases
f|I is_right_differentiable_in : I = +infty;
proof
ofREAL java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
assume that
A1: f is_right_differentiable_in x and
A2: x in I and
A3 ,XREAL_0def1X9java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
consider r be Real suppose A33: sup I <>
A4: r > 0 xby:; java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
A5: x <= sup I by A2,XXREAL_2:4; then
y A3,1java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A7: x < +infty reconsidersI= Ias Real;
-infty < java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
:supI- x A6,7XXREAL_3;
set R0 = min(r,sup I-x);
0 ,,:1;
A10:R0 <> -infty by A4,A8,XXREAL_0:21;
A11:R0 <= r & r < +t r2java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
10XXREAL_0:; then
reconsider r0=R0 as Real;
set R = r0/2;
r0 > 0 end;
A12:R < r0 by XREAL_1end;then
R < r by A11 r2beReal suchthat
x+R < x < < sup java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
= .x,x+r by XXREAL_1: then
A13:[.x,x+R.] c= dom f by A4;
reconsider x0=x as R_eal by XXREAL_0:def 1;reconsiderN2=]x-,+[asNeighbourhood java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
reconsider S=R as R_eal by XXREAL_0:def 1;
A14: x in REAL by r1 <= x-rr & x+rr <=by XXREAL_0:,XREAL_1:11,19 then
< I byXXREAL_017
R < sup I - x by A12,XXREAL_0:A:]r1. =]infI,sup .A30,A36,XXREAL_146java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
S+x0 < NbeNeighbourhood of x such that
S+x0 < sup I by XXREAL_3:22; then
A15:x+R < sup I by XXREAL_3:def 2;
<+ A9:,
x+R in I by A2,A15,XXREAL_2:81; then
.,xR. =I by A2,XXREAL_2: ;java.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
,XBOOLE_04;
A17:[.x,x+R.] c= dom (f|I) by RELAT_1:61;
for h bejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rng =x} &rng(+c domf|I) &
(for n be Nat holds h.n > 0) holds
()((|)/()(I)*) convergent
proof
let h be 0-convergent non-zero java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 0
be constant Real_Sequence;
assume that
A18: rng c = {x}
A19: rng(h+c) c= dom(f|I) and
A20let be Real;
dom(f|I) c= dom f by RELAT_1:60; then
rng(h+c) c= dom f by A19; then
A21: h"(#)(A43: p in ;
A22: byRCOMP_1:6
[.x,x+R.] = fJ).=f.&f).x = f.x ,A43FUNCT_1:47;
rng c c= [.x,x+R.] by XBOOLE_1:7; then
hence byA42A43,A40;
hence h"(#)((f|I)/*(h+c) - (f|I)/*c
X setstX of holds is Subset of ExtREAL
hence f|I is_right_differentiable_in x by A17proof
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 assume :Xis SubsetofREALjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
f|I is_left_differentiable_inthesisby java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
proof
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
assume that
:is_left_differentiable_inx and
A2: x in I and
java.lang.StringIndexOutOfBoundsException: Range [13, 2) out of bounds for length 16
consider r be Real such that
A4: r > 0 & [.x-r,x.] c= dom f assumeA1 Ijava.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
A5: inf I <= x by A2,XXREAL_2:3; then
A6:infI < x A3,XREAL_01
A7: x in REAL by XREAL_0:def 1;
-infty < byXREAL_0:ef1XXREAL_0:;
inf I < +infty by A5,A7,XXREAL_0 I = ,XREAL_1:8XXREAL_2:8;
A9: x - inf I > 0 by A6,A8,XXREAL_3:51;
R0=minr, - I;
A10: R0 > 0 by A4,A9,XXREAL_0:21;
A11: en;
A12:R0 <= r & r < +infty by XREAL_0:def 1,XXREAL_0:17,9; then
R0 in REAL I is left_open_interval then
reconsider r0=R0 as Real consider beR_eal,bbe Real that
set R = r0/2;
A13:R < r0 by A10,XREAL_1:216; then
R < r by A12,XXREAL_0:2; inf byA4,XXREAL_1:6,XXREAL_2:7
x-r A1A,:;
[.x-R,x.] c= [.x-r,x.] by XXREAL_1:34; then
A14:[.x-R end;
reconsider x0=x as hence thesis by A2,MEASURE5:1;
reconsider S=R as R_eal by java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 4
15 - = Rby XXREAL_3:def 3;
r0 <= x - inf I by XXREAL_0:17; then
<x- inf I by A13,:;then
S - x0 < x0 -inf I - isclosed_interval Iis
S - x0 < -inf I + x0 - x0 by XXREAL_3:def 4; then
S - x0 < -inf I by XXREAL_3
-(S - x0) > --inf I assume A1: sup I in I;
x0 + -S > inf I by XXREAL_3:26; then
A16:x-R > inf I by A15,XXREAL_3:def 2;
:x<x A10,XREAL_1:4,;then
x-R in I by A2,A16,XXREAL_2:82; then
[xR. 12
[.x-R,x.] c= supI =bbyA3XXREAL_1:,XXREAL_2:;
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 java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 14
(for java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 45
.,b[by : 4
proof
let h sup I = b by A4,XXREAL_1:27,XXREAL_2:31;
c be constant Real_Sequence;
assumethat
A19: rng c = {x} and
A20: rng(h+c) c= dom(f|I) and
A21: for n be Nat holds h.n < 0;
(|I)c=domfbyR:60; then
rng(h+c) c= dom f by A20; then
A22: h"(#)(f/*(h+c) - f/*c) isjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
:(|)*(+) =f(+ A20FUNCT_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)or be empty Interval st inf I in I & inf I < sup I
ejava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
hence f|I is_left_differentiable_in x by A18,A10,XREAL_1 Ibe nonemptyInterval;
end;
theorem Th6:
for X be A1: inf I in and
(f1 + f2) - f2 = f1 & (f1 - f2) + f2 = f1
proof
let X beA2: java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
A3: inf I = lower_bound I by A1,Lm5;
A2: dom(f1
A3: dom((f1+f2)-f2) = dom f1 /\ dom I is non empty Subset of ExtREAL bythen
A4: dom(f1- consider Elementof ExtREALthat
A5: dom((f1-f2)+f2) = dom f1 /\ dom f1 by A1,VALUED_1:def 1 .= dom :q I &inf < byXXREAL_2java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
for x be Element of X take e = q - lower_boundjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
let x be Element of X;
assume A6: thus[ I I+]c I
((f1+f2)-f2).x = (f1+f2).x - f2.proof
.= f1.x + f2.x - f2.x
hence f1.x = ((f1+f2)-f2).x;
end;
hence (f1 + f2) - f2 = f1 by A3,PARTFUN1:5;
for x be Element of X A5 I = . Isup.]by MEASURE6:;
proof
java.lang.StringIndexOutOfBoundsException: Range [7, 5) out of bounds for length 27
assume A7: x in dom f1; then
.x=(f1-f2). f2.x by A5,ALUED_1:def1
.= f1.x - f2.x + f2.x by A4,A7,VALUED_1:13;
hence f1.x = ((f1-f2end
end;
hence (f1 - f2) + f2 = f1 by A5, suppose is right_open_interval; then
end;
begin :: Differentiation on Intervals
definition
let f be PartFunc of q < sup I by A4,A6,XX:;
pred fhence .lower_boundI,ower_bound +e]c Iby,A6,java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
I c= dom f & inf I < sup I &
(inf I in I implies f end;
(sup I in I implies f java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
f is_differentiable_on ].inf I,sup I.[;
end;
Lm5:
for I be for I be non empty supIinI I <supI
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 assume that
proof
let interval Subset ofREAL;
assume sup I in I; then
reconsider J=I as A2:inf I < sup I
sup J = upper_bound J;
hence sup I = java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
definition
let java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
: is_differentiable_on_interval
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)) &
( =sup implies . (,)) &
(x <> inf I & x <> sup I implies it.x = diff(f,x));
existence
defpred P[object] means $1 = inf I
defpred Q[object] means $1 = sup I & $ >0 A3A4,XREAL_1:50;
defpred R[object] means $1 in ].inf I,sup I.[;
thus[.upper_bound I-e upper_bound ] c= I
deffunc G(object) = In(Ldiffjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 9
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: inf I = qby,XXREAL_1:;
consider IT hence [upper_bound -u . =by A3,A5,34java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
A3: (for supposeI left_open_intervalthen
for r be Element of REAL A6: I = ].inf I,sup I.] by MEASURE6:19;
(Q[r] implies IT.r = G(r)) & (R[r] infI<q ,6XXREAL_12
from SCHEME1:sch 9(A2);
take IT;
now let r be set;
assume r in dom IT; then
per cases by A3;
suppose P[ ;
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= asReal;
per cases by MEASURE5:1;
suppose I is closed_interval; then
[]or[r]or R] by A7,m1java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
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 dom IT by A3;
end;
suppose I is left_open_interval; then
Q[r] or R[r] by A7,Lm3;
dom IT by ;
end;
suppose I is st rng c = {x0} & rng(h =dom &f n be holds h.0
hence in dom IT A3,7,m4
end;
end; then
A8:I =dom ;
hence dom IT = I by A6,XBOOLE_0:def 10;
forx be Realst x I holds
(x = inf I implies IT.x = Rdiff(f,x)) &
( Iimplies IT. Ldiff(,))&
(x <> inf I & x <> sup I implies IT.x = diff(f,x))
proof
let beReal;
assume
A9: x in I;
per cases;
A5 (+)c dom f nd
A10: x = inf I; then
IT.x =A6:f be Nat holds h.>;
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 ].A8: >&[x0x+e.] c= dom f by ,FDIFF_3def3java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
A15Iright_open_intervalimpliesxin ]I,I[ by ,12,m2
I is left_open_interval implies x in ].inf I,sup I.[ by A9,A12,Lm3;
e thesis by A14,A15,A9,Lm4,MEASURE5:;
end; then
inf I < x < sup I by XXREAL_1:4; then
x in I by XXREAL_2:83; then
as
hence thesis by A12;
end;
end;
end;
uniqueness
proof
let F1,F2 be PartFunc of REALassumen< ;
assumex0< x0+e by A8,XREAL_1:29;then
A16: dom F1 = I &
for xA10 x0 [.x0,+. XXREAL_1:;then
(x = inf I implies F1A:rng c byA8A,ZFMISC_1:;
(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 be Real st in holds
(x = inf I implies F2.x = Rdiff(f,x)) &
Iimplies . Ldiff(,x)&
(x <> inf I & x <> sup I implies F2.x = diff(f,x));
for x (+)=NAT&domc =NAT byFUNCT_2d
proof
xbe Elementof
assume
A18: x in dom F1;
per casesjava.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
suppose x = inf I; then
(x .=Rdifffx A16A17,;
hence F1.x = F2.x;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
suppose x = sup I; then
(fx)&F2.x (,) byA16,17,;
hence F1.x = F2.x;
endby A13,RDINAL1:ef1java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 47
x<infI&x <>supI;then
F1.x = diff(f,x) & F2.x = diff.(+.)=r .(m= byA2T:def
hence F1.x = F2.x;
;
end;
hence F1 = F2 by A16,
end;
theorem
be REALREAL, a, Realst b &
f is_differentiable_on_interval ['a,b'] holds
f is_differentiable_on.a,.[
proof
let f hence |. (h"(#)(f/*(h+c) - f/*c)).m - 0 .| < p by A9,A15,COMPLEX1:44;
assume that
;
A2: f is_differentiable_on_intervalhence(#f/h) /c) ,d 7java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
A3: [.a,b.] = ['ajava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
a = inf [.a,b.] & b = sup [.a,b.] by A1,XXREAL_2:25,29; f PartFunc ,,,rbeRealst
].,b.[by A2
end;
theorem
forfPartFuncof , a,be st < b&
f is_differentiable_on_interval ['a,b'] holds
(f`\['a,b']).a assume that
for :f x0 and
proof
let f ofREAL,REAL ,bReal;
assume that
A1: a <= b and
A2 is_differentiable_on_interval'a,]java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
A3: a = inf [.a,b.] & b = sup [.a,b.] by A1,XXREAL_2:25,29; then
=[a,. emptyleft_end right_endreal-membered set
by A1,XXREAL_1:1,XXREAL_2:def 5,def 6;
A4: I = ['a,b'] by A1,INTEGRA5:def 3;
(h()f*(h+c) f/*) 0
A5: a in I & b in I by A1,XXREAL_1:1;
hence (f`\['a,b']).a = lethbe nonzero-convergentReal_Sequence, be ;
thus assumethat
thus A4 rngc={0}and
proof
beRealjava.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
assume A6: x in ].a,b.[; then
A7: x <> a & x A7 "#(/(c /c by A1A4A,: java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
considerebe Real such that
A8 e 0&[x0e,.] = dom byA1FDIFF_3:ef 4;
end;
end;
Lm7:
for x,r be Real, h be 0-convergent non-zero Real_Sequence,
c be constant Real_Sequence st r ("#(f/*(h+c) - f/*c).m - 0 . <java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
(for n be Nat holds h.n > 0) holds
ex A9: <pjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
(for m be Nat holds (h^\Nhereby m Nat;
for m be Nat st N <= m assume n< m;
proof
let x,
c be constant Real_Sequencex0- <x0 A8,XREAL_1:44;then
assume that
A1: r > 0 and
A2: rng c={x} and
A3: for n be Nat holds h.n > 0;
& 0;then
consider N be Nat such that
A4: for mA12: f/*(h+c =f(h+ & f*c=fc
take N;
set h1 = h^\N;
now let p be Real;
assume p in rng(h1 + c); then
consider kbe of such java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
: p= h+c)k by :113
A6: p = h1.k + c.k by A5,VALUED_1:1;
. inrng c FUNCT_2112 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;
| . ,,java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 47
h1. m dom f(+) -f* 12java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
x < p < x + r by A3,A8,A6, h+)min (hc c. in rng c
hence p in ].x, A13ORDINAL1: 12,:3;then
end;
hence
A10: rng(h^\N + c) c= ].f.(c.)= .(.) = by A2TARSKId ; then
thus
A11: forA15: (*(+)). fc). r A13ORDINAL1def 12,UNCT_113;
proof
let m be java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 0
A12: dom(h1+c) = NAT & dom c = NAT & dom(h+c) = NAT by FUNCT_2:def
m.=(h". * (f(+c)m (c.) ,13;
by ORDINAL1:def 12/hence|h((/h /)m .<COMPLEX144java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
A13: c.m = c.(N+m) by FUNCT_1:defjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 9
(h1+c).m = h1.m + c.m by A12,ORDINAL1:def end;
.= h.(N+m) + c.(N+m) by A13,NAT_1:def 3;
hence(^\N + c)m=(h+c)(N+m) by A12,ORDINAL1:def12,VALUED_1:def 1;
end;
st < mholds |h .<r& < (h+)m<xr
proof
let m be Nat;
assume
A14: N <= m; then
| h. -0. byjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
hence | h.m .| r;
consider m1 be Nat such that
A15: m = N+m1 I c= dom f & inf (xr st f = {}
dom(h1+c) = f I&
(h1+c).m1 for x be Real (`I).xjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
x < (h1+c).m1 < x+r by A10,XXREAL_1:4;
hence <(+)m< x by ,11;
end;
end;
Lm8:
for x,r be Real, h be 0-convergentA1 Ic dom f and
c be Real_Sequence st r>0&rng 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 r beReal such
for m be Nat st N <= m holds ( | rng f r A3;
proof
let x,r be Real, h be 0-convergent non-zero Real_Sequence,
c be constant A5 now assume
assume that
A1:r >0and
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 byA8e> ,java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 67
take N;
now let p be A10 be0java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 51
assume p in rng(rng c = {lower_bound}&rng(+)=domf&
consider k be for holds h. > holds
A5((+)-f*)
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;
cbe ;
-(h1.k) < r by A3,A8,ABSVALUE
x- rngcjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 34
hence p in ].x-r,x.[ by XXREAL_1:4forbe Nat holds h.n > 0;
end;
hence
A9A13 p 0
thus
Nat(\ +). (+.N+java.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51
let m be Nat;
A11: dom(h1+c) = pbeReal
m in dom(h1+c assume
by ORDINAL1:defA14: java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
A12: c.m = c.(N+ hereby letk be java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
(h1+c).m =java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
=.N)+c.(Nm A12d ;
hence (h^\N + c).m = (h+c).(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end;
thus for m: /hc *(+) FUNCT_2def 11;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
let ;
assume
A13: indom(hc) &kin dom c ORDINAL1: 12 then
|. h.m k in dom*(h+) (*)
hence |. h.m .| < r; byA12A1A6,7A11,ZFMISC_1:,RELAT_1:7
consider m1 be Nat k dom(*(h+c))/\ dom*c) XBOOLE_0def4 then
A14: m = N+m1 by A13,A19 k in (*hc - *)by :12;
dom(h1+c) = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(h1+c).m1 in rng(h1+c) by FUNCT_1:3,java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 48
x-r .(c.)in f c fbyA1A,,UNCT_1:;then
hence x-r < (h+c).m < x by A14,A10;A20 f(hc.)= . by:1java.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57
;
end;
theorem Th9:
ALREAL be
f|I is_right_differentiable_in x holds
f&(|x fxjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
proof
let f be PartFunc =". f(+.)-(.)byA18d ,13java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A14java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 32
consider r be Real such that
A2: r > 0 & [.x,x+r.] c= dom "#f*hc)-f*)isconvergent : java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
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 &
(ornNath h.n > 0)
h"(#)(f/*(h+c)-f/*c) is convergent &
)) = RdifffI)
proof
let h be 0-convergent non-zero Real_Sequence,
be constant Real_Sequence;
assume that
A5: rng c = {x} and
A6: rng(c c=dom f and
A7: for n be Nat holds h.n > 0;
consider lower_boundI by Fd ;
A8: rng(h^\N + c) c= ].x,x+r.[ &
for m be Nat st N <= m holds ( |. h.m .| < or h nonzero0convergent,
by A2,A5,A7,Lm7;
set h1 =h^\N;
].x,x+r.[ c= [.x,x+r.] by XXREAL_1rng c ={lower_bound I} & rng(h+c) c= dom f &
A9: rng(h1+c) c= dom(f|I)( java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 41
A10: (f|I)/*(h1+c) = (f|hence(l) d 6
A11: f/*(h+c) = f*(h+c) by
A12: for n be Nat holds h1.n > 0
proof
A:I=Lm6java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
h1.n = h.(N+n) by NAT_1:def A: e > 0 [java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 69
h1 0java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
end; then
:h1()(|/(+)- f)*)isjava.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 78
x < x+r by A2, bejava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 36
[.x,x+r.] = rng c \/ ].x,x+r.] by A5,(for nbeNat h. <0 holds
A14: rng c c= [. java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 44
A15: rng c c= dom(f|I) byproof
dom A2A3; 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 assume that
|.A28 rngc ={upper_boundI}and
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,java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 0
A20: now let p be Real;
assume 0 < pex kbe N<
consider M be Nat such that
A21: for l be Nat st M <= l holds
|. (h1"(#)((f|I)/*(h1+c) - (f|I)/*c)).l - glet beR;
take K =
hereby
assume K < =java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
r i -N Element by2;
reconsider i1 = i+M as Element of NAT by ORDINAL1:def 12;
:c=& h)=NATby :def; then
i1 in dom(h1+c) & java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
i1 in dom((f|I)*(h1+c)) & i1 in dom((f|I)*c) A34 f/*(h+c) =f*(+c) by A29FUNCT_211
i1 in dom((f|I)*(h1+c) (h)= c java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 59
A23: i1 in dom( (f|I)*(h1+c) - (f|I)*c) by VALUED_1:12 dom((c) fcjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
(+) inrng(+)&c.i1in rng c A22,FUNCT_13;
f(c)-f* VALUED_112java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
A26: c.i1 = c.l by A22,(h+c).k in rng(h+c) &in java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
h"i1=()\. SEQM_318 =(h)(i1 java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
:(+. ()&.l f.java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
,:java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 43
l in dom(f*(h+c)) & l in dom(f*c) by A25,A6
l in dom .*(*(c *ckby A345
A29: l in dom( f/*(h+c) - )*(h.-f)) A36VALUED_1:java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
(h1"(#)((f|I)/*(h1+c) - (f|I)/*c) .=(".*(.(+c.k .() A35:12,:3java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
= (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 ) end;
.= (h1").i1 * ( (f|I).((h1+c).i1) - ((f|I)*c).i1 ) by A22,FUNCT_1:13
.=(h1".i1 * fI.(1c.i1)-fI)(.i1 )by A22FUNCT_1:3
.= (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
.= (h").l * be-ero0- ,
.= (h"(#)(f/*(h c Real_Sequence
hence |. (h"(#)(f/*(h+c)-f/ c { }&rng()=domf&
end;
end;
hence h"(#)(f/*(h+c)-f/* for Nathn< )
hence lim(h"(#)(f/*(h+c)-f/*cconvergent;
end;
hence f is_right_differentiable_in x &
Rdiff(f,x) = Rdiff(f|I,xA38: is_left_differentiable_in upper_bound: java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
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) = java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 41
proof
let f be PartFunc of REAL,REAL, I be Interval, x hence Ldiff(f,upper_bound I) = 0 by A38,FDIFF_3:def
;
A1: f|I is_left_differentiable_in
consider r be Real set J = ].inf I,sup I.[
A2: r > 0 & [.x-r,x.] c= dom(f|I) byA39: J Iby Lm13;then
(|)c fRELAT_1:60
A4: [.x-r,x.] c= dom f by A2;
for h be 0-convergent non-zero for x be Real st x in J holds f|J is_differentiable_in x
c proof
(for n be Nat holds h.n < 0) holds
h"(#)(f/*(h+c)-f/*c) is convergent &
lim:x ;
proof
letI <xsup I byXXREAL_14 then
c be constant consider Z be open Subset of REAL such that
assume that
A5 }
A6: rng(h+c) c= dom f and
A7: forconsiderx
consider = java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 32
A8: rng(h^\N + c) c= ].x-r,x. zero-java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 50
(for {x} & ( =(|
for m be Nat st N <= m holds ( |. h.m .| h(#)(f|)*(+)(|J/c is
by proof
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
(|I/(1c)=(| java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 53
A11:A46: c x java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
A12: for n be Nat holds h1.n < 0
proof
let n be Nat;
h1.n = h.(N+n) by NAT_1:def 3;
. <0by;
end; then
h((fJ/h)-fJ/)k-0. java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
XREAL_144
[.x-r,x.] = rng c \/ [.x-r,x.[ by A5,XXREAL_1:129;
A14: A48: 0<p;
A15: rng c c= dom(f|I = 0java.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
A16: rng c c= dom |. (h"(#)((f)(+ fJ/. | <p
A17: f/*c = f*c by FUNCT_2:def 11;
consider g be Real java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 22
A18: for p be Real A49: rng c c= dom(f|A46:;
|. (java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
by,SEQ_2:def6
lim(h1"(#)((f|I)/*(h1+c) - (f|I)/*c)) = g by A47,A41,A42,A46,ZFMISC_1:1FUNCT_2:def 11;
A19: Ldiff(f|I,x) = g by A1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A20: now let p be Real;
assume 0 < p; then
consider M be Nat such that
orl st =
|. (h1"(#)((f|I)/*(h1+c) - (A47A41,A46,31RELAT_1
take K = N+M;
hereby let l be Nat;
K< l
reconsider i = l-(N+M) as Element of NAT
A53: (h+c).k irng(+) &c. in c
= NAT &dom(h+c)=NAT : ; then
i1 in dom(h1+c) & i1 in dom c; then
i1in dom(f)(+c) in(|Ic ,15,RELAT_127;then
i1 in dom((f|I)*(h1+c A,:java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
A23: fJ c=fRELAT_1:
:(c. inrng+c) & .i1inrng by,UNCT_13
A25: l in dom(A55: f.((h+c). ..k= by TARSKI1java.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57
. .l:;
A27: (h1").i1 = ((h")^\N).i1 by SEQM_3:18 .= (=(h)*(|)hc fJ*),java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
A28: f.((h+c).l) = (f*(h+c)).l & f.(c.l) = (f*c)A.(". (|.(+)) (|)*.)
by A22,ORDINAL1:def 12, A51:12,:java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
in(f(+)&l in domfc A,RELAT_127
l in dom( byA51,ORDINAL1:def 12,FUNCT_1:;
29l (f/(+ /):;
(h1"(#)((f|I)/*(h1+c) - (f|I)/*c)).i1
(()fI*c (|Ic)i1by,java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 72
.= (h1").i1 * ((f|I)*(h1+c)-(f|I)*java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 10
h1)i1 *( (fI*h1).-(fI*i1 ) byA23VALUED_1:13
.= (h1").i1 * ( (f|I).((h1+c).i1) - ((f|I)*c).i1 ) by
. fJis_differentiable_inby ,DIFF_2:11java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
.= (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 hence
.= (h").l * ( (f*(h+c)).lA56:fis_differentiable_on_interval by A1,2,A22;
.= (h").l * (f/*(h+c)-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
=()/hc)f*c).byVALUED_1:;
hence |. (h"(#)(f/*(h+c)-f/*c)).l - g .| < p by A21,NAT_1:11;
end;
end;
hence()f*h+)-/c is convergent bySEQ_2def;
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,xthen
end;
Lm9:
for I be hence (`I. =0by A56,,57,,ef2;
ex Z be open Subset of REAL st end;
proof
benonempty, bejava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Range [37, 8) out of bounds for length 37
t
A2: inf I < sup I by XXREAL_0:2;
per cases;
suppose A3: inf I = -infty;
per cases;
suppose A4: sup I = +infty;
.-,x+ . open ofREALjava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
take Z;
x-1
hence x in Z
now let r be Real;
assume r
inf I < forfREAL st
hence r in ].inf I,sup I.[ by XXREAL_1:4;
end;
hence Z c= ].inf I,sup java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 29
end;
I<>+
reconsider s = sup I as Real by A1,A3,XREAL_0:defjava.lang.StringIndexOutOfBoundsException: Range [0, 56) out of bounds for length 15
A5: x-1 < x by XREAL_1:44;
reconsider Z = ].x-1,s.[ as open Subset of REAL;
take Z;
xin Z A5,1,XREAL_1:4;
now let r be Real;
assume r in Z; then
inf I < r < sup I by A3,XXREAL_0:6,XXREAL_1:4;
hence r in ].inf I,sup I.[ by XXREAL_1:4;
end;
hence Z c= ].inf I,sup I.[;
end;
end;
suppose A6: inf I <> -A5 =x0
A7: -infty < inf I by XXREAL_0:6;
I< java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 40
reconsider i = inf I as rngsc x0 /\ dom fbyXBOOLE_1:java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
per cases;
suppose A8: sup I = +infty;
consider q be Real such that
A9 q by XREAL_1:;
reconsider Z = ].i,q.[ as open Subset of REAL;
take Z;
thus x in Z by A1,A9,XXREAL_1:4;
now let r be Real;
assume r in Z; then
,XXREAL_0:9,XXREAL_14
hence r in ].inf I,sup I.[ by XXREAL_1:4;
end;
hence Z c= ].inf I,sup I.
end;
suppose sup I <> +infty; then
=sup as byA7A,1:;
reconsider Z = ].i,s.[ as open Subset of REAL;
;
thus x in Z by A1,XXREAL_1:4;
thus Z c= ].inf I,sup I.[;
end;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
end;
theorem Th11:
for f be PartFunc of REAL holds /s &f. =lim(f/s
f is_differentiable_on_interval I f is_differentiable_on_interval I iff
(I s be;
(x = inf I implies f|I is_right_differentiable_in x) &
(x = sup I implies f|I is_left_differentiable_in x) &
I.[ implies f is_differentiable_in x))
proof
let f be PartFunc of REAL,REAL, I be non empty Interval;
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 17
A1: f is_differentiable_on_interval I;
c java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 22
hus for x be x in I holds
( inf implies |I is_right_differentiable_in x) &
(x = sup I implies f|I is_left_differentiable_in x) &
(x in ].inf I,sup I.[ implies f is_differentiable_in x)
proof
assume
A2: x in I;
thus x = inf I implies f|I is_right_differentiable_in x
proof
assume A3: x = inf I; then
f is_right_differentiable_in x by A1,A2,Lm5;
hence f|I is_right_differentiable_in x by A1,A2,A3,Th4;
end;
thus x = sup I implies f|I is_left_differentiable_in x
proof
assume A4: x = sup I; then
f is_left_differentiable_in x by A1,A2,Lm6;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
end;
assume x in ].inf I,sup I.[; then
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 java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 16
hence f is_differentiable_in x by A5,FDIFF_1:9;
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 9
end;
assume that
A6: I c= dom f and
A7: for x be Real st x in I holds
( =infI impliesf| x) &
(x = sup I implies f|I is_left_differentiable_in x) &
(x in ].inf I,sup I.[ implies f is_differentiable_in x);
A8: now assume inf I = sup I; then
A9: I = {inf I} by XXREAL_2:70; then
A10: inf I in I by ZFMISC_1:31; then
reconsider x = inf I as Real;
f|I is_right_differentiable_in x by A7,A10; then
consider r A7I in I;then
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;
x rbyXjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 37
+r in {inf }by A,1java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
hence contradiction by A13,TARSKI:def 1;
end;
A14: inf I <= supc constant st
A15:inf I in I implies f is_right_differentiable_in I
proof
assume A16: inf I in I; then
inf I = lower_bound I by Lm5; then
f|I is_right_differentiable_in lower_bound I by A16,A7;
hence f is_right_differentiable_in lower_bound I by Th9;
endjava.lang.StringIndexOutOfBoundsException: Range [8, 9) 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 in I; then
sup I = upper_bound I by Lm6; then
f|I is_left_differentiable_in upper_bound I by A18,A7;
hence f is_left_differentiable_in upper_bound I by Th10;
end;
A19: now let a be set;
assume A20:a in ].inf I,sup I.[; then
reconsider a1=a as Real;
<a1 <sup I by A20,XREAL_1:4;
hence a in I by XXREAL_2:83;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
21:]inf I,up I[c=Iby Th2;
A22: ].inf I,sup I.[ c= dom f by A6,A19;
set J = ].inf I,
for x be Real st x in ].inf I,sup I.[ holds
|]iIsupI[ x
proof
let x be Real;
assume A23: x in ].inf I,sup I.[; then
f is_differentiable_in x by A7,A21; then
consider N1 be Neighbourhood of x such that
A24: N1 c= dom f &
ex L be LinearFunc, R be RestFunc st
for p be Real st p in N1 holds f.p - f.x = L.(p-x) + R.(p-x);
hereby let k be Nat;
proof
per cases;
suppose A25: inf I = -infty;
consider r1 be Real such that
<x by XREAL_12;
take r1;
thus inf I < r1 < x by A25,A26,XXREAL_0:12,XREAL_0:def 1;
end;
suppose A27:inf I <> -infty;
A28: inf I < x by A23,XXREAL_1:4; then
inf I <> +infty by XXREAL_0:A21: * = f*c by A1,A7,,12,FMISC_1:,FUNCT_2:java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 62
inin REALby A27,XREAL_014 then
reconsider iI = inf I as Real;
consider r1 be Real such that
29 A28,REAL_1:;
take r1;
thus inf I < r1 < x by A29;
end;
end; then
consider r1 be Real such that
A30: inf I < r1 < x;
ex r2 be Real st x < r2 < sup I
proof
per cases;
suppose A31: sup I = +infty;
consider r2 be Real such that
A32: x <r2 by XREAL_11;
take r2;
thus x < r2 < sup I by A31,A32,XREAL_0:def 1,XXREAL_0:9;
end;
suppose A33: sup I <> +infty;
A34: sup I > x by A23,XXREAL_1:4; then
up I < infty XXREAL_0:;then
sup I in REAL by A33,XXREAL_0:14; then
reconsider sI = sup I as Real;
consider r2 be Real such that
A35: x < r2 < sI by A34,XREAL_1:5;
take r2;
thus x < r2 < sup I by A35;
end;
consider r2 be Real such that
A36: x < r2 < sup I;
A37: x-r1 > 0 & r2-x > 0 by A30,A36,XREAL_1:50;(h+.in[lower_bound I, +e.] :1;
set rr =30: f.(h+c.)=(hc)k &f(c.)=c. by ,A28,9A20;
reconsider N2 = ].x-rr,x+rr.[ as Neighbourhood of x
yA37,:21,RCOMP_1:def 6;
r1 <= x-rr & x+rr <= r2 by XXREAL_0:17,XREAL_1:11,19; then
A38: ].x-rr,x+rr.[ c= ].r1,r2.[ by XXREAL_1:46;
A39: ].r1,r2.[ c= ].inf I,sup I.[ by A30,A36,XXREAL_1:46;
consider N be Neighbourhoodx such that
A40: N c= N1 & N c= N2 by RCOMP_1:17;
c dom &N c A24,38,,40 then
dom f \byXBOOLE_119
A41: N c= dom(f|J) by RELAT_1:61;
consider L be LinearFunc, R be RestFunc such that
A42: . (h.k"*(. by :java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
for p be Real st p in N holds (f|J).p - (f|J).x = L.(p-x) + R.(p-x)
proof
let p be Real;
assume
A43: p in N;
x in N by RCOMP_1:16; then
(f|J).p = f.p & (f|J).x = f.x by A41,A43,FUNCT_1:47;
hencelim("(#(f/(h+) f/*))= 1by A15,EQ_2
end;
hence end;
end; then
f is_differentiable_on ].inf I,sup I.[ by A22;
hence f is_differentiable_on_interval I by A6,A14,java.lang.StringIndexOutOfBoundsException: Range [0, 57) out of bounds for length 9
end;
theorem
for f be PartFunc of REAL,REAL, I be non empty Interval st I is open_interval
f is_differentiable_onis_differentiable_on_intervalI
proof
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 60
assume Ih((/(+) /c) is convergent;
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 java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 45
hence f (for n be Nat holds )holds
end;
Lm10:
for X be set st X is Subset of REAL holds X is Subset of ExtREAL
proof
let X be set;
assume A1: X is Subset of REAL;
bool REAL c= bool ExtREAL by NUMBERS:31,ZFMISC_1:67;
hence thesis by A1;
end;
Lm11:
java.lang.StringIndexOutOfBoundsException: Range [14, 3) out of bounds for length 47
I is closed_interval: I= upper_bound I by Lm6
proof
let I be non empty Interval;
assume A1: inf I in I;
A2: now assume I is open_interval; then
consider a,b pper_bound I-,upper_bound]c I by A33,A2,Lm15;
A3: I = ].a,b.[ by MEASURE5:def 2;
nf I A3,XXREAL_1:28,XREAL_2:28;
hence contradiction by A1,A3,XXREAL_1:4;
end;
now assume
is ; then
consider a be R_eal, b be Real such that
A4: I = ].a,b.] by MEASURE5:def 5;
inf I = a by A4,XXREAL_1:26, rng c = {upper_bound I} & rng(h+cf&
hence contradiction by A1,A4,XXREAL_1:2;
end;
hence thesis by A2,MEASURE5:1;
end;
Lm12:
for I be non empty Interval st sup I in I holds
I is closed_interval or I is left_open_interval
proof
let I be non empty Interval;
assume A1: sup I in I;
A2: now assume I is open_interval; then
consider a,b be R_eal such that
A3: I = ].a,b.[ by MEASURE5:def 2;
sup I = b by A3,XXREAL_1:28,XXREAL_2:32;
hence contradiction by A1,A3,XXREAL_1: rngc { }and
end;
now assume
I is right_open_interval; then
consider a be Real, b be R_eal such that
A4: I = [.a,b.[ by MEASURE5:def 4;
A41: for p be Real st 0 < p
hence contradiction by A1,A4,XXREAL_1:3;
end;
hence thesis by A2,MEASURE5:1;
end;
m13
for I be non empty Interval holds ].inf I,sup I.[ c= I by Th2;
Lm14:
for I be non empty Interval st inf I in I & inf I < sup I
ex e be Real st e > 0 & [.lower_bound I,lower_bound I+e.] c= I
proof
let I be non empty Interval;
assume that
1: inf I I and
A2: inf I < sup I;
A3: inf I = lower_bound I by A1,Lm5;
I is non empty Subset of ExtREAL by Lm10; then
consider q be Element of ExtREAL A43: m be stN < h | h.m - 0 .| < e by A35,SEQ_2def;
A4: q in I & inf I < q by A2,XXREAL_2:94;
reconsider q as Real by A4;
take e = q - lower_bound I;
thus e > 0 by A3,A4,XREAL_1:50;
thus [.lower_bound I, lower_bound I+e.] c= I
proof
per cases by A1,Lm11;
suppose I is closed_interval; then
A5: I = [.inf I,sup I.] by MEASURE6:17;
q <= sup I by A4,A5,XXREAL_1h.k - 0 0 by A40
hence [.lower_bound I,lower_bound I+| h.k -0 |=-(.-)by ABSVALUE:30;then
end;
suppose I is right_open_interval; then
A6::18;
q < sup I by A4,A6,XXREAL_1:3;
hence
end;
end;
end;
Lm15:
java.lang.StringIndexOutOfBoundsException: Range [39, 3) out of bounds for length 57
ex e be Real st e > 0 & [.upper_bound I-e,upper_bound I.] c= I
proof
I be empty Interval;
assume that
A1: sup I in I and
A2: inf I < supk in hc in: 12;
A3: sup I k dom(*h+)&k in (*)
I is non empty Subset of ExtREAL by Lm10; then
qbejava.lang.StringIndexOutOfBoundsException: Range [28, 25) out of bounds for length 46
<I X:
A50: k in dom(f*(h+c) - f*c) by VALUED_1:12;
take e = upper_bound I - q;
thus e > 0 by A3,A4,XREAL_1:50;
thus [.upper_bound I-e, upper_bound I.] c= I
proof
per cases by A1,Lm12;
suppose I is closed_interval; then
A5: I = [.inf I,sup I.]
inf I <= q by A4,A5,XXREAL_1:1;
hence [.upper_bound I-e,upper_bound I.] c= I by A3,A5,XXREAL_1:34;
end;
suppose I A55: (h+c).k = h.k + c.k by A49,ORDINAL1:def 12,VALUED_1:def 1;
A6: I = ].inf I,sup I.] by MEASURE6:19;
inf I < q by A4,A6,XXREAL_1:2;
[u I-,java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 72
end;
end;
nd
theorem
for f (()f/(+ /c).java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
f is_right_differentiable_in x0 & rng f = {r} holds Rdiff(f,x0) = 0
roof
let f be PartFunc of REAL,REAL, x0,r be Real;
assume that
A1: f is_right_differentiable_in x0 and
A2: rng f = {r};
A3:e be Real st e> &[x0,x0+f A1FDIFF_3:def3;
for h be non-zero 0-convergent Real_Sequence, c be constant Real_Sequence
st rng c = {x0} & rng(h+c) c= dom f & (for n be Nat holds h.n>0) holds
h"(#)(f/*(h+c) -hence | (h()f*c)-f/*))- 1 . java.lang.StringIndexOutOfBoundsException: Range [54, 55) out of bounds for length 54
lim (h"(#)(f/*(h+c) - f/*c)) = 0
proof
h be non-0-convergent, c be constant ;
assume that
:rngc x
A5: rng(h+c) c= dom f and
A6: for n be Nat holds h.n>0;
thus
h")f*hc f*)is convergentA1,A4A5,6FDIFF_3:def 3
consider e be Real such that
A8: e > 0 & [.x0,x0+e.] c= dom f by A1,FDIFF_3:def 3;
for p be Real st 0<p ex n be Nat st for m be Nat (or bNat holds .<0)
|. (h h"#)(/(h+)-f
proof
let p be Real;
assume
A9: 0 < p;
take n = 0;
hereby let m be Nat;
assume n <= m;
x0 < x0+e by A8,XREAL_1:29; then
A10: x0 in [.x0,x0+e.] by XXREAL_1:1; then
A11: rng c c= dom f by A8,A4,ZFMISC_1:31;
A12:f/(+)=f*h+c) &* fc
by A5,A8,A4,A10,ZFMISC_1:31,FUNCT_2:def 11;
java.lang.StringIndexOutOfBoundsException: Range [6, 3) out of bounds for length 58
m
m)indom(*)
A10A8,,3R:27 then
m in A60: dom(f|J) = J by RELAT_1:62;
A14: m in dom( f*(h+c) - f*c ) by VALUED_1:12;
cm rnghc c
ORDINAL1def12F3 then
f.((h+c).m) in rng f & f.(c.m) in rng f by A5,A11,FUNCT_1:3; then
f.((h+c).m) = r & f.(c.m) = r
A15: (f*(h+c)).m = r & (f*c).m = r by A13,ORDINAL1:def 12,FUNCT_1:13;
(h"( nd
= (h").m * (f*(h+c) - f*c).m by A12,java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 0
.= (h").m * ((f*(h+c)).m
hence |. (h"(#l ;
end;
end
A63: xin J;then
end;
hence Rdiff(f,x0) = 0 by A3,FDIFF_3:15;
end;
theorem
for f be PartFuncjava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 47
f is_left_differentiable_in x0 & rng f c=domf| ,,java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Range [9, 5) out of bounds for length 50
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 49
assumerngc x+ = |)
A1: f is_left_differentiable_in h()((J/(c-fJ/* convergent
A2: rng f = {r};
A3:A3: java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34
hbe non-0convergentReal_Sequence cbe constant Real_Sequence
st rng c = {x0} & rngA68: rng(c) f)
h"(#)(f/*(h+c) - f/*c) is convergent forbe p
lim (h"(#)(f/*(h+c) - f/*c)) = 0
let h be non-zero 0-convergent Real_Sequence, cproof
assume let p be;
A4: rng c = {x0} and
A5: rng(h+c) c= dom f and
A6: for n be Nat holds h.n<0;
thus
A7: h"(#)(f/*(h+c) - f/*c) is convergent .(()(fJ/() (/c)k |
consider e be Real such that
A8: e > 0 & [.x0-e,x0.] c= dom f by A1,FDIFF_3:def 4;
for p be Real st 0<p ex n be Nat st for m be Nat st n <= m holds
|. (h"(#)(f/*(h+c) - f/*c)).m - 0 .| < p
proof
let p be Real;
assume
0
take n = 0;
hereby let m be Nat;
assume n <= m;
x0-e < x0 by java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 69
A10: x0 in [.x0-e
A11: rng c c= dom f by A8,A4,ZFMISC_1:31;
A12: f/*(h+c) = f*(h+c) & f/*c = f*c
SC_1FUNCT_2def11java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
A13: dom(h+c) = NAT & dom c = NAT by FUNCT_2:def 1; then
m in dom(h+c) & m A76: h+c-c = h by A72,Th6;
m in dom(f*(h+c)) & m in dom(f*c)
by A5,A10,A8,A4,ZFMISC_1:31,RELAT_1:27; .in byO123java.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
m in dom(f*(h+c)) /\ dom(f*c) by XBOOLE_0:def 4; then
A14: m in dom( f*(h+c) - f*c ) by .= (h").k * (((f|J)*(h+c)).k - )*c).) 13
(h+c).m in rng(hby java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 45
A13ORDINAL1def 12,FUNCT_1:3; then
f.((h+c).m) in rng f & f.(c.m) in rng f by A5,A11,FUNCT_1:3; java.lang.StringIndexOutOfBoundsException: Range [0, 72) out of bounds for length 64
f.((h+c).m) = r & f.(c.m) = r by A2,TARSKI:def 1; then
A15: (f*(h+c)).m = r & (f*c).m = r by A13,hence |. (h"(#)((f|J)/*(h+c) - (f|J)/*c)).k - 1 .| < p
(h"(#)(f/*(h+c) - f/*c)).m
= (h").m * (f*(h+c) - f*c).m by A12,hence h"(#)((f|J)/*(h+c)-(f|J)/*c) is convergent by SEQ_2:def 6;
.= (h").m * ((f*(h+c)).m - (f*c).m) by A14,VALUED_1:13;
hence |. (h"(#)(f/*(h+c) - f
end;
end;
h#f*c /) A7java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
;
hence Ldiff(f,x0) = 0 by proof
end;
theorem Th15:
for f be PartFunc of REAL,REAL, I be non empty Interval st
I c= dom f java.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 35
end
for x be Real st x in I holds (f`\I).x = 0
proof
let f be PartFunc of REAL,REAL, I be non empty java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 49
assumeA82 >I& < java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 47
A1: I c= dom f and
A2: inf I < sup I and
A3: ex java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 47
A84 in & .nfs[by;
A4: rng f = {r =,,
A5: now assume
A7: inf I =java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
consider e be Real such that
> .java.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 67
e>0&[, I+. = java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 65
on -,
c be constant Real_Sequence st
rng c = {lower_bound I} & rng(h+c)fZ)p fI.by,java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
(for n be Nat holds h.n > 0) holds
h"(#)(f/*(h+c) - f/*c) is convergent
& lim (h"(#)(f/*(h+c) - f/*c)) = 0
proof
hnonz0 java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
c be constant Real_Sequence;
assume that
A11: rng c = {lower_bound I} and
A12: rng(h+c) c= dom f and
for n be Nat holds h.n > 0;
A13: for p
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 62
|. (h"(#)(f/*(h+c) - f/*c)).k - 0 .| < p
proof
let p be Real;
assume
A14: 0 < p;
take N=0;
hereby let k be Nat;
assume N <=proof
A15: rng c c= I by A6,A7,A11,ZFMISC_1:31;
java.lang.StringIndexOutOfBoundsException: Range [43, 3) out of bounds for length 62
A17:
A18: 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 java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 66
by A12,A1,A6,A7,java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 19
k in dom(f*(h+c)) /\ dom(f*c) Jjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 62
A19: k in dom(f*(h+c) - f*c) by VALUED_1:12;
)rngh+ kin rng c
by A18,ORDINAL1:def e;
f.((h+c).k) in rng f & f.(c.k) in rng f by A1,A12,A15,FUNCT_1:3; then
A20: f.((h+c).k) = r & f.(c.k) = r by A6: f1+f2 is_differentiable_on_intervalI
h()f/(+)-f/*c))k
= (h").k * (f*(h+c) - f*c).k by A16,A17,VALUED_1:5
k f.)by ,ALUED_113
.= (h").k dom(f1`\)=I &domf`I ,A3,Def2
.= (h").k *
|("#(/(c f/*). - 0.|<
by A20,A14,COMPLEX1:44;
end;
end;
hence h"(#)(f/*(h+c) - f/*c) is convergent by SEQ_2:def 6;
hence lim(h"(#)(f/*(h+c) - f/ roof
;then
for h be non-zero 0-convergent java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
tant Real_Sequencest
rng
(for n be Nat holds
h"(#)(f/*(h+c) - f/*c) is convergent;
hence
A21: f is_right_differentiable_in lower_bound I by A9,FDIFF_3:def 3;
for h be non-zero 0-java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 12
c be constant Real_Sequence st
= }&rng(+)c f &
(for n be Nat holds h.n > 0) holds
lim (h"(#)(f/*(h+c) - f/*c)) = 0 by A10;
hence Rdiff(f,lower_bound I) = 0 by A21,FDIFF_3:def 6;
end;
A22: now assume
A23: sup I in I; then
A24: sup I = upper_bound I by Lm6;
consider e be
A25: e > 0 & [A17: f1`I. =diff(1x)& (f2`\I).x = diff(f2,x) &
A26: e > 0 & [.upper_bound I-e,upper_bound I.] c= dom f by A25,A1;
A27: for h be non-zero 0-convergent bjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 43
c be constant Real_Sequence st
rng c = {upper_bound I} & rng(h+c) c= dom f &
(for n be Nat holds _n &f2 Z&
h"(#)(f/*(h+c) - f/*c) is convergent
=0
proof
let h be non-zero 0-convergent Real_Sequence,
be constantReal_Sequence;
assume that
28 rngc =java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 34
A29: rng(h+c) c= dom f and
for n be Nat holds h.n < 0;
A30: for p be Real st 0 < p
N be fork Natst N < k holds
|. (h"assume
proof
let p be Real;
assume
java.lang.StringIndexOutOfBoundsException: Range [10, 3) out of bounds for length 14
take N=0;
hereby let k be Nat;
assume N <= k;
c f,,java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 53
A33: f/*c = f* f2 Iholds
A34: f/*(h+c) = f*(h+c) by A29,FUNCT_2:f1-f2 is_differentiable_on_interval java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
)=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 k in dom(f*(h+c)) & k in
let f1,f2 be PartFuncof REAL,EAL be non empty Interval;
k in dom(f*(h+c)) /\ dom(f*c) by XBOOLE_0:def 4; then
A36: k in dom(f*(h+c) - f*c) by VALUED_1A1: (1-)and
(h+c).k in rng(h+c) & c java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 40
by A35,ORDINAL1:def 12,FUNCT_1:3; then
f.((h+c).k) in rng f & f.(c.k) in rng f by A29,A32,FUNCT_1:3; then
A37: f.((h+c).k) = r & f.(c.k) = r by A4,TARSKI:def 1;
h()f/(+) -*).java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
= (h").k * (f*(h+c) - f*c).k by A33,A34,VALUED_1:5
.= (h").k * ((f*(h+c)).k - (f*c).k) by A36,VALUED_1:13
.= (h").k * (f.((h+c).k) - (f*c).k) by A35,ORDINAL1:def 12,java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 19
.= (h").k * (f.((h+c).k) -|java.lang.StringIndexOutOfBoundsException: Range [33, 30) out of bounds for length 62
hence |. (h"(#)(f/*(h+c) - f/*c)).k - 0 .| < p
by A37,A31,COMPLEX1:44;
end;
end;
hence h"(#)(f/*(h+c) - f/*c) is convergent by SEQ_2:def 6;
hence lim(h"(#)(f/*(h+c) - f/*c)) = 0 by A30,SEQ_2:def 7;
end;
then
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 &
(or n be .<0)holds
h" dom( f2I byA2,,;then
hence
A38: f is_left_differentiable_in upper_bound I by A26,FDIFF_3:def 4;
for h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence st
rng c = {upper_bound Ilet be REAL;
(for n be Nat holds h.n < 0) holds
h()f*hc java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 48
hence Ldiff(f(f2)I. =(I -`\I. A7A8,java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 72
end;
set J = ].inf I,sup I.[;
c byLm13t
A40:(-\)= f,)A16,A2,3A;
A41: dom(f|J) = J by RELAT_1:62;
for x be Real st x in J holds f|J is_differentiable_in x
proof
let x be Real;
A20: ((f1-f2)`|J).x = diff(f1,x) - diff(f2,x)
A42: x in J; then
inf I < x by A2,A3,A4,18,FDIFF_1:19,:4;
A43f1- is_differentiable_onJ
consider N be Neighbourhood of x such that
A44: N c= Z by A43,RCOMP_1:18;
A45: N c= dom(f|J) by A41,A43,A44;
for h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence st
rng c = {x} & rng(h+c) c= java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 19
h"(#)(hence (f1-f2)\)x =(f1`\). -(2\I.xby A21,A8,VALUED_1:3;
proof
let h be non-zero 0-convergent java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 4
c be constant Real_Sequence;
assume that
A46: rng c = {x} and
A47: rng f is_right_differentiable_in x0 holds
st p
ex N be Nat st for k be Nat st N <= proof
| let PartFuncofREAL,;
proof
let p be f x0;
assume
A48: 0 < p;
N ;
thus for k be Nat st N <= k holds
|. (h"(#)((f|J)/*(h+c)A3:x0 [x0e]by1java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
proof
let k be Nat;
assume N <= k;
A49: rng c c= dom(f|J) by A41,A42,A46,ZFMISC_1:31;
A50: (f|J)/*(h+c) = (f|J)*(h+c) & (f|J)/*c = (f|J)*c
by A47,A41,A42,A46,ZFMISC_1:31,FUNCT_2:def 11;
A51: dom(h+c) = NAT & dom c = NAT by FUNCT_2Ajava.lang.StringIndexOutOfBoundsException: Range [16, 10) out of bounds for length 52
in dom(+c)& k in dom c by ORDINAL1:ef ; then
k in dom(f|*hc))&dom(|)cjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
by A47 ;
k in dom((f|J)*(h+c)) /\ dom((f|J)*c) by XBOOLE_0:def 4; then
A52: k in dom((f|J)*(h+c) - (f|J)*c) by VALUED_1:12;
A53: (h+c).k in rng(h+c) & c.k in rng c
by A51,ORDINAL1:def 12,FUNCT_1:Nat .>0;
A54: (f|J).((h+c).k) = f.((h+c).k) & (f|J).(c.k) = f.(c.k)
by A49,A47,FUNCT_1:47;
dom(f|J) c= dom f by RELAT_1:60; then
)in rng f by A53,49,F:;then
A55: f.((h+c).k) = r & f.(c.k) java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(h"(#)((f|J)/*(h+c) - (f|J)/*|.h()((#)*h+)- (r(f/c)m-r*diff(x0).| <p
= (h").k * ((f|J)*(h+c) - (f|J)*c).k by A50,VALUED_1:5
.= (h").k * (((f|J)*(h+c)).k - ((f|J)*c).k) by p java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
.= (h").k * ((f|J).((h+c).k) - ((f|J)*c).k)
by A51,ORDINAL1:def 12,java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
.= (h").k * ((f|J).((h+c).k) - (f|A14:for=
by A51,ORDINAL1 |("()f/*(+ /c)m-Rdiff,x0| p/v
hence |. (h byA11,A12,EQ_2:def
by A48,A54,A55,COMPLEX1:44; taken;
end;
end;
hence h"(#)((f|J)/*(h+c)-(f|J)/*c) is convergent by SEQ_2:def 6;
end;
hence f|J is_differentiable_in x by A45,FDIFF_2:proof
end; then
f is_differentiable_on J by A40;
hence
A56: f is_differentiable_on_interval I by A1 |(")f/(hc)-f*).-fx0). <vby ;
thus for x be Real st x in I holds (f`\I).x = 0
proof
let x be Real;
assume A57: x in I;
per cases;
suppose A58: x = inf I; then
x = lower_bound I by A57,Lm5;
(`I. =0by A56,A5,A57,58Def2;
end;
suppose A59: x = sup I; then
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;
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 53
inf I < x < sup I by A60,XXREAL_0:1; then
consider.x0,+e java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 45
A62: x in Z & Z c= ].inf I,sup I.[ by Lm9;
A63: Z c= dom f by A1,A62,A39; then
f Z for beReal st x in Z olds(`Z.
A3F:;
(f`|Z).x = 0 by A62,A63,A3,FDIFF_1:11
ce(`I). =0byA61,62,64 7;
end;
end;
end;
theorem
for f be PartFunc of REAL,REAL, x0 be Real st
end;
holds f is_continuous_in x0
proof
bePartFuncof ,EAL,x0 java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 47
assume that
A1: dom f c= left_open_halfline x0 and
A2: f end;then
for s be Real_Sequence st rng s c= dom f & s is convergent & lim s = x0
holds f/*s is rng c = {x0} & rng(h+c) dom(r(#f) &
proof
let s be Real_Sequence;
ssume
A3: rng s c= hence Rdiff(r(f,0 r * Rdifff,)by ,DIFF_3def6
A4: s is convergent and
A5: lim s = x0;
rng s c= left_open_halfline x0 by A1,A3; then
rng s c= left_open_halfline x0 /\ dom f by A3,XBOOLE_1:19;
hence f/*s is convergent & f.x0 = lim(f/*s) by A4,A5,A2,FDIFF_3:def 1;
end;
hence f is_continuous_in x0 by FCONT_1:def 1;
end;
theorem
for f be PartFunc of REAL,REAL, x0 be Real st
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, x0 be Real;
A1: dom f c= right_open_halfline x0 and
A2: f is_Rcontinuous_in x0;
for s be Real_Sequence st rng s c=3:v >0byA1,OMPLEX1:47;
holds f/*s is convergent & f.x0 = lim(
proof
let s be Real_Sequence;
assume that
A3: rng s c= dom f and
A4: s is convergent and
A5: lim =x0;
rng s c= right_open_halfline x0 by A1,A3; then
rng s c right_open_halfline x0/ dom f by A3,XBOOLE_119
hence f/*s is A6: e > 0 & [.x0-e,x0.] c= dom f by A2,FDIFF_3:def 4;
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
terval &
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 = dom f
A2: inf I < sup I and
A3: f|I = id I;
A4: for x be set st x (hc)c= dom(())and
proof
let x be set;
assume A5: x in I; then
(f|I).x = f.x by : h"(#)(f/*(h+c) - f/)is convergentby ,A8,9,A10F: 4;
hence f.x = x by A3,A5,FUNCT_1:17;
end;
A6: now assume
A7: inf I in ; then
A8: inf I = lower_bound I by Lm5;
consider e be Real such that
java.lang.StringIndexOutOfBoundsException: Range [49, 2) out of bounds for length 67
A10: e >0 & [lower_boundI,lower_boundI+.] c=dom f by A1,A9;
A11: for h be non-zero 0-convergent Real_Sequence,
c be let p be Real;
rng c = {lower_bound I} & rng(h+c) c= dom f &
(for n be Nat holds h.n > 0) holds
h"#(f/*(+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;
java.lang.StringIndexOutOfBoundsException: Range [20, 6) out of bounds for length 17
A12: c = {lower_bound I} and
A13: rng(h+c) c= dom f and
A14:java.lang.StringIndexOutOfBoundsException: Range [11, 2) out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Range [27, 3) out of bounds for length 29
ex N be Nat st for k be Nat st .h"(#((r()/(+c) -(r())*)). -r*(,0)|<p
|proof
proof
be;
assume
A16: 0 < p;
is&lim h ;then
consider N be Nat such that
< A9S ;
take N;
hereby let k be Nat;
assume A18java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
h.k - 0 > 0 by A14; then
|h.k :;then
A19: 0 < h.k < e by A17,A14,A18;
A20: rng c c= I by A7,A8,A12,ZFMISC_1:31;
A21: f/*c = f*c by A1,A7,A8,A12,ZFMISC_1:31,FUNCT_2:def 11;
A22: f/*(h+c) = f*(h+c) java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
A23: dom(h+c) = NAT & dom c = NAT by FUNCT_2:def 1; then
k in dom(+)&kin dom c by ORDINAL1:ef 12;then
k in dom(f*(h+c)) & k in dom(f*c)
A12,:R27
k AA,: ,:; hen
A24: k in dom(f*(h+A18: r()(/(+c) = (()f)/(+c)&r()(f/c r#f/*c
A25: dom h = NAT by FUNCT_2:def 1; then
A26: h+c-c = h by A23,Th6;
A27: h.k in rng h by A25,ORDINAL1:def 12,FUNCT_1:3;
A28: (h+ thesis by A15,16A17,ORDINAL1:def 12,VALUED_1:def 5;
A29: (h+c).k = h.k + c.k by A23,ORDINAL1:def 12,VALUED_1:def 1;
c.k = lower_bound I by A28,A12,TARSKI:def 1; then
lower_bound I < (h+c).k < lower_bound I + e by A19,A29
,XREAL_1:8,29; then
(h+c).k in [.lower_bound I,lower_bound I+e.] by XXREAL_1:1; then
java.lang.StringIndexOutOfBoundsException: Range [38, 3) out of bounds for length 63
(h"(#)(f/*(h+c) - f/*c)).k
= (h").k * (f*(h+c) - f*c).k by A21,A22,VALUED_1:5
.= (h").k * ((f*(h+c)).k - (f*c).k) by A24,VALUED_1:13
.= (h").k * (f.((h+c).k) - (f*c).k) by A23,ORDINAL1:def 12,FUNCT_1:13
.= (h").k * ((h+c).k - c.k) rng c = {x0} & rng(h+c) c= dom(r(#)f) &
.= (h").k * (h.k) by A25,A26,ORDINAL1:def 12,VALUED_1:13
.= (h.k)" * (h.k) by VALUED_1:10
.= 1 by A27,XCMPLX_0:def 7;
hence |. (h"(#)(f/*(h+c) - f/*c)).k - 1 .| < p
by A16,COMPLEX1:44;
end;
hence h"(#)(f/*(h+c) - f/*c) is convergent by SEQ_2:def 6;
hence lim(h"(#)(f/*(h+c) - f/*c)) = 1 by A15,SEQ_2:def 7;
end;
then
for h be non-zero 0-convergent Real_Sequence,
ence
rng c = {lower_bound I} & rng(h+c) c= dom f &
(for n be Nat holds h.n > 0) holds
h"(#)(f/*(h+c) - f/*c) is convergent;
hence
A31forfbe java.lang.StringIndexOutOfBoundsException: Range [30, 25) out of bounds for length 48
for h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence st
rng c = {lower_bound I} & rng(h+c) c= dom f &
(for n be Nat holds h.n > 0) holds
lim (h"(#)(f/*(h+c) - f/*c)) = 1 by A11;
hence Rdiff(f, I)= 1by ,FDIFF_3def ;
end;
A32: now assume
A33: sup I in I; then
A34: sup I = upper_bound I by Lm6;
consider e be Real such that
A35: e > 0 & [.upper_bound I-e,upper_bound I.] c= I by A33,A2,Lm15;
A36: e > 0 & [.upper_bound I-e,upper_bound I.] c= dom f by A1,A35;
A37: for h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence st
rng c = r(#) is_left_differentiable_in x0 & Ldiff(r(#)f,x0) = r*Ldiff(f,x0)
(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 nonzero 0- ,
c be constant Real_Sequence;
assume that
A38: rng c {upper_bound }and
A39: rng(h+c) c= dom f and
A40: for n be Nat holds h.n < 0;
A41: for p be Real Ldiff((#,0)=r*(f,x0)by Lm17;
ex N be Nat st for k be Nat st N <= k holds
|. (h"(#)(f/*(h+c) - f/*c)).k - end;
proof
let p be Real;
assume
A42: 0 < p;
h is convergent & lim h = 0; then
consider N be Nat such consider N be Nat such that
A43: for m be Nat st N <= m holds |. r(#f is_differentiable_on_interval
take N;
hereby let k be Nat;
assume A44: N <= k;
h.k - 0 < 0 by A40; then
|.h. -0.| -h.-0)by ABSVALUE:; then
- h.k < e by A44,A43; then
A45: -e < h.k < 0 by A40,XREAL_1:25;
java.lang.StringIndexOutOfBoundsException: Range [33, 3) out of bounds for length 46
A47: f/*c = f*c by A1,A33,A34,A38,ZFMISC_1:31,FUNCT_2:def 11;
A48: f/*(h+c) = f*(h+c) by A39,FUNCT_2:def 11;
A49: 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
in (*(h+c))&kin dom(f*c)
by A39,A1,A33,A34,A38,ZFMISC_1:31,RELAT_1:27; then
k in dom(f*(h+c)) /\ dom(f*c) by XBOOLE_0:java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 38
A50: k in dom(f*(h+c) - f*c) by VALUED_1:12;
A51: dom h = NAT by FUNCT_2:def 1; then
A52: h+c-c = h by A49,Th6;
A53: h. in rng by A51,ORDINAL1:def12,UNCT_13;
(k hc & c.k in rng cby ,RDINAL1dFUNCT_13;
A55:(+).+. A49,ORDINAL1def 12VALUED_1:ef 1;
cA A1,h21,Th22V:java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 42
upper_bound I-e < (h+c).k < upper_bound I by A45,A55,XREAL_1:8,30; then
A: r#(`I) java.lang.StringIndexOutOfBoundsException: Range [42, 35) out of bounds for length 42
A56: f.((h+c).k) = (h+c).k & f.(c.k) A7: for x be Element of st x in dom(r()f)\I) holds
).
= (h").k * (f*(h+c) - f*c).k by A47,A48,VALUED_1:5
.= (h").k * ((f*(h+c)).k - (f*c).k) by A50,VALUED_1:13
.= (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) by A51,A52,ORDINAL1:def 12,VALUED_1:13
.= (h.k)" * (h.k) by VALUED_1:10
.= 1 by A53,XCMPLX_0:def 7;
hence |. (h"(#)(f/*(h+c) - f/*c)).k - 1 .| < p
by A42,COMPLEX1:44;
end;
end;
hence h"#(/+c)- f/c) is convergent by :def 6;;
hence lim(h"(#)(f/*(h+c) - f/*c)) = 1 by A41,(((#f`\I).x =r(f`\I)x by A1,8,4Def2,A10,11A12,Th21;
end;
then
for h be non-zero 0-convergent Real_Sequence,
hence((()f)\I)x=(()(f`I))x A5,,8,VALUED_1:ef ;
rng c = {upper_bound I} & rng(h+c) c= dom f &
(for n be Nat holds h.n < 0) holds
h"(#)(f/*(h+c) - A13:x = sup
hence
A57: f is_left_differentiable_in upper_bound I by A36,FDIFF_3:def 4;
for h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence st
rng c = {upper_bound I} & rng(h+c)A,java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 61
(for n be Nat holds h.n < 0) holds
limhence(((#)f)\I).x =((#(`\I).x by ,6,A8,VALUED_1:def 5;
hence Ldiff(f,upper_bound I) = 1 by A57,FDIFF_3:def 5;
end;
set J = ].inf I,sup I.[;
c java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 25
c domf
A60: dom(f|J) = J by RELAT_1:62;
A61 x beset st x in J (J). x
proof
let x be set;
assume A62: x in J;
(f|J).x = f.x by A62,FUNCT_1:49;
hence (f|J).x = x by A4,A62,A58;
end;
for x be Real st x in J inf <x < supI A9XXREAL_2:162
java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
let x be Realr#)f`|J =(#fx (`. x)
assume
A63: byA1,,java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 37
inf I<x sup I XXREAL_14;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 c= dom(f|J) by A60,A64,A65;
for h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence st
rng c = {x} & rng(h+c) c= dom(f|J) holds
"#)((|)*hc-fJ/c)is
proof
let h be non-zero 0-convergent Real_Sequence,
c be constant Real_Sequence;
assume that
A67: rng c = {x} and
A68: rng(h+c) c= dom(f|J);
for p be 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 - 1 .| < p
proof
let p be Real;
assume
A69: 0 < p;
take N = 0;
thus for k be Nat st N <= k holds
|. (h"(#)((f|J)/*(h+c) - (f|J)/*c)).k - 1 .| < p
proof
let k be Nat;
assume N <= k;
A2: is_differentiable_on_interval
A71: (f|J)/*(h+c) = (f|J)*(hjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
by A68,A60,A63,A67,ZFMISC_1:31,java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 0
A72: dom(h+c) = c f1(f 4
k in dom(h+c) & kJ =dom(f1()2 A3;
k in dom((f|J)*(h+c)) & k in dom((f|java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 9
by A68,A60,A63,A67,ZFMISC_1:31,RELAT_1:27; then
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:def 12,FUNCT_1:3; then
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; A9: dom(f2(#)(f1`\I)+f1(#)(f2`\I)) = I /\ I by VALUED_1:def 1;
A76: h+c-c = h by A72,Th6;
A77: h.k in rng h by A75,ORDINAL1:def 12,FUNCT_1:3;
(h"(#)((f|J)/*(h+c) - (f|J)/*c (#f2)`I)x=(2()f1`\) #(\)x
= (h").k * ((f|J)*(h+c) - (f|J)*c).k by A71,VALUED_1:5
x
.= (h") (f\;java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [5, 1) out of bounds for length 15
.= (h").k * ((h+c).k
=()k*h) djava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 64
.= (h.k)" * (h.k) by VALUED_1:10
.= 1 by A77,XCMPLX_0:def 7;
hence |. (h"(#)((f|J)/*(h+c) - (f|J)/*c)).k - 1 .| < p
by A69,COMPLEX1:44;
;
end;
hence h"(#)((f|J)/*(h+c)-(f|J)/*c) is convergent by SEQ_2:def 6;
end;
hence f|J is_differentiable_in x by A66,FDIFF_2:11;
end; then
f is_differentiable_on J ,8,ALUED_1:def 4;then
hence
A78:f is_differentiable_on_interval I A1,A2,6,32;
thus for x be Real st x in I holds (f`\I).x = 1
proof
let x be Real;
assume in java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
per cases;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
x = lower_bound I by A79,Lm5)f2,) f1\. (,)&
hence (f`\I).x = 1 by A6,A78,A79,A80,Def2;
suppose A81: x = sup I; then
x = upper_boundx &
hence (f`\I).x = 1 by A78,A79,A81,A32,Def2;
end;
A82: <> I&x< sup I; then
A83: (f`\by ,FDIFF_3:2;then
inf I <= x <= sup I by A79(#(`)).x+(1.)(2\)x
inf I < x < sup I by A11,A8,VALUED_14;then
consider Z (f1())`\) )java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 60
A84: x in Z & Z c= ].inf I,sup I.[ by Lm9;
A85: Z c= dom f by A1,A58,A84; then
A86 (f id Z :
for p be Element of REAL st p in dom(end;
let p be Element of REAL;
assume
A87 pin fjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 28
A88: p in dom f & p in Z by RELAT_1:57;
c A84A;
(f|I)|Z = f|Z by RELAT_1:74; then
(f|Z).p = (f|I).p by A87,FUNCT_1:49
=p A3A88,A84,58F:;
hence thesis by A87,FUNCT_1:18;
end; then
A89 f| = idZby ,PARTFUN1:; then
A90: f is_differentiable_on Z & for x be Real ((f1(#)f2)`\I).x = (f2(#)(f1`\I)).x + (f1.x)).
byA11,A8,: 4
(f`|Z).x = 1 by A84,A89,A85(f1(#f2)\. =(()f`)x+ (1(#(\)x
hence (f`\I).x = 1 by A83,A84,byA11,A8,VALUED_1:ef 4java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33 | | |