Eine aufbereitete Darstellung der Quelle

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


Quelle  ndiff_3.miz   Sprache: Mizar

 

:: Differentiable Functions into Real Normed Spaces
::  by Hiroyuki Okazaki , Noboru Endou , Keiko Narita and Yasunari Shidama
::
:: Received October 13, 2010
:: Copyright (c) 2010-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, NORMSP_1, PRE_TOPC, PARTFUN1, FUNCT_1, NAT_1,
      FDIFF_1, SUBSET_1, RELAT_1, RCOMP_1, TARSKI, SEQ_1, ARYTM_3, VALUED_1,
      FUNCT_2, ARYTM_1, SEQ_2, ORDINAL2, SUPINF_2, FCONT_1, COMPLEX1, STRUCT_0,
      CARD_1, VALUED_0, XXREAL_0, FUNCOP_1, XXREAL_2, XBOOLE_0, XXREAL_1,
      FUNCT_7, ASYMPT_1;
 notations+R1(x0  .x-)  ,VFUNCT_1def A17
      FUNCOP_1, NUMBERS, XXREAL_0, XCMPLX_0, java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
     ,VALUED_1,    ,STRUCT_0 java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
      RLVECT_1, VFUNCT_1.=/jj +L2. A14,VFUNCT_1:1
 constructors REAL_1, FDIFF_1, VFUNCT_1, NDIFF_1, RELSET_1, RVSUM_1, BINOP_2,
      INTEGR15, NAT_D, MEASURE6, NFCONT_3, COMSEQ_2, SEQ_1, NUMBERS;
 registrations RELSET_1, STRUCT_0, ORDINAL1, XREAL_0, MEMBERED, FUNCT_2,
      NUMBERS, VALUED_0, NORMSP_0,=1.+L2.j
      NAT_1, RCOMP_1, VALUED_1, SEQ_4, java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 19
 equirements ,REAL,BOOLE, ,ARITHMjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
 definitions XBOOLE_0=f1)+diff(x0  A2,A6,Def4;
 equalities RCOMP_1, SUBSET_1, XBOOLE_0;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
 theorems TARSKI
      ZFMISC_1, SEQ_1, SEQ_2, NAT_1, RELAT_1, java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 13
ORDINAL1   ,LOPBAN_3 PARTFUN1, java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
        f1-f2 is_dijava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 72
      VALUED_0, NORMSP_0, XREAL_0, RCOMP_1, SEQM_3, RFUNCT_2, NFCONT_3proof
2, java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24

begin :: Differentiable of Functions into a Real Normed Space

reserve F for RealNormSpace;
reserve G for RealNormSpace;
reserve X for set;
reserve x,x0,g,r,s,p for Real;
reserve n,m,k for Element of NAT;
reserve Y for Subset of REAL;
reserveA2: f2is_differentiable_inx0;
reserve s1,s3 for Real_Sequence;
reserve seq for sequence of G;
reserve f,      beNeighbourhood x0 such
reserve h for 0-convergent non-zero Real_Sequence;
reserve cA3:N1c=dom f1 

 set cs = seq_const 0;

theorem Th1:
  A4:exL,R  x x in  f1/x  .= .x-  R.x-x0
    seq is java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 10
  proof
    assume that
    A1: for nA5 for  st x in N1 holds f1/.x  f1/x0  .x-x0  R1/(x0 A4
    A2: s1 is convergentconsider N2 be Neighbourhood of x0 such that
    A3: lim(s1)=0;
    now
      let p be Real;
      assume 0<;
      then consider n being Nat such that
A4:for m being Natstn<=m holds |s1.m-0.|<p by A2,A3,SEQ_2:def 7;
      reconsider n as Element of NAT by ORDINAL1:def 12;
      now
        let m be Nat;
A5:      m in NAT by ORDINAL1:def 12;
        assume n<=m; then
        A6: |.s1.m-0 .|<p by A4;
        A7:|.seq.m-. |  || m | RLVECT_1:
        A8: s1.m <= |.s1.m.| by ABSVALUE:4;
        ||. seq.m .|| <= s1.m by A1,A5;
         |.seq.-0. .| =|.s1.. A7,8XXREAL_0:;
        hence ||. seq.m - 0.G .|| < A8:  x x inN2 holdsf2.  /x0  .xx0)+R2/(-x0  A7
      end;
          reconsi R1- asasRestFuncof F by java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
          for m    N be of x0suchthat
    end; Nc=N1 and
A9: for p be Real st 0<p
    ex n being Nat st for m being Nat st n<=m
    holds ||. seq.m - 0.G .|| < A10: Nc=N2by 17;
    hence seq is convergent by NORMSP_1:def 6A:N c=dom  byA6A10;
    hence thesis by A9,NORMSP_1:def 7;
  end;

theorem Th2:
  (s1^\k)(#thenN/ Nc=dom f1/ f2 A11XBOOLE_1:;then
  proof
    now let n;
      thus (    A12  =dom (f1f2) VFUNCT_1d2
      .=s1.(n+k)*seq.(n+k is   isbyDef1; then
      .=(s1 ^\k).n*seq.(n+k) by NAT_1:def 3
      .=(s1 ^\k).n*(seq ^\k).n by     R1-R2 is total by VFUNCT_1:32; thenis   VFUNCT_1:32;then
      .=((s1 ^\k)(#)(seq ^\k)).n by NDIFF_1:def 2;
    nd
    hence thesis by FUNCT_2:63;
  end-L2 is by 32 

definition let F;
  let be of tcarrier F
  attr IT is RestFunc-like means :Def1:
  IT is total & for h java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 10
lim(h)#(*h)) =0F
end;

java.lang.StringIndexOutOfBoundsException: Range [10, 2) out of bounds for length 10
  cluster RestFunc-like for PartFunc of REAL    A18: x in ;
  existence
  proof
    take f = REAL --> 0.F;
    thus f is total;
    
      let h;
      now let n be Nat;
       : h= ;
        A3: n in    =.f2  .-/)A12VFUNCT_1def2
        thus ((h")(#)(f/*h).f/x-f2/x +(1/x0-.)byRLVECT_1:27
        .= (h").n*(f.f1.(2.  .0-2/.0)by :
        .= 0.F by RLVECT_1:10f.f/x-f1. f2/x f2.)  RLVECT_1:28
      end;
      then=f1/x-.0  f2.x-/x0)by 27
VALUED_0:def 18;
      hence (h")(#)(f/*h) is convergent & lim ((h")(    L1(-)+/  f/.x -f2/.  A5,A9,A18
 . by18;
    end;
    hence thesis;
  end;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

definition let F;
  mode RestFunc of F is RestFunc-like PartFunc of REAL,the carrier of F .(/(-)L2/(x-)+ (/(x0)  /(-)byRLVECT_1:8
end;

definition let F;
  let IT be Function of REAL,the carrier of F;
  ttr islinearmeans:
  ex r be Point of F st for p be Real holdse;
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 45

registration let F;
  cluster linear for Function of REAL,the carrier of F;
  existence
  proof
    deffunc FG(Real) = $1*(0.F);
    consider f be Function of REAL, the     consider f be Function of REAL, the carrier
:   REALfx  x from FUNCT_2sch;
A2: for x being Real holds f/.x = FG(x)
     proof let x be Real;
       reconsider  =/.  . A14,FUNCT_1:def2
       f/.x = FG(x) by A1;
      hence thesis;
     end;
    take f;
    thus thesis by A2;
  end;
end;

definition let F;
  mode LinearFunc of F is linear Function of REAL,the carrier of.L1.  .
end  =.  /jj

reserve R,R1,R2 for RestFunc of  .diff,0)-L2/jj  A3,A5,
reserve L,L1,L2 for =diff(f1,x0) - diff(f2  ,A6Def4;

theorem Th3e;
  L1+L2 is 
  proof
    consider g1 java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 13
:  beReal L1/. = pg1by Def2;
    consider g2 be Point of F such that
A2: for p be Real holds L2/.p = p*g2 by Def2;
A3:  & diff(r#f),  *difff,
    now
      let p be Real;
       reconsider pp=p as Element of REAL by XREAL_0:def 1;
      thus (L1+L2)/.p = L1  proof
      .= p*g1 + L2/.pp by A1
      .= p*g1 + p*g2 by A2
      .=p(1 by :def 5java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
    ;
    hence L1+L2 is LinearFunc of F by A3,Def2;
A4: L1-L2 is total by VFUNCT_1:32;
    now
      let p be Real;
       reconsider pp=p as Element of REAL by XREAL_0:java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 23
      thus L1L2).=L1/.ppbyVFUNCT_1
      .= p*g1 - L2/.pp consider R1  that
      .= p*g1 - p*g2 by A2
      .= p*(g1-g2) by RLVECT_1:34;
    end;
    hence thesis by A4,Def2;
  endjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6

theorem reconsid   ()  LinearFunc  by ;
  r(#)L is LinearFunc of F
  
    consider g be Point of F such that
A1: for p be Real holds L#R1 total VFUNCT_1:;then
A2: r(#)L is total by VFUNCT_1:34;
    now
      let p be Real;
       reconsider pp=p as Element of REAL by XREAL_0:def 
      thus (r(#)L)/.p = r*L/.pp by VFUNCT_1    r#)1is by 3;then
. (*)  
      .= (r*p)*g by RLVECT_1:def 7
      = p*(rg by d 
    end;
    hence thesis by A2 x;
  end;

theorem Th5:
  for h1,h2 be PartFunc of REAL, the carrier of F
  for seq be Real_Sequence st rng seq c= domA9:x0in  by :
  (h1+h2)/*seq = h1/*seq+h2/*seq & (h1A10 x -x0  byXREAL_0:1
  proof
    let h1,h2 be PartFunc of     assume
    let seq be Real_Sequence    A11:xin ;
    A1: dom h1 /\ dom h2 c    hence rjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    A2: dom h1 /\  =L/(-) */.x)byA7,FUNCT_1:def 4A10
    assume
    A3: rng seq c= dom h1 /\ dom h2; then
    A4: rng seq c= dom (h1 + h2) by VFUNCT_1:def 1;
    now let n be Nat;
A5:   n inNATbyORDINAL1:12
      A6:seq.n in rng seq by FUNCT_2:4,A5;
      thus(h2)*seq).=(h2/(n by ,FUNCT_2:109,5
      .= h1/.(seq.n) + h2/.(seq.n) by A4,A6,VFUNCT_1:def 1
           =(1*.n  h2/s.n A3,FUNCT_2:,XBOOLE_1:,java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
      .= (h1/*seq).n + (h2/*seq).n by.rL1/jjjava.lang.StringIndexOutOfBoundsException: Range [15, 13) out of bounds for length 33
    end;
     (h1+h2)+/seq=/seq+*by d2
    A7: rng seq c= dom (h1 - h2) by A3,VFUNCT_1:def 2;
    
      let n be Nat;
A8:   
      A9:seq.n in rng seq by java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 7
      thus ((h1-h2)/*seq).n = (h1-h2)/.(seq.nf2  implies
      .= h1/.(seq.n) -  f1+f2 is_differentiable_on Z java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
      . (h1/seq)n-h2/(n by ,A1F:,:A8
      .= (h1/*seq).n - (h2/*seq).n by A3,A2,FUNCT_2:109,XBOOLE_1:1,A8;
    end;
    hence thesis by NORMSP_1:def 3;
  end;

theorem Th6:
  for h1,h2 be PartFunc of REAL,the carrier of  proof
  for seq be java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 15
  (h1+h2)/*seq = h1/*seq:Zc (1+)and
  proof
    letA2:f1 is_differentiable_onZ &f2 is_differentiable_on Z
    let seq be Real_Sequence;
    assume h1 is   is total;
    then h1+h2 is total by VFUNCT_1:32;
        A3:f2is_differentiable_onby,Th10;
    then dom h1 /\ dom h2 = REAL by VFUNCT_1:def 1;then
A1: rng seq c= dom h1 /\ dom h2;
    hence (h1+h2)/*seq = h1/*seq + h2/*seq by Th5;
 thesis  A1Th5;
  end;

theorem Th7:
        5: f1 is_differentiable_inx &f2 is_differentiable_inx yA2,h10;
  proof
    A1: R1 is total & R2 is total by Def1;
    A2: now
    h
    A3: (h")(#)((R1+R2)/*h)=diff(x  diff(x  ,Th14;
    .= ((h")(#)(R1/  nd
    A4: (h")(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
R1R2/h is convergent byA3NORMSP_1:java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
    lim ((h")(#)(R1/*h)) = 0.F & lim ((h")(#)(R2/*h)) = 0.java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 29
    hence limf2is_differentiable_on Z implies
    .= 0.F by RLVECT_1:def 4;
  end;
  R1+R2 is total by A1,VFUNCT_1:32;
  hence +R2 RestFunc of byA2,;
  A5: now let h;
  A6: (  for  st in  holdsholds(f-`Z)x=diff(x  difff2,x)
  .= ((h")(#)(R1/*h))-((h")(#)(R2/*h)) by java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 7
  A7    assume that
  hence (h")(#)((R1-R2)/*h) is convergent by A6,NORMSP_1:20;
  lim ((h")(#)(R1/*h)) = 0.F & lim ((h")(#)(R2/*h)) = 0.F by Def1;
  hence lim ((h")(#)((R1-R2)/*h)) = 0.F-0.    A2: f1 is_differentiable_on Z & f2 is_d Z;
  .= 0.F by java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 7
   let ;
R1-R2 is total by A1,VFUNCT_1:32;
hence -R2 RestFunc   byA5Def1;
end;

theorem Th8:
  r(#)R is RestFunc of F
  roof
    A1: R is total by Def1; then
    A2:r(#)R is total by VFUNCT_1:34;
    let ;
      dom R = REAL by A1,FUNCT_2:def 1; then
      rng h c= dom R; then
      A3: (h")(#)((r(#)R)/*h) = (h")(#)(r*(    A3:f1f2 Z T
let ;
      A4: (h")(#)(R/*h) is convergent by Def1;
      hence (h")(#)((r(#)R)/*h) is java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 20
      lim ((h")(#)(R/*h)) = 0.A5  is_differentiable_inx&f2  x by T;
      hence lim ((h")(#)((r(    thus (f2)|)x =diff(f1-f2),x byA3,Def6
      .= 0.F by RLVECT_1:10;
    end;
    hence thesis by A2,Def1;
  end;

definition let F,f;
  let x0 be Real;
  pred f is_differentiable_in x0 means
  ex N being Neighbourhood of x0
  st N c=   end
  holds f/.x - f/.x0 = L/.(x-x0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end;

definition
  et F,f;
  let x0 be Real;
  assume
  :fis_differentiable_in x0;
  func diff(f,x0) -> Point of F means
:Def4:
  exfor  in holds (# )|. rdiff(,)
  & for x st x in N holds f/.x-f/.x0 = L/.(x-x0) + R/.(x-x0);
  existence
  proof
    siderN being Neighbourhoodof  such 
    A2: N c= dom f and
    A3: ex L,R st for x st x in N
    holds f/.x - f/.x0 = L/.(x-x0) + R/.(x-x0) by A1;
    ,R  
    A4: for x st x in N holds f/.x - f/.x0
    consider r java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 13
    A5: for p be Real holds L/.p = pthenfis_differentiable_in byA2;
     r;
    L/.1=1*r by A5
    .=r by RLVECT_1:def 8;
    hence thesis by A2,A4;
  end;
  uniqueness
  proof
    let r,s be Point of F;
    assume that
    A6: ex N being Neighbourhood of x0 st N c= dom f & ex L,R st r=    let ;
        assume
    A7: ex N being Neighbourhood of x0 st N c=     : xin  
    for x be Real st x     A5: f is_differentiab by 2Th10;
    consider N being Neighbourhood of x0 such that
     = fand
    A8: ex L,R st r=L/.1 & for x be Real
    st x in N holds f/.x-f/.x0 = L/.(x-x0)+R/.(x-x0) by A6;
    consider L,R such that
    A9: r=L/.1 and
    A10: for x be Real
       x in  holds f/x-f/x0=L.x-x0)+ R/.xx0 by A8;
    consider r1 be Point of F such that
    A11: for p be Real holds L/.p = p*r1 by Def2;
    consider N1 being Neighbourhood of x0 such that
    N1 c=  st in  holds (`Z. = 0.F
    A12: ex L,R st s=L/.1 & for x be Real st x in N1
    holds java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 7
    consider L1,R1 such that
    A13: s =L1/.1 and
    A14: for x be Real st x in N1
    holds /x/x0  L1.x-)+ R1/(- 
    consider p1 be Point of F such that
    A15: for p be Real holds L1/.p = p*p1 by Def2;
    consider N0 be Neighbourhood of x0 such that
 N0 c=N  c byR:17java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    consider g be Real such that
    A17: 0<g and
    A18: N0 = ].
    deffuncFNat) = g/($1+2);
    consider s1 such that
    A19: for n being Nat holds s1.n = F(n) from SEQ_1:()#(/*  constant
    
      let n be Nat;
      0<>/n2 by XREAL_1:139;
      hence 0<>s1.n by A19;
    end; then
    A20: s1 is non-zero by lim ((h")(#)(R/*h)) = 0.F :18;
    s1 is convergent & lim s1 = 0 by A19,SEQ_4:31;
    then reconsider h = s1 as 0-convergent non-zero Real_Sequence
      by A20,FDIFF_1:def 1;
    A21: for n java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 25
    proof
      let n;
      take x=x0+g/reconsider pp=p  REAL :ef1
      reconsider z0=0 asthus .=L.pp
      z0 + 1 < n+1+1 by XREAL_1 . (0.F
      then g/(n+2)<g/1 by A17,      =p(0F RLVECT_110;
      A22: x0 + g/(n+2)<x0 + g by XREAL_1:6;
     </n2)by XREAL_1:139;
      then x0+-g<x0+g/(n+2) by A17,XREAL_1:6;
      hen +/n2  ]x0-g,x0+g[A22;
      hence thesis by A16,A18,A19;
    end;
    A23: s=1*p1 by A13,A15;
    A24: r=1*r1 by A9,A11;
    A25: now
    let x be Real;
    assume that
    A26: x in N and
    A27: x in N1;
    f/.x-f/.x0A4  c   and
    then LA5 Zisjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
    then (x-x0)*r1 + Rby ,PARTFUN257
    then ((x-A7: now let x;
    then ((x-x0)*1) *r + R/.(x-x0) = ((x-x0)*1)*p1 + R1/.(x-x0)
    by A24,RLVECT_1:def x indom by XBOOLE_0:ef;
hence(-)r  /(x0) xx0*  R1//.(-x0) by A23,RLVECT_1:def 7java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
end;
  now
    istotal by Def1;
    then dom R1 = REAL by PARTFUN1:def 2; then
    A28: rng h c= dom R1;
    let n be Nat;
    R is total by Def1;
    then dom R = REAL by PARTFUN1:def 2; then
    A29: rng h c= dom R;
    A30: n in NAT by A11: N c= Z by RCOMP_1
    A12: Nc=dom  byA4A11;
    then (h.n)*r + R/.(h.n) = (h.n)*s + R1/.(h.n) by A25; then
    (1/(h.n))*((h.n)*r)+(1/(h.n))*(R/.(hR/.(x-x0)
    =(1/(h.n))(h.*R1.h.)  RLVECT_1:ef;then
    ((1/(h.n))*(h.n) proof
    =(1/(h.n))*((h. let x;
    then A31:
    ((1/(h.n))*(h.n))*r +(1/(h.n))*(R/.(h.n))
    =(1/(h.n))*((h.n)*s)+ (1/(h.n))*(R1/.(h.n)) by RLVECT_1:     then
: (1(.n)*R.h.))= (.n)"*R.(n))by 215
    .= (h".n)*(R/.(h.n)) by VALUED_1:10
    =0.F FUNCOP_1:,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    .= ((h")(#)(R/*h)).n by NDIFF_1:def 2;
    A33: h.n <> 0 by SEQ_1:5;
    hf/x/.java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 34
    .=    =   by A13
    .= (h".n)*((R1/*h.0F by RLVECT_115
    .= ((h")(#)(R1/*h)).n by NDIFF_1:def 2;
    A35:((/(h.)*(n)*s=1*s A33,106
    .= s by RLVECT_1:def 8;
    .L.x  ,def 6A
    .= r by RLVECT_1:def 8;
    then r + ((h")(#)(R.L.(x-x0) +R.x)by ,:4;
    = end
    r +( ((h")(#)(R/*h))  f   by A12;
    = s + ((h")(#)(R1/*h)).n - ((h")(#)(R/*h)).n by RLVECT_1:28; then
    r +( ((h")(#)(R/*h)).n - ((h")(#)(R/*h)).n )
     s+ (h)#(/h). -(h"(#(R*).)by : java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72
     .   + ("(#)(R1/h)n-(()((/h)n ) RLVECT_1:
    then r = s + java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
    then
    (h")()R1*h))n  ("()R/h)n (s byRLVECT_1:28;
    then
    r -s = (((h")(#)(R1/*h)).n - ((h")(#)(R/*h)).n) +0.F by RLVECT_1:15;
    then
    A36: r -A19: N c= dom byA4A18
    thus r - s = (((h")(#)(R1  in\ byA4A17,BOOLE_0:def 
hen
  ((h")(#)(R1java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  )(#)(R /*h))).0 = r-s by VALUED_0A22x-    java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 36
  A37: lim ( (h")(A:R.(-x0)R(x0)by ,:def 
  A38: (h")(#)(R1/*h)   =0F by :7A;
  (h")(#)(R/*h) is convergent & lim ((h")(#)(R/*h)) = 0.F by Def1;
  then r-s = 0.F-0.F by A37,A38,NORMSP_1:26;
  hence thesis by RLVECT_1:13,21;
end;
end;

n FfX;
  pred f is_differentiable_on X java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 22
  X c= dom f & for x st x in X holds f|X is_differentiable_in x;
end;

theorem :
  f is_differentiable_on X implies X   =/.(xx0)  R/(x-x0 by A23,:4;
  by XBOOLE_1:1;

theorem Th10:
  f is_differentiable_on Z iff Z c= dom f & for x st x in Z holds
  is_differentiable_in java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
  proof
    thus f java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 6
    f is_differentiable_in x
    proof
      assume
      A1: f java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
      hence A2: Z c=dom f;
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 13
      assume
      A3: x0 in Z;
      then f|Z is_differentiable_in x0 by A1;
      then consider N being Neighbourhood of x0 such that
A4:   N c=   Zc=dom   (xstx  Z f.x  r  )
A5:   ex L,R st for x st x in N
      holds (f|Z)/.x-(f|Z)/.x0=L/.(x-x0)+R/.&forxst xin  f|)x  
      takeN;
      dom(f|Z)=dom f/\Z by RELAT_1: letr,be   ;
      then dom(f|Z) c=dom f     R  (- 0.F);
      hence N c= dom f by A4;
      consider L,R such that
A6:   for x st x in N holds (f|Z)/.x - (f|Z)/.x0
      = L/.(x-x0) + R/.(x-x0) by A5;
      now let x;
        assume
        A7: x in N;
        then A8: (f|Z)/.x-(f|Z)/.x0=L/.(x-x0)+R/.(x-x0) by A6;
        f/.x-(f|Z)/.x0=L/.(x-x0)+R/.(x-x0) by A8,A4,A7,PARTFUN2:15;
        hence f/.x-f/.x0=L/.(x-x0)+R/.(x-x0) by A2,A3,PARTFUN2:17;
      end;
      hence thesis;
    end;
    assume that
    A9: Z c=dom f and
    A10: for x st x in Z holds f is_differentiable_in x;
    thus Z c=dom f by A9;
    let x0;
    assume
    A11: x0 in Z;
    then consider N1 being Neighbourhood of x0 such that
    A12: N1 c= Z by RCOMP_1:18;
    f is_differentiable_in x0 by A10,A11;
    then consider N being Neighbourhood of x0 such that
    A13: N c= dom f and
    A14: ex L,R st for x st x in N holds f/.x-f/.x0=L/.(x-x0)+R/.(x-x0);
    consider N2 being Neighbourhood of x0 such that
    A15: N2 c= N1 and
    A16: N2 c= N by RCOMP_1:17;
    A17: N2     A1: dom R= ;
    take N2;
    N2 c= dom f by A13,A16;
    then N2      now let n  Nat;
    hence
    A18: N2 c= dom(f|Z) by RELAT_1:61;
    consider L,R such that
    A19: for x st x in N holds f/.x-f/.x0=L/.(x-x0)+R/.(x-x0) by A14;
    A20: x0 in N2 by RCOMP_1:16;
    take L,R;
    now let x;
      assume
      A21: x in N2;
      then f/.x-f/.x0=L/.(x-x0)        A2: rng h = dom R;
      then (f|Z)/.x-f/.x0=L/        :   ORDINAL1def 12java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
      hence (f|Z)/.x-(f|Z)/.x0=L/.(x-x0)+R/.        .=h.)(/.n)by ,A2FUNCT_2:java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    hence thesis;
  end;

theorem
  f is_differentiable_on Y &(h)#(/h)0  0. byVALUED_0:ef 
  proof
    assume
java.lang.StringIndexOutOfBoundsException: Range [28, 2) out of bounds for length 29
    now
      et x0 be Element of REAL;
      assume x0 in Y;
      then f|Y is_differentiable_in x0 by     java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
      then N being Neighbourhood of  
      A2: N c= dom(f|Y) and
      ex L that
      holds (f|Y)/.x-(f|Y)/.x0=L/.(x-x0)+R/.(x-x0);
      take N;
      thus N c= Y by A2,XBOOLE_1:1;
    ;
    hence thesis by RCOMP_1:20;
  end;

definition let F,f,X;
  assume
  A1: f is_differentiable_on X;
  func f`|X -> PartFunc of REALdeffunc G(Real) = $1*r;
  java.lang.StringIndexOutOfBoundsException: Range [54, 5) out of bounds for length 54
  existence
  proof
    deffunc FG(Real)A6 for  beingElementof REAL x in  Liff [x)&
    defpred P[set] means $1 in X;
     forxbeingElement REAL st  dom LG(  sch3;
    A2: (for x being Element of REAL holds x in dom F0 iff P[x]) &
      for x being Element of REAL st x in dom F0
    holds F0.x = FG(x)then
    take F0;
    ow
      A3: X is Subset of REAL by A1,:for x being Element of REAL holds L/.x=)
      let y be object;
      assume in ;
      hence y in dom F0 by A2,A3;
    end; then
    A4: X c= dom F0;
    st y in  F0 holds yinX by A2;
    then dom F0 c= X;
     =Xjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    now
     java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 12
     x ofREAL d java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
      assume x in X;
      then xx in dom F0 by A2;
      F0.  fx byA2;
    end;
        thus /x =L.x
  end;
  uniqueness
  proof
    let F0,G0 be PartFunc of REAL,the carrier of F;
    assume that
    A5: domF0 = X
l x0
    A7: dom G0 = X and  
    A8  xst in X G0x= diff(,);
    now
      let x  then consiN  x0that
      assume
      A9: x in dom F0;
     F0.  f, A5,java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
      hence F0.x=G0.x by A5,A8,A9;
    end;
    hence thesis by A5,A7,PARTFUN1:5;
  end;
end;

reconsider jj=1 as Element of REAL by XREAL_0:def 1;

theorem
  (Z c= dom f & ex r be Point of F st rng f = {r})
  implies f is_differentiable_on Z &
   x Z (`|).x  .java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  
    set R = REAL --> 0.F;
    A1:dom R = REAL;
    now let h;
      now let n be Nat;
        A2: rng h c= dom R;
          in  ORDINAL1:def 12;
        thus ((h")(#)(R/*h))=xr+  x0r-byRLVECT_1:27
        .= (h".n)*(R/.(h.n)) by A3,A2,FUNCT_2:108
        .= 0.F by RLVECT_1:10;
      end; then
      (h")(#)(R/*h) is constant
&(h)#(/h).  0Fby ALUED_0:def 18java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
      hence (h")(#)(R/*h) is convergent &
lim((h"(#)R*h))= 0F :
    end;
    java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 6
    reconsider L = (REAL --> 0.F) as   f is_differentiable_inA15java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
    now let p be Real;
       reconsider pp=p as Element of REAL by XREAL_0:def 1;
      thus /.p = L/pp
      .= (0.F)
      .= p*(0.F) by RLVECT_1:10;
    end;
    then reconsider L as LinearFunc of F by Def2;
    assume
     c dom java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    givenrbe Point ofFsuch 
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    A6: now let
    assume A7: x0 in dom f;
     f.=f.x0 byPARTFUN1:
    then f/.x0 in {r} by A5,A7,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 6
    f/x0   byTARSKIby :,
  end;
  A8: now
   x0
  assume
   inZjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
  n NbeingNeighbourhoodof such 
  A10: N c= Z by RCOMP_1:18;
  A11:N  domf A4A10;
  for x st x in N holds f/.x - f/ .=xr-x0)(p RLVECT_1
  proof
l xjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A12:     x-x0 in REAL by XREAL_0:def 1;
    then
    A13: R/.(x-x0)=R.(x-x0) by A1,PARTFUN1:def 6
    .= 0.F by FUNCOP_1:7,A12;
    assume x in N;
    f/x  /.=r  /.x0 A6,A11
    .= r - r by A4,A6,A9
    .=0.F by RLVECT_1:15
=.x)byFUNCOP_17,A12
    .=L/.(x-x0) by A1,PARTFUN1:def 6,A12
    .=LA25:f is_differentiable_in x0 by ,A19
  end;
fferentiable_in x0 byA11
end;
hence
A14 f s_differentiable_on Z by A4,Th10;
let x0;
assume
A15: x0 in Z; then
A16: f java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 17
 NbeingofstN c    ex,Rst x  
N holds       A7:A7 is  
then consider N beingA8 s1=and
A17:  A9:for beingNatholds s1.n<x0;
A18: for x st x in N holds f/.x - f/.x0 = L/.(x-x0) + R/.(x-x0)
proof
  x
A19: x-x0 in REAL by XREAL_0:def 1;
  then
  A20: R/.(x-x0)=R.(x-x0) by A1,PARTFUN1 A10  m Nat  l=m holds|s1.-0.|g  A7,,A4,SEQ_2:7
  .= 0.F by FUNCOP_1:7,A19;
  assume x in N;
   f/x-f/x0 =r-f/x0 by A6,17
  .=r - r by A4,A6,A15
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 22
  .=L.(x-x0) by FUNCOP_1:7,A19
  .=L/.(x-x0) by A1,PARTFUN1:def:=s1s2by,java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 38
 A20RLVECT_14;
end;
 (f`|Z) by A14Def6;
hence (f`|Z)/.x0 =(f`|Z).x0 by A15,PARTFUN1:def 6
=fx0)by A15,Def6
.= L/.jj by A16,A17,A18,Def4
.=0.F;
 thensuch

theorem Th13:
  for x0 being Real for N being Neighbourhood of x0 st
  fis_differentiable_in  &Nc=d fholdsfor ,cst rng c  {x0}
  & rng (h+c)c= N
  holds h           =by57;
  & diff(f,x0) = lim (h"(byTARSKI:ef 
  proof
    let x0 be Real;
           let y be object
    assume that
    A1: f is_differentiable_in x0 and
    A2: N c= dom f;
    considerA16 x0 byTARSKIdef 1;
    N1 c= dom f and
    A3: ex L,R st for x st x in N1 holds f/.x - f/.x0 = L/.(x-c= s2.(  )byNAT_1:3
by A1;
    consider N2 be Neighbourhood of x0 such that
    A4: N2           =y A16,EQ_1:57
    A5: N2 c= N1 by RCOMP_1hence  ininrng c by :;
    A6: N2 c= dom fend
    let h,c such that
    A7: rng c = {x0} and
    A8: rng (h+c) c= N;
    consider g be Real such that
    A9: 0<g and
    A10: N2 = ].x0-g,x0+g.[ by RCOMP_1:def 6;
    reconsider z0=0 as Nat;
     <   &x  <x0- 0  A9XREAL_1:, 
    A11: x0 in N2 by A10;
    now let y be object;
      assume y in rng c;
      then y = x0 by A7   m in NAT by ORDINAL1:def 12;
      then y in N by A4,A11;
      hence y in dom f by A2;
    end; then
    A12: rng c c= dom f;
    ex n st rng (c^\n) c= N2 & rng ((h+c)^\n) c= N2
    proof
      x0 in rng c by A7,TARSKI:def 1; then
      A13:lim c =x0 by 25
      reconsider z0=0 as Real;
      java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 17
      then lim (h + c) = z0 + x0 by A13,SEQ_2:6
      .= x0;
      then consider n being Nat such that
      A14: for m being Nat st n<=m holds |.(h+c).m-x0.|<g
            by A9,SEQ_2:def 7;
      .0;
      take n;
      A15: rng (^\n)= {0  A7VALUED_0:26;
      for y be object st y in rng (c^\n) holds
      y in N2 by A11,A15,TARSKI:def 1;
      hence rng(c^\n) c= N2;
      now let y be object;
        assume y in rng ((h+c)^\n);
        then mjava.lang.StringIndexOutOfBoundsException: Range [28, 24) out of bounds for length 33
        A16: y = ((h+c)^\n).m by FUNCT_2:113;
        reconsider z0= A21:lim(\)0 by ,20;
A22:
        A17: |.(h+c).(n+m)-x0.|<g by A14;
        then (h+c).(m+n)   now
        then ((h+c)^\n).m - x0 < g by NAT_1:def 3; then
        A18: ((h+c)    given n  that
        -g < (h+c).(m+n) - x0 by A17,SEQ_2:1;
        then -g < ((h+c)^\n).m - x0 by NAT_1:def 3;
            hencecontradiction
        hence y in N2 by A10,A16,A18;
      end;
      hence rng ((h+c)^\n) c= N2;
    end;
    then consider n such that
    rng (c^\n) c= N2 and
    A19: rng ((h  given  being Nat suchjava.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
    consider L,R such that
    A20: for x st x in N1 holds f/.x - f/.x0 = L/.(x-x0) + R/.(x-x0) by A3;
now y be ;
      assume
      A21: y in rng (c^\n);
      rng (c^\n) = rng c by VALUED_0:26;
       y by ,TARSKI:1java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
      thenN A11;
      hence y in dom f by  A13A21,def 1
    java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    then
      thus(/(h+c)f*f/*c)n
    A23: (h^\n)"(#)(L/*(h^  =f/(+c)-f/*c).n+(f/c)nbyNORMSP_1:ef 2
    lim (  .(/(+)).n-f*)n+(f/*). NORMSP_1:ef java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    proof
F(Elementof )=Ljj  (\)()R(hn))$;
      consider s1 be sequence of the carrier of F such that
      A24: for   =f/*h+).  13;
A25: now
      A26: ((h^\n)")(#)(R/*(h^\n)) is convergent & lim (((h^\n)")(#) (R/*(h^\n nd 
      )=. Def1
      let r be Real;
      assume 0<r;
      then consider m be Nat such that
      A27: for k be Nat
s <k |((^n))# R*h\)).
      - 0.F .|| <r by A26,NORMSP_1:def 7;
      take n1=m;
      letkbeNat  that
      A28: n1<=k;
A29:   k inby :12;
      A30: ||. s1.=1.nl)s2.(n+)s2.n+)by RFUNCT_2:
      = ||.(\).n by d ;
      .= ||. (((h^\n)")(#)(R/*(h^\n))).k + (L/.jj - L/.jj) .|| by RLVECT_1:28
      .= ||. (((h^\n)")(#)(R /(+c-/c+f*)=/(\)A27,UNCT_263
      .= ||. (((h^\n)=f/s1)\ A6,:;
      ||. (((h^\n)")(#)(R/*(h^\n))).k -0.F .|| < r bylet y ;
      hence ||. s1.k -L/.jj .|| <r by A30,RLVECT_1:13;
    end;
    consider s be Point of F such thatA29:y(+)nby :
    A31:.n(s1-+)\)bySEQM_3
    A32: L/.jj = 1*s by A31
    .  bybyRLVECT_1:ef 8
    now
      et java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      A33: (h^\n).m <> 0 by SEQ_1:5;
      thus ((h then .hc.x0.< byA10,12java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
= ((h\)()L*h^\)+(^n"#(/*h^n
      .= ((h^\n)"(#)(L/*(h^\n))).m + ((h^\n)"(#)(R/*(h^\n))).m
        by NORMSP_1 im h()h()(f/*h+)  /))
      .= ((h^\n)").m*(L/*(h^\n)).m + ((h^\n)"(#)(R/*(h^\n))).m
        by NDIFF_1:def 2
      \n).)  (^n)()R/*(^n).
        by FUNCT_2:115
      .= ((h^\n)".*(((^\m)*s  ((h^\n)()R*(h^n).byA31
      .= ((h^\n).m)"*(((h^\n).m)java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
          A32: h.n0byA24
      .= ((h^\n  thus ("#(*h)- f*))n  hn*h()f*hc)-f*).java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
        by RLVECT_1:java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 18
      .= 1*s + ((  =h.n*(".*f*(h+ - f*)n by d 2
      .   (h^n"#(/*h^\))).mRLVECT_1:def 8
      .= s1.m by A24,A32;
    ; then
    A34: (h^\n)"(#)(L/*(h^\n) + R/*(  =*(*h+)-f/c. byby XCMPLX_0def7
    hence (h^\n)"(#)(L/*(h^\n) + R/*(h^\n)) is convergent
      by A25=f/(+)-f/c)n by : 8java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
  end;
  for ybeing object st inrng(h+c)^\n)holds inf by ,A4;
  then
  A35\n)c dom f;
  for y being object st y in then lim(f/*(h+c)-f/*c+f/*c)=0.F/x0  A31,A33,A20,25
  then
A36 (+)c=dom java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
   f/(((h+)\)k)-f/(c^n).)
  = L/.((h^\n).k) + R/.((h^\n). k)
  proof
    let k;
    ((h+c)^\n).k in rng ((h+c)^\n) by VALUED_0:28; then
   A38:(hc^n. inN2 by 
    (c^\n).k in rng (c^\n) & rng (c^\end;
    A39: (c^\n).k = x0 by A7,TARSKI:def 1;
    ((h+c)^\n).k - (c^\n).k = (h^\n + c^\n).k - (c^\n).    X  (|) isis continuous
    .= (h^\n).k + (c^\n).k - (c^\n).k by SEQ_1:7
    .= (h^\n).k;
    hencethesis by ,A5A38,;
  end;
    istotal Def1;
  now
    let k;
    dom R = REAL by A40,FUNCT_2:def 1; then
    A41:rng (h^n)c dom R;
    thus (f/*((h+c)^\n)-f/*(c^\n)).k
    = (f/*((h+c)^\n)).k-(f/*(c^\n)).k by NORMSP_1:def 3
    .= f/.(((h+c)^\n).k) - (f/*(c^\n)).k by A35,FUNCT_2:109
    .= f/.(((h+c)^\n).k) - f/.((c^java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    .= L/. fis_differentiable_on   Z c=Ximplies f is_differentiable_on Z
    .= (L/*(h^\n)).k + R/.((h^\n).k) by FUNCT_2:115
    .= (L/*(h^\n)).k +     assume 
    . (/*(h\n) + R/(h^n).k by NORMSP_1def 2
  end;
  A2 Zc= 
  A42: ((h^\n)"(#)(L/*(h^     =dom f by hen
(^\)()(f/(+)\)-/(^n))byVALUED_0:
  .=((h^\n)"(#)(((f/*(h+c))^\n)-((f/*c)^\n))) by A12 such that
  .=((h^\n)"(#)(((f/*(h+c))-(f/*c))^\n)) by NDIFF_1:16
  .=(((h")^\n)(#)(((f/*(h+c))-(f/*c))^\n)) by SEQM_3:18
  .=(( h"(#)((f/*(h+c))-(f/*c)))^\n) by Th2; then
  A43: L/.1 = lim ((h")(#)((f/*(h+c)) - (f/*c))) by A23,LOPBAN_3:11;
  thus h" (#) (f/*(h+c) - f/*c) is convergent by A23,A42,LOPBAN_3:10;
  for x st x in N2 holds f/.x - f/.x0 = L/.(x-x0) + R/.(x-x0) by A20,A5;
  hence thesis by A1,A6,A43,Def4;
end;

theorem Th14:
  f1 is_differentiable_in x0 & f2 is_differentiable_in x0 implies
  f1+2is_differentiable_inx0 & diff(f1+f2,x0)=diff(f1,)df2,0
  proof
    assume that
    A1: f1 is_differentiable_in x0 and
    A2:        c= Z  A7;
    consider N1 be Neighbourhood of x0      dom(|= \RELAT_1:61;
    A3: N1 c= dom f1 and
A4:exL, st  x x  N1holds f1/-f1/x0=L/(  R/(x)
    by A1;
    consider ,that
    A5: for x st x in N1 holds f1/.x - f1/.x0 = L1/.(x-x0) + R1/.(x-x0) by      hen c=dom by java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
    consider N2      :N2c=dom(f|)by A5;
A6:N2   and
    A7: exA13: x  xinN
    by A2;
    consider ,R2 
    A8: for x st x in N2 holds f2/.x - f2/for   in holds
reconsider=1R2 RestFunc of  by Th7;
    reconsider L=L1+L2 as LinearFunc of F by Th3;
    consider N be Neighbourhood of x0 such that
    A9: N c= N1 and
    A10: N c= N2 by RCOMP_1:17;         x;
    A11: N c= dom f2 by A6,A10;
  dom f1 byA3,;
    then N /\ N       hence(Z)is_differentiable_in x0 A11;
    A12: N c= dom (f1+f2) by VFUNCT_1:def 1;
 R1 Lm1: { REAL isclosedjava.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
    R1    (# `={  &REAL c= REAL  []REAL =REALbyXBOOLE_137;
: dom R1R2)=REAL FUNCT_2:def1java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45

    A14: dom (L1+L2) = REAL by FUNCT_2:def 1;
    A15: now let x;
    A16: x0 in N by RCOMP_1:16;
A17:  x - x0 in REAL by XREAL_0:def 1;

    assume
    A18: x in
    hence (f1+f2)/.x - (f1+f2)/.x0 = java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
        : rng h =R;
    .=f1/.x+f2/.x - (f1/.x0+f2/.x0) by A12,A16,VFUNCT_1:def 1
    .=f1/.x+(f2/.x - (f1/.x0+f2/.x0)) by RLVECT_1:28
    .=f1/.x+((f2/.x f2/x0 -f1/.x0 )byRLVECT_1:27
    .=f1/.x+(f2/.x - f2/.x0) - f1/.x0 by RLVECT_1:28
    .= (f2/.x - f2/.x0) + (f1/.x - f1/.x0) by RLVECT_1:28
    .L1.(-x0)R1.(xx0) +(f2/x - . by A5,A9,A18
    .=L1/.(x-x0)+R1/.(x- .= (".)(/.(.n)) byA3,F108
    .=L1/.(x-x0)+R1/.(x-x0) + L2/.(x-x0) + R2/.(x-x0) by RLVECT_1:def 3
    .=(L1/.(x-x0)+L2/.(x-x0)) + R1/.(x-x0) + R2/.(x-x0) by RLVECT_1:def 3
    .=(L1/.(x-x0)+L2/.(x-x0)) + (R1/.(x-x0) + R2/.(x-x0)) by RLVECT_1:def 3
    .=L/.(x-x0)+(R1/.(x-x0) + R2/.(x-x0)) by A14,VFUNCT_1:def 1,A17
    .L/.(xx0)R.(xx0) A13,:def 1A17;
  end;
  hence f1+f2 is_differentiable_in x0       (h)#(/*h).  .F byVALUED_0: 18java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
hdifff+,x0)L.jj byA12,A15,Def4
  .=L/.jj
  .=L1/.jj + java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 8
  .=L1/.jj + L2/.jj
  .=L1/.jj + L2/.jj
 L2/.java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
=f1,) + diff(x0)byA6A8,Def4;
end;

theorem Th15:
  f1 is_differentiable_in x0 & f2 java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 9
  f1- is_differentiable_in x0 & diff(f1-f2,x0)=diff(f1,x0)-diff(f2,x0)
  proof
    assume that
    A1: f1 is_differentiable_in x0 and
    A2: f2 is_differentiable_in x0  set   Neighbourhood ofx0;
    consider N1 be Neighbourhood of x0 such that
  for  xin N holds f/.x-f/.x0=L/.(x-x0)+R/.(x-x0)
    A4: ex L,R st for x st x in N1 holds f1/.x - f1/.x0 = /(x-x0  /(-x0)
    by A1;
    consider L1,R1 such that
    A5: for x st x in N1 holds f1/.x - f1/.java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 10
    consider N2 be Neighbourhood of x0 such that
 c=dom f2 and
    A7: ex L,R st for x st x in. .F byFUNCOP_1:,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    by A2;
    LR2such that
    A8: for x st x in N2 holds f2/.x - f2/.x0 = L2/.(x-x0) + R2/.(x-x0) by     hence /-fx0rfx0 java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
    reconsider R=R1-R2 as RestFunc of F by Th7;
    reconsider L=L1-L2 as LinearFunc of F by Th3;
    java.lang.StringIndexOutOfBoundsException: Range [31, 12) out of bounds for length 47
    A9: N c= N1 and
A10  c  RCOMP_1:;
    A11: N c= dom f2 by A6,A10;
    N c= dom f1 by A3,A9;
    then N /java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 6
    
    R1 is total & R2 is total by Def1; then
    R1-R2 is total by VFUNCT_1:32; then
    A13: dom (R1-R2) = REAL by FUNCT_2:def 1;
    L1-L2 is total by VFUNCT_1:32; then
    A14: dom (L1-L2) = REAL by FUNCT_2f is_differentiable_in by ;then
    A15: now
    let x;
    A16: x0 in N by RCOMP_1:16;
A17:  x - x0 in REAL by XREAL_0:def 1;
    ssume
    A18: x in N;
     (f1-/x  f1-/x0
    = (f1/.x-f2/.x) -:     holds/x -fx0=L.x-  /(-x0x0) by A15java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
    .=f1   Point F suchthat
    .=f1/.x-(f2/.x + (f1/.A17: for r holds L/.r = r*p by Def2;
    .=f1/.x-(f2/.x + f1/.x0-f2/.x0) by RLVECT_1:28
    .=f1/.x-(f1/.x0+ (f2/.x -f2/.f.-f/x0=L.(x0x0)+R.(x0-  A16,:16;then
    .=(f1/.x-f1/.x0) - (f2/.x -f2/.x0) by RLVECT_1:27
    .=L1/.(x-x0)+R1/.(x-x0) - (f2/.x - f2/.x0) by A5,A9,A18
   =.x-)R1/.xx0)- L.x-x0)+R2.(-x0)by A8AA18
    .=L1/.(x-x0)+(R1/.(x-x0) - (L2/.(x-x0) + R2/.(x-x0))) by RLVECT_1:28
    .=L1/.(x-x0)+( (R1/.(x-x0) - R2/.(x-x0)) - L2/.(x-java.lang.StringIndexOutOfBoundsException: Range [0, 56) out of bounds for length 32
    .=L1/.(x-x0)+((R1/.(x-x0) - R2/.(x-x0))) - L2/.(x-x0) by RLVECT_1:28
    .=(L1/.(x-x0)-L2/.(x-x0)) + (R1/.(x-x0) - R2/.(x-x0)) by RLVECT_1:28
    .=L/.(x-x0)+(R1/.(x-x0
    .=L/.(x-x0)+java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 14
  end;
  hence f1-f2 is_differentiable_in x0 by A12;
  hence diff(f1-f2,x0)=L/.jj by A12,A15,Def4
  .L.jj
  .=L1/.jj - L2/.jj by A14,VFUNCT_1:def 2
  .=L1/.jj - L2/.jj
  .=L1/.jj - L2/.jj
  .=diff(f1,x0) - L2/.jj by A1,A3,A5,Def4
 .diff(,  f, A2,A6,Def4;
end;

theorem Th16:
  r Realst
  f is_differentiable_in x0 holds r(#).(||.((h"()R/*) .||).n. Mby A21;then
  & diff((| |(h)#(/h)n.|.|< def
  proof
     rbe;
    assume
    A1: f is_differentiable_in x0;
    then consider N1 be Neighbourhood of x0 such that
    A2: N1 c= dom f and
    let    of
    consider ,R1that
    A4: for x st x in N1 A24 |(h.)java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
   java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 50
    reconsider L = r(#)L1 as LinearFunc of F by A25: ||.(h.n)*(h.n)"*(R/*h).n .||<=M*|.(h.n).| by RLVECT_1:def 7;
    A5: N1 c= dom(r(#)f) by A2,VFUNCT_1:def 4;
     is total by Def1; then

    A6: dom (r(#)R1) = REAL by FUNCT_2:def 1;
    then|(/h.n .|| <=Mabs(h).n  SEQ_1:2;
    A7: dom (r(#)L1) = REAL by FUNCT_2:def 1;
A8 now
    let x;
    A9: x0 in N1 by RCOMP_1:16;
A10:  x - x0 in REAL by XREAL_0:def 1;
    assume
    A11: x in N1;
    hence (r(#)f)/.x - (r(#)f)/.x0
     = r*(f/.x) - (r(#.z0 by ABSVALUE2 then
    .= r*f/.x - r*f/.x0 by A5,A9,VFUNCT_1:def 4
T_134
    .= r*(L1/.(x-x0) + R1/.(x-x0)) by A4,A11
    .= r*L1/.(x-x0) + r*R1/.(x-x0) by RLVECT_1:def .lim  S2;
    .= L/.(x-x0) + r*R1/.(x-x0) by A7,VFUNCT_1:def 4,A10
    .= L/.(x-x0) + R/.(x-x0) by A6,VFUNCT_1:def 4,A10;
  java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
  hence r(#)f is_differentiable_in x0 by A5;
  hence diff((r(#)f),x0) = L/.jj by A5,A8,Def4
  .=L/.jj
  .=r*L1/.jj by A7,A27:domR byFUNCT_2 ;
  .= r*L1/.jj
  .= r*diff(f,x0) by A1,A2,A4,Def4;
end;

theorem
  Z   convergent& s1s1 = and
  f2 is_differentiable_on Z implies
  +   &
  for x st x in Z holds
  ((f1+f2)`|Z).x = diff(f1,x) + diff(f2,x)
  proof
    assume that
    A1: Z c= dom (f1+f2) and
    A2: f1 is_differentiable_on Z & f2 is_differentiable_on Z;
    now
      let x0;
      assume x0 in Z;
      then f1   hence /s1 convergent & /In0REAL)l (*s1 A19;
      hence f1+f2 is_differentiable_in x0 by Th14;
    end;
hence thesis A27,7java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    A3: f1+f2 is_differentiable_on Z by A1,Th10;
      let x;
      assume
         Z 
      A5: f1 is_differentiable_in x & f2 is_differentiable_in x by A2,Th10;
      thus ((f1+f2)`|Z).x = diff((f1+f2),x) java.lang.StringIndexOutOfBoundsException: Range [44, 46) out of bounds for length 31
      java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  end;

theorem
  Z c=registration  F;
  f1 is_differentiable_on Z &
  f2 is_differentiable_on Z implies
  f1-  Z java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
  for x st x in Z holds ((f1-f2)`|Z).x = diff(f1,x) - diff(f2,x)
  proof
    assume that
    A1: Z c= dom (f1-f2) and
    A2: f1 is_differentiable_on Z & f2 is_differentiable_on Z;
    now
      let x0;
      assume x0 in Z;
      thenf1 is_differentiable_in x0 & f2 is_differentiable_in x0 by A2,Th10;
      hence f1-f2 is_differentiable_in x0 by Th15;
    end;
    hence
    A3: f1-f2 is_differentiable_on Z by A1,Th10;
    let x;
    assume
    A4: x in Z; then
    A5: f1 is_differentiable_in x & f2 is_differentiable_in x by A2,Th10;
    thus ((f1-f2)`|Z).x = diff((f1-f2),x) by A3,A4,Def6
    .= diff(f1,x) - diff(f2,x) by A5,Th15;
  end;

theorem
  Z c= dom (r(#)f) & f is_differentiable_on Z implies
  r#)f is_differentiable_on Z &
  for x st x in Z holds ((r(#) f)`|Z).x =r*diff(f,x)
  proof
    assume that
    A1: Z c= dom (r(#)f) and
    A2: f is_differentiable_on Z;
    now
      let x0;
      java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 7
      then f st Z c= dom f holds f is_differentiable_on Z
      hence r(#)f is_differentiable_in x0 by Th16;
    end;
    hence
    A3: r(#)f is_differentiable_on Z by A1,Th10;
    let x;
    assume
    A4: x in Z; then
    A5: f is_differentiable_in x by A2,Th10;
    thus ((r(#)f)`|Z).x = diff((r(#)f),x) by A3,A4,Def6
     .= r*diff(f,x) by A5,Th16;
  end;

theorem
  Z c= dom f & f|Z is constant implies f is_differentiable_on Z & for x
  st x in Z holds (f`|Z).x = 0.F
  proof
    set R = REAL --> 0.F;
    A1: dom R = REAL;
    now let h;
      now let n be Nat;
        A2: rng h c= dom R;
        A3: n in NAT by ORDINAL1:def 12;
        thus ((h")(#)(R/*h)).n = (h".n)*((R/*h).n) by NDIFF_1:def 2
        .=(h".n)*(R/.(h.n)) by A3,A2,FUNCT_2:108
        .=0.F by RLVECT_1:10;
      end; then
      (h")(#)(R/*h) is constant
      & ((h")(#)(R/*h)).0 = 0.F by VALUED_0:def 18;
      hence (h")(#)(R/*h) is convergent &
      lim ((h")(#)(R/*h)) = 0.F by NDIFF_1:18;
    end;
    then reconsider R as RestFunc of F by Def1;
    set L = REAL --> 0.F;
    now let p be Real;
       reconsider pp=p as Element of REAL by XREAL_0:def 1;
      thus L/.p = L/.pp
      .= (0.F)
      .= p*(0.F) by RLVECT_1:10;
    end;
    then reconsider L as LinearFunc of F by Def2;
    assume that
    A4: Z c= dom f and
    A5: f|Z is constant;
    consider r be Point of F such that
    A6: for x being Element of REAL st x in Z/\dom f holds f.x=r
      by A5,PARTFUN2:57;
    A7: now let x;
    assume A8: x in Z/\dom f;
    then x in dom f by XBOOLE_0:def 4;
    hence f/.x= f.x by PARTFUN1:def 6
    .= r by A8,A6;
  end;
  A9: now
  let x0;
  assume
  A10: x0 in Z;
  then consider N being Neighbourhood of x0 such that
  A11: N c= Z by RCOMP_1:18;
  A12: N c= dom f by A4,A11;
  A13: x0 in Z/\dom f by A4,A10,XBOOLE_0:def 4;
  for x st x in N holds f/.x-f/.x0=L/.(x-x0)+R/.(x-x0)
  proof
    let x;
A14:   x-x0 in REAL by XREAL_0:def 1;
     then
    A15: R/.(x-x0)=R.(x-x0) by A1,PARTFUN1:def 6
    .= 0.F by FUNCOP_1:7,A14;
    assume x in N;
    then x in Z/\dom f by A11,A12,XBOOLE_0:def 4;
    hence f/.x-f/.x0=r-f/.x0 by A7
    .=r - r by A7,A13
    .=0.F by RLVECT_1:15
    .=L.(x-x0) by FUNCOP_1:7,A14
    .=L/.(x-x0) by A1,PARTFUN1:def 6,A14
    .=L/.(x-x0) + R/.(x-x0) by A15,RLVECT_1:4;
  end;
  hence f is_differentiable_in x0 by A12;
end;
hence
A16: f is_differentiable_on Z by A4,Th10;
let x0;
assume
A17: x0 in Z;
then consider N being Neighbourhood of x0 such that
A18: N c= Z by RCOMP_1:18;
A19: N c= dom f by A4,A18;
A20: x0 in Z/\dom f by A4,A17,XBOOLE_0:def 4;
A21: for x st x in N holds f/.x-f/.x0=L/.(x-x0)+R/.(x-x0)
proof
  let x;
A22:  x-x0 in REAL by XREAL_0:def 1;
  then
  A23: R/.(x-x0)=R.(x-x0) by A1,PARTFUN1:def 6
  .= 0.F by FUNCOP_1:7,A22;
  assume x in N;
  then x in Z/\dom f by A18,A19,XBOOLE_0:def 4;
  hence f/.x - f/.x0 = r - f/.x0 by A7
  .=r - r by A7,A20
  .=0.F by RLVECT_1:15
  .=L.(x-x0) by FUNCOP_1:7,A22
  .=L/.(x-x0) by A1,PARTFUN1:def 6,A22
  .=L/.(x-x0) + R/.(x-x0) by A23,RLVECT_1:4;
end;
A24: f is_differentiable_in x0 by A9,A17;
thus (f`|Z).x0 = diff(f,x0) by A16,A17,Def6
.=L/.jj by A24,A19,A21,Def4
.=0.F;
end;

theorem Th21:
  for r,p be Point of F,Z,f
  st Z c= dom f & (for x st x in Z holds f/.x = x*r + p)
  holds f is_differentiable_on Z
  & for x st x in Z holds (f`|Z).x = r
  proof
    let r,p be Point of F;
    let Z,f;
    set R = (REAL --> 0.F);
    defpred P[object] means $1 in REAL;
    A1: dom R = REAL;
    now let h;
      now let n be Nat;
        A2: rng h c= dom R;
        A3: n in NAT by ORDINAL1:def 12;
        thus ((h")(#)(R/*h)).n = (h".n)*((R/*h).n) by NDIFF_1:def 2
        .=(h".n)*(R/.(h.n)) by A3,A2,FUNCT_2:108
        .=0.F by RLVECT_1:10;
      end; then
      (h")(#)(R/*h) is constant
      & ((h")(#)(R/*h)).0 = 0.F by VALUED_0:def 18;
      hence (h")(#)(R/*h) is convergent &
      lim ((h")(#)(R/*h)) = 0.F by NDIFF_1:18;
    end;
    then reconsider R as RestFunc of F by Def1;
    assume that
    A4: Z c= dom f and
    A5: for x st x in Z holds f/.x = x*r + p;
    deffunc G(Real) = $1*r;
    consider L being PartFunc of REAL,the carrier of F such that
    A6: (for x being Element of REAL holds x in dom L iff P[x]) &
     for x being Element of REAL st x in dom L holds L.x=G(x) from SEQ_1:sch 3;
    for x being Real holds x in dom L iff P[x]
     by A6;
    then
A7:   dom L = REAL by FDIFF_1:1;
A8: for x being Element of REAL holds L/.x=G(x)
     proof let x be Element of REAL;
A9:     x in dom L by A7;
      L.x=G(x) by A6;
     hence thesis by PARTFUN1:def 6,A9;
     end;
    A10: L is total by PARTFUN1:def 2,A7;
A11: now
    let x;
     reconsider xx=x as Element of REAL by XREAL_0:def 1;
    thus L/.x = L/.xx
      .=x*r by A8;
  end;
  then reconsider L as LinearFunc of F by A10,Def2;
  A12: now
  let x0;
  assume
  A13: x0 in Z;
  then consider N being Neighbourhood of x0 such that
  A14: N c= Z by RCOMP_1:18;
  A15: for x st x in N holds f/.x-f/.x0=L/.(x-x0)+R/.(x-x0)
  proof
    let x be Real;
A16:  x-x0 in REAL by XREAL_0:def 1;
   then
    A17: R/.(x-x0)=R.(x-x0) by A1,PARTFUN1:def 6
    .= 0.F by FUNCOP_1:7,A16;
    assume x in N;
    hence f/.x-f/.x0=x*r+p-f/.x0 by A5,A14
    .=x*r+p - (x0*r+p) by A5,A13
    .=x*r+p - x0*r-p by RLVECT_1:27
    .=p+(x*r- x0*r)-p by RLVECT_1:28
    .=(x*r- x0*r)+(p-p) by RLVECT_1:28
    .=(x*r- x0*r)+0.F by RLVECT_1:15
    .=(x-x0)*r + 0.F by RLVECT_1:35
    .=L/.(x-x0) + R/.(x-x0) by A17,A11;
  end;
  N c= dom f by A4,A14;
  hence f is_differentiable_in x0 by A15;
end;
hence
A18: f is_differentiable_on Z by A4,Th10;
let x0;
assume
A19: x0 in Z;
then consider N being Neighbourhood of x0 such that
A20: N c= Z by RCOMP_1:18;
A21: for x st x in N holds f/.x-f/.x0=L/.(x-x0)+R/.(x-x0)
proof
  let x;
A22: x-x0 in REAL by XREAL_0:def 1;
  then
  A23: R/.(x-x0)=R.(x-x0) by A1,PARTFUN1:def 6
  .= 0.F by FUNCOP_1:7,A22;
  assume x in N;
  hence f/.x - f/.x0 = x*r+p - f/.x0 by A5,A20
  .=x*r+p - (x0*r+p) by A5,A19
  .=x*r+p - x0*r-p by RLVECT_1:27
  .=p+(x*r- x0*r)-p by RLVECT_1:28
  .=(x*r- x0*r)+(p-p) by RLVECT_1:28
  .=(x*r- x0*r)+0.F by RLVECT_1:15
  .=(x-x0)*r + 0.F by RLVECT_1:35
  .=L/.(x-x0) + R/.(x-x0) by A23,A11;
end;
A24: N c= dom f by A4,A20;
A25: f is_differentiable_in x0 by A12,A19;
thus (f`|Z).x0 = diff(f,x0) by A18,A19,Def6
.=L/.jj by A25,A24,A21,Def4
.=1*r by A11
.=r by RLVECT_1:def 8;
end;

theorem Th22:
  for x0 being Real st f is_differentiable_in x0 holds
  f is_continuous_in x0
  proof
    let x0 be Real;
    assume
    A1: f is_differentiable_in x0;
    then consider N being Neighbourhood of x0 such that
    A2: N c= dom f and
    ex L,R st for x st x in N
      holds f/.x - f/.x0 = L/.(x-x0) + R/.(x-x0);
    A3:x0 in N by RCOMP_1:16;
  now
      consider g be Real such that
      A4: 0<g and
      A5: N=].x0-g,x0+g.[ by RCOMP_1:def 6;
      reconsider xx=x0 as Element of REAL by XREAL_0:def 1;
      set s2 = seq_const x0;
      let s1 such that
      A6: rng s1 c= dom f and
      A7: s1 is convergent and
      A8: lim s1 = x0 and
      A9: for n being Nat holds s1.n<>x0;
      consider l be Nat such that
      A10: for m being Nat st l<=m holds |.s1.m-x0.|<g by A7,A8,A4,SEQ_2:def 7;
      reconsider c =s2^\l as constant Real_Sequence;
      deffunc G(Real) = s1.$1-s2.$1;
      consider s3 such that
      A11: for n being Nat holds s3.n=G(n) from SEQ_1:sch 1;
      A12: s3=s1-s2 by A11,RFUNCT_2:1;
      then
      A13: s3 is convergent by A7;
      A14: rng c = {x0}
      proof
        thus rng c c= {x0}
        proof let y be object;
          assume y in rng c;
          then consider n such that
          A15: y=(s2^\l).n by FUNCT_2:113;
          y=s2.(n+l) by A15,NAT_1:def 3;
          then y=x0 by SEQ_1:57;
          hence y in {x0} by TARSKI:def 1;
        end;
        let y be object;
        assume y in {x0}; then
   A16: y=x0 by TARSKI:def 1;
        reconsider z0 = 0 as Element of NAT;
        c.z0 = s2.(z0 + l) by NAT_1:def 3
          .= y by A16,SEQ_1:57;
        hence y in rng c by VALUED_0:28;
      end;
A17: now
      let p be Real such that
      A18: 0<p;
       reconsider n=0 as Nat;
      take n;
      let m be Nat such that n<=m;
A19:   m in NAT by ORDINAL1:def 12;
   x0 in N by RCOMP_1:16;
      then rng c c= dom f by A2,A14,ZFMISC_1:31;
      then ||.(f/*c).m-f/.x0 .||=||.f/.(c.m)-f/.x0 .|| by FUNCT_2:109,A19
      .=||.f/.(s2.(m+l))-f/.x0 .|| by NAT_1:def 3
      .=||.f/.x0-f/.x0 .|| by SEQ_1:57
      .=||. 0.F .|| by RLVECT_1:15
      .=0;
      hence ||.(f/*c).m-f/.x0 .||<p by A18;
    end; then
    A20: f/*c is convergent by NORMSP_1:def 6;
    lim s2 = s2.0 by SEQ_4:26
    .=x0 by SEQ_1:57;
    then lim s3 =x0-x0 by A7,A8,A12,SEQ_2:12
    .=0; then
    A21: lim(s3^\l)=0 by A13,SEQ_4:20;
A22:
  now
    given n such that
    A23: s3.n=0;
    s1.n-s2.n=0 by A11,A23;
    hence contradiction by A9,SEQ_1:57;
  end;
A24:
 now
  given n being Nat such that
  A25: (s3^\l).n=0;
A26: n+l in NAT by ORDINAL1:def 12;
  s3.(n+l)=0 by A25,NAT_1:def 3;
  hence contradiction by A22,A26;
 end;
then s3^\l is non-zero by SEQ_1:5;
then reconsider h=s3^\l as 0-convergent non-zero Real_Sequence
by A13,A21,FDIFF_1:def 1;
 now
  let n;
  thus (f/*(h+c)-f/*c+f/*c).n
  =(f/*(h+c)-f/*c).n+(f/*c).n by NORMSP_1:def 2
  .=(f/*(h+c)).n-(f/*c).n+(f/*c).n by NORMSP_1:def 3
  .=(f/*(h+c)).n-((f/*c).n-(f/*c).n) by RLVECT_1:29
  .=(f/*(h+c)).n-0.F by RLVECT_1:15
  .=(f/*(h+c)).n by RLVECT_1:13;
 end; then
A27: f/*(h+c)-f/*c+(f/*c)=f/*(h+c) by FUNCT_2:63;
 now
  let n;
  thus (h+c).n=((s1-s2+s2)^\l).n by A12,SEQM_3:15
  .=(s1-s2+s2).(n+l) by NAT_1:def 3
  .=(s1-s2).(n+l)+s2.(n+l) by SEQ_1:7
  .=s1.(n+l)-s2.(n+l)+s2.(n+l) by RFUNCT_2:1
  .=(s1^\l).n by NAT_1:def 3;
 end; then
A28: f/*(h+c)-f/*c+(f/*c)=f/*(s1^\l) by A27,FUNCT_2:63
.=(f/*s1)^\l by A6,VALUED_0:27;
 now let y be object;
  assume y in rng(h+c);
  then consider n such that
  A29: y=(h+c).n by FUNCT_2:113;
  (h+c).n=((s1-s2+s2)^\l).n by A12,SEQM_3:15
  .=(s1-s2+s2).(n+l) by NAT_1:def 3
  .=(s1-s2).(n+l)+s2.(n+l) by SEQ_1:7
  .=s1.(n+l)-s2.(n+l)+s2.(n+l) by RFUNCT_2:1
  .=s1.(l+n);
  then |.(h+c).n-x0.|<g by A10,NAT_1:12;
  hence y in N by A5,A29,RCOMP_1:1;
 end; then
A30:rng(h+c) c= N;
A31: lim (h(#)(h"(#)(f/*(h+c) - f/*c)))
= 0 * lim(h"(#) (f/*(h+c) - f/*c)) by A21,A1,A2,A14,Th13,A30,NDIFF_1:14
.=0.F by RLVECT_1:10;
 now
  let n;
  A32: h.n<>0 by A24;
  thus (h(#)(h"(#)(f/*(h+c) - f/*c))).n = h.n *(h"(#)(f/*(h+c) - f/*c)).n
  by NDIFF_1:def 2
  .=h.n*((h").n*(f/*(h+c) - f/*c).n) by NDIFF_1:def 2
  .=h.n*(((h.n)")*(f/*(h+c) - f/*c).n) by VALUED_1:10
  .=h.n*((h.n)")*(f/*(h+c) - f/*c).n by RLVECT_1:def 7
  .=1*(f/*(h+c) - f/*c).n by A32,XCMPLX_0:def 7
  .=(f/*(h+c) - f/*c).n by RLVECT_1:def 8;
 end; then
A33: h(#)(h"(#)(f/*(h+c) - f/*c))=f/*(h+c)-f/*c by FUNCT_2:63; then
A34: f/*(h+c)-f/*c is convergent by A30,A1,A2,A14,Th13,NDIFF_1:13; then
f/*(h+c)-f/*c+f/*c is convergent by A20,NORMSP_1:19;
hence f/*s1 is convergent by A28,LOPBAN_3:10;
lim(f/*c)=f/.x0 by A17,A20,NORMSP_1:def 7;
then lim(f/*(h+c)-f/*c+f/*c)=0.F+f/.x0 by A31,A33,A34,A20,NORMSP_1:25
.=f/.x0 by RLVECT_1:4;
hence f/.x0=lim(f/*s1) by A34,A28,A20,LOPBAN_3:11,NORMSP_1:19;
end;
hence thesis by A3,A2,NFCONT_3:7;
end;

theorem
  f is_differentiable_on X implies (f|X) is continuous
  proof
    assume
    A1: f is_differentiable_on X;
     for x being Real st x in dom(f|X) holds f|X is_continuous_in x
          by A1,Th22;
    hence thesis by NFCONT_3:def 2;
  end;

theorem Th24:
  f is_differentiable_on X & Z c= X implies f is_differentiable_on Z
  proof
    assume that
    A1: f is_differentiable_on X and
    A2: Z c= X;
    X c= dom f by A1; then
    A3:Z c= dom f by A2;
    now let x0;
      assume
      A4: x0 in Z;
      then f|X is_differentiable_in x0 by A1,A2;
      then consider N being Neighbourhood of x0 such that
      A5: N c= dom(f|X) and
      A6: ex L,R st for x st x in N
      holds (f|X)/.x-(f|X)/.x0=L/.(x-x0)+R/.(x-x0);
      consider N1 being Neighbourhood of x0 such that
      A7: N1 c= Z by A4,RCOMP_1:18;
      consider N2 being Neighbourhood of x0 such that
      A8: N2 c= N and
      A9: N2 c= N1 by RCOMP_1:17;
      A10: N2 c= Z by A7,A9;
      dom(f|X)=dom f/\X by RELAT_1:61;
      then dom(f|X) c=dom f by XBOOLE_1:17;
      then N c= dom f by A5;
      then N2 c=dom f by A8;
      then N2 c=dom f/\Z by A10,XBOOLE_1:19; then
      A11: N2 c=dom(f|Z) by RELAT_1:61;
      A12: N2 c= dom(f|X) by A8,A5;
      consider L,R such that
      A13: for x st x in N holds
      (f|X)/.x-(f|X)/.x0=L/.(x-x0)+R/.(x-x0) by A6;
      for x st x in N2 holds
      (f|Z)/.x-(f|Z)/.x0=L/.(x-x0)+R/.(x-x0)
      proof
        let x;
        assume
        A14: x in N2;
        then A15:(f|X)/.x-(f|X)/.x0=L/.(x-x0)+R/.(x-x0) by A8,A13;
        A16: x0 in N2 by RCOMP_1:16;
        (f|X)/.x-f/.x0=L/.(x-x0)+R/.(x-x0) by A15,A16,A12,PARTFUN2:15;
        then f/.x-f/.x0=L/.(x-x0)+R/.(x-x0) by A14,A12,PARTFUN2:15;
        then f/.x-(f|Z)/.x0=L/.(x-x0)+R/.(x-x0) by A16,A11,PARTFUN2:15;
        hence thesis by A14,A11,PARTFUN2:15;
      end;
      hence (f|Z) is_differentiable_in x0 by A11;
    end;
    hence thesis by A3;
  end;

Lm1: {} REAL is closed;

theorem
  ex R be RestFunc of F st R/.0=0.F & R is_continuous_in 0
  proof
    ([#] REAL)` = {} REAL & REAL c= REAL & [#]REAL = REAL by XBOOLE_1:37;
    then
    reconsider Z = [#]REAL as open Subset of REAL by Lm1,RCOMP_1:def 5;
    set R = (REAL --> 0.F);
    reconsider f=R as PartFunc of REAL,the carrier of F;
A1: dom R = REAL;
    now
      let h;
      now
        let n be Nat;
        A2: rng h c= dom R;
        A3: n in NAT by ORDINAL1:def 12;
        thus ((h")(#)(R/*h)).n = (h".n)*((R/*h).n) by NDIFF_1:def 2
        .= (h".n)*(R/.(h.n)) by A3,A2,FUNCT_2:108
        .= 0.F by RLVECT_1:10;
      end;
      then (h")(#)(R/*h) is constant
      & ((h")(#)(R/*h)).0 = 0.F by VALUED_0:def 18;
      hence (h")(#)(R/*h) is convergent &
      lim ((h")(#)(R/*h)) = 0.F by NDIFF_1:18;
    end;
    then reconsider R as RestFunc of F by Def1;
    set L = (REAL --> 0.F);
    now let p be Real;
       reconsider pp=p as Element of REAL by XREAL_0:def 1;
      thus L/.p = L/.pp
      .= 0.F
      .= p*(0.F) by RLVECT_1:10;
    end;
    then reconsider L as LinearFunc of F by Def2;
A5: f|Z is constant;
    consider r be Point of F such that
A6: for x being Element of REAL  st x in Z/\dom f holds f.x=r
        by A5,PARTFUN2:57;
A7: now let x;
    assume A8: x in Z/\dom f;
    then x in dom f;
    hence f/.x= f.x by PARTFUN1:def 6
    .= r by A8,A6;
  end;
  A9: now
  let x0;
  assume
A10: x0 in Z;
  set N = the Neighbourhood of x0;
  for x st x in N holds f/.x-f/.x0=L/.(x-x0)+R/.(x-x0)
  proof
A12: x0 in Z/\dom f by A10;
    let x;
A13:   x-x0 in REAL by XREAL_0:def 1;
    then
    A14: R/.(x-x0)=R.(x-x0) by A1,PARTFUN1:def 6
    .= 0.F by FUNCOP_1:7,A13;
    assume x in N;
    then x in Z/\dom f;
    hence f/.x-f/.x0=r-f/.x0 by A7
    .=r - r by A7,A12
    .=0.F by RLVECT_1:15
    .=L.(x-x0) by FUNCOP_1:7,A13
    .=L/.(x-x0) by A1,PARTFUN1:def 6,A13
    .=L/.(x-x0) + R/.(x-x0) by A14,RLVECT_1:4;
  end;
  hence f is_differentiable_in x0;
end;
set x0 = the Element of REAL;

f is_differentiable_in x0 by A9; then
consider N being Neighbourhood of x0 such that
N c= dom f and
A15: ex L,R st for x st x in N holds f/.x - f/.x0 = L/.(x-x0) + R/.(x-x0);
consider L,R such that
A16: for x st x in N holds f/.x - f/.x0 = L/.(x-x0) + R/.(x-x0) by A15;
take R;
consider p be Point of F such that
A17: for r holds L/.r = r*p by Def2;
f/.x0 - f/.x0 = L/.(x0-x0) + R/.(x0-x0) by A16,RCOMP_1:16; then
0.F = L/.(x0-x0) + R/.(x0-x0) by RLVECT_1:15; then
0.F = 0 * p+ R/.0 by A17; then
0.F = 0.F + R/.0 by RLVECT_1:10;
hence
A18: R/.0=0.F by RLVECT_1:4;
A19: now
set s3 = cs;
let h;
A20: s3.1 = 0;
(h")(#)(R/*h) is convergent &
lim ((h")(#)(R/*h)) = 0.F by Def1;
then ||.(h")(#)(R/*h).|| is bounded by LOPBAN_1:20,SEQ_2:13;
then consider M being Real such that M>0 and
A21: for n being Nat holds |.(||.((h")(#)(R/*h)) .||).n .| <M by SEQ_2:3;
A22: now let n;
|.(||.((h")(#)(R/*h)) .||).n .| <M by A21; then
|. ||.((h")(#)(R/*h)).n .|| .| <M by NORMSP_0:def 4;
hence ||.((h")(#)(R/*h)).n .|| < M by ABSVALUE:def 1;
end;
reconsider z0=0 as Real;
A23: now
let n be Element of NAT;
||.((h")(#)(R/*h)).n .||=||.((h").n)*(R/*h).n .|| by NDIFF_1:def 2
.=||.(h.n)"*(R/*h).n .|| by VALUED_1:10; then
A24: ||.(h.n)"*(R/*h).n .||<=M by A22;
|.(h.n).|>=0 by COMPLEX1:46;
then |.(h.n).|*||.(h.n)"*(R/*h).n .|| <=M*|.(h.n).| by A24,XREAL_1:64;
then ||.(h.n)*((h.n)"*(R/*h).n) .|| <=M*|.(h.n).| by NORMSP_1:def 1; then
A25: ||.(h.n)*(h.n)"*(R/*h).n .||<=M*|.(h.n).| by RLVECT_1:def 7;
h.n <>0 by SEQ_1:5;
then ||.1*(R/*h).n.|| <=M*|.(h.n).| by A25,XCMPLX_0:def 7;
then ||.(R/*h).n.|| <=M*|.(h.n).| by RLVECT_1:def 8;
then ||.(R/*h).n .|| <=M*abs(h).n by SEQ_1:12;
hence ||.(R/*h).n .|| <=(M(#)abs(h)).n by SEQ_1:9;
end;
lim h=z0;
then lim abs(h) = |.z0.| by SEQ_4:14
.=z0 by ABSVALUE:2; then
A26: lim (M(#)abs(h)) = M*z0 by SEQ_2:8
.=lim s3 by A20,SEQ_4:25;
reconsider z0=0 as Real;
lim (M(#)abs(h)) = 0 by A26,A20,SEQ_4:25;
hence R/*h is convergent & lim (R/*h)=R/.0 by A18,A23,Th1;
end;
R is total by Def1; then
A27:dom R=REAL by FUNCT_2:def 1;
 now
  let s1;
  assume that rng s1 c= dom R and
  A28: s1 is convergent & lim s1 = 0 and
  A29: for n being Nat holds s1.n <> 0;
  for n being Nat holds s1.n <> 0
   by A29;
  then s1 is non-zero by SEQ_1:5;
  then s1 is 0-convergent non-zero Real_Sequence by A28,FDIFF_1:def 1;
  hence R/*s1 is convergent & R/.In(0,REAL)=lim (R/*s1) by A19;
end;
hence thesis by A27,NFCONT_3:7;
end;

definition let F;
  let f be PartFunc of REAL, the carrier of F;
  attr f is differentiable means  :Def7:
  f is_differentiable_on dom f;
end;

Lm2: [#] REAL is open
by XBOOLE_1:37,Lm1;

registration let F;
  cluster differentiable for Function of REAL, the carrier of F;
  existence
  proof
    reconsider Z = REAL as open Subset of REAL by Lm2;
    reconsider f = (REAL --> 0.F) as Function of REAL, the carrier of F;
    take f;
A1: Z = dom f;
    now let x;
       reconsider xx=x as Element of REAL by XREAL_0:def 1;
      assume x in Z;
      thus f/.x = f/.xx
      .= 0.F
      .= x*(0.F) by RLVECT_1:10
      .= x*(0.F) + 0.F by RLVECT_1:4;
    end;
    then f is_differentiable_on Z by A1,Th21;
    hence thesis;
  end;
end;

theorem
  for f being differentiable PartFunc of REAL, the carrier of F
  st Z c= dom f holds f is_differentiable_on Z
  by Def7,Th24;

Messung
CHZG
8010010093

¤ Dauer der Verarbeitung: 0.335 Sekunden  ¤

*Bot Zugriff







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

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