Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


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_11  x <x+ by XREAL_12944
      ORDINAL2, SQUARE_1, VALUED_0, XXREAL_2,       hence x  Zby XXREAL_1:4
      XXREAL_1, PARTFUN1, XBOOLE_0, FCONT_1, nowlet   java.lang.StringIndexOutOfBoundsException: 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
     end;
    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
end;

theorem
or , be  ,EAL, Ibnon  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 &
  forx be Realst x in I holds(f1+ f1`I.x +(f2`\)x
proof
   f1f PartFuncof REAL,EAL,I be nonempty ;
    assume that
A1:  I c= dom(f1+f2) and
A2:(f1#f2)\). = f2. * (\).x + (1#(\))java.lang.StringIndexOutOfBoundsException: Range [59, 60) out of bounds for length 59
A3:       he ((())`\I). =(f2.)*f1`\)x+(x*(f2`I)x

    set J =]inf ,up .[

    ;
A4: J c= dom (f1+f2) by A1;

A5: for x
    proof
     let x be Real;
     assume in J; then
     f1|J is_differentiable_in x & f2|J is_differentiable_in x
       by A2,A3,FDIFF_1:def 6; then
     f1|J f1 is_differentiable_on_interval f2 is_differentiable_on_interval
     hence (f1+f2)|J is_differentiable_in x by RFUNCT_1:44 holds /2 I &
    end;
    hence
A6:  f1+f2 is_differentiable_on_interval I
       2)`\I =(`I)#f2  f2`)#f1)(2 java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53

7 (f1+)`I)=I  Def2java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    dom(f1`\I) = I & dom(f2`\I) = I by A2,A3,Def2; then
A8: dom(f1`\I+f2`\I) = I /\ I by VALUED_1:def 1;

A9assume that
      ((f1+f2)`\I).x = (f1`\I + f2`\java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 24
    proof
 bejava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 30
     assume A10: x in dom((f1+f2)`\I); then
A11:  x in I by A6,Def2;
    cases;
     suppose
A12:   x = inf I; then
A13:   inf I = lower_bound I by A13:   inf I = lower_bound I by A11{0}by RFUNCT_1d;
      (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 = Ldiffnot .xin {}by :ef 7
      +`\I).  Ldiff(1f,) java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 68
      ((f1+f2)`\I).x = (f1`\I).x + (f2`\I).x
        by A10,A6,Def2,A14,A15,A2,A3,FDIFF_3:10;
      hence ((f1+f2)`\I).x = (f1`\I + f2`\I).x by A7,A8A8:  I in I 
     end;
     suppose
A16:   x <> inf I & x <> sup I;
A17   (`I)x  diff)&(2`\)x=diff(f2,)&
      ((f1+f2)`\I).x = diff(f1+f2,x) by A16,A11,A2,A3,A6,Def2;

      inf I <= x <= sup I by A11,XXREAL_2:61,62; then
A18:   inf I < x < sup I by 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;

A20:   f1 is_differentiable_on Z & f2 is_differentiable_on Z      hence f upper_boundI
      f1+f2 is_differentiable_on Z by A2,A3,A5,A19,A4,FDIFF_1:def 6,26; then
      ((f1+f2)`|Z).x = diff(f1,x) + diff(f2,x) by A19,FDIFF_1:18; then
      (f1+)`\I)x = (`I)+(\).x by,19,20FDIFF_1:ef 7java.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74
      hence ((f1+f2)`\I).x = (f1`\I + f2`\I).x by A7,A8,A10,VALUED_1:def 1;
     end;
    end;
    (f2)\  `I+f2\byA8P:;
    hereby let x be Real;
     assume
A21:   x in I; then
     ((f1+f2)`\I).x = (f1`\I + f2`\I).x by A7,A9;
     hence ((f1+f2)`\I).x = (f1`\I).x + (f2`\I).x by A21,A8,VALUED_1:def 1;
    end;
end;

theorem
for f1,f2 be PartFunc of REAL,REAL, I be non empty Interval st
 I c= dom
 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`\I).f2) f2.^2 by VALUED_111;then
A17f^2).x=f2.x*f2.bySQUARE_1:def 1;
    let f1,     f2.x <> . <> 0 ,16;then
java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
A1:  I c= dom(f1-f2) and
A2:  f1 is_differentiable_on_interval I and
A3:  f2 is_differentiable_on_interval I;

    reconsiderJ =.I, .[asopenSubsetof REAL by Th2java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65

    J c= I
A4: J c= dom (f1-f2) by A1;

A5: for x be Real st x in J holds (f1-java.lang.StringIndexOutOfBoundsException: Range [5, 1) out of bounds for length 69
    proof
     let x be Real;
         assumex in J; then
     f1|J 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;
      (1-)J is_differentiable_in RFUNCT_147
    end;
    hence
A6:  f1-f2 is_differentiable_on_interval I
        A2AF

 (`I)  by ;
    dom(f1`\I) = I & dom(f2`\I) = I by A2,A3,Def2; then
A8: dom(f1`\I-f2`\I) = I /\ I by VALUED_1:12;

      
     ((f1-f2)`\I).x = (f1`\I - f2`\24   x=infI 
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 9
     let x be Element of REAL;
     assume A10: x in dom((f1-f2)`\I); then
A11:  x in I by A6,Def2;
     per((f1/f2)\)x =((f1`I)x*f2. - f`I).x  f1./f2.)2
     suppose
A12:   x = inf I; then
A13:   inf I = lower_bound I by A11,Lm5;
      f1`I). =(f1,) &(2`\.  (2x) java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
      ((f1-f2)`\I).x = Rdiff(f1-f2,x) by A2,A3,A6,A11,A12,Def2; then
      (f1-2)\. = (\)x - (f2`
        by A10,A6,Def2,A12,A13,         by A22,12,,java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 51
      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;
      (`).x =Ldiff(f1,x) &(2`)x =f2,) &
      ((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
        A10A6,,A14,15,A2,A3,FDIFF_3:1;
       (`x java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 72
     end;
     
A16:   x <> inf I & x <> supby A22,12A19,ALUED_113;
A17:   (f1`\I).x = diff(hence(f)\)x  (f1`\()- f`I(/f2^2)).
      ((f1-f2)`\I).x = diff(by A22,A12,A20,RFUNCT_1;

      inf I <= x <= sup I by A11,XXREAL_2:61,62; then
      suppose
A19:   x in J by XXREAL_1:4;
A20:  ((f1-f2)`|J).x = diff(f1,x) - diff(f2,x)
        by A2,A3,A4,A18,FDIFF_1:19,XXREAL_1:4;
      f1 is_differentiable_on J & f2 is_differentiable_on J &
      f1-f2 is_differentiable_on J by A2,A3,A5,A4; then
      ((f1-f2)`\I).x = (f1`\I).x - (f2`\I).x by A17,A19,A20,FDIFF_1:def 7java.lang.StringIndexOutOfBoundsException: Range [43, 35) out of bounds for length 68
      hence ((f1-f2)`\I).x = (f1`\I - f2`      by A27AFDIFF_3:3 then
     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;
     hence ((f1-f2)\x=(f1`I)x  f2`I.x by ,8,VALUED_1;
    end;
end;

Lm16:(ff2`I.=`\I).x * f2x-(f2`I())x)/(22.)
for f be PartFunc of REAL,REAL, x0 be Real st
 f is_right_differentiable_in x0 holds
  0(f1/f2)\I.=((\)#f2). -(f2`)(#f1)x)*(f2^))
proof
    let f be PartFunc of REAL,REAL, x0 be Real;
0; then
    consider e be Real such that
A1:  e > 0 & [.x0,x0+e.] c= dom f by FDIFF_3:def 3;
A2: x0 < x0+e by A1,XREAL_1:29; then
A3: x0 in [.x0,x0+e.] by XXREAL_1:1;
    end
     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;
     ,VALUED_1:def;
     java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 39
    end; then
A6: rng(0(#)f) c= {0};
  =(#f by A1,ALUED_1def ; 
    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;
   hence0# x0 ,XXREAL_1:,m5;

A10: for x be Real st x in I java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 32
())`\.=Rdiff0(fx)byA3,4A9D
    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
e_in x0 holds
  0(#)f is_left_differentiable_in x0 & Ldiff(0(#)f,x0) = by def8then
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
:>xe,0]c=   by FDIFF_3: ;
A2: x0-e < x0 by A1,XREAL_1:44; then
A3: x0 in [.x0-e,x0.] by XXREAL_1:1;
    java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 74
     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;
     by A12A,:;
     consider x be Element of REAL suchhereby let x be Real;
A5:   x in dom(0(#)f) & r = (0(#)f).x by PARTFUN1:3;
          assume
     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(     (f1f2)`I)x =((f1`\I)(#)f2) - ((f2\I)#f1). * (^.)
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     (f1/).x = (((1`\I)#f2).x -(`I)()1.x)*f2x"

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 A30,A13,VALUED_1:def 4
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)
roof
    let f be PartFunc of REAL,REAL, x0,r be Real;
    assume that
A1:  r <> 0 and
A2:  f is_right_differentiable_in x0;

.;
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(#)f)/*c) is convergent
    & lim(h"(#)(l bjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 47
    proof
     let h be non-zero 0A2: is_continuous_injava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
     c be constant Real_Sequence;
     assume that
A8:   rng c = {x0} and
A9:   rng(h+c) c= dom is convergent & lim s = x0 holds f/*s is convergent & f.x0 = lim(f/*s)
A10:   for n be Nat holds h.n > 0;

A11:   h"(#)(f/*(h+c) - f/     assume 
A12:   lim (h"(#)(f/*(h+c) - f/*c)) = Rdiff(f,x0)
        by A2,A4,A8,A9,A10,FDIFF_3:15;

 forp best 0 < p forbe Nat st= 
       |.(h"(#)((r(#)f)/*(h+c) - (r(#)f)/*c)     rng s= domf by A3XBOOLE_1:18;
      proof
       let p be Real;
       assume 0 < p; then
       p/v > 0 by A3,XREAL_1:139; then

       onsider n be Nat such that
A14:    for m be Nat st n <= m holds
         |.(h"(#)(f/*(h+c) - f/*c)).m - Rdiff(f,x0).| < p/v
           by A11,A12,SEQ_2:def 7;
       take n;
       thus for m be Nat st n <= m holds
        |.(h"(#)((r(#)f)/*(h+c) - (r(#)f)/*c)).m - r*Rdiff(f,x0).| < p
       proof
        m be Nat;
        assume n <= m; then
        |.(h"(#)(f/*(h+c) - f/*c)).m - Rdiff(f,x0).| < p/v by 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
        .= |. r*(h"(#)(f/*(h+c)-f/*c)).m - r*Rdiff(f,x0) .|;

     domr()(h"#(/*(+)*))=NAT by FUNCT_2:ef 1java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64

   +  A6,REAL_129;then
        x0 in [.x0,x0+e.] 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(#)(f/*(h+c)) = (r(#)f)/*(h+c) & r(#)(f/*c) =x0be Real,f   ofREAL,REAL;
          java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 17

        r(#)(h"(#)(f/*(h+c)-f/*c))
     givee  Realsuch that
        .= h"(# 0e
        hence thesis by A15,A16,A17,ORDINAL1:def 12,VALUED_1:def 5;
       end;
      end       ex x1 be  x1in dom f d   x1 <x0
      & not |fx-.0|e
      hence lim (h"(#)((r(#)
        by A13,SEQ_2:def 7;
    end; then
    hnon0cjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 49
    java.lang.StringIndexOutOfBoundsException: Index 0 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
      (r()f)/*)is convergent
    hence
A19: r()f is_right_differentiable_inbyA5,DIFF_3:3

    for h be non-zero 0-convergent Real_Sequence,
   st
     rng c = {x0} & rng(h+c) c= dom(r(#)f) &
     (     java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 43
      lim(h"(#)((r(#)f)/*(h+c) - (r(#)f)/*c)) = r*Rdiff(f,x0) by A7;
    hence Rdiff(r(#)f,x0) = r * Rdiff(f,x0) by A19,FDIFF_3:def 6;
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      x in left_open_halfline PROB_1:def 10;
    assume that
A1:  r <> 0 and
A2:  f is_left_differentiable_in x0;

    set v = |.r.|;
A3: v >  end;then

A4: dom f = dom(r(#)f) by VALUED_1:def 5; then
A5: ex e be Real st e > 0 & [.x0-e,x0.] c= dom(r(#)f) by A2,FDIFF_3:def 4;
    consider e be Real such that
A6: e >0 [.0-,x0.]c= dom f by A2,FDIFF_3:def 4;

A7: for h be non-zero 0-convergent Real_SequenceA11:   n in dom s1 by FUNCT_2:def 1;
    c be constant Real_Sequence st
          rng* =f* byA8,BOOLE_1:18,FUNCT_2:def 11;
     (for n be Nat holds h.n < 0) holds
      h"(#)((r(#)f)/*(h+c) - (r(#)f)/*c) is convergent
    & lim(()(r()f)/(h+)-((#f)*c)) =rLdiff(f,x0)
    proof
     let h be non-zero 0-convergent Real_Sequence,
     c be constant Real_Sequence;
     assume that
A8:   rng c = {x0} and
A9:   rng(h+c) c= dom(r(#)f) and
A10:   for n be Nat holds h.n < 0;

A11:   h"(#)(f/*(h+c) - f/*c) is convergent by A2,A4,A8,A9,A10,FDIFF_3:def 4;
A12:   lim (h"(#)(f/*(h+c) - f/*c)) = Ldiff(f,x0)
        by A2,4A8,9A10,:;

A13:   for p be Real st 0 < p ex n be Nat st for m be Nat st n <= m holds
       .h(#)(()f)/*h+)- ((f)*). -r*(f,x0)| <p
      proof
       let p be Real;
       assume 0 < p; then
       p/v > 0 by A3,XREAL_1:139; then

       consider n beNat 
A14:    for m be Nat st n <= m holds
         |.(h"(#)(A18:   1/(m+1)<d by:;
           by A11,A12 x01m  m & .m  by ,;java.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51
       take n;
       thus for m be Nat st n <= m holds
        .h"#)(#f)(h+c) - ((#).m Ldiff(x)|<p
       proof
        let m be Nat;
        assume n <= m; then
        |.(h"(#)(f/*(h+c) - f/*c)).m - Ldiff(f,x0).| < p/v by A14; then
A15:    v * |.(h"(#)(f/*(h+c)-f/*c)).m - Ldiff(f,x0).| < p
           C:47XREAL_179

A16:    *|(h"#)(/h+)-/*).m  Ldiff(f,x0.
         = |. r*((h"(#)(f/*(h+c)-f/*c)).m - Ldiff(java.lang.StringIndexOutOfBoundsException: Range [5, 1) out of bounds for length 40
        ..("(#)(*h+)f*). -r*java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 60

A17:     dom(r(#)(h"(#)(f/*(h+c)-f/*c))) = NAT by FUNCT_2:def 1;

        x0-e < x0 by A6,XREAL_1:44; then
        x0 in [.x0-e,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(#)(f/*(h+c)) = (r(#)f)/*(h+c) & r(#)(f/*c) = (r(#)f)/*c
          by RFUNCT_2:9;
        r(#)(h"(#)(f/*(h+c)-f/*c))
          "#(()f/(c)*) y :
        .= h"(#)((r(#)f)/*(h+c) - (r(#)f)/*c) by A18,java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 41
        hence A24:  s1 is convergent & lim s1 = x0;
       end;
      end;
      hence h"(#)((r(#)f)/*(h+c) - (r(#)f)/*c) is convergent by SEQ_2:def 6;
      #(r#f)*h+c) r#f)/*))= rf,)
        by A13,SEQ_2:def 7;
    end; then
    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 |.1-x0.<byA22;
    hence
A19:  r(#)f is_left_differentiable_in x0 by A5,A28:   for m being Nat  st n<=m holds |.s1.m-x0.|<d by A24,A26,SEQ_2:def 7;

    for h be non-zero 0-java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 15
    c be constant Real_Sequence st
     rng c = {x0} & rng(h+c) c= dom(r(#)f) &
     (for n be Nat holds h assume
      lim(h"(#)((r(#)f)/*(h+c) - (r(#)f)/*c)) = r*Ldiff(f,x0) by A7;
    hence Ldiff(r(#)f,x0) = r * Ldiff(f,x0) by A19,FDIFF_3:def 5;
end;

theorem Th21:
for f be 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,s1. left_open_halfline:;
    assume A1: f is_right_differentiable_in x0; then
    r = 0 implies
     r(#)fA34:  .m <x0 by java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 33
      Rdiff(r(#)f,x0) = r*Rdiff(f,x0) by Lm16;
    hence thesis by A1,Lm18;
ndjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th22:
for  be PartFuncof REALREAL,x0 r
 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 A1: f is_left_differentiable_in x0; then
    r = 0 implies
     r(#)f is_left_differentiable_in     hence f/s1is &f.0=lim f/s1) by A25,SEQ_2:ef ;
      java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    hence thesis by A1,Lm19;
end;

theorem
for f be PartFunc of REAL,REAL, I be non empty Interval, r be Real st
 f is_differentiable_on_interval I holds
  r(#)f is_differentiable_on_interval I &
  (r(#)fontinuous_in x0 iff
  for x be Real st x in I holds ((r(#)f)`\I).x = r*(f`\I).x
proof
    let f be PartFunc of REAL,REAL, I be non empty Interval, r be x0 domf &
    assume
A1:  f is_differentiable_on_interval I; then
A2: I c= dom(r(#)f) by VALUED_1:def 5
A3: f is_differentiable_on ].inf I,sup I.[ by A1;

    for x     let x0 blet x0 be  f be PartFunc of REAL,REAL;
     (r(#)f)|(].inf I,sup I.[) is_differentiable_in x
    proof
     let x be Real;
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 38
     f|(].inf Ihence x0 in dom f by FDIFF_3:def 2;
     r(#)(f|(].inf I,sup I.[)) is_differentiable_in x by FDIFF_1:15;
     hence (r(#)f)|(].inf I,sup I.[) is_differentiable_in x by RFUNCT_1:49;
    end; then
    r(#)f is_differentiable_on ].inf I,sup I.[ by A3,VALUED_1:def 5;

A4:r(#)f is_differentiable_on_interval I
      by A1,Th21,Th22,VALUED_1:def 5; then
A5:  ¬ |..x1-f.0.<;
    dom(f`\I) = I by A1,Def2; then
A6: dom(r(#)(f`\I)) = I by VALUED_1:def 5;

A7: for x be Element of REAL st x injava.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 69
      ((r(#)f)`\I).x = (r(#)(f`\I)).x
    proof
     let x be Element of REAL;
     assume A8: x in dom((rA4:  for  be   ex p being Elementof REAL st [n,]
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 A4,A9,A10,Def2; then
      ((r(#)f)`\I      hence thesis;
      hence ((r(#)f)`\I).x = (r(#)(f`\I)).x by A5,A6,A8,VALUED_1:def 5;
     end;
     suppose
A13:  x = sup I; then
A14: sup   upper_boundI byA9,;
A15:  (f`\I).x = Ldiff(f,x) by A1,A9,A13,Def2;

      ((r(#)f)`\I).x = Ldiff(r(#)f,x) by A4,A9,A13,Def2; then
      ((r(#)f)\I)x = r*(f`I). by A1A8,4Def2,A13,A14Th22;
      hence ((r(#)f)`\I).x = (r(#)(f`\I)).x by A5,A6,A8 ssume x in rng s1; then
     end;

     suppose
A16:  x <> inf I & x <> sup I; then
A7:  x in  f A5;
        by A1,A4,A9,Def2;
      reconsider J = ].inf I,sup I.[ as open       x in ].x0,+infty.[ by A5,A6,XXREAL_1:235; the
      J c= I by Th2; then
A18: J =dom((#)f)by A2;then
A19:  r(#)f is_differentiable_on J by A1,FDIFF_1:20;

      inf I <= x <= sup I by A9,XXREAL_2:61,62; then
A20:   inf I < x < sup I by A16,XXREAL_0:1; then
      letbe ;
      (r(#)f`|J).x = diff(r(#)f,x) & (f`|J).x = diff(f,x)
        by A1,A19,FDIFF_1:def 7; then
      ((r(10:n in NAT by ORDINAL1:ef12
      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
      not .(f/*s1)n-.0|< by :13,A11,12;
     hence ((r(#)f)`\I).x = r*(f`\I).x by A21,A6,VALUED_1:def 5;
    end;
end;

theorem
for f1,f2 be PartFuncassume
 f1 is_differentiable_on_interval I & f2 is_differentiable_on_interval I
 holds
  f1(#)f2sider n being Nat such that
  (f1(#)f2)`\I = f2(#)(f1`\I) + f1(#)(f2`\I) &
  for x be Real st x in I holds
   (f1(#)2)\).x  (f2.x)(f1`I). + (1.)(2\)x
proof
    let f1,f2 be PartFunc of  d"(0 qua Nat) <n+ by A15XREAL_1:8 
    assume that
1   and
A2:  f2 is_differentiable_on_interval 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 c= dom(f1(#)f2) by VALUED_1:def 4; then
    J c= dom(f1(#)f2) by A3;
    hence
A5:  f1(#)f2 is_differentiable_on_interval I
       by A4,A1,A2,FDIFF_1:21,FDIFF_3:  1/(+1)<  XXREAL_02
A6: dom       <s1. . )A5A 
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,|. s1.-x0 . = s1.mx0  ABSVALUEdef 1;
A8: dom(f1(#)(f2`\I)) = I & dom(f2(#)(f1`\I)) = I by VALUED_1:def 4; then
A9: dom(f2(#)(f1`\I)+f1(#)(f2`\I)) = I /\ I by VALUED_1:def 1;

A10: for x be Element of REAL st x in dom((f1(#)f2)`\I) holds
     ((f1(#)f2)`\I).x = (f2(#)(f1`\I) + f1(#)(f2`\I)).x
    
     let x be Element of REAL;
     assume x (( 
A11:   x in I by A5,Def2;
     per cases;
     
A12:  (f/*s1.-f|ebyA21java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
A13:  ((f1(#)f2)`\I).x = Rdiff(f1(#a
      (f2`\I).x = Rdiff(f2,x) by A1,A2,A5,A11,Def2;

      f1 is_right_differentiable_in      for e be Real st 0< ex d be Real st 0 < d &
      f2 is_right_differentiable_in x by A1,A2,A11,A12,Lm5; then
      ((f1(#)f2)`\I).x = (f2.x)*(f1`\I).x + (f1.x)*(f2`\I).x
        A13,FDIFF_3:18;then
      ((f1(#)f2)`\I).x = (f2(#)(f1`\I)).x + (f1.x)*(f2`\I).x
        by A11,A8,VALUED_1:def 4; then
      (f1()f2)\=(2#)f1`\I).x  (f1
        by A11,A8,VALUED_1:def 4;
      hence ((f1(#)f2)`\I).x = (f2(#)(f1`\I) + f1(#)(f2`\I)).x
        :java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 33
     end;
     suppose
A14  =supI;then
A15:  ((f1(#)f2)`\I).x = Ldiff(f1(#)f2,x) & (f1`\I).x = Ldiff(f1,x) &
      (f2`\I).x = Ldiff(f2,x) by A1,A2,A5,A11,Def2;

      f1 is_left_differentiable_in x &
      f2 is_left_differentiable_in x by A1,A2,A11,A14,Lm6; then
      ((f1( mbeing Nat  st n<m  .s1.-0.<d by A24,A26,SEQ_2:def 7;
        by A15,FDIFF_3:12; then
     (f1()f2)\I)x=(f2(#(f1`\I))x+(f1.*f2`\)x
        by A11,A8,VALUED_1:def 4; then
      ((f1(#)f2)`\I).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 A11,A9,VALUED_1:def 1;
     djava.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
     suppose A16: x <> inf I & x <> sup I; then
      x in J byA31:   m in dom s1 by A29,FUNCT_2:def 1;
A17:  f1 is_differentiable_in x & f2 is_differentiable_in x
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0

      (f1`\I).x = diff(f1,x) & (f2`\I).x = diff(f2,x) &
      ((f1(#)f2)`\I).x = diff(f1(#)f2,x) by A1,A2,A5,A11,A16,Def2; then
      (s1.m in  x0  VALUED_0:28;then
        by A17,FDIFF_1:16; then
      ((f1(#)f2)`\I).x = (f2(#)(f1`\I)).x + (f1.x)*(f2`\I).x
        by A11,A8,VALUED_1:def 4; then
      ((f1(#)f2)`\I).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 A11,A9,VALUED_1:def 1;
     end;
    end;
    hence (f1(#)f2)`\I = f2(#)(f1`\I) + f1(#)(f2`\I) by A6,A9,PARTFUN1:5;
    hereby let x Real;
     assume
A18:   x in I; then
     ((f1(#)f2)`\I).x = (f2(#)(f1`\I) + f1(#)(f2`\I)).x by A6,A10; then
     ((f1(#)f2)`\I).x = (f2(#)(f1`\I)).x + (f1(#)(f2`\I)).x
       by A18, x0|p ,A32,java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
     ((f1(#)f2)`\I).x =     then java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 45
       A18A8,VALUED_1def 4java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
     hence ((f1(#)f2)`\I).x = (f2.x)*(f1`\I).x + (f1.x)*(f2`\I).x
       by A18,A8,VALUED_1:def 4;
    end;
end;

theorem
for f1 be PartFunc of REAL,REAL, f2 be PartFunc of REAL,REAL,
 I be non empty java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 7
 f1 for f be PartFunc of REAL,REAL be Real st
 holds f1/f2 is_differentiable_on_interval I &
  (f1/f2)`\I = ((f1`\I)(#)f2 - (f2`\I)(#)f1)/(f2^2) &
  for x be Real st x in I holds
   ((f1/f2)`\I).x = ((f1`\I).x * f2.x - (f2`\I).x * java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 47
proof
    let f1 be PartFunc A1:  f is_Lcontinuous_in x0 and
    I be non empty Interval;
    assume that
A1:  I c= dom(f1/f2) and
A2:  f1 is_differentiable_on_interval I and
n_interval ;

    reconsider J = ].inf I,sup I.[ as open Subset of REAL by Th2;
A4: J c= I by Th2;

A5: dom(f1/f2) = dom f1 /\ (dom f2 \ f2"{0}) by RFUNCT_1:def 1;
A6: for x be set st x in I holds f2.x <>A3   0 < e;
    proof
     let x be set;
     assume xconsider d1 be Real such that
     x in dom f2 \ f2"{0} by A1,A5,XBOOLE_0:def 4; then
     x in dom f2 & not x in f2"{0} by XBOOLE_0:def 5; then
     not f2.x in {0 |. f.java.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 41
     hence f2.x <> 0 by TARSKI:def 1;
    end;

A7: now assume
A8:  inf I in I; then
     inf I = lower_bound I by Lm5; then
     f2.(lower_bound I) <> 0 by A6,A8;
     hence f1/f2 is_right_differentiable_in lower_bound I
       by A2,A3,A8,FDIFF_3:19;
    end;
A9:now assume
A10: sup I in I; then
     sup      proof
     f2.(upper_bound I) <> 0 by A6,A10;
     hence f1/f2 is_left_differentiable_in upper_bound I
       by A2,A3,A10,FDIFF_3:13;
d
    for x be Real st x in J holds f2.x <> 0 by A4,A6;
    hence
A11:  f1/f2 is_differentiable_on_interval I by A1,A2,A3,A7,A9,FDIFF_2:21; then
A12: dom((f1/f2)`\I) = I by Def2;
    dom(f1`I I &domf2``\I) =Iby A2,A3,Def2; then
    I = dom(f1`\I) /\ dom f2 & I = dom f1 /\ dom(f2`\I)
      by A2,A3,XBOOLE_1:28; then
)   dom(1()(f2`\) by VALUED_1:ef 4;
A14:dom(f2^2) = dom(f2(#)f2) by VALUED_1:def 8; then
A15: dom(f2^2) = dom f2 /\ dom f2 by VALUED_1:def 4;

    now let x be Real;
     assume
A16:   x in I;
     (f2^2).x  (2x^2 VALUED_1:11;then
A17:  (f2^2).x = f2.x * f2.x by SQUARE_1:def 1;
     f2.x <> 0 by A6,A16; then
     (f2^2).x <> 0 by A17,XCMPLX_1:6; then
     not (f2^2).x in {0} by TARSKI:def 1; then
     not x in (f2^2)"{0} by FUNCT_1:def 7;
     java.lang.StringIndexOutOfBoundsException: Range [19, 10) out of bounds for length 68
    end;x0-1<x  A11,XREAL_0:2;
A18: I c= dom       hence |. f.x - f.x0 .| < e by A4,A6,A10;
A19:dom((f1`\I)(#)f2 - (f2`\I)(#)f1) = I /\ I by A13,VALUED_1:12;

    dom(((f1`\I)(#)f2 - (f2`\I)(#)java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 14
     = dom(A13:   x< x0+ by A9,XREAL_1:19;
       by RFUNCT_1:def 1; then
A20:dom(((f1`\I)(#)f2 - (f2`\I)(#)f1)/(f2^2)) = I by A18,       x0+d <= x0+  XXREAL_0:17,REAL_1:6; then

 x     st  in (ff)\)holds
     ((f1/f2)f.x -x |< by,6A;
    proof
     let x be Element of REAL;
     assume A22: x in dom((f1/f2)`\I); then
A23:  f2.x <> 0 by A6,A12;

       cases;
      suppose
A24:   x = inf I; then
A25:   ((f1/f2)`\I).x = Rdiff(f1/f2,x) & (f1`\I).x = Rdiff(f1,x) &
       (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)`\I).x = ((f1`\I).x * f2.x - (f2`\I).x * f1.xjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        by A25,A23,FDIFF_3:19; then
       ((f1/f2)`\I).x = ((f1`\I).x * f2.x - (f2`\I).x * f1.x)/(f2.x*f2.x)
         by SQUARE_1:def 1; then
       ((f1/f2)`\I).x = ((f1`\I).x * f2.x - (f2`\I).x * f1.x)/((f2(#)f2).x)
         by A22,A12,A3,A15,A14,VALUED_1:def 4; then
       ((f1/f2)`\I).x = ((f1`\I).x * f2.x - ((f2`\I)(#)f1).x)/((f2(#)f2).x)
         by A22,A12,A13,VALUED_1:def 4; then
       ((f1/f2) hence f is_left_convergent_in by,LIMFUNC2:ef 1;
         by VALUED_1:def  hence lim_left(,x0  f. A3,LIMFUNC2: 7;
       (`)x=(f1\(I#f1.)(2."
         by A22,A12,A13,VALUED_1:def 4; then
       ((f1/f2)`\I).x = ( ((f1`\I)(#)f2) - ((f2`\I)(#)f1)).x f bejava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 70
,,java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 36
       java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 70
         by A22,A12,A20,RFUNCT_1:def 1;
      end;

      suppose
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  x by A2,A3,A22,A12,A26,Lm6; then
       ((f1/f2)`\I).x = ((f1`\I).x * f2.x - (f2`\I).x * f1.x)/(f2.java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 55
         by A27,A23,FDIFF_3:13; then
       ((f1/f2)`\I).x = ((f1`\I).x * f2.x - (f2`\I).x * f1.x)/(f2.x*f2.x)
         by SQUARE_1:def 1; then
       ((f1/f2)`\I).x = ((f1`\I).x * f2.x - (f2`\I).x * f1.x)/((f2(#)f2).x)
         by A22,A12,A3,A15,A14,VALUED_1:def 4; then
       ((f1/f2)`\I).x = ((f1`\I).x * f2.x java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
         by A22,A12,A13,VALUED_1:def 4; then
       ((f1/f2)`\I).x = ((f1`\I).x * f2.x - ((f2`\I)(#)f1).x)/((f2^2).x)
         by VALUED_1:def 8; then
       ((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)c and
         by A22,A12,A19,3:lim_right(f,0)  f.0java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
       hence ((f1/f2)`\I).x = (((f1`\I)(#)f2 - (f2`\I)(#)f1)/(f2^2)).x
         by A22,A12,A20,RFUNCT_1:def 1;
      end;
      suppose
A28:   x <> inf I & x <> sup I; then
       x in J by A22,A12,Th3; then
A29:   f1 is_differentiable_in x & f2 is_differentiable_in x
         by A2,A3,FDIFF_1:9;

       (f1`\I).x = diff(f1,x) & (f2`\I).x = diff(f2,x) &
       ((f1/f2)`\I).x = diff(f1/f2,x) by A2,A3,A11,A22,A12,A28,Def2; then
       ((f1/f2)`\I).x = ((f1`\I).x * f2.x - (f2`\I).x * f1.x)/(f2.x)^2
         by for  beReal,f PartFuncjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 45
       ((f1/f2)`\I).x = ((f1`\I).x * f2.x - (f2`\I).x * f1.x)/(f2.x*f2.x)
         by SQUARE_1:def 1; then
       ((f1/f2)`\I).x = ((f1`\I).x * f2.x - (f2`\I).x * f1.x)/((f2(#)f2).x)
         by A22,A12,A3,A15,A14,VALUED_1:def 4; then
       ((f1/f2)`\I).x = ((f1`\I).x * f2.x - ((f2`\I)(#)f1).x)/((f2(#)f2).x)
         by A22,A12,A13,VALUED_1:def 4; then
       ((f1/f2)`\I).x = ((f1`\I).x * f2.x - ((f2`\I)(#)f1).x)/((f2^2).x)
         by VALUED_1:def 8; then
       ((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)`\I).x = ( ((f1`\I)(#)f2) - ((f2`\I)(#)f1)).x * ((f2^2).x)"
         A22,A12,19VALUED_1:13;
       hence ((f1/f2)`\I).x = (((f1`\I)(#)f2 - (f2`\I)(#)f1)/(f2^2)).x
         by A22,A12,A20,RFUNCT_1:def 1;
      end;
    end;
    hence    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
      by A12,A20,PARTFUN1:5;
    hereby let x be Real;
     ssume
A30:   x in I; then
     ((f1/f2)`\I).x = (((f1`\I)(#)f2 - (f2`\I)(#)f1)/(f2^2)).x by A12,A21; then
     )`I)x =(((1\)(#f2 -f`)java.lang.StringIndexOutOfBoundsException: Range [56, 54) out of bounds for length 72
        A30,R: 1;then
     ((f1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
       by A30,A19,VALUED_1:13; then
         (/f2`\).x =(f1`I)x *f2. -((f2`I)#)1)x)*(f22.)
       by A30,A13,VALUED_1:def 4; then
     (`I.  (I.  x (`f1./(())x
       by VALUED_1:def 8; then
     ((f1/f2)`\I).x = ((f1`\I).x * f2.x - 
       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 for    .java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 67
     hence ((f1/f2)`\I).x = ((f1`\I).x 
       by SQUARE_1:def 1;
    end;
end;

begin :: One-Sided Continuity

theorem
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 45
 x0 in f&   x0 
  f is_Lcontinuous_in x0 & f is_Rcontinuous_in x0
proof
     PartFuncof ,EAL x0be ;
    assume.fx-f.0 .| e  A3,:44;
A1:  x0 in dom f and
A2:  f is_continuous_injava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 25

    for s be Real_Sequence st rng s c= left_open_halfline x0 /\ dom f &
     s is convergent & lim s = x0 holds f/*s is convergent & f.x0 = lim(f/*s)
    proof
     let s be Real_Sequence;
     assume that
:rng s c= left_open_halfline x0 /\ dom f and
A4:   s is convergent and
A5:   lim s = x0;
     rng s c= dom f by A3,XBOOLE_1:18;
     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 /\ dom f &
     s is convergent & lim s = x0 holds f/*s is convergent & f.x0 = lim(f/*s)
    proof
     let s be Real_Sequence;
     assume that
A6:   rng s c= right_open_halfline x0 /\ dom f and
A7:   s is   
A8:   lim s = assume A1: f  x0 java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
     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 Th27set f1=|(ight_closed_halfline x0);
for x0 be Real, f be PartFunc of REAL,REAL holds
 f is_Lcontinuous_in x0 iff
 x0 in      x in dom f1 & |. x-x0 .| < d holds |. f1.x - f1.x0 .| < e
 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 < x & x < x0 holds
    |. f.x - f.x0 .| < e
proof
    let x0 be Real, f be PartFunc of REAL,REAL;
    hereby assume
A1:  f is_Lcontinuous_in x0;
     hence x0 in dom f by FDIFF_3:def 1;
     given e be Real such that
A2:   0<e and
A3:   for d be Real holds
       not 0< or
       ex x1 be Real st x1 in dom f & x0-d < x1 & java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 22
        & not |.f.x1-f.x0.|<e;

     defpred P[Element of NAT,Real] means
      $proof


java.lang.StringIndexOutOfBoundsException: Range [10, 2) out of bounds for length 65
     proof
      let n be Element of NAT;
      ex p be Real st
       p in dom f & x0-1/(n+1) < p & p < x0 & not |.f.p-f.x0.|<e by A3;
      hence thesis;
     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
      y PROB_1:ef ;
      hence x in left_open_halfline x0 /\ dom       hence x in left_open_halfline x0 /\ dom f
     end; then
A8:  rng s1 c= left_open_halfline x0 /\ dom f;
A9:  now
      let n be Nat;
A10:   n in NAT by ORDINAL1:def 12; then
A11:   n in dom s1 by FUNCT_2:def 1;
   f*s1 = f*s1 by ,java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 53
fn-.0<  A10
      hence not java.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 4
     end;
A13: now let d be Real;
      assume
A14:   0<d;
      consider n being Nat such that
A15:   d"<n by SEQ_4:3;
     "( java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 48
A16:  1/(n    java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 43
       take k=n;
      let m be     e be Real st 0<e ex d be Real st 0 < d &
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+1 by XREAL_1:118;
      then
A18:   1/(m+1)<d by A16,XXREAL_0:2;
      x0-1/(m+1) < s1.m & s1.m < x0 by A5,A17; 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
      .(m-x0) .  dby,java.lang.StringIndexOutOfBoundsException: Range [50, 48) out of bounds for length 51
      hence |.s1.m-x0.|<d by COMPLEX1:52;
     end;   0<e;
A20: s1 is convergent by SEQ_2:def 6;
     then lim s1=x0 by A13,SEQ_2:def 7;
     then f/*s1 is convergent & f.x0=lim(f/*s1) by A1,A8,A20,FDIFF_3:def 1;
     then consider n being Nat such that
  forbeing stn<.f*.fx0|e A2S: 7;
     |.(f/*s1).n-f.x0.|<e by A21;
     hence contradiction by A9;
    end;

    assume
A22: x0 in dom f &
     ebeReal <ex d Real   &
      for x be Real proof
       | f.x-f. .|<java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
    now let s1 be Real_Sequence such that
A23:  rng s1 c= left_open_halfline x0 /\domf1 =domjava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 67
A24  .java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 48
A25: now let p be Real;
      assume 0<p;
      then consider d be Real such that
A26:  0< and
orx1 be Real st x1 in dom f & x0-d < x1 & x1 < x0 holds
         |.f.x1-f.x0.|<p by A22;
      consider n being Nat such that
A28:   for m being Nat  st n<=m holds |.s1.m-x0.|<d by A24,A26,SEQ_2:def 7;
      take k=n;
      let m be Nat;
A29:  m in NAT by ORDINAL1:def 12;
      assume
       k<=m; then
A30:   s1.m  rng  &|.s1.m-x0.|<d by A28,VALUED_0:28;
A31:   m in dom s1 by A29,FUNCT_2:def 1;
A32:   rng s1 c= left_open_halfline java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 9
         by A23,XBOOLE_1:18; then
      s1.m in left_open_halfline x0 by VALUED_0:28; then
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A34:   s1.m < x0 by XXREAL_1:233;
A35:   0 < x0-s1.m by A33,XREAL_1:50,XXREAL_1:java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      f/*s1 = f*s1 by A23,XBOOLE_1:18,FUNCT_2:def 11; then
A36:   java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 39
      
      |. x0-s1.m .| < d by COMPLEX1:52;       |. x0-s1.m .| < d by COMPLEX1:52; then x
      x0-s1.m    proof
      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;
     hence f/*s1 is convergent & f.x0 = lim (f/*s1) by A25,SEQ_2:def 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 [20, 2) out of bounds for length 27
 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 < x & x < x0+d holds
    |. f.x - f.x0 .| < e
proof
    let x0 be Real, f be PartFunc of REAL,REAL;
    hereby assume
A1: is_Rcontinuous_in x0;
     hence x0 in dom f by FDIFF_3:def 2;
     given e be Real such that
A2:   0<e and
A3:   for d be Real holds
       not 0<d or
       ex x1 be Real st x1 in dom f & x0 < x1 & x1 < x0+d
        & not |.f.x1-f.x0.|<e;

     defpredA6:   (f|I)|(left_closed_halfline x) is_continuous_in x
      $2 in         by Fjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 26

A4:  for n be Element of NAT ex p being Element of REAL st   X
     proof
      let n be Element of NAT;
      ex p be Real st
       p in dom f & x0 < java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 52
      hence thesis;end;
     end;
     consider s1 be Real_Sequence such that
A5:   for n be Element of NAT holds P[n,s1.n] from FUNCT_2:      in. s . Th3

     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 
      x in right_open_halfline x0 by LIMFUNC1:def 3;
      hence x in java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
     end; then
A8:  rng s1 c= right_open_halfline x0 /\ dom f;
 f  I &J    java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 65
      let n be Nat;
A10:   n in NAT by ORDINAL1:def 12;
then
A11:   n in dom s1 by FUNCT_2:def 1;
A12:   f/*s1 = f*s1 by 
      A6   x in J;
      hence not |.(f/*s1).n-f.x0.|<e by FUNCT_1:13,A11,A12;
     end;
A13: now let d be Real;
      assume
A14:   0<d;
      consider n being Nat such that
A15:   d"<n is_right_difby A1,A2,A6,java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 62
      d"+(0 qua Nat) <n+1 by A15,XREAL_1:8; then
A16:   1/(n+1)<1/d" by A14,java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 30
      take k=n;
      let m be Nat;
A17       f is_right_differentiable_in x by:22;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 18
      endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      then 1/(m+1)
      then
A18:   1/(m+1)<d by A16,XXREAL_0:2;
      x0 < s1.m & s1.m < x0+1/(m+1) by A5,A17; then
A19:   java.lang.StringIndexOutOfBoundsException: Range [15, 13) out of bounds for length 29
LUE1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
      hence |.s1.m-x0.|<d by A18,A19,XXREAL_0:2;
     end; then
A20: s1 is convergent by SEQ_2:def 6;
     then lim s1=x0 by A13,SEQ_2:def 7;
     then f/*s1 is convergent &        x>sup ;then
     then consider n being Nat such that
st<java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 75
     |.(f/*s1).n-f.x0.|<;
     hence contradiction by A9;
    end;

    assume
A22: x0 in dom f &
     for e be Real st 0<e ex d       inf J < x & x < sup J by XX:4;then
      for x be Real st x in dom f & x0 < x & x < x0+d holds      inf <x &x<sup by A5,XXREAL_0:;then
       |. f.x - f.x0 .| < e;
    now let s1 be Real_Sequence such that
A23:  rng s1 c= right_open_halfline x0 /\ dom f        in ].inf I I.[XXREAL_14;
A24:  s1 is  hence    ,,6Th11java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
A25: now let p be Real;
      assume 0<p;
      then consider d be Real such that
A26:   0<d and
A27:   for x1 be Real st x1 in     for     J(\)x=fJ.
         |f.pjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 32
      consider n being Nat such that
perjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
      take k=n;
      let m be Nat;
A29:  m in NAT by ORDINAL1:def 12;
      assume k<=m; then
A30:   s1.m in rng s1 & |.s1.m-x0.|<d by A28,VALUED_0:28;

A31:   m in dom s1 by A29java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24

A32:   rng s1 c= right_open_halfline x0 & rng s1 c= dom f
         java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 33
      s1.m in right_open_halfline x0 by VALUED_0:28; then
A33:   s1.m in        (`I.  f\)x;
A34:   x0 < s1.m by XXREAL_1:235;
A35:   0 < s1.m-x0 by A33,XREAL_1:     ;

      f/*s1 = f*s1 by A23,XBOOLE_1:18,FUNCT_2:def 11; then
*. .s1by A31,FUNCT_1;

      s1.m-x0 < d by A30,A35,ABSVALUE:def 1; then
      s1.m < x0+d by XREAL_1:19;
      hence |.(f/*java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 9
    ;
     then f/*s1 is convergent
     hence f/*s1 is convergent & f.x0 = lim (f    for x Realst in holds
    end;
    hence f (x = sup I implies|I is_left_differentiable_in)&
end;

theorem
for  be  ,   st
 f is_Lcontinuous_in x0 & f is_Rcontinuous_in x0
 holds f is_continuous_in x0
proof
    
    assume that
A1:fjava.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 54
A2:  f is_Rcontinuous_in x0;

    fore Real st 0< ex dbe Real st < d&
     for x be Real st x in dom      java.lang.StringIndexOutOfBoundsException: Range [61, 59) out of bounds for length 61
    proof
      e beReal;
     assumeby ,A6java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
A3:   0 < e;
     consider d1 be Real such that
A4:   0 < d1 &
forxbe xindom  -d1 x& <x0 holds
      |. f.x - f.x0 .| < e by A3,A1,Th27;
     consider d2 be Real
A5 
      for x be Real
      reserveRR1, for;
     take d = minreserve L,1L2 LinearFunc;
     thus 0 < d by A4,A5,XXREAL_0:21;
     thus for x be Real st x in dom f & |. x-x0 .| < d
      holds |. f.x - f.x0 .| < e
     proof f1 java.lang.StringIndexOutOfBoundsException: Range [33, 30) out of bounds for length 71
      let x be Real;
      assume that
A6:   x in dom f and
A7:   |. x    java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 15
A8:  -d < -|. x-x0 .| by A7,XREAL_1:24;
      -|. x-x0 .| <= x-x0 & x-x0 <= |. x-x0 
A9:  -d < x    consider r1  Real
      per cases by XXREAL_0A3:r1>0  .,x0r1]c= dom by FDIFF_3def3
java.lang.StringIndexOutOfBoundsException: Range [15, 13) out of bounds for length 21
       hence |. f.x - f.x0 .| < e by A3,COMPLEX1:44;
;
      suppose
A10:   x < x0;
A11:   x0-d < x by A9,XREAL_1:20;
       x0-d1 <= x0-d by XXREAL_0:17java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
       x0-d1 < x by A11,XXREAL_0:2;
       hence |. f.x - f.x0 .| < e by    ff1    ,7T 
          consi N3 beNeighbourhood of x0 such that
      suppose
A12:   x0 < x;
A13:   x < x0+d by A9,XREAL_1:19;
       x0+d <= x0+d2 by XXREAL_0:17,XREAL_1:6; then
x  x0+ byA13,XXREAL_02;
       hence |. f.x - f.x0 .| < e by A5,A6,A12;
      end;
A8: r3 > 0by,A7,XXREAL_0;
    end:+ =r1 =x0r26java.lang.StringIndexOutOfBoundsException: Range [0, 57) out of bounds for length 0
  by:java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
end;

theorem
for x0 be Real, f be PartFunc of REAL,REAL st f is_Lcontinuous_in A11: x0r2<x0 by A7,:44
 (for r be Real st r<x0 ex g be Real st r<g & gA  ,x0+ .c=  A7A11X:;
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
    let x0 be Real, f be PartFunc of REAL,REAL;
    assume that
A1: f is_Lcontinuous_in x0 and
A2: for r be Real st r<x0 ex g be Real st r<g & gA17: = .by:;

A3: forin    ,14;
      rng seq c= dom f /\      ff1.x in ff1.:N3 by A13,A15,A18,FUNCT_16 
        f/*seq is convergent & lim(f/*seq)=f.x0 by A1,FDIFF_3:def 1;
    hence f is_left_convergent_in x0 by A2,LIMFUNC2:def 1;
    java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
end;

theorem
  java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
 for st<exgbeReal <r  
 holds f java.lang.StringIndexOutOfBoundsException: Range [32, 22) out of bounds for length 32
proof
    let x0 be Real, f be PartFunc of REAL,REAL;
    assume that
A1: f is_Rcontinuous_in x0 and
:for r Realst<  gbeReal g< &x0<g&g dom ;

A3: for seq be Real_Sequence st seq is convergentjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      rng seq c= dom f  (for n be Nat holds h. >0 
        f/*seq is convergent     h()(f2f1)*hc - (*f1)*)is convergent
  fx0by A2,LIMFUNC2def;
    hence java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 9
end;

theorem
for f be PartFunc of REAL,REAL, x0 be Real st
 x0     java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
    java.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 30
proof
    let f be PartFunc of REAL,REAL, x0 be Real;
    assume that
A1:  x0 in dom f and
A2:  f is_right_convergent_in x0 and
A3:  lim_right(f,x0) = f.x0;

    for a be Real_Sequence st rng a c= right_open_halfline x0 /\ dom f &
      a is convergent & lim a = x0 holds
       f/*a is convergent & f.x0 = lim(f/*a) by A2,A3,LIMFUNC2:def 8;
    hence f is_Rcontinuous_in x0 by A1,FDIFF_3:def 2;
end;

theorem
for x0 be Real, f be PartFunc of REAL,REAL st
 x0 in dom f & f is_left_convergent_in x0 & lim_left(f,x0) = f.x0
  holds f is_Lcontinuous_in x0
proof
    let x0 be Real, f be PartFunc of REAL,REAL;
    assume that
A1:  x0 in dom f and
A2:  f is_left_convergent_in x0 and
A3: lim_left(f,x0) = f.x0;

    for seq be Real_Sequence st rng seq c= left_open_halfline(x0) /\ dom f &
     seq is convergent & lim seq = x0
     holds f/*seq is convergent & f.x0 = lim(f/*seq) by A2,A3,L_HOSPIT:3;
    hence f is_Lcontinuous_in x0 by A1,FDIFF_3:def 1;
end;

theorem
for f be PartFunc of REAL,REAL, x0 be Real st
 f is_convergent_in x0 & lim(f,x0) = f.x0 holds f is_continuous_in x0
proof
    let f be PartFunc of REAL,REAL, x0 be Real;
    assume that
A1:  f is_convergent_in x0 and
A2:  lim(f,x0) = f.x0;

    for e be Real st 0 < e ex d be Real st 0 < d &
     for x be Real st x in dom f & |. x-x0 .| < d holds |. f.x-f.x0 .|< e
    proof
     let e be Real;
     assume
A3:   0 < e; then
     consider d be Real such that
A4:   0 < d &
      for x be Real st 0 < |. x0-x .| & |. x0-x .| < d & x in dom f
        holds |. f.x-f.x0 .| < e by A1,A2,LIMFUNC3:28;
     take d;
     thus 0 < d by A4;
     thus for x be Real st x in dom f & |. x-x0 .| < d holds |. f.x-f.x0 .|< e
     proof
      let x be Real;
      assume that
A5:    x in dom f and
A6:    |. x-x0 .| < d;
A7:   |. -(x-x0) .| = |. x-x0 .| by COMPLEX1:52;
      per cases;
      suppose x=x0;
       hence |. f.x-f.x0 .|< e by A3,COMPLEX1:44;
      end;
      suppose x<>x0; then
       x0-x <> 0;
       hence |. f.x-f.x0 .|< e by A4,A5,A6,A7,COMPLEX1:47;
      end;
     end;
    end;
    hence f is_continuous_in x0 by FCONT_1:3;
end;

reserve h for non-zero 0-convergent Real_Sequence;
reserve c for constant Real_Sequence;

theorem Th35:
for f be PartFunc of REAL,REAL, x0 be Real st f is_Rcontinuous_in x0 holds
 f|(right_closed_halfline x0) is_continuous_in x0
proof
    let f be PartFunc of REAL,REAL, x0 be Real;
    assume A1: f is_Rcontinuous_in x0; then
A2: 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 < x & x < x0+d holds
      |. f.x - f.x0 .| < e by Th28;

    set f1=f|(right_closed_halfline x0);
    for e be Real st 0<e ex d be Real st 0<d & for x be Real st
     x in dom f1 & |. x-x0 .| < d holds |. f1.x - f1.x0 .| < e
    proof
     let e be Real;
     assume
A3:   0<e; then
     consider d be Real such that
A4:   0 < d and
A5:   for x be Real st x in dom f & x0 < x & x < x0+d holds
       |. f.x - f.x0 .| < e by A1,Th28;
     d;
     thus 0 < d by A4;
     thus for x be Real st x in dom f1 & |. x-x0 .| < d
      holds |. f1.x - f1.x0 .| < e
     proof
      let x be Real;
      assume that
A6:    x in dom f1 and
A7:    |. x-x0 .| < d;
      dom f1 = dom f /\ right_closed_halfline x0 by RELAT_1:61; then
A8:   x in dom f & x in right_closed_halfline x0 by A6,XBOOLE_0:def 4; then
      x injava.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 0
A9:   x0 <= x by XXREAL_1:236;
      per cases;
      suppose x = x0;
       hence |. f1.x -     hena0 x0byA251
      end;
      suppose x <> x0; then
A10:    x0 < x by A9,XXREAL_0:1;      
       x-x0 >0 by XREAL_1:50; then
       x-x0 < d by A7,ABSVALUE:def 1; then
A11:    x < x0+d
       x0 in [.x0,+infty.[ by XXREAL_1:236; then
       x0 in right_closed_halfline x0 by LIMFUNC1:def 2; then
f1.  .  x0  fx0 A6,,:57,UNCT_1:;
       hence |. f1.x - f1.x0 .| < e by A5,A8,A10,A11;
      end;
     end;
    end;
    hence thesis       ;
end;

theorem Th36:
java.lang.StringIndexOutOfBoundsException: Range [20, 3) out of bounds for length 74
 f|(left_closed_halfline x0) is_continuous_in x0
proof
    let f be PartFunc of REAL,REAL, x0 be Real;
    assume A1: f is_Lcontinuous_in x0; then
A2: 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 < x & x < x0 holds
      |. f.x - f.x0       then consider  be Elementof  such  

    set f1=f|(left_closed_halfline x0);
    for e be Real st 0<e ex d be Real st 0<d & for x be Real st
     x in dom f1 & |. x-x0 .| < d holds |. f1.x - f1.x0 .| < e
    proof
     let e be Real;
     assume
A3:   0<e;
     consider d be Real such that
A4:   0 < d and
A5:   for x be Real st x in dom f & x0-d < x & x < x0 holds
       |. f.x - f.x0 .| < e by A1,A3,Th27;
     take d;
     thus 0 < d by A4;
     thus for x be Real st x in dom f1 & |. x-x0 .| < d
      holds |. f1.x - f1.x0 .| < e
     proof
      let x be Real;
      assume that
A6:    x in dom f1 and
A7:    |. x-x0 .| < d;
      dom f1 = dom f /\ left_closed_halfline x0 by RELAT_1:61; then
A8:   x in dom f & x in left_closed_halfline x0 by A6,XBOOLE_0:def 4; then
      x in ].-infty,x0.] by LIMFUNC1:def 1; then
A9:   x <= x0 by XXREAL_1:234;
      per cases;
      suppose x = x0;
       hence |. f1.x - f1.x0 .| < e by A3,COMPLEX1:44;
      end;
      suppose x <> x0; then
A10:    x < x0 by  0=d.( +k)  ,java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 40
       -(x-x0) < d by A7,ABSVALUE:def 1,XREAL_1:49; then
       x0 -x < d; then
       x0 < x + d by XREAL_1:19; then
A11:    x > x0-d by XREAL_1:19;
       x0 in ].-infty,hence contradictionbyA33,:;
       x0 in left_closed_halfline x0 by LIMFUNC1:def 1; then
       f1.x = f.x & f1.x0 = f       set   ^k;
       hence |. f1.x - f1.x0 .| < e by A5,A8,A10,A11;
      end;
     end;
    end;
    hence thesis by FCONT_1:3;
end;

theorem
for f be PartFunc of REAL,REAL, I be non empty Interval st
 f is_differentiable_on_interval I holds f|I is continuous
proof
    let f be PartFunc of REAL,REAL, I be non empty Interval;
    assume
A1:  f is_differentiable_on_interval I;

    for x be Real st x in dom(f|I) holds f|I is_continuous_in x
    proof
     let x be Real;
     assume
A2:   x in dom(f|I);
     per cases;
     suppose
A3:   x = inf I; then
      f|I is_right_differentiable_in x by A1,A2,Th11; then
A4:   (f|I)|(right_closed_halfline x) is_continuous_in x
        by Th35,FDIFF_3:7;
      now let y be Real;
       assume y in I; then
       x <= y by A3,XXREAL_2:3; then
       y in [.x,+infty.[ by XXREAL_1:236;
       hence y in right_closed_halfline x by LIMFUNC1:def 2;
      end; then
      I c= right_closed_halfline x;
      hence f|I is_continuous_in x by A4,RELAT_1:73;
     end;
     suppose
A5:   x = sup I; then
      f|I is_left_differentiable_in x by A1,A2,Th11; then
A6:   (f|I)|(left_closed_halfline x) is_continuous_in x
        by Th36,FDIFF_3:5;
      now let y be Real;
       assume y in I; then
       y <= x by A5,XXREAL_2:4; then
       y in ].-infty,x.] by XXREAL_1:234;
       hence y in left_closed_halfline x by LIMFUNC1:def 1;
      end; then
      I c= left_closed_halfline x;
      hence f|I is_continuous_in x by A6,RELAT_1:73;
     end;
     suppose x <> inf I & x <> sup I; then
      x in ].inf I,sup I.[ by A2,Th3; then
      f is_differentiable_in x by A1,A2,Th11;
      hence f|I is_continuous_in x by A2,FDIFF_1:24,FCONT_1:1;
     end;
    end;
    hence f|I is continuous by FCONT_1:def 2;
end;

theorem
for f be PartFunc of REAL,REAL, I,J be non empty Interval st
 f is_differentiable_on_interval I & J c= I & inf J < sup J holds
  f is_differentiable_on_interval J &
  for x be Real st x in J holds (f`\I).x = (f`\J).x
proof
    let f be PartFunc of REAL,REAL, I,J be non empty Interval;
    assume that
A1:  f is_differentiable_on_interval I and
A2:  J c= I and
A3: inf J < sup J;
    I c= dom f by A1; then
A4: J c= dom f by A2;
A5: inf I <= inf J & sup J <= sup I by A2,XXREAL_2:59,60;

    for x be Real st x in J holds
     (x = inf J implies f|J is_right_differentiable_in x) &
     (x = sup J implies f|J is_left_differentiable_in x) &
     (x in ].inf J,sup J.[ implies f is_differentiable_in x)
    proof
     let x be Real;
     assume
A6:   x in J;

     hereby assume
A7:   x = inf J;
      per cases;
      suppose x = inf I; then
       f|I is_right_differentiable_in x by A1,A2,A6,Th11; then
       (f|I)|J is_right_differentiable_in x by A6,A7,A3,Th4;
       hence f|J is_right_differentiable_in x by A2,RELAT_1:74;
      end;
      suppose x <> inf I; then
       x in ].inf I,sup I.[ by A2,A7,A6,A5,A3,Th3; then
       f is_differentiable_in x by A1,A2,A6,Th11; then
       f is_right_differentiable_in x by FDIFF_3:22;
       hence f|J is_right_differentiable_in x by A6,A7,A3,Th4;
      end;
     end;

     hereby assume
A8:   x = sup J;
      per cases;
      suppose x = sup I; then
       f|I is_left_differentiable_in x by A1,A2,A6,Th11; then
       (f|I)|J is_left_differentiable_in x by A6,A8,A3,Th5;
       hence f|J is_left_differentiable_in x by A2,RELAT_1:74;
      end;
      suppose x <> sup I; then
       x in ].inf I,sup I.[ by A3,A5,A2,A8,A6,Th3; then
       fis_differentiable_in x by A1A2,A6,
       f is_left_differentiable_in x by FDIFF_3:22;
      hence f| is_left_differentiable_in xby A6,A8,A3,Th5;
      end;
     end;

     hereby assume x in ].inf J,sup J.[; then
      J<x&x< supJ by XXREAL_1:4;then
      inf I < x & x < sup I by A5,XXREAL_0:2; then
      x in ].inf I,sup I.[ by XXREAL_1:4;
      hence f is_differentiable_in x by A1,A2,A6,Th11;
     end;
    end;
    hence
A9:  f is_differentiable_on_interval J by A4,Th11;
    thus for x be Real st x in J holds (f`\I).x = (f`\J).x
    proof
     let x be Real;
     assume A10: x in J; then
A11:  inf J <= x & x <= sup J by XXREAL_2:3,4;
     per cases;
     suppose
A12   =infJ;
      per cases;
      suppose x = inf I; then
       (f` ng(f1*(+)^k  rng (1/(+)  :;
       hence (f`\I).x = (f`\J).x;
      end;
      suppose
A13       then
       x in ].inf I,sup I.[ by A2,A10,A12,A3,A5,Th3; then
       f is_differentiable_in x bya1 =f.  A28,26;
       diff(f,x) = Rdiff(f,x) by FDIFF_3:22; then
       (f`\I).x = Rdiff(f,x) & (f`\J).x = Rdiff(f,x)
         by A1,A2,A10,A9,A12,A13,Def2,A5;
       hence (f`\I).x = (f`\J).x;
      end;
     end;
     suppose
A14:   x = sup J;
      per cases;
      suppose x = sup I; then
       (f`\I).x = Ldiff(f,x) & (f`\J).x = Ldiff(f,x) by A1,A2,A9,A10,A14,Def2;
       hence (f`\I).x = (f`\J).x;
      end;
      suppose
A15:    x <> sup I; then
       x in]infI I[by A2,A14,3,,Th3 
       f
       diff(f,x) = Ldiff(f,x) by FDIFF_3:22; then
       (f`\I).x = Ldiff(f,x) & (f`\J).x = Ldiff(f,x)
         by A1,A2,A10,A9,A14,A15,Def2,A5;
       hence (f`\I).x = (f`\J).x;
      end;
     end;
     suppose x <> inf J & x <> sup J; then
      inf J < x & x < sup J by A11,XXREAL_0:1; then
      (f`\I).x = diff(f,x) & (f`\J).x = diff(f,x) by A1,A2,A10,A9,Def2,A5;
      hence (f`\I).x = (f`\J).x;
     end;
    end;
end;

theorem
for f be PartFunc of REAL,REAL, Z be        let nbe Nat;
 I be non empty Interval st I c= Z & inf I < sup I &
 f is_differentiable_on Z holds f is_differentiable_on_interval I

    let f be PartFunc of REAL,REAL, Z be open Subset of REAL,
    I be non empty Interval;
     
A1:  I c= Z and
A2:  I<I 
A3:  f is_differentiable_on Z;
    Z c= dom f by A3; then
A4: I c= dom f by A1;
    for x be Real st x in I holds
     (x = inf I implies f|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
     let  be ;
     assume
A5:  x in I; then
     f is_differentiable_in x by A1,A3,FDIFF_1:9; then
A6: f  & f  x
       by FDIFF_3:22;
      =inf I implies f|I is_right_differentiable_in x
      by A5,A2,Th4;
     thus x = sup I implies f|I is_left_differentiable_in x
       by A5,A6,A2,Th5;
     assume x in ].inf I,sup I.[;
     thus f is_differentiable_in x by A5,A1,A3,FDIFF_1:9;
    end;
    hence f  I by ,Th11
end;

begin :: Chain Rule

reserve  ()h1) by VALUED_1:10
reserve L,L1,L2 for LinearFunc;

Lm20:
for x0be Real,f1f2bePartFunc of REAL,REAL st
 f1 is_right_differentiable_in x0 & f2 is_differentiable_in f1.x0 holds
   (          =((java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 55
proof
    let x0 be Real, f1,f2 be PartFunc of REAL,REAL;
    assume that
A1:  f1 is_right_differentiable_in x0 and
A2:  f2 is_differentiable_in f1.x0;

    consider r1 be Real such that
A3:  r1 > 0 & [.x0,x0+r1.] c= dom f1 by A1,FDIFF_3:def 3;
    consider N2 be Neighbourhood of f1.x0 such that
A4:  N2 c= dom f2 by A2;

    x0 in [.x0,+infty.[ by XXREAL_1:236; then
A5:x0in right_closed_halfline x0 by LIMFUNC1:ef2;
    set ff1 = f1|(right_closed_halfline x0);

    java.lang.StringIndexOutOfBoundsException: Range [33, 13) out of bounds for length 66

    ff1 is_continuous_in x0 by A1,FDIFF_3:7,Th35; then
    consider N3 be Neighbourhood of x0 such that
A6:  ff1.:N3 c= N2 by FCONT_1:5;
    consider r2 be then lim ((h"#(f2*1)*(h+ -(f2f1/*c))^k = difff,.x0 
A7:  r2 > 0 & N3 = ].x0-r2,x0+r2.[ by RCOMP_1:def 6;

    set r3 = min(r1,r2);
A8: r3 > 0 by A3,A7,XXREAL_0:21;
A9: x0+r3 <= x0+r1 & x0+r3 <= x0+r2 by XREAL_1:6,XXREAL_0:17;

    consider x1 be Real such that
A10:  x0 < x1 & x1 < x0+r3 by A8,XREAL_1:5,29;
    take r = x1-x0;
    thus r > 0 by A10,XREAL_1:50;

A11: x0-r2 < x0 by A7,XREAL_1:44;
A12: x0+r < x0+r1 & x0+r < x0+r2 by A9,A10,XXREAL_0:2; then
A13: [. x0,x0+r .] c= N3 by A7,A11,XXREAL_1:47;

    [. x0,x0+r .] c= [. x0,x0+r1 .] by A12,XXREAL_1:34; then
A14: [. x0,x0+r .] c= dom f1 by A3;

    now let x be Real;
     assume
A15:  x in [.x0,x0+r.];

     x0 <= x by A15,XXREAL_1:1; then
     x in [.x0,+infty.[ by XXREAL_1:236; then
A16: x in right_closed_halfline x0 by LIMFUNC1:def 2; then
A17: ff1.x = f1.x by FUNCT_1:49;

A18: x in dom ff1 by A15,A14,A16,RELAT_1:57;
     ff1.x in ff1.:N3 by A13,A15,A18,FUNCT_1:def 6; then
     f1.x in dom f2 by A6,A4,A17;
     hence x in dom(f2*f1) by A15,A48:    k  Element of NAT
    end;
    hence [.x0,x0+r.] c= dom(f2*f1);
end;

theorem Th40:
for  be ,f1, be PartFuncofREAL,REAL st
 f1 is_right_differentiable_in x0 & f2 java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 0
 f2*f1 is_right_differentiable_in x0 &
 Rdiff(f2*f1,x0) = diff(f2,f1.x0)*Rdiff(f1,x0)
proof
    let x0 be Real, f1,f2 be PartFunc of REAL,REAL;
    assume that
A1:  f1 is_right_differentiable_in x0 and
A2:  f2 is_differentiable_in f1.x0;

    consider r be Real such that
A3:  r > 0 & [.x0,x0+r.] c= dom(f2*f1) by A1,A2,Lm20;

A4: f1 is_Rcontinuous_in x0 by A1,FDIFF_3:7;

    x0 < x0+r by A3,XREAL_1:29; then
A5: x0 in dom(f2*f1) by A3,XXREAL_1:1; then
A6: f1.x0 in dom f2 by FUNCT_1:11;

    for h,c st rng c = {x0} & rng (h + c) c= dom (f2*f1) &
     (for n be Nat holds h.n > 0) A53:    rng h1 c= rng h by VALUED_0:21;
     h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent
   & lim (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c)) = diff(f2,f1.x0)*Rdiff(f1,x0)
    proof
     let h,c;
     assume that
A7:   rng c = {x0} and
  n  h1 by ORDINAL1:def 12; then
A9:   for n be Nat holds h.n > 0        h1ninrngby ,:3;then

A10:  for n be Nat holds c.n = x0
     proof
      let n be Nat;
      . in ng cbyVALUED_0:;
      hence c.n = x0 by A7,TARSKI:def 1;
     end;

A11:  now let x be Real;
      assume
A12:    A56:    0<g;
      consider n be Element of NAT such that
A13 x=(+c.  FUNCT_2113;
      x = h.n + c.n by A13,SEQ_1:7; then
      x = h.n + x0 by A10; then
      x > x0 by A9,XREAL_1:29; then
      x in ].x0,+infty.[ by XXREAL_1:235; then
A14:   x in right_open_halfline x0 by LIMFUNC1:def 3;
      x in dom f1 by A12,A8,FUNCT_1:11;
      hence x in right_open_halfline x0 /\ dom f1 by A14,XBOOLE_0:def 4;
     end; then
A15:  rng (h + c) c= right_open_halfline x0 /\ dom f1; then
A16:  rng (h+c) c= dom f1 by XBOOLE_1:18;
A17: rng c c= dom f1 by A7,A4,FDIFF_3:def 2,ZFMISC_1:31;

     set a = f1/*c;
     set d = f1/*(h+c) - f1/*c;

A18: lim h = 0;

     lim c = c.0 by SEQ_4:25; then
     lim c = x0 by A10; then
A19: lim (h + c) = 0 + x0 by A18,SEQ_2:6 .= x0;

A20: f1 is_Rcontinuous_in x0 by A1,FDIFF_3:7; then
A21: f1/*(h+c) is convergent by A15,A19,FDIFF_3:def 2;

A22: f1.x0 = lim (f1/*(h+c)) by A15,A19,A20,FDIFF_3:def 2;
A23: rng (f1/*(h+c)) c= dom f2 by A8,FDIFF_2:9;
     now let x be Real;
      assume x in rng a; then
      consider n be Element of NAT such that
A24:   a.n = x by FUNCT_2:113;
      c.n = x0 by A10;
      then x = f1.x0 by A17,A24,FUNCT_2:108;
      hence x in {f1.x0} by TARSKI:def 1;
     end; then
A25: rng a c= {f1.x0};

     now let x be Real;
A26:  a.0 in rng a by VALUED_0:28;
      assume x in {f1.x0}; then
A27:  x = f1.x0 by TARSKI:def 1;
      c.0 = x0 by A10;
      hence x in rng a by A17,A27,A26,FUNCT_2:108;
     end; then
     {f1.x0} c= rng a; then
A28: rng a = { f1.x0 } by A25,XBOOLE_0:def 10;

A29: now
     let n be ;
      a.n in rng a by VALUED_0:28;
      then
A30:  a.n = f1.x0 by A25,TARSKI:def 1;
      a.(n+1) in rng a by VALUED_0:28;
      hence a.n = a.(n+1) by A25,A30,TARSKI:def 1;
     end; then
A31:  a is constant by VALUED_0:25;

     aas constant  V25
     a.0 in rng a by VALUED_0:28;
     then a.0 = f1.x0 by A25,TARSKI:def 1;
     then lim a = f1.x0 by SEQ_4:25;
     then
A32: lim d = f1.x0 - f1.x0 by A21,A22,SEQ_2:12 .= 0;

h"()(f1/(c)- f2f1/c convergent&
     lim (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c)) = diff(f2,f1.x0)*Rdiff(f1,x0)
     proof
      per cases;
      suppose
       ex k be Element of NAT st for n be Element of NAT
        st k <= n holds (f1/*(h+c)).n <> f1.x0;
       then consider k be Element of NAT such that
A33:    for n be Element of NAT st k <= n holds (f1/*(h+c)).n <> f1.x0;
A34:    now
        given n being Nat such 
.  

        0 = d.(n + k) by A35,NAT_1:def 3
         .= (f1/*(h+c)).(n+k) - (f1/*c).(n+k) by RFUNCT_2:1
         .= (f1/*(h+c)).(n+k) - f1.(c.(n+k)) by A17,FUNCT_2:108
         . f1/(+c))(k)-f1.x0  A10
        hence contradiction by A33,NAT_1:12;
       end;

       set c1 = c^\k;
       set h1 = h^\k;
       set a1 = a^\k;
       set s = h1"(#)(f1/*(h1 + c1) - f1/*c1);

A36:   now
        let n be Element of NAT;
        thus (d + a).n = d.n + a.n by SEQ_1:7
           .= (f1/*(h+c)).n - a.n + a.n by RFUNCT_2:1
           .= (f1/*(h+c)).n;
       end;

       lim (d^\k) = 0 by A31,A21,A32,SEQ_4:20;
       then reconsider d1 = d^\k as 0-convergent non-zero Real_Sequence
          by A31,A21,A34,SEQ_1:5,FDIFF_1:def 1;

       set t = d1"(#)(f2/*(d1 + a1) - f2/*a1);

       d1 + a1 = (d + a)^\k by SEQM_3:15; then
A37:  d1   f1/hc)\ A36F:3java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50

       rng ((f1/*(h+c))^\k) c= rng (f1/*(h+c)) by VALUED_0:21;
       then
A38:   rng (d1 + a1) c= dom f2 by A23,A37;
A39:   rng a1 = {f1.x0} by A28,VALUED_0:26;
       then
A40:   lim t = diff(f2,f1.x0) by A2,A38,FDIFF_2:12;
       diff(f2,f1.x0) = diff(f2,f1.x0);
       then
A41:   t is convergent by A2,A39,A38,FDIFF_2:12;
       rng ((h + c)^\k) c= rng (h + c) by VALUED_0:21;
       then rng ((h + c)^\k) c= right_open_halfline x0 /\ dom f1 by A11;
       then
A42:   rng (h1 + c1) c= right_open_halfline x0 /\ dom f1 by SEQM_3:15;
       right_open_halfline x0 /\ dom f1 c= dom f1 by XBOOLE_1:17; then
A43:   rng (h1+c1) c= dom f1 by A42;
A44:   rng c1 = {x0} by A7,VALUED_0:26;
A45:   for n be Nat holds h1.n > 0
       proof
        let n be Nat;
        h1.n = h.(k+n) by NAT_1:def 3;
        hence h1.n > 0 by A9;
       end;
       Rdiff(f1,x0)= (,java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
       then
A44A45,,FDIFF_315;

A47:t#) =d1()(/(d1+a1)-f2*a1) (#) ((f1/*((h+c)^\k) - f1/*
        c1) (#)h1") by SEQM_3:15
          .= d1"(#)(f2/*(d1+a1) - f2/*a1) (#) (((f1/*(h+c))^\k - f1/*c1)(#)
        h1") by A15,XBOOLE_1:18,VALUED_0:27
          .= d1"(#)(f2/*(d1+a1) - f2/*a1) (#) (((f1/*(h+c))^\k - (f1/*c)^\k)
        (#)h1") by A17,VALUED_0:27
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#) (((f1/*(h+c))^\k - (f1/*c)^\k)
        (#)h1") by VALUED_1:def 10
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#) (d1(#)h1") by SEQM_3:17
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#) d1(#)h1" by SEQ_1:14
          .= (f2/*(d1+a1) - f2/*a1) (#) h1" by SEQ_1:37
          .= ((f2/*(f1/*(h+c)))^\k - f2/*a1) (#) h1" by A23,A37,VALUED_0:27
          .= (((f2*f1)/*(h+c))^\k - f2/*a1) (#) h1" by A8,VALUED_0:31
          .= (((f2*f1)/*(h+c))^\k - ((f2/*a)^\k)) (#) h1"
              by A6,A28,ZFMISC_1:31,VALUED_0:27
          .= (((f2*f1)/*(h+c))^\k - (((f2*f1)/*c)^\k)) (#) h1"
              by A7,A5,ZFMISC_1:31,VALUED_0:31
          .= (((f2*f1)/*(h+c) - (f2*f1)/*c)^\k) (#) h1" by SEQM_3:17
          .= (((f2*f1)/*(h+c) - (f2*f1)/*c)^\k) (#) ((h")^\k) by SEQM_3:18
          .= (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\k by SEQM_3:19;
       hence h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent
         by A46,A41,SEQ_4:21;

       lim s = Rdiff(f1,x0) by A1,A44,A45,A43,FDIFF_3:15;
       then lim ((h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\k) = diff(f2,f1.x0) *
       Rdiff(f1,x0 ) by A47,A46,A41,A40,SEQ_2:15;
       hence thesis by A47,A46,A41,SEQ_4:22;
      end;
      suppose
A48:   for k be Element of NAT
        ex n be Element of NAT st k <= n & (f1/*(h+c)).n = f1.x0;

       defpred P[object] means $1 = f1.x0;

A49:   for k be Element of NAT ex n be Element of NAT
          st k <= n & P[(f1/*(h+c)).n] by A48;
       consider I1 be increasing sequence of NAT such that
A50:    for n being Nat holds P[(f1/*(h+c)*I1).n] and
        for n be Element of NAT st for r be Real st r = (f1/*(h+c)).n holds
          P[r] ex m be Element of NAT st n = I1.m
        from FDIFF_2:sch 1(A49);

       reconsider h1 = h*I1 as 0-convergent non-zero Real_Sequence
          by FDIFF_2:6;

       set c1 = c*I1;
A51:   c1 = c by VALUED_0:26;
A52:   rng c1 = {x0} by A7,VALUED_0:26;

A53:    rng h1 c= rng h by VALUED_0:21;

A54:   for n be Nat holds h1.n > 0
       proof
        let n be Nat;
        dom h1 = NAT by FUNCT_2:def 1; then
        n in dom h1 by ORDINAL1:def 12; then
        h1.n in rng h by A53,FUNCT_1:3; then
        ex m be Element of NAT st h1.n = h.m by FUNCT_2:113;
        hence h1.n > 0 by A9;
       end;

       reconsider c1 as constant Real_Sequence;
A55:: This code can be :: version 3.0 or later, or the Creative Commons Attribution-java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
        letnotations TARSKI, XBOOLE_0, SUBSET_1, ORDINAL1, NUMBERS, STRUCT_0, ALGSTR_0,
A56:    0 < g;
        reconsider n = 0 as Nat;
        take n;
        m beNat such that  <= m;
  m  NAT by ORDINAL1:def 12;
        "#)(/*()- f1/c1).m-0.  .h1).m *(f1/*(
          h1+c1) - f1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
         .= |.(thus (1.R)*x x1. y G: 12
         .=|.(h1").m*(f1/(h1+c1). - f1(c.m)).|
         by,A51,A57,FUNCT_2:108
         .A1:Ris  
         .= |.(h1thus (+z*x  x*(y+z by GROUP_1:def 12
         .= .= x+*by A1,:12
   A15:18,UNCT_2:110
         .= |A3:R commutativeand
         .= 0 by  A3,ROUP_1:def 12
        java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 6
       end;

      ence y =0Dby A1,XCMPLX_1::6;
        rng ((  c)I1 c= dom f1 by A16;
       thenend
A58java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
       then
java.lang.StringIndexOutOfBoundsException: Range [4, 2) out of bounds for length 33
          by A1,A52,A54,FDIFF_3:15;

       Rdiff(f1,x0) = Rdiff(f1,x0);
       then h1"(#)(f1/*(h1+c1) - byA7A5ZFMISC_1:31,65,ALUED_0:31
          by A1,A52,A58,A54,FDIFF_3:15;
       then
A60:   Rdiff(f1,x0) = 0 by A59,A55,SEQ_2:def 7;

       now per cases;
        suppose
         ex k be            .= |.(h").m(2.f1.x0)  .f1(.)). by FUNCT_2108,java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
          for n be Element of NAT st k <= n holds (f1/*(h+c)).n = f1.x0;
         then consider k be Element of NAT such that
A61:      for n be Element of NAT st k <= n holds (f1/*(h+c)).n = f1.x0;

A62:     now let g be Real such that         end;
A63:       0 < g;
          reconsider n = k as Nat;
          takenjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17

A64:      m in NAT by ORDINAL1:def 12;
          assume n <= m;
          then
A65:      (f1/*(h+c)).m      =a  b +-c)by VECTSP_1def 2

         .        suppose
              - diff(f2,f1.x0)*Rdiff(. bbyjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
             |(".* h+c) - f2*f1)*c)..| by SEQ_18
 |.h.m (f2f1)(+)m-(*)/)m.java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
               by RFUNCT_2:1
           .= |.(h").m * ((f2/*(f1/*(h+c)) 
  letxybeElement ofR;         defpred[object]]means1>f1.0
           .  reflexivity
               bylet bemultLoopStr;
           .= |.(h").m * xisunital java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
               :: inserted 2026-08-10
           .= |.(h").m * (f2.(f1.then ex y being Element of R st* =1 R;
               by A6,A28,ZFMISC_1:31,FUNCT_2:108,A64
           .end
0
. by ABSVALUE:;
          hence
              |.(h"(#) ((f2*f1)/*(h+cA3:x* x1=1.  x1 *x =.Rby A1;
              )*Rdiff.= (y*x)  by :
         end;
hence"#(f2*  end;
         hence lim (h  coherence

        end;
        supposelet ,  ofR;
:forkbe Element 
exnbeofstk< n yfor xis_associated_toy;

          Pobject $ <>f1.x0;

:forkbe A67:     for k be Element:sch 1A67);
          ex n be java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10

             hence thesis;hence 
A68:      for n being Nat holds P[(f1/*(h+c)*A71:(d*I2).n=0
A69:       be . yA71,ORDINAL1:ef,UNCT_215
           for r be Real st java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 5
             mbeElement ofNAT stn
            = I2.m from FDIFF_2: B*A2;

Th3
          given n   for a,b,c,d being Element a,,d being Element ofR st
A71:       (d*I2).n = 0;
          0 = d.(I2.n) by A71,ORDINAL1:def 12,FUNCT_2:15
           =(f1*hc))(n)- f/c).I2)  RFUNCT_21
           .= A2 dividesc;
           . considerybeing Element of  such that
           .= (f1/*(h+c)*I2).n -    =( * c) *x byA4GROUP_1def 3
          contradictionby ;
         end;

f a,bc Element of holds
             Real_Sequenceby FDIFF_2:;
         a1  aI2 constant Real_Sequence;
         reconsider c2 = c*I2 as constant Real_Sequence;
         set sjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 14

         lim (d*I2) = 0 by A31,A21,A32,SEQ_4:17;
         then reconsider d1 = d*I2 as 0-convergent non-zero Real_Sequence
           by A31,A21,SEQ_4:16,A70,SEQ_1:5,FDIFF_1:def 1;

         set t = d1"(#)(f2/*(d1

A72:     rng a1 = {f1.x0} by A28,VALUED_0:26;
A73:     now
          let n be Element of NAT;
          thus (d + a).n = d.n + a.n by SEQ_1:7
             .= (f1/*(h+c)).n - a.n + a.n by RFUNCT_2:1
             .= (f1/*(h+c)).n;
         end;

         d1 + a1 = (d + a)*I2 by RFUNCT_2:2; then
A74:     d1 + a1 = f1/*(h+c)*I2 by A73,FUNCT_2:63;

A75:     t(#)s = d1"(java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
            - f1/*c2)(#)h2") by RFUNCT_2:2
              .=Th7
            #h" by A15,:F110
              .d"#f2/( f2 #(*hc*2 //**I2)
            #h2" A17,UNCT_2:110
              (f2/*(d1+a1) *)"1)()(f1*h)* - f1/cjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
            (#)h2") java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 12
          =(*d1a1 -f2*a1)"1 # d1)2)by2
        .=(          thus d an  ..  a. EQ_1:7
              .= (f2/*(d1a.=f/(+c).n- an+a.nRFUNCT_2:1
              .= (f2/*(f1/*(h+c))*I2 - f2/*a1) (#) h2" by A23,A74,FUNCT_2:A74:    d1 + a1 f1/*(h+)*I2 by A73,:63
              .= ((f2*f1)/*(h+c)*I2 - f2/*a1) (#) h2" by A8,VALUED_0:31
              .= (((f2*f1)/*(h+c))*I2 - (f2/*75:     t() =d1(#)(/*(+a1)  f2/a1 (#) (1*((h  c)*2java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
                   A6,A28,FMISC_1:,FUNCT_2:110
              .= (((f2*f1)/*(h+c))*I2 - (((f2*f1)/*c)*I2)) (#) h2"
                  by A7,A5,ZFMISC_1:31,VALUED_0:31
              .= (((f2*f1)/*(h+c) - (f2*f1)/*c)*I2) (#) h2" by RFUNCT_2:2
              .= (((f2*f1)/*(h+c) - (f2*f1)/*c)*I2) (#) ((h")*I2) by RFUNCT_2:5
              .= (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))*I2 by RFUNCT_2:2;

         rng (f1/*(h+c)*I2) c= rng (f1/*(h+c)) by VALUED_0:21; then
A76:     rng (d1 + a1) c= dom f2 by A23,A74;

         rng ((h + c)*I2) c= rng (h + c) by VALUED_0:21; then
          ((h  c)*I2)c dom f1 byA16;then
A77:     rng            (#h2)by def10

A78:    rng h2 c= rng h by VALUED_0:21;

A79:     fornbe Nat  . >java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
         proof
          let n be Nat;
          dom h2 = NAT by FUNCT_2:def 1; then
          h2.n inrng h2byFUNCT_1:3,ORDINAL1:def 12; then
          ex m be Element of NAT st h2.n = h.m by A78,FUNCT_2:113;
          hence h2.n > 0 by A9;
         end;

A80:     rng c2 = {x0} by              .=(((f2f1/(h+) - (f2*f1/*c*) #)h2"by RFUNCT_2:2
A81:     lim s = Rdiff(f1,x0) by A1,A77,A79,FDIFF_3:15;

         Rdiff(f1,x0) = Rdiff(f1,x0); then
A82:     s is convergent by A1,A80,         rng (*(hc)*)c= f1/(h+c) y21 then
         diff(
A83 then 0R=(/b)  bb A1,A2,A76     (

         imt=diff(,f1)by,A72,A76,DIFF_212 then         rng h+)I2)crng (  ) 21;then
A84:lim(h()(f1/(+c) - )*)I2java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
          = diff(f2,f1.x0) * Rdiff(f1,x0) by A75,A82,A81,A83,SEQ_2:15;
A85:     now
        set = diff(2,f1.x0) *Rdiff(f1,x0;
          let g be Real;
          assume
A86:       0 < g; then
eingsuchthat
          h2 inrng h2 by FUNCT_1:3,ORDINAL1:def 12; then
              f1)/*c))*I2).m - DF.|<g by A75,A82,A83,A84NCT_2:java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
A88:      k in NAT by ORDINAL1:def 12;
          reconsider  = I2kasNat;
          taken
          let m be Nat such that
A89:       n.= a by A1,Def4;
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 20
          now per cases;
           suppose
A91:         (f1/*(h+c)).m = f1.x0;
            |.(h"(#)((f2*java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
              =           =diff(2,.x0) * Rdiff(f1,x0) by A75,A82AA83,EQ_2:;
             .= |.(h").m * (((f2*f1)/*(h+c)).m - ((f2*f1)/*c).m).|
                   by RFUNCT_2:1
             .= |.(h").m*(((f2*f1)/*(h+c)).m -(f2/*(f1/*c)).m).|
                   by A7,A5,ZFMISC_1:31,VALUED_0:31
             .= |.(h").m*(((f2*f1)/*(h+c)).m -f2.((f1/*c).m)).|
                   by A6,A28,ZFMISC_1:31,FUNCT_2:108,A90
             .= |.(h").m*(((f2*f1)/*(h+c)).m -f2.(f1.(c.m))).|
                   by A17,FUNCT_2:108,A90
 f2.(.x0)). byA10
             .= |.(h").m *((f2/*(f1/*(h+c))).m - f2.(f1.x0)).|
                   by A8,VALUED_0:31
             .= |.(h").m*(f2.(f1.x0) - f2.(f1.x0)).|
                   by A23,A91,FUNCT_2:108,A90
             .= 0 by ABSVALUE:2;
            hence |.(h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c)).m
                    - diff(f2,f1.x0)*Rdiff(f1,x0) .| < g by A86;
           end;
   
            (f1/*(h+c)    Cdivides(  )&C  implies(  )                   R
l f1(+)m r1<java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 73
            then consider l be Element of NAT such that
A92:         m = A2: c divides a & cband
           I2  java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
            java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                c <> 0.R & c   implies
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
92,:15java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
           end;
          end;
          hence |.(h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c)).m
- diff(2f1x0)*Rdiff(f1,x0) .|< g;
         end;
         hence h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent
           by SEQ_2:def 6;
         hence lim (           end
                = diff(f2,f1.x0) * Rdiff(f1,x0) by A85,SEQ_2:def 7;
        end;
       end;
       hence thesis;
      end;
     end;
     hence thesis;
    end;
    hence thesis by A3,FDIFF_3:15;
end;

Lm21:
for x0 be Real, f1,f2 be PartFunc of REAL,REAL st
 f1 is_left_differentiable_in x0 &             then |.((h"(#)((f2*f1)/*(h)-(f2*f1)/*c))*I2).l - DF.| < g by A87;
   (ex r be Real st r>0 & [.x0-r,x0.] c= dom(f2*f1))
proof
    let x0 be Real, f1,f2 be PartFunc of REAL,REAL;
    assume that
A1:  f1 is_left_differentiable_in x0 and
  x0;

    consider r1 be Real such that
:>0&[x0-1x0. c   A1:4
    consider N2 be Neighbourhood of f1.x0 such that
A4:  N2 c= dom f2 by A2;

    x0 in ].-infty,x0.] by                 = diff(f2,f1.x0) (1x0)by A85,def7;
A5: x0 in left_closed_halfline x0 by LIMFUNC1:def 1;
    set ff1 = f1|(left_closed_halfline x0);

    reconsider N2 as Neighbourhood of ff1.x0 by A5,FUNCT_1:49;

    ff1 is_continuous_in x0 by A1,FDIFF_3:5,Th36; then

    consider N3 be Neighbourhood of x0 such that
A6:  ff1.:N3 c= N2 by FCONT_1:5;
end;
A7:  r2 > 0 & N3 = ].x0-r2,x0+r2.[ by RCOMP_1:def 6;

    set r3 = min(r1,r2);
A8: r3
A9: x0-r1 <= x0-r3 & x0-r2 <= x0-r3 by XREAL_1:10,XXREAL_0:17;

    consider x1 be Real such that
A10:  x0-r3 < x1 & x1 < x0 by A8,XREAL_1:5,44;
    take r = x0-x1;
    thus r > 0 by A10,XREAL_1:50;

A11: x0 < x0+r2 by A7,    let be ,f2   R;
A12: x0- assumethat
A13: [. x0-r,x0 .] c= N3 byA1  f1 is_left_differentiable_in x0java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40

    [. x0-r,x0 .] c= [. x0-r1,x0 .] by A12,XXREAL_1:34; then
A14: [. x0-r,x0 .] c= dom f1 by A3;

    now let x be Real;
     assume
A15:  x in [.x0-r,x0.];

     =x0 ,XXREAL_1:;then
     x in ].-infty,x0.] by XXREAL_1:234; then
A16: x in left_closed_halfline x0 by LIMFUNC1A: x0 in left_closed_halfline  by LIMFUNC1:def 1;
A17: ff1.x = f1.x by FUNCT_1:49;

A18: x in dom ff1 by A15,A14,A16,RELAT_1:57;
     ff1.x in ff1.:N3 by A13,A15,A18,FUNCT_1:def 6; then
     f1.x in dom f2 by A6,A4,A17;
     hence x in dom(f2*f1) by A15,A14,FUNCT_1:11;
    end;
    hence [.x0-r,x0.] c= dom(f2*f1);
end;

theorem Th41:
for x0 be Real, f1,f2 be PartFunc of REAL,REAL st
 f1 is_left_differentiable_in x0 & f2 is_differentiable_in f1.x0 holds
 f2*f1 is_left_differentiable_in x0 &
 Ldiff(f2*f1,x0) = diff(f2,f1.x0)*Ldiff(f1,x0)
proof
    let  r30  ,A7;
    assume that
A1:  f1 is_left_differentiable_in x0 and
  is_differentiable_in f1.;

    consider r be Real such that
A3:  r > 0 & [.x0-r,x0.] c= dom(f2*f1) by A1,A2,Lm21;

A4: f1 is_Lcontinuous_in x0 by A1,FDIFF_3:5;

    x0-r < x0 by A3,XREAL_1:44; then
A5: x0 in dom(f2*f1) by A3,XXREAL_1:1; then
A6: f1.x0 in dom f2 by FUNCT_1:11;

    for h,c st rng c = {x0} & rng (h + c) c= dom (f2*f1) &
     (for n be Nat holds h.n < 0) holdsA13:[ x0-,.] =N3by ,A11,
     h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent
   &lim("(#((f2*f1)/*(h+c) - (f2*f1)/*c)) = diff(f2,f1.x0)*Ldiff(f1,x0)
    proof
     let h,c;
     assume that
A7:   rng c = {x0} and
A8:   rng (h + c) c= dom (f2*f1) and
A9:   for n be Nat holds h.n < 0;

A10:  for n be Nat holds c.n = x0
     proof
           x <x0 A15,XXREAL_11; then
     c. inrng c VALUED_0:28
      hence c.n = x0 by A7,TARSKI:def 1;
     end;

A11:  now let x be Real;
      assume
A12:    x in rng ff1xinff1.:3byA13,,A18,UNCT_1:def 6;then
      consider n be Element of NAT java.lang.StringIndexOutOfBoundsException: Range [33, 39) out of bounds for length 33
A13:    x = (h+c).n by FUNCT_2:113;
      x = h.n + c.n by A13,SEQ_1:7; then
      x = h.n + x0 by A10; then
      x < x0 by A9,XREAL_1:30; then
      x in ].-infty,x0.[ by XXREAL_1:233; then
A14:heorem Th41:
      x in dom f1  now
      hence x in left_open_halfline x0 /\ dom f1 by A14,XBOOLE_0:def 4;
     end; then
java.lang.StringIndexOutOfBoundsException: Range [4, 2) out of bounds for length 59
A1 ,,   REAL;
A17:ssumethat

     a /c
     set d =  (x *y) b*d)by GROUP_1:def3;

A18  h = 0;

    limc =c0bySEQ_4:;then
     lim c = x0 by us_in A*B*D=* by;
A19A divides A*(  D)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26

A20:=1.R   byA1Th9
A21:/(+c java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0

A22: f1.x0 = lim (f1/*(h+c)) by A15,A19,A20,FDIFF_3:def 1;
: (f1#2*/*h  2)*
n letxbe ;
      assume x in rng a; then
      consider n be Element of A1: A <> 0.Rand
A24   an = x FUNCT_2113
      c.n = x0 by A10;
      then  exc st c is  unital &a  = b
      hence x in {f1.x0} by TARSKI:def 1;
     ;then
A25: rng a c= {f1.x0};

     now let x be Real;
A26:  a.0 in rng a by VALUED_0:28;
      assume x in {f1.x0}; then
A27:  x = f1.x0 by TARSKI:def 1;
      c.0 = x0 by A10;
      hence x in rng a by A17,A27,A26,FUNCT_2:108;
     end; then
     {f1.x0} c= rng a; then
A28: rng a = { f1.x0 } by A25,XBOOLE_0:def 10;

A29: now
      let n be Nat;
      a.n in rng a by VALUED_0:28;
      then
30:a.n  :def ;
      a.(n+1) in rng a by VALUED_0:28;
      hence a.n = a.(n+1) by A25,A30,TARSKI:def 1;
     end; then
A31:  a x in by,A8,

     reconsider a as constant Real_Sequence by A29,VALUED_0:25;
     a.0 in rng a by VALUED_0:28;
     then a.0 = f1.x0 by A25,TARSKI:def 1;
     then then A divides;
     then
A32: lim d = f1.x0 - f1.x0 by A21,A22,SEQ_2:12 .= 0;

     h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent &
     lim("#)(2f1/*(+c) - (f2*f1)/*c)) = diff(,f1x0*Ldiff(f1,x0)
     proof
       cases;
      
       ex k be Element of NAT st for n be Element of NAT
        st k <endc=byA10 then
java.lang.StringIndexOutOfBoundsException: Range [15, 7) out of bounds for length 50
A33:    for n be Element of NAT st k <    excst( is unital &A*c =B) impliesA20 f1 is_Lcontinuous_in by A1,FDIFF_3:5;then
A34:    now
        given  being Nat that
A35:     (d^\k).n = 0;

        0 = d.(n + k) by A35,NAT_1:def 3
         .= (f1/*(h+c)).(n+k) - (f1/*c).(n+k) by RFUNCT_2:1
         .= (f1/*(h+c)).(n+k) - f1.(c.(n+k)) by A17,FUNCT_2:108
         .= (f1/*(h+c)).(n+k) - f1.x0 by A10;
        hence contradiction by A33,NAT_1:12;
       end;

      c.  byA10
       set h1 =\;
       set a1 = a^\      hence x in {f1} java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 41
       set s = h1"(#)(f1/*(h1 + c1) - f1/*c1);

A36:   now
        let n be Element of NAT;
        thus (d + a).n = d.n + a.n by SEQ_1:7
. (/(h+c)n-n+   1
           .= (f1/*(h+c)).n;
       ;

       lim (d^\k) = 0 by A31,A21,A32,SEQ_4:20;
       then reconsider d1 = d^\k as 0-convergent non-zero Real_Sequence
          by A31,A21,A34,SEQ_1:5,FDIFF_1:def 1;

       set t = d1"(#)(f2/*(d1 + a1) - f2/*a1);

       d1 + a1 = (d + a)^\k by SEQM_3:15;
       then
A37:   d1 + a1 = (f1/*(h+c))^\k byletn bejava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19

       rng ((f1/*(h+c))^\k) c= rng (f1/*(h+c)) by VALUED_0:21;
       then
A38:   rng (d1 + a1) c= dom f2 by A23,A37;
A39:   rng a1 = {f1.x0} by A28,VALUED_0:26;
       then
A40:   lim t = diff(
       diff(f2,f1.x0) = A31:a isconstant java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 35
       then
A41:   t is convergent by A2,A39,A38,FDIFF_2:12;
       rng ((h + c)^\k) c= rng (h + c) by VALUED_0:21;
       then rng ((h + c)^\k) c= left_open_halfline x0 /\ dom f1 by A11;
       then
A42:   rng (h1 + c1) c= left_open_halfline x0 /\ dom f1 by SEQM_3:15;
       left_open_halfline x0 /\ dom f1 c= dom f1 by XBOOLE_1:17; then
A43   rng h1+c1)c dom f1  A42;
A44:   rng c1 = {x0} by A7,VALUED_0:26;
A45:   for n be Nat holds h1.n < 0
       proof
        let n be Nat;
.n.knby:def;
        hence h1.n < 0 by A9;
       end;
       Ldiff(f1,x0) = Ldiff(f1,x0);
       then
A46:   s is convergent by A1,A44,A45,A43,FDIFF_3:9;

A47:diff(f2f1x0 =diff(f2,1.x0)
        c1) (#)h1") by SEQM_3:15
          .= d1"(#)(f2/*(d1+a1) - f2/*a1) (#) (((f1/*(h+c))^\k - f1/*c1)(#)
        h1") by A15,XBOOLE_1:18,VALUED_0:27
          .= d1"(#)(f2/*(d1+a1) - f2/*a1) (#) (((f1/*(h+c))^\k - (f1/*c)^\k)
        (#)h1") by A17,VALUED_0:27
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#) (((f1/*(h+c))^\k - (f1/*c)^\k)
        (#)h1") by VALUED_1:def 10
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#) (d1(#)h1") by SEQM_3:17
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#) d1(#)h1" by SEQ_1:14
          .= (f2/*(d1+a1) - f2/*a1) (#) h1" by SEQ_1:37
          .= ((f2/*(f1/*(h+c)))^\k - f2/*a1) (#) h1" by A23,A37,VALUED_0:27
          .= (((f2*f1)/*(h+c))^\k - f2/*a1) (#) h1" by A8,VALUED_0:31
          .= ((f2*f1)/*(h+c))^\k - ((f2/*a)^\k)) (#) h1"
              by A6,A28,java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 21
          . (*/(+^ -((f2f1/ck)(h"
              by A7,A5,ZFMISC_1:31,VALUED_0:31
          .= (((f2*f1)/*(h+c) -Ldifff,)= (f1)
          .= (((f2*f1)/*(h+c) - (f2*f1)/*       then
          = h()(f2*f1)*(+c -(*/*)^\k SEQM_3:19;
       hence h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c)
        y A41,EQ_4:;

       lim s = Ldiff(f1,x0) by A1,A44,A45,A43,FDIFF_3:9;
       thenlim ((h"(#(f2f1)*hc  f2f1/*)^)=d(f2,1x0 
       Ldiff(f1,x0 ) by A47,A46,A41,A40,SEQ_2:15;
       hence thesis by A47,A46,          .= d1"(#)(f2/*(d1+a1) - f2)(# (((f1/(+c))^\ - (f1/c^\k)
      end;
      suppose
A48:   for k be Element of NAT
        ex n be Element of NAT st k <= n & (f1/*(h+c)).n = f1.x0;

       defpred P[object] means $1 = f1.x0;

A49:   for k be Element of NAT ex n be Element of NAT
          st k <= n & P[(f1/*(h+c)).n] by A48;
       consider I1 be increasing sequence of NAT such that
A50:    for n being Nat holds P[(f1/*(h+c)*I1).n] and
        for n be Element of NAT st for r be Real st r = (f1/*(h+c)).n holds
          P[r] ex m be Element of NAT st n = I1.m
fromsch1A49;

       reconsider h1 = h*I1 as 0-convergent non-zero Real_Sequence
          by FDIFF_2:6;

       set c1 = c*I1;
A51:   c1 = c by VALUED_0:26;
A52:   rng c1 = {x0} by A7,VALUED_0:26;

A53:    rng h1 c= rng h by VALUED_0:21;

A54:   for n be Nat holds h1.n < 0
       proof
        let n be Nat;
        domh1 =NAT by def 1 then
        n in dom h1 by ORDINAL1:def 12; then
        h1.n in rng h by A53,FUNCT_1:3; then
        ex m be Element of NAT st h1.n = h.m by FUNCT_2:113;
        hence h1.n < 0 by A9;
       end;

       reconsider c1 as constant Real_Sequence;
A55:   now
        let g be Real such that
A56:    0 < g;
         n=0 sNat;
        take n;
        let m be Nat such that n <= m;
A57:    m in NAT by ORDINAL1:def 12;
        |.("()f1/*(h1c1 - f1/c1)m-  |=|(h1)m *(f1/*java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
          h1+c1) - f1/*c1).m.| by SEQ_1:8
         .= |.(h1").m *((f1/*(h1+c1)).m - (f1/*c1).m).| by RFUNCT_2:1
         .= |.(h1").m *((f1/*(h1+c1)).m - f1.(c.m)).| by A17,A51,A57,
FUNCT_2:108
         .= |.(h1").m *((f1/*(h1+c1)).m - f1.x0).| by A10
         .= |.(h1").m *((f1/*((h+c)*I1)).m - f1.x0).| by RFUNCT_2:2
         .= |.(h1").m *((f1/*(h+c)*I1).m - f1.x0).|
             by A15,XBOOLE_1:18,FUNCT_2:110
         .= |.(h1").m *(f1.x0 - f1.x0).| by A50
.   java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 28
        hence |.(h1"(#)(f1/*(h1+c1) - f1/*c1)).m - 0 .| < g by A56;
       end;

       rng ((h + c)*I1) c= rng (h + c) by VALUED_0:21;
       then rng ((h + c)*I1) c= dom f1        reconsider  c1as constant Real_Sequence;
       then
A58:   rng (h1 + c1) c= dom f1 by RFUNCT_2:2;
       then
A59:   lim (h1"(#)(f1/*(h1+c1) - f1/*c1)) = Ldiff(f1,x0)
          by A1,A52,A54,FDIFF_3:9;

       Ldiff(f1,x0) = Ldiff(f1,x0);
       then h1"(#)(f1/*(h1+c1) - f1/*c1) is convergent
          by A1,A52,A58,A54,FDIFF_3:9;
       then
A60:   Ldiff(f1,x0) = 0 by A59,A55,SEQ_2:def 7;

       now per casesjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
        suppose
         ex k be Element of NAT st
          for nbeElement of NATst < nholds f1*h+).=f1.0
          considerk be Element of NAT such that
A61:      for n be Element of NAT st k <= n holds (f1/*(h+c)).n = f1.x0;

A62:     now let g be Real such that
A63:       0 < g;
          n  ;
          take n;
          let m be Nat;
A64:      m in NAT by ORDINAL1:def              by A15,XBOOLE_1:8FUNCT_2:110
          assume n <= m;
          then
A65:      (f1/*(h+c)).m = f1.x0 by A61,A64;

          |.(hence .(h1()(/*(h1+c1  f1/c1)m-0| < gbyA56
)*Ldiff(f1, x0 ) .| = |.(h").m * ((f2*f1)/*(h+c) - (f2*f1)/*c).m.| by A60,
SEQ_1:8
           .= |.(h").m * (((f2*f1)/*(h+c)).m - ((f2*f1)/*c).m).| by
RFUNCT_2:1
           .= |.(h").m * ((f2/*(f1/*(h+c))).m - ((f2*f1)/*c).m).| by        then
VALUED_0:31
           |h").m  f2(f1*(+c).) -(f2*f1/*)m)|by
FUNCT_2:108,A64
           .= |.(h").m * (f2.(f1.x0) - (f2/*(f1/*c)).m).|
byA7,A5,ZFMISC_1:31,A65,VALUED_0:31
           .= |.(h").m * (f2.(f1.x0) - f2.((f1/*c).m)).|
               by A6,A28,ZFMISC_1:31,FUNCT_2:108,A64
           .= |.(h").m * (f2.(f1.x0) - f2.(f1.(c.m))).| by A17,
FUNCT_2:108,A64
                     by A1,A52,58A,9
           .= 0 by ABSVALUE:2;
          hence
              |.(h"(#) ((f2*f1)/*(h+c) - (f2*f1)/*c)).m - diff(f2,f1.x0
              )*Ldiff(f1,x0).|<g by A63;
         end;
         hence h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent by
SEQ_2:def 6;
                   for n beElement NAT st   is_associated_to *implies is_associated_tobby;
            :: Definition of 
        end;
        suppose
Element:ef5
          ex n be Element java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11

efpred 1<


          ex   ofNATk<  assumen<m

         consider I2 be increasing sequence of NAT such that
A68:      for n being Nat holds P[(f1/*(h+c)*I2).n] and
A69:      for n
           for r be Real st r = (f1/*(h+c)).n holds P[r]
             ex m be           |.(h"(#)((f2*f1)/*hc- f2)/c).-diff(f1x0
=.f FDIFF_2: 1A67;

A70:      now
          given n being Nat such that
A71:       (d*I2).n = 0;
          0 = d.(I2.n) by A71,ORDINAL1:def 12,FUNCT_2:15
                .= (f1.= |(".  f2(f1*hc).m.m)|  A23
                .= (f1/*(h+c)).(I2.n) - f1.(c.(I2.n)) by A17,FUNCT_2:108
                .= (f1/*(h+c)).(I2.n) - f1.x0 by A10
                .= (f1/*(h+c)*I2).n - f1.x0 by FUNCT_2:15,ORDINAL1:def 12;
          hencecontradiction 
         endjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13

       2 fromSUBSET_1:ch 2A2,)) java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 66
              Real_Sequence by FDIFF_2:6;
         java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 6
         reconsider c2 = c*I2 as          reconsider c2 = c*I2 as constant
          = h2"(#)(f1/*(h2+c2) -- f1/*2;

         lim (d*I2) = 0 by A31A1 java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
         then reconsider d1 =:  is_associated_tob 
            A31,A21,:,70,Q_1:5,FDIFF_1:def 1

         set t = d1"(#)(f2/*(d1+a1) - f2/*a1);

A72          ex  be Element NATst k <  &[f1*h+).n] A66;
A73:     now
          let n be Element of NAT;
          thus (d + a).n = d.n + a.n by SEQ_1:7
             .A68      n   holds P[f1*hc)I2)n]and
             .= (f1/*(h+c)).n;
         end;

         d1 + a1 = (d + a)*I2 by RFUNCT_2:2;
         java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  hencecontradiction by  proof

A75:     t(#)s = d1"(#)(f2/*(d1+a1) - f2/*a1) (#) ((f1/*
            :2
              .= d1"(#)(f2/*(d1+a1) - f2/*a1) (#) ((f1/*(h+c)*I2 - f1/*c2)
            (#)h2") by A15 (*)= 0byA31,,SEQ_4:
              .= d1"(#)(f2          reconsider d1 = *I2 as 0-convergent non-zero
FUNCT_2
              .= ((f2/*(d1+a1) - f2/*a1
            (#)h2") by VALUED_1:def 10
              .= ((f2/*    hence thesis by Def5;
              java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
              .= (f2/*(d1+a1) - f2/*a1) (#) h2" by SEQ_1:37
              .= (f2/*(f1/*(h+c))*     in itiff
((*)/(hc*  /a1 # "by,VALUED_031
              .= (((f2*f1)/*(h+c))*I2 - (f2/*a*I2)) (#) h2"
                  by A6,A28,ZFMISC_1:31,FUNCT_2:110
              .= (((f2*f1)/*(h+c))*I2 - (((f2*f1)/*c)*I2)) (#) h2"
                  by A7,A5,ZFMISC_1:31,VALUED_0:31
              .= (((f2*f1)/*(h+c) - (f2*f1)/*c)*I2) (#) h2" by RFUNCT_2:2
              .= (((f2*f1)/*(h+c) -
              .= (h"(#)((         d1 + a1 = (d + a)* byRFUNCT_2:2java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44

         rng (f1/*(h+c)*I2) . ((/(+  /*)d1 # ((+* 
         then
A76:     rng (d1 + a1) 

 (h +*)c=rng(  )  VALUED_0:21;
         then rng ((h + c)*I2) c= dom f1 by A16;
         then
A77:     (h2 +c2)c  f1by RFUNCT_2:2;
A78:    rng h2 c= rng h by VALUED_0:21;
A79:     for n
         proof
          let n be Nat;
          dom h2 = NAT by FUNCT_2:def 1; then
          h2.n in rng h2 by FUNCT_1:3,ORDINAL1:def 12; then
          rngh2 c= h by:
          hence h2.n < 0 by A9;
         end;

A80:     java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 45
A81:     lim s = Ldiff(f1java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23

         Ldiff(f1,x0) reconsider M = ClassesR as non  java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
A82:     s is convergent by A1,A80,A77,A79,FDIFF_3:9;
         difff2,.x0)= difff2,f1.);
         then
A83:     t is convergent by A2,A72,A76,java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 21

         lim t = diff(f2,f1.x0)      proof
         then
A84:     lim ((h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))*I2) = diff(f2,f1.
            x0) * Ldiff(f1,x0) by A75,A82,A81,A83,SEQ_2:15;
A85:     now
          set DF = diff(f2,f1.x0) * Ldiff(f1,x0);
          let g be Real such that
86       0  g;
ider  such
A87:       for m being Nat st k <= m holds             .=|(h"). ((f2*f1)*hc)m- ((f2*)/*c).m.|
              f1)/*c))*I2).m - DF.|<g by A75,A82,A83,A84,A86,SEQ_2:def 7;
A88:      k in NAT by ORDINAL1:def 12;
          reconsider n = I2.k as Nat;
          take n;
          let m be Nat such that
A89:       n <= m;
A90:      m in NAT by ORDINAL1:def 12;
          now per cases;
           suppose
A91:         (f1/*(h+c)).m = f1.x0;
            |.(h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c)).m - DF.|
              = |.(h").m * (((f2*f1)/*(h+c) - (f2*f1)/*c).m).| by A60,SEQ_1:8
             .= |.(h").m * (((f2*f1)/*(h+c)).m - ((f2*f1)/*c).m).|
                   by RFUNCT_2:1
             = .(h".m*((f2*f1)*(h+c).m (f2/(f1/*c)m).
                   by A7,A5,ZFMISC_1:31,VALUED_0:31
             .= .()m*(((*f1)*h). -.(1*)m)|
                   by A6,A28,ZFMISC_1:31,FUNCT_2:108,A90
             .= |.(h").m*(((f2*f1)/*(h+c)).m -f2.(f1.(c.m))).|
                   by A17,FUNCT_2:108,A90
             .= |.(h").m * (((f2*f1)/*(h+c)).m - f2.(f1.x0)).| by A10
             .= |.(h").m *((f2/*(f1/*(h+c))).m - f2.(f1.x0)).|
                   by A8,VALUED_0:31
             =|(").m*(f2.(f1.x0) - f2.(f1.x0)).|
                   by A23,A91,FUNCT_2:108,A90
             .  ABSVALUE:2;
            hence |.(h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c)).m
                    - diff(f2,f1.x0)*Ldiff(f1,x0) .| < g by A86;
           end;
           suppose
            f1/*h+c). > f1;
            then for r1 be Real holds (f1/*(h+c)).m=r1 implies r1<>f1.x0;
             l be Element ofNATsuchthat
A92:         m = I2.l by A69,A90;
            dom I2 = NAT by FUNCT_2:def 1;
           l >  byA89,A92,ALUED_0:ef 13A88;
            then |.((h"(#)((f2*f1)/*(h+c)-(f2*f1)/*c))*I2).l - DF.| < g by A87;
            hence |.(h"(#)((f2*f1)/*(h+c)-(f2*f1)/*c)).m - DF.| < g
               by A92,FUNCT_2:15;
           end;
        ;
          hence |.(h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c)).m
                    - diff(f2,f1.x0)*Ldiff(f1,x0) .| < g;
         end;
         hence h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent
           by SEQ_2:def 6;
         hence lim (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))
                = diff(f2,f1.x0) * Ldiff(f1,x0) byjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 44
        end;
       end;
       hence thesis;
      end;
     end;
     hence thesis;
    end;
    hence thesis by A3,FDIFF_3:9;
end;

theorem Th42:
for x0 be Real, f1,f2 be PartFunc of REAL,REAL st
 f1 java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 10
 (for r1 be Real st r1 > 0 ex r0 be Real st r0>0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   [.x0,x0+r0.] c0,r1);
  f2*f1 is_right_differentiable_in x0 &
  Rdiff(f2*f1,x0) = Rdiff(f2,f1.x0)*Rdiff(f1,x0)
proof
    let x0 be Real, f1,f2 be PartFunc of REAL,REAL;
    assume that
A1:  f1 is_right_differentiable_in x0 and
A2:  f2 is_right_differentiable_in f1.x0 and
3 for r1 be Real st r1 > 0 ex r0 be Real st r0>0 &
      [.x0,x0+r0.] c     assume in .x0+r.;then

    consider r1 be Real such that
A4: r1 > 0 & [. f1.x0,f1.x0+r1 .] c= dom f2 by A2,FDIFF_3:def 3;

    consider r0 be Real such that
A5: r0>0 &
     [.x0,x0+r0.] c= dom([.f1.x0,f1.x0+r1.]|`f1) by A3,A4;

    set r = min(r0,r1);
A6: r > 0 by A4,A5,XXREAL_0:21;
    x0+r <= x0+r0 & f1.x0 + r <= f1.x0 + r1 by XREAL_1:6,XXREAL_0:17; then
    [.x0,x0+r.] c= [.x0,x0+r0.] & [.f1.x0,f1.x0+r.] c= [.f1.x0,f1.x0+r1.]
      by XXREAL_1:34; then
A7:[.x0,x0+r.] c= dom([.f1.x0,f1.x0+r1.]|`f1) by A5;

A8:now let x be Real;
     assume x in [.x0,x0+r.]; then
     x in dom f1 & f1.x in [.f1.x0,f1.x0+r1.] by A7,FUNCT_1:54;
     hence x in dom(f2*f1) by A4,FUNCT_1:11;
    end; then
A9:[.x0,x0+r.] c= dom(f2*f1);

      A629;then
A10: x0 in dom(f2*f1) by A8,XXREAL_1:1; then
A11: f1.x0 in dom f2 by FUNCT_1:11;

    for h,c st rng c = {x0} & rng (h + c) c= dom (f2*f1) &
     (for n be Nat holds h.n > 0) holds
     h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent
   & lim (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c)) = Rdiff(f2,f1.x0)*Rdiff(f1,x0)
    proof
     let h,c;
     assume that
A12:   rng c = {x0} and
A13:   rng (h + c) c= dom (f2*f1) and
A14:   for n be Nat holds h.n > 0;

A15: dom(f2*f1) c= dom f1 by RELAT_1:25;

A16:  for n be Nat holds c.n = x0
     proof
      let nA31:a. rng a VALUED_028java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
      c.n in rng c by VALUED_0:28;
      hence c.n = x0 by A12,TARSKI:def 1;
     end;

A17: now let x be Real;
      assume A18: x in rng(h+c); then
      consider n be Element of NAT such that
A19:    x = (h+c).n by FUNCT_2:113;
      dom(h+c) = NAT byA38:   for mbe Nat  N < m holds .hc)m-lim(+ |< java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
      x = h.n + c.n by A19,VALUED_1:def 1; then
      x = h.n + x0 by A16; then
      x > x0 by A14,XREAL_1:29; then
      x in ].x0,+infty.[ by XXREAL_1:235; then
A20:   x in right_open_halfline x0 by LIMFUNC1:def 3;
      x in dom f1 by A18,A13,FUNCT_1:11;
      hence x in right_open_halfline x0 /\ dom f1 by A20,XBOOLE_0:def 4;
     end; 
A21:  rng (h + c) c= right_open_halfline x0 /\ dom f1;

     set a = f1/*c;

A22:  rng c c= dom (f2*f1) by A12,A10,ZFMISC_1:31;

     set d = f1/*(h+c) - f1/*c;

A23: lim h = 0;

     lim c = c.0 by SEQ_4:25; then
     lim c = x0 by A16; then
A24: lim (h + c) = 0 + x0 by A23,SEQ_2:6 .= x0;
A25: f1 is_Rcontinuous_in x0 by A1,FDIFF_3:7; then
A26: f1/*(h+c) s convergentbyA21A24FDIFF_3:ef 2java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54

A27: f1.x0 = lim (f1/*(h+c)) by A21,A24,A25,FDIFF_3:def 2;
A28: rng (f1/*(h+c)) c= dom f2 by A13,FDIFF_2:9;

     now let x be Real;
      assume x in rng a; then
      consider n be Element of NAT such that
A29:   a.n = x by FUNCT_2:113;
      c.n = x0 by A16;
      then x = f1.x0 by A15,A29,A12,A10,ZFMISC_1:31,FUNCT_2:108;
      hence x in {f1.x0} by TARSKI:def 1;
     end; then
A30: rng a c= {f1.x0};

     nowlet be;
A31:  a.0 in by A51,RDINAL1 VALUED_1:def 1 
      assume x in {f1.x0}; then
A32:  x = f1.x0 by TARSKI:def 1;
     0=x0  A16java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
      hence x in rng a by A15,A32,A31,A12,A10,ZFMISC_1:31,FUNCT_2:108;
     end; then
     {f1.x0} c= rng a; then
A33:rng ={f1.x0 }by X: 10 
A34: rng a c= dom f2 by A11,ZFMISC_1:31;

A35: now
      let n be Nat;
      a.n in rng a by VALUED_0:28;
      then
A55    f1.< f1.(+.kn)  :;
      a.(n+1) in rng a by VALUED_0:28;
      hence a.n = a.(n+1) by A30,A36,TARSKI         .n>0A55,A52,REAL_1:8java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
     end;
     
A37: a is constant by VALUED_0:25;

     consider N be Nat such that
A38:   for m be Nat st N <= m holds |. (h+c).m - lim (h+c) .| < r       rng (/*h+)^k =rng f1/*h+c)) by VALUED_0:21;then
       by A6,SEQ_2:def 7;

A39:  rng((h+c)^\N)A58:   a1  f1.0}byA33,26 
A40:  rng((h+c)^\N) c= dom(f2*f1) & rng(c^\N) c= dom(f2*f1) by A13,A22; then
A41:  f1.0)  f2,1.x0; then

     dom(f2*f1) c= dom f1 by RELAT_1:25; then
A42:  rng((h+c)^\N) c=          =((f1)*hc)\  *a1 # "byA13,31

     reconsider a as constant Real_Sequence by A35,VALUED_0:25;
     a.0 in rng a by VALUED_0:28;
     then a.0 = f1.x0 by A30,TARSKI:def 1;
lim a  x0 bySEQ_4:;
     then
A43: lim d = f1.x0 - f1.x0 by A26,A27,SEQ_2:12 .= 0;

     h"(#)((f2*f1)/*(h+c) - (       hence h"(#)((f2*f1)/*(h+)-(*)* convergent
     lim (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c)) = Rdiff(f2,f1.x0)*Rdiff(f1,x0)
     proof
pcases;
      suppose
       ex k be Element of NAT st for n be Element of NAT
               hen thesisby,A60,66SEQ_4:;
       consider k1 be Element of NAT such that
A44:    for n be Element of NAT st k1 <= n holds (f1/*(h+c)).n <> f1.x0;
       reconsider k = max(k1A67   for  be ofNAT
:k1< &N = k XXREAL_0:5;
A46:    now
        given n being Nat such that
A47:     (d^\k).n = 0;
A48:    k+n is Element of NAT by ORDINAL1:def 12;
        0 = d.(k+n) by A47,NAT_1:def 3
         .= (f1/*(h+c)).(k+n) - (f1/*c).(k+n) by RFUNCT_2:1
=(1*hc).(+)-f1.(.k+)
           by A15,A48,A12,A10,ZFMISC_1:31,FUNCT_2:108
         .= (f1/*
        hence contradiction by A44,A45,NAT_1:12;
       end.= .h1".m*(f1*((+c*)java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67

       set c1 =  byA21,XBOOLE_1:18,FUNCT_2:110
       set h1 = h^\k;
       set a1 = a^\k;
       set s = h1"(#)(f1/*(h1 + c1) - f1/*c1);
A49:     hence |.(h1"(#)(f1/(h1c1 -f1/c1).-0|< byA75
        let n be Element of NAT;
        thus (d + a).n = d.n + a.n by SEQ_1:7
           .= (f1/*(h+c)).n - a.n + a.n by RFUNCT_2:1
           .= (f1/*(h+c)).n;
       end;

       lim (d^\k) = 0 by A37,A26,A43,SEQ_4:20;
       then reconsider d1 = d^\k as 0-convergent non-zero Real_Sequence
          by A37,A26,A46,SEQ_1:5,FDIFF_1:def 1;

A50:    for n being Nat holds d1.n > 0
       proof
letnbe ;
A51:    dom(h+c) = NAT by FUNCT_2:def 1;

A52:java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
         .= (f1/*(h+c)).(n+k) - (f1/*c).(n+k) by RFUNCT_2:1
         .= (f1/*(h+c)).(n+k) - f1.(c.(n+k))
           by A15,A12,A10,ZFMISC_1:31,FUNCT_2:108
         .= (f1/*(h+c)).(n+k) - f1.x0 by A16
         .= f1.((h+c).(n+k)) - f1.x0 by A21,XBOOLE_1:18,FUNCT_2:108;

        (h+c).(k+n) = h.(k+n)+c.(k+n)
          by A51,ORDINAL1:def 12,VALUED_1:def 1; then
A53:    (h+c)se

        |.         exkbe Element ofNAT st
        |. h.(k+n) + c.(k+n) - x0 .| < r
          by A24,A51,ORDINAL1:def 12,VALUED_1:def 1; then
java.lang.StringIndexOutOfBoundsException: Range [23, 3) out of bounds for length 43

        h.(k+n) > 0 by A14; then
        h.(k+nA81:     now let g be Real such that
        x0 < (h+c).(k+n) & (h+c).(k+n) < x0+r by A53,A14,XREAL_1:8,29; then
        (h+c).(k+n) in [.x0,x0+r.] by XXREAL_1:1; then
        f1.((h+c).(k+n)) in [.f1A82:       0  g
A55:    f1.x0 <= f1.          reconsider n = k as ;
        0 <> d1.n by A46;
        hence d1.n > 0 by A55,A52,XREAL_1:48;
      ;

       set t = d1"(#)(f2/*(d1 + a1) - f2/*a1);

       d1 + a1 = (d + a)^\k by SEQM_3:15; then
A56:   d1 + a1 = (f1/*(h+c))^\k by A49,FUNCT_2:63;

       rng ((f1/*(h+c))^\k) c= rng (f1/*(h+c)) by VALUED_0:21; then
A57:   rng (d1 + a1) c= dom f2 by A28,A56;
: a1  f1x0}by A33V26 
A59:   A42F:108,83

       Rdiff(f2,f1.x0) = Rdiff(f2,f1.x0); then
A60:   t is convergent by A2,A58,A57,A50,FDIFF_3:15;
       rng ((h + c)^\k) c= rng (h + c) by VALUED_0:21;
       then rng ((h + c)^\k) c= right_open_halfline x0 /\ dom f1 by A17; then
A61:   rng (h1 + c1) c= right_open_halfline x0 /\ dom f1 by SEQM_3:15;
       right_open_halfline x0 /\ dom f1 c= dom f1 by XBOOLE_1:17; then
A62:   rng              = f1/*(+)\)nholdsPr
A63:   rng c1 = {x0} by A12,VALUED_0:26;
A64:   for n be Nat holds h1.n > 0
       proof
        let n be Nat;
        h1.n = h.(k+n) by NAT_1:def 3;
        henceh1n>  A14;
       end;
       Rdiff(f1,x0) = Rdiff(f1,x0);
       then
A65:   s is convergent by A1,A63,A64,A62,FDIFF_3:15;

:  t#s ()f2*(1+1)- *) (#) ((f1/*((h+c)^\k) - f1/*
        c1) (#)h1") by SEQM_3:15
          .= d1"(#)(f2/*(d1+a1) - f2/*a1) (#) (((f1/*(h+c))^\k - f1/*c1)(#)
        h1") by A21,XBOOLE_1:18,VALUED_0:27
          .= d1"(#)(f2/*(d1+a1) - f2/*a1) (#) (((f1/*(h+c))^\k - (f1/*c)^\k)
        (#)h1") by A15,A12,A10,ZFMISC_1:31,VALUED_0:27
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#) (((f1/*(h+c))^\k - (f1/*c)^\k)
        (#)h1") by VALUED_1:def 10
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#) (d1(#)h1") by SEQM_3:17
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#) d1(#)h1" by SEQ_1:14
          .= (f2A94:     now
          .= ((f2/*(f1/*(h+c)))^\k - f2/*a1) (#) h1"          given nbeing Nat such 
          .= (((f2*f1)/*(h+c))^\k - f2/*a1) (#) h1" by A13,VALUED_0:31
          .= (((f2*f1)/*(h+c))^\k - ((f2/*a)^\k)) (#) h1"
              by A33,A11,ZFMISC_1:31,VALUED_0:27
. (f2f1/(+)\k - (((f2*f1)/*c)\)()h1

          .= (((f2*f1)/*(h+c) - (f2*f1)/*c)^\k) (#) h1" by SEQM_3:17
          .= (((f2*f1)/*(h+c) - (f2*f1)/*c)^\k) (#) ((h")^\k) by SEQM_3:18
          .= (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\k by SEQM_3:19;
       hence h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent
         by A65,A60,SEQ_4:21;

       lim
       then lim ((h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\k) = Rdiff(f2,f1.x0) *
       Rdiff(f1,x0 ) by A66,A65,A60,A59,SEQ_2:15;
        by A60,A66,SEQ_4:22;
      end;

      suppose
A67:   for k be Element of NAT
        ex n be Element of NAT st k <= n & (f1/*(h+c))

       defpred P[object] means $1 = f1.x0;

A68:   for k be Element of NAT ex n be Element of NAT
          st k <= n & P[(f1/*(h+c)).n] by A67;
       consider I1 be increasing sequence of NAT such that
A69:    for n being Nat holds P[(f1/*(h+c)*I1).n] and
        for n be Element of NAT st for r be Real st r = (f1/*(h+c)).n holds
          P[r] ex m be Element of NAT st n = I1.m
        from FDIFF_2:sch 1(A68);
       reconsider h1 = h*I1 as 0-convergent non-zero Real_Sequence
          by FDIFF_2:6;

       set c1 = c*I1
A70:   c1 = c by VALUED_0:26;
A71:   rng c1 = {x0} by A12,VALUED_0:26;
A72:    rng h1 c= rng h by VALUED_0:21;

A73:   for n be Nat holds h1.n > 0
       proof
        let n be Nat;
        dom h1 = NAT by FUNCT_2:                   ( (f1/*(+c^\)* f1/*(^N)*2)#h2 )
h1n   h1 FUNCT_1:3,RDINAL1:def12;then
        ex m be Element of NAT st h1.n = h.m by A72,FUNCT_2:113;
hence .n>0by ;
       end;

       reconsider c1 as constant Real_Sequence;
A74:   now
        let g be Real such that
A75:    0 < g;
        reconsider n = 0 as Nat;
        take n;
           Nat thatn<=java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
A76:    m in NAT by ORDINAL1:def 12;
        |.(h1"(#)(f1/*(h1+c1) - f1/*c1)).m - 0 .| = |.(h1").m *(f1/*(
          h1+c1) - f1/*c1).m.| by SEQ_1:8
         .= |.(h1").m *((f1/*(h1+c1)).m - (f1/*c1).m).| by RFUNCT_2:1
         .= |.(h1").m *((f1/*(h1+c1)).m - f1.(c.m         ((  c^\N*)c f1by A15java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
A12,A10,ZFMISC_1:31,FUNCT_2:108
         .= |.(h1").m *((f1/*(h1+c1)).m - f1.x0).| by A16
         .= |.(h1").m *((f1/*((h+c)*I1)).m - f1.x0).| by RFUNCT_2:2
         .= |.(h1").m *((f1/*(h+c)*I1).m - f1.x0).|
             by A21,XBOOLE_1:18,FUNCT_2:110
         .= |.(h1").m *(f1.x0 - A106:    rng h2 c= rng h by VALUED_0:21;
         .= 0 by ABSVALUE:2;
A107      nbeNatn>0
       end;

       rng ((h + c)*I1) c= rng (h + c) by VALUED_0:21;
       then rng ((h + c)*I1) c= dom f1 by A13,A15;
       then
A77:rng( +c1 c dom f1 by :2;
       then
A78:   lim (h1"(#)(f1/*(h1+c1) - f1/*c1)) = Rdiff(f1,x0)
          by A1,A71,A73,FDIFF_3:15;

       Rdiff(f1,)=Rdiff(1x0)
       then h1"(#)(f1/*(h1+c1) - f1/*c1) is convergent
          by A1,A71,A77,A73,FDIFF_3:15;
       then
A79:   Rdiff(f1,x0) = 0 by A78,A74,SEQ_2:def 7;

       now per cases;
        suppose
         ex java.lang.StringIndexOutOfBoundsException: Range [18, 13) out of bounds for length 18
for    NATst <=n holds (1/(h+)\).  x0;
         then consider k be Element of NAT such that
A80:      for n be Element of NAT st k <= n holds (f1/*((h+c)^\N)).n = f1.x0;
A81:     now let g be A120:    now
A82:       0              Rdifff2,.)* f1,x0);
          reconsider n = k as Nat;
          take n;
          let m be Nat;
A83:      m in NAT by ORDINAL1:def 12;
          assume
A84:        n <= m;
          |. ((h"(#)((f2*f1)/*(A122 for m  Natk< holds
               - Rdiff(f2,f1.x0)*Rdiff(f1, x0 ) .|
            = |.( ((h")^\N) (#)                (f1/*^N))*.-DF|<g
                  by A79,SEQM_3:19
           .= |.(((h byA103,A117,A119A121,SEQ_2:def 7;
                  by SEQM_3:17
           = |(f1)/(c)\  (*/c)\ . java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
                  by SEQ_1:8
. |. ("^N.m ((f2)/(+)^N.-((f1)*)^).m).
                  by RFUNCT_2:1
           .= |. ((h")^\N).m *(((f2*f1)/*((h+c)^\N)).m - (((java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 39
by,ALUED_0:java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
. .(h"^N.m ((*f1/*(c^N).-(f2*f1/(c^\N)m.
byA12A10ZFMISC_1:,VALUED_0:
       .= |java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                  by A40,VALUED_0:31
       .= |. ((h")^\N).m * ((f2/*(f1/*((h+c)^\N))).m - (f2/*(f1/*(c^\N))).m).|
                  by A40,VALUED_0:31
       .= |. ((h")^\N)           suppose
        by A127:        (/(hc)\).=f1.;
       .= |. ((h
           by A84,A80,A83
.| by
,,108
       .= |. ((h")^\N).m * ( 
       A42,FUNCT_2:   x java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 33
A1 (xy,  R
       NAT_1:def 3
       .= |:java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 26
           .= 0 by ABSVALUE:2;
hence|(h(((/hc  f*)*)^)java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
(,f1)f,x.g;
         end; then
A85:      (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\N is convergent
            by SEQ_2:def 6; java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 28
*f1/(+c  f2)*))^\)
           hencejava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
         thus h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent
           by A85,SEQ_4:21;
         thus lim (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c)) = Rdiffforr1  Real(1*(+)\N).  implies <f1.java.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 75
RdiffA9s1=0R&(  gcd(r2,s2,Amp))) + (s1 * (r2/gcd(2,2Amp) java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
        end;

        suppose
 =r11.gcd(,,mp) A13,4
          ex n be Element of NAT st k <= n & (f1/*((h+c)^\N)).n <> f1.x0;

ed[ $<f1x0;
A88:     for k be Element of NAT
exnbeElement f st  <n&P(1*(+c^\))n]


         consider I2 be(r  Realr1  0ex r0 Real  r0>0 &
A89:      for n being Nat holds P[(f1/*((h+c)^\N)*I2).n] and
A90:      for n be Element of NAT st for r be Real
            r = (f1/*((h+c)^\N)).n holds P[java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 15
             ex m be Element of NAT st n
            = I2.m from FDIFF_2:sch 1(A88);

A91:      d^\N = (f1/*(h+c))^\N - (f1/*c)^\N by SEQM_3:17
          .A:r1  0&[ .,.+ ]      =s1iff   s2)+( *s1java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
          .= f1/*((h+c)^\N) -  considerA17  =0R
,ZFMISC_1:31,VALUED_0:27;

         rng(c^\N) c=java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
A92:      rng(c^\ set r=min(r0,r1)

A93:      a^\N = f1/*(c^\N) by A15,A12,A10,ZFMISC_1:31,VALUED_0:27;

A94:      now
          given n being Nat such that
       ((^N*)n =java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
          0 = (d^\N).(I2.n) by A95,FUNCT_2:15,ORDINAL1:def 12
           .= (f1/*((h+c)^\N)).(I2.n) - (f1/*(c^\N)).(I2.n) by A91,RFUNCT_2:1
           .= (f1/*((h+c      in.-r
           .= (f1/A19 r1  0R&r1*s/r2s2)))+ (s1  (2/gcd(r2,s2,Amp)) =
           .= (f1/*((h+c)^\N)).(I2.n) - f1.x0 by A16
           .= (f1/*((h+c)^\N)*I2).n - f1.x0 by FUNCT_2:15,ORDINAL1:def 12;
          hence contradiction by A89;
         end;

         reconsider h2 = h^\N*I2 as 0-convergent non-zero Real_Sequence
           by FDIFF_2:6;
         reconsider a1 = a^\N*I2 as constant Real_Sequence;
  ;
         set s = h2"(#)(f1/*(h2+c2) - f1/*c2);

         d^\N*I2 is subsequence of djava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
lim(dN*I2)=0 byA37A26,A43,:7;
         then reconsider d1 = d^\N*I2 as 0-convergent java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 28
         Real_Sequence by A37,A26,SEQ_4:16,A94,SEQ_1:5,FDIFF_1:def 1;

         set t = d1"(#)(f2/*(d1+a1) - f2/*a1);
         a1 is subsequence of a by VALUED_0:20; then
rng a1 f1. A33VALUED_026;
rngf/*h)) =domf2 byA14,FDIFF_2:9;
          let n be Element of NAT;
          thus (d^\N + a^\N).n = (d^\N).n + (a^\N).n by SEQ_1:7A29:    0Rjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
             .= (f1/*((h+c)^\N)).n - (a^\N).n + (a^\N).n by      let  beofRassume  in;then
             .=  then
         end;

A98:     rng((f1/*(h+c))^\N) c      .n=x0  A16;
:(f1*hc)\)c= dom by;

rnga^ =rnga VALUED_021; then
A100:    rng(a^\N) 

         d1 + a1 = (d^\N + a^\N)*I2 by RFUNCT_2:2;
         then
A101:     d1 + a1 = f1/*((h+c)^\N endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
           .= ((f1/*(h+java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0

A102r1 , are_normalized_wrtimplies


A103:     t(#)s = d1"(#)(f2/*(d1+a1) - f2/*a1) (#)
(((*hc^N)I2- f1*c2 (#)h2"                  ( ( (f1/*((h+c)^\N))*I2 - f1/*c2 )(#)h2" 
                     by A92,A102,FUNCT_2:110
              . =NFr2,  java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
                  ( ( (f1/*((h+c)^\N))*I2 - (f1/*(c^\N))A7:gcdr1r2,) =1.Rby;
                    by A92,FUNCT_2:110
              .= ((f2:s1s2 -rimejava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
                  ( ( (java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 5
                    by VALUED_1:def 10
              .= ((f2              (r1,r2,1s2,mp)=s2 A5,A8,10,;
                  ( ( (
                   ,BOOLE_118VALUED_0
              .       r1r,,s2Amp    ,6A8,10Djava.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
(*+)*-f1/c^ ()")
                    by A15,A12,A10,ZFMISC_1:31,8A10,ef17java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
              .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#)
                  ( ( ((f1/*(h+c))^\N - (f1/*c)^\N)*I2)(#)h2" )
                    by RFUNCT_2:2
              .= ((f2/*(d1+  -*)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
.(f2/(1a1)- f2/a1/d1)(#)d1#)2 SEQ_114
              .=       
              .      divides(2,Amp  (r2,s2,Amp) divides r2 by Def12;
                   by A99,FUNCT_2:110
     f2(/(+)))\*I2 - f2/a1 ) (#)h2"
                   by A28,VALUED_0:27
              .=1/java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 44
              .= ;
                     by A100,FUNCT_2:110
       .=(((f1/(h+c)^NI2- ((f2/*a)^\N )*I2) (#) h2"
                       by A33,A11,ZFMISC_1:31,VALUED_0:27
              .= (((f2*
                       by A12,A10,ZFMISC_1:31,VALUED_0:31
              .= (( ((f2: java.lang.StringIndexOutOfBoundsException: Range [33, 28) out of bounds for length 33
letnbe;
              .= (A4 =NFs2,Amp  Def9;
                   (((h^\N)")*I2)
                       by RFUNCT_2:5
              .= (h^percasesjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
by2java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37

         rng (((f1/*(h+c))^\N)*I2) c= rng ((f1/*(h+c))^\N) by VALUED_0:21;

A104:     rng (d1 + java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 8
         ((h+c)^\N)*I2 is subsequence of (h+c) by VALUED_0:20; then


0. java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
         then
         rng (((h + c)^\N)*I2) java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 8
 c^N)*2 c=dom f1  SEQM_3:15;
         
A105:     rng (h2 + c2) c= dom f1 by RFUNCT_2:2;

         h2 is subsequence of h by VALUED_0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A106:    rng h2 c= rng h A16:    gcd(r2,s2,Amp) divi   java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46

A107:     for n be Nat holds h2.n > 0
         proof
          let ngcd,s2) (  )f*)=((s2A)*(*s1)
          dom         )(gcd,s2Amp)*( *r1)byVECTSP_1defjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
h2. r1s2s1*java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 58
          ex m be Element of NAT st h2.n = h.m by A106:gcd(2s2A  def12,VALUED_1:ef 1 java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
          hence h2.n > 0 by A14;
         end;

          subsequence cby20 
A108:     rng c2 = {x0  dd2(1r,s2A)  r2 * (s2gcdjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
         then
      s=Rdiff(f1x0)by ,A107line x0  f1 byA17

A110:     for n be Nat holds d1.n > 0
         proof
          let n be Nat;

          n in NAT by ORDINAL1:def 12; then
A111:      n in dom I2 by FUNCT_2:def 1; then
      f1/(hc^N)I2)n
             (f1/*((+c)\))(.)by FUNCT_1:java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
           .= f1.(((h+c)^\N).(I2.n)) by A42,FUNCT_2:108;

:d1n =(*(h)^N  f1/(^N)(I2.)by A91,111FUNCT_1:13
           .= (f1/*((h+c)^\N)).(I2.n) - (f1/*(c^\N)).(I2.n) by RFUNCT_2:1
           .= (f1/*((h+c)^\N)).(I2.n) - f1.((c^\N).(I2.n)) by A42,FUNCT_2:108
           .= (f1/*((h+c)^\N)).(I2.n) - f1.(c.(N+I2.n)) by NAT_1:def 3
           .= (f1/*((h+c)^\N)).(I2.n) - f1.x0 by A16
           .= f1.(((h+c)^\N).(I2.n)) - f1.x0 by A42,FUNCT_2:108;

          =d1"()f2*d1+a1)  /*a1)() ((f1/(+c))\  f1/*1()
A115:      ((h+c)^\N).(I2.n) = h.(N+I2.n) + c.(N+I2.n) by SEQ_1:7
.=(+I2n    ;

      .(h)^\N).(I2.n) - x0 .| < r by A,38,AT_11;

          h.(N+I2.n) > 0 by A14; then
          h.(N+I2.n) < r by A116,A115,ABSVALUE:def 1; then
          x0 <           . ((2*d1+1)- f2/a1/"1 # (f1/(+c)\  (f1/c^k)
            by A115,A14,XREAL_1:8,29; then
          ((h+c)^\N).(I2.n) in [. x0          . (f2*d1+a1)-f2*a1)")()(d1()h1" by SEQM_317
          f1.(((h+c)^\N).(I2.n)) in [. f1.x0, f1.x0+r1 .]
            by A7,FUNCT_1:54; then
          =(/*(1)-f2*)()h1  SEQ_1:37
          f1.x0 < f1.(((h+c)^\N).(I2.n)) by A89,A112,XXREAL_0:1;
          hence d1.n > 0 by A113,XREAL_1:50;
         ;

         Rdiff(f1,x0) = Rdiff(f1,x0); then
A117:     s is convergent by A1,.=(f*/(+)\  (f1*)\)()java.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
         Rdiff(f2,f1.x0) = Rdiff(f2,f1.x0);
         then
:  byA2A96A104AF15

         lim t = Rdiff(f2,f1.x0) by A2,A96,A104,A110,FDIFF_3:15  ((r1  )*r2 *s2/r2s2Amp)+ ( )*)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     im((h\)()((f2*f1)*(h+c)^\- (f2*f1)*c)\))then (h()(*/(+c-(f1/c))\)=Rdiff(f.)java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
           = Rdiff(f2,f1.x0) * Rdiff(f1,x0) by A103,A117,A109,A118,SEQ_2:15;

A120:     now
          set java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 0
          let g be Real such that
A121:       0 < g;
          consider k being Nat such that
A122:       for m being Nat st k <= m holds
            |.(((h^\N)"(#)(((f2*f1)/*(h+c))^\N
              - ((f2*f1)/*c)^\N ))*I2).m - DF.|<g
              by A103,A117,A118,A119,A121,A67:   for k be Element of NAT ex n be Element NAT
A123:      k in NAT by ORDINAL1:def           st  = n &P[f1/hc)n]A66java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
r=I2k asNatjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
          take n;
            such
n<m
A125:      m in NAT by ORDINAL1:def 12;
A126:       ( h"( GROUP_1def3
           = (h"^N()( (2*)/*hc  (f2*f1/c)^N)            = ((h")^\N)(#)(( (f2*f1)/*(h+c) - (f2*f1)/*c )^\N) by
          .= (h^\N)"(#)(( (f2*f1)/*(h+c) - (f2*f1)/*c )^\N) by SEQM_3:18

          .=.=((r1 )*r2  )gcdr2s2,)  (((s1  ) )gcd

          now per cases;

 ())  f1x0;

A128:        ((h^\N)"(#)(((f2*f1)/*(h+,let   java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 21
=hN)*((*)*h)N (f2*)*^N.
             by SEQ_1:8;

A129:        (((f2*f1)/*(h+c))^\N - ((f2*f1)/*c)^\N).m
=(((f1)/*(hc))\N. -(((2*)*)\)m

            dom((hjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
            dom(f1*((h+c)^\N)) = NAT by A92,RELAT_1:27; then
            dom(f1/*((h+c)^\N)) = NAT by A92,FUNCT_2:def 11; then
A130:        dom(f2*(f1/*((h+c)^\N))) = NAT by A41,RELAT_1:27;

            ((f2*f1)/*(h+c))^\N
              = (f2*f1)/*((h+c)^\N) by A13,VALUED_0:27        let mbe  such that n= m;
             =f2*(f1/*((h+c)^\N)) byA40,ALUED_031
             .f2*f1*(h+)^\)def11 
java.lang.StringIndexOutOfBoundsException: Range [21, 4) out of bounds for length 49
yA1301,RDINAL1: ;

dom\  ATbyFUNCT_2:ef1 then
domf1(^N)=  ,:; 
            dom         =|h". *f/(hc)).  . RFUNCT_2
32:

            ((f2*f1)/*c)^\N = (f2*f1)/*(c^\N) by A12,A10
,ZFMISC_1:31,VALUED_0:27
             .= f2/*(f1/*(c^\N)) by A40,VALUED_0:31
             .=    
            (((f2*f1)/*c)^\N).m = f2.((f1/*(c^\N)).m)
              by ORDINAL1:def 12,A132,FUNCT_1:12
             .= f2.(f1.((c^\N).m)) by A125,A92,FUNCT_2:108
             .= f2.( rng (( +c)I1 c=domjava.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 50
..f1x0  A16;
            hence |.( byA1,A70,A72,DIFF_3:9;
              by A126,A121,A79,java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 30
           end;
           suppose
           A1A70,,,FDIFF_3:9; then
            for r1 be Real holds (A78   Ldiff(f1,x0)= 0by A77,A73,SEQ_2:def      let z   ofR
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [25, 12) out of bounds for length 25
A133:         m =            hence thesis;

            dom I2 = NAT by FUNCT_2:def 1;
            then l >k by A124A133VALUED_0: 13,123 then
            .((^N"#(((f2*f1
              - ((f2    end
            hence |.((h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\N).m - DF.| < g
                        recons n=k asNat;
           end;
          end;
          hence
              |.((h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\N).m
                -        
         end; then
A134:     (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\N is convergent by
           SEQ_2:def 6; then
A135:     lim ((h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\N)
            = Rdiff(f2,f1.x0)*e

         thus             byA78S19
                by            . .((h"^\N) #)((f2*)/*h+))\  (*1)/c)\ ))m.;;
         thus lim (h"(#) ((f2*f1)/*(h+c) - (f2*f1)/*c)) = Rdiff(f2,              by :
Rdiff,0)by A134,,SEQ_422
        end;
       end;
       hence thesis;
      end;
     ;
;
    end;
    hence thesis by A6,A9,FDIFF_3:15;
end;

theorem Th43:
for x0 be Real, f1,f2 be PartFunc of REAL                  y A13,A10,ZFMISC_1:31,VALUED_0:27
 f1 is_left_differentiable_in x0 & f2 is_right_differentiable_in f1.x0 &
  (for r1 be Real st r1 > 0 ex r0 be Real st r0 > 0 &
    gcd(,s2Amp  1R,
 *f1 is_left_differentiable_in x0 &
  Ldiff(f2*f1,x0) = Rdiff(f2,f1.x0)*java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 36
proof
    let x0 be Real, f1,f2 be PartFunc of REAL,REAL;
    assume that
differentiable_in and
A2:  f2 is_right_differentiable_in f1.x0 and
A3: for r1A2: s1, prime and
      [.x0-r0,x0.] c= dom([.f1.x0,f1.x0+r1.]|`f1);

r1be  
A4: r1 > 0 & [. f1.x0,f1.x0+r1 .] c= dom java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 26

    consider r0 be Real such        NAT_1:ef
A5: r0>0 &
     [.x0-r0,x0.] c= dom([.f1.x0,f1.x0+r1.]|`f1) by A3,A4;

    set r = min(r0,r1);
 >0 ,A5XXREAL_0:21;
    x0-r0 <= x0-r & f1A9:        .;
    [.x0-r,x0.] c= [.x0-r0,x0.] & [.f1.x0,f1.x0+r.           gcd(1,          -Rdiff(,f1)Ldifff,x0)<byA81java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
      by XXREAL_1:34; then
A7:[.x0-r,x0.

A8:now let x be Real;
     assume x in [.x0-r,x0.]; then
xdomf1&f1.in.x0f.x0+.]by FUNCT_154
     hencejava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 9
    end; then
A9:[.thuslim("#(f2*)*+c-f*/)   then gcd(s1,r2Amp   A3Th30;

x0< ,44 
A10:A10: 
A11: f1.x0 in dom          hence thesis java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 15

A12:dom(f2*f1) c= dom f1 by RELAT_1:25A19 r2=1.R

    :for beof java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
     f  Nat h 0holds
     h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent
   java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    proof
      ,;
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
r2=1R
A14:   rng (h + c) c= dom (f2*f1) and
:for  be Natholdsh < 0;

A16A90:d\N f1/*(+)^N -(f1/c)^\N by SEQM_3:17
     java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
let   Nat;
      c.n in rng c by VALUED_0:28;
cn=by,:ef1
     end;

A17: now let x be Real;
      A18in rng(hc); then
      consider n java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
: =hc. byFUNCT_2:13;
      A94 (:s1s2are_co-java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
      =. .n
      x = h.n +  cases
      x < x0 byA14   =0.R or  =.;
      x in ].-infty,x0.[ by XXREAL_1:233; then
:inleft_open_halfline byPROB_1: 10;
      x in dom f1 by A18,A14,FUNCT_1:11;
      hence x in left_open_halfline x0 /\ dom f1 by A20,XBOOLE_0
     end; then
A21:  rng (h + c) c= left_open_halfline x0 /\ dom f1;

     set a = f1/*c;

A22:  rng c c= dom (f2*f1) by A13,A10,ZFMISC_1:31;

     set d = f1/*(h+c) - f1/*c;

  h java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15

     lim c:s2>0.R &r2 =.
n
 ( +)     ,      then
A25: f1 is_Lcontinuous_in x0 by A1,FDIFF_3:5; then
6:*hc)is convergent by A21,A24FDIFF_3:def 1;

A27: f1.x0 = lim (f1/*(h+c)) by A21,A24,A25,FDIFF_3:def 1;
A28: rng (f1/*(h+c)) c= dom        =(/gcdAmp))*(/(1r,mp)by A21,Th10

     xa1  java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 52
      assume x in rng a; then
 be NAT
A29:   a.n = x by FUNCT_2:113;
      c.n = x0 by A16;
      then x = f1.x0 by A29,A12,A13,A10,ZFMISC_1:      thesis by A25,A28A27
 .(1/*+c\. (\.+(^N)nbyA90A,:
     end; then
A30: rng          end

  xReal
A31:A98    (/*hc)^N =dom by A28;
      assume x in {f1.x0}java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A32:  x = f1.x0 by TARSKI:def 1;
      c.0 = x0 by A16;
      hence x in rng a by A32,A31,A12,A13,A10,ZFMISC_1:31,FUNCT_2:108;
 
{}c=rng a; then
A33: rng a = { f1.x0 } by A30,XBOOLE_0:def 10; then
A34: rng a c= dom f2 by A11,ZFMISC_1:31;

A35: now
      let n be Nat;
     a.n in rnga by VALUED_0:28;
then
A36:  a.n = f1.x0 by A30,TARSKI:(r1s2 . "#(/(+  /a1 ()
      a.(n+1) in rng a by VALUED_0:28;
      hence a.n = a.(n+1A: r1s1s  (*(+)\)* - f/(^\)I2(#"java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
     end;
     then
A37: a is constant by VALUED_0:25;

     consider N be Nat such that
:mbeNatst holds|h.  lim(+).  r
       by A6,SEQ_2:def 7;

java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A40:  rng((h+c  java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 18
A41:  rng(f1/*((h+c)^\N)) c= domnjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

     dom(f2*f1) c= dom f1 by RELAT_1:25; then
  (r1r2s1s2,) 0.RDef18java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44

     reconsider a as constant Real_Sequence by QM_3          rrs12Amp  r    r1,,A)*
     a.0 in rng a by hence thesis by A10
thenjava.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
     then lim a = f1.x0 by             = 0.R;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
:  .-.by,SEQ_212. 0;

     h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent &
(*/) ()(x)
     java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
      per cases;
      suppose
       ex k be Element of NAT st for n be Element of NAT
        st k <= n            = (f1/(h+c)^\N)).(I2.n) by FUNCT_1:13
       be Element  NAT  that
A44:    forjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
       reconsider k = max(k1,N) as         .= ((s2 * r1)/gcd(r1,s2,Amp)) s1 byA4A17A,
A45:    k1 <= k & N <= k by XXREAL_0        .=(r1 * s1)*s2)gcdr1,,Amp)  :def)by 1
A46:    now
        given n being Nat such that
A47:     (d^\k).n = 0;
A48:    k+n is Element of NAT by ORDINAL1:def 12;
        0 = d.(k+n) by A47,NAT_1:def 3
         .= (f1/*(h+c)30  (s1  r1Amp r2* java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
         .= (f1/*(h+c)).(k+n) - f1.(c.(k+n))
           by A48,A12,A13,A10,ZFMISC_1:31,FUNCT_2:108
         .= (f1/*(h+c)).(n+k) - f1.x0 by A16;
        hence contradiction by A44,A45,NAT_1:12;
       end;

       set c1 = c^\k;
       set h1 = h^\k;
       set a1 = a^\k;
        ss = h1"(#)(*h  c1  /c1)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
A49:   now           mbeNatsuch that
A122:       n= m
        thus (d + a).n = d.n + aA123:      m inNATby ORDINAL1def 12
           .=           .= 
           .= (f1/*(h+c)).n;
       end;

       lim (d^\k) = 0 by A37,A26,A43,SEQ_4:20;
-convergent - 
          by A37,A26,A46,SEQ_1:5,FDIFF_1:def 1;

A50:    for n being Nat holds d1.n > 0
       proof
        let n be Nat;
A125:(/((hc^N)m =f1.java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40

A52:    d1.n = d.(k+n) by NAT_1:def 3
         .= (f1/*(hjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
         .= (f1/*(h+c)).(n+k) - f1.(c.(n+k))
byA12,13,A10ZFMISC_131,FUNCT_2108
         .= (f1/*(h+c)).(n+k) - f1.x0 by A16
         .= f1.((h+c).(n+k)) - f1.x0 by A21,XBOOLE_1:18,FUNCT_2:108;

        (h+c).(k+n) = h.(k+n)+c.(k+n)
          by A51,ORDINAL1:def 12,VALUED_1:def 1; then
:(h+)(+n = h(+n+x0 A16

        |. (h+c.(kn - lim      //cds12Amp * gcd(r1,Amp))) *(r1 * )byA4,A7,A29,Th14
       |. h.(+n) + c.(k+        . (( *s2(s1,,,Amp) r1,2A))* r1 ss1b
by ,,ORDINAL1:def12,ALUED_1:1;then
        |. h.(k+n) + x0 - x0 .| < r by A16; then
        -h.(k+n) < r by A15,ABSVALUE:def 1; then
        -(-h.(k+n)) > -r by XREAL_1:24; then
        x0 > (             =         r1*(    )((s1,Amp)*r1,s2,Amp)) 
; then
        .(h+.k) in[f1.,f1x0.]A7FUNCT_154then
A54:    f1.x0 <= f1.((h+c).(k+n)) by XXREAL_1:1;
        0 <> d1.n by A46;
        hence d1.n > 0 by A54,A52,XREAL_1:48;
       end;

       set t = d1"(#)(f2/*(d1 + a1) - f2/*a1);

       d1 +             =f2*(f1/*c\)) A40,:

A55:   d1 + a1 = (f1/*(h+c))^\k by A49,FUNCT_2:63;

       rng ((f1/*(h+c))^\k) c= rng (f1/*(h+c)) by CT_2:java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
       then
A56:   rng (d1 + a1) c= dom f2 by A28,A55;
A57:   rng a1 = {f1.x0} by A33,VALUED_0:26;
       then
A58:   lim t = Rdiff(f2,f1.x0) by A2, suppose

       Rdiff(f2,f1.x0) = Rdiff(f2,f1.x0);
       then
A59:   t is convergent by A2,A57,A56,A50,FDIFF_3:15;
       rng ((h + c)^\k) c= rng (h + c) by VALUED_0:21;
       then rng ((h + c)^\k) c= left_open_halfline x0 /\ dom f1 by A17;
       then
A60:   rng (h1 + c1) c= left_open_halfline x0 /\ dom f1 by SEQM_3:15;
       left_open_halfline x0 /\ dom f1 c= dom f1 by XBOOLE_1:17;  then  >=kbyA122,131,:def 13,A121; then
A61:   rng (h1+c1) c= dom f1 by A60;
A62:   rng c1 = {x0} by A13,VALUED_0:            .(((^N)"(#)((f2*f1)*(h+c))^\java.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
A63:   for n be Nat             hence |.((h#)(*)*(c)  f2f1/)\N.  .|  
       proof
        let n be Nat;
        h1.n = h.(k+n) by NAT_1:def 3;
        hence h1.n < 0 by A15;
       end;
      (, java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 40
A64:   s is convergent by A1,A62,A63,A61,FDIFF_3:9;

:  ()= d1"#(/(1+ -f2/*a1) (#) ((f1/*((hc^\  /
        c1) (#)h1") by SEQM_3:15
         ="#f/(1+a1)- * () (f1/(+c)\ f1c1()
h1  XBOOLE_1:,
= d1()f2*d1a1)-f2/a1)( =(r1 */gr,A)  (s1r2,mp) r2    
        (#)h1") by A12,A13,A10,ZFMISC_1:31,VALUED_0:27
          .= ((f2/*(d1+a1) - f2/*a1,,h11
        (#)h1") by VALUED_1:def 10
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#) (d1(#)h1") by SEQM_3:17
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#) d1(#)h1" by SEQ_1:14
         .= f2*(d1+a1) - f2/*a1) (#) h1" by SEQ_1:37
          .= ((f2/*(f1/*(h+c)))^\k - f2/*a1) (#) h1" by A28,A55,VALUED_0:27
          .= (((f2*f1)/*(h+c))^\k - f2/*a1) (#) h1" by A14,VALUED_0:31
          .= (((f2*f1)/*(h+c))^\k - ((f2/*a)^\k)) (#) h1"
              by A33,A11,ZFMISC_1:31,VALUED_0:27
. (f2*1)*(hc)\- ((f1/*)\) () 1
              :  be  >  r0theorem
          nondoubleLoopStr,
          .= (((f2*f1)/*(h+c)      .x0-r0x0+. c=[..x0.x0.|`f1);
          .= (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\k by SEQM_3:19;
       hence h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent(-x)*y = -x*y & x*(-y) = -x*y by VECTSP_1:8,9;
         by A64,A59,SEQ_4:21;

       lim s = Ldiffforr1beReal  s r00
       then[x0x0+.]c dom(.x0.x0+.|f1)
       Ldiff(f1,x0 
       thesisA64A59,A65SEQ_4:2java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
      end;

      suppose
A66:   for k be Element of NAT
        ex n be Element of NAT st k <= n & (f1/*(h+c)).n = f1.x0;

       [bject  $1 f1.java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42

A67:   for k be Element of NAT ex n be Element of NAT
          st k <= n & P[(f1/*(h+c)).n] by A66;
       consider I1 be increasing sequence of NAT such that
A68:    for n being Nat holds P[(f1/*(h+c)*I1).n] and
        for n be Element of NAT st for r be Real st r = (f1/*(h+c)).n holds
P[]exmbe Element of NAT st n =I1.
        from FDIFF_2:sch 1(A67);
       reconsider h1 
      .-,+. =(..,.+.|`  A3

       set     .= 1_F by,java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 33
A69:   c1
A70:   rng c1 = {x0}    R be  end 

A71:    rng h1 c= rng h by VALUED_0:21;

A72:   for n be Nat holds h1.n < 0
       proof
        let n be Nat;
         NAT  d ;
        h1.n in rng h1 by FUNCT_1e;
ex m be  of NAT  h1.  .  FUNCT_2113
        hence h1.n < 0 by A15;
       end;

       reconsider c1 as constant Real_Sequence;
A73:   now
        let g be Real such that
A74:     0 < g;
        reconsider n = 0 as Nat;
take n;
        let m be Nat such that n <= m;
A75:    m in NAT by ORDINAL1:def 12;
        |.(h1"(#)(f1/*(h1+c1) - f1/*c1)).m - 0 .| = |.(h1").m *(f1/*(
          h1+c1) - f1/*c1).m.| by SEQ_1:8
         .= |.(h1").m *((f1/*(h1+c1)).m - (f1/*c1).m).| by RFUNCT_2:1
         .= |.(h1").m *((f1/*(h1+c1)).m - f1.(c.m)).|
           by A69,A75,A12,A13,A10,ZFMISC_1:31,FUNCT_2:108
         .= |.(h1").m *((f1/*(         .= |.(h1").m *((f1/*(h1
         .= |.(h1").m *((f1/*((h+c)*I1)).m - f1.x0).| by RFUNCT_2:2
         .= |.(h1").m *((f1/*(h+c)*I1).m - f1.x0).|
             by A21,XBOOLE_1:18,FUNCT_2:110
         .= |.(h1     [x0,x0++r0.]c dom(.f1.-1f1x0.|`1 by ,;
         .= 0 by ABSVALUE:2;
        hence |.(h1"(#)(f1/*(h1+c1) - f1/*c1)).m - 0 .| < g by A74;
       end;

       rng ((h + c)*I1A6:r>0by,5,:java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
       rng ((h + c)*I1) c= dom f1 by A12,A14; then
    (1  c1)c=dom 1 byRFUNCT_2:;then
A77:   lim (h1"(#)(f1/*(h1+c1) - f1/*c1)) = Ldiff(f1,x0)
          by A1,A70,A72,FDIFF_3:9;

       Ldiff(f1,x0) = Ldiff(f1,x0); then
h1()f1*h1+c1) - *)isconvergent
          by A1,A70,A76,A72,FDIFF_3:9; then
A78:   Ldiff(f1,x0) = 0 by A77,A73,SEQ_2:def 7;

       now per cases;
        suppose
         ex k be Element of NAT st
          for n be Element of NAT st k <= n holds (f1/*((h    x0<x0+r by A6,:29 then
thenconsider  be Element of NAT such that
A79:      for n be Element of NAT st k <= n holds (f1/*((h+c)^\N)).n = f1.x0;

A80:     now let g be Real such that
0<gjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
          reconsider n = kh(#(*f1/h+  (2*f1)/*c) is convergent
          take n   &lim h"#(f2*)/(+) - f2f1)*)  Ldiff(2,1x0)Rdiff(1x0)
          let m be Nat;
A82:      m in NAT by ORDINAL1:def 12;
          assume
   n < m;

          |. ((h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\N).m
               - Rdiff(f2,f1.x0)*Ldiff(f1, x0 ) .|
            = |.( ((h")^\N) (#) (((f2*f1)/*(h
byS:19
           .= |.(((h")^\N) (#) ( ((f2*f1)/*(h+c))^\N - ((f2*f1)/*c)^\N )).     end
                  by java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 0
           .       A18:xin(hc; 
                  by SEQ_1:      onsider beElement of NATs that
           .= |. ((h:x=(+. by:13;
                  by RFUNCT_2:1
           .= |. ((h")^\N).m *(((f2*f1)/*((h+c)^\N)).m - (((f2*f1)/*c)^\N).m).|
                  by A14,VALUED_0:27
           .= |. ((h")^\N).m *(((f2*f1)/*((h+c)^\N)).m - ((f2*f1)/*(c^\N)).m).|
b A10Z:,VALUED_027
       .= |. ((h")^\N).m * ((f2/*(f1/*((h+c)^\N))).m - ((f2*f1)/*(c^\N)).m).|
                  by A40,VALUED_0:31
       .= |. ((h")^\N).m * ((f2/*(f1/*      x  dom byA18,FUNCT_1:;
                  by A40,VALUED_0:31
       .= |. ((h")^\N).m * ( f2.((f1/*((h+c)^\N)).m) - (f2/*(f1/*(c^\N))).m).|
        by A41,FUNCT_2:108,A82
       .= |. ((h")^\N).m * ( f2.(f1.x0) - (f2/*(f1/*(c^\N))).m).|
           by A83,A79,A82
       .= |. ((h")^\N).m * ( f2.(f1.x0) - f2.((f1/*(c^\N)).m)).| by
A82,A41,FUNCT_2:108
       .= |. ((h")^\N).m * ( f2.(f1.x0) - f2.(
       A42,FUNCT_2:108,A82
       m =0;
       NAT_1:def 3
       = | (h"^N.m   f2(f1.x0)- f2.(1x0)| by
           .= 0 by ABSVALUE:2;
          hence
              |. ((h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c              ntinuous_in
                   - Rdiff(f2,f1.x0)*Ldiff(f1,x0).|<g by A81;
         end; then
:(h"#(f2f1)*(h+c)-(f2*f1)*c)^\ is convergent
            by SEQ_2:def 6; then
A85:      lim ((h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\N)
           = Rdiff(f2,f1     nowlet  be 
thush()(*)*hc  (f2/c  
           by A84,SEQ_4:21A29:  a.  x by FUNCT_2113;
         thus lim (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c)) = Rdiff(f2,f1.x0)*
            Ldiff(f1,x0) by A84,A85,SEQ_4:22;
        end;

        suppose  f1} : ;
A86:     forend;then
          ex n be Element of NAT st k <= n & (f1/*((h+c)^\N)).n <> f1.x0;

         defpred P[object] means $1 <> f1.x0;
A87:     for k be Element of NAT
          ex n be Element of NAT st k <= n & P[(f1/*((h+c)^\N)).n]
            by A86;

         consider I2 be increasing sequence of NAT such that
A88:      for n being Nat holds P[(f1/*((h+c)^\N)*I2).n] and
A89:      for n be Element of NAT st for r be Real st
            r = (f1/*((h+c)^\N)).end; then
             ex m be Element of NAT st n
=I2. fromFDIFF_2:sch 1(A87);

A90:      d^\N = (f1/*(h+c))^\N - (f1/*c)^\N by
          .= f1/*((h+c)^\N) - (f1/*c)^A35 now
          .= f1/*((h+c)^\N) - f1/*(c^\N) by A12,A13,A10
,ZFMISC_1:31,VALUED_0:27;

         rng(c^\N) c= rng c & rng((h+c)^\N) c= rng(h+c) by VALUED_0:21; then
A91:      rng(c^\N) c= dom f1 & rng((h+c)^\N) c= dom f1 by A22,A12,A14;

A92:      a^\N = f1/*(c^\N) by A12,A13,A10,ZFMISC_1:31,VALUED_0:27;

 java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
gn beingNat that
A94:       ((d^\N)*I2).n = 0;

   0=(d^N).I2n by A94,:15,ORDINAL1: 12
           .     end
           .=     then
           .= (f1/*((h+c)^\N)).(I2.n) - f1.(c.(N + I2.n)) by NAT_1:def 3
           .= (f1/*((h+c)^\N)).(I2.n) - f1.x0 by A16
           .= (f1/*((h+c)^\N)*I2).n - f1.x0 by FUNCT_2:15,ORDINAL1:def 12;
          java.lang.StringIndexOutOfBoundsException: Range [25, 15) out of bounds for length 37
         end;

         reconsider h2 = h^\N*I2 as 0-convergent non-zero
             FDIFF_26
         reconsider a1 = a^\N*I2 as constant Real_Sequence;
         reconsider c2 = c^\N*I2 as constant Real_Sequence;
         s=h2()f1/*h2+- f1/*2;

         d^\N*I2 is subsequence of d by VALUED_0:20; then
         lim (d^\N*I2) = 0 by A37,A26,A43,SEQ_4:17;
        given   
         Real_Sequence by A37,A26,SEQ_4:16,A93,SEQ_1:5,FDIFF_1:def 1;

         set t = d1"(#)(f2/*(d1+a1) - f2/*a1);
         a1 is subsequence of a by VALUED_0:20; then
A95:     rng a1 = {f1.x0} by A33,VALUED_0:26;
A96:     now
          let n beElement  NAT;
          thus (d^\N + a^\N).n = (d^\N).n + (a^\N).n by SEQ_1:7
             .= (f1/*((h+c)^\N)).n - (a^\N).n + (a^\N).n byjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
             .= (f1/*((h+c)^\N)).n;
         end;

A97:     rng((A49   now
            ofNATjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32

         rng(a^\N) c= rng a by VALUED_0:21; then
A99:    rng(a^\N) c= dom f2 by A34;

         d1 + a1 = (d^\N + a^\N)*I2 by RFUNCT_2:2 
A100:     d1 + a1 = f1/*((h+c)^\N)*I2 by A96,FUNCT_2:63
           .= ((f1/*(h+c))^\N)*I2 by A21,XBOOLE_1:18,VALUED_0:27;

A101:      h2+c2 = (h^\N + c^\N)*I2 by RFUNCT_2:2
          .= (h+c)^\N * I2 by SEQM_3:15;

A102:     t(#)s = d1"(#)(f2/*(d1+a1) - f2/*a1) (#)
                  ( ( (f1/*((h+c)^\N))*I2 - f1/*c2 )(#)h2" )
                     by A91,A101,FUNCT_2:110
          .= d1"(#)(          by A51,ORDIN: 12,VALUED_1def 1 
                    f1/(+c^N)  f1/*^N)*()" java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
                    by A91,FUNCT_2:110
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#)
                  ( ( (f1/*((h+c)^\N))*I2 - (f1/*(c^\N)) *I2)(#)h2" )
                    by VALUED_1:def 10
          =((2*d1) - f2/*a1)"d1)()
                  ( ( (f1/*(h+c))^\N*I2 - (f1/*(c^\N)) *I2)(#)h2" )
                    by A21,XBOOLE_1:18,VALUED_0:27
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#)
                  ( ( (        h.(k+n) < r by A54:def1;then
                    byA12,13A10,ZFMISC_1:1,VALUED_0:27
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#)
                  ( ( ((f1/*(h+c))^\N - (f1/*c)^\N)*I2)(#)h2" )
                    by RFUNCT_2:2
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#) (d1(#)h2") by SEQM_3:17
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#) d1(#)h2" by SEQ_1:14
          .= (f2/*(((f1/*(h+c))^\N)*I2) - java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 11
. ((/*(f1*h+c)^\N)* I2 -f2*a1 ) #)h2java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
            
          .= (   (         a1 =(  )\  SEQM_3;
            by A28,VALUED_0:27
          .= (((f2*f1)/*(h+c))^\N*I2 - f2/*a1) (#) h2" by A14,VALUED_0:31
          .= (((f2*f1)/*(h+c))^\N*I2 - (f2/*(a^\N))*I2) (#) h2"
            by A99,FUNCT_2:110
          .= (((f2*f1)/*(h+c))^\N*I2 - ( (f2/*a)^\N )*I2) (#) h2"
            by A33,A11,ZFMISC_1java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 11
          .= (((f2*f1)/*(h+c))^\N*I2 - ( ((f2*f1)/*c)^\N )*I2) (#) h2"
            by A13,A10,ZFMISC_1:31,VALUED_0:31
          .= (( ((f2*f1)/*(h+c))^\N - ((f2*f1)/*c)^\N ) *I2) (#) h2"
            by RFUNCT_2:2
          .= (( ((f2*f1)/*(h+c))^\N - ((f2*f1)/*c)^\N ) *I2) (#) (((h^\N)")*I2)
            by RFUNCT_2:5
          .= ((h^\N)"(#)(((f2*f1)/*(h+c))^\N - ((f2*f1)/*c)^\N ))*I2
            by RFUNCT_2:2;

         rng (((f1/*(h+c))^\N)*I2) c= rng ((f1/*(h+c))^\N) by VALUED_0:21; then
A103:     rng (d1 + a1) c= dom f2 by A97,A28,A100;

 by VALUED_0:;then
         rng (((h + c)^\N)*I2) c= rng (h + c) by VALUED_0:21; then
         rng (((h + c)^\N)*I2) c= dom f1 by A12,A14; then
         rng ((h^\N + c^\N)*I2) c= dom f1 by SEQM_3:15; then
A63:   rng c1 ={x0}by ,VALUED_026;

         h2 is subsequence of h by VALUED_0:20; then
A105:    rng h2 c= rng h by VALUED_0:21;

A106:     for n be Nat holds h2.n < 0
         proof
          let n be Nat;
          dom h2 = NAT by FUNCT_2:def 1; then
          h2.n in rng h2 by FUNCT_1:3,ORDINAL1:def 12; then
          ex m be Element of NAT st h2.n = h.m by A105,FUNCT_2:113;
          hence h2.n < 0 by A15;
         end;

 subsequence ofc VALUED_0:;then
A107:     rng c2 = {x0} by A13,VALUED_0:26; then
     lim s = Ldiff(f1,x0 by 1A104,,FDIFF_3:9

A109:     for n be Nat holds d1.n > 0
         proof
         nbeNat

          n in NAT by ORDINAL1:def 12; then
A110:      n in dom I2 by FUNCT_2:def 1; then
A111:      (f1/*((h+c)^\N)*I2).n
            = (f1/*
           .= f1.(((h+c)^\N).(I2.n)) by A42,FUNCT_2:108;

A112:      d1.n = (f1/*((h+c)^\N) - f1/*(c^\N)).(I2.n) by A90,A110,FUNCT_1:13
           .= (f1/*((h+c)^\N)).(I2.n) - (f1/*(c^\N)).(I2.n) by RFUNCT_2:1
           .= (f1/*((h+c)^\N)).(I2.n) - f1.((c^\N).(I2.n)) by A42,FUNCT_2:108
           .= (f1/*((h+c)^\N)).(I2.n) -       P[object] means $ =f1.0;
           .= (f1/*((h+c)^\N)).(I2.n) - f1.x0 by A16
           .= f1.(((h+c)^\N).(I2.n)) - f1.x0 by A42,FUNCT_2:108;

A113 ((+^N)I.  (+c).(N+I2.)by NAT_1:ef 3;then
A114:      ((h+c)^\        for n be Ele ofNAT for r  Realst r =(f1/(+c))nholds
          =.N+I2.)+x0 A16;

          |. ((h+c)^\N).(I2.n) - x0 .| < r by A113,A24,A38,NAT_1:12; then
          -h.(N+I2.n) < r by A15,A114,ABSVALUE:def 1; then
          -(-h.(N+I2.n)) > -r by XREAL_1:24; then
          x0-r < ((h+c)^\N).(I2.n) & ((h+c)^\N).(I2.n) < x0
            by A114,A15,XREAL_1:java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 21
          ((h+c)^\N).(I2.n) in [. x0-r,x0 .] by XXREAL_1:1; then
          f1.(((h+c)^\N).(I2.n)) in [. f1.x0, f1.x0+r1 .]
            by A7,FUNCT_1:54; then
          f1.x0 <= f1.(((h+c)^\N).(I2.n)) by XXREAL_1:1; then
          f1.x0 < f1.(((h+c)^\N).(I2.n)) by A88,A111,XXREAL_0:1;
          hence d1.n > 0 by A112,XREAL_1:50;
         java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13

         Ldiff(f1,x0) = Ldiff(f1,x0); then
A115:     s is convergent by A1,A107,A104,A106,FDIFF_3:9;
         Rdiff(f2,f1.x0) = Rdiff(f2,f1.x0); then
A116:     t is convergent by A2,A95,A103,A109,FDIFF_3:15;

         t=Rdiff(2f1) A2,A95,103,A109,DIFF_3:15;then
A117:     lim (((h^\N)"(#)(((f2*f1)/*(h+c))^\N - ((f2*f1)/*c)^\N ))*I2)
           = Rdiff(f2,f1.x0) * Ldiff(f1,x0) by A102,A115,A108,A116,SEQ_2:15;

A118:     now
          set DF = Rdiff(f2,f1.x0) * Ldiff(f1,x0);
          let g be Real such that
A119:       0 < g;
          consider k being Nat such that
A120:       for m being Nat st k <= m holds
            |.(((h^\N)"(#)(((f2*f1)/*(h+c))^\N
-(f2f1/c^N)*.  .|<
 ,,116,117A119,EQ_2d ;
A121:      k in NAT by ORDINAL1:def 12;
          reconsider n = I2.k as Nat;
          take n;
          let   Nat  that
 .=|.(h1".m *(f1/*(hc*I1).m -f1.). byRFUNCT_22
A123:      m in NAT by ORDINAL1:def 12;

 ) )^\N
           = ((h")^\N)(#)(( (f2*f1)/*(h+c) - (f2*f1)/*c )^\N) by SEQM_3by A21,XBOOLE_1:8,UNCT_2:110
          .= (h^\N)"(#)(( (f2*f1)/*(h+c) - (f2*f1)/*c )^\N) by SEQM_3:18
          .= (h^\N)"(#)(((f2*f1)/*(h+c))^\N - ((f2*f1)/*c)^\N) by SEQM_3:17;

          now per java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 11
           suppose
A125:        (f1/*((h+c)^\N)).m = f1.x0;

A126:        ((h^\A77   rng (h1 +c1 c dom f1 by RFUNCT_22 
              (h^N".m *((f2*f1)*(h+)\N -((f2*f1)*c)\N)m
             by SEQ_1:8;

A127:        (((f2*f1)/*(h+c))^\N - ((f2*f1)/*c)^\N).m
             = (((f2*f1)/*(h       Rdiff(f1,x0)= Rdiff(f1,x0); then

            dom((h+c)^\N) = NAT by FUNCT_2:def 1; then
            dom(f1*((h+c)^\N)) = NAT by A91,RELAT_1:27; then
            dom(f1/*((h+c)^\N)) = NAT by A91,FUNCT_2:def 11; then
A128:        dom(f2*(f1/*((h+c)^\N))) = NAT by A41,RELAT_1:27;

            ((f2*f1)/*(h+c))^\N
              = (f2*f1)/*((h+c)^\N) by A14,VALUED_0:27
             . f2/*(1/*(h+)\N))by A40VALUED_0:31
             .= f2*(f1/*((h+c)^\N)) by A41,FUNCT_2:def 11; then
A129:        (((f2*f1)/*(h+c))^\N).m
             = f2.(f1.x0) by A125,A128,FUNCT_1:12,ORDINAL1:def 12;

domc\) NAT by FUNCT_2:def 1;then
            dom(f1*(c^\N)) = NAT by A91,RELAT_1:27; then
            dom(          assume
A130:        dom(f2*(f1/*(c^\N))) = NAT by A41,RELAT_1:27;

            ((f2*f1)/*c)^\N = (f2*f1)/*(c^\N) by A13,A10
,ZFMISC_1:31,VALUED_0:27
             .= f2/*(f1/*(c^\N)) by A40,VALUED_0:31
             .= f2*(f1/*(c^\N)) by A41,FUNCT_2:def 11; then
((f2*1)*)^N)m = f2.(1*c\).mjava.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
              : 12A130,UNCT_1:12
FUNCT_2:
             .= f2.(f1.(c.(N+m))) by NAT_1:def 3
             .= f2.(f1.x0) by A16;
            hence
              |.((h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\N).m - DF.| < g by
                ,A78AAA,:java.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57
           end;
           suppose
            (f1/*((h+c)^\N)).m <> f1.x0; then
            for        =|.((")\)m* ((2*(1/((h)^N))m-(f2f1/*(^N).m).
            then
            consider l be Element of NAT such that
A131:         m = I2.l by A89,A123;

            dom I2  NAT by FUNCT_2:ef;
            then l >= k by A122,A131,VALUED_0:def 13,A121; then
            |.(((h^\N)"(#)(((f2=| (h"^.  (f2(.0  (f2/(/(^N).)|
              - ((f2*f1)/*c)^\N ))*I2).l - DF.| < g by A120;
            hence |.((h"(#)((f2*f1)/*(h+c) - (f2*f1)       =|.(h)\N)m*(f2.f1.x0)-f2.(/(\).). by
              by A124,A131,FUNCT_2:15;
          end;
          end;
          hence
              |.((h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\N).m
                - Rdiff(f2,f1.x0) *Ldiff(f1,x0).|<g;
         then
A132:     (            Rdiff(1x0 by A85,EQ_4:22
           SEQ_2:def 6;
         hence h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent by SEQ_4:21;
         lim(h"(#)(f2*/*h+)- (f2*f1)/*)^\)
            = Rdiff(f2,f1.x0)*Ldiff(f1,x0) by A118,A132,SEQ_2:def 7;
         hence lim (h"(#) ((f2*f1)/*(h+c) - (f2*f1)/*c)) = Rdiff(f2,f1.x0)*
            Ldiff(f1,x0) by A132,SEQ_4:22;
        end;
       end;
       hence thesis;
      end;
     end;
     hence thesis;
    end;
    hence thesis by A6,A9,FDIFF_3:9;
end;

theorem Th44:
for x0 be Real, f1,f2 be PartFunc of REAL,REAL st
 f1 is_differentiable_in x0 & f2 is_right_differentiable_in f1.x0 &
   (for r1 be Real st r1 > 0 ex r0 be Real st r0 > 0 &
    [.x0-r0,x0+r0.] c= dom([.f1.x0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  A91 rng(c^\)c dom  & rng(hc^\)c dom f1 by,10,A14;
  diff(f2*f1,x0) = Rdiff(f2,f1.x0)*diff
proof
    let x0 be Real, f1,f2 be PartFunc of REAL,REAL;
    assume that
A1:  f1 is_differentiable_in x0 and
A2:  f2 is_right_differentiable_in f1.x0 and
A3: for r1 be Real st r1 > 0 ex r0 be Real st r0>0 &
      [.x0-r0,x0+r0.] c= dom([.f1.x0,f1.x0+r1.]|`f1);

A4: f1 is_right_differentiable_in x0 & f1 is_left_differentiable_in x0 &
    diff(f1,x0) = Rdiff(f1,x0) & diff(f1,x0) = Ldiff(f1,x0)
      by A1,FDIFF_3:22;
    for r1 be Real st r1 > 0 ex r0 be Real st r0>0 &
      [.x0,x0+r0.] c= dom([.f1.x0,f1.x0+r1.]|`f1)
    proof
     let r1 be Real;
     assume r1 > 0; then
     consider r0 be Real such that
A5:  r0>0 &
      [.x0-r0,x0+r0.] c= dom([.f1.x0,f1.x0+r1.]|`f1) by A3;
     take r0;
     x0-r0 < x0 by A5,XREAL_1:44; then
      XXREAL_1:4;
     hence thesis by A5;

    end; then
A6: f2*f1 is_right_differentiable_in x0 &
    Rdiff(f2*f1,x0) = Rdiff(f2,f1.x0)*Rdiff(f1,x0) by A4,A2,Th42;

    for r1 be Real st r1 > 0 ex r0 be Real st r0 > 0 &
.-r0,x0. c dom[.f1.x0,1x0r1]|f1)
    proof
     let r1 be Real;
     assume r1 > 0; then
     consider r0 be Real such that
A7:  r0>0 &
      [.x0-r0,x0+r0.] c= dom([.f1.x0,f1.x0+r1.]|`f1) by A3;
     take r0;
     x0 < x0+r0 by A7,XREAL_1:29; then
    [.0r0,x0.]  [x0,x0+r0.] by XXREAL_1:34;
     hence thesis by A7;
    end; then
    f2*f1 is_left_differentiable_in x0 &
    Ldiff(f2*f1,x0) = Rdiff(f2,f1.x0)*Ldiff(f1,x0) by A4,A2,Th43;
    hence thesis by A4,A6,FDIFF_3:21;
end;

theorem Th45:
for x0 be          h2+=(h^\ + c^N*I2 by RFUNCT_2:2
 f1 is_right_differentiable_in x0 &f2 is_left_differentiable_in f1.x0 &
  (for r1 be Real st r1 > 0 ex r0 be Real st r0 > 0 &
    [.x0,x0+r0.] c= dom([.f1.x0-r1,f1.x0.]|`f1)) holds
  f2*f1 is_right_differentiable_in x0 &
  Rdiff(f2*f1,x0) = Ldiff(f2,f1.x0)*Rdiff(f1,x0)

    let x0 be Real, f1,f2 be PartFunc of REAL,REAL;
    assume that
A1:  f1 is_right_differentiable_in x0 and
A2:  f2 is_left_differentiable_in f1.x0 and
A3: for r1 be Real st r1 > 0 ex r0 be Real st r0>0 &
      [.x0,x0+r0.] c= dom([.f1.x0-r1,f1.x0.]|`f1);

    consider r1 be Real such that
A4: r1 > 0 & [. f1.x0-r1,f1.x0 .] c= dom f2 by A2,FDIFF_3:def 4;

    consider r0 be Real such that
A5: r0>0 &
     [.x0,x0+r0.] c= dom([.f1.x0-r1,f1.x0.]|`f1) by A3,A4;

    set r = min(r0,r1);
A6: r > 0 by A4,A5,XXREAL_0:21;
     = 0r0 &x0  < f1x0-rby :,,:;then
    [.x0,x0+r.] c= [.x0,x0+r0.] & [.f1.x0-r,f1.x0.] c= [.f1.x0-r1,f1                     A10,,A11,ZFMISC_1:1VALUED_0:27
      by XXREAL_1:34; then
A7:x0,+r.] =dom(.f1.x0-r1,1x0]`f1)by ;

A8:now let x be Real;
     assume x in [.x0,x0+r.]; then
x dom f1 &f1. in[f1x0-,f1.x0.]byA7,FUNCT_154;
     hence x in dom(f2*f1) by A4,FUNCT_1:11;
then
A9:[.x0,=f*(f/(+))^\N*)  /a1 # "byA100,SEQ_1:37

A10: dom(f2*f1) c= dom f1 by RELAT_1:25;

    x0 < x0+r by A6,XREAL_1:29; then
A11: x0 in dom(f2*f1) by A8,XXREAL_1:1; then
A12:        .=(((f2*f1)/*(h+c)\*  /a1 #h  VALUED_031

    for h,c st rng c = {x0} & rng (h + c) c= dom (f2*f1) &
     (for n be Nat holds h.n > 0) holds
     h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent
   by,,ZFMISC_1ZFMISC_1:VALUED_0:java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
    proof
     let h,c;
assumejava.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16
A13:   rng c = {x0} and
A14:   rng (h +          = (h^N"#((f2*f1)*(+c)^\  (f2*)/c)^\N ))I2
A15:   for n be Nat holds h.n > 0;

A16:  for n be Nat holds c.n = x0
     proof
      let n be Nat;
      c.n in rng c by VALUED_0:28;
      hence c.n          then
     end;

A17: now let x be Real;
      assume A18: x in rng(h+c); then
      consider          rng ((  \)I2 =dom f1java.lang.StringIndexOutOfBoundsException: Range [57, 43) out of bounds for length 57
= (+)by:;
      dom(h+c) = NAT by FUNCT_2:def 1; then
      x = h.n + c.n by A19,VALUED_1:def 1; then
      x = h.n + x0 by A16; then
      x > x0 by A15,XREAL_1:29; then
      x in ].x0,+infty.[ by XXREAL_1:235; then
A20:   x in right_open_halfline x0 by LIMFUNC1:def 3;
      x in dom f1       x in dom f1 byat holds. 0
      hence x in right_open_halfline x0 /\ dom f1 by A20,XBOOLE_0:def 4;
     end; then
A21:  rng (h + c) c= right_open_halfline x0 /\ dom f1;

     set a =           ex m be ofsth2.n h.  A104FUNCT_2113;

A22:  rng c c= dom (f2*f1) by A13,A11,ZFMISC_1:31;

     set d = f1/*(h+c) - f1/*c;

A23: lim h = 0;

     lim c = c.0 by SEQ_4:25; then
     lim c = x0 by A16; then
A24: lim (h + c) = 0 + x0 by A23,SEQ_2:6 .= x0;
A25: f1 is_Rcontinuous_in x0 by A1,FDIFF_3:7; then
A26: f1/*(h+c) is convergent by A21,A24,FDIFF_3:def 2;

A27: f1.x0 = lim (f1/*(h+c)) by A21,A24,A25,FDIFF_3:def 2;
A28: rng (f1/*(h+c)) c= dom f2 by A14,FDIFF_2:9;

     now let x be Real;
      assume x in rng a; then
      consider n be Element of NAT such that
A29:   a.n = x by FUNCT_2:113;
      c.n = x0 by A16;
      then x = f1.x0 by A29,A10,A13,A11,ZFMISC_1:31,FUNCT_2:108;
      hence x in {f1.x0} by TARSKI:def 1;
     end; then
A30: rng a c= {f1.x0};

     now let x be Real;
  a0in aby :28;
      assume x in {f1.x0}; then
A32:  x = f1.x0 by TARSKI:def 1;
      c.0 = x0 by A16;
      hence x in rng a by A32,A31,A10,A13,A11,ZFMISC_1:31,FUNCT_2:108;
     end; then
     {f1.x0} c= rng a; then
A33: rng a = { f1.x0 } by A30,XBOOLE_0:def 10; then
A34: rng a c= dom f2 by A12,ZFMISC_1:31;

A35: now
t
      a.n in rng a by VALUED_0:28;
      then
A36:  a.n = f1.x0 by A30,TARSKI:def 1;
      a.(n+1) in rng a by VALUED_0:28;
      hencef1 > f1((+).n  A,XREAL_01java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
     end;
     then
A37: a is constant by VALUED_0:25;

     consider N be Nat such that
A38:   for m be Nat st N <= m holds |. (h+c).m - lim (h+c) .| < r
       by A6,SEQ_2:def 7;

A39:  rng((h+c)^\N) c= rng(h+c) & rng(c^\N) c= rng c by NAT_1:55; then
A40:  rng((h+c)^\N) c= dom(f2*f1) & rng(c^\N) c= dom(f2*f1) by A14,A22; then
A41:  rng(f1/*((h+c)^\N)) c= dom f2 & rng(f1/*(c^\N)) c= dom f2 by FDIFF_2:9;

     dom(f2* =dom by :; then
A42:  rng((h+c)^\N) c= dom f1 & rng(c^\N) c= dom f1 by 

     reconsider a           set DF = L(f2,1x0)*(f1,x0)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
     a.0 in rng a by VALUED_0:28;
     then          consider k being Natsuch that
     then lim a = f1.x0 by SEQ_4A120:        mbeing Nat st k <= m holds
     then
A43: lim d = f1.x0 - f1.x0 by A26,A27,SEQ_2:12 .= 0;

     h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent &
     lim (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c)) = Ldiff(f2,f1.x0)*Rdiff(f1,

      per cases;
      suppose
       ex k be Element of NAT st for n be Element of NAT
        st k <= n holds (f1/*(h+c)).n <> f1.x0; then
       consider k1 be Element of NAT such that
A44:    for n be Element of NAT st k1 <= n holds (f1/*(h+c)).n <> f1.x0;
       reconsider k = max(k1,N) as Element of NAT by ORDINAL1:def 12;
A45:    k1 <= k & N <= k by XXREAL_0:25;
A46:    now
        given n being Nat such that
A47:     (d^\k).n = 0;
A48:    k+n is Element of NAT by ORDINAL1:def 12;
        0 = d.(k+n) by A47,NAT_1:def 3
         .= (f1/*(h+c)).(k+n) - (f1/*c).(k+n) by RFUNCT_2:1
         .= (f1/*(h+c)).(k+n) - f1.(c.(k+n))
           by A48,A10,A13,A11,ZFMISC_1:31,FUNCT_2:108
         .= (f1/*(h+c)).(n+k) - f1.x0 by A16;
        hence contradictiondomf1(^N)  NAT ,: 
       end;

       set c1 = c^\k;
       set h1 = h^\k;
       ,31VALUED_027
       set             =/(1/*c\))by,ALUED_031
A49:   now
        let n be Element of NAT;
        thus (d + a).n = d.n + a.n by SEQ_1:7
           .= (f1/*(h+c)).n - a.n + a.n by RFUNCT_2:1
           .= (f1/*(h+c)).n;
       end;

        d\) =0,A26,A43,SEQ_4:20;
       then reconsider d1 = d^\k as 0-convergent non-zero Real_Sequence
                      A124,A,A129A127,ABSVALUE:java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57

A50:    for n being Nat holds d1.n < 0
       proof
        let n be Nat;
A51:    dom(h+c) = NAT by FUNCT_2:def 1;

A52:    d1.n = d.            l  ofNAT such that
         .= (f1/*(h+c)).(n+k) - (f1/*c).(n+k) by RFUNCT_2:1
         .= (f1/*(h+c)).(n+k) - f1.(c.(n+k))
           by A10,A13,A11,ZFMISC_1:31,FUNCT_2:108
         .= (f1/*(h+c)).(n+k) - f1.x0 by A16
                     domI2= NAT by FUNCT_2:ef1

        (h+c).(k+n) = h.(k+n)+c.(k+n)
          by A51,ORDINAL1:def 12,VALUED_1:def 1; then
A53:    (h+c::           (Stowarzyszenie Uzytkownikow Mizara, :: This code can be distributed under the GNU General Public Licence

        |. (h+c).(k+n) - lim(h+c) .| < r by A38,A45,NAT_1:12; then
.+  c.n -x0 | java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
          by A24,A51,ORDINAL1:def 12,VALUED_1:def 1; then
A54:    |. h.(k+n) + x0 - x0 .| < r by A16;

        h.(k+n) > 0 by A15; then
        h.(k+n) < r by A54,ABSVALUE:def 1; then
        <(+c)(+n)&hc.(+) <x0 by ,A15,:,9;then
        (h+c).(k+n) in [.x0,x0+r.] by XXREAL_1:1; then
        f1.((h+c).(k+n)) in [.f1.x0-r1,f1.x0.] by A7,FUNCT_1:54; then
A55:    f1.x0 >= f1.((h+c).(k+n)) by XXREAL_1:1;
0< d1.n by A46;
        hence d1.n < 0 by A55,A52,XREAL_1:47;
       end;

       set t = d1"(#)(f2/*(d1 +          hence lim (h"(#) ((f2*f1)+)-f2*/c)  ,.)

  = (d + a)^\k by SEQM_3:15;
       then
A56:   d1 + a1 = (f1/*(h+c))^\k by A49,FUNCT_2:63;

       rng ((f1/*(h+c))^\k) c= rng (f1/*(h+c)) by VALUED_0:21;
       then
A57:   rng (d1 + a1) c= dom f2 by A28,A56;
A58:   rng a1 = {f1.x0} by A33,VALUED_0:26;
       then
A59:   lim t = Ldiff(f2,f1.x0) by A2,A50,A57,FDIFF_3:9;

       Ldiff(f2,f1.x0) = Ldiff(f2,f1.x0);
       then
A60:   t is convergent by A2,A58,A57,A50,FDIFF_3:9;
       rng ((h + c)^\k) c= rng (h + c) by VALUED_0:21; then
       rng ((h + c)^\k) c= right_open_halfline x0 /\ dom f1 by A17; then
A61:   rng (h1 + c1) c= right_open_halfline x0 /\ dom f1 by SEQM_3:15;
       right_open_halfline x0 /\ dom f1 c= dom f1 by XBOOLE_1:17; then
A62:   rng (h1+c1) c= dom f1 by A61;
A63:   rng c1 = {x0} by A13,VALUED_0:26;
A64:   for n be Nat holds h1.n > 0
       proof
        let n be Nat;
        h1.n = h.(k+n) by NAT_1:def 3;
        hence h1.n > 0 by A15;
       end;

Rdifff1,)=Rdiff(1,) java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
A65:   s is convergent by A1,A63,A64,A62,FDIFF_3:15;

A66:   t(#)s = d1"(#)(f2/*(d1+a1) - f2/*a1) (#) ((f1/*((h+c)^\k) - f1/*
        c1) (#)h1") by SEQM_3:15
          .= d1"(#)(f2/*(d1+a1) - f2/*a1) (#) (((f1/*(h+c))^\k - f1/*c1)(#)
        h1") by A21,XBOOLE_1:18,VALUED_0:27
          .= d1"(#)(f2/*(d1+a1) - f2/*a1) (#) (((f1/*(h+c))^\k - (f1/*c)^\k)
        (#)h1") by A10,A13 ence thesisbyA6A9F15;
           (+)-/)#(f/h)^-^java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
        (#)h1")  VALUED_1def 10
.(*d+  /a1/d1 #((h1" :java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
.(da1 f2*)"1##) :
          .= (f2/*(d1+a1) - f2/*a1) (#) h1" by SEQ_1:37
         .= ((f2**hc))\  f2/a1)(# h1"by,A56,ALUED_0:27
          .= ((  clusterwith_stabilization-imit - stabilizingfor non-emptyCircuit ofSjava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
          .= (((f2    take n
              A33,ZFMISC_1:31,VALUED_0java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
          .= (((f2*f1)/*(h+c)) assume that
              by A13,A11,ZFMISC_1:31,VALUED_0:31
          .= (((f2*f1)/*(h+c) - (f2*f1)/*c)^\k) (#) h1" by SEQM_3:17
          .= (((f2*f1)/*(h+c) - (f2*f1)/*c)^\k) (#) ((h")^\k) by SEQM_3:18
          .= (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\k by SEQM_3:19;
       hence h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent
         by A65,A60,A7 s2=Following((s,2 by A5;

       lim        lim s
          AnonemptyCircuit ofS
       Rdiff(f1,x0 ) by A66,A65,A60,A59,SEQ_2:15;
       hence thesis by A65,A60,A66,SEQ_4:22;
      end;


A67:   for k be java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 8
        ex n be Element of NAT st k <= n & (java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46

        P[bject]means$1 =f1x0;

 exnElementofjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
 : java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
       consider I1 be increasing sequence of NAT such that
A69:    for n being Nat holds P[(f1/*(h+c)*I1).n] and
         nbe Element of NAT st for  beReal st r=(1/(h+c).nholds
Pr  m beElement NAT st   I1m
        from FDIFF_2:sch 1(A68);xdom &f1.x[x0r1] FUNCT_1;
       reconsider h1 = h*I1 as 0-convergent non-zero Real_Sequence
          by FDIFF_2:6;

       set c1 = c*I1;
A70:   c1 = c by VALUED_0:26;
A71:   rng c1 = {x0} by A13,VALUED_0:26;

A72:    rng h1 c= rng h by VALUED_0:21;

A73:   for n be Nat holds h1.n > 0
       proof
        let n be Nat;
        dom h1 = NAT by FUNCT_2:def 1; then
        h1.n in rng h1 by FUNCT_1:3,ORDINAL1:def 12; then
         m beElement  NAT st h1. =h.  A72F:113;
        hence h1.n > 0 by A15;
       end;

       reconsider c1 as constant Real_Sequence;
A74:   now
        let g be Real such that
A75:    0 < g;
        reconsider n = 0 as Nat;
        take n;
        let m be Nat such that n <= m;
A76:    m in NAT by ORDINAL1:def 12;
         Nat
          = |.(h1").m *(f1/*(h1+c1      c.nin  by:;
         .       c. = byA13T:ef;
..java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 53
           by A70,A76,A10,A13,A11,ZFMISC_1:31,FUNCT_2:108
         .= |.(h1").m *consider n  such
         :=(+. byFUNCT_2java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
         .= |.(h1").m *((f1/*(h+c)*I1).m - f1.x0).|
byXBOOLE_1:,UNCT_2:110
         .= |.(h1").m *(f1.x0 - f1.x0).| by A69;
("#(1/(c1)-/*)m-  |< by,BSVALUE2java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
       end;

       rng ((h + c)*I1) c= rng (h + c) by VALUED_0:21;java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
       then rng ((h + c)*I1) c= dom f1 by A14,A10; then
A77:   rng (h1 + c1) c=      c=c bySEQ_4;
A78:   lim       c=x0  then
         ,,DIFF_3;

(f1) ,;then
       h1"(#)(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
AF15 java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
A79:   Rdiff(f1,x0) = 0 by A78,A74,SEQ_2:def 7;

       now per cases;
        suppose
ex be Elementof NAT
          for n be Element      cn =x0by ;
         then consider k be Element of NAT such that
A80:      for n be Element of NAT st k <= n holds (f1/*((h+c)^\N)).n = f1.x0;

A81:     now let g be Real such that
A82:       0 < g;
          reconsider n = k as Nat;
          take n;
          mbeNat
A83:      m in NAT by ORDINAL1:def 12;
         
      c  ;

          |. ((h"(#)((f2*f1)/*(h     end; then
-Ldiffff1.x0)*difff1, ).java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
            A  -   sStateof n  
                  by A79,SEQM_3:19
           .= |.(((h")^\N) (#) ( ((f2*f1)/*(h+c))^\N - ((f2*f1)/*c)^\N )).m.|
                  by SEQM_3:17
           .= |. ((h")^\N).m * ( ((f2*f1)/*(h+c))^\N - ((f2*f1)/*c)^\N ).m .|
                  by SEQ_1:8
          . | (h"^N.m *(((2*f1)/*(h+c))\N.m- ((f2f1/*c)^\).m).|
                  by RFUNCT_2:1
           .= |. ((h")^\N).m *(((f2*f1)/*((  )
                  by A14,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 24
h+c^\))f2*f1)/(c^\)).)|
                  by A13,A11,ZFMISC_1:31,VALUED_0:27
       .= |. ((h")^\N).m * ((f2/*(f1/*((h+InnerVertices  for Sfor S beingnonvoid -like empty ManySortedSign
                  by +* A2 for s being State offor being   A1fors2bdom2f1)=dom  &  ;
       .      suppose
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 17
       .that
        by A41,FUNCT_2:108,A83
       .= |. ((h")^\N).m * ( f2.(f1.x0) - (f2/*(f1/*(c^\N))).m).|
        =maxk1,   NAT: 12java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
       .= |. ((h")^\N).m * ( f2.(f1.x0) - f2.((f1/*(c^\N)).m)).| by  CircuitofS2st A1tolerates A2 for Abeingnon-empty Circuit of S st A =A1
,A41FUNCT_2:108
      .(")^Nm *  f2.f1.x0)-f2.( f1((^N.m) ))| by
A42FUNCT_2108,83
       .= |. ((h")^\N).m * ( f2.(f1.x0) - f2.( f1.( c.(N+m) ))).| by
       NAT_1:def 3
       .= |. ((h")^\N).m * ( f2.(f1.x0) - f2.(f1.x0)).| by A16;
          hence
              |. ((h"(#)A4: A =A1+ A2;
-(,.)Rdifff1x.<byA82,ABSVALUE2;
         end; then
A85:      (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\N is convergent
            by SEQ_2:def 6;
")(f1/(+c  ()*c  convergent
           by SEQ_4:21;
lim("#(f*/(+) f2/c)^)
           = Ldiff(f2,f1.x0)*Rdiff(f1,x0) by A85,A81,SEQ_2:def 7;
         hence lim (h        (  . d+a :; 
            Rdiff        ( + a)n=(1*hc)). - an+a by RFUNCT_21java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
        end;

        suppose
A86:     for k be Element of NAT
          ex n be Element of NAT st k <= n & (f1/*((h+c)^\N)).n <> f1.x0;
         defpred P[object] means $1 <> f1.x0;
A87:     for k be A51:    dom(h+c) = NAT : 
          ex n be Element of NAT st k <= n & P[(f1/*((h+c)^\N)).n] by A86;

         consider I2 be increasing sequence of NAT such that
A88:      for n being Nat holds P[(f1/*((h+c)^\N)*I2).n] and
A89:      for n be Element of NAT st for r be Real st
            r = (f1/*((h+c)^\N)).n holds P[r]
             ex m be Element of NAT st n
            = I2.m from FDIFF_2:sch 1(A87);

A90:      d^\N = (f1/*(h+c))^\N - (f1/*c)^\N by SEQM_3:17
          .= f1/*((h+c)^\N) - (f1/*c)^\N by A21,XBOOLE_1:18,VALUED_0:27
         =f1/*(h+c)\)-/*c\)by A10,A13,11
,ZFMISC_1:31,VALUED_0:27;

         rng(c^\N) c= rng c & rng((h+c)^\N) c= rng(h+c) by VALUED_0:21; then
A91:      rng(c^\N) c= dom f1 & rng((h+c)^\N) c= dom f1 by A22,A10,A14;

A92:      a^\N = f1/*(cA         by A51,RDINAL1def,: ;

A93:
          given        . (+c)(+n  hc |< by A38A45,:12 
A94:       (d\)I)n 0

          0 = (d^\N).(I2.n) by A94,FUNCT_2:15,ORDINAL1:def 12
           .= (f1/*((h+c)^\N)).(I2.n) - (f1/*(c^\N)).(I2.n) by A90,RFUNCT_2:1
           .= (f1/*((h+c)^\N)).(I2.n) - f1.((c^\N).(I2.n)) by            .= (f1/*((h+c)^\N)).(I2.n) - f1.((c^\N).(I2.n)) by A91
           .= (f1/*((h+c)^\N)).(I2.n)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
           .= (java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
           .= (f1/*((h+c)^\N)*I2).n - f1.x0 by FUNCT_2:15,ORDINAL1:def 12;
          hence contradiction by A88;
         end;

=\*  0-onvergent-ero
              Real_Sequence by FDIFF_2:6;
         reconsider a1 = a^\N*I2 as constant Real_Sequence;
         reconsider c2 = c^\N*I2 as constant Real_Sequence;
         set s = h2"(#)(f1/*(h2+c2) - f1/*c2);

         d^\N*I2 is subsequence of d by VALUED_0:20; then
         lim (d^\N*I2) = 0 by A37,A26,A43,SEQ_4:17;
         then reconsider d1 = d^\N*I2 as 0-convergent non-zero
         Real_Sequence by A37,A26,SEQ_4:16,A93,SEQ_1:5,FDIFF_1:def 1;

         set t = d1"(#)(f2/*(d1+a1) - f2/*a1);
         a1 is subsequence of a by VALUED_0:20; then
A95:     rng a1 = {f1.x0} by A33,VALUED_0:26;
A96:     now
let  be ;
          thus (d^\NA59   tisconvergent by ,,A56,50,DIFF_39;
             .= (f1/*((h+c)^\N)).n - (a^\N).n + (a^\N).n by A90,A92,RFUNCT_2:1
             .= (f1/*((h+c)^\N)).n;
         end;

A97:     rng((f1/*(h+c))^\N) c= rng(f1/*(h+c)) by VALUED_0:21; then
A98:    rng((f1/*(h+c))^\N) c= dom f2 by A28;

         rng(a^\N) c= rng a by VALUED_0:21; then
A99:    rng(a^\N) c= dom f2 by A34;

         d1 + a1 = (d^\N + a^\N)*I2 by RFUNCT_2:2; then
A100:     d1 + a1 = f1/*((h+c)^\N)*I2 by A96,FUNCT_2:63
           .= ((f1/*(h+c))^\N)*I2 by A21,XBOOLE_1:18,VALUED_0:27;

         h2+c2 = (h^\N + c^\N)*I2 by RFUNCT_2:2
          .= (h+c)^\N * I2 by SEQM_3:15; then
A101:     t(#)s = d1"(#)(f2/*(d1+a1) - f2/*a1) (#)
                  ( ( (f1/*((h+c)^\N))*I2 - f1/*c2 )(#)h2" )
                     by A91,FUNCT_2:110
          .= d1"(#)(f2/*(d1+a1) - f2/*a1) (#)
                  ( ( (f1/*((h+c)^\N))*I2 - (f1/*(        h1.  .k)byNAT_1d3
                    byFUNCT_2
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#)
                  ( ( (f1/*((h+c)^\N))*I2 - (f1/*(c^\N)) *I2)(#)h2" )
                    by VALUED_1:def 10
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#)
                  ( ( (f1/*       c1 ())by SEQM_3:15
                              . "(#)(2a1)()((/(h+)^k-f1/c1)java.lang.NullPointerException
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#)
                    f1(+)NI2 - (/c^N *() java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
                    by A10,A13,A11,ZFMISC_1:31,VALUED_0:27
          .= ((        #)h1")by VALUED_1:def 
                  ( ( ((f1/*(h+c))^\N - (f1/*c)^\N)*I2)(#)h2" )
                    by RFUNCT_2:2
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#) (d1(#)h2") by SEQM_3:17
          .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#) d1(#)h2" by SEQ_1:14
          .= (f2/*(((f1/*(h+c))^\N)*I2) - f2/*a1) (#) h2" by A100,SEQ_1:37
          .= ((f2 /* ((f1/*(h+c))^\N)) * I2 - f2/*a1  ) (#) h2"
                   by A98,FUNCT_2:110
          =(/((c)\I2-*)() h2"   ,:
+)\*  /* # "by,:java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
          .= (((f2*f1)/*(h+c))^\N*I2 - (f2/*(a^\N))*I2) (#) h2"
                     by A99,FUNCT_2:110
          .= (((f2*f1)/*(h+c))^\N*I2 - ( (f2/*a)^\N )*I2) (#) h2"
                       by A33,A12,ZFMISC_1:31,VALUED_0:27
          .= (((f2*f1)/*(h+c))^\N*I2 - ( ((f2*f1)/*c)^\N )*I2) (#) h2"
                       by A13,A11,ZFMISC_1:31,VALUED_0:31
          .= (( ((f2*f1)/*(h+c))^\N - ((f2*f1)/*c)^\N ) *I2) (#) h2"

f1)c^N)*)()
                   (((h^\N)")*I2) by RFUNCT_2:5
          .= ((h^\N)"(#)(((f2*f1)/*(h+c))^\N - ((f2*f1)/*c)^\N ))*I2
                        :

         rng (((f1/*(h+c))^\N)*I2) c= rng ((f1/*(h+c))^\N)ex    =   f1/(c)=f1.x0;
         then

(c^N*   h)by 
         rng (
        (h+c)^N)*2 c= domf1 A14A then
          st k <= n&P(f1/(hc)n]by
A103:     rng (h2       consider I1 increasing sequenceo NAT that

         h2 is subsequence of h by VALUED_0:20; then
A104:    rng h2 c= rng h by VALUED_0:21;

A105:     for n be Nat holds h2.n > 0
         proof
          let n be Nat;
          dom h2 = NAT by FUNCT_2:def 1; then
          h2.n in rng h2 by FUNCT_1:3,ORDINAL1:def 12; then
ex  Elementof  .n=h.mbyA104F:13java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
          hence h2. >0  A15java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
       ;

            ofcby :;then
A106:     rng end;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6

A108exmElement NAT .n=.mA71,UNCT_2:113;
         proof
          let n be Nat;

          n in NAT by ORDINAL1:def 12; then
A109:      n in dom I2 by FUNCT_2:def 1; then
A110:      (f1/*((h+c)^\N)*I2).n
            = (f1/*((h+c)^\N)).(I2.n) by FUNCT_1:13
           .= f1.(((h+c)^\N).(I2.n)) by A42,FUNCT_2:108;

A111:d1. =(f1/(hc^N -f1/(c^\N)).(I2.n) by A90,A109,FUNCT_1:13
           .= (f1/*((h+c)^\N)).(I2.n) - (f1/*(c^\N)).(I2.n) by RFUNCT_2:1
           .= (f1/*((h+c)^\N)).( A2 -Circuit  S2  A1A2 Abeingnon-empty
           .= (f1/*((h+c)^\N)).(I2.n           | is
          =(1*(+)\N).I2)  f1.x0 by A16
           .= f1.(((h+cS1and

112      (h+)\N).I2n =(h+c)(N+I2.)byNAT_1:def 3; then
A113:      ((h+c)^\N).(I2.n) = h.(N+I2.n) + c.(N+I2.n) by SEQ_1:7
           .= h.(N+I2.n) + x0 by A16;

A114:      |. ((h+c)^\N).(I2.n) - x0 .| < r by A112,A24,A38,NAT_1:12;

          h.(N+I2.n) > 0 by A15; then
          h.(N+I2.n) < r by A114,A113,ABSVALUE:def 1; then
          x0 < ((h+c)^\N).(I2.n) & ((h+c)^\N).(I2.n) < x0+r
A113X:,29 then
          ((h+c)^\N).(I2.Circuitof  =A1+ A2sbeingStateofA    A1
          f1.(((h+c)^\N).(I2.n)) in [. f1.x0-r1, f1.x0 .]
            by A7,FUNCT_1:54; then
          f1.x0 >= f1.(((h+c)^\N).(I2.n)) by XXREAL_1:1; then
          f1.x0 > f1.(((h+c)^\N).(I2.n)) by A88,A110,XXREAL_0:1java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
<0 ,REAL_149java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
         end;

         (f1x0=f1,) then
A115:     s is convergent by A1,A106,A103,A105,FDIFF_3:15;
         Ldiff(f2,f1      
A116:)not  ,,,13java.lang.StringIndexOutOfBoundsException: Range [68, 65) out of bounds for length 69

,1. 
  exk  Element of st
 Ldifff2,.)* (x)by:15;

A118:     now
          set DF = Ldiff(f2,f1.x0) * Rdiff(f1,x0);
          Real that
A119:       0 < g;
          consider k being Nat such that
A120:       for m being Nat st k <= m holds
            |.(((h^\N)"(#)(((f2*f1)/*(h+c))^\N
              - ((f2*f1)/*c)^\N ))*I2).m - DF.|<g
              by A101,A115,A116,A117,A119,SEQ_2:def 7;
A121:      k in NAT by ORDINAL1:def 12;
          reconsider n = I2.k as Nat;
          take n;
          let m be Nat such that
A122:       n <= m;
A123:      m in NAT by ORDINAL1:def 12;

A124:       ( h"(  holds (Result s)|the carrier  S1=Result 
           = ((h")^\N)(letbeejava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 43
          .= (h^\N)"(#,A4Th10
          java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

           per;
           suppose
A125:        (f1/*((h+cnlet  beFunction - ,X

:(hN"#(((f1)*h+)^N  (*)/c^N).m
             = ((h^\N)").m *           byA83,A79,A82
SEQ_1;

A127:       = | (h)^N)m* (x0  f2. . c\)m) )|by
             = (((f2*f1)       A42,FUNCT_21,

            dom((h+c)^\N) = NAT by FUNCT_2:def 1; then
            dom(f1*      NAT_1:defaasVertexofSby,3
dom*h)\)=AT,FUNCT_2: ;
A128:        dom(f2*(f1/*((h+c)^\N))) = NAT by A41,RELAT_1:27;

(f2  rngjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
=(2f1/*hc         
             A84("#(*/(y  1, java.lang.StringIndexOutOfBoundsException: Range [49, 50) out of bounds for length 49
             =f*f/((+)\) A41,UNCT_2def11;then
A129:        (((f2*f1)/*(h+c))^\N).m
             = f2.(f1.x0) by A125,A128,FUNCT_1:12,ORDINAL1:def 12;

            dom(c^\N) = NAT by FUNCT_2:def 1; then
            dom(f1*(c^\N)) = NAT by A91,RELAT_1:27; then
            dom(f1/*(c^\N)) = NAT by A91,FUNCT_2:def 11; then
A130        (f2*(^N) = NAT by ,RELAT_1:;

            ((f2*f1)/*c)^\N = (f2*f1)/*(c^\N) by A13,A11
,ZFMISC_1
             .= f2/*(f1/*(c^\N)) by A40,VALUED_0:31
             .= f2*(f1/*(c^             1,x2,,x4* = {1234 by FINSEQ_1:,INSEQ_32
            (((f2*f1)/*c)^\N).m = f2.((f1/*(c^\N)).m)
              by ORDINAL1:def 12,         [] 1< x0
             .= A86:     for k be Element of NAT
             .= f2.(f1.(c.(N+m))) by NAT_1:def 3
             .= f2.(f1.x0) by A16;
            hence
              |.((h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\N).m        thus thesis ;
       ,119A79,A126,129A127,ABSVALUE2;
           end by A5;
java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 10
            (f1/*((h+c)^\N)).m <> f1.x0; then
 beRealholdsf(hc^\)m=r1 implies >.x0

            consider l be Element of NAT such that
A131:         m      =

            
           l>kA122VALUED_0:ef13A121 java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
            |.(((h^\N)"(#)(((f2*f1)/*(h+c))^\N
              - ((f2*f1)/*c)^\N ))*I2).l - DF.| < g by A120;
            hence |.((h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\N).m - DF.| < g
              by A124,A131,FUNCT_2:15;
           end;
end;
          hence
              |.((java.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67
                -java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 34
         end; then
A132:       5A8java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 33
           SEQ_2:def 6;
         hence h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent by SEQ_4:21;
         lim ((h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\N)
            = Ldiff(f2,f1.x0)*Rdiff(f1,x0) by A118,A132,SEQ_2:def 7;
         hence lim (h"(#) ((f2*f1)/*(h+c) - (f2*f1)/*c)) = Ldiff(f2,f1.x0)*
            Rdiff(f1,x0) by A132,SEQ_4:22;
        end;
       end;
       hence thesis;
      end;
     end;
     hence thesis;
    end;
    hence thesis by A6,A9,FDIFF_3:15;


theorem Th46:,92,d 1java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
for x0 be Real, f1,f2 be PartFunc of REAL,REAL st
 f1 is_left_differentiable_in x0 & f2 is_left_differentiable_in f1.x0 &
   (for r1 be Real st r1 > 0 ex r0 be Real st r0 > 0 &
    [.letnon set,  beElement ,bejava.lang.StringIndexOutOfBoundsException: Range [71, 68) out of bounds for length 76
 f1java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 38
  Ldiff(f2*f1,A97:    rng((f1/(+c)^N = byjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
proof
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 51

A1
: f1x0and
A3:d1a1=/(c\) byA95,:63
[r0x0]c=def;

    consider r1 be Real such that
pr

r0 such
A5: r0>0 &
     [.x0-r0,x0.] c= dom([.f1.x0-r1,f1.x0.]|`f1) by A3,A4;

    set r = min(r0,r1);
A6: r > 0 by A4,A5,XXREAL_0:21;
    x0-r0 <= x0-r & f1.x0 - r1 <= f1.x0 - r by XREAL_1:10,XXREAL_0:17; then
    [.x0-r,x0.] c= [.x0-r0,x0.] & [.f1.x0-r,f1.x0.] c= [.f1.x0-r1,f1.x0.]
      by XXREAL_1:34; then
A7:[.x0-r,x0.] c= dom([.f1.x0-r1,f1.x0.]|`f1) by A5;

A8:now let x be Real;
     assume x in [.x0-r,x0.]; then
     x in dom f1 & f1.x in [.f1.x0-r1,f1.x0.] by A7,FUNCT_1:54;
     hence x in dom(f2*f1) by A4,FUNCT_1:11;
    end; then
A9:[.x0-r,x0.] c= dom(f2*f1);

A10: dom(f2*f1) c= dom f1 by RELAT_1:25;

x0r <byA6X4; 
A11: x0 in dom(f2*f1) by A8,XXREAL_1:1; then
A12: f1.x0 in dom f2 by FUNCT_1:11;

    for h,c st rng c = {x0} & rng (h + c) c= dom (f2*f1) &
     (for n be Nat holds h.n < 0) holds
     h"(#)((f2*f1)/*(h+c) -                    ((f1/(+c)\ - f*)\)I2)(#h2")
   & lim (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c)) = Ldiff(f2,f1.x0)*Ldiff(f1,x0)
    proof
     let h,c;
     assume that
A13   c={x0}and
A14:   rng (h                      F110
0java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34

A16:  for n be Nat holds c.n =                         A113131
     proof
      let n be Nat;
nin rng cby VALUED_028;
      hence c.n = x0 by A13,TARSKI:def 1;
     end;

A17: now let x be Real;
      assume A18:          rng (((f1/+c^N*)c (/(+))N  java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 79
      consider n be Element of NAT such that
A19:    x = (h+c).n by FUNCT_2:113;
      dom(h+c) = NAT by FUNCT_2:def 1; then
      x = h.n + c.n by A19,VALUED_1:def 1; then
      x = h.n + x0 by A16; then
      x < x0 by A15,XREAL_1:30; then
      x in ].-infty,x0.[ by XXREAL_1:233; then
A20:   x in left_open_halfline x0 by
      x in dom f1 by A18,A14,FUNCT_1:11;
      hence x in left_open_halfline A104:rng h2c=rng  by21;
     end; then
A21:  rng (h + c) c= left_open_halfline x0 /\ dom f1;

     set a proof

A22:  rng c c= dom (f2          = :ef 

 *hc  *;

A23: lim h = 0;

     lim c = c.0 by SEQ_4:25; then
     lim c = x0 by A16; then
A24: lim (h + c) = 0 + x0 by A23,SEQ_2:6 .= x0;
A25: f1 is_Lcontinuous_in x0 by A1,FDIFF_3:5; then
A26: f1/*(h+c) is convergent by A21,A24,FDIFF_3:def 1;

A27: f1          et be;
A28: rng (f1/*(h+c)) c= dom f2 by A14,FDIFF_2:9;

  be;
      assume x in rng a; then
      consider n be Element of NAT such that
A29:   a.n = x by FUNCT_2:113;
      c.n = x0 by A16;
      then x = f1.x0 by A29,A10,A13,A11,ZFMISC_1:31,FUNCT_2:108;
      hence x in {f1.x0} by TARSKI:def 1;
     end; then
A30: rng a c= {f1.x0};

     now let x be Real;
A31:  a.0 in rng A31:  a.0 in rng a
      assume x in {f1.x0}; then
A32:  x = f1.x0 by TARSKI:def 1;
      c.0 = x0 by A16;
      hence x rng  byA32,A10,,11ZFMISC_1:31FUNCT_2:108;
     end; then
     {f1.x0} c= rng a; then
A33: rng a = { f1.x0 } by A30,XBOOLE_0:def 10; then
A34: rng a c= dom f2 by A12,ZFMISC_1:31;

A35: now
      let n be Nat;
      a.n in rng a by VALUED_0:28;

A36:  a.n = f1.x0 by A30,TARSKI:def 1;
      a.(n+1) in rng a by VALUED_0:28;
      hence a.n = a.(n+1) by A30,A36,TARSKI:def 1;
     end;
     then
A37: a is constant by VALUED_0:25;

     consider N be Nat such that
 beNat st N <m holds .(+c).-lim hc . <r
       by A6,SEQ_2:def 7;

A39:  rng((h+c)^\N) c= rng(h+c) & rng(c^\N) c= rng c by NAT_1:55; then
A40:  rng((h+c)^\N) c= dom(f2*f1) & rng(c^\N) c= dom(f2*f1) by A14,A22; then
A41:  rng(f1/*((h+c)^\N)) c= dom f2 & rng(f1/*(c^\N)) c= dom f2 by FDIFF_2:9;

     dom(f2*f1) c= dom f1 by RELAT_1:25; then
A42:  rng((h+c)^\N) c= dom f1 & rng(c^\N) c= dom f1 by A39,A14,A22;

     reconsider a as constant Real_Sequence by A35,VALUED_0:25;
     a.0 in rng a by VALUED_0:28; then
     a.0 = f1.x0 by A30,TARSKI:def 1; then
     lim a = f1.x0 by SEQ_4:25; then
A43: lim d = f1.x0 - f1.x0 by A26,A27,SEQ_2:12 .= 0;

     h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent &
     lim (h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c)) = Ldiff(f2,f1.x0)*Ldiff(f1,x0)
     proof
      per cases;
      suppose
       ex k be Element of NAT st for n be Element of NAT
        st k <= n holds (f1/*(h+c)).n <> f1.x0; then
       consider k1 be Element of NAT such that
A44:    for n be Element of NAT st k1 <= n holds (f1/*(h+c))         java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
       reconsider k = max(k1,N) as Element of NAT by ORDINAL1:def 12;
A45:    k1 <= k & N <= k by XXREAL_0         then
A46 now
        given n being Nat such that
A47:     (d^\k).n = 0;
A48:    k+n is Element of NAT by ORDINAL1:def 12;
        0 = d.(k+n) by A47,NAT_1:def 3
         .=          GateCircuit(p1f1)byDef7
         .=(*(h+c)).(k+n           Ldiff(f2,1x)*Ldifff1x0 by A101,,A107A115SEQ_2:15;
           by A48,A10,A13,A11,ZFMISC_1then
.(*hjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        hence contradiction by A44  f beFunction- ,X,p beFinSeqLen n
Output 1GateCircStrpf =pf byTh15;

       set    Sbe- ManySortedSign;
       set h1 = h^\k;
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 21
       set s = h1"(#)(f1/*(h1 + c1) - f1/*c1);
A49:   now
        let n be ElementA =1GateCircuit(,f;
       d+ a).n = d.  nby : 
        (d + a).n =e
     (d + ac)n
endjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11

        Following sby;
der d1 = d\ as 0convergent- 
by A37A26,A46,:,FDIFF_1:def 1

A50:    for n being Nat holds d1.n < 0
       proof
           Nat
A51<*()*>={(} byFINSEQ_1:;

A52:    d1.n = d.(k+n) by NAT_1:def 3
         .= (f1/*(h+c)).(n+k) - (f1/*A2:1indom<*x(*> by FINSEQ_1:;
. f1/*(h+)).(+k) -f1(.n           suppose
           A10,A13,11ZFMISC_1:31,UNCT_2:java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
         .
      =(+)n)  . byA21,XBOOLE_1:F108;

        (h+c).(k+n) = h.(k+n)+c.(k+n)
          byA51ORDINAL1def12,VALUED_1  java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
A53:    (h+A126        ((f2f1)/(+. (x1).<1,*.))

|.)(+  (c.   byA45,:;then
|.hkn + (kn)   |  java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
by,,:def,java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 57
         java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 33
        -h.(k+n) < r by A15,ABSVALUE:def 1; then
        --h.(k+n) > -r by XREAL_1:24; then
        x0-r < (h+c).(k+n) & (h+c).(k+n) < x0 by A53,A15,XREAL_1:8,30; then
        (h+c).(k+n) in [.x0-r,x0.] by XXREAL_1:1; then
        f1.((h+c).(k+n)) in [.f1.x0-r1,f1.x0.] by A7,FUNCT_1:54; then
A54:    f1.x0 >= f1.((h+c).(k+n)) by XXREAL_1:1;
        0 <> d1.n by A46;
        hence d1.n < 0 by A54,A52,XREAL_1:47;
       end;

       set t = d1"(#)(f2/*(d1 + a1) - f2/*a1);

+ +)\k 15 
A55:   d1 + a1 = (f1/*(h+c))^\k by A49,FUNCT_2:63;

       rng ((f1/*(h+c))^\k) c= rng (f1/*(h+c)) by VALUED_0:21; then
A56:   rng (d1 + a1) c= dom f2 by A28,A55;

A57:   rng a1 = {f1.x0} by A33,VALUED_0:26; then
   limt Ldiff(f2,f1.x0)by A2,50,56FDIFF_39;

       Ldiff(f2,f1.x0) = beingg   InputVertices=x1)x2(),x3(),()x5)   sbeing
A59:   t is convergent by A2,A57,A56,A50,FDIFF_3:9;
reconsider  =1GateCircStr<(,2)x3)x4)x5*, as ne-te
       rng ((h + ctakeA
rng(h1   c=left_open_halfline\domf1 SEQM_315;

1 =domf1 by17 
A61:   rng (h1+c1) c= dom f1 by A60;
3,26java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40

:nbeholdsh. 
      
let Nat;
        h1.n = h.(k+n) by NAT_1:theorem Th22:
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 30


Ldifff1x0  Ldiff(,); then
A64:   s is convergent by A1,A62,A63,A61,FDIFF_3:9;

A65:   t(#)s = d1"(#)(f2/*(d1+a1) - f2/*a1) (#) ((f1/*((h+c)^\k) - f1/*
        java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
          .= d1"(#)(f2/* exbeingElementofX stsm|-  &s  njava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
        h1") by A21,XBOOLE_1:18,VALUED_0:27
. "()f2/(1+ -*)()((*c)\  f1/*c^java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
        (#)h1") by A10,A13,        (#)h1") by A10,A13,A11 by A41,:def 11; then
          =(f2*d1a1  /*/d1)()((/(+)^\-(f1*^kjava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
        (#)h1") by             =f2.1.(c\N.) by 90F1
java.lang.StringIndexOutOfBoundsException: Range [18, 10) out of bounds for length 69
          .= ((f2/*(d1+a1) - f2/*a1)/"modeofX>2dennonvoidnon empty unsplit gate`=rity
         .=(f2*(d1+a1)  f2/a1 (#) " by SEQ_1:java.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
    take1,)java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
          . ((f2*f1)*hc)^\ - f2*a1)() h1" by,VALUED_0:
          .= (((java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 4
              by A33,A12,ZFMISC_1:31,VALUED_0:27
-((2f1)c^k)()h1"
              by A13,A11,ZFMISC_1:31,VALUED_0:31
          .= (((f2*f1)/*(;
            
          .= (h"(#)((f2*f1)/*(h+c) -
       hence h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent
         by A64,A59,SEQ_4:21;

       lim s = Ldiff(f1,x0) by A1,A62,A63,A61,FDIFF_3:9;
       then lim ((h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\k) = Ldiff(f2,f1.x0) *
       Ldiff(f1,x0 )   beempty ;
hencethesisby,A59,A65,EQ_422;
      end;

      suppose
A66:   for k be Element 
        ex n be Element of NAT  end;

       defpred P[object            dom,  Circuit ofX1(,)

A67:   for k be Element of NAT ex n be Element of NAT
          st k <= n & java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 12
   I1beincreasingsequence ofNAT such that
   being holdsP[f1*h+c*I1)n] and
        for n be Element of NAT st for r be     onsider being empty   Element NAT,pbeing
          PA4: Arity  =the carrier'of  FUNCT_2:def1
        from FDIFF_2:sch 1(A67);
       reconsider h1 = h*I1 as 0-convergent: gin    CIRCCOMB:def 6;
          byFDIFF_2:;

         =cI1;
:   by A123,A130;
A70:   rng c1 = {x0}A10:g g`,(def10

A71:    rng h1 c= rng h by VALUED_0:21;

A72:   for n be Nat holds h1.n < 0
       proof
        let n be Nat;
        dom h1 = NAT by FUNCT_2:def 1; then
        h1.n in rng h1 by FUNCT_1:3,ORDINAL1:def 12; then
        ex m be Element of NAT st h1.n = h.m by A71,FUNCT_2:113;
        hence h1.n < 0 by A15;
       end;
A13: n<> 0;
       reconsider c1 as constant Real_Sequence;
A73:   now
        let g be Real suchthen  Sorts B   (pf)  A5
A74:    0 < g;
        reconsider n = 0 as Nat;
        take n;
        let m be Nat A17:  rng ((the Charact oB))c (the Sorts B)theResultSortof S
A75:    m in NAT by ORDINAL1:def 12;
        |.(h1"(#)(f1/*(       reconsider h=f as Function of n-tuples_on X,X by A8,A9,A17,A16,
          = 
        =|.h1") (f1/*h1c1). (/c1.)|1
         .= |.(h1").m *((f1/*(h1+c1)).m - f1.(c.m)).|
           by A69,A75,A10,A13,A11,ZFMISC_1:31,FUNCT_2:108
         .= |.(h1").m *((f1/*(h1+c1)).m - f1.x0).| by A16
         .= |.(h1").m *((f1/*((h+c)*I1)).m - f1.x0).| by RFUNCT_2:2
         .= |.(h1").m *((f1/*(h+c)*I1).m - java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 8
             by A21,XBOOLE_1:18,FUNCT_2:110
         .= |.(h1").m *(f1.x0 - f1.x0).| byinthe  of+S2
        hence |.(h1"(#)(f1/*(h1+c1) - f1/*ioriin:(((f2/*(+c (*f1)c)Nis convergent
      end

rng  ) = h+java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 59
h+c)1 c= dombyA14A10;then
:    (1   c  ("()((2f1)*(+)- (f2*f1)*c) = Ldiff(2,f1.x0)java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
(h1c1)- *)) = Ldifff1,0
          by A1,A70,A72,FDIFF_3:9;

       Ldiff(f1,x0) = Ldiff(f1,x0); let A2 beCircuit S2;
       h1"(#)(f1/*(h1+c1) - f1/*c1) is convergent
hen
A78:   Ldiff(f1,x0) = 0 by A77,A73,SEQ_2:def 7;

       now per ;
        suppose
        k Element of NAT 
          for n be Element of NAT st k <= n holds (f1/*((h+c)^\N)).ZFMISC_1:
         then consider k be Element of NAT such that
A79:      for n be Element of NAT st  let S1S2be inite non empty ManySortedSign;

A80:     now let g behence;
A81:       0 < g;
          reconsider considerA2  Circuit S2suchthat
          take n;
          let m be Nat;
A82:      m in NAT by ORDINAL1:def 12;
          assume
A83:        n <= m;

          |. ((h"(#)((A2: the Sorts of A1 is c &the_value_of  = X &
               - Ldiff(f2,f1.x0)*Ldiff(f1, x0 ) .|
            = |.( ((h")^\N    S1+S2isSignatureofX
                  by A78,      take A;
           .= |.(((h")^\N) (#) ( ((f2*f1)/*(h+c))^\N - (;
                  by SEQM_3:17
           .= |. ((h")^\N).m * ( ((f2*f1)/*(h+c))^\N - ((f2*f1)/*c)^\N ).m .|
                  by SEQ_1:8
           .= |. ((h")^\N).m *((((f2*f1)/*(h+c))^\N).m - (((f2*f1)/*c)^\N).m).|
                  byjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
           d;
                  by A14,VALUED_0:27
           . beof,hence thesis
                  by A13,A11,ZFMISC_1:31,VALUED_0:27
. .(h)^\N).m * ((f2/*(f1/*((h+c)^\N))).m - ((f2*f1)/*(c^\N)).m).|
                  byA1* gate2d  +A2 CircuitofS1*S2java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 68
       .= |. ((h")^\N).m * ((f2/*(f1/*((h+c)^\N))).m:the_rank_of {x in{ x}}by CLASSES1:;
                  by A40,VALUED_0:31
       .= |. ((h")^\N).m * ( f2.((f1/*((h+c)^\N)).m) - (f2/*(f1/*(c^\N))).  then
        :108,
       .= |. ((h")^\N).m * ( f2.(f1.x0) - (f2/*(f1/*(c^\N))).m).|
           by A83,A79,A82
       .=  holdsA iswith_stabilization-limit
A82,A41,FUNCT_2:108
       .= |. ((h")^\N).m * ( f2.(f1.x0) - f2.( f1.( (c^\N).m) )).| by
       A42,FUNCT_2:108,A82
       .= |. ((h")^\N).m * ( dP,bject] 
       NAT_1:def 3
       .= |. ((h")^\N).m * ( f2.(f1.x0) - f2.(f1.x0)).| by A16;
         hence
              |. ((h" then consider  objectsuch that
                   -      setby :;
         end; then
A84:      (hajava.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
            by SEQ_2:def 6;
         hence h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c) is convergent
           by SEQ_4:21;
         lim ((h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\N)
           = Ldiff(f2,f1.x0)*java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 31
         hencelim h()*hc)  f*/c)  Ldiff(f2f1)java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
            Ldiff(f1,x0) by A84,SEQ_4:22;
        end;

        ::  by Marco Riccardi:: Copyright (c) 2013-2026 Association of Mizar Users
:for      then ex q being object being object st [qinR XTUPLE_0:ef 12;
          ex nCAT_1   then

         defpred P[object] means $1 <> f1.x0;
A86:     for      st,]R  >bPbjava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
  ex#arrier- set,
by;

         consider I2be     let abeobjectjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
:  beingNath[*hc^N*)]and
:nElementstrReal
                  morphism C stf1 | &  is right_identity;
ex   NAT stNAT st
= I2. fromFDIFF_2:sch 1A86)

A89:      d;
             =f1/((+)\)-(/c)^N by A21,   being xin  Px,.  CLASSES1:ch()
          .= f1/*((h+c)^\N) - f1/    
letg1g2 being Element of NAT st m >= n (m)l =Following        java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 52

rngc\)c c&rng(h)\)c=rng(+)byVALUED_021;then
A90:      rng(c^\N) c= dom f1 & rng(      then reconsidera1a of S byjava.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 46

A91:      a^\N = f1/assume >=n;


given  beingNatjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A33     in       reconsider g=f,g2=f1,g1=f2 as morphism of C opp;

                      java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 35
 *h\)(n  *c\).I2n RFUNCT_2:1
)(nthen ininfield byRELAT_115;
.=(1*(h+c)\N).(I2.)-f1.(c.N+I2))by :ef 3
.=(f1/*(+c^N)(n  f1x  ofNATm>= l
           .= (f1/*((h+c)^      endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
radiction by A87;
         end;

         reconsider h2 = h^\N*I2 as 0-convergent non-zero
              Real_Sequence by FDIFF_2:6;
         reconsider a1 = a^\N*I2 as constant Real_Sequence;
         reconsider c2 = c^\N*I2 as constant Real_Sequence;
         set s = h2"(#)(f1/*(h2+c2) - f1/*c2);

         d^\N*I2 is subsequencenow
       (^N*2=0by,26A43,17 then
         reconsider d1 = d^\N*I2 as 0-convergent non-zero Real_Sequence
y.= (C)xby A;

    t = d1"#(f2/(+)  f2/a1;
         a1 is subsequence of a by VALUED_0:20; then
A94:     rng a1 = {f1.x0} by A33,VALUED_0:26;
A95:     now
          let n be:A2 f2is_left_differentiable_in f1.x0 and
          (d^\N + a^\N).n = (d^\N).n + (a^\N).n by SEQ_1:7
             .= (f1/*((h+c)^\NA3          assume
          hence (
         end;

:(/(h+c))^\N c=rng(1*h))by :21;
:rng(1/      exmorphism C  g  sright_identity

         rng(a^\N) cA50:Following sis_stable_ata1byFACIRC_119;
:   (\ c f2by;

         d1 + a1 = (d^\N +        assume a in InputVerticesS;
A99:     d1 + a1 = f1/*((h+c)^\N)*I2 by A95,FUNCT_2:63
           .= ((f1/*(h+cjava.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10

:h2c2  (+c\)I2 RFUNCT_2:2
              assume in;

A101:     t(#)s = d1"(#)(f2/*(d1    hencethesis;
(f1/*(hc^N)*I2-f1/c()2 )
by,,FUNCT_2:110
              .= d1"(#)(f2/*(d1+a1) - f2/*a1) (#)
(( f/(+^\* f/(\) *)) )
                    byjava.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 34
              .A,A57roof
                  ( ((f1/*(hc^N)I2 -(1/(^N))   f finiteemptyjava.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 73
                    let s be State of A
              .= f*   A8;
                   f1*(+c)^I2(*(c^N) 2#h2"java.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67
                    by A21f1=  Cjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
=f/(  /a1/d1 (java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
                  ( ( (f1/*(h+c))^\java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 6
                    by A10,A13,A11,ZFMISC_1:31,VALUED_0:27
              .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#)
                  ( (*h+)^N  (f1/c^N*I2)(#h2")
                    by RFUNCT_2:2
              .= ((f2 be morphism of C opp;
              .= ((f2/*(d1+a1) - f2/*a1)/"d1) (#) d1(#)h2" by SEQ_1:14
              holds f1 = f2 proof
              . (   ( *(f1*(h+c)^N) *I2 f2*a1  (#)h2"
                   by A97,FUNCT_2:110
              .= (   (f2/*(f1/*(h+c)))^\N * I2 - f2/*a1  ) (#)     take ;
                   byA28,ALUED_0:27
              .= (((f2*f1)/*(h+c))^\N*I2 - f2/*a1      =F()java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
              .= (((f2*f1)/*
                     by A98,FUNCT_2:110
              .= (((f2*f1)/*(h+c))^\N*I2 - ( (f2/*a)^\N )*I2) (#) h2"
                       by A33,A12,ZFMISC_1:31,VALUED_0:27
              .= (((f2*f1)/*(h+c))^\N*I2 - ( ((f2*f1)/*c)^\N )*I2) (#) h2"
                       by A13,A11,ZFMISC_1:31,VALUED_0:31
Function  2-tuples_on () X
byRFUNCT_2:java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    =((f2*f1/*(+c)^N (f1)*)^N  I2)(java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
                   (((h^\N)")*I2)
                       RFUNCT_2:java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.((h^N"#((f2*f1)*(h+c)^N-(f2*f1)*c)^\N )*I2
byRFUNCT_2:;

         rng (((f1/*(h+c))^\N)*I2) c= rng ((f1/*(h+c))^\N) by java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 47
+ a1)c=domf2  A96,A99;
         ((h+c)^\N)*I2 is subsequence of (h+c) by VALUED_0:20; java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
         rng (((h + Functionof3tuples_on X), X) st xyzbeing Element of X( holds f<x,
         rng (((h + c)^\N)*I2)y,z*> = F(x,y,z)) & for f1,f2 b Function of3tuples_on (),X)st (or,
         rng ((h^\ +c\N)*I2) c= dom f1 by SEQM_3:15; then
  end

         h2 is subsequence of h by VALUED_0:20; then
A104:    rng h2 c= rng h by VALUED_0:21;

A105:     for n be Nat holds h2.n < 0
         proof
          let n be Nat;
          dom h2 = NAT by FUNCT_2:def 1; then
         .n inrng by FUNCT_1:3,ORDINAL1:ef12 then
          ex m be Element of NAT st h2.n = h.m by A104,FUNCT_2:113;
          hence h2.n < 0 by A15;
         end;

         c2 is subsequence of c by VALUED_0:20; then
A106:rngc2= {x0}byA13,VALUED_0:; then
A107:     lim s = Ldiff(f1,x0) java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 5

java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
         proof
          let n A8    heoremTh33:

           inNAT  :  end;
A109:      n in dom I2 by FUNCT_2  assume that
A110:      (        let g1,g2,3be morphismofCoppjava.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
=f1*(+)\).I2.) byFUNCT_113
:

:d1n = (*(+c)\)- /*(c^\).(2.n)by A89,A109,FUNCT_1:13
           .= (f1/*((h+c)^\N)).(I2.n) - (f1/*(c^\N)).(I2.n) by RFUNCT_2:1
           .= (f1/*((h+c)^\N)).(I2.n) - f1.((c^\N).(I2.n)) c     consider*))=<ff2fx3.x4*>byA7;
           .= (f1/*((h+c)^\N)).(I2.n) - f1.(c.(N+I2.n)) by NAT_1:def 3
          =(/(h+c)\N)(2. -f1.0by
           .= f1.((       then

A112:      (A10:  k=4java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A113:      ((h+ ;
           thesisbyA4FINSEQ_1:13;

&   &if  inf  in ff  <x1,x2x3x4java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
          -h.(N+I2.n) < r by A15,A113,ABSVALUE:def 1; then
          --h.(N+I2.n) > -r by XREAL_1:24; then
         r<(hc^N).I2.n)&(h+)^\)(2n <      .0-,+]=dom[.0..]`f1)by A3;
            by A113,A15,     take r0;
          ((hthen in{x1x2,x3x4x5}byTh14;
          f1.(((h+c)^\N).(I2.n)) in [. f1.x0-r1, f1.x0 .]
            by A7,FUNCT_1:54; then
f1.    end then
          f1.x0 > f1.(((h+c)^\N).(I2.n))    f2* is_left_differentiable_in x0&
          hence d1.n < 0 by A111,      then (g*p).k = g.x1 by A5,FINSEQ_3:120;
         end;

         Ldiff(f1,x0) = Ldiff(f1,x0);
         then
    then pk=x3;
         Ldiff(f2,f1.x0) = Ldiff(f2,f1.x0);
         then
      is convergent by ,,A108FDIFF_3:;

         lim A10:k;
         then
A116:    lim (((h^N)(#(f2*)/*hc)^N- ((f2*f1)/*c)^\N ))*I2)
=,f1.0) Ldiff(, by ,,114A107,115,EQ_2:15;

117:now
setDFLf,f1x0)*Ldiff,;
let beReal java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
A118  (<*x1()>f)for a1 being Element of(sta1 =s( olds (sult )
t
:  beingNat  k <= m 
suppose xy2 =[,1;
              -(f2f1/c^\ )I2.  DF|g
              by java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 6
A120:      k in NAT by ORDINAL1:then   assumea1 .x1(;
reconsider  .java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
take n
 m Nat such that
        =
A122:      m in NAT by ORDINAL1:def 12;

A123  Functionof-tuples_on B(,B()holds =f)ifffor
           A15:  not f1=0&f2= 0&f1*)f2 =0);
          . h^N"#(f*)/(h+c)-(f2*1/* )\N)bySEQM_3  s=thecarrier of S
..(N"#((*/*(hc)\ -((f2f1)/*c)^N)bySEQM_3:17;

          now per cases;
suppose
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6

A125:        ((h^\N)"(#)(((f2*f1)/*(h+c))^\N - ((f2*f1)/*c)^\N)).m
             = ((h^\N)").m * (((f2*f1)/*(h+c))^\N - ((f2*f1)/*c)^\N).m
             by SEQ_1:8;

A126:        (((f2*f1)/*(h+c))^\N - ((f2*f1)/*c)^\N).m
             = (((f2*f1)/*(h+c))      thenconsider y be object such that

            domh+)N =NATyFUNCT_2:ef1;then
            dom(f1*((h+c)^\N)) = NAT by A90,RELAT_1:27; then
            dom(f1/*((h+c)^\N)) = NAT by A90,FUNCT_2:def 11; then
        f**(+)\)    A41RELAT_127;

           (f1)*hc)\java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
              = (f2*f1)/*((h+c)^\N) by A14,VALUED_0:27
            =f2*(1*((+c)\) by A40,VALUED_0:31
             .= f2*(f1/*((h+c)^\N)) by A41,FUNCT_2:def 11; then
A128:        (((f2  let sbeState 1GateCircuit(<x1(,(),3)>f()java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
= f2.f1x0 byA124,A127,12ORDINAL112java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67

            dom(c^\N) = NAT by FUNCT_2:def 1; then
           dom(f1*(^\N)=NAT byA90,RELAT_1:27; then
            dom(f1/*  assume a1 =sx1( & a2=sx2)&a3= x3)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
        (f2f1/(\)=ATby A41R:;

(2/c^\= f2)*^N by A13,11
,ZFMISC_1:31VALUED_0 byXTUPLE_0:1;
             .= f2/*(        
. f2(f1/*(^\)) by A41,FUNCT_2:def 11;then
            (f2f1/*c)\)m =f2.((1*^N).m)
              by ORDINAL1:      assume
             .= f2.(f1.((c^\N).m)) by A122,A90,FUNCT_2:108
             .= f2.(f1.(c.(N+m))) by NAT_1:def 3
             =.x0  A16;
            ence
|.h"()6 x0 indom Th28;
                 A123A118,A125,A128,A126,ABSVALUE:;
           end;
           suppose
            (f1/*((h+c)^\N)).m <> f1.x0; then
            for r1 be Real holds (f1/*((h+c)^\            
                    f2  .a,,,)y A1,java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
            java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 50
A130:m= I2. by A88,A122;


            thenjava.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
            |.(((h^\N)"(#)(((f2*f1)/*(h+c))^\N
              - ((f2A32:     f3  ;
             |(#(***c  (**^Nm- |<java.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74
              by A123,A130,FUNCT_2      suppose
           

          hence
              |.((h"(#)((f2*f1)/*(h+c) - (f2*f1)/*c))^\N).m
- Ldifff2.)*f1)<java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
     is Th6
regisjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
           SEQ_2 setX2={[1,n2] where,n2 is Elementof :n2 = n1  1};
()((f2*1/*h)  (2f1/*)is  bySEQ_4:21;
f2f1/(+c f2f1)*c))^N
=Ldiff(f2,1.x0*(,x0)  being  tuples_on,X p FinSeqLenof  for S
         hence lim (h"(#) ((f2*f1)/*(h+c) - (f2*f1)/*
x0) by A131SEQ_422;
endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
       end;
       hence thesis;
      endA14: < x&= x0+endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
     hence thesis;
    end;
    hence thesis by A6,A9,FDIFF_3:9;
end;

Th47:
for x0 be         xy] ;
 &f2  java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
   h  ,java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 40
    [.x0-x0r0java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 39
d&
  diff(          then  n21,  Element of NAT such that
          thesis   XXREAL_1:1java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
     InnerVerticesS) by:5CIRCCOMB47
a that
A1:  f1          hence  A12,TUPLE_0:;
A2:  f2 is_left_differentiable_in f1.x0 and
A3: for r1 be Real st r1 > 0 ex r0 be Real st r0>0 &
      [.x0-r0,x0+r0.] c= dom([.f1.x0-r1,f1.x0.]|`f1);

A4:f1 is_right_differentiable_in x0 &f1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [59, 60) out of bounds for length 59
      by A1,FDIFF_3set p=<x1*>
forRealsisby A18,:
      [.x0,x0+r0.] c= then {} c=thecarrier ]21&=       f1.x0 <= (f1|([.x0,x0+R.])).x by A19,XXRFUNCT_149;then
    java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
     let r1 be Real;
       n12]   n11 by A23,:1;

            [n21,22][n21n22]  y2 =[n21,22]by ,TUPLE_0:1java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
[-,+. = [[1x0-r1,..]f1  ;
 r0;
     x0-0 <x0byA5XREAL_144then
     [x0,0+r0.]= .A3 =x1x2}FINSEQ_2:java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
     hence thesis by A5        then n1in  byXBOOLE_0: ;

    end;then
A6: theoremTh40:
    Rdiff(f2*f1,x0) = Ldiff(f2,f1.x0)Functionof- X forSbeingSignature X in carrierof

    for r1 be Real stA41:for   Element of NAT n1 <>0 holds n1 is morphism of C
      then  n1  {} by TARSKIdef;
    proof
     let r1 be Real;
    r1>0then
     consider r0 be Real java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 12
A7:  A7:  r0thesis Th35;
      [.x0-r0,x0+A47:  [f1,f2] in dom ofC by A43,45,TUPLE_0:def 12;
      consider R be Real such that
      r0  A7,REAL_1:29    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
     [.x0-java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 0
     hencethesisbyA7java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
    end; then
    f2*f1 is_left_differentiable_inthen consider  eobject
java.lang.StringIndexOutOfBoundsException: Range [27, 4) out of bounds for length 65
    hence thesis by A4,A6,FDIFF_3;
end;

theorem

 f1 is_right_differentiable_in x0 & f2 is_right_differentiable_in f1.x0 &
(r Real st r>0  |(.x0x0+r.)isnon-decreasing holds
  A3 rngp =x1,2,           =f1 A54,,1A53java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
  Rdiff(*1,)Rdiff(,x0)f,)
proof
    A56:      fjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ethat
nx0 and
:  GateCircStr<*,) nputVertices )2
A3:  ex r be Real   x1,x2,x3 be ,X non   let x1,x2,x3 be set, X be non empty

    consider R be Real such : ( x1in nnerVerticesA2: ( not x1 in InnerVertices S
A4:  R > 0 & f1|([.x0,x0+R.]      

A5: f1end;
A6  or         ,XBOOLE_0;

    for r1 be Real st r1 > 0 ex r0 be Real  GateCircStr<x1,2x3>f in S   suppose [,]y]in
     [.x0,x0+r0.] c= dom([.f1          [1,]=[n1n2,n1,2]]& =n,]by ,TUPLE_0:java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
    proof
     let r1 be Real;
e
A7:   r1 > 0 hence thesis by A2,3          n1n2  Element of  suchthat
     consider d be Real such that
:0 d java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
      for x be Real st x in dom f1 & x0 < x & x < x0+d holds
       |. java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 5
A9:  0 < d/2 & d/2 < d by A8,XREAL_1:215,216;
     consider s0 be Real such that
A10:   s0 > 0 & [.x0,x0+s0.] c= dom f1 by A1,FDIFF_3:def 3;
     set e = min(d/2,s0);
     take r0 = min(e,R);

  then [f,]f]inc0/ c1 by XBOOLE_0:Function of3  fS Signature of sti carrierof
     e <=         then[f, c0 \c1 /c2by:def3java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
A12end
A13:  r0 < d by A9,XXREAL_0:2;

         beSignature of X such that
      assume x in [.x0,x0+r0.]; then
A14:  x0 <= x & x <= x0+r0 by XXREAL_1:1;

0+ by,REAL_16then
      x <= x0+s0 byassume
A15:  x in dom f1 by A10,A14,XXREAL_1:1;

: x0+0  x0+  A13,REAL_1:;
      per cases;
      suppose        percasesby ,BOOLE_0:ef 3;
       [,,]         i.0x0];hen
   . f1.x - f1.x0 .  b A8,A15; <*x2>=x2xbL:

       x0+          f1,2] [1,2]n2  y =n2 by A75,TUPLE_0:java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
     x0+  x <x0RbyA4,14X        end;
       x0 in dom(f1InputVertices  fory] nn2,1     n1<0;
,,A14,,:57 java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50

       |(.0x0].x0<(|.,+])x
         byjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
+      reconsider =1f22=asmorphism ofC A41
A20:   f1.x0 <= f1.x by A19,A14,XXREAL_1:1,java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 17
 f1x0 <r1 byA18,ABSVALUE:ef 1,REAL_1:8;then
       f1.x < f1.x0+r1 by XREAL_1:19;
       hence x in dom([.f1.x0,f1.x0+r1.]|`f1        suppose >x0;then
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      suppose x = java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 6
       .0 < f1.  hence by A4,REAL_1:6;
       hence x in dom or [f1,]]inc3by : 3;
      end;
     end;
     hence thesis by A11,A4,XXREAL_0:21;
    ndjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    hence thesis by A1,A2,Th42;
end;

theorem
for x0 be Real, f1,f2 be PartFunc of REAL,REAL  letsbeState  C +1GateCircuit(<x1)*>,f());
 f1 is_left_differentiable_in x0 & f2 is_right_differentiable_in f1.java.lang.StringIndexOutOfBoundsException: Range [0, 70) out of bounds for length 55
.]) is -)holds
  f1  x0 &
(f2;

letx0be  f1,2bePof ,;
    assume that
:1x0
: f1x0 
:  exr   st   0 f1(.-,x0]isnonincreasing

    consider R be Real such that
f1|nonbyA3

:f1 x0  A15 java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
A6: x0 in dom f1 by Th27;

    r1  st r1>0 ex r0 be Real str0> &
     [x0-0,x0]c (.1.0,f1.0+1.|f1)   =[  (*. g] by :def8
    proof
     let r1 be A96:         [[f1,f2y in  composition  byA88,TUPLE_0d 12;
     assume
A7:   r1 > 0; then
     consider d be Real such that
A8:   0 < d &
      for x be Real st x in dom f1 & x0-d < x & x < x0 holds
       | x-f1.0 |<r1 by ,h27java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
216;
     consider s0 be Real such that
:   s0>&.0s0.   java.lang.StringIndexOutOfBoundsException: Range [61, 44) out of bounds for length 61
     set e = hence contradiction  XTUPLE_0:1,89;
     take r0 = min(,)

A11: e > 0 by A9,A10,XXREAL_0:21;
     e <= d/2 & e <= s0 & r0 <= e & r0 <= R by XXREAL_0:17; java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 14
 r0 < d/ &r0 =s0 InnerVertices S {SbyTh16;
A13:  r0 < b A102XBOOLE_0def 3;

       x  Real;
 xjava.lang.StringIndexOutOfBoundsException: Range [15, 17) out of bounds for length 6
  x0 =x(xr Real t>  (,x0+.)is-)holds

x0 < x0-r0  ,XREAL_1:0 
      x0- < x byA14,XXREAL_0:;then
14,XREAL_1:1;

A16A11: rng<x1(,x2()  x(,(  FINSEQ_2:bydjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 43
      per cases;
      suppose x <> x0; then
A17:   x0-d < x & x < x0 A13:a2 =(java.lang.StringIndexOutOfBoundsException: Range [21, 4) out of bounds for length 66
A18:   |. f1.x - f1.x0 .| < r1 by A8,A15;

 XXREAL_017,REAL_1:;t
A19:   x0- <x0  x0-R =xhen
(f1(x0,.]) &  dom((x-x0.)
byA6,A14,XXREAL_11RELAT_157;then

1(x0R.)<f|.-x0].java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
         by A4,A17,RFUNCT_2:def 4; then
      end;
A20:   f1.x0 <= f1.x by A19,A14,XXREAL_1:1,FUNCT_1:49;A18:x3)inthecarrierof S(+SbyA11A15,XBOOLE_0:ef3
       f1.x - f1.x0 < r1  () by A17,XBOOLE_0: 5;
       f1.x < f1.x0+r1 by XREAL_1:19;
       hence x in dom([.f1.x0,f1.x0+r1.]|`f1) by A15,A20,XXREAL_1:1,FUNCT_1:54;
      end;
      suppose x = x0; then
       f1.x0 <=java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 7
       x.f1x0,1.0+.]`f1)by set comp = {[[n1,n2],n3] where n1,n2,n3 is Element java.lang.StringIndexOutOfBoundsException: Range [63, 64) out of bounds for length 63
      end=n21n  =by,XTUPLE_01;
     end;
hence thesis by ,4,XREAL_0:1;
end;
       A1,T;
end;

theorem
  Real,,bejava.lang.StringIndexOutOfBoundsException: Range [33, 25) out of bounds for length 49
right_differentiable_in&  f1.&
 (ex rA:f2 =Rs9)x2()(notx2
  f2*f1 is_right_differentiable_in x0 &
Rdifff*,0) (2f1.x0*
proof
    let x0   thentheArity ofS)*1
    assume       f1*f  t   C)(1f2)by Def3,7
A1:  f1       considern11,22,that
A2:  f2 java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 15
A3:  ex: a2  Followingstake ,2,;

    consider R be Real such that
java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7

A5: f1 java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 11
A6: x0;

    for r1e;
      
    proof
     let r1 be Real;
     assume
A7:  r1  ;then
consider be  
java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 8
       x impliesfidentity
      .x-x0 |<r1byjava.lang.StringIndexOutOfBoundsException: Range [36, 4) out of bounds for length 70
A9:  0       left_identity &fisright_identity
     consider s0 be Real such that
A10:java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
     set e = min(d/2,s0);
     take r0 = min(e,R);

A11thus f1 ()f2  the composition ofC.f1,f2) by A2,ef3
     e <
A12:  =d2  <s0&r0< Rby:;then
A13:  r0 < d by A9,XXREAL_0:2;

            g,1,g2  morphism   CategoryStr of Cst g1 |>g2 holds
assume  in [.x0,x0+r0.];t
A14:  x0 <= x & x <= x0+r0 by XXREAL_1:1;

      +r0       r1  ;
    x < +         >g
A15:   x2)in *x1(,(,3) hence e java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 33

A16:  x0+r0 < x0+d by A13,XREAL_1:8;
      per cases;
      suppose x <> x0; then
A17:   x0 < x & x < x0+d  .        f1(  | ;
A18:   |. f1.x - f1.x0 .| < java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 22

       x0+A33:a4=Following(,stabilizationtime .)byA14,A6,Th1,FUNCT_1:49
A19:    x0 < x0+R & x <= x0+R  ( A16,X:;
         dom(f1(.,x0+R.])&x dom(|([x0+java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
               be 
       (f1|([.x0,x0+R.])).x0 >= (A10   ;then
          ,A17RFUNCT_2d  ,2a3a4a5*byA19A26,4A21,,A34,27,A33,22Th34;
       x0> f1|.x0xR.).byA19,:,:9 then
   .x0>f1by,,XXREAL_11FUNCT_1:49; then
       -(f1.x     
     .  x  
       f1.x0 < f1.x + r1 by XREAL_1:19; then
       f1.x0 - r1 < f1.x by XREAL_1:19;
       hence x in dom([.f1.x0-r1,f1.x0.]|`f1) by A15,A20,XXREAL_1:1,FUNCT_1:54;
      end;
      suppose x = x0; then
       f1.x <= f1.x0 & f1.x0-r1 < f1.x by A7,XREAL_1:44;
       hence x in dom([.f1.x0-r1,f1.x0.]|`f1) by A15,FUNCT_1:54,XXREAL_1:1;
      end;
       be java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
     henceA14:x0-0= x& x <=x0 by XXREAL_11java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    end;
    hence thesis by A1,A2,Th45;
end;

theorem
for;
 f1       assume |f
 ( hencef1 * >f by
  f2*f1 is_left_differentiable_in x0 &
  Ldiff(2*f1,x0)=Ldiff(2,f1.x0)*Ldiff(f1,x0)
proof
    let x0 be Real, f1,f2 be PartFunc of REAL,REAL;
    proof
A1:  f1 is_left_differentiable_in x0 and
A2:  f2 is_left_differentiable_in f1.x0 and
 exrbe Real    0& |([java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 30

    
A4:   composable     is  Th12Th13;

A5: f1 is_Lcontinuous_in x0 by A1,FDIFF_3:5; then
A6: x0 in dom f1 by Th27;

    for r1 be Real st r1 > 0 ex r0 be Real st r0>0 &
     [.x0-r0,x0.] c= dom        assume g1|  &g2 | 3
    proof
     let r1 be Real;
     assume
A7:   r1 > 0; then
        java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 11
A8:   0 < d &
      for x be Real st x in dom f1 & x0-d < x & x A5:the CategoryStr of C is associative;
       .f1. -f1. . <  A5;
A9:  0 < d/2A9assume  is natural-alued;
     A6 f1 |  &f2| f3
A10:   s0 > 0 & [.x0-s0,x0.] c= dom f1 by A1,FDIFF_3:def 4;
     set e = min(d/2,s0);
     take r0 = min(e,R)A9:   f1 * |>f3 &ejava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6

A11  > 0 byf1.  f1. +r1 java.lang.StringIndexOutOfBoundsException: Range [44, 27) out of bounds for length 44
     e <= d/2 & e <= s0 & r0 <= e & r0 <= R by XXREAL_0:17; then
A12: r0 <= d/2 & r0 <= s0   
A13:  r0 < d by A9,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26

      xbe Real;
[.-,0.;then
A14:  x0-r0 <= x & x <=A3:    f | f1 by A1;

      x0     p=n& p   FINSEQ_1:def 2;
      x0-     reconsider  one-    :4;
A15     ;

A16  x0- <0-0 ,REAL_115java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      per cases;
      suppose x   end;
A17:   x0- <x&x<x0 by A14,16,XREAL_0:,;then
A18:   |. f1.x - f1.x0 .| < r1 by A8,A15;

       x0
,A14,REAL_1:44,XREAL_0:;then
       x0 in dom(1|[x0-,x0.)  x in dom(1|(.-x0.)
         by A6,A15,A14,XXREAL_1:1,RELAT_1:57; then

       (f1|([.x0-R,x0.])).x0 >= (f1|([.x0-R,x0.])).x
         by A4,A17,RFUNCT_2:def 3; then
         
A20:   f1.x0 >= f1.x by A19,A14,XXREAL_1:1,FUNCT_1:49; then
-f1reconsiderg1=f1sthe Cjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
f1x0 - f1x<;then
       f1. < f1. r1  XREAL_1:9then
       .x0 -r1 <f1.  XREAL_1:9
       hence x
      end;
      java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 26
       f1.x     
        xindom(.1.0-1,1..|f)by ,FUNCT_154X:;

     java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 23
     hence thesis by A11,A4,XXREAL_0:21;
    end;
    hence thesis by A1,A2,Th46assume
end;

Lm22:
for I be non empty Interval holds
 I = [java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
 I=]infIsup .[
proof
    let I be non empty Interval;
    I is open_interval or     S1 tolerates S2 by CIRC:java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    I is right_open_interval or I is left_open_interval by MEASURE5:1;
    hence thesis by MEASURE6:16,17,18,19;
end;


X,,java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 78
     dom seqair_inputs
roof
    let I be non empty Interval;

    assume inf I in I; then
    not (I = ].inf I,sup I.] or I      in  carrierof S;
      ex g being morphism of the CategoryStr of Cst
;

Lm24:
for I be non empty Interval st sup I in I holds
 I = [.inf I,sup I.] or I    assume
proof    Cstf1>f   is 
    
      I I 
     I=.f s [  [java.lang.StringIndexOutOfBoundsException: Range [43, 41) out of bounds for length 69
    hence thesis by Lm22;
end;

Lm25:
for I be non empty Interval st not sup I in I & not inf I in I holds
 I = ].inf I,sup I.[
proof
    let I be non empty Interval;
    assume
A1  otsupinf I inI
:40;
sup I]orI =]x2} is without_pairs & InputVertices+x1x2>f) 
22
infI<  I A3AXXREAL_11,:181920 
    I  I:tjava.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
    sup   (sin.|(*+1)<(in)^2njava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    inf I in [.inf I,sup I.[ by XXREAL_1     f java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
    hence thesis by A1,Lm22;
end;

Lm26:
forjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
f  java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 74
 f1.:I c= J & x0 = inf I & x0 in I holds
  ::::::::::::::::::::::::::::::::::::::1   correctn
  Rdiff(f2*f1,x0     z  FinSequence suchthat

    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
    assume that
  f1 I
2 let f1,2morphism of ;
A3java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 5
A4:  x0 =nf and
A5;

A6:  inf I = {x2} \/ InputVertices or x1}is & S+
7     by ,A5

A8:  f1.x0 = (f1   -n- positiveyielding;

A9 .0            by,;thenteCircStr<,,> )java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
f1.inJbyA3 
java.lang.StringIndexOutOfBoundsException: Range [34, 3) out of bounds for length 38

 R1A2:  ,  morphism C 
(|I A7,6,   ,x2beVertexof,benon  java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46

   S+Gjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 7

     x0 in [.x0,+infty.[ by XXREAL_1:236; then
A12:  x0 in         assume
)x0 byFUNCT_1:henceh| g by A3;

     c by 1Ic   f1.:I c= J & x0 >java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
     
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A15:   f2|J java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 10
A16:   f2          q^)FINSEQ_1:      g |>fjava.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20

     considerR2   that
17:>  .f|),|IR2. =f2  A15
:def3

      =f|)(discrete category Def16:

      f1|I is_Rcontinuous_in x0 byoddseq(n1  oddseq()^*2n  *java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
:fore Realst 0 < e  d Real           A1;
forx beReal    |x-| holds
| F1. - 1..|<e by Th35FCONT_13java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49

 beReal    0ex  Real st    &
       [.x0,x0+r0.] c= dom([.oddseq2+)=(-2^*(*)+*  ;
      
       let r1 be Real;
(,)

assumer1>0;then
A20:    0 < r1/2 & r1/2 < r1 by XREAL_1:215,216; then
       consider d2 be Real such that
A21:     0 < d2 &
        for x be Real st x in dom F1 & |. x-x0 .| < d2 holds
         |. F1.x - F1.x0 .| < s by A18,A17,XXREAL_0:21;

       set r0 = min(d2/2,R1);

A22:    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

A23:    0 < d2/2 & d2/2 < d2 by A21,XREAL_1:215,216; then
A24:    0 < r0 & r0 <= d2/2 & r0 <= R1 by A11,XXREAL_0:17,21;

       x0+r0 <= x0+R1 by XXREAL_0:17,XREAL_1:6; then
A25:    [.x0,x0+r0.] c= [.x0,x0+R1.] by XXREAL_1:34;

       take r0;

       thus r0 > 0 by A11A3     x] =[[1,1]x1  x1 inX
       now let x be Real;

A26:     x in [.x0,x0+r0.]; then
A27:    x in dom(f1|I) by A25,A11; then
A28:             x1   of X suchthat
A29:     f1.x in f1.:I by FUNCT_1:def 6;

        J = J 
A30:     (f1|I).x0 <= f1.x by A3,A14,A29,XXREAL_1      by A2,ARSKI:def 3,FUNCT_1:ef 1java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39

A31:    x0 <= x & x <= x0+r0 by A26,XXREAL_1:1; then
A32:    0 <= x-x0 & x-x0A8:     u|  ;

        x in [.x0,+infty.[ by A31,XXREAL_1:236; then
A33:    x in           [u,f] = [x,x] & u (*) fby A9,XTUPLE_01java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55

        |. x-x0 .| =                 (2*n+1)*)oddseq()
        ,,2then
        |. x-x0 .| < d2 by A23,           [[g,u],g (* u]in F by A10,FUNCT_1:ef 2;
 A33A,57
       ..x -F1x0.  r1/ by A22,XREAL_0:A11:R1> [.end
A34:    |. F1.x

xdomF1byA2757x0 .,java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 46
A35:    F1.x = (java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 9
        |
by,A13XREAL_1:,ABSVALUE:def1 then
F1  x0+ by1java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
hence in dom[ f1.f.r1]`f1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
       end;
 [,fin[,,wx is  X:xin X}yA13java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71

f2f1)is_right_differentiable_in  A4,6,5 byDef2A14java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18

Rdiff*f1,)
       =uniqueness
. (2,1x0)(f1`I.)byA4,A1,ef2
     =(`)f.)(1`.)yA8,,A3A,A14,
      .= (((f2`\J)*f1).x0)*((f1`\I).x0) by A5,A1,FUNCT_1:13;
hence(*,)=(f2\*)#f1\). 5

     
 (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A37:   f2|J is_left_differentiable_inhence thesis;
A38:    ((x)nis_differentiable_onjava.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37

      consider  A:;
A39:java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
,FDIFF_3:def 4;



_:T

    beRealst r1 exbe st  0 &
       [.x0,x0+r0.] c= dom([    per cases;
      proof
       let r1 be Real;
sets /,)
       theoremTh28
        java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
A43:    0 letbe nonzero Nat;

       consider d2 be Real such that
     0 < &
xjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
         |. F1.x - F1.x0 .| < s by A40,A42,A39,XXREAL_0:21,FCONT_1:3;

        r0 (22R1);

A45:    0 < d2/2 & d2/2 < d2 by A44,XREAL_1:215,216; then
A46:    0 < r0 & r0 <= d2/2 & r0 <= R1e;

       x0+r0 <= x0+R1 by XXREAL_0:17,XREAL_1:6; then
A47:    [.x0,x0+r0.] c= [.x0,x0+R1.] by XXREAL_1:34;

       take r0;

       thus r0 > 0 by A11,A45,XXREAL_0:21;
       now let x be Real;
        assume
A48:     x in [.x0,x0+r0.]; then
A49:    x in dom(f1|I) by A11,A47; then
A50:     x in dom f1 & x in I by RELAT_1:57; then
A51:     f1.x in f1.:I by FUNCT_1:def 6;

        J = [.inf:    f1I. = f1xb A3A14A29,1,java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
A52:     f1.x <= (f1|I).x0 by A3,A36,A51,XXREAL_1:1,2;

A53:    x0 <= x & x <= x0+r0 by A48,XXREAL_1:1; then
A54:    0 <= x-x0 & java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 20

        |. x-x0 .| = x-x0 by A53,XREAL_1:48,ABSVALUE:def 1; then
        |. x-x0 .| <= d2/ |. x-x0 .| = x-x0 by A31XREAL_1:8,BSVALUEd  then
A55:    |. x-x0 .        . xx0.| < d2/2byA24,32XXREAL_0:2;then

xin[        .F1 -F1 . <s A21,A33,27RELAT_1;then
A56:    x in right_closed_halfline x0 by LIMFUNC1:def 2; then
        |. F1.x - F1.x0 .| < s by A44,A55,A49,RELAT_1:57; then
A57:    |. F1.A57    (1()@(@x)|n ()@(@os))(#@@x) + @((@x)|^n1) (#) cos

xindom F1 by ,A56,RELAT_1:57; then
= f1. by A48,A11,A47,FUNCT_1:47;then
        by A9,2A3Lm7,FDIFF_2:20,INTEGRA8:27
        |. F1.x - F1.x0 .| = -(F1     proof
        F1.x0 - F1.x < r1 by A57,A42,XXREAL_0:2; then
F1 <F1. +r1 XREAL_119;then
        F1.x0 - r1 < F1.x by XREAL_1:19;
        hence x in dom([. f1.x0-r1,f1.x0 .]|`f1)
          by A50A8A58A13,,FUNCT_1:54,XXREAL_1:1;
       end;
.x0,x0+ . =F1x F1.x0
      by,,XREAL_148ABSVALUE: 1;then
       f2) 

      Rdiff(f2*f1,x0)
       = A2  |> &c by,;
 (,(`\I)x0 A4,Djava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
      .= ((f2`\J).(f1.x0))*((f1`\I).x0) by A8,A2,A3,A9,A36,Def2
      .= (((f2`\J)*f1).x0)*((f1`\I).x0) by A5,A1,FUNCT_1:13;
      hence Rdiff(f2*f1,x0) = (((f2`\J)*f1)(#)(f1`\I)).x0 by VALUED_1:5;
;
     suppose A59. Rdiff(f2,1x0*(f1`I.x0 assumef identity;
      (f1|    end;
A60:   f2 is_differentiable_in (f1|I).x0 by A10,A2,Th11;

:   f1I     ndjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
      hence (f2*f1) is_right_differentiable_in x0 by A60,A6,A4,A5,A1,Th40;

      Rdiff(2*1x0
 f,.x0f, A,6A5A1,AT
letff1 
.(\)(java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
      .= (((f2`\J)*f1).x0)*((f1`\I).x0) by A5,A1,FUNCT_1:13;
      hence Rdiff(f2*f1,x0) = (((f2`\J)*f1)(#)(f1`\I)).x0 by VALUED_1:5;
     end;
end;

java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
 ,f1,f2 bePartFunc ofREAL,EAL,IJbe non empty Interval 
  I &f2is_differentiable_on_interval J java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
 f1.:I c= J & x0 = suphencethesisby 
  (f2*f1) is_left_differentiable_in x0 &
Ldifff2,x0)heorem Th25:
proof
    let   zero holds
that
  with_identities 
A2:  f2 A1: the CategoryStr of C1 = the CategoryStr of C2;
::  xdom ||< holds
A4:  x0          | F1.x  .x0 |  :=2java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A5:  x0 in I;

A6:  x0 = upper_bound I by A4,A5,Lm6;

     sup I = upper_bound I by A4,A5,Lm6; then
A7:  f1        =f  A5Def4,A1,;

        let

A9:  f1.x0 = (f1|I).x0 by A5,FUNCT_1:49;

A10:      f2isright_identity;
     f1.x0 in J byA3 then
A11: (f1|I).x0 in J by A5,FUNCT_1:49;

     set F1 = (f1|I)| letfbe  of;

     x0 in ].-infty,x0.] by XXREAL_1      reconsider n2  n '2 Nat
 asFunctionofREALREAL;
A13: F1.x0 = (f1|I).x0 by FUNCT_1:49;

     per cases;
     
|I.   reconsidern2  nonzero by A2;
  |(|Iby A11,A2,h11then
A16:f2:     -x0|d  java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42

      consider R2 be Real such that
A17:    R2 > 0 & [. (f1|I).x0,(f1|I).x0+R2 .] c= dom(f2|J)
          by A15,FDIFF_3:def 3;

      set F2 = (f2|J)|(Lm2:

      f1|I is_Lcontinuous_in x0 by A7,A6,FDIFF_3:5; then
A18:   for e be Real st 0 < e ex d be     
       for x be Real st x in dom F1 & |. x-x0 .| < d holds
        |. F1.x - F1.x0 .| < e by Th36,FCONT_1:3;

A19:   for r1 be Real  
       [x0-r0,x0. =dom[.f1.x0,.x0+1.|`f1)
      
       r1 Real;
       let be object;
       assume[.0x0+0 =(.-fx|1)
A20:            (cos# )r=(os.*()rbyRFUNCT_1:java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58

A21:    0 < r1/java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
 0<s& = ,XREAL_0:17,21      proof

       consider d2 be Real such that
A23:     0 < d2 &
       thus|  A4
         |. F1.x -       Th34AA2A,;

     (Nat  java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 52

A24java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
A25:    0 < r0 & r0 <= d2/2 & r0 <= R1::4. the Wallis Product Formula

      -  - byjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 53
-R1]byXXREAL_1:;

r0java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15

       thusthusf1|fby A8;
       let  beReal
        ssume
:in[x0-0,x0.]; then
A28:   x  domf1|I)byA26; then
A29:     x in dom f1 & x in I by RELAT_1:57; then
set =1RAlgebraREAL

        J = [.inf J,sup J.[ or J = [.inf J,sup J.] by A11,A14,Lm23; then
A31:     (f1|I).x0 <= f1.x by A3,A14,A30,XXREAL_1:1,3;

    - <   <x0 by,XXREAL_1:then
        |.      setI=@(     hereby
       .x- . < r0by,XREAL_1:,;then
        | -x0 . <=d22 by A25,XXREAL_0:2 then
A33     -x0 .  d2 by A24XXREAL_0:;

        xA3  .:c         thus()|> f by  I2[0I' bounded byTh25;
A34:     endjava.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9

        |. F1.x - F1.x0 .| < s by A23,A33,A28,RELAT_1:57; then
        |. F1java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
A35:    |. F1.x -      = -,2   > ( iff|f1by java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38

   ,34      nIn0by;
A36:    F1.x =java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
        F1.x0 <= F1.x by A31,A12,FUNCT_1:49; then
|      Product(ev$)/(d1));
        F1.x < F1.x0 + r1 by A35,assume
        hence x in dom([. f1.x0,f1.x0+r1 .]|`f1)
          A,,,A31,1java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
  ;
       hence [.x0-r0,x0.] c= dom([. f1.x0,f1.x0+r1 .]|`f1);
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
      hence (f2*f1now

      Ldiff(f2*f1,x0)
       = Rdiff(f2,f1.x0)*Ldiff(f1,x0) by A6,A4,A5,A1,A16,A19,Th43
      .= Rdiff(f2java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      .= ((f2`\J).(     hence thesisjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
     . ((f2`J*f1)x0*(f1\I)x0 by A5,  proof
      hence Ldifff*1x0 =((f2`J*f1)#)`A1:fornbenon NatstPn holdsP+1]
     end;

A37:   (f1|I).x0 =A5:    2(+)-2=2(+)-2by: o1f11 f|f11  
   |Jis_left_differentiable_in f1|)A17    >0  .(|.0fIx0R2 . c dom(2J)

A39:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
     thesis
          by A38,FDIFF_3:def 4;

set f2Jl (|)x0java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55

java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 56
A41    e beReal  0 <       [x0r0.]c=om[f1.x0r1]`1)
r x theorem java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
        |. F1.x - F1.x0 .| < e by java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 22

A42:   for r1 be Real st r1 > 0 ex r0 be Real       assume
       [r0,. c=dom(..0-1f1.0.|      is_integrable_on',I2]&
      proof
let   f1 >  1isidentityby Lm2
 (/
assume
     r1 > 0; then

  for  be Real st x in dom F1&| x- < holds
:0 <s&s< 2            =/t

       consider d2 be Real such thatassume
A46         
        xReal  indom &. |d holds
|      

       set r0hence thesis;

A47:    0 < d2/2 & d2/2 <   by ,A4,OMPTRIG:5,6A16,RDEQ_01:8;
A48:    0 < r0 & r0 <Areconsider  *-1 =2* =2*+java.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51

       x0-R1 <= x0-r0 by XXREAL_0
:   .x0-r0,x0.] c   '.2n)'I.(*n+)

       take r0;

       thus r0 > 0 by A8,A47,XXREAL_0A30:    f1.x  f1.Iby : 6
       now let x be Real;
        assume     =then
50:    in .x0<f1. ,A30,XREAL_1:,;
A51:    x in dom(f1|I) by     hence cod f = f1 by A2,D
A52:     =((ddn|)/|)*n(+(*)* byA2
A53:    f1.x in f1.:I by FUNCT_1Natjava.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29

        J:< s(1+1/(*)*PI  
A54:    f1.x <= (java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 8

A55:    x0-r0 <= x & x <= x0 byA34:   x in java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 27
        |. x-x0 .| = -(x-x0) by ABSVALUE:30,XREAL_1:47; then
| .|< r0byA55,REAL_1:19,XREAL_1:24 
        |. x-x0 .| <= d2/2 by A48,java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 36
A56:    |. x-x0 .| < d2 by A47,XXREAL_0:2;

        x in ].-infty,x0.] by A55,XXREAL_1:234;A4:  (*1-2=(*n1- XREAL_1233. * java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
  LIMFUNC1: 1 java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
.F1  F1..<sy,A56,RELAT_1:57;hen
A58:    |. F1.x - F1.x0F1x<+     set s1 = (2*n)/(2*n+1)

 dom F1 by A51,,:57;then
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 11
        F1.java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
        |. F1.x - F1.x0 .| = -(s1=Podd-n|2(java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 66
        F1.x0 - F1.x       /2n)(1/(+/2n))*(java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
        F1.        then D is java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 7
        . - 1 <F1x :;
         java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 26
          by A52,A9,java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
           forseq1 beingReal_Sequence
       hence [.x0-r0,x0.] c=      forfbeingmorphismoCfsidentity .  identity;
      end;
f2 A1:   for n being Nat holds s0 Enf s ;
      Ldiff(f2*f1,x0)
       = Ldiff letCDjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      L(\)x0 by  java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
 .f1)*(`I.)byA,,, henreconsider D1=  nonempty  ;
=(java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 60
      hence Ldiff(f2*f1,x0) = (((f2`\J)*f1)(#)(f1`\I)).x0 by VALUED_1:5;
     end;
     suppose A60: (f1|I).x0 <>njava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 21
      (f1|I).x0 in ].inf J.((java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 71
erentiable_inf1|.  ,Th11java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
java.lang.StringIndexOutOfBoundsException: Range [35, 6) out of bounds for length 72

Ldiff(())=  FUNCT_2:def ;then
       = diff(f2,f1.x0      ;then
      .= diff(java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 8
=((`J.      takejava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
`I. java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 18
      hence Ldiff(f2*f1,x0) = (((f2`\J)*f1)(#)(f1`\I)).x0 by VALUED_1:5;
     end;
end;

Lm28:
for x0 be Real, f1,f2 be PartFunc of REAL,REAL, I,J be non empty Interval st
 f1 is_differentiable_on_interval I & f2 is_differentiable_on_interval J &
 f1.:I c= J & x0 in         D isempty  A3;
  (f2*f1) is_differentiable_in x0 &
  diff(f2*f1,java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 4
proof
    letx0 ,f1,f2   ofREAL,,, be empty ;
    assume that
A1:  f1 is_differentiable_on_interval I and
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A3:  f1.:I c= J and
A4:  x0 in ].inf I,sup
A5:  x0 in I;

A6infI<  :x .-,.;

    reconsider A = ].inf I,sup I.[ as open Subset of REAL by Th2;
A7: f1 is_differentiable_on A by A1;

:x0in.I by ,FA6 Wallis_Seqm

A9: f1|A is_differentiable_in x0 by A4,A7; then
A10: f1 is_differentiable_in x0            by A9,REAL_1:10,,A6,h45;
A11: f1 is_continuous_in x0 by FDIFF_1:24;

    consider R1 be theorem :
A12:  0 < R1 & ].x0-R1A1:fork beNat holds Wallis_Seq.k>0
A13:0 < R1/2 & R1/2 < R1 by A12,XREAL_1:215,216;

A14: A c= I by Th2; then
    x0 in I by A4; then
    f1.x0 in f1.:I by A1,FUNCT_1:def 6; then
A15: f1.A6:f1|Ff2bycluster java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 42

    per cases;
  java.lang.StringIndexOutOfBoundsException: Range [22, 8) out of bounds for length 60

     java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15

A17:   f1.x0 = inf J; then
18 f2  f1. by,A16,reconsider =as
      consider:          =0
A19:    R2 > 0 & [.             

A20:   for .seq.  | letofC
.r0x+ =dom[f1.,xr1]`1)
      proof
       let r1 be Real;
       set s = min(r1/2,R2);
       assume r1 > 0; then
A21:    0 < r1/2 & r1/2 <   end;
A22:    0 < s & s <= r1/2 & s <= R2 by A19,  exCDbeing  beingofCDst

       consider d2 be Real such that
A23(=[,,]or  [,,]   [1,] =[java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 50
        for x be Real st x in         for x be Real st x in dom


       set r0 = min(d2/2,R1/2);

A24:    0 < d2/2 & d2/2      assumex=[00]0  x  [,]1   [,]1]orx=[1,]1;
A25:    0 < r0 & r0 <= d2/2 &         {       .0>F1x A54FUNCT_1:9;then
       r0 < R1 by A13,XXREAL_0:2; then
 XREAL_1:8,15; then
A26:    [.x0-r0,x0+r0.] c= ].x0F1. < x+r1 by :19 then

       take r0;

       thus r0 > 0 by A13,A24,XXREAL_0:;
       nowlet x Real;
        assume
A27:     x in [.x0-r0,x0+r0.]; then
A28:     x in I by A26,A12,A14; then
 6; then
A30:     f1        per   ,A1

        suppose [x,y2]= [[,1]1]

     r0=x 10  =1byXTUPLE_0:;
        -sqrt seq  byA27 
        |. x-x0 .| <= r0 by ABSVALUE:5        then
        . xx0 |java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 .  by,2 then
        .f1.  x0 |<s byA23, java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
.-f1. sby ,: ;then
        f1.x - f1.x0 < r1/2 by A22,XXREAL_0:2; then
        f1.x - f1.x0         per cases by A4,A1;
        f1.x < f1.x0 + r1 by XREAL_1:19A4:   Podd/Peven = (((2*n)!)/((2|^n)*(n!)) suppose[x,y2  [,0,]
hencein (..,.x0r1.]|`f1)
          by A28,A30,A1,XXREAL_1:1,FUNCT_1:54;
       end;
       hence [.x0-r0,x0+r0.] c= dom([.f1.x0,f1.x0+r1.]|`f1);
      end;
      hence (f2*f1) is_differentiable_in x0 by A10,A18,Th44;
           difff2*,x0
       = Rdiff(f2,f1.x0)*diff(f1,x0) by A20,A18,A10,Th44
      .= Rdiff(f2,f1.x0)*((f1`\I).x0) by A5,A6,A1,Def2
      .= ((f2`\Jhence f2f1)is_left_differentiable_in  byA6A4,A5,1,Th46java.lang.StringIndexOutOfBoundsException: Range [73, 74) out of bounds for length 73
      (f2*f1)x0)(f1`\)x0 by A5A1FUNCT_1:
      hence diff(f2*f1,x0) = (((f2`\J)*f1)(#)(f1`\I)).x0 by VALUED_1:5;
     end;
     suppose
A32:   f1.x0 = sup J; then
.A2A16Lm6 
      consider R2 be Real such that
A34:    R2 > 0 & [.f1.x0-R2,f1.x0.] c= dom f2 by FDIFF_3:def 4;

A35:forbeRealst>0exr0Realst>0&
       [.x0-r0,A18     in X   in  byjava.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 4
      proof
       letfor x0by,RSKIdef ,
set  =(1/2,);
      0 
A36:    0 < r1/2 & r1/2 < r1 by XREAL_1:215,216; then
A37:    0 < s       =(sqrt(n*(*n!)( f1|f2;

       consider d2 be Real such that
java.lang.StringIndexOutOfBoundsException: Range [15, 3) out of bounds for length 17
        for x be Real st x in dom f1 & |. x-x0 .| < d2 holds
|  . . <   ,A36 f* is_differentiable_in 

       set r0 = min(d2/2,R1/2);
A39:    0 < d2/2 & d2/2 < d2 by A39:    0 < d2/2 & d2/2 < d2 by A38:1;
A40:    0 < r0 & r0 <= d2/2 & r0 <= R1/2 by A13,XXREAL_0:17,21; then
       r0 < R1 by A13,XXREAL_0:2; then
       x0-R1 < x0-r0 & x0+r0 < x0+R1 by XREAL_1:8,15; then
A41:    A5:   x0 in Ijava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13

       take r0;

       thus r0 > 0 by A13,A39,XXREAL_0:21;
       now let x be Real;
        assume
A42:     x in [.x0-r0,x0+r0.]; then
 A12A41 then
.xinf1I: 6 
A44:     f1.x0 >= f1.x by A3,java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 9

-< x&  +r0 by A42XXREAL_1: then
- =x0&-<r0 by XREAL_1:9,;then         beof ;
        |. x-x0 .| <=A130<R1  R1/2               
        |. x-x0 .| <= d2/2 by A40,XXREAL_0:2; then
        |. x-x0 .| < d2 by A39,XXREAL_0:2; then
        |. f1.x - f1.x0 .| < s by A38,A43,A1; then
        -(f1.x - f1.x0) < s by A44,XREAL_1:47,ABSVALUE:30; then
  -x+ x0 </ by A37,:;then
        f1.x0 - f1.x < r1 by A36,XXREAL_0:2; then
        f1
        f1.x0-r1 < f1.x by XREAL_1:19;
        hence x in dom([.f1.x0-r1,f1.x0.]|`f1)
          by A1,A43,A44,XXREAL_1:1,FUNCT_1:54;
       end;
[0,r0.=[f1x0-r,.]`)java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
     ;
      hence (f2*f1) is_differentiable_in x0 by A10,A33,Th47;

      diff(f2*f1,x0)
       = Ldiff(f2,f1.x0)*diff        per cases TARSKI:ef;
=Ldiff(f2,f1.x0)(f1\)x0  A5A6,,Def2
. (`J       r1  
.= ((f2`\J)f1.x0)(f1\).x0) byA5,A1,FUNCT_1:
 =(f2
     end;

     suppose A45: f1.x0 <> inf J & f1.x0 <> sup J; then
      f1.x0 in ].inf J,sup J.[ by A8,A3,Th3         .f1.x  .|<sA21A19        
A46:   f2 is_differentiable_in f1.x0 by A2,A8,A3,Th11;
      hence (f2*f1) is_differentiable_in x0 by A10,FDIFF_2:13;
      diff(f2*f1,x0)
       = diff(f2,f1.x0)*diff(f1,x0) by A46,A10,FDIFF_2:13
      .= diff(f2,f1.x0)*((f1`\I).x0) by A5,A6,A1,Def2
      .= ((f2`\J).(f1.x0))*((f1`\I).x0) by A45,A8,A3,A2,Def2
      .= (((f2`\J)*f1).x0)           * *   f1* f2 * A39
      hence diff(f2*f1A:     f3 = 1java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
     end;
    end;

    suppose
A47:   not inf J in J & sup J in J;

     per cases;
     suppose
A48:   f1.x0 = sup J; then
A49:   f2 is_left_differentiable_in f1.x0 by A2,A47,Lm6; then
      consider R2 be Real such that
A50:    R2 > 0 & [.f1.x0-R2,f1.x0.] c= dom f2 by FDIFF_3:def 4;

A51:   for r1 be A44: .f2= x2byDef21=d1byA42java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
       hence in(f1.x0r1]|`)
      
       let r1 be Real;
             . F.f1))Ff)byA43,A45A;
       assume       (f2*) is_differentiable_in x0 by A10,A18,Th44;
A52:    0 < r1/2 & r1/2 < r1 by XREAL_1:215,216; then
A53:    0 < s & s <= r1/2 & s <= R2 by A50,XXREAL_0:17,21;

       consider d2 be Real such that

        for x be Real st x in dom f1 & |. x-x0 .| < d2 holds
         |. f1.x - f1.x0 .| < s by A11,A52,A50,XXREAL_0:21,java.lang.StringIndexOutOfBoundsException: Range [0, 66) out of bounds for length 13

       set r0 = min(d2/2,R1/2);
A55:    0 < d2/2 & d2/2 < d2 by A54,XREAL_1:215,216; then
A56:    0 < r0 & r0 <= d2/2 & r0 <= R1/2 by      hence  .   A46Def4java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
       r0 < R1 by A13,XXREAL_0:2; then
      -R1 r0&+r0 R1 XREAL_1:,;then
A57A1:Cis  ;

       take r0;

>0 A13A55XXREAL_0:1;
       now let x be Real;
        assume
A58:     x in [.x0-r0,x0+      consider R2 be Real suchR2beRealsuch
:     in I by A57,14,;then
        f1.x in f1.:I by A1,FUNCT_1:def 6; then
A60:     f1.x0 >= f1.x by A3,A48,XXREAL_2:4;

        x0-r0 <= x & x <= x0+r0 by A58,XXREAL_1:1; then
        -r0 <= x-x0             s=(/,R2)
        |. x-x0 .| <= r0 by ABSVALUE:5; then
        |. x-x0 .| <= d2/2 by A56,XXREAL_0:2; then
        |. x-x0 .| < d2 by A55,XXREAL_0:2; then
        |. f1.x - f1.x0 .| < s by java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 31
        -(f1.x - f1.x0) < s by let C be empty with_identities CategoryStrA38:     0<d2 java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
        -f1.x + f1.x0 < r1/2 by A53,XXREAL_0:2; then
        f1.x0 - f1.x < r1 by A52,XXREAL_0:2; then
        f1.x0 < f1.x + r1 by XREAL_1:19; then
        f1.x0-r1 < f1.x by XREAL_1:19;
          let Dbe empty with_identitiesCategoryStrjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49

       ;
       hence
      end;
      hence (      

f1)
       = Ldiff(f2,f1.x0)*diff(f1,x0) by A51,A49,A10,Th47
      .= Ldiff(f2,f1.x0)*((f1`\I).x0) by A5,A6,A1,Def2
      .= ((f2`\J).(f1.x0))*((f1`\I).x0) by A48,A8,A3,A2,Def2
      .= (((f2`\J)*f1).x0)*((f1`\I).x0) by A5,A1,FUNCT_1:13;
   diff(f2*f1,x0)= ((f2\J*f1)(#(`\I).x0 by :5;
     end;
     suppose A61: f1.x0 <> sup J; then
1.x0 in]infJ J[byA47A,;
A63:   f2 is_differentiable_in f1.x0 by A2,A8,A3,Th11;
    f2f1 x0 by,13
A64:  inf J < f1.x0 by A62,XXREAL_1:4;
      diff(f2*f1,x0)
=()(x  AF3
      .= diff(f2,f1.x0)*((f1`\I).x0) by A5,A6,A1,Def2
      .= ((f2`\J).(f1.x0))*((f1`\I).x0) by A61,A8,A3,A64,A2,Def2
NCT_1;
      hence diff(f2*f1,x0) =java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     end;
    nd

    suppose
A65:   inf J in J & not sup J in J;

     per cases
     suppose
A66:    f1.x0 = inf J; then
A67:   f2 is_right_differentiable_in f1.x0 by A2,A65,Lm5;

      consider R2 be Real such that
A68:    R2 > 0 or is )&

:
[x0r0x0r0. =(..x0x0r1]`)
      proof
       let r1     hence thesis;
       set s = min(r1/2,R2);
       assume r1 > 0; then
:r r1   16t
A71:    0 < s & s        hencexjava.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 46
       consider d2 beassume
 
         x Realst x in f1&|x-x0 .<holds
|java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9

       set r0 = min(d2/2,R1/2);

A73:    0 < d2/2 & d2/2 < d2 by A72,XREAL_1:215,216; then
A74:    0 < r0 & r0 <= d2/2 & r0 < proof
       r0 < R1 by A13,XXREAL_0:2; then
x0-  r0&x0r0<x0+ XREAL_1:8,15 then
A75:    [.       =difff2f1.0)*diff(,x0 by A46,10FDIFF_2:

       take r0;

               G*F.  .(Ff byA1AT,4;
       now let x java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 10
        assume
A76:     x in [.x0-r0,x0+r0.]; then
A77:      suppose E empty GF.fisidentitybyTh10 ;
        f1.x in f1.:I by A1, then
A78:     f1.x0 <= f1.x by A3,A66,XXREAL_2:3;

        x0-r0 <= x & x <=    for f1,2beingmorphismof  stf1 |holds
        -r0 <= x-x0 & x-x0 <= r0 by XREAL_1:19,20; then
        |. x-x0 .| <= r0 by java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 26
        |. x-x0 .| <= d2/2 by A74,XXREAL_0:2; then
        |. x-x0 .| < d2 by A73,XXREAL_0:2; then
        |. f1.x - f1.x0 .| < s by A72,A1,A77; then
        f1.x - f1.x0 < s by A78,XREAL_1:48,ABSVALUE:def 1; then
        f1.x - f1.x0 < r1/2 by A71,XXREAL_0:2; then
        f1.x - f1.x0 < r1 by A70,XXREAL_0:2; then
        f1.x < f1.x0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        hence x in dom([.f1.x0,f1.x0+r1.]|`f1)
          by A1,A77,A78,XXREAL_1:1,FUNCT_1:54;
       
        .-r0r0 =dom[    
      end;
      hence (f2*f1) is_differentiable_in x0 by A10,A67,Th44;

f2f1,)
       = Rdiff(f2        thusF(*f2  Ff1)*(.) A4A6,forbest indomf1  .x .<holds
      .= Rdiff(f2,f1.x0)*((f1`\I).x0) by A5,A6,A1,Def2
      .= ((f2`\J).(f1.x0))*((f1`\I).x0) by A66,A8,A3,A2,Def2
  ismultiplicative
      hence diff(f2*f1,x0) = (((f2`\J)*f1)(#)(f1`\    proof
           ass A8: identity
     suppose
A79:   f1.x0 <> inf J; then
A80:   f1.x0 in ].inf J,sup J.[ by A65,A15,Th3; then
A81:   f2 is_differentiable_in
       (*f1 is_differentiable_in x0 byA10,FDIFF_2:13;
A82:  f1java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
      diff(f2*f1,endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
       = diff(f2,f1.x0)*diff(f1,x0) by A81,A10,FDIFF_2:13
      .= diff(f2,f1.x0)*((f1`\I).x0) by A5,A6,A1,Def2
      .
      .= (((f2`\J)*
hence(*x0  ((`J*()f1\).x0 byVALUED_15
     end;
   java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8

    suppose A83: not inf J in J & not sup J in J; then
:  .J [ java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
     reconsider B = ].inf J,sup J.[ as open Subset of REAL by  holds (*(()) (h*g()
     f2 is_differentiable_on B by A2; then
     f2|B is_differentiable_in f1.x0 by A8,A3,A84; then
:f1is_differentiable_inx0&
     f2 is_differentiable_in f1.x0 by A9,A8,A3,A84,A4,PDIFFEQ1:2;
A86:  inf J < f1.x0 & f1.x0 < sup J by A84,A8,A3,XXREAL_1:4;
     rng(f1|A) = f1      then h()g| &h|  () f byA2
     rng(f1|A) c= f1.:I by Th2,RELAT_1:123; then
     rng(f1|A) c= J     assumefor f,ghbeing morphismofCst
     rngf|)c BbyA83Lm25 
     f2*f1 is_differentiable_on A by A1,A2,Th1; then
     (f2*f1)|A is_differentiable_in x0 by A4;
     hence (f2*f1) is_differentiable_in x0 by A4,PDIFFEQ1:2;
     diff(f2*f1,x0)
       = diff(f2,f1.x0)*diff(f1,x0) by A85,FDIFF_2:13
      .= diff(f2,f1.x0)*((f1`\I).x0) by A5,A6,A1,Def2
      .= ((f2`\J).(f1.x0))*((f1`\I).x0) by A8,A3end;
      .= (((f2`\J)*f1).x0)*((f1`\I).x0) by A5,A1,FUNCT_1:13;
       difff1) (f2\))(\). 5
    end;
end;

theorem
for f1,f2 be PartFunc of REAL,REAL, I,J be non empty Interval st
 f1 is_differentiable_on_interval I & f2 is_differentiable_on_interval J &
 f1.:I c= J 2  forxbeing Element of A ex y Element ofOst P,y]
  f2*f1 is_differentiable_on_interval I
  & (f2*f1)`\I = ((f2`\J)*f1)(#)(f1`\I)
proof
    let f1,f2 be PartFunc of REAL,REAL, I,J be non empty Interval;
    assume that
A1:  f1 is_differentiable_on_interval I and
A2:  f2 is_differentiable_on_interval J and
A3:  f1.:I c= J;

    c dom f2 by A2;then
    f1.:I c= dom f2 by A3; then
A4: I c= dom(f2*f1) endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8

    for x be Real st x in I holds
     x=nd;
     (x = sup I implies (f2*f1)|I is_left_differentiable_in x) &
     (x in ].A5: for F1, F2 beingFunction of Mor(), Ob(C)holds
     by A1,A2,A3,Th4(forfbeingElementofMor()holdsF2.f=domf)
    hence
A5: (f2*f1) is_differentiable_on_interval I java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 12

A6: dom(       x beingobjectst x inMor(C holdsF1x=F2
    f1"J = dom((f2`\J)*f1) by RELAT_1:147; then
:"f1:)c dom(f2\J)f1 by,RELAT_1RELAT_1143
    I c= f1"(f1.:I) by A1,FUNCT_1:76; then
    I c= dom((f2`\J)*f1) by A7; then
    dome;
A8: dom( ((f2`\J)*f1)(#)(f1`\I) )= I by VALUED_1:def 4;
    now let x be Real;
     assume A9: x in I;
     hence x = inf I implies (((f2`\J)*f1)(#)(f1`\I)).x = Rdiff(f2*f1,x)
       by A1,A2,A3,Lm26;
     thus x = sup I implies (((f2`\J)*f1)(#)(f1`\I)).x = Ldiff(f2*f1,x)
       by A1,A2,A3,A9,Lm27;
     thus x <> inf I & x <> sup I implies
       (((f2`\J)*f1)(#)(f1`\I)).x = diff(f2*f1,x)
     proof
      assume x <> inf I & x <> sup I; then
      x in ].inf I,sup I.[ by A9,Th3;
      thesis  A1A2,3A9,Lm28;
     end;
    end;
    hence(2*1`I=(f2`J*()f1\)by,A8D;


Messung
CHZG
8010010093

¤ Dauer der Verarbeitung: 0.917 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,058
#Domains=861,595