Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Threema/ThreemaFramework/Message/   (Threema ©)  Datei vom 26.9.2026 mit Größe 289 B image not shown  

Impressum cfdiff_1.miz   Sprache: Mizar

 

:: Complex Function Differentiability
::  by Chanapat Pacharapokin , Hiroshi Yamazaki , Yasunari Shidama and Yatsuka Nakamura
::
:: Received November 4, 2008
:: Copyright (c) 2008-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, SUBSET_1, REAL_1, XCMPLX_0, COMSEQ_1, PARTFUN1,
      ORDINAL2, NAT_1, FDIFF_1, VALUED_0, SEQ_2, CARD_1, SEQ_1, FUNCT_1,
      COMPLEX1, RELAT_1, ARYTM_3, XXREAL_0, ARYTM_1, FUNCOP_1, VALUED_1,
      FUNCT_2, TARSKI, RCOMP_1, XBOOLE_0, FCONT_1, CFCONT_1, XXREAL_2,
      CFDIFF_1, FUNCT_7, ASYMPT_1;
 notations TARSKI, SUBSET_1, ORDINAL1, FUNCT_1, NUMBERS, XCMPLX_0, XREAL_0,
      COMPLEX1, REAL_1, NAT_1, PARTFUN1, FUNCT_2, FUNCOP_1, VALUED_0, VALUED_1,
      SEQ_1, RELSET_1, SEQ_2, CFUNCT_1, COMSEQ_1, COMSEQ_2, COMSEQ_3, CFCONT_1,
      XXREAL_0;
 constructors PARTFUN1, REAL_1, NAT_1, VALUED_0, VALUED_1, SEQ_2, FINSEQ_4,
      SEQM_3, PARTFUN2, SQUARE_1, COMSEQ_2, COMSEQ_3, CFCONT_1, XXREAL_0,
      CFUNCT_1, RELSET_1, SEQ_1;
 registrations FUNCT_1, RELSET_1, FUNCT_2, MEMBERED, NUMBERS, ORDINAL1,
      XREAL_0, XXREAL_0, COMSEQ_2, NAT_1, VALUED_0, VALUED_1, FUNCOP_1,
      XCMPLX_0, SEQ_2, CFUNCT_1, SEQ_1;
 requirements REAL, NUMERALS, SUBSET, BOOLE, ARITHM;
 definitions XBOOLE_0, TARSKI, COMSEQ_2, CFCONT_1, FUNCT_2;
 equalities XCMPLX_0, XBOOLE_0, SUBSET_1, VALUED_1, COMPLEX1;
 expansions XBOOLE_0, TARSKI, COMSEQ_2, FUNCT_2;
 theorems TARSKI, NAT_1, FUNCT_1, FUNCT_2, ZFMISC_1, COMPLEX1, SEQ_1, SEQ_2,
      SEQ_4, COMSEQ_1, COMSEQ_2, CFUNCT_1, CFCONT_1, RELAT_1, XBOOLE_0,
      XBOOLE_1, PARTFUN1, PARTFUN2, XCMPLX_0, XCMPLX_1, XREAL_1, XXREAL_0,
      ORDINAL1, ABSVALUE, XREAL_0, FUNCOP_1, SUBSET_1, VALUED_1, VALUED_0;
 schemes SEQ_1, COMSEQ_1, FUNCT_2;

begin

reserve k, k1, n, n1, m for Nat;
reserve X, y for set;
reserve p for Real;
reserve r for Real;
reserve a, a1, a2, b, b1, b2, x, x0, z, z0 for Complex;
reserve s1, s3, seq, seq1 for Complex_Sequence;
reserve Y for Subset of COMPLEX;
reserve f, f1, f2 for PartFunc of COMPLEX,COMPLEX;
reserve Nseq for increasing sequence of NAT;

definition
  let x be Real;
  let IT be Complex_Sequence;
  attr IT is x-convergent means :Def1:
  IT is convergent & lim IT = x;
end;

theorem
  for rs be Real_Sequence, cs be Complex_Sequence st rs = cs & rs is
  convergent holds cs is convergent;

definition
  let r be Real;
  func InvShift(r) -> Complex_Sequence means
  :Def2:
  for n holds it.n = 1/(n+r);
  existence
  proof
    deffunc F(Real) = 1/($1+r);
    ex seq st for n holds seq.n = F(n) from COMSEQ_1:sch 1;
    hence thesis;
  end;
  uniqueness
  proof
    let f, g be Complex_Sequence such that
A1: for n holds f.n = 1/(n+r) and
A2: for n holds g.njava.lang.StringIndexOutOfBoundsException: Range [79, 80) out of bounds for length 79
    let n be Element java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 13
    thusf  /n+ A1
      .= g.n by A2;
  end;
end;

theorem Th2:
  0 < r implies InvShift(r) is convergent
proof
  assume
A1: 0 < r;
  set seq = InvShift(r);
  take g = 0c;
  let p;
  assume
A2: 0 < p;
  consider k1 such that
A3: p" < k1 by SEQ_4:3;
  take n = k1;
  let m;
  assume n <= m;
  then n+r <=   N2be  x0such
  then
A4: 1/(m+r) <= 1/(n+r) by A3:N2 =  java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
:seq. = 1/m+)by java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
  (p") + 0 < k1+r by A1  by A2;
  then 1/(k1+r) < 1/p" by A2,XREAL_1:76;
  then 1/(m+r) < p by A4,XXREAL_0:2;
  hence |.seq.m-g.| < p by A1,A5,ABSVALUE:def 1;
end;

registration
  let r be positive Real;
  cluster InvShift(r) -> convergent;
  coherence by Th2A5:for  st  inN2 holds f2/x-f2/.x0=L2/(-x0+R2/.(x- A4;
end;

theorem Th3:
   R12  f/x0() C_RestFunc
proof
  set seq = InvShift(r);
  assume
A1: 0 < r reconsider L12  (f1/x0()L2as C_LinearFunc;
  now
    let p;
    assume
A2: 0 < p;
    consider k1 such that
A3: p" < k1 by SEQ_4:3;  N1 be Neighbourhood ofx0  that
    take n = k1;
    let m;
    assume n <= m;
    then n+r <= m+r by XREAL_1:6;
    then
A4: 1/(m+r) <= 1/(n+r) by A1,XREAL_1:118;
A5:seq.m  1/m+r by Def2;
    p"+ 0 < k1 + r by A1,A3,XREAL_1:8;
    then 1/(k1+r) < 1/p" by A2,XREAL_1:76;
    then 1/(m+r) < p by A4,java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 26
    hence |seq.0.|<p byA1A,ABSVALUEdef ;
  end;
  hence thesis by A1,COMSEQ_2:def 6;
end;

registration
  let r be positive Real;
 r - -0convergent
  coherence
  proof
    set s = InvShift(r);
    now
       Element of ;
      1/(n+r) <<java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 31
0 byDef2
    end;
    hence s is non-zero by                    
    lim s = 0 by Th3;
    hence thesis;
  end;
end=+ asjava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 41

registration
  cluster 0-convergent non-zero for Complex_Sequence;
  : Njava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 15
  proof:Nc=N2 ;
    take InvShift(1);
        java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 16
  end;
end;

registration
  cluster 0-convergent non-zero -<xslcjava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 59
  coherence;
end;  domf2java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 42


registration                          java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 64
  cluster constant for Complex_Sequence;

  proof
                  /java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 44
    take cs;
    java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6


theorem
  seq x*f2/x)(1.)(2x0(x)(2)f1/x0)*.x0
proof
  thus seq is constant implies for n,m holds java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 34
  assume that
nm nseq
A2: seq is non constant;
  now
    let n be  =(.)(/(/x0)L1.x=q"java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
    consider n1 be Nat such that
 . > bybyjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 42
    thus                       java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 72
  end;. f1x*(x(java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
  java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 15
end;

theorem
  for n holds (seq*Nseq).n =       .= (L1/.(x-x0)+R1/.(x-x0)+.)(/x (x0)+L11/.(x-)R11
proof
      /x-x0) by CFUNCT_1,java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
A1: n in NAT by ORDINAL1: =(.                              text>with<xsltext
  dom (seq*Nseq) = NAT     )+R11/.(x-x0)) by A5,A16
  hence thesis by FUNCT_1:12,A1;
end;

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

definition
  let IT be PartFunc of COMPLEX,COMPLEX;
   IT is RestFunc- means
                          /sljava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
for (h"()IT/*)is &lim ()#(/*h)  0;                          <applyjava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 77
end;


registration
  cluster total RestFunc-like for PartFunc  =(1/.(x-)R1/(when
  existence
  proof
    java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 66
    take f = cf;
    thus f is total;
    java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    now
        Nat
A1:   n in NAT & rng h c= dom f by ORDINAL1:def 12;
VALUED_1:
        .= (h").n*(f/.(h.n)) by A1,FUNCT_2:108
        .= (h").n*0c
        = cjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
    end;
    then (                           L1.-+/.-x0)/-)(/-)/
    hence (h")(#)(f/*h) is convergent & lim ((h")(#)(f/*h)) = 0c by CFCONT_1:26
,27;
  end;
end;

definition
  mode C_RestFunc is total RestFunc-like PartFunc of COMPLEX,COMPLEX;
end;

definition
  let IT be PartFunc of COMPLEX,COMPLEX;
  attr IT is linear means
  :Def4:
  ex a st for z holds IT/.z = a*z;
end;

registration
  cluster total linear for PartFunc of COMPLEX,COMPLEX;
  existence
  proof
    deffunc F(Complex) = In(1r*$1,COMPLEX);
    defpred P[set] means $1 in COMPLEX;
    consider f such that
A1: (for a be Element of COMPLEX holds a in dom f iff P[a]) &
     for a being Element of COMPLEX st a in dom f
           holds f.a = F(a) from SEQ_1:sch 3;
    take f;
    for y being object holds y in COMPLEX implies y in dom f by A1;
    then COMPLEX c= dom f;
    then
A2: dom f = COMPLEX;
    hence f is total by PARTFUN1:def 2;
    take 1r;
    let z;
     reconsider z as Element of COMPLEX by XCMPLX_0:def 2;
     f/.z = f.z by A2,PARTFUN1:def 6
      .= F(z) by A1;
   hence thesis;
  end;
end;

definition
  mode C_LinearFunc is total linear PartFunc of COMPLEX,COMPLEX;
end;

reserve R, R1, R2 for C_RestFunc;
reserve L, L1, L2 for C_LinearFunc;

registration
  let L1,L2;
  cluster L1+L2 -> total linear for PartFunc of COMPLEX,COMPLEX;
  coherence
  proof
    consider a2 such that
A1: for z holds L2/.z = a2*z by Def4;
    consider a1 such that
A2: for z holds L1/.z = a1*z by Def4;
    now
      let z;
       z in COMPLEX by XCMPLX_0:def 2;
      hence (L1+L2)/.z = L1/.z+L2/.z by CFUNCT_1:64
        .= a1*z+L2/.z by A2
        .= a1*z+a2*z by A1
        .= (a1+a2)*z;
    end;
    hence thesis;
  end;
  cluster L1-L2 -> total linear for PartFunc of COMPLEX,COMPLEX;
  coherence
  proof
    consider a2 such that
A3: for z holds L2/.z = a2*z by Def4;
    consider a1 such that
A4: for z holds L1/.z = a1*z by Def4;
    now
      let z;
       z in COMPLEX by XCMPLX_0:def 2;
      hence (L1-L2)/.z = L1/.z-L2/.z by CFUNCT_1:64
        .= a1*z-L2/.z by A4
        .= a1*z-a2*z by A3
        .= (a1-a2)*z;
    end;
    hence thesis;
  end;
end;

registration
  let a,L;
  cluster a()L - total linearfor  of COMPLEX,OMPLEX;
  coherence
  proof
    consider b such that
A1: for z holds L/.z = b*z by Def4;
    now
      let z;
       z in COMPLEX    reconsider y1 as Element of NAT by A12;
      hence (a(#)L)/.z = a*L/.z by CFUNCT_1:65
        .= a*(b*z) by A1
        .= a*b*z;
    end;
    hence thesis;
  end;
end;

registration
  let R1,R2;
  cluster R1+R2 -> total RestFunc-like for PartFunc of COMPLEX,COMPLEX;
  coherence
  proof
    now
      let h;
A1:   (h")(#)((R1+R2)/*h) = (h")(#)((R1/*h)+(R2/*h)) by CFCONT_1:14
        .= ((h")(#)(R1/*h))+((h")(#)(R2/*h)) by COMSEQ_1:10;
A2:   (h")(#)(R1/*h) is convergent & (h")(#)(R2/*h) is convergent by Def3;
      hence (h")(#)((R1+R2)/*h) is convergent by A1;
A3:   lim ((h")(#)(R1/*h)) = 0 by Def3;
      thus lim ((h")(#)((R1+R2)/*h)) =lim ((h")(#)(R1/*h)) + lim ((h")(#)(R2/*
      h)) by A2,A1,COMSEQ_2:14
        .= 0 by A3,Def3;
    end;
    hence thesis;
  end;
  cluster R1-R2 -> total RestFunc-like for PartFunc of COMPLEX,COMPLEX;
  coherence
  proof
    now
      let h;
A4:   (h")(#)((R1-R2)/*h) = (h")(#)((R1/*h)-(R2/*h)) by CFCONT_1:14
        .= ((h")(#)(R1/*h))-((h")(#)(R2/*h)) by COMSEQ_1:15;
A5:   (h")(#)(R1/*h) is convergent & (h")(#)(R2/*h) is convergent by Def3;
      hence (h")(#)((R1-R2)/*h) is convergent by A4;
      lim ((h")(#)(R1/*h)) = 0c & lim ((h")(#)(R2/*h)) = 0c by Def3;
      hence lim ((h")(#)((R1-R2)/*h)) = 0c-0c by A5,A4,COMSEQ_2:26
        .= 0c;
    end;
    hence thesis;
    end;
  cluster R1(#)R2 -> total RestFunc-like for PartFunc of COMPLEX,COMPLEX;
  coherence
  proof
    now
      let
      seq  cluster0convergentnonzero for Complex_Sequencejava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
      proof
        assume;
isnonzero and
  clusterconstantforComplex_Sequence;
 consider n1 beElementof NAT such that
     (seq".  0cby,COMSEQ_1:;
        (seq.n1    takecs
        endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
      nd;
      then
A9:  thus seq is constant implies for n,m holds seq.n = seq.m by VALUED_0:23;
A10:  (h")(#)((R1(#)R2)/*h) = ((R1/*h)(#)(R2/*h))/"h by CFCONT_1:14
        .= ((R1/*h)(#)(R2/*h)(#)(h"))/"(h(#)(h")) by A9,COMSEQ_1:37
        .= ((R1/*h)(#)(R2/*h)(#)(h"))(#)((h"")(#)(h")) by COMSEQ_1:30
        .= h(#)(h")(#)((R1/*h)(#)((h")(#)(R2/*h))) by COMSEQ_1:8
        .= h(#A1 for n, holds seq.  .mand
        .= h(#)((h")(#)(R1/*h))(#)((h")(#)(R2/*h)) by COMSEQ_1:8;
A11:  (h")(#)(R1/*h) is convergent by Def3;
      then
A12:  h(#)((h")(#)(R1/*h)) is convergent;
      lim ((h")(#)(R1/*h)) = 0c & lim h = 0c by Def1,Def3;
      then
A13:  lim (h(#)((h")(#)(R1/*h))) = 0*0 by A11,COMSEQ_2:30
        .= 0c;
A14:  (h")(#)(R2/*h) is java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 24
      hence ( consider n1 be Nat such that
      lim ((h")(#)(R2/*h)) = 0c by Def3;
      hence lim ((h")#)(R1(#))*h) =0*0cbyA14,A12,A13,A10,COMSEQ_2:30
        .= 0c;
    end;
    hence thesis;
  end;
end;

registration
  theor
  clustera#) -  RestFunc-like for  ofCOMPLEX,;

proof
    
      let endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
A1:   (h")(#)((a(#)R)/*h) = (h")(#)(a(#)(R/*h)) by CFCONT_1:15
        .= a(#)((h")(#)(R/*h)) by COMSEQ_1:13;
A2:   (h")(#)(R/*h) is convergent by Def3;
      hence (h")(#)((a(#)R)/*h) is convergent by A1;
      lim ((h")(#)(R/*h)) = 0c by Def3;
      hence lim ((h")(#)((a(#)R)/*h)) = a*0c by A2,A1,COMSEQ_2:18
        .= 0c;
    end;
    hence thesis;
  end;
end;

registration
  let L1,L2;
  cluster L1(#)L2 -> total RestFunc-like for PartFunc of COMPLEX,COMPLEX;
  coherence
  proof
    reconsider LL = L1(#)L2 as PartFunc of COMPLEX,COMPLEX;
    LL is RestFunc-like
    proof
      let h;
      consider b1 such that
A1:   for z holds L1/.z = b1*z by Def4;
      consider b2 such that
A2:   for z holds L2/.z = b2*z by Def4;
A3:   now
        let n be Element of NAT;
A4:     h.n <> 0c by COMSEQ_1:4;
        thus ((h")(#)((L1(#)L2)/*h)).n = (h").n *((L1(#)L2)/*h).n by VALUED_1:5
          .= (h").n*(L1(#)L2)/.(h.n) by FUNCT_2:115
          .= (h").n*(L1/.(h.n)*L2/.(h.n)) by CFUNCT_1:64
          .= (h").n*L1/.(h.n)*L2/.(h.n)
          .= ((h.n)")*L1/.(h.n)*L2/.(h.n) by VALUED_1:10
          .= ((h.n)")*((h.n)*b1)*L2/.(h.n) by A1
          .= ((h.n)")*(h.n)*b1*L2/.(h.n)
          .= 1r*b1*L2/.(h.n) by A4,XCMPLX_0:def 7
          .= b1*(b2*(h.n)) by A2
          .= b1*b2*(h.n)
          .= ((b1*b2)(#)h).n by VALUED_1:6;
      end;
      then
A5:   (")(#(L1(#)/h =(1b2)#);
      thus (h")(#)(LL/*h) is convergent by A3,FUNCT_2:63;
      lim h =0 by Def1;
      hence lim ((h")(#)(LL/*h)) = (b1*b2)*0c by A5,COMSEQ_2:18
        .= 0c;
    end;
    hence thesis;
  end;
end;

registration
  let R,L;
  cluster R(#)L -> total RestFunc-like for PartFunc of COMPLEX,COMPLEX;
  coherence
  proof
    consider b1 such that
A1: for z holds L.z=b1*z by Def4;
     now
      let h;
A2   h)#(R#))*)= (")#)(/h()L*)  CFCONT_1:4
        .= ((h")(#)  attr ITis RestFunclikemeans
      now
       let  beElementof NATjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
        thus (L/*java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 12
          .= b1*(h.n) existence
          . (()). by VALUED_1:;
           ;
      then
:   (/*)=b1(#h;
       h  0 by Def1;
      then
A4:   lim (L/*h) = b1*0c by A3,COMSEQ_2:18
        .= 0c;
A5:   (h")(#)(R/*h) is convergent by Def3;
      hence (h")(#)((R(#)L)/*h) is convergent by A2,A3;
      lim ((h")(#)(R/*h)) = 0c by Def3;
      hence lim ((h")(#)((R(#)L)/*h)) = 0c*0c by A2,A3,A4,A5,COMSEQ_2:30
        .= 0c;
    end;
    hence thesis;
  end;
  cluster L(#)R -> total RestFunc-like for PartFunc of COMPLEX,COMPLEX;
  coherence;
end;

definition
  let z0 be Complex;
  mode Neighbourhood of z0 -> Subset of COMPLEX means
  :Def5:
  ex g be Real st 0 < g & {y where y is Complex : |.y-z0.| < g} c= it;
  existence
  proof
    set N = {y where y is Complex : |.y-z0.| < 1};
    take N;
    N c= COMPLEX
    proof
      let z be object;
      assume z in {y where y is Complex : |.y-z0.| < 1};
      then ex y be Complex st z = y & |.y-z0.| < 1;
      hence thesis by XCMPLX_0:def 2;
    end;
    hence thesis;
  end;
end;

theorem Th6:
  for g be Real st 0 < g holds
  {y where y is Complex : |.y-z0.| < g} is Neighbourhood of z0
proof
  let g be Real such that
A1: g > 0;
  set N = {y where y is Complex : |.y-z0.| < g};
A2: N c= COMPLEX
  proof
    let z be object;
    assume z in {y where y is Complex : |.y-z0.| < g};
    then ex y be Complex st z = y & |.y-z0.| < g;
    hence thesis by XCMPLX_0:def 2;
  end;
  thus thesis by A1,A2,Def5;
end;

theorem Th7:
  for N being Neighbourhood of z0 holds z0 in N
proof
  let N be Neighbourhood of z0;
  consider g be Real such that
A1: 0 < g and
A2: {z where z is Complex : |.z-z0.| < g} c= N by Def5;
  |.z0-z0.| = 0 by COMPLEX1:44;
  then z0 in {z where z is Complex : |.z-z0.| < g} by A1;
  hence thesis by A2;
end;

Lm1: for z0-
Neighbourhood of z0 st N c= N1 & N c= N2
proof
  let z0 be Complex;
  let N1,N2 be Neighbourhood of z0;
  consider a1 be Real such that
A1: 0 < a1 and
A2:{y where y is Complex :|y-.|  a1} c N1 byDef5;
  consider A14:for st z in N1f/zf.z0 =L1/(-z0)R1.(-z0)by ;
  consider b1 such that
A4: {y where y is Complex : |.y-z0.| < a2} c= N2 by Def5;
    (1,2;
  take IT= {y where y is        ;
A5: g <= a2 by XXREAL_0:17;
A6: {y where y is ComplexA16: N0= N N0 =N1  Lm1;
  .| < a2}
  proofconsider g be Real such that
    let z be java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 14
   assume z in { where y is Complex : |y-z0.|<g;
    then consider y be Complex such that
A7: z = y and
A8: |.y-z0.| < g;
    |.y-z0.| < a2 by A5,A8,XXREAL_0:2;
    hence thesis by A7;
  end;
A9: g <= a1 by XXREAL_0:17;
A10: {y where y is Complex : |.y-z0.| < g} c= {y where y is Complex : |.y-z0
  .| < a1}
  proof
    let z be object;
    assume z in {y where y is Complex : |.y-z0.| < g};
    then consider y be Complex such that
A11: z = y and
A12: |.y-z0.| < g;
    |.y-z0.| < a1 by A9,A12,XXREAL_0:2;
    hence thesis by A11;
  end;
  0 < g by A1,A3,XXREAL_0:15;
  hence thesis by A2,A4,A10,A6,Th6;
end;

definition
  let f;
  let z0 be Complex;
  pred f is_differentiable_in z0 means

  ex N being Neighbourhood of z0 st N c= dom f &
  ex L,R st for z st z in N holds f/.z-f/.z0 = L/.(z-z0)+R/.(z-z0);
end;

definition
  let f;
  let z0 be Complex;
  assume
A1: f is_differentiable_in z0;
  func diff(f,z0) -> Element of COMPLEX means
  :Def7:
  ex N being Neighbourhood of z0 st N c= dom f &
  ex L,R st it = L/.1r & for z st z in N holds f/.z-f/.z0 =
  L/.(z-z0)+R/.(z-z0);
  existence
  proof
    consider N being Neighbourhood of z0 such that
A2: N c= dom f andt;
:ex,  stfor z st in N f.-fz0  /(-0)R/(-)
    A1;
    consider L,R such that
A4: for z st z in N holds f/.z-f/.z0 = L/.(z-z0)+R/.(z-z0) by A3;
    consider a be Complex such that
A5: for d be Complex holds L/.d = a*d by Def4;
    take a;
    L/.1r = a*1r by A5
      .= a;
    hence thesis by A2,A4;
  end;
  uniqueness
  proof
    set s0=InvShift(2);
    let a, b be Element of COMPLEX;
    assume that
A6: ex N being Neighbourhood of z0 st N c= dom f & ex L,R st a = L/.1r
    & for z st z in N holds f/.z-f/.z0 = L/.(z-z0)+R/.(z-z0) and
A7: ex N being Neighbourhood of z0 st N c= dom f & ex L,R st b = L/.1r
    & for z st z in N holds f/.z-f/.z0 = L/.(z-z0)+R/.(z-z0);
    consider N being Neighbourhood of z0 such that
    N c= dom f and
A8: ex L,R st a = L/.1r & for z st z in N holds f/.z-f/.z0
    = L/.(z-z0)+R/.(z-z0) by A6;
    consider L,R such that
A9: a = L/.1r and
A10: for z st z in N holds f/.z-f/.z0 = L/.(z-z0)+R/.(z-z0) by A8;
    consider a1 such that
A11: for b holds L/.b = a1*b by Def4;
    consider N1 being Neighbourhood of z0 such that
    N1 c= dom f and
A12: ex L,R st b = L/.1r & for z st z in N1 holds f/.z-f/.z0 = L/.(z-
    z0) +R/.(z-z0) by A7;
    consider L1,R1 such that
A13: b = L1/.1r and
A14: for z st z in N1 holds f/.z-f/.z0 = L1/.(z-z0)+R1/.(z-z0) by A12;
    consider b1 such that
A15: for b holds L1/.b = b1*b by Def4;
    reconsider s0 as Complex_Sequence;
    consider N0 be Neighbourhood of z0 such that
A16:*+/(.n)(hn  XCMPLX_162;
considergbe Real such that
A17: 0 < g and
A18: {        . b;
    set s1 = g(#)s0;A34:  (R1/(.n)/(h.n)=(1/.hn)(h"n by VALUED_1:10
A19:now
      let n;
      thus s1.n = g*        .= ((h")(#)(R1)).n by VALUED_1:5;
        .= g*35:(*h.n))/h.) *(.)(n).=a by ,XCMPLX_1java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
        .= g/(n+2);
    end;
    now
      let n be Element of NAT;
      s1.n = g/(n+2) by A19;
      hence 0 <> s1.n by A17;
    end;
    then
A20: s1 is non-zero by COMSEQ_1:4;
    lim s0 = 0 by Th3;
    then lim s1 = g*0 by COMSEQ_2:18;
    then reconsider h = s1 as 0-convergent non-zero Complex_Sequence
by ,;
A21: for        . (h)#(/h). by VALUED_1:5;
    proof
      let n;
      reconsider g0 = g/(n+2) as Complex;
      akex = z0+0java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
0+ <n++1 by XREAL_1:6;
      then
A22:  g/(n+2) < g/1 by A17,then
      .+-z0. = g/(+2)byA17,ABSVALUE:def 1;
thenx  { where y  Complex :|.y-z0. <g by ;
en  N0  A18;
      hence thesis by A16,A36:lim((h")#)R1/h)-(h)()R*h))=a byCFCONT_1:28;
    
A23: a = a1("()R*)is    ("#(/h)=0 byDef3
A24 now
      let z be Complex;
      assume that
A25:  z in N and
A26:  z in java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
      reconsider t0=z0,t=z  attr fis differentiablemeans
      f/.z-f/.z0 = L/.(z-z0)+R/.(zfor stx  dom f holds  is_differentiable_in ;
      then L/.(z-z0)+R/.(z-z0) = L1/.(z-z0)+R1/.(z-z0) by A14,A26;
      then a1*(t-t0)+R/.(t-t0) = L1/.(definition
      then (a1*1r)z-0+R/(z-)=(b11r)(-)R1.(-z0)by ;
        pred f is X java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    end;
A27: a-b in COMPLEX by XCMPLX_0:def 2;
    now
      dom R1 = COMPLEX by java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 12
           then
A28:  rng h c= dom R1;
      dom R =COMPLEX by :ef 2;
      then
A29:  rng h c= dom R;
      let n be Nat;
A30:  n in NAT by ORDINAL1:def 12y-.|<r};
      then
A31:  h.n <> 0c by COMSEQ_1:4;
      ex x be Complex stletx be Complex;
      then a*(.)R(.n)=b(.)+R1.hn)by ;
      then
A32:(
a*(h.n))/(      inX0
A33:  (b*(h.n))     ex  x =y  .z0.  by;
        .= b    then
:  R1.hn)(.) = (R1.h)*h.)by:0
        .=    reconsiderNasNeighbourhood xTh6
        .= ((h") r1<r |x-z0. by A2,XREAL_1:16java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
 (*hn)/hn)=a*(n/hn). a* byA31,:60
        .= a;
      (R/.(h.n))/(h.n) = (R/. let z be object
 ((/h.n)(h"n by A30,29,FUNCT_2:09
        .= ((h")(#)(R/    then consider y1 be Complex such that
      hence a-b = (((h")(#)(R1/*h))A5:|y1-x. < r1;
        .= (((h")(#)(R1/*h)).n+(-((h")(#)(R/*h))).n) by java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 52
        .= ((h")(#)(R1/*h)+     |y1-z0. <=|.1-.||.x-0. &|.y1-x||z0.  by,
    end;
     then .-z0.|  rby :2;
    ((h")(#)(    hence thesis by A1,4java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    (#(R *h)). = ab  VALUED_0:ef18,A27;
    then
A36:lim(("()R1*)-(")()R/)  -b  :;
A37: (h")(#)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    (h")(#)(R/*h) is    X be  COMPLEX be  ofCOMPLEX,  Real
thena-b= 0- by A36,37COMSEQ_2:26
    hence thesis;
  ;
end;

definition
  let f;
  attr f is differentiable means

  for x st x in dom f holds f A1: X = {y where y is Complex : |.y-z0.| <;
end;

definition
let f,;
  pred f is_differentiable_on X means

=f&fXisdifferentiable
end;

theorems2= - z0asjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 19
  f is_differentiable_on X implies X is Subset     then consider N being Neighbourhood of x0 suc
by 1

definition :: complex-membered set
  let X be Subset java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 8
  attr X is closed means

  for s1 be java.lang.StringIndexOutOfBoundsException: Range [2, 28) out of bounds for length 6
  s1 is convergent end
end

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

  X` is closed    reconsider  ={ where y is Complex:|y-.| <}as COMPLEX
end;

theorem Th9:
  for X being Subset xinZ holds
  z0 in X ex N  f is_differentiable_in x
proof
  let X be Subset of COMPLEX;
  assume X is open;
  then
A1: X` is closed;
  let z0 be Complex;
  assume that
A2: z0 in X and
:forN be Neighbourhood of z0 holds not Nc X;
 PNatComplex]means $ in {y whereyis Complex:|.-0
  .| < 1/($1+1)} & $2 in X`;
  now
    let g be Real     let x0;
A4: 0 < g;
    set N = {y where y is Complex : |.y-z0.|A3 fZ  differentiable
    N is Neighbourhood of z0 by A4,Th6;
    then not N c= X by A3;
    then consider x be object such that
A5: x in N and
A6: not x in X;
    consider s be Complex such that
A7: x = s and
A8:|s-.| <  byA5;
    reconsider s as Element of COMPLEX by XCMPLX_0:def 2;
A6: x0 indom f;
    thus s in N by A8;
    thus s in X` by A6,A7,    then f.x0 in {a1} by A4,FUNCT_1 3;
 end;
  then
A9: for n being Element of NAT ex    hence f/x0=a1 TARSKIdef1;
  consider s1 be sequence of COMPLEX such that
A10: for A7: now
A11: rng s1 c=    let x0;
  proof
    let y be object;
    assume y in rng s1;
    then consider y1 be object such that
A12: y1 in dom s1 and
A13: s1.y1 = y by FUNCT_1:def 3;
reconsider y1 as Element of NAT by A12;
    s1.y1 A10:Nc=dom f by A3,9;
    A11:x  x0  COMPLEX by XCMPLX_0:def 2;
  end;
A14:     for  st x in N holds f/xf.x0  L/(x-0+R/.x-x0)
    let p be Real;
    assume
A15: 0 <p;
    consider n such that
A16      assume x in Njava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    take n;
    let m be Nat;
    assume n <= m;
    then n+1 <= -0+c by FUNCOP_17,A11
    then
A17: 1/(m+1) <= 1/(n+1    end;
    m in NAT by ORDINAL1:def 12;
then .m in { where y is Complex :|.y-z0.|< 1/(+1}by A10;
    then ex y be Complex st s1.m = y & |.y-z0.| < 1/(m+1);
    then
A18: |.s1.m-z0.| < 1/(nA12 f is_differentiable_onZ by A3,h15
    p+0 <n1by A16,REAL_1:8;
    then 1/(n+1) < 1/p" by A15,XREAL_1:76;
    hence |.s1.m - z0.| < p A13:x0  Z
  end;
  then
A19: s1 is convergent;
  then lim s1 = z0 by A14,COMSEQ_2:def 6;
 z0in  \XbyA19,A11,java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  hence contradiction by A2,BOOLE_0:def 5java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
end;

theorem
  for X being Subset A16 for x st x in N holds /.-f/x0 =L/(-x0)R.(-x0)
  X holds ex g be Real st  proof
proof
  let X be Subset of COMPLEX such that
: X is open;
  let z0 be Complex;
  assume z0 in X;
  java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A2: N c= X by A1,Th9;
  consider g be Real such that
  0 < g and
A3: {y where y is Complex : |.y-z0.| < g} c=    thus (seq)^\)n=(seq".nk by NAT_1 3
  take g;
  thus thesis by A2,A3;
end;

theorem Th11:
  forX  of   (z0  Complex   in
  X holds ex N be Neighbourhood of z0 st N c= X) implies  end;
proof
  let X be  hence thesis;
  assume that
A1: for z0 be Complex st z0 in X holds ex N be Neighbourhood of z0 st N
  c= X and
A2: not X is   (eq((#seq1)\k = (eq^\)#)(eq1\k)
  not X` is closed by A2;
  then consider s1 be sequence of COMPLEX such that
A3: rng s1 c= X` and
: is convergent and
A5: not lim s1 in X`;
lims1 in COMPLEX by XCMPLX_0:def 2java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
  ,SUBSET_1:9;
  then consider N be Neighbourhood of (lim s1) such that
A6: N c= X by A1;
  consider g       .= ((seq^)()seq1^\).n by VALUED_1:5;
A7: 0 < g and
8 y  isComplex  .(s1)|<g}c=N Def5;
  consider n such that
A9: for m be Nat st n <= m
  holds |.(s1.m)-(lim s1).| < g by A4,A7,
COMSEQ_2:def 6;
  n in NAT by ORDINAL1:def 12;
then in  s1byFUNCT_2:def 1;
  then
A10: s1.n in rng s1 by FUNCT_1:def 3;
   |s1n(lim s1)| <gby ;
  then s1.n in {y where y is Complex c N holds h"#(f/(+c)-/c is convergent & diff(f,x0) = lim (h"(#)(f/*(h+c
  thenproof
    let x be Complex;
end;

theorem
  for X Subset of COMPLEX holds X is open iff for x be Complex st x
  in X ex NNeighbourhood of x st N c=Xby Th9,h11;

theorem Th13:
  for X be Subset of COMPLEX, z0 be Element of COMPLEX, r be
   RealstX={wherey Complex :|y.  r holdsX is
proof
letbe bejava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 66
  reconsider X0 =then(hc^n)inrng ()byFUNCT_2112
  assume
A1: X = {y where y A36: ((h+c)^\n).k in N2A19
  forx beComplexst inX0 Nbe Neighbourhood ofxst N c= X0
  proof
    let x be Complex;
    reconsider r1 = (r- |.x-z0.|)/2 as Real;
    set N = {y where y is Complex : |.y-x.| < r1};
   x X0;
    then ex y be Complex st x = y & |.y-z0.| < r by A1;
    then
A2: r - |.x-z0.| > 0 by       .= h.(k+n)+c.(k+n)-(c)kby VALUED_11A34
   reconsider N as Neighbourhood of x by Th6;
    r1 < r-. h\.+c\n)k-^\n. by NAT_1def3
    then
A3: r1+|.x-z0.| < (r- |.x-z0.     thesisby A20,5A,java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    take N;
    beobject;
    assume z in A39: rng ((h+c)^\=domjava.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
    java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
A4: z = y1 and
A5 .y1x. <r1;
    |.y1-x.|CFCONT_11
    then |.y1-z0.| <= |.y1-x.|+|.x-z0.| & |.y1-x.|+| .=f.(h)\)k-f/*c\). A39FUNCT_2109
OMPLEX163XXREAL_02java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
then|z0| <by :2java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    thesisby A1,;
  end;
hence thesisby ;
end;

theorem
  forend;
  then
proof
 letX beSubsetof COMPLEX,  Elementof ,rbeReal
  reconsider X0 = X as Subset   ) by FUNCT_2:ef7
    . ((f/*h))\)f*(^n)(#)(h^\n)") by A38,VALUED_0:27
A1: X = {y where y    =((f*(+))\)(f*)\)()h\)) A12VALUED_027
  for s1 be Complex_Sequencejava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
  s1 in X0
  
    reconsider r as Element ofthus h # (/*(+c)f/c) isconvergentby A23A40CFCONT_1:
   stx   /xf.0 = L.x)R.x-0)by ,;
    reconsider s2 =   hence thesis by A1,A6,java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    let s1 be 
    assume that
A2: rng s1 c=  forf1,2,x0   is_differentiable_in  
:s1 convergent;
    set s3 = s1-s2;
A4: s2 is convergent by CFCONT_1:26;
    then
:s3=lim - by COMSEQ_2;
A6: for n be Element of NAT  let f1,java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 15
proof
      let n A2   java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
      now
        let n be Element of NAT;
s3=n(s2.n  :
          .= s1.n-s2.n by VALUED_1:8;
        hence s3.n = s1.n-z0;
      end
      then
:.n .z0java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
      dom s1 = NAT by FUNCT_2:def 1;
      then s1.n in rng s1 by  Lst xst  inN2holdsf2/xf2/x0  /xx0/xx0java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
      then   consider L2R2suchthat
then  y beComplexst y =s1 &|y-z0.| <= r by A1;
      hence thesis by A7,VALUED_1:18;
    end;
    s3 is convergent by consider R suchthat
    then
A8 |s3.=|lim . by SEQ_227
    reconsider s3 = s1-s2 as convergent java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 37
 beNat  |s3.. = s4.n
    proof
       nNat
A10:   n A9: N c= N1
      (|.s3.|)  = byLm1java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
      hence thesis by SEQ_1:57;
    end;
 nbeElementof NAT holdslim =z0
    proof
      let n beElementof ;
      lim s2 = s2.n by CFCONT_1:28
        A12  c (-  :java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
      hence java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 10
    end;
=s40bySEQ_426
      .= r by SEQ_1:57;
    then lim |.s3.| <= r by A9A16N;
    .l )z0. = r A11,5A8
    hence       .= f1/-/-/x0f2.0 A12A14,FUNCT_12
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
 thesis
end;=.xx0+/(-x0)(2.x-x0).xx0) A8,A10,16

registration
  cluster open for Subset of COMPLEX;
  existence
  proof
 yisComplex:.-c. <}as COMPLEX
    by Th6;
    X is open by Th13;
    hencethesis
  end;
end;

reserve Z for open Subset of COMPLEX;

theorem Th15:
  f is_differentiable_on Z    =difff,-/rby ,3A5,Def7
  f is_differentiable_in x
proof
  thus
java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 24
  proof
   
A1: f      =L.x0(.x).x0) 64A15
    hence
 c domf;
    let x0;
A3: f|Z is differentiable by A1;
    assume
hence#
    then x0 in  ..r.rbyCFUNCT_164
   fZis_differentiable_inA3;
    then consider N being Neighbourhood of. .*/1+/by:
  (fZ java.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
A6: ex L,R st for x st x in N holds;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    take N;
   fZ =domf\ byRELAT_161
    then dom  xstxinZholds(`/ r
    hence N c= dom f by A5;
    considerLRsuch 
A7: for x st x in N holds (    ;
    take L, R;
    let x;
    assume
A8: x in N;
    then (f|Z)/.x-(f|Z)/.x0 = L/.(x-x0)+R/.(x-x0) by A1 COMPLEXc java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 23
    then
A9 /(|)/x0=L.x)R.x-0 byA5,8P15;
    x0 in dom f/\    byPARTFUN26
    hence thesis  end
  end;
  assume that
A10: Z c= dom java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 5
 x  fis_differentiable_in
  thus ZletnbeNat;
  let x0;
  assume x0 in dom (f|Z);
  then
A12: x0 in Z by RELAT_1:57;
  then consider N1 being Neighbourhood of x0 such that
:=;
  f is_differentiable_in x0 by A11,A12;
  then consider N java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 20
A14: N c= dom f and
A15: ex L,R st for x st x in N     then (h")(#)(R/*h) is constant &"(
  consider N2     hence (h")(#R*)  &lim(h)#(/h)=0  26
A16: N2 c= N1 and
A17: N2 c= N ,;
A18: N2 c= Z by java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 6
  take N2;
  N2 c= dom f by A14,A17;
  then N2 c= dom f/\Z by A18,XBOOLE_1: let ,Zjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11

A19: N2 c= dom(f|Z) by RELAT_1A4:Zc= domf and
  consider L,R such that
A20: for x st x in N holds f/.x-f/.x0 = L/.(xA6:now
A21: x0 in N2 by Th7;
  take L, R;
  let x;
  assume
 in N2;
  then f/.x-f/.x0 = L/.(x-x0)+R/.(x-x0) by A17,A20;
    then (|).   by A5,FUNCT_118
  hence     . =x by A7,UNCT_1:49;
end;

theorem
  f is_differentiable_on Y implies Y is open
proof
  assume
A1: f is_differentiable_on Y;
  then
A2: Y c= dom    assume
  now
 java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 22
    assume x0 in Y;
    then
A3: x0 in dom (f|YA10:N=Zby Th9
    f|A11: fo  st in f.-. = /(-0)+.xx0)
    
    then consider N being       letx
A4: N c= A12: x - x0COMPLEXby 2;
    ex L,R st for x st x in N holds (f|Y)in;
    x0);
    take N;
    dom(f|Y) = dom f/\Y by RELAT_1:61;
    then dom(f|Y) c= Y by XBOOLE_1:17;
    hence N c= Y by A4;
  end;
  A14 in;
endthen   being    

definition
  let ,;
  assume
A1: f is_differentiable_on X;
`X-  ofCOMPLEXCOMPLEXmeans
  :Def12:
  domit=X&forx xin X  /x=diff(,)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
  existence
  proof
    deffunc F(Element of   c ;
    defpred Pconsider N2  Neighbourhoodof such 
    considerA18:N2 =N1and
A2:  N2c  by ;
    Element:N2  f,;
takeF
    now
A3:   X is Subset of COMPLEX by A1,Th8;
      let y be object: x-x0 in COMPLEXby : ;
      assume y in X    x  N2;
            in N1  A18java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
    end;
    then
A4: X c= dom F;
being st  domholdsy  byjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
 F=;
    hence dom F = X java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 6
    
      let x;

A5:     x in X;    .=
      x in COMPLEX by java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 4
      then
A6:   x in dom F by A2,A5;
x (x A2
      hence F/.x = diff(f,x)is_differentiable_on +is_differentiable_on &for stxin
    end;
 ;
  end;
  uniqueness
  proof
    let F,G be PartFunc of COMPLEX,COMPLEX;
    assume that
A7: dom F = X and
A8: for x st x in X holds F  hence thesis;
A9: dom G = X and
A10: for x st x in X holds G/.x = diff(f,x);
    now
et xbeElement of COMPLEX;
      assume
1  x in dom F;
      then F/.x = diff(f,x) by A7,A8;
      hence F/.x = G/.x by A7,A10,A11;
    proof
    hence thesis by A7,A9,PARTFUN2:1;
  end;
end;

theorem
  for f,Z st Z c= dom f & ex a1 st rng f = {a1} holds f
  is_differentiable_on Z & for x st x in Z holds (f`|Z)/.x = 0c
proof
  reconsider cf = COMPLEX --  set R=cf
  set R = cf;
  now
    let h;
    now
      let n be Nat;
A2:   rng h c= dom R & n in NAT by ORDINAL1:def 12;
      thus ()()(/h)n= h).*(R/h.)by VALUED_1:java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
        .= (h").n*(R/.(h.n)) by A2,FUNCT_2:109
        .= ("
.*0c
        .= 0c;
    end;
    then (h")(#)(R/*h) is constant & ((h")(#)(R/*h)).0 = 0c by VALUED_0:def 18;
    hence (h"
)(#)(R/*h) is convergent & lim ((h")(#)(R/*h)) = 0c by CFCONT_1:26
,27;
  end;
  then reconsiderR asC_RestFunc by Def3;
  set L = cf;
  for z holds L/.z = 0c*z
   by XCMPLX_0:def 2,FUNCOP_1:7;
  then reconsider,7;
  let f, Z such that
A3: Z c= dom f;
  given a1 such that
A4: rng f = {a1};
A5: now
t ;
    assume
A6:x0 in dom f;
    then f.x0 in {a1} by A4,FUNCT_1:def 3    XCMPLX_0:def 2,FUNCOP_1:;
    then f/.x0  then reconsider  as C_LinearFunc  Def4;
    hence f/.x0 =  assume  that
  end;
A7: now
    let x0;
    assume
A8: x0 in Z;
    then consider N being Neighbourhood of x0 such that
A9: N c= Z by Th9;
A10: N c= dom f by A3,A9;
A11: x - x0 in COMPLEX by XCMPLX_0:def 2;
forx st  in  holds /x-/.0=L.(x-x0)R.x-)
    proof
      A8: N c= by Th9;
      assume x in N;
      hence f/.x-f/.x0 = a1-f/.x0 by A5,A10
        .= a1-a1 by A3,A5,A8
        .= L/.(x-x0)+0c by FUNCOP_1:7,A10: x0 in Z/\dom f by A3,A7,XBOOLE_0:def
        .= L/.(x-x0    for x st x   holds f.-f/x0=L.(x-)+/(-0
    end;
    hence f is_differentiable_in x0 by A10;
  end;
  hence
A12: f is_differentiable_on Z by A3,Th15;
  let x0;
  assume
A13:x0  ;
  then
A14:       hence f/x/.0  a1-f/x by A5
  then ex N being Neighbourhood java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 26
Nholds f/.-/x0 =L/(x-x0)R.(x-x0)
  then consider N being Neighbourhood of x0 such that
A15:N =dom f
A16: for x st x in N holds f/.x-f/.x0 = L/.(x-x0    end
  proof
    let x;
A17: x - x0 in COMPLEX by XCMPLX_0:def 2;
    assume x in N;
    hence f/.A12 f is_differentiable_on Z by A3,Th15;
      .= a1-a1 by A3,A5,A13
      .= L/.(x-x0)+0c by FUNCOP_1:7,A17
      .= L/.(x-x0)+R/.(x-x0) by FUNCOP_1:  assume
  end;
  thus (f`|Z)/.x0 = diff(f,x0) by A12,A13,Def12
   . /1 by A14,15,Def7
    .= 0c;
end;

registration
  let seq be non-zero Complex_SequenceA15:Nc dom f by A3,14java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
cluster seq ^k -> non-zero;
  coherence
  proof
    reconsider k as Elementf/.xf.x0 =L/(x-x0)R.x-0)
    now
      let n be Element of NAT;
      (seq ^\k).n = seq.(n+k) by NAT_1:def 3;
      hence (seq ^\k).n <> 0c A18: x- x0 in COMPLEX by XCMPLX_0:ef;
    end;
    hence thesis by COMSEQ_1:4;
  end;
end;

registration
  let ,;
  cluster h^\n -> 0-convergent for Complex_Sequence;
  coherence
  proof
lim =0by ;
    then
A1: lim (h^\n) = 0 by CFCONT_1:21;
    ^\n  convergent by CFCONT_1:21;
    hence thesis by A1;
  end;
nd;

theorem Th18:
\k)(seq1^k
proof
  now
    let n be Element of NAT;
A1:  n+k in NAT end;
   thus ((seq+seq1)^\k).n =
      .= seq.(n+k)+seq1.(n+k) by VALUED_1:1,A1
      .= (seq^\k).n+seq1.(n+k)   Z =domf &(for x  x in Z holds f/x =a*+b)implies f
      .= (seq^\k).n+(seq1^\k).n by NAT_1:def 3
      .=(seq^\)+(seq1^\).n by VALUED_1:;
  end;
  hence thesis;
end;

theorem Th19:
  (seq-seq1)^\k = (seq^\k)-(seq1^\k)
proof
  now
    letjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A1:nk in  by ORDINAL1:def 12;
    thus ((seq-seq1)^\k).n = (seq+-seq1).(n+k)     now
      .= seq.(n+k)+(      let n be ;
      .= seq.(n+k)+-seq1.(n+k)  by ORDINAL1:def 12;
      .= (seq^\k).n-seq1.(n+k) by NAT_1:def 3
             (h"#(R/h).n =(h"n*(R/h). by VALUED_1:5
      .= (seq^\k).)(/.(.) by A2,FUNCT_2109
      .= ((seq^\k)-(seq1^\k)).n by java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 20
  end;
  hence thesis;


theorem Th20:
  (seq")^\k = (seq^\k)"
proof
  now
    let n be Element of NAT;
    thus ((seq")^\k).n = (seq").(n+k) by NAT_1:def 3
      .= (seq.(n+k))" by VALUED_1:10
      .= ((seq^\k).n)"
 by NAT_1:def 3
      .= ((seq^\k)").n by VALUED_1:10;
  end;
  hence thesis;
end;

theorem Th21:
  (seq(#)seq1)^\k = (seq^\k)(#)(seq1^\k)
proof
  now
    let n be Element of NAT;
    thus ((seq(#)seq1)^\k).n = (seq(#)seq1).(n+k) by NAT_1:def 3
      .= seq.(n+k)*seq1.(n+k) by VALUED_1:5
      .= (seq^\k).n*seq1.(n+k) by NAT_1:def 3
      .= (seq^\k).n*(seq1^\k).n by NAT_1:def 3
      .= ((seq^\k)(#)(seq1^\k)).n by VALUED_1:5;
  end;
  hence thesis;
end;

theorem Th22:
  for x0 be Complex for N being Neighbourhood of x0 st f
is_differentiable_in x0 & N c= dom f holds for h,c st rng c = {x0} & rng (h+c)
c= N holds h"
(#)(f/*(h+c)-f/*c) is convergent & diff(f,x0) = lim (h"(#)(f/*(h+c
  )-f/*c))
proof
  let x0 
  let N be Neighbourhood of x0;
  assume that
A1: f is_differentiable_in x0 and
A2: N c=dom;
  consider N1 be Neighbourhood of x0 such that
  N1 c= dom f and
 stforst in holds /.-f/x0 =L.xx0+.x-) by A1;
  consider N2 be Neighbourhood of x0 such that
A4: N2 c= N and
A5: N2 c= N1 by Lm1;
A6: N2 c= dom f by A2,A4;
  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: {y where    hence f/.xf.x0  a1-/x0  A5
  |.x0-x0.| = 0 by COMPLEX1:44;
  then       = a1- by ,
  then
A11: x0 in N2 by A10;
A12: rng c c= dom f
  proof
    let y be object;
    assume y in rng c;
    then y = x0 by A7,TARSKI:def 1;
    then y in N by A4,A11;
    hence thesis by A2;
  end;
  ex n st  (^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 CFCONT_1:27;
A14: c is convergent by CFCONT_1:26;
    then
A15: h+c is convergent;
    lim h = 0 by Def1;
    then lim (h+c) = 0+x0 by A14,A13,COMSEQ_2:14
      .= x0;
    then consider n such that
A16: for m being Nat st n <= m holds |.(h+c).m-x0.| < g by A9,A15,
COMSEQ_2:def 6;
    take n;
A17: rng (c^\n) = {x0} by A7,VALUED_0:26;
    thus rng (c^\n) c= N2
    by A11,A17,TARSKI:def 1;
    let y be object;
    assume y in rng ((h+c)^\n);
    then consider m being Element of NAT such that
A18: y = ((h+c)^\n).m by FUNCT_2:113;
    reconsider y1 = y as Complex by A18;
    n+0 <= n+m by XREAL_1:7;
    then |.(h+c).(n+m)-x0.| < g by A16;
    then |.((h+c)^\n).m-x0.| < g by NAT_1:def 3;
    then y1 in {z where z is Complex : |.z-x0.| < g} by A18;
    hence thesis by A10;
  end;
  then consider n such that
  rng (c^\n) c= N2 and
A19: rng ((h+c)^\n) c= N2;
  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;
A21: rng (c^\n) c= dom f
  proof
    let y be object;
    assume
A22: y in rng (c^\n);
    rng (c^\n) = rng c by VALUED_0:26;
    then y = x0 by A7,A22,TARSKI:def 1;
    then y in N by A4,A11;
    hence thesis by A2;
  end;
A23: (L/*(h^\n)+R/*(h^\n))(#)(h^\n)" is convergent & lim ((L/*(h^\n)+R/*(h^\
  n))(#)(h^\n)") = L/.1r
  proof
    deffunc F(Nat) = L/.1r+((R/*(h^\n))(#)(h^\n)").$1;
    consider s1 such that
A24: for k holds s1.k = F(k) from COMSEQ_1:sch 1;
A25: now
A26:  ((h^\n)")(#)(R/*(h^\n)) is convergent & lim (((h^\n)")(#)(R/*(h^\n)
      )) = 0 by Def3;
      let r be Real;
      assume 0 < r;
      then consider m being Nat such that
A27:  for k being Nat st m <= k
          holds |.(((h^\n)"
)(#)(R/*(h^\n))).k-0c.| < r
      by A26,COMSEQ_2:def 6;
      take n1 = m;
      let k such that
A28:  n1 <= k;
      |.s1.k-L/.1r.| = |.L/.1r+((R/*(h^\n))(#)(h^\n)").k-L/.1r .| by A24
        .= |.(((h^\n)")(#)(R/*(h^\n))).k-0c.|;
      hence |.s1.k-L/.1r.| < r by A27,A28;
    end;
    consider x such that
A29: for b1 holds L/.b1 = x*b1 by Def4;
A30: L/.1r = x*1r by A29
      .= x;
    now
      let m be Element of NAT;
A31:  (h^\n).m <> 0c by COMSEQ_1:4;
      thus ((L/*(h^\n)+R/*(h^\n))(#)(h^\n)").m = ((L/*(h^\n)+R/*(h^\n)).m)*((h
      ^\n)"
).m by VALUED_1:5
        .= ((L/*(h^\n)).m+(R/*(h^\n)).m) *((h^\n)").m by VALUED_1:1
        .= ((L/*(h^\n)).m)*((h^\n)"
).m+((R/*(h^\n)).m)*((h^\n)").m
        .= ((L/*(h^\n)).m)*((h^\n)"
).m+((R/*(h^\n))(#)(h^\n)").m by VALUED_1:5
        .= ((L/*(h^\n)).m)*((h^\n).m)"+((R/*(h^\n))(#)(h^\n)").m by VALUED_1:10
        .= (L/.((h^\n).m))*((h^\n).m)"
+((R/*(h^\n))(#)(h^\n)").m by FUNCT_2:115
        = (*((^n.m))(h\n)"(R/(^n)#
        .= x*((end;
        .= x*1r+((java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 0
       . s1.m  A24,;
    end;
    then
A32: (L/*(h^\n)+R/*(java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
h^\n)()h\n) is convergentby ;
    hence thesis by A32,A25,   =java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  end;
A33: for k java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 7
  proof
    let k;
A34:  k+n in NAT by ORDINAL1:def 12;
A35:  k in NAT by ORDINAL1:def 12;
    then ((h+c)^\n).k in rng ((h+c)^\n) by FUNCT_2:112;
    then
A36: ((        . .)*c
    (c^\n).. cjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
        by FUNCT_2:112,VALUED_0:26,A35;
    then
A37: (c^\n).k = x0 by A7     h)(#)(R/*h) is convergent & lim ((h")(#)(R/*h)) = 0c by CFCONT_1:26
    ((h+c)^\n).;
      .= h.(k+n)+c.(k+n)-(c^\n)  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
.(k+n)(c^n). by : 3
      .= (h^\n).k+(c^\n).k-(c^\n).k by NAT_1:def 3
      .= (h^\n).k;
    hence thesis by A20,A5,A36,A37;
  end;
A38: rng (h+c) c= dom f
byA8,;
A39: rng ((h+c)^\n) c= dom f
  by A19,A4,A2;
  now
    let k be Element of NAT;
    thus (f/*((h+c)^\n)-f/*(c^\n)).k = (f/*((h+c)^\n)).k-(f/*      letdef;
CFCONT_1:1
/(+c^n))((^).  A39,:09
      .= f/.(((h+c)^\n).      =x0;
      . /.(^n.)R/((^n deffunc Nat  s$1s2.,;
      . (/(^n);
      .= (L/*(h^\n)).k+(R/*(h^\n)).k by FUNCT_2:115
      .= (L/*    then
  end;
  then
A40: ((L/*(h^\n)      ;
  "
) by FUNCT_2:def 7
    .= ((((f/*(h+c))^\n)-f/*(c^\n))(#)(h^\n)") by A38,VALUED_0:27
    .= ((((f/*(h+c))^\n)-( ;
    .=end
    .= ((((A14   - :;
    .= (((( is26;
  then
A41: L/.1r = lim ((h")(#)((f/*(h+c))-(f/*c))) by A23,CFCONT_1:23;
  thus h"
 (#) (f/*(h+c)-f/*c) is convergent by A23,A40,CFCONT_1:22;
forx x holdsf.-/x0=L/(-)R/xx0 byA20,5;
  hence thesis by A1,A6,A41,Def7;
end;

theorem Th23:
  for f1,f2,x0 st f1 is_differentiable_in x0 & f2
s_differentiable_in x0  +2  x0&difff1+, java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
  diff(f1,x0)+ reconsider   ^\  constant;
proof
  let f1,f2,x0;
  assumethat
A1: f1 is_differentiable_in java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 16
A2: f2 is_differentiable_in x0;
        contradictionby ;
A3: N1 c= dom f1 and
A4: ex L, R st java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 8
  by A1;
  consider  n being  NATsuch 
A5: for x st x A21  s3\)n  cjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  consider N2 be Neighbourhood of x0 such that
A6: =dom f2 and
A7: ex L,R stjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 37
  by A2;
    
A8: for x st x in A23: s3^\l is non-zero COMSEQ_14
  reconsider    s3^l is convergent by A16,CFCONT_1:21;
  reconsider L = L1+L2 as C_LinearFunc;
  considerN Neighbourhood of x0 such that
A9: N c= N1 and
A10:N=   Lm1;
A11: N c= dom f2 by A6,A10;
  N c= dom f1 by A3,A9;
  then N /\ N c= dom f1/\ dom       (*hc-* NAT
  
A12: N c=        =(*+c.;
A13: now
    let x;
A14: x0 in N by Th7;
A15:  x-x0 in COMPLEX by XCMPLX_0:def 2;
    assume
A16: x in N;
nl  by:ef12
      .= f1/.x+f2/.      thus (+c)n =(-s2^l)n  A14,Th18
      .= (f1/.x-f1/.        .= (s1-s2+s2).l NAT_1def 3
. .-)R1.x0+/f2x)byA5,,16
      .= L1/.(x-x0)+R1/.(x-x0)+(        = s1.n+)s2.n+)s2.n+l)by CFCONT_1:java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
      .= (L1/.(x-x0)+L2/.(x-x0))+(R1/.(x-x0)+R2    end
      .= L/.(x-x0)+(R1/.(x-x0)+R2/.(x-x0)) by CFUNCT_1:64,A15
. /(-+/(-java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
  ;
  hence f1A27   x0
  hence diff(    
    .      rng c x0java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
    .= diff(f1,x0        y;
.f,0+(f2,) ,A8D;
end;

theorem Th24:
  for f1,f2,x0 st f1 is_differentiable_in x0 & f2
is_differentiable_in x0 holds f1-f2 is_differentiable_in x0 & diff(f1-f2,x0) =
  diff(f1,x0)-diff(f2,x0)
proof
  let f1,f2,x0;
  assume that
A1: f1 is_differentiable_in x0 and
A2: f2 is_differentiable_in x0;
  consider N1 be Neighbourhood of x0       assume in{0;
A3: N1 c= dom f1 and
A4: ex L,R st for x st x in N1 =d ;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  consider L1,R1 such that
A5: for x st x in N1 holds f1/.x-f1/.x0 = L1/.(x-x0)+R1/.(x-x0) by A4;
  consider N2 be Neighbourhood of x0 such that
A6: N2 c= dom f2 and
A7: ex L,R st for x st x in N2 holds f2/.x-f2/.x0 = L/.(x-x0)+R/.(x-x0)
  by A2;
  consider L2,R2 such that
A8: for x st x in N2 holds f2/.x-f2/.x0 = L2/.(x-x0)+R2/.(x-x0) by A7;
 reconsider  R1- asC_RestFunc;
  reconsider L = L1-L2 as C_LinearFunc;
 consider N  Neighbourhoodof  such that
A9: N c= N1 and
A10:N c=N2  Lm1;
A11: N c= dom f2 by A6,A10;
  N c= dom f1 by java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 7
  then N /\ N c= dom f1/\ dom f2 by A11,XBOOLE_1java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  then
  =(1f2 2;
A13: now
    let x;
    byTh7
A15:  x-  consider, 
    assume
 inN;
    hence (f1-f2)/.x-(f1-f2)/.x0 = (f1  take R;
      .  considera suchthat
      .= f1/.x-f1/.x0-(f2/.x-f2/.x0A3 for  holds /z=a*  ;
      .= L1/.(x-x0)+R1/.(x-x0)-(f2/.x-f2/.x0) by A5,A9,A16
      ./xx0+/(-)(.x0+/(-)  ,A10A16
      .= L1/.(x-x0)-L2/.(x-x0)+(R1/.(x-x0)-R2/.(x-x0))
      .= L/.(x-x0)+(R1/.(x-x0)-R2/.(x-x0)) by CFUNCT_1:64,A15
      .= L/.(x-x0)+R/.(x-x0) by CFUNCT_1:64,A15;
  end;
  hence f1-f2 is_differentiable_in x0 by A12;
  hence diff(f1-f2,x0) = L/.1r by A12,A13,Def7
    .= L1/.1r-L2/.1r by CFUNCT_1:64
    .= diff(f1,x0)-L2/.1r by A1,A3,A5,Def7
    .= diff(f1,x0)-diff(f2,x0) by A2,A6,A8,Def7;
end;

theorem Th25:
  for a,f,x0 st f is_differentiable_in x0 holds a(#)f
  is_differentiable_in x0 & diff((a(#)f),x0) = a*diff(f,x0)
proof
  let a,f,x0;
  assume
A1: f is_differentiable_in x0;
  then consider N1 be Neighbourhood of x0 such that
A2: N1 c= dom f and
A3: ex L,R st for x st x in N1 holds f/.x-f/.x0 = L/.(x-x0)+R/.(x-x0);
  consider L1,R1 such that
A4: for x st x in N1 holds f/.x-f/.x0 = L1/.(x-x0)+R1/.(x-x0) by A3;
  reconsider R = a(#)R1 as C_RestFunc;
  reconsider L = a(#)L1 as C_LinearFunc;
A5: N1 c= dom(a(#)f) by A2,VALUED_1:def 5;
A6: now
    let x;
A7: x0 in N1 by Th7;
A8:  x-x0 in COMPLEX by XCMPLX_0:def 2;
    assume
A9: x in N1;
    hence (a(#)f)/.x-(a(#)f)/.x0 = a*(f/.x)-(a(#)f)/.x0 by A5,CFUNCT_1:4
      .= a*f/.x-a*f/.x0 by A5,A7,CFUNCT_1:4
      .= a*(f/.x-f/.x0)
      .= a*(L1/.(x-x0)+R1/.(x-x0)) by A4,A9
      .= a*L1/.(x-x0)+a*R1/.(x-x0)
      .= L/.(x-x0)+a*R1/.(x-x0) by CFUNCT_1:65,A8
      .= L/.(x-x0)+R/.(x-x0) by CFUNCT_1:65,A8;
  end;
  hence a(#)f is_differentiable_in x0 by A5;
  hence diff((a(#)f),x0) = L/.1r by A5,A6,Def7
    .= a*L1/.1r by CFUNCT_1:65
    .= a*diff(f,x0) by A1,A2,A4,Def7;
end;

theorem Th26:
  for f1  
is_differentiable_in x0 holds A5  dom f RELAT_1;
  )=f2.x0)diff(,x0)+)diff(,x0
proof
  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 15
  assume that
A1:f1 x0 java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
A2: f2 is_differentiable_in x0;
  consider N2 be Neighbourhood of x0 such that
A3: N2 c= dom f2 and
A4: ex L,R st for x st x in N2 holds f2/.x-f2/.x0 = L/.(x-x0)+R/.(x-x0)
  by A2;
  consider L2,R2 such that
ldsf2/x-f2/x  .x)R2/(-0)  ;
  reconsider R12 =   x-)
  reconsider   being x0 
  consider N1 :N2c=N and
A6: N1 c= dom f1 and
A7 ex Rst for x st  inholds /x-/x  /xx0)R/(-
  by A1;
  consider L1,R1 such that
A8: for x st x in N1 holds f1/.x-f1/.x0   (fX  f/Xby 61
estFunc;
  reconsider L11 = (f2/.x0)(#)L1 as C_LinearFunc;
  reconsider R18 = R2(#)L1 as C_RestFunc;
  reconsider R17 = R1(#)R2 as C_RestFunc;
  reconsider R16 = R1(#)L2 as C_RestFunc;
  reconsider R14 = L1(#)L2 as C_RestFunc;
  reconsider R13 = R11+R12 as C_RestFunc;
  reconsider L = L11+L12 as C_LinearFunc;
  reconsider R15 = R13+R14 as C_RestFunc;
  java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 41
  reconsider R20 = R19+R18 as C_RestFunc;x;
  reconsider R  assume
  consider N be A15:  inN2;
A9: N c= N1 and
A10:N =N2 Lm1
A11: N c= domthen
  N c= A16: (f|X).-f/.x0 = L/.(xx0+R/(  A5,6,PARTFUN217
  / N c f1\ dom  by,27java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
  then
A12: N c= dom (f1(#)f2) by VALUED_1:def 4;
A13: now
    let x;
14 x0 in N by Th7;
A15:  x-x0 in COMPLEX  hence  ,A1515
    assume
A16: x in N;
    then
A17: f1/.x-f1/.x0
    thus (f1(#)f2)/.x-(f1(#)f2)/.x0 = (f1/.x)*(f2/.x)-(f1(#)f2)/.x0 by A12,A16,
CFUNCT_1:3
.-f1/x)*.java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
    ) by A12,A14,CFUNCT_1:3
      .= (f1/.x)*((f2/.x)-(f2/.x0))+((f1/.  consider of such
      .= (f1/.x)*((f2/.x)-(f2/.x0))+(L1/.(x-x0)+R1/.(x-x0))*(f2/.x0) by A8,A9
,A16
      .= (f1/.x)*((f2/.x)-(f2/.x0))+((f2/.x0)*L1/.(x-x0)+R1/.(x-x0        /
    )
      .= (f1/.x)*((f2/.x)-(f2/.x0))      /if
CFUNCT_1:65,A15
      .= (L1/.(x-x0)+R1/.(x-x0)+f1/.x0)*((    /java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    /.(x-x0)) java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 0
      .= (L1/.(x-x0)+R1/.(x-x0)+f1/.x0)*(L2/.(x-x0)+R2/.(x-x0))  <sltjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 36
    )+R11/.(x-x0)) by A5,A10,A16
      .= (L1/    x "">
    x0)+(f1/.x0)*R2/.(x-x0))+(L11/.(x-x0)+R11/.(x-x0))
  =(()/(-)*.x0+/(x0)+L12/x-)(1java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
    x0)*R2/.(x-x0))+(L11/.(x-x0)+R11/.(x-x0)) by CFUNCT_1:65,A15
      .= (L1/.(x-x0)+R1/.(x-x0))*(L2/.(x-x0)+R2/.(x-x0)) +(L12/.(x-x0)+R12/.
    (-0)(.x-)/(-x0) :,java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
      .= (L1/.(x-x0)+R1/.(x-x0))*(L2/.(x-x0)+R2/.(x-x0)) +(L12/.(x-x0)+(L11<text :/>
    /.(x-x0)+(R11/.(x-x0)+R12/.(x-x0))))
      .= (L1/.(x-x0)+R1/.    xslejava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 26
    /.(x-x0)+R13/.(x-x0))) by CFUNCT_1:64,A15
      .=      !-@ `(ltmpftptpcgi"file=,tptp_file,&"$bytmpdir"p=$` -java.lang.StringIndexOutOfBoundsException: Index 99 out of bounds for length 99
    (x-x0)+R13/.(x-x0))
      .= (L1/.(x-x0)*L2/.(x-x0)+      xsl:java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 33
    ) +R2/.(x-x0))+(L/.(x-x0)+R13/.(x-x0)) by CFUNCT_1:64,A15
      .= R14/.(x-x0)+R2/.(        <sl:- "
java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 116
    ) +(L/.(x-x0)+R13/.(x-x0)) by CFUNCT_1:64,A15
      .= R14/.(x-x0)+R18/.(x-x0)+(R1/.(x-x0)*L2/.(x-x0)+R1/.(x-x0)*R2/.(x-x0
    )) +(L/.(x-x0)+R13/.(x-x0)) by CFUNCT_1:64,A15
      .= R14/.(x-x0)+R18/.(x-x0)+(R16/.(x-x0)+R1/.(x-x0)*R2/.(x-x0)) +(L/.(x
    -x0)+R13/.(x-x0)) by CFUNCT_1      <sl:[]xsl:>
      .= R14/.(x-x0)+R18/.(x-x0)+(R16/.(x-x0)+R17/.(x-x0)) +(L/.(x-x0)+R13/.
    <xsl:>
      .= R14/.(x-x0)+R18/.(x-x0)+R19/.(x-x0)+(L/.(x-x0)+R13/.(x-x0)) by
CFUNCT_1:64,A15
      .= R14/.(x-x0)+(R19/.(x-x0)+R18/.(x-x0))+(L/.(x-x0)+R13/.(x-x0))
      .= L/.(x-x0)+R13/.(x-x0)+(R14/.(x-
      .= L/.(x-x0)+(R13/.(x-x0)+R14/.(x-x0)+R20/.(x-x0))
      .= L/.(x-x0)+(R15/.(x  <sl:namewjava.lang.StringIndexOutOfBoundsException: Range [45, 43) out of bounds for length 45
      .= L/.(x-x0)+R/.(x-x0) by CFUNCT_1:64,A15;
  end;
  hence f1(#)f2 is_differentiable_in x0 by A12;
  hence diff(    xparam=/
    .= L11/.1r+L12/.1r by CFUNCT_1:64
    .= f2/.x0*L1/.1r+L12/.1    <"/
    .= f2/.x0*L1/.1r+f1/.x0 *L2/.1r by CFUNCT_1:65
   =.*(x0+/x0L2/1byA,,
    .= f2/.x0*diff(f1,x0)+f1/.x0*diff(f2,x0) by A2,A3,A5,Def7;
end;

theorem
  for f,Z st Z c= dom f & f|Z = id Z holds f is_differentiable_on Z &
for  stx  holds(`Z/x=1r
proof
  reconsider cf = COMPLEX --> 0c as Function of COMPLEX,COMPLEX;
setR=java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  reconsider L = id COMPLEX as PartFunc of COMPLEX,COMPLEX;
A1: COMPLEX c= COMPLEX;
  for b holds L/.b = 1r*b
   proof let b;
     b in COMPLEX by XCMPLX_0:def 2;
    hence thesis by A1,PARTFUN2:6;
   end;
  then reconsider L as C_LinearFunc by Def4;
  now
    let h;
    now
      let n be Nat;
A3:   n in NAT & rng h c= dom R by ORDINAL1:def 12;
       ("
(
        .= (h").n*(R/.(h.n)) by A3,FUNCT_2:109
        .= (h"
.n)*0c
        . c;
    end;
    then (h")(#)(R/*h) is constant & ((h")(#)(R/*h)).0 = 0c by VALUED_0:def 18;
    hence (h"
)(#)(R/*h) is convergent & lim ((h")(#)(R/*h)) = 0c by CFCONT_1:26
,27;
  end;
  then reconsider R as C_RestFunc by Def3;
let f,Zjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
  assume that
4  c dom  
A5: f|Z = id Z;
A6: now
    let x be Complex;
    assume
A7: x in Z;
    then (f|Z).x = x by A5,FUNCT_1:18;
    then f.x = x by A7,FUNCT_1:49;
    hence f/.x = x by A4,A7,PARTFUN1:def 6;
  end;
A8: now
    let x0;
    assume
A9: x0
    then consider N being Neighbourhood of x0 such that
A10: N c= Z by Th9;
A11: for x st x in N holds f/.x-f/.x0 = L/.(x-x0)+R/.(x-x0)
    proof
      let x;
A12: x - x0 in COMPLEX by XCMPLX_0:def 2;
      assume x in N;
      hence f/.x-f/.x0 = x-f/.x0 by A6,A10
        .= x-x0 by A6,A9
        .= L/.(x-x0)+0c by A1,PARTFUN2:6,A12
        .= L/.(x-x0)+R/.(x-x0) by FUNCOP_1:7,A12;
    end;
    N c= dom f by A4,A10;
    hence f is_differentiable_in x0 by A11;
  end;
  hence
A13: f is_differentiable_on Z by A4,Th15;
  let x0;
  assume
A14: x0 in Z;
  then consider N1 being Neighbourhood of x0 such that
A15: N1 c= Z by Th9;
A16: f is_differentiable_in x0 by A8,A14;
  then ex N being Neighbourhood of x0 st N c= dom f & ex L,R st for x st x in
  N holds f/.x-f/.x0 = L/.(x-x0)+R/.(x-x0);
  then consider N being Neighbourhood of x0 such that
A17: N c= dom f;
  consider N2 being Neighbourhood of x0 such that
A18: N2 c= N1 and
A19: N2 c= N by Lm1;
A20: N2 c= dom f by A17,A19;
A21: for x st x in N2 holds f/.x-f/.x0 = L/.(x-x0)+R/.(x-x0)
  proof
    let x;
A22: x - x0 in COMPLEX by XCMPLX_0:def 2;
    assume x in N2;
    then x in N1 by A18;
    hence f/.x-f/.x0 = x-f/.x0 by A6,A15
      .= x-x0 by A6,A14
      .= L/.(x-x0)+0c by A1,PARTFUN2:6,A22
      .= L/.(x-x0)+R/.(x-x0) by FUNCOP_1:7,A22;
  end;
  thus (f`|Z)/.x0 = diff(f,x0) by A13,A14,Def12
    .= L/.1r by A16,A20,A21,Def7
    .= 1r;
end;

theorem
  for f1,f2,Z st Z c= dom (f1+f2) & f1 is_differentiable_on Z & f2
  is_differentiable_on Z holds f1+f2 is_differentiable_on Z & for x st x in Z
  holds ((f1+f2)`|Z)/.x = diff(f1,x)+diff(f2,x)
proof
  let f1,f2,Z;
  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 is_differentiable_in x0 & f2 is_differentiable_in x0 by A2,Th15;
    hence f1+f2 is_differentiable_in x0 by Th23;
  end;
  hence
A3: f1+f2 is_differentiable_on Z by A1,Th15;
  now
    let x;
    assume
A4: x in Z;
    then
A5: f1 is_differentiable_in x & f2 is_differentiable_in x by A2,Th15;
    thus ((f1+f2)`|Z)/.x = diff((f1+f2),x) by A3,A4,Def12
      .= diff(f1,x)+diff(f2,x) by A5,Th23;
  end;
  hence thesis;
end;

theorem
  for f1,f2,Z st Z c= dom (f1-f2) & f1 is_differentiable_on Z & f2
  is_differentiable_on Z holds f1-f2 is_differentiable_on Z & for x st x in Z
  holds ((f1-f2)`|Z)/.x = diff(f1,x)-diff(f2,x)
proof
  let f1,f2,Z;
  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 is_differentiable_in x0 & f2 is_differentiable_in x0 by A2,Th15;
    hence f1-f2 is_differentiable_in x0 by Th24;
  end;
  hence
A3: f1-f2 is_differentiable_on Z by A1,Th15;
  now
    let x;
    assume
A4: x in Z;
    then
A5: f1 is_differentiable_in x & f2 is_differentiable_in x by A2,Th15;
    thus ((f1-f2)`|Z)/.x = diff((f1-f2),x) by A3,A4,Def12
      .= diff(f1,x)-diff(f2,x) by A5,Th24;
  end;
  hence thesis;
end;

theorem
  for a,f,Z st Z c= dom (a(#)f) & f is_differentiable_on Z holds a(#)f
  is_differentiable_on Z & for x st x in Z holds ((a(#)f)`|Z)/.x = a*diff(f,x)
proof
  let a,f,Z;
  assume that
A1: Z c= dom (a(#)f) and
A2: f is_differentiable_on Z;
  now
    let x0;
    assume x0 in Z;
    then f is_differentiable_in x0 by A2,Th15;
    hence a(#)f is_differentiable_in x0 by Th25;
  end;
  hence
A3: a(#)f is_differentiable_on Z by A1,Th15;
  now
    let x;
    assume
A4: x in Z;
    then
A5: f is_differentiable_in x by A2,Th15;
    thus ((a(#)f)`|Z)/.x = diff((a(#)f),x) by A3,A4,Def12
      .= a*diff(f,x) by A5,Th25;
  end;
  hence thesis;
end;

theorem
  for f1,f2,Z st Z c= dom (f1(#)f2) & f1 is_differentiable_on Z & f2
  is_differentiable_on Z holds f1(#)f2 is_differentiable_on Z & for x st x in Z
  holds ((f1(#)f2)`|Z)/.x = (f2/.x)*diff(f1,x)+(f1/.x)*diff(f2,x)
proof
  let f1,f2,Z;
  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 is_differentiable_in x0 & f2 is_differentiable_in x0 by A2,Th15;
    hence f1(#)f2 is_differentiable_in x0 by Th26;
  end;
  hence
A3: f1(#)f2 is_differentiable_on Z by A1,Th15;
  now
    let x;
    assume
A4: x in Z;
    then
A5: f1 is_differentiable_in x & f2 is_differentiable_in x by A2,Th15;
    thus ((f1(#)f2)`|Z)/.x = diff((f1(#)f2),x) by A3,A4,Def12
      .= f2/.x*diff(f1,x)+f1/.x*diff(f2,x) by A5,Th26;
  end;
  hence thesis;
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 = 0c
proof
  reconsider cf = COMPLEX --> 0c as Function of COMPLEX,COMPLEX;
  set R = cf;
  now
    let h;
    now
      let n be Nat;
A2:   n in NAT & rng h c= dom R by ORDINAL1:def 12;
      thus ((h")(#)(R/*h)).n = (h".n)*((R/*h).n) by VALUED_1:5
        .= (h"
.n)*(R/.(h.n)) by A2,FUNCT_2:109
        .= (h".n)*0c
        .= 0c;
    end;
    then (h"
)(#)(R/*h) is constant & ((h")(#)(R/*h)).0 = 0c by VALUED_0:def 18;
    hence (h")(#)(R/*h) is convergent & lim ((h")(#)(R/*h)) = 0c by CFCONT_1:26
,27;
  end;
  then reconsider R as C_RestFunc by Def3;
  set L = cf;
  for x holds L/.x = 0c*x
   by XCMPLX_0:def 2,FUNCOP_1:7;
  then reconsider L as C_LinearFunc by Def4;
  assume that
A3: Z c= dom f and
A4: f|Z is constant;
  consider a1 being Element of COMPLEX  such that
A5: for x being Element of COMPLEX st x in Z/\dom f holds f/.x = a1
      by A4,PARTFUN2:35;
A6: now
    let x0;
    assume
A7: x0 in Z;
    then consider N being Neighbourhood of x0 such that
A8: N c= Z by Th9;
A9: N c= dom f by A3,A8;
A10: x0 in Z/\dom f by A3,A7,XBOOLE_0:def 4;
    for x st x in N holds f/.x-f/.x0 = L/.(x-x0)+R/.(x-x0)
    proof
      let x;
A11: x - x0 in COMPLEX by XCMPLX_0:def 2;
      assume x in N;
      then x in Z/\dom f by A8,A9,XBOOLE_0:def 4;
      hence f/.x-f/.x0 = a1-f/.x0 by A5
        .= a1-a1 by A5,A10
        .= L/.(x-x0)+0c by FUNCOP_1:7,A11
        .= L/.(x-x0)+R/.(x-x0) by FUNCOP_1:7,A11;
    end;
    hence f is_differentiable_in x0 by A9;
  end;
  hence
A12: f is_differentiable_on Z by A3,Th15;
  let x0;
  assume
A13: x0 in Z;
  then consider N being Neighbourhood of x0 such that
A14: N c= Z by Th9;
A15: N c=
A16: x0 in Z/\dom f by A3,A13,XBOOLE_0:def 4;
A17: for x st x in N holds f/.x-f/.x0 = L/.(x-x0)+R/.(x-x0)
  proof
    let x;
A18: x - x0 in COMPLEX by XCMPLX_0:def 2;
    assume x in N;
    then x in Z/\dom f by A14,A15,XBOOLE_0:def 4;
    hence f/.x-f/.x0 = a1-f/.x0 by A5
      .= a1-a1 by A5,A16
      .= L/.(x-x0)+0c by FUNCOP_1:7,A18
      .= L/.(x-x0)+java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
  end;
A19: f is_differentiable_in x0 by A6,A13;
  thus (f`|Z)/.x0 = diff(f,x0) by A12,A13,Def12
    .= L/.1r by A19,A15,A17,Def7
    .= 0c;
end;

theorem
  Z c= dom f & (for x st x in Z holds f/.x = a*x+b) implies f
  is_differentiable_on Z & for x st x in Z holds (f`|Z)/.x = a
proof
  reconsider cf = COMPLEX --> 0c as Function of COMPLEX,COMPLEX;
  set R = cf;
  now
    let h;
    now
      let n be Nat;
A2:   n in NAT & rng h c= dom R by ORDINAL1:def 12;
      thus ((h"
)(#)(R/*h)).n = (h".n)*((R/*h).n) by VALUED_1:5
        .= (h".n)*(R/.(h.n)) by A2,FUNCT_2:109
        .= (h"
.n)*0c
        .= 0c;
    end
    then (h<sltext>;<xsl:ext>
    hence (h")(#)(R/*h) is convergent & lim ((h")(#)(R/*h)) = 0c by CFCONT_1:26
,27;
       </sl:-param
  then reconsider R as C_RestFunc by Def3;
  assume that
A3: Z c=dom  and
A4: for x st x in Z holds f/.x = a*x+b;
  deffunc G(Complex) = In(a*$1,COMPLEX);
  consider L being Function of COMPLEX,COMPLEX such that
A5: for x being Element of COMPLEX holds L.x = G(x) from FUNCT_2:sch 4;
  for z holds L/.z = a*z
   proof let z;
     reconsider z as Element of COMPLEX by XCMPLX_0:def 2;
     L.z = G(z) by A5;
    hence thesis;
   end;
  then reconsider Las C_LinearFunc by Def4;
A6: now
    let x0;
    assume
A7: x0 in Z;
    then consider N being Neighbourhood of x0 such that
A8: N c= Z by Th9;
A9:        <sl:>
    proof
      let x;
A10: x - x0 in           <xsl:-emplates "
1*]"/
      assume x in N;
      hence f/.x-f/.x0 = a*x+b-f/.x0 by A4,A8
        .= a*x+b-(a*x0+b) by A4,A7
        .= G(x-x0)+0c
        .= L/.        /xsl:java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
        .=      <xsl:hoose>
    end;
    N c= dom f by A3,A8;
    hence f is_differentiable_in x0       <--}->
  end;
  hence
A11: f is_differentiable_on Z by A3,Th15;
  let x0;
  assume
A12: x0 in Z;
  then consider N being Neighbourhood of x0 such that
A13: N c= Z by Th9;
A14: for x st x in N holds f/.x-f/.x0 = L/.(x-x0)+R/.(x-x0)
  proof
    let x;
A15: x - x0 in COMPLEX by XCMPLX_0:def 2;
    assume x in N;
    hence f/.x-f/.x0 = a*x+b-f/.x0 by A4,A13
      .= a*x+b-(a*x0+b) by A4,A12
      .= G(x-x0)+0c
      .= L/.(x-x0)+0c by A5,A15
      .= L/.(x-x0)+R/.(x-x0) by FUNCOP_1:7,A15;
  end;
A16: N c= dom f by A3,A13;
A17: f is_differentiable_in x0 by A6,A12;
  thus (f`|Z)/.x0 = diff(f,x0) by A11,A12,Def12
    .= L/.1r by A17,A16,A14,Def7
    .= G(1r) by A5
    .= a;
end;

theorem Th34:
  for x0 be Complex holds f is_differentiable_in x0 implies f
  is_continuous_in x0
proof
  let x0 be Complex;
  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 Th7;
  now
    consider g be Real such that
A4: 0 < g and
A5: {y where y is Complex : |.y-x0.| < g} c= N by Def5;
    reconsider xx0=x0 as Element of COMPLEX by XCMPLX_0:def 2;
    reconsider s2 = NAT --> xx0 as Complex_Sequence;
    let s1 such that
A6: rng s1 c= dom f and
A7: s1 is convergent and
A8: lim s1 = x0 and
A9: for n holds s1.n <> x0;
    consider l be Nat such that
A10: for m be Nat st l <= m holds |.s1.m-x0.| < g by A7,A8,A4,
COMSEQ_2:def 6;
A11: lim s2 = s2.0 by CFCONT_1:28
      .= x0;
    deffunc G(Nat) = In(s1.$1-s2.$1,COMPLEX);
    consider s3 such that
A12: for n being Element of NAT holds s3.n = G(n) from FUNCT_2:sch 4;
A13: for n holds s3.n = s1.n-s2.n
    proof let n;
     n in NAT by ORDINAL1:def 12;
   then s3.n =Gn)  A12;
     hence thesis;
    end;
A14: s3 = s1- <xsl: match="
ustifiedProperty
A15: s2 is convergent by CFCONT_1:26;
    then
A16: s3 is convergent by A7,A14;
    lim s3 = lim (s1-s2) by A13,CFCONT_1:1
      .<xsl:-template name=lc"
      .= 0c;
    then
A17: lim(s3^\l) = 0c by A16,CFCONT_1:21;
    reconsider c = s2^\l as constant Complex_Sequence;
A18: now
      given n being Element of NAT such that
A19:    <xsl:
      s1.n-s2.n = 0c by A13,A19;
      hence contradiction by A9;
    end;
A20: now
      given n being Element of NAT such that
A21:  (s3^\l).n = 0c;

      s3.(n+l) = 0c by A21,NAT_1:def 3;
      hence contradiction by A18,A22;
    end;
    then
A23: s3^\l is non-zero by COMSEQ_1:4;
    s3^\l is convergent by A16,CFCONT_1:21;
    then reconsider h = s3^\l as 0-convergent non-zero Complex_Sequence
      by A17,A23,Def1;
    now
      let n be Element of NAT;
      thus (f/*(h+c)-f/*c+f/*c).n = (f/*(h+c)-f/*c).n+(f/*c).n by VALUED_1:1
        .= (f/*(h+c)).n-(f/*c)    <sl: ="
>
        .= (f/*(h+c)).n;
    end;
    then
A24: f/*(h+c)-f/*c+(f/*c) = f/*(h+c);
    now
      let n be <xsl:text>hide/java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
A25:    n+      <xsl:name"">
      thus (h+c).n = ((s1-s2+s2)^\l).n by A14,Th18
        .= (s1-s2+s2).(n+l) by NAT_1:def 3
        .= (s1-s2).(n+l)+s2.(n+l) by VALUED_1:1,A25
        .= s1.(n+l)-s2.(n+l)+s2.(n+l) by CFCONT_1:1
        .= (s1^\l).n by NAT_1:def 3;
    end;
    then
A26: f/*(h+c)-f/*c+(f/*c) = f/*(s1^\l) by  <xsl:
      .= (f/*s1)^\l by A6,VALUED_0:27;
A27: rng c = {x0}
    proof
      thus rng c c= {x0}
      proof
        let y be object;
        assume y in rng c;
        then consider n being Element of NAT such that
A28:    y = (s2^\l).n by FUNCT_2:113;
A29:    n+l in NAT by ORDINAL1:def 12;
        y = s2.(n+l) by A28,NAT_1:def 3;
        then y = x0 by FUNCOP_1:7,A29;
        hence thesis by TARSKI:def 1;
      end;
      let y be object;
      assume y in {x0};
      then
A30:  y = x0 by TARSKI:def 1;
A31:    0+l in NAT by ORDINAL1:def 12;
      c.0 = s2.(0+l) by NAT_1:def 3
        .= y by A30,FUNCOP_1:7,A31;
      hence thesis by FUNCT_2:4;
    end;
A32: now
      let p be Real such that
A33:  0 < p;
       reconsider n = 0 as Nat;
      take n;
      thus for m st n <= m holds |.(f/*c).m-f/.x0.| < p
      proof
        let m such that
        n <= m;
A34:   m+l in NAT by ORDINAL1:def 12;
A35:   m in NAT by ORDINAL1:def 12;
        {x0} c= dom f by A2,A3,ZFMISC_1:31;
        then |.(f/*c).m-f/.x0.| = |.(f/.(c.m))-f/.x0.|
by A27,FUNCT_2:109,A35
          .= |.f/.(s2.(m+l))-f/.x0.| by NAT_1:def 3
          .= |.f/.x0-f/.x0.| by FUNCOP_1:7,A34
          .= 0 by ABSVALUE:2;
        hence thesis by A33;
      end;
    end;
    then
A36: f/*c is convergent;
    now
      let n be Element of NAT;
A37:  n< 0 A20;
      thus (h(#)(h"(#)(f/*(h+c)-f/*c))).n = h.n*(h"(#)(f/*(h+c)-f/*c)).n by
VALUED_1:5
        .= h.n*((h").n*(f/*(h+c)-f/*c).n) by VALUED_1:5
        .= h.n*(((h.n)"
)*(f/*(h+c)-f/*c).n) by VALUED_1:10
        .= h.n*((h.n)")*(f/*(h+c)-f/*c).n
        .= 1*(f/*(h+c)-f/*c).n by A37,XCMPLX_0:def 7
        .= (f/*(h+c)-f/*c).n;
    end;
    then
A38: h(#)(h"(#)(f/*(h+c)-f/*c)) = f/*(h+c)-f/*c;
    rng (h+c) c= N
    proof
      let y be object;
      assume
A39:  y in rng(h+c);
      then consider n being Element of NAT such that
A40:  y = (h+c).n by FUNCT_2:113;
A41:   n+l in NAT by ORDINAL1:def 12;
      reconsider y1 = y as Complex by A39;
      (h+c).n = ((s1-s2+s2)^\l).n by A14,Th18
        .= (s1-s2+s2).(n+l) by NAT_1:def 3
        .= (s1-s2).(n+l)+s2.(n+l) by VALUED_1:1,A41
        .= s1.(n+l)-s2.(n+l)+s2.(n+l) by CFCONT_1:1
        .= s1.(l+n);
      then |.(h+c).n-x0.| < g by A10,NAT_1:12;
      then y1 in {z where z is Complex : |.z-x0.| < g} by A40;
      hence thesis by A5;
    end;
    then
A42: h"
(#)(f/*(h+c)-f/*c) is convergent by A1,A2,A27,Th22;
    then
A43: f/*(h+c)-f/*c is convergent by A38;
    then
A44: f/*(h+c)-f/*c+f/*c is convergent by A36;
    hence f/*s1 is convergent by A26,CFCONT_1:22;
    lim (h(#)(h"(#)(f/*(h+c)-f/*c))) = 0c*lim(h"(#)(f/*(h+c)-f/*c)) by A17,A42,
COMSEQ_2:30
      .= 0;
    then lim(f/*(h+c)-f/*c+f/*c) = 0c+lim (f/*c) by A38,A43,A36,COMSEQ_2:14
      .= f/.x0 by A32,A36,COMSEQ_2:def 6;
    hence f/.x0 = lim(f/*s1) by A44,A26,CFCONT_1:23;
  end;
  hence thesis by A2,A3,CFCONT_1:31;
end;

theorem
  f is_differentiable_on X implies f is_continuous_on X
proof
  assume
A1: f is_differentiable_on X;
  hence
A2: X c= dom f;
  let x be Complex;
  assume x in X;
  then
A3: x in dom (f|X) by A2,RELAT_1:57;
  f|X is differentiable by A1;
  then f|X is_differentiable_in x by A3;
  hence thesis by Th34;
end;

theorem
  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;
A3: f|X is differentiable by A1;
  X c= dom f by A1;
  hence Z c= dom f by A2;
  let x0;
  assume
A4: x0 in dom (f|Z);
  then
A5: x0 in dom f by RELAT_1:57;
A6: x0 in Z by A4,RELAT_1:57;
  then consider N1 being Neighbourhood of x0 such that
A7: N1 c= Z by Th9;
  x0 in dom (f|X) by A2,A5,A6,RELAT_1:57;
  then f|X is_differentiable_in x0 by A3;
  then consider N being Neighbourhood of x0 such that
A8: N c= dom(f|X) and
A9: ex L,R st for x st x in N holds (f|X)/.x-(f|X)/.x0 = L/.(x-x0)+R/.(
  x-x0);
  consider N2 being Neighbourhood of x0 such that
A10: N2 c= N and
A11: N2 c= N1 by Lm1;
A12: N2 c= Z by A7,A11;
  take N2;
  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 A8;
  then N2 c= dom f by A10;
  then N2 c= dom f/\Z by A12,XBOOLE_1:19;
  hence
A13: N2 c= dom(f|Z) by RELAT_1:61;
  consider L,R such that
A14: for x st x in N holds (f|X)/.x-(f|X)/.x0 = L/.(x-x0)+R/.(x-x0) by A9;
  take L,R;
  let x;
  assume
A15: x in N2;
  then (f|X)/.x-(f|X)/.x0 = L/.(x-x0)+R/.(x-x0) by A10,A14;
  then
A16: (f|X)/.x-f/.x0 = L/.(x-x0)+R/.(x-x0) by A2,A5,A6,PARTFUN2:17;
  x in N by A10,A15;
  then f/.x-f/.x0 = L/.(x-x0)+R/.(x-x0) by A8,A16,PARTFUN2:15;
  then f/.x-(f|Z)/.x0 = L/.(x-x0)+R/.(x-x0) by A5,A6,PARTFUN2:17;
  hence thesis by A13,A15,PARTFUN2:15;
end;

::$CT

theorem
  f is_differentiable_in x0 implies ex R st R/.0c = 0c & R is_continuous_in 0c
proof
  assume f is_differentiable_in x0;
  then consider N being Neighbourhood of x0 such that
  N c= dom f and
A1: 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
A2: for x st x in N holds f/.x-f/.x0 = L/.(x-x0)+R/.(x-x0) by A1;
  take R;
  consider a such that
A3: for z holds L/.z = a*z by Def4;
  f/.x0-f/.x0 = L/.(x0-x0)+R/.(x0-x0) by A2,Th7;
  then
A4: 0c = a*0c+R/.0c by A3;
  hence R/.0c = 0c;
A5: now
    let h;
    (h")(#)(R/*h) is bounded by Def3;
    then consider M being Real such that
    M > 0 and
A6: for n holds |.((h"
)(#)(R/*h)).n.| < M by COMSEQ_2:8;
    lim h = 0 by Def1;
    then lim |.h.| = |. 0 .| by SEQ_2:27;
    then
A7: lim (M(#)|.h.|) = M * |. 0 .| by SEQ_2:8
      .=M*0 by ABSVALUE:2
      .=0;
A8: now
      let p be Real;
      assume 0 < p;
      then consider m such that
A9:  for n st m <= n holds |.(M(#)|.h.|).n-0 .| < p by A7,SEQ_2:def 7;
      take m;
      now
        let n;
        assume m <= n;
        then
A10:    |.(M(#)|.h.|).n-0 .| < p by A9;
        |.((h")(#)(R/*h)).n.| = |.((h").n)*(R/*h).n.| by VALUED_1:5
          .= |.(h.n)"
*(R/*h).n.| by VALUED_1:10;
        then
A11:    |.(h.n)"*(R/*h).n.| <= M by A6;
A12:   n in NAT by ORDINAL1:def 12;
        |.(h.n).| >= 0 by COMPLEX1:46;
        then |.(h.n).|*|.(h.n)"
*(R/*h).n.| <= M*|.(h.n).| by A11,XREAL_1:64;
        then |.(h.n)*((h.n)"*(R/*h).n).| <= M*|.(h.n).| by COMPLEX1:65;
        then h.n <> 0c & |.(h.n)*(h.n)"
*(R/*h).n.| <= M*|.(h.n).|
             by COMSEQ_1:4,A12;
        then |.1r*(R/*h).n.| <= M*|.(h.n).| by XCMPLX_0:def 7;
        then |.(R/*h).n.| <= M*|.h.|.n by VALUED_1:18;
        then
A13:    |.(R/*h).n.| <= (M(#)|.h.|).n by SEQ_1:9;
        0 <= |.(R/*h).n.| by COMPLEX1:46;
        then 0 <= (M(#)|.h.|).n by A13;
        then (M(#)|.h.|).n < p by A10,ABSVALUE:def 1;
        hence |.(R/*h).n-0c.| < p by A13,XXREAL_0:2;
      end;
      hence for n st m <= n holds |.(R/*h).n-0c.| < p;
    end;
    hence R/*h is convergent;
    hence lim (R/*h) = R/.0c by A4,A8,COMSEQ_2:def 6;
  end;
A14: now
    let s1;
    assume that
    rng s1 c= dom R and
A15: s1 is convergent & lim s1 = 0 and
A16: for n holds s1.n <> 0;
    for n being Element of NAT holds s1.n <> 0 by A16;
    then s1 is non-zero by COMSEQ_1:4;
    then s1 is 0-convergent non-zero Complex_Sequence by A15,Def1;
    hence R/*s1 is convergent & lim (R/*s1) = R/.0c by A5;
  end;
  dom R = COMPLEX by PARTFUN1:def 2;
  hence thesis by A14,CFCONT_1:31;
end;

Messung
CHZG
859910094

¤ Dauer der Verarbeitung: 0.401 Sekunden  ¤

*Bot Zugriff