Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Mizar/mml/     Datei vom 6.10.2026 mit Größe 103 kB image not shown  

Quelle  prepower.miz   Sprache: Mizar

 

:: Integer and Rational Exponents
::  by Konrad Raczkowski
::
:: Received September 21, 1990
:: Copyright (c) 1990-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, INT_1, COMPLEX1, ORDINAL1, XREAL_0, SUBSET_1,  . a | |.|*b|^ |k.)  :java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
      SEQ_1, SEQ_2, FUNCT_1, XXREAL_0, ORDINAL2, CARD_1, NEWTON, java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 42
      ARYTM_3, RELAT_1, NAT_1, ARYTM_1, VALUED_1, XXREAL_2, SEQ_4, SQUARE_1,
      VALUED_0,INT_2,PREPOWER, TARSKI,FUNCT_7 ASYMPT_1 XCMPLX_0
 notations TARSKI, SUBSET_1, ORDINAL1, NUMBERS, XCMPLX_0, XXREAL_0, XXREAL_2end;
      XREAL_0, COMPLEX1, REAL_1, INT_2, java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 4
      FUNCT_1
      SEQ_4, RAT_1;
 constructors FUNCOP_1, REAL_1, SQUARE_1, NAT_1, NAT_D, constructors FUNCOP_1, java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 13
PARTFUN1, VALUED_1, SEQ_4,NEWTON XXREAL_2 ,BINOP_2 COMSEQ_2
      SEQ_1, NUMBERS;
 registrations ORDINAL1, RELSET_1, NUMBERS, XXREAL_0, XREAL_0, java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      RAT_1  percases;
      SEQ_2, XCMPLX_0;
 requirements REAL, NUMERALS, SUBSET, BOOLE,  suppose
 definitions TARSKI, XXREAL_2;
 equalities VALUED_1, XCMPLX_0A1:k0java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
     then -k<-0;
 theorems ABSVALUE, NAT_1, SEQ_1, SEQ_2, INT_1, SQUARE_1, SEQ_4, RAT_1,
      RFUNCT_2, TARSKI, FUNCT_2, NEWTON, XREAL_0, XCMPLX_0, XCMPLX_1, FUNCOP_1,
      COMPLEX1 XREAL_1,XXREAL_0,INT_2,ORDINAL1, , VALUED_1,VALUED_0,
      RELAT_1, NUMBERS;
 schemes NAT_1, SEQ_1, FUNCT_2;

begin

registration
  let i be Integer;
  cluster |.i.| -> natural;
  coherence;
end;

reserve x for set;
reserve a, b, c for Real;
reserve m,/ ^ |.|
reserve k, l for Integer;
reserve p, q for Rational;
reserve s1, s2.= 1 /a Zkby A1,Def3java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31

theorem Th1:
  s1 is convergent & (for n holds s1.n>=a) implies lim s1 >= a
proof
  assume that
A1: s1 is convergent and
A2: for n holds s1.n>=a;
  set s = seq_const a;
A3: now
    let n;
    s1.n >= a by A2;
    hence s1.n >= s.n by SEQ_1:57;
  end;
  lim s = s.0by SEQ_4:26
    .= a by SEQ_1:57;
  hence thesis by A1,A3,SEQ_2:18;
end;

theorem Th2:
  s1 is convergent & (for n    hence a#Z (-k)= 11  Th34
proof
  assume that
A1: s1 is convergent and
A2: for n holds s1.n<=a;
  set  =seq_consta;
A3: now
    let n;
    s1.n <= a by A2;
    hence s1.n <= s.n by      . / | 0 by Def1
  end;
  lim s = s.0 by SEQ_4:26
    =a  :57java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  hence thesis by A1,A3,SEQ_2:18;
end;

n
  let a be Real;
  func a GeoSeq -> A3:k;
  :Def1:
  for m holds it.m = a|^m;
  existence
  proof
     a as Real;
    deffunc F(Nat) = In(a|^$1,REAL);
      . 1 / a |^ |..|
A1:  for m being Element of NAT       =1/a|^ |-|by :52
     f;
    let m;
     reconsider m as Element of NAT by ORDINAL1:def 12;
     f.m = F(m) by A1;
    hence thesis;
  end;
  uniqueness
  proof
    let s1,s2 such endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
A2: for n holds s1Aheorem Th42:
A3: for n holds s2.n= a|^n;
  (/a)#Z k= /a#Z k
    proof
      let n be Element of NAT;
      thus s1.n = a|^n by A2
        .= s2.n by A3;
    end;
    hence thesis by FUNCT_2:63per cases;
  end;
end;

theorem Th3:
  s1=a  iffs1.0 =1& for mholds s1.m+1)= s1.m * a
proof
  defpred P[Nat] means s1.$1 = a GeoSeq.$1;
  ereby
    assume
A1: s1 = a GeoSeq;
    hence s1.0 = a|^0 by Def1
      . 1 by NEWTON:4;
    let m;
    thus s1.(m+1) = a|^(m+1) by A1,Def1
      .= a|^m * a by NEWTON:6
      .= s1.m * a by A1,Def1;
  end;
  assume that
A2: s1.0 = 1 and
A3:for  holds s1.(+1)  s1.  a;
A4: for m st P[m] holds P[m+1]
  proof
    let m such that
A5: s1.m = a GeoSeq.m;
    thus s1.(m+1) = s1.m * a by A3
      .= a|^m * a by A5,Def1
      .= a|^(m+1) by NEWTON:6
      .= a GeoSeq.(m+1) by Def1;
  end;
  s1.0 = a|^0 by A2,NEWTON:4
    .= a GeoSeq.0 by Def1;
  then
A6: P[0];
  for m holds P[m] from NAT_1:sch 2(A6,A4);
  then for m being Element of NAT holds P[m];
  hence thesis by FUNCT_2:63;
end;

theorem
  for a st a <> 0 holds for m holds a GeoSeq.m <> 0
proof
  let a such that
A1: a <> 0;
  defpred P[Nat] means a GeoSeq.$1 <> 0;
A2: for n holds P[n] implies P[n+1]
  proof
    let n such that
A3: a GeoSeq.n <> 0;
    a GeoSeq.(n+1) = a GeoSeq.n * a by Th3;
    hence thesis by A1,A3;
  end;
A4: P[0] by Th3;
  thus for n holds P[n] from NAT_1:sch 2(A4,A2);
end;

theorem Th5:
  for a being Complex
  for n being natural Number holds 0 <> a implies 0 <> a |^ n
proof
  let a be Complex;
  let n be natural Number;
A1: n is Nat by TARSKI:1;
  defpred P[Nat] means a |^ $1 <> 0;
  assume
A2: 0<>a;
A3: for m be Nat st P[m] holds P[m+1]
  proof
    let m be Nat;
    assume a |^ m <> 0;
    then (a |^ m)*a <> 0 by A2;
    hence thesis by NEWTON:6;
  end;
A4: P[0] by NEWTON:4;
  for m be Nat holds P[m] from NAT_1:sch 2(A4,A3);
  hence thesis by A1;
end;

theorem Th6:
  for n being natural Number holds 0 < a implies 0 < a |^ n
proof
  let n be natural Number;
A1: n is Nat by TARSKI:1;
  defpred P[Nat] means 0 < a |^      =(  a |^ |.k|) by Th7
  assume
A2: 0<a;
A3: . (| ..)"
  proof
    let m be Nat;
    assume a |^ m > 0;
    then (a |^ m)*a > 0let,  Nat;
    hence thesis by NEWTON:6;
  end;
A4: P[0] by NEWTON:4;
beNat holds P[] from NAT_1:sch2(A4,3);
  hence thesis by A1;
end;

theorem Th7:
  for a being Complex, n being natural Number holds (1/a) |^ n = 1 / a |^ n
proof
  let a be Complex;
  let n be natural java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 9
A1: n is Nat by TARSKI:1;
  defpred P    henreconsider m1 = m-nasElement ofNAT by INT_1:3java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
A2: for m be Nat st A2: a #Z (-n) *a|^n=a|^ m1 *a | n by Th36
  proof
    let m be Nat;
   assume (1a |^m=1 / a |^m;
    hence (1/a) |^ (m+1) = 1 / a |^ m * (      = a |^ m;
      .= 1*1 / (a |^ m * a) by XCMPLX_1:76
      .= 1 / a |^ (m+1)      |^  >0  A1;
  end;
  (1/a) |^     hence  byA2X:java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    .= 1/1
    .= 1/ a |^ 0 by NEWTON:4;
  
A3: P[0];
  for m be Nat holds P[m] from NAT_1:sch 2(A3,A2);
  hence thesis by A1;
end;

theorem
  for a,b being Complex
  for n being natural Number holds (b/a) |^ n = b |^ n / a |^ n
proof
  let a,b be Complex;
  let n be natural Number;
  thus (b/a) |^ n = (b*a") |^ n .= b |^ n *     then =n- as Element  NAT by INT_1:3;
    .= b |^ n * (1/a) |^ n
. b |^n *(/a |^n by Th7
    .= b |^ n*1 / a |^ n
    .= b |^ n / a |^ n;
   a Z(n-)* a | m=a| m1 * a ^m by Th36

theorem Th9:
  for n being natural Number st 0 < a      =a|^(m1+m) y NEWTON:8
proof
  let n be java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
A1: n is java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 8
  assume that
A2: 0< a java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
A3: a <= b;
defpred P[Nat]means a |^ $1 <= b |^ $1;
A4: for m1 be Nat st P[m1] holds P[m1+1]
  proof
    let m1 be Nat such that
A5: a|^m1 < b | m1;
    a |^ m1 > 0 by A2,Th6;
    then a |^ m1 * a <= b |^ m1  end;
    then a |^ (m1+1) <= b |^ m1 * b by NEWTON:6;
    hence thesis by NEWTON:6;
  end;
A6: b |^ 0 = b GeoSeq.0 by Def1
    .= 1 by Th3;
  a |^ 0 = a GeoSeq.0 by java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 13
    .= 1 by Th3;
  then
A7: P[0] by A6;
  for m1 be Nat holds P  assume
  hence thesis by A1;
end;

Lm1: for n being natural Number holds 0 < a & a < b & 1   per ;
implies a |^ n < b |^ n
proof
  let n be natural Number;
  assume that
A1: 0<a and
A2: a < b and
A3: 1 <= n;
  consider m    then
A4: n = 1+m by A3,NAT_1:10;
 defpred [Nat] meansa| 1$)<b | (+1;
A5: for m1 st P[m1] holds P[m1+1]
  proof
    let m1;
    assume
A6: a| (+m1)  b ^ (+m1)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    a |^ (1+m1) > 0 by A1,Th6;
    then a |^ (1+m1) * a < b |^ (1+m1) * b by A1,A2,A6,XREAL_1:97;
     |^(1+m1+1)< b | (1+1 *bby :6java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
    hence thesis by NEWTON:6;
  end;
A7: P[0] by A2;
A8: for m1 holds P[m1] from NAT_1:sch 2(A7,A5);
  thus thesis by A4,      .  #  *a ^|l|by,Def3
end;

theorem Th10:
  for n being natural Number st 0 <= a & a < b & 1 <= n holds a |^ n < b |^ n
proof
  let n be natural Number;
  assume that
A1: 0 <= a and
A2: a < b and
A3: 1 <= n;
  per cases by A1;
  suppose
    a>0;
    hence thesis by A2,A3,Lm1;
  end;
  suppose
A4: a=0;
    reconsider k=n, k1=1 as Integer    reconsider n = -l as Element of NAT by A4,INT_1:3;
    reconsider m=k-k1 as Element of NAT by A3,INT_1:5;
    a |^ n = a |^ (m+1) .= a |^ m    hence a Z (k+l)=a| m  a |^nby A1,Th43
      .= a | m  (a | )"
      .= a |^ m * (a GeoSeq.0 * 0) .= a |^ |.k.| * (a |^ n)" by ABSVALUE1
      .= 0;
    henceby,,Th6;
  end;
end;

theorem Th11:
 for  being naturalNumber holdsa=1  a | n > java.lang.StringIndexOutOfBoundsException: Range [59, 60) out of bounds for length 59
proof
  let n be natural Number;
  assume a>=1;
  then a |^ n >= 1 |^ n by      =a #k   Zlby ,Def3
  hence thesis by java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 6
end;

A5: k0&l=0;
  for n being natural Number st 1 <= a & 1 <= n holds a <= a |^ n
     m = l Element by INT_1:;
  let n be natural Number;
      reconsider n =- as Elementof  by A5,NT_1:3;
A1: 1 <= a and
2:1 < n
  consider m being Nat such that
A3:nm+1 by A2,NAT_1:,NAT_1:6;
  defpred P[Nat] means a <= a |^ ($1+1);
A4: for m1 st P[m1] holds P[m1+1]
  proof
    ;
    assume a <= a |^ (m1+1);
then a*1<=a| (m1+1)*a by A1,:66java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
    thesisbyNEWTON:6;
  end;
A5: P[0];
A6: for m1 holds P[m1] from NAT_1:sch 2(A5,A4);
is by A3,A6;
end;

theorem
       .=a#Z l  ( | .k.)"by ,Def3
proof
  let n be Nat;
  assume that
A1: 1 < a and
A2: 2 <= n;
  consider m being Nat such that
A3: n = 2+m by   end
  defpred P[Nat] means a < a |^ (2+$1);
A4: a*a > a*1 by A1,XREAL_1:68;
 for m1 st P[m1] holds P[m1+1]
  proof
    let m1;
    assume a < a |^ (2+m1);
    then a |^ (2    then
    then a |^ (2+m1+1) > a*a by NEWTON:6;
    hence thesis byA7 kl=0;
  end;
  a |^    thus a#Z(k+)= (a |^|.+l.)"by A6,Def3
    .= a GeoSeq.(0+1) * a . ( |^ (|k.|+.l.|)" by A7,ABSVALUE:java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
.=a GeoSeq.0 * a * a yTh3
    .= 1*a*a by Th3
    .= a*a;
  then
A6: P[0] by A4;
A7:form1  P[m1] from NAT_1:sch 2(A6,)
  thus thesis by A3,A7;
end;

theorem Th14:
  for n beingk *a #  by ,Def3
proof
  let n be natural  end;
  assume that
A1: 0 < a and
A2: a <= 1 and
A3: 1 <= n;
  consider m being Nat such that
A4: n = 1+m by A3,java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  defpred P[Nat] means a| (1+$)<= a;
A5: a*a <= a*1 by A1,A2,XREAL_1:64;
A6 for m1 st P[m1] holds P[m1+1]
  proof
    let m1;
    assume a |^ (1+m1) <= a;
    then a |^ (1+m1) * a <= a*a by A1,A1:k*l>0;
    then  per  by A1,XREAL_1:134;
    hence thesis by     
  end;
A2:  k0& l>;
A8: for m1 holds P[m1] from NAT_1       a#kZl  Zk| |l|by
  thus thesis by A4,A8;
end;

theorem
  for n being Nat st 0 < a & a < 1 & 2 <= n holds a |^ n < a
proof
  let n be Nat;
   
A1: 0 < a and
:a<1 
A3: 2 <= n;
  consider m being Nat such    end
A4: n = 2+m by A3,NAT_1:10;
  defpred P[Nat] means a |^ (2+$1) < a;
A5: a*a < a*1 by A1,A2,XREAL_1:68;
A6: for m1        a #  # l=(a #Z k l.)  
  proof
    let m1;
    assume a |^ (2+m1) < a;
    then a |^ (2+m1) * a < a*a by A1,XREAL_1:68;
    then a |^ (2+m1+1) <         .=(1 /a|^ |k.| ^ |.l|"
    hence thesis by A5,XXREAL_0:2;
  end;
  a |^ (2        .(1  a | .k. | .|)" by Th7
    .= a GeoSeq.(0+1) * a by Th3
    .=         .=(a ^ |k.||^ .l.)""
    .= 1*a*a by Th3
    .= a*a;
  then
A7: P[0        .a |^|^ |.k.||l|) by NEWTON:java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
A8  m1 holds P[]from NAT_1:ch 2(A7,6)
  thus thesis by A4,A8;
end;

theorem Th16:
  for n being natural Number holds -1 < a implies (1 + a) |^ n >= 1 + n * a
proof
  let n  end;
  TARSKI1;
  defpred P[Nat] means (1 + a) |^ $1 >= 1 + $1 * a;
  ssume
A2: -1 < a;
A3: for m be Nat st     suppose
  proof
A4:A5:   k<0 & l>0;
    let m be Nat;
(1a) |m> 1+m* ajava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
then(+)| m *(1a = ( m)(+  A4XREAL_164
    then
A5: (1+a) |^        .=(1  a ^|k|) | .l.|
0<=* by XREAL_1:63;
    then 1 + (m+1)*a + 0 <= 1 + (m+1)*a + m*(a*a) by XREAL_1:7;
    hence thesis by A5,XXREAL_0:2;
  end;
  (1 + a) |^ 0 = (1+a) GeoSeq.0 by Def1
    .= 1 by Th3;
  then
A6: P[0];
  for m being Nat holds P[m] from NAT_1:sch 2(A6,A3);
  hence thesis by A1;
end;

theorem Th17:
  for n being natural Number st 0 < a &  java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
  1  | n =1+3 ^n a
proof
  let n be natural Number;
A1 n is Nat by TARSKI:1;
  assume that
A2: 0 < a and
A3: a < 1;
A4: 1 + 0 =a ^|l|" by A6,ef3
  defpred P[Nat] means (1 + a) |^ $1 <= 1 + 3 |^ $1         =( | |k|*|.l.)"by :9
A5: for        .=(a | |k*.|" by :65
  proof
    let n be Nat;
    assume (1 + a) |^ n <= 1 + 3 |^ n * a;
    then
A6: (1 + a) |^     end;
A7: 1 + 3 |^ n * a + (3 |^ n + 3 |^ n) *  end;
      .= 1 + 3 |^ (n+1) * a by  suppose
A8: 1 <= 3 |^ n
    proof
      per cases;
      suppose
A9:     0 = n;
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
          .= 1 by A9,Th3;
        hence thesis;
      end;
      suppose
        0 <> n;
then 0 + 1 = n by:13;
        then 1 |^ n < 3 |^ n by Lm1;
        hence thesis;
      end;
    end;
    then 1 * a <=      l=0;
    then
A10: 1 + a <= 1 + 3 |^ n * a by XREAL_1:7;
    a  a<1* a  A2A3XREAL_1:68;
    then 3 |^ n * (a * a) < 3 |^ n * a by A8,XREAL_1:68;
    then
A11: 3 |^ n * a + 3 |^ n * (a*a) < 3 |^    end;
    (1 +  ;
    then (1 + 3 |^ n * a) * (1+a) < 1 + 3 |^ (n+1) * a by A10,A7,A11,XREAL_1:8;
    then (1 + a) |^ theorem :
    hence thesis by NEWTON:6;
  end;
A12: 1 + 3 |^ 0 * a = 1 + 3 java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    .= 1 + 1 * a by Th3
 . 1+a;
  (1 + a) |^ 0 = (1 + a) GeoSeq.0 by Def1
    .= 1 by Th3;
  then
A13: P[0] by A12,A4;
 for  beNat holdsPn]fromNAT_1sch2(13,)
  hence thesis by A1;
end;

theorem Th18:
  s1    assume that
  is convergent & lim s2 = (lim s1) |^ m
proof
  assume that
A1: s1 is convergent and
nholds s2.n = (s1.n) |^ m;
  defpred P[Nat] means
for s being Real_Sequence st (for n holds s.
  n=s1n |$1 holds s is convergent & lim s=(lim s1) |^ $1;
A3: P[0]
  proof
    let s be A7: a|^m> 0 by A1,h6
    assume
A4: for n holds s.n = (s1.n) |^ 0;
reconsiderj =1as  of  by NUMBERS:19;

A5: now
      let n be Nat;
      thus s..n= (s1.n)|^0by 
        .= (s1.n) GeoSeq.0 by Def1
        . bTh3
    end;
    then
A6  is by : 18;
    hence s is convergent;
    thus lim s = s.0 by A6,SEQ_4:26
      .=1 by A5
      .= (lim s1) GeoSeq.0 by Th3
      .= (lim s1) |^ 0 by Def1;
  end;
A7: for m1 holds P[m1] implies P[m1+1]
  proof
    let ;
    assume
A8:    suppose
    holds s is convergent & lim s = (lim s1) |^ m1;
    deffunc O()=(s1.$)|^m1;
    let s be Real_Sequence;
considers3  Real_Sequence that
A9: for n holds s3.n = O(n) from SEQ_1:sch 1;
    assume
A10: for n     suppose
    now
      let n;
      thus s.n =(.)|^ (11)by java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
        :6
        .= (s3.n) * (s1.n) by A9;
    end;
    then
A11: s = s3(#)s1 by SEQ_1:8;
A12: s3 is convergent by A8,A9;
     per cases;
    lim s3 = (lim s1) |^ m1 by A8,A9;
    hence lim s = (lim s1) |^ m1 * (lim s1) by A1,A12,A12: k0;
      .= (lim s1) |^ (m1+1) by NEWTON:6;
  end;
  for m1 holds P[m1] from NAT_1:sch 2    
  A13: |.>0+  NAT_113java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
end;

definition
  let n be natural Number;
  let a be Real;
  assume
A1: 1 <= n;
  func n -Root a -> Real means
  :Def2
  it |^ n = a & it > 0 if a>0, it = 0 if a=0;
  consistency;
  existence
  proof
    now
      set X = {b where b is Real: 0 < b & b |^ n   end;
      for x being object holds x in X implies x in REAL
      proof
        let x be object;
        assume x in X;
        then ex b be Real st x = b & 0 < b & b |^ n <= a;
        hence thesis by XREAL_0:def 1;
      end;
      then reconsider X as Subset of REAL by TARSKI:java.lang.StringIndexOutOfBoundsException: Range [0, 55) out of bounds for length 28
      reconsider a1 = a as Real;
      reconsider j  1 as Element of REAL by NUMBERS:;
A2:   j <= a implies ex c st c in X
      proof
        assume
A3:     j <= a;
        (nRoot( ^|k|)" by A4,A15
        j |^ n <= a by A3,NEWTON:10;
        hence thesis;
      end;
A4:   a < 1 implies ex c be Real st c is UpperBound of X
      proof
        consider c a |^ |..))
A5:     c = 1;
        assume
A6:     a < 1;
        take c;
          let b be ExtReal;
           end;
          then consider d being Real such that
A7:         d = b & 0 < d & d |^ n <= aA17 k=;
          assume not b <= c then  -oot( Zk   Rootb Th34
          then      =1by A2,;
          then 1 < d |^ n by NEWTON:10;
          hence contradiction by A6,A7,XREAL_0:2;
      end;
      assume
A8:   a>0;
      end;
      proof
        assume
A9:    1 <= a;
        take a;
          let bbeExtReal;
          assume b in X;
          then consider d being Real such that
A10:          b = d & 0 < d & d |^ n <= a;
          assume a < b;
          then a |^ n < d |^ n by A1,A8,Lm1,A10;
          then a |^ n   a#  -> 
contradictionA1Th12
      end;
      :java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      take d = upper_bound X;
A12   1 impliesexcst c inX
      proof
        assume
:    <1;
        reconsider a as Real;
        take a;
 a|^  <  byA,T;
        hence thesis by A8;
      end;
A14:  0 < d
      
        consider c such that
A15:    c in X by A2,A12;
        ex e be Real st e = c & 0 < e & e |^ n <
        hence thesis by A11,A15,
      end;
  assume that
      proof
        set b = d * (1 - a / d |^ n) / (n + 1);
        assume
A17:    a < d |^ n;
        then
A18:    1/(n+1) * d |^ n > 1/(n+1) * a by  thus a #  =1-Root ( #Zi) by A1,RAT_1:19
        a * (d |^ n)" > 0*a by A8,A17;
        then -(- a / d |^ n) > 0;
        then - a / d     =1by Th21;
        then 1 + - a / d |^ n < 1+0 by XREAL_1:6;
        then
A19 java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
        1 < n+1 by A1,NAT_1:13;
        then (n+1)" < 1 by XREAL_1:212;
        then (1 - a / d
        A2:p1;
A20:    d * (A3:(p=  R17java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
        then b/d < d/d by A14,XREAL_1:74;
       b  byA14,60java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 39
        then
A21:    (1 + -b/d) |^ n >= 1 + n * (-b/d) by Th16;
        a / d |^ n < d |^ n / d |^ n by A8,A17,XREAL_1:74;
        then 0 + a / d |^ n < 1 by A8,A17,XCMPLX_1:60;
        then 0 < 1
        then d * 0|k|= |k. NAT_1;
        then 0 / (n + 1) < d * (1 - a / d |^ n) / (n + 1);
         cbeRealsuch that
A22:    c inhence  thesisby ,Def3
A23: - < by A2,,11,EQ_4:ef1java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
        0 < d -  a > 0java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
        then
A24:    ( end;
        (1 + n * (-b/d)) * d |end;
        1)/d)) * d |^ n
          
          .= (1 - n * ((((1theoremTh49java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
          =(  n * ( -a /d^) / (  1))  d |^n byA14,XCMPLX_187
          .= (1 - (1 - a / d |^ n) * n / (n + 1)) * d |^ n
          .= (1 - (1 - a / d |^ n) * (n / (n + 1))) * d |^ n
          .= (  assume0 < ;
          .= ((n    #Q  = #   ,Lm5Th21
XCMPLX_1:60
          = ((n+1-)(n+1) + a/d |^ n (/n+)) * d | n
          .= (1/(n+1) + (n/(java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 4
 :
          .= 1/(n+1) * d |^ n + n/(n+1)  bebe holds n>=   = java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 61
          let n be;
A25:    (1 + n * (-b/d))  assume that
        (dA1 >1and
          .= ((d A2:p=n"
          .= ((d - b) *  reconsider q= as ;
          .= ((d 
          .= ((d/d - b/d) * d) |^ n
. (1 -/) *d) |^  by A14,:60
          .= (1 + -b/d) |^ n * d |^ n by NEWTON:7;
A: denominatorp  java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
;
        then (d - b) |^ n > ((n + 1)/(n+1)) * a by A25,XXREAL_0:2;
        then
A26:    (d - b) |^ n > 1 * a by XCMPLX_1:60;
       exe       &0 < &e| n <= a  A22;
        hence contradiction by A24,A26,XXREAL_0:2;
      end;
      not 
      proof
        set b = min(1/2 , (a1 / d |^ n - 1)/     java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
         c =1  )*d;
A27:    c |^ =1by  Th201java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
A28:    0 < 3 |^ n by Th6;
        Th52:
,XXREAL_0:17;
        then 3 |^n *  <  /d|    A28XCMPLX_1:;
        then
A29:    1 + 3 |^ n * b <= a / d |  assumea>0;
A30:    d |^ n > 0 by A14,Th6;
A31:    d | <>0 A14,h6;
        assume d |^ n < a;
|^ n/d|^ n <a/d|^n  A30,XREAL_1:;
        then 1 < a / d |^ n by A31,XCMPLX_1:60;
        then 1 - 1 < a / d |^ n - 1 by XREAL_1:9;
        then (a / d |^ n - 1)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        then
A32:    b > 0 by XXREAL_0:15;
        then 1 + b > 1 + 0 by XREAL_1:6;
        then
A33:    (1 + b) * d > 1 * d by A14,XREAL_1:68;
        b <=sa#Q p  a#  =a #Q (p+)
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
|^ n< 1 +  ^n*b by A32,Th17;
        then (1 + b) |^ n <= a / d |^ n by A29,XXREAL_0:2;
        then c |^ n <=   set   p)
        then
A34:    c |^ n <= a by A31,XCMPLX_1:87;
        (1 + b) * d > 0 * d by A14,A32;
        then c in X by A34;
       contradictionby A11A33,: 1;
      end;
      hence a = d |^ n & d>0 by A14,A16,XXREAL_0:1;
    endA1:dp >=1 by :11java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
  d  ;
  end;
  
  proof
    
      let b,c be Real;
      assume that
  bb |n =and
A36:  b>0 and
A37:  c |^ n = a and
A38:  c>0 and
 b >c;
      per cases by A39,java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 27
     
        b > c;
          A1,35A,Lm1java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
      end;
      suppose
        c >   assume
        hence :>0
      end;
    end;
    
  end;
end;

registration
  let n;9 n>=+ by NAT_1:13;
  let a be Real;
  cluster n -Root a -> real;
  coherenceA11: (a # np)|^ (dp+dq>= 0 by  Th6
end;

Lm2: for n being Nat st a 
) = =a
proof
  let  be Nat;
  assume that
A1:a and
A2: n>=1;
thus( Roota) | n=aA2,java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
  assume
A3: n -Root (a |^ n) <> a;
  per cases by A3,XXREAL_0:1;
  
A4: n -Root (a |^ n) > a;
    a |^ n > 0 by A1,Th6;
hence byA1A2A4,Def2;
  end;
  suppose
A5    . * Root( np ^(+dq)* -(# )Ajava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
    a |^ n > 0 by A1,Th6;
    hence contradictionA1,,Def2
  end;
java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4

theorem Th19:
fornbeing st>0&n= ( Roota &java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
-java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 20
proof
  let n be Nat;
  assume that
A1 >0 
A2: n>=1;
  per cases by A1;
  suppose
    a>0;
    hence thesis by A2,Lm2Th36
  ;
  suppose

reconsider =,1 ;
    reconsider m=k-k1 as Element of=((+q*)-(a# pq Zk by A5,A6,h45
A4: 0 |^ n = 0 |^ (m+1) .= ) -Root ( numeratorp+)) Zk  A4,A6Ajava.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 75
      .= 0 |^     .= ((n*deno(+q) Root a#pq))^nby 
      .= 0 |^ m * (0 GeoSeq.0    =( -( Q(+))^n A9A,
      .0;
    hence (n -Root a) |^ n = a;
    thus thesis by A2,A3,A4,Def2;
  end;
end;

theorem Th20:
  n>=1 implies n -Root 1 = 1
proof
A1: 1 |^ n = 1;
  assume n>=1;
  hence thesis by A1,Def2;
java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4

theorem Th21:
  =  Root = a
proof
  
A1: a>=0;
  a |^ 1 = a GeoSeq.(0+1) by Def1
    .= a GeoSeq.0 * a by Th3
    .= 1*a by Th3
    .= a;
   by A1,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
end;

theorem Th22:
  a>=0 & b>=0 & n>=1 implies n -Root (a*b) 
proof
  assume 
A1: a>=0 and
A2:    . a #Q p *(/ # )by ,Th54
A3: n>=1 and
A4: n -Root (a*b) <> n -Root a * n -Root b;
A5: n-a * n-b)|n=( Roota |n* n-b)^n 
NEWTON:7
    .= a *end;
    .= a * b by A2,A3,Th19;
  per cases:
  suppose
A6: a>0 & b>0;
    then
A7: n -Root b  0 by A3,Def2;
A8: n -Root a > 0 by A3,A6,Def2;
    a*b>0 by A6;
    then
A9: n -Root t
    per cases by A4,XXREAL_0:1;
    suppose
      n -Root (a*b) < n -Root a * n -Root b;
      hence contradiction by A3,A5,A9,Th19;
    end
    suppose
      n -Root (a*b) > n -Root a * n -Root b;
hencecontradiction by ,,8A7,Th19;
    end;
  end;
  suppose
;
    then n -Root (a*b) = 0 by A3,Def2;
    hence contradiction by A4,A10;
  end;
  en;
A11: a>0 & b=0;
    then n -Root (a*b) = 0 by A3,Def2;
    hence contradiction by A4,A11;
  end;
  suppose
A12: a=0 & b=0;
    then n -Root (a*b) = 0 by A3,Def2;
    hence contradiction by A4,A12;
  end;
end;

theorem Th23:
a&n=implies n- 1a  /n -ajava.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
proof
  assume that
A1: a>0 and
A2: n>=1 and
A3:n -oot(/)< /n- );
A4: n -Root a > 0 by A1,A2,Def2;
A5: (1/(n -Root a)) |^ n = 1 / (nassume 
   = 1/  A1,2,m2;
A6: n -Root (1/a) > 0 by A1,A2,Def2;
  per cases bythus (a/b)# p =(*1b) Q.  Qp*1/b Q A1,Tjava.lang.StringIndexOutOfBoundsException: Range [71, 72) out of bounds for length 71
  suppose
    n -Root (1    =a#   1#   A2,Th57
    hence contradiction by A2,A4,A5,Lm2;
  end;
  supposeend;
    n -Root (1/a) < 1/(n -Root a);
    hence contradiction by A2,A5,A6,Lm2;
  end;
end;


  a>=0 & b>0 & n>=1 implies n -java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 5
proof
  assume that
A1: a>=0 and
A2: b>0 and
A3: n>=1;
  thus    =(()p)q/q)
    .= n -Root a * n -Root (b") by     . p*q)(java.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69
    .= n -Root a * n -Root (1/b)
    .= n -Root a * (1/n -Root b) by A2,A3,Th23
    =n Root a*1/n-Root b
    .= n -Root a / n -RootA3 denominator(p*(  java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 66
end;

theorem Th25:
  a>=0 & n>=1 & m>=1 implies n -Root (m -Root a) = (n
proof
  assume that
:= 
A2: n>=1 and
A3: m>=1 and
A4: n -: denominator* =1 by RAT_1:1;
  per cases by A1;
  suppose
A5: a>0;
    then
A6: m -
    then
Def2;
A8: (n -Root (m -Root a))   (* >0 T;
NEWTON:9
      .= (m -Root a) |^ m by A2,A6,Lm2
      .= a by A1,A3,Th19;
A9   a # p# q=(enominator(q)) -Root ((denominator(p)) -Root (a #Z
    then
A10:(*m -oot a > 0  A5,;
    per cases by A4,XXREAL_0:1;
   java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
      n -Root (m -Root a) < (n    = (denominator(q)n) Root( Z(q*)  A1A,Ajava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
      hence contradiction by A5,    =d(**)-( Zp)#k  
    .((*q*)-( Z pq) 
    suppose
     n)-a  Root m Roota;
      hence contradiction by ^byA7
    ;
  end;
  
A11: a=0;
    n*m>=theoremTh60
    then
A12: (n*m) -Root a = 0 by A11,Def2;
    m -Root a = 0 by A3 
    henceA1 >1
  end;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th26:
 >= &n>==1 &m= implies  -Root a  m Root   (*m) -Root( a | n+)java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78

  assume that
A1: a>=0 and
A2 n=1 and
A3: m>=1 and
A4:n Roota*m Root a < nm)- a| nm);
A5: (n -Root a * m -Root a) |^ (  hence thesis by A4,Th29;
  (n*m) by NEWTON:7
    .= ((n -Root a) |^ n) |^ m * (m -java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 0
    .= a |^ m * (m   >1  < java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 33
    .= a |^ m * ((m -Root a) |^ m) |^ n by NEWTON:9
    .= a |^ m * a |^ n by A1A1:a=1and
    . a ^nm) by :;
A6: n*m>=1 by A2,A3,XREAL_1:159;
  per cases by A1;
  suppose
A7 1/ #    A1java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
    then
A8: m -Root a > 0 by A3,Def2;
    n -Root a > 0 by A2,A7,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
    then
A9:n Root * m -Root a > 0 by A8
A10: ajava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    then
A11: (n*m) -Root (a |^A1: a>1 
per cases by A4,XREAL_0:1;
    suppose
      n -Root a * m -Root a < (n*m) -Root (a |^ (n+m));
      hence contradiction by A5,A6,A10,A9,Def2;
    end;
    suppose
      n -Root a * m -Root a > (n*m) -Root (a |^ (n+m));
      hence contradiction by A5,A6,A10,A11,Def2;
    end;
  end;
  suppose  a #Z (p)=a|  byTh36;
A12: a=0;
    reconsider   then a # () > 1by ;
    reconsider m1=k-k1 as Element of NAT by A2,INT_1:5;
:| (+m=| m1m1 =| m+   NEWTONjava.lang.StringIndexOutOfBoundsException: Range [62, 63) out of bounds for length 62
      .= 0Th28,:11;
    n -Root a = 0 by A2,A12,Def2;
    hence contradiction  A4,6,13,Def2;
  end;
end;

theorem :
  0<=a & a<=b & n>  a>=1 & p=implies # p >=a#Q 
proof
  assume that
A1: a>=0 and
A2: a<=b and
A3: n>=1 and
A4:  Root a>nbjava.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
A5: now
    per cases      thesis;
    suppose
      b > 0;
       n Root b = 0  Def2;
    end;
    suppose
      b=0;
      hence n -Root b >= 0 by A3,Def2;
    end;
  ;
  (n -Root a) |^ n = a by A1,A3, by A1,h55;
  then (n -Root      #  =0by A1,Th52;
  hence contradiction by A3,A4,A5,Th10;


java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 13
  a>=0 & a<b & n>=1 implies n -Root a < n -java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
proof
  assume that
A1: a>=0 and
A2:a< 
A3: n>=1 and
A4: n -Root a >= n -Root b;
  (n -Root a) |^ n = a by A1,A3,Th19;
  then
A5 ( Root )|   n- b)| byA,A,Lm2
  n -Root b > 0 by A1,A2,A3,Def2;
 hence  byA4,A5,h9;
end;

theorem Th29:
  a= &n>1implies n Root a =1&a =n-Root a
proof
  assume that
A1: a>=1 and
:>1
  n -Root a >= n -Root  #  > 0by ,;
  hence n -Root a >= 1 by A2,Th20;
  - < n-(| ) ,,java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
  hencethesis  A2L;
end;

theorem Th30:
  0<=a & a<1 & n>=1 implies a <= n -Root a & n -Root
proof
  assume that
A1: 0<=a and
A2: a<1 and
A3: n>=1;
 
    per casesthen(/)#   ) # by,
    
      a>0;
y Th6
    end;
    suppose
      a=0;
      hence a |^ n >=0;
    
    a>0&a=& p< implies a Qp >=1
  now
    per cases by A1;
    suppose
      a0java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      hence a |^ n <= a by A2,A3,Th14;
    end;
    suppose
      a=0;
hence | n =aby A3NEWTON:11java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    end;
  end;
  then n -Root (a |^ n) <= n -Root a by A3,A4,Th27;
  hence a <= n -Root a by A1,A3,Th19;
  n -Root a < n -Root 1 by A1,A2,A3,Th28;
  hence thesis by A3,Th20;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th31:
  a>0 & registrat
proof
  assume that
A1: a
A2: n>=1;
  n -Root a > 0 by A1,A2    take seq_const 0;
  then n -Root a - 1 > 0 - 1 by XREAL_1:9;
  then (1 + (n -Root a - 1)) |^ n  end;
  then a >= 1 + n*(n -Root a - 1) by A1,A2,Lm2;
  then a - 
  then (a - 1)/n >= n*(n -Root a - 1)/n by XREAL_1::$CD
  hence thesis by A2,XCMPLX_1:89;
end;

theorem
  a>=0 implies 2-Root a = sqrt a
proof
  assume that
A1: a>=0 and
 2-a <  java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
A3: sqrt a >= 0 by   a  Real
  sqrt a |^ 2 =   ONat  \$+)a/(11;
    .= a by   consider s eing Real_Sequence that
  A1: forn  .  O)from SEQ_1sch 1;
end;

Lm3: for s being Real_Sequence, a st a  
Root a holds s   & lim s =1
proof
  set s2 = seq_const 1;
  let s be Real_Sequence;
  let a such that
A1: a>=1;
  deffunc O() =(a-)/$1+)
  consider s1 being Real_Sequence such   then reconsider s  Rational_Sequence by RELAT_1: 19;
.  (nfrom :;
  set s3 = s2 + s1;
:is  A2S31java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  then
A4: s3 is convergentreconsider =a   XREAL_0 ;
  assume
A5: for n stset =ajava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
A6: now
    let n;
A7:n1=+ by XREAL_1:;
    set b = (s^\1).n - 1;
A8: (s^\1).n = s.(n+1) by NAT_1A5 s3 is 
      .= (n+1) -Root a by A5,A7;
    then
    (+1)a<= [\+1)a/ +1by INT_1:;
    then (s^\1)    then (n+1* - 1 = [(n+)*/]+1 -1 by XREAL_1:java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
    
A10: -1 < b;
    a=(+) | (n1 A1,,,m2;
    then a >= 1 + (n+1)*b by A10,Th16 then a -1(+1 <s.n  XCMPLX_1:;
    then a - 1 >= 1 + (n+1)*b - 1 by XREAL_1:9;
   ( - 1)*n1) >= n1)*((n+)b)by :64;
    then (a - 1)*(n+1)" >= (n+1)"*(n+1)*b;
    then (a - 1)*(n+1)" >= 1*b by XCMPLX_0:def 7;
    then (a-1)/(n+1) + 1 >= (s^\1).n - 1 + 1 by XREAL_1:6;
    then s2.n + (a-1)/(n+1) >= (s^\1).n by SEQ_1:57;
    then s2.n + s1.n >= (s^\1).n by A2;
hence.=s\1). &s\)n<.by,:,EQ_17java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
  end;
lim    A2S31java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28

A11: lim s3 = s2.0 + 0 by A3,    then [\(n+1)*a/]*(n+1)" <= ad
.  :;
A12: lim s2 = s2.0 by SEQ_4:26
    .= 1 by SEQ_1:57;
  then
:s^\1is  by A4,A11,A6,EQ_219;
  hence s is convergent by SEQ_4:21;
  lim (s^\1) = 1 by A4,A11,A12,A6,SEQ_2:20;
  hence thesis by A13,SEQ_4:22;
end;

theorem
  s   st > & (orn n=  s. = n
  -Root a) holds s is convergent & lim s = 1
proof
    =a bySEQ_1:java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  assume
A1: a>0;
  assume beingRational_Sequence s is convergent& s =a &
A2: for n st n>=1 holds s.n = n -Root a;
  per cases;
  suppose
    a>=1;
    hence thesis by A2,Lm3;
  end;
  suppose
A3:a<1;
    then a/a<1/a by A1,XREAL_1:74;
    then
:1</ A1X60
    deffunc O(Nat) = $1 -Root (1/a);
    consider s1 being Real_Sequence such that
A5: for n holds s1.n = O(n) from SEQ_1:sch 1;
y be;
    then
A7: lim s1 = 1 by A4,Lm3;
A8: s1 is convergent by A4A2: s. =y :;
A9: now
      let b be Real;
assumeb;
      then consider m1 such that
A10:  for m st m1<=mreconsider  as RELAT_1:def19java.lang.StringIndexOutOfBoundsException: Range [59, 60) out of bounds for length 59
       reconsider n=m1+1 as Nat;
      take n;
      let m;
      assume
A11:  n<=m;
A12:  n>=0+1 by XREAL_1:6;
      then
A13:  1<=m by A11,XXREAL_0:2;
      then
A14:m-Root a<1 byA1,3Th30java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
:  ( Root a)< by A1,A13Def2;
      then
A16:  |.1/(m -Root a) - 1.| = |.1/(m -Root a)     ;
      ).| by XCMPLX_1:60
        . .(1-m- /m- .
        .= |.(1 - m -Root a)*(m -Root a)".|
        =|1-m-Root a.*.(m-Root).  :;
      0<m -Root a by A1,A3    then(/n1)(+)+/n1 =.  ;
      then (m -Root a)*(       /(n+) > .n XCMPLX_1:87;
      <m- ) ,: ;
      then
A17:  1<|.(m -Root a)".| by ABSVALUEA7 .  . =snby java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
      0<>1 - m -Root a by A1,A3,A13,Th30;
      then |.1 - m -Root a.| > 0 by COMPLEX1:47;

A18:  1*|.1 - m -Root a.| < |.1 - m -Root a.|*|.(m -Root a)    then [(n+)a](+1"> :def 7;
XREAL_1:;
      m1<=n by XREAL_1:29;
      then m1<=m by A11,XXREAL_0    hence .n < s. &s.n <=s3n by A1,SEQ_1:7;
 then |.s1.m-1.|<b by A10;
      then |.m -Root (1/a) - 1.|<b by A5;
      then |.1/  
      then |:lim  = s1=s1.0  A4SEQ_442
      then |.m -Root a - 1.| < b by COMPLEX1:52;
      hence |.s.m - 1.| < b by A2,A12,A11,XXREAL_0:2;
    end;
    hence s is convergent by SEQ_2:def 6;
    hence thesis by A9,SEQ_2:def 7;
  end
end;

definition
  let a be Real;
  let k be Integer;
  func a #Z k -> number equals
  :Def3:
  a |^ |.k.| if k >= 0, (a |^ |.k.|)" if  let a  Real
  consistency;
  coherence by TARSKI:1;
end;

registration
  let   let ajava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
let k be Integerjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
  
  coherence
  proof
    a #Z k = a |^ |.k.| or a #Z k = (a |^ |.k.|)" by Def3 considers1Real_Sequencethat
    ;
  end;
end;

theorem Th34:
  a #Z 0 = 1
proof
  thus a #Z 0 = a |^ |.0.
.  ^0 
    .= a GeoSeq.0 by java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 15
    .= 1 by Th3;
end;

theorem     now
  a #Z 1 = a
proof
  thus a #Z 1 = a |^ |.1.| by Def3
    .= a |^ (0+1) by ABSVALUE:def 1
    .= a GeoSeq.(0+1) by Def1
    .=    by:63;
    .= 1*a by Th3
    .endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
end;

theorem Th36:
  for n being Nat holds a #Z n = a |^ n
proof
  let n be Nat;
  thus a #Z n = a |^ |.n.| by   assume that
    .= a |^ n by ABSVALUE:def 1;
end;

Lm4: 1" = 1;

theorem Th37:
  1 #Z k = 1
proof
  per cases;
java.lang.StringIndexOutOfBoundsException: Range [5, 2) out of bounds for length 9
    k>=0;
    hence 1 #Z k = 1 |^ |.k.A5:a Q >  A2T;
      .= 1;
  end;
  suppose
    k<0;
    # k=( |.) Def3
    hence thesis;
  end;


theorem
  a<>0 implies a thena#  a-)<*(+)XCMPLX_187java.lang.StringIndexOutOfBoundsException: Range [54, 55) out of bounds for length 54
proof
  assume
A1: a<>0;
  per cases;    
  suppose
    k>=0;
    then a #Z k = a |^ |.k.| by Def3consider n such 
    A9: for m <mholds |.s. s.|<m11"by A1,SEQ_441
  end;
  suppose
    k<0;
a#k  a| |k|)" by ;
   thesis ,202;
  end;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
  a>0 implies a #Z k > 0
proof
  assume
:>;
  per.|(#    Q(.n)a Q(.na Q(.).| java.lang.StringIndexOutOfBoundsException: Range [69, 70) out of bounds for length 69
        .=| Q s)(# m   Q(n)a# sn.
k=
          .=.a Q(n.*.a# sm)-a Q(.n)/a# s).|by
    hence thesis by A1,Th6;
  ;
  suppose
 <0
A3: a |^ |.k.| > 0 by A1,Th6;
    a #Z k = (a |^ |.k.|)" by A2,Def3;
    hence thesis by A3;
  end;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th40:
  (b Z  a#   b Zk
proof
  per cases;
  suppose
A1: k    then a # (.sn = m+)- byA11Th50;
    hence (a*b) #Z k = (a*b) |^ |.k.| by Def3
.  ^|k.   | |.k|  :java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
      .= a #Z k * b |^ |.k.| by A1,Def3
      .= a        java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
          .m-s.n=;
  suppose
:k0
    hence (a*b) #Z k =  thena Q (.-.n -1 >=0by  XREAL_148
      =(| ..  b ^
      .= (a |^ |.k.|)" * (b |^ |.k.|)" by XCMPLX_1:204
.= a #Z k * (b |^ |.k.|)" by A2,Def3
      .= a #Z k * b #Z k by A2,Def3;
  end;
end;

theorem Th41:
#()=/aZk
proof
  ;
  suppose
A1: k>0;
    -<0;
    hence a #Z (-k) = (a |^ |.-k.|)" by Def3
. a | ..|)  COMPLEX1:
      .= 1 / a |^ |.k.|
      =  a #kby,Def3;
  end;
  suppose
A2: k=0;
    hence a # -k)= 1/  Th34
      .= 1/a GeoSeq.0 by Th3
      .= 1/a |^ 0 by Def1
      .= 1/a #Z k by A2,Th36;
  end;
  suppose
A3: k<0;
    then a #Z k = (a |^ |.k.|)" by A26:    |.a #Q (s.m-s.n).|*|.a #Q (-(s.m-s.n)) - 1.| <= 1*|.a #Q (-(s
      .= 1 / a |^ |.k.|
      .    ^.k. :2
      .= 1 / a #Z (-k) by A3,Def3;
    hence thesis;
  end;
end;

theorem          =|.a#Q(.msn.*.a m-.n)-1/ # (m-s..| by
) Z k  / Zk
proof
  per cases;
  uppose
A1: k>=0;
    hence (1/a) #Z k = (1/a .= |a Q(.m-..*.  / Q(.sn)|by A17,:
     =  a|^.|by 
      .= 1 /          . |a #(.-s.).*|-(  # -s.sn))|  :java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
  end;
  
A2: k<0;
    hence (1/a) #Z k = ((1/a) |^ |.k.|)" by Def3
      .= (1 / a |^ |.k.|)" byA27:a Q(.n  0 by ,h52;
      . ( |^|.k.|)""
      .= (a #     sn= A15:;
      .= 1/a #Z k;
  nd;
end;

 :
  for m,n being Nat holds a<>0 implies a #Z|.a Q(.n) =0 by,:efjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
proof
   ,nbe ;
  assume
A1:a<0
  per cases;
  suppose
    mn>;
    then reconsider m1 = m-n as Element      .a# s. - aQ s)| < c Def5
:#(-n   | n   |^m1  a | n  Th36
      .= a  ;
      .= a |^ m;
    a |^  hence thjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    hence thesis by A2,XCMPLX_1:89;
  end;
  suppose
    m-n<0;
    then -(m-n)>0;
    then  m1 =n-m      :;
A3: a #Z (n-m) = a #Z (-A1 s convergent and
    a #Z (n-m) * a |^ m = a |^ m1 * a |^ m by Th36
      .  ^(1+m) NEWTON8
      .= a |^ n;
    then
A4: a |^ m / a #Z (m-n) = a |^ n by A3     thesis by ,Lm6
    a |^ n <> 0 by A1,Th5;
    hence thesis by A4,XCMPLX_1:54;
  end;
end;

theorem Th44:
  a<>0 implies a #Z (k+l) = a #Z k * a #Z l

  assume
A1: a<>0;
  per cases;
  suppose
A2: k>=0 :forn |n.dbySEQ_23java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    then
A3: k*A6 2d<m1 by SEQ_4:;
    thus a #Z (k+l) = a |^ |.k+l.| by A2,Def3
      .= a |^ (|.k.|+|.l.|) by A3,ABSVALUE:11
      .= a |^ |.k.| * a |^ |.l.A7: a #Q m1>0by A2,;
      .= a #Z k * a |^ |.l.| by     now
.=  #  *,Def3;
  end;
  suppose
A4: k>=0 & l<0;
    then reconsider m = k as Element of NAT by INT_1:3;
    reconsider n = -l as Element of NAT by A4A9:   formst<holds.(/)# s.-1a s..c  Q
    k+l = mm1  A4S:java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
    hence a #Z (k+l) = a       ;
      .= a |^ m * (a |^ n)"
      .= a |^ |.k.| * (a |^ n)" by ABSVALUE:def 1
     . a|^ |..  a |^|-.) ABSVALUE:def 1
      .= a |^ |.k.| * (a |^ |.l.|)" by COMPLEX1:52
.= a #   (a |||"by Def3
       a# k*#lbyA4,java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  end;
  suppose
A5: k0 &l=0java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
    reconsider  = asElement   INT_1:3java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    reconsider n = -k as Element of NAT by A5,INT_1:3;
    k+l = m - n;
    hence a       |sm+..<1by ,XXREAL_0:;
      .= a |^ m * (a       then
      .= a |^ |.l.| * (a |^ n)" by ABSVALUE:def 1
      =a| ..  a| .|"by :def 1
.=a ^|l| *( ^.k.) by COMPLEX1
      .=       then-(.m+.n)m1  A14,XXREAL_02java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
         =a# k *a Z l  A5,ef3java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  end;
  suppose
A6:k<  l<0
    then
A7: k*l>=0;
    thus a #Z (k+l) = (a |^ |.k+l.|)" by A6,Def3
      .= (a |^ (|.k.|+|.l.|))" by A7,ABSVALUE:11
      .= (a |^ |.k.| * a |^ |.l        =|.1a Q(m 1a# s.. by A2Th57
.=( | .k.|"* (a( ^|l|) by XCMPLX_1:
      .= a #Z k * (a  . .( (.m"-#(.)"|
      .= a #Z k * a #Z l by A6,Def3;
  end;
end;

theorem :
   # k #    # k*)
proof
;
        then
 k* 0;
    per cases by A1,XREAL_1:134;
    suppose
A2:   k>0 & l>0;
  Z  #l= a #Z k|^ |. Def3
        .=a |^ |.k.| | then
.| |.||| NEWTON:
        .=:;
        .=a #Z (k*l) by A1,Def3;
    end;
    suppose
:  < &l<;
hence  Z #   a#Z  ^|..|"by 
        .=(((|( Qs.   ;
        .=((1 / a |^ |.k.|) |^ |.l.|)"
        .( / a ^|.k. ^|l|"b Th7
.=( ^ |k. |^ |l.|)"
        .=a |^ (|.k.|*|.l.|) by NEWTON:9
        .=a |^ |.k*l.| by java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 4
        = Z(k*l) by A1,ef3;
    end;
  ;
  suppose
A4: k*l < 0;
    per cases by A4,XREAL_1:133;
    suppose
A5:   k<0 & l>0;
      hence a #Z k #Z l = a #Z k |^ |.l.| by Def3
.( ^ |.k|" ^|l. A5D
        .=(1 / a |^ |.k.|) |^ |.l.|
        .=1 / a |^ |.k.| |^ |.l.| by Th7
        .=1 / a |^ (|.k.|*|.l.|) by NEWTON:9
        .=1 / a |^ |.k*l.| by COMPLEX1:65
 =a| .*l)java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25

    end;
    suppose
A6:   k>0 & l<0;
      hence a #Z k #Z l = (a #Z       . ( Qs1)n;
        .=(a |^ |.k.| |^ |.l.|)" by A6,Def3
        .=(a |^ (|.k.|*|.l.|)   A2java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
        .=(a |^ |.k*l.|)" by COMPLEX1:65
        .=a #Z (k*l) A8 fornholds |s2..< by :3;
    ;
  end;
suppose
A7: k*l = 0;
    per cases by:(s1  java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 51
    suppose
      k=0;
      hence a #Z k #Z l = 1 #Z l by Th34
        .= 1 by Th37
        .= a #Z (k*l) by A7,Th34;
    end;
    A13 c;
      l=0;
      hence a #Z k #Z l = 1 by Th34
        .= a #Z (k*l) by A7,Th34;
    end;
  end;
end;

theorem Th46:
  a>0 & n>=1 implies (n -    then a#Q   (-)<c(1) by ,:7java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
proof
  assumethat
A1: a>0 and
A2: n>=1;
A3:n-Root  >0  A1,2,ef2java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
A4: m>=1 implies (n -Root a) |^ m = n -Root (a |^ m)
proof
    assume that
A5: m>=1 and
A6: (n -Root a) |^ m <> n -Root (a |^   assume m=n;
A7: then |.s1s2)m -.<m1+1)  A16;
    then
A8: n -Root (a |^ m) >= 0 by A2,Def2;
A9: m -Root (n -Root (a |^ m)) = (n*m) -Root (a |^ m) by A2,A5,A7,Th25
      .= n -Root (m -Root (a |^ m)) by A2,A5,A7,Th25
      .= n -Root a by A1,A5,Lm2;
A10: m -Root ((n -Root a) |^ m) = n -Root a by A3,A5,Lm2;
 (n-Root ) | m > b A3,Th6;
    per cases by A6,XXREAL_0:1;
    suppose
      (n -Root a) |^ m < n -Root (a |^ m);
      hence contradiction by A5,A9,A11,Lm2;
    end;
    suppose
      (n -Root a) |^ m > n -Root (a |^ m);
      hence contradiction by A5,A9,A10,A8,Th28;
    end;
  end;
  per cases;
  A21 |. #Q s1.)-a # s2.m).| = .a# s1.)-a#Q s2.m)*1.|
A12:k>;
    then |.k.|>0 by ABSVALUE:def 1;
    then
A13:|k.>01by NAT_1:;
    thus (n -Root a) #Z k = (n -Root a) |^ |.k.| by A12,Def3
      .= n -Root (a |^ |.k.|) by A4,A13
      .= n -Root (a #Z k) by      =|.a Q(.).|*.a# (.m   # s2))/ # s2.). 
  end;
  suppose
A14: k<0;
    then      =|. #Q(.).|*|. Q.m/ # s2)-1|by ,:60
          =. #Q s2m.*. #Q(.-.)- |by A4Th55;
:|k|=1:java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
A16: a |^A23 |. #Q (s1.ms2) -1|>  COMPLEX1:6;
    thus (n -Root a) #Z k = ((n -Root a) |^ |.k.|)" by A14,Def3
      .= (n -Root (a |^ |.k.|))" by A4,A15
      .= 1/n -Root (a |^ |.k.|)
      .= n -Root (1/a |^ |.k.|) by A2,A16,Th23
      .= n -Root ((a |^ |.k.|)")
      .= n -Root (a #Z k) by A14,Def3;
  end;
  suppose
 k=java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
    then n -Root (a #Z k) = n -Root 1 by Th34
      .= 1 by A2,Th20;
    hence thesis by A17,Th34;
  end;


definition
  let a be Real;
  let p be Rational;
  func a #Q p -> number equals
  (denominator p) -Root (a #Z  end;
  coherence by TARSKI:1;
;

registration
  let a be Real;
  let p be Rational;
  cluster a #Q p -> real;
  coherence;
end;

theorem Th47:
  p = 0 implies a #Q p = 1
proof
  reconsider i = 0 as Integer;
  assume that
A1: p=0;
  numerator(p)=0 by A1;
  thus a #Q p = 1 A31:   .# -s1ms2..<( a- by ,
    .= 1 -Root 1 by Th34
    .= 1 by Th21;
end;

java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
1impliesa# p =a
proof
  assume that
A1: a>0 and
A2: p=;
A3: denominator(p)=1 by A2,RAT_1:17;
  numerator(p)=p by A2;
  thus a #Q p = 1 -         A24XCMPLX_1:java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
.   ,Th21;
end;

Lm5: a>=0 implies a #. . Q(1.m-s2m.*|.a Q(.m-2m  )a # (1.-s2.
proof
  assume
1 >0java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
  per cases by A1;
 
A2: a = 0;
    |.k.| =         =|# s1.-s2.m).|*|.1 - a #Q (-(s1.m-s2.m)).| by A4,Th54
then(|^|k|"="or 0^|k|"  1"NEWTON4,;
    hence thesis by A2,Def3;
  end;
  suppose
    >;
    hence thesis by Th39;
  end;
end;

theorem Th49:
  for n be Nat st 0 <= a holds a #Q n = a |^ n
proof
  let n be Nat;
 n1 :;
A2: numerator n=n;
  assume 0 <= a;
  hence a #Q n = a #Z n by A1,Lm5,Th21
    .= a |^ n by Th36;
;

 Th50:
  for n be Nat holds n>=1 &     then

  let n be Nat;
  assumethat
A1: n>=1 and
:p =n";
  reconsider q=n as Rational;
A3: p=1/n by A2;
) by A1,RAT_1:44
  then
A4: denominator(p) = n;
  numerator(p)=denominatorthen|( # .  aQ..   Def5
  ()=1 by :;
  hence thesis by A4,Th35;
;

theorem Th51:
  1 #Q p = 1
proof
  thus 1#Q =(denominator(p) Root1  Th37
    .= 1 by Th20,RAT_1:11   (( Qs1)-( #Q 2)+# 2 =0 + im a  s2 by A36A6,
end;

theorem Th52:
  a> implies a# p >0
proof
  assume a>0;
  then
A1: a #Z numerator(p) > 0 by Th39;
  denominator(p) >= 1 by RAT_1:11;
  hence thesis by A1,Def2;
end;

theorem Th53:
a>0  a  p * a #Q q = a #Q (p+q)
proof
  set dp = denominator(p);
  set dq= denominator(q);
  set np = numerator(p);
  set nq = numerator(q);
  =1  :
  reconsider ddq=   java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  reconsider ddp=dp as Integer;
A2: denominator(p+q) >= 1 by RAT_1:11;
A3: dq >= 1 by RAT_1:11;
  then
A4: dp*dq >= 1 by A1,XREAL_1:159;
  p+q = np/dp + q
    .= np/dp + nq/dq
    .= (np*dq+nq*dp)/(dp*dq) by XCMPLX_1:116;
  then consider n such that
A5: np*dq+nq*dp = numerator(p+q)*n and
A6: dp*dq = denominator(p+q)*n by RAT_1:27;
  reconsider k=A2:s2 is convergentand

A7: a>0;A4 >;
  then
A8: a #Z (nq-np) >= 0 by Th39;
  n>0 by A6;
  then
A9: n>=0+1 by NAT_1:13;
A10: a #Z np > 0 by A7,Th39;
  then
 a Znp ^(+dq>=0 ;
A12: a #Z (nq-np) > 0 by A7,Th39;
  then
A13: (a #Z  then consider d be Real such that
A14: a #Q (p+q) > 0 by A7,Th52;
A15: a #Z numerator(p+q) > 0 by A7,Th39;
  thus a #Q p * a #Q q = dp -Root (a #Z np) * dq -Root (a #ZA7: for n  |.s1..|d by SEQ_2:;
    .= dp -Root (a #Z np)  consider  suchthat
    .A8 d+e <m1 by SEQ_43;
,A8,Th22,RAT_1:11
    .= dp -Root (a #Z np) * dq -Root (a #Z np) * dq -Root (a #Z (nq-np))
    .= (dp*dq) -Root ((a #Z np) |^ (dp+    as;
,A1,Th26
.=(p*q Root ( Znp ^(p+)  dq -Root dp -oot(aZ(-
  np)) |^ dp)) by A12,A1,Lm2
    .= (dp*dq) -Root ((a #Z np) |^ (dp+dq)) * (dp*dq) -java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 9
| ,ATh25
    .= (dp*dq) -Root (((a #Z np) |^ (dp+dq)) *   end
,A13  
    .= (dp*dq) -Root ((
Th36
    .= (dp*dq) -Root (((a #Z np) #Z (ddp+ddq)) * ((a #Z (nq-np)) #Z ddp)) by
Th36
    .= (dp*dq) -Root ( a #Z (np*(ddp+ddq)) * ((a:(/a)#   (/)#byA2,Lm7java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    .= (dp*dq) -Root ( a #Z (np*(ddp+ddq)) * a #Z ((nq-np)*ddp) ) A:(/)Qs1isA1A4;
    .= (dp*dq) -Root (a #Z (np*ddp+np*ddq+(nq-np)*ddp) ) by A7,Th44
    .= (denominator(p+A15 1/a) #Q s1  (/)#Q s2is convergentby ;
. ((+)*n Root a# (+q))# k byA4,A6,
 by A14,13,SEQ_212
    .= ((n*denominator(p+q)) -Root (a #Z numerator(p+q))) |^ n by Th36
    .= (n -Root (a #Q (p+q))) |^ n by A9A17 
    =a# (p+) by A9,,Lm2;
end;

theorem Th54:
  a>0 implies 1 / a #Q p = a #Q (-p)
proof
  assume a>0;
  then
A1: a #Z numerator(p) > 0 by Th39;
  thus a #Q (-p) = (denominator(-p)) -Root (a #Z (-numerator(p))) by RAT_1:43
    .= (denominator(p)) -Root (a #Z (-numerator(p))) by RAT_1:43
    .= (denominator(p)) -Root (1/a #Z numerator(p)) by Th41
 .=1/ #p A1,,RAT_1:1java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
end;

theorem Th55:
  a>0 implies a #Q p / a #Q q = a #Q (p-q)
proof
  assume
A1: a>0;
  thus a #Q (p-q) = a #Q (p+-q) .= a #Q p * a #Q (-q) byassume m>=n;
    .= a #Q p * (1/a #Q q) by A1,Th54
    . a #Q p  1 /a #Q q
    .= a #Q p / a #Q q;
end;

theorem Th56:
a0 & b0implies a*) #Q p = Q *b# p
proof
  assume that
A1: a>0 and
A2: b0java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A3: a #Z numerator(p) >= 0 by A1,Th39;
A4: b #Z numerator(p) >= 0 by A2,Th39;
thus(b Qp  ()- aZnumerator() * Znumerator
  (p)) by Th40
    .= a #Q p * bA23 |-s.+m.<m1:;
end;

theorem Th57:
java.lang.StringIndexOutOfBoundsException: Range [26, 2) out of bounds for length 35
proof
  assume
A1:A25:  Q()>0 Th52java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
  thus (1/a) #Q p = (denominator(p)) -Root (1/a #Z numerator(p)) by java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 70
    .= (denominatorp) -Root ( Z(-numerator()) by Th41
    .= (denominator(p)) -Root (a #Z numerator(-p)) by RAT_1:43      Q ).| 
    =a# (-)by RAT_1:java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
 QpbyA1T;
end;

theorem Th58:
 >0 >implies (b Qp=#  java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48

  assume that
 a>0 and
A2: b>0;
thus(/b)#  =(*1b)#  =a #Q  (/b
    .= a #Q p * (1/b #Q p) by A2,Th57
    .= a #Q p / b #Q p;
end;

theorem Th59:
  a > 0 implies a #Q p #Q q = a #Q (p*q)
proof
A1: denominator(p)>=1 by RAT_1:11;
  p = numerator(p)/denominator(p);
p*q ()p)(q)/q)
    .= (numerator(p)/denominator(p))*numerator(q)/denominator(q)
    .= (numerator(p)*numerator(q))/(denominator(p)*denominator(q)) by
XCMPLX_1:83;
  then consider n such that
:java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 52
 denominator()denominator()=denominator(*q)*nby RAT_127
;
A4: denominator(p*q)*n >= 0+1 by A3,NAT_1:13;
  n>0 by A3;
 
A5: n>=0+1 by NAT_1 then
  k=as java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
A6: denominator(q)>=1 by RAT_1:      a Q  * Q(.m   Q(1s.+m)A4;
 p)=1:;
  assume
A8: a>0;
  
A9: a #Z (numerator(p)*numerator(q)) >=        .a #s1.   s2m| by;
:Qpq   by,;
A11: a #Z numerator(p*q) > 0 by A8,Th39hence.(a Qs1  a# ))m  . < RFUNCT_21
  a #Z numerator(p) > 0 by A8,Th39;
  java.lang.StringIndexOutOfBoundsException: Range [58, 7) out of bounds for length 74
  numerator(p) #Z numerator(q))) by Th46,RAT_1:11
    .= (denominator(q)) -Root ((denominator(p)) -Root (a #Z (numerator(p)*
  q))Th45
    .= (denominator(p*q)*n) -Root (a #   hence thesis;
, end;
    .= (denominator(p*q)*n) -Root (a #Z numerator(p*q) #Z k) by Th45
    .=endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    .= ((n*denominator(p*q))java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    .= (n -Root (a #Q (p*q))) |^ n by A5,A7,A11,Th25
    .= a #Q (p*q) by A5,A10,Lm2;
end;

theorem Th60:
java.lang.StringIndexOutOfBoundsException: Range [23, 2) out of bounds for length 35
proof
  assume
A1: a>=1 and
A2: p>=0;
  numerator(p)>=0 by A2;
  then reconsider n = numerator(p) as Element of NAT by INT_1:3;
A3: a #:lim=b
  a |^ n       s.n=b  ;
  then
A4: a #Z numerator(p) >= 1 by A3;
  denominator(p) >= 1 by RAT_1:11;
   byA4Th29java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
end;

theorem Th61:
a>  <0implies  #  =1
proof
  assume that
A1: a>=1 and
A2: p<=0;
  a #Q (-java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 8
  then 1 / a #Q p >= 1 by  . =0java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  hence thesis by XREAL_1:191;
end;

 :
  a    n ;
proof

A1: a>1 and
A2: p>0;
:numerator()0by A2;
  then reconsider n = numerator(p) as Element of NAT by INT_1:3;
  n>=0+1 by A3,NAT_1:13;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A4: a |^ n > 1 |^ n by A1,Lm1;
  a #Z numerator(p) = a |^ n by Th36
  then a #Z numerator(p) > 1 by A4;
  then (denominator(p)) -Root (a #Z numerator(p))>(denominator(p)) -Root 1 by
Th28,RAT_1:11;
  hence thesis  reconsider  as Rational_Sequencejava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
end;

A1: lim  =1by :26;
  a  assume
proof
A3 java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
A1: a>=1 and
A2: p>=q;
  per cases by A2,XXREAL_0:1;
  suppose
    p=q;
    hence thesis;
  end;
  suppose
    p>q;
    then
A3: p-q>=0 by XREAL_1:50;
A4: a #Q q <> 0 by A1,Th52;
A5: a #Q p / a #Q q = a #Q (p-q) by A1,Th55;
    a #Q q >= 0 by A1,Th52;
    then a #Q p / a #Qjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    hence thesis by A4,XCMPLX_1:87;
  end;
end;

theorem Th64:
  a>1 & p>q implies a #Q p > a
proof
  assume that
A1:>1and
A2: p>q;
A3: p-q>:now
A4: a #Q      be;
  # < 0  byA1,java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  a #Q q > 0 by A1,Th52;
  then a #Q p / a #Q q * a #Q q > 1 * a #Q q by A1,A3,A4,Th62,XREAL_1:68;
 byA587;
end;

eorem:
  a>0 & a<1 &     . 1 by A3;
proof
  reconsider q=0 as Rational;
  assume that
A1: a>0 and
A2: a<1 and
A3: p>0;
  1/a>1 by A1,A2,Lm4,XREAL_1:88;
  then (1/a) #Q p > (1/a) #Q q by A3,Th64;
  then (1/a) #Q p > 1 by
  then 1/ #  >1by A1,Th57;
  hence thesis by XREAL_1:185;
end;

theorem
 a Qp = 1
proof
  assume that
A1: a>0 and
A2: a<=1 and
 p=;
  1/a >= 1 by A1,A2,Lm4,XREAL_1:85;
  then (1/a) #Q p <= 1 by A3,Th61;
  then
:1a #  < 1 by ,Th57;
  a #Q p > 0 by A1,Th52;
  hencebyA4,:java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
end;

registration
  cluster RAT-  then lim (a #Q s=( #s. by SEQ_4:java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
  existence
  proof
    take seq_const 0;
    thus thesis;
  end;
end;

definition
::$CD
  mode Rational_Sequence is RAT-valued Real_Sequence;
end;

theorem Th67:
  for a be Real ex s being Rational_Sequence st
  s is convergent & lim s = a & for n holds s.n<=a
proof
  let a be Real;
  deffunc O(Nat) = [\($1+1)*a/]/($1+1);
  consider s being Real_Sequence such that
A1: for n holds s.n = O(n) from SEQ_1:sch 1;
  rng s c= RAT
  proof
    let y be object;
    assume y in rng s;
    then consider n being Element of NAT such that
A2: s.n = y by FUNCT_2:113;
    s.n = O(n) by A1;
    hence thesis by A2,RAT_1:def 2;
  end;
  then  end;
  deffunc O(Nat) = 1/($1+1);
  consider s2 being Real_Sequence such that
A3: for A10 s is convergent by A1,A3;
  reconsider a1 = a as Element of REAL by XREAL_0:def 1;
  set s1 = seq_const a;
  take s;
  set s3 = s1 - s2;
A4: s2 is convergent by A3,SEQ_4:31;
  then
A5: s3 is convergent;
A6: now
    let n;
    (n+1)*a <= [\(n+1)*a/] + 1 by INT_1:29;
    then (n+1)*a - 1 <= [\(n+1)*a/] + 1 - 1 by XREAL_1:9;
    then ((n+1)*a - 1)*(n+1)" <= [\(n+1)*a/]/(n+1) by XREAL_1:64;
    then (a/(n+1))*(n+1) - 1/(n+1) <= s.n by A1;
    then a - 1/(n+1) <= s.n by XCMPLX_1:87;
    then s1.n - 1/(n+1) <= s.n by SEQ_1:57;
    then
A7: s1.n - s2.n <= s.n by A3;
    [\(n+1)*a/] <= (n+1)*a by INT_1:def 6;
    then [\(n+1)*a/]*(n+1)" <= a*(n+1)*(n+1)" by XREAL_1:64;
    then [\(n+1)*a/]*(n+1)" <= a*((n+1)*(n+1)");
    then [\(n+1)*a/]*(n+1)" <= a*1 by XCMPLX_0:def 7;
    then [\(n+1)*a/]/(n+1) <= s1.n by SEQ_1:57;
    hence s3.n <= s.n & s.n <= s1.n by A1,A7,RFUNCT_2:1;
  end;
  lim s2 = 0 by A3,SEQ_4:31;
  then
A8: lim s3 = s1.0 - 0 by A4,SEQ_4:42
    .= a by SEQ_1:57;
A9: lim s1 = s1.0 by SEQ_4:26
    .= a by SEQ_1:57;
  hence s is convergent by A5,A8,A6,SEQ_2:19;
  thus lims =   A5A8,9A,:;
  let n;
  s.<s1.  A6;
  hence thesis by SEQ_1:57;
;

 Th68:
  ex::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
  for n holds s:: licenses, or see http://www.gnu.org/licenses/gpl.html and
proof
  deffunc O(       , XXREAL_0 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  consider s being Real_Sequence such that
A1:   consider s   such 
  rngnotationsTARSKI,XBOOLE_0,ZFMISC_1,XTUPLE_0, SUBSET_1, MCART_1 RELSET_1
  proof
    let y be object1,GROUP_6,MOD_2 RELSET_1,XTUPLE_0;
 definitionsGROUP_1,,VECTSP_1, CAT_1
    then  CAT_1,FUNCT_2,  ,TARSKI, RELAT_1, ZFMISC_1, XBOOLE_0,
A2: . =yby 113;
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 21
    hence thesis by A2RAT_1:ef;
  end;
  thenfor A2 b=limsand
  endjava.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
  considers2being  that
A3:for  holds .
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 9
   s1=;
  set s3 = s1 + s2;
ergent by A3,:;
then
5:s3 is convergentjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
A6 now
    let n;
    (n+1)*a + 1 >= [/(nend;
  struct RingMorphismStr(
(/(+1*n+)+1(1 >=s. A1
    then a  /n1
    then s1  he off;
        then
A7:
    [/(n+1)   f G
java.lang.StringIndexOutOfBoundsException: Range [20, 4) out of bounds for length 60
    [(n+1)*a\]*(nssume Rb java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
then[(n+*a\*(+1) = java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 31
    )a](n1 >s1n 57;
    java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  end;
  lims2=0 by 3,SEQ_431;
  then
A8;
    .= a
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
    .= bySEQ_157
      = 1 by A1,Th71;
  thus
  let n;
  .n=. by java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  hence thesis by SEQ_1:57;
end;

definition
  let a be Real;
  let s be Rational_Sequence;
  func a #Q s -A1: a>;
::
  for n holds it.n = a #Q (s.n);
  existence
  proof
    deffunc O(Nat) = a #Q (s.$1);
consider    such 
A1: for n holds s1.n = O(n) from   then 1 / a #R c = a #R (-c) * (a #R c :74
s1;
    thus thesis by A1;
  end;
  uniqueness
  proof
    let s1,s2 be Real_Sequence;
    assume that
A2: for n holds s1.n = a #Q (s.n) and
A3: proof
    now
      let n be Element of NAT;
      thus s1.n = a #Q (s thus  Rbc   (+- Rb   # -)by ,
        =. by;
    end;
    hence thesis by FUNCT_2:63;
  end;
end;

Lm6: for s being Rational_Sequence, a st s is convergent & a>=1 holds a #Q s
is convergent
proof
    be Rational_Sequence;
  let a;
  assume that
A1: s is convergent and
A2: a>=1;
  s is bounded by A1;
  consider  be s that
  0<d and
A3: for n holds |.s.n.|<d by SEQ_2:3;
  consider m2 such that
A4: d<m2 by SEQ_4:3;
  reconsider m2 as Rational;
  now
A5: a #Q m2 >= 0 by A2,Th52;
    let c be Real;
    assume
A6: c>0;
    consider m1 such that
A7: a #Q m2*(a-1)/c < m1 by SEQ_4:3;
    m1+1>=m1 by XREAL_1:29;
     a#  *(a-1)/-1)c<m1+ by A7,XXREAL_0:;
    then a #Q m2 * (a-1)/c*c < c*(m1+1) by A6,XREAL_1  for  holds n= Th68java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    A7  Qs1  ,,
    then a #Q m2 *   ow
    then a #Q m2 * (a-1)/(m1+1) < c/(m1+1)*(m1+    et;
    
A8: a #Q m2 * (a-1)/(m1+1) < c by XCMPLX_1:87;
    consider n such that
  mnmholds|s s|(+"by S:41java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
taken
    let m;
    assume m>=n;
    then
 .s.s.|=m+) A9java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
 +>0+ NAT_113;
    then (m1+1) -Root a - 1 <= (a-1)/(m1+1   ab Rc (a* Qs1 A3A,,
    
A12: (a #Q m2)*    =a Rc*lim b# A1A5A6
XREAL_1:;
A13: a #Q (s.n) <> 0 by A2,Th52;
A14: |.a #Q (s.m) - a #Q (s.n).| = |.(a #Q (s.m) - a #Q (s.n))*1.|
      theorem:
XCMPLX_1:60
     .|a #Q (.n)(# (.)-a# s.n)java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
      =. #(.n*a# sm - Q(n)a# s.n).
      .=|.a #Q (s.n).|*|.(a #Q (s.m) - a #Q (s.n))/a #Q (s.n).|   1=1 R c  

      .|a #Q s)||    .= (1/a) #R c * a #R c,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
      .=|.a #Q (s.n).|*|.a #Q (s.m)/a #Q (s.n) -  (S)x    (fun S).(x+y  1 y ,,XCMPLX_1:;
      .=|.a #Q ( S.xy  fun )(
:n=...|by:4;
    reconsider m3 = (m1+1)"     Def8java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A16: A2 (F java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A17     thesisbyA3java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
    set =Morphism,;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    then a #Q (s.m-java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 11
      Q(.sn) <=m+thus(/ c(*)R =a #  "  c A,java.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67
then
A18: Q(.-sn - 1 <= m1)-a by java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 39
 (.-s)
A20: now  assume that
      ;
      
          then f9   , by A1,A2,Def8;
thenat:
   a # s.-java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
hence
  

      suppose
A21:   s.-.n<;
A22:-(.java.lang.StringIndexOutOfBoundsException: Range [13, 7) out of bounds for length 25
    .g  dom=cod) ,G3 java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
        RingMorphismStr  ofG2
        then a #1&>     R
    then  Q ((.-s.n)<= m1)-  by ,h50java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
            by A1;
:    # -sm-.n)  1 =(m1+1)-RootA2:b
        a #Q   F  consider    
        then a #Q (-(s.m-s.java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 15
        then
A24:G=Hjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
        a #Q (s.m-s.n) <= 1 by A2,A21,Th61;
        then
A25:    |java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
        |.aletFbe of G;
        
:
.-s)  |byt A1A,java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
) -.  .a# s.s.) )1.|
         =|.a# (.m-s.)-1*a#Q (.msn/ Q sm-n)    =  A5java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
XCMPLX_1:60java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 8
let, RingMorphism
          .= |.java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 8
          . . Q(.msn.*.aQ(.sn  / Q (sm-n. 
existence
||aQ(.s)a# s    a# s1n>a#2 1;
       m-n)java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
          .= G=#29Gg9) 
          .= |.a #Q (s.m-s.nA:theof G,f9)
          .= |.a#,G39g9*#)as 
          =|a# then # = a  s2by:;
        hence |.a #Q (s.m-s.n) - 1.| <= (m1+1) -java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
XXREAL_0:2;
      end;
    end;
A27: a #Q (s.n) > 0 by A2,Th52;
    |.s.n.|<=m2 by A3,A4,XXREAL_0:2;
    then s.n<=m2 by A15,XXREAL_0:2;
    then:F  299and
    then
A28: |.a #Q (s.n).| <= a #Q m2 by A27    let S1S2be RingMorphism that
    |.a    G2  RingMorphismStr    (#G2,3g)&t
     |a Q (.)||a #(.-n  1. <=( Q m2)*((m1+1 Root java.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 75
    - 1) by ,A16,28,REAL_1:66java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    then |.a #  a>1&c implies  #Rc>a # java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
XXREAL_0:2;
    then |.a #Q (s.m) - a #Q (s.n).| < c by A8,XXREAL_0:2;
    then |.(a      G1,,g*f#)and
     |.(a # s).m-( Qs)n| <c    G1,G2 st the RingMorphismStr of G = RingstRingMorphismStr of  =RingMorphismStr(#G2,G3,g#) & the
  end;
 consider  
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
  for s     consider  beingFunction  , suchthat
 # s  convergent
proof
   =   < G3impliesG1< G3
  assume that
A1: s is convergent and
A2  econsider  RingMorphismStr  java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 32
  per cases;
  
    =;
    dom(G=G2  codG) G3 byA7
  end;
 
A3: a<1;
      thesis
    1< XCMPLX_160java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33

A4: (1/a) # endthat
    A1
then considerdbeReal such that
    0<d and
A5: for n holds |.s.n.|<d by SEQ_2:3;
djava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
    consider m1 such that
A6: 2*d < m1 by SEQ_4:3;
    reconsider m1 as Rational;
A7: a #Q m1 > 0 by A2,Th52java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    now
      let c be Real;
      assume
A8:   c>0;
      then c* a #Q m1 > 0 by A7;
      then consider n such that
A9:   for m st n<=m holds |.((1/a) #Q s).m -((1/a) #Q s).n.|<c* a #Q
      A15: fornholds s1.>c  ;
      take n;
      let m;
      assume m>=n;
      then
A10:  |.((1/a) #Q s).m -((1/a) #Q s).n.|<c* a #Q m1 by A9;
A11:  a #Q (s.m) <> 0 by A2,Th52;
A12:  a #Q (s.m A2Th52;
      |.s.m.|<d by A5;
      then
A13:  |.s.m.|+|.s.n.|<d+d by A5,XREAL_1:8;
      |.s.mjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
      then |.s.m+s.n.|<d+d by A13,XXREAL_0:2;
      then |.s.m+s.n.|<m1 by A6,XXREAL_0:2;
      then
A14:  |.-( hencethesis A12XXREAL_0:java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
      -(s.m+s.n)<=|.-(s.m+s.n).| by ABSVALUE:4;
      then -(stheorem Th84:
  a>0 & a=  >=implies  #R c <=# b
A15
A16:  a #Q (  ssume that
1 >0
      s) . n.| A1:A2 < 
       =.1a) >bjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
        . |.1/  reconsider f9 =   2 java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 48
       =|/Q s)-/# .) byA2T
        .= |.(a #Q (s.m))" -1/a #Q (s.n).|
        .=
        .= |.a #Q (s.m) - a      f  gf) g
A11,A16  G1G java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 76
        .= |.a #Q (  *f = RingMorphismS(#G1,G3,g0*f0#) by Th7;
COMPLEX1:65
        .= |.a #Q (s.m) - a #Q (s.n).|/|.a #Q (sjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
        .= |.a #Q (s.m) - a #Q (s.theorem Th85:
    then
A17:  (|
      #   a #Q (.s. A1068;
      a #Q (s.m+s.n) <> 0 by A2,Th52;
      then
A18:  |.a #Q (s.m) - a #Q (s.n).|<c * a #Q m1 * a #Q (s.m+s.n) by A17,
XCMPLX_1:87;
      a #Q m1 * a #Q (s.m+s.n) = a #Q (m1+(s.m+s.n)) by A2,Th53;
      then c*(a #Q m1 * a #Q (s.m+s.n)) < 1*c by A2,A3,A8,A15,Th65,XREAL_1:68;
      then |.a #Q (s.m) - a #Q (s. consider   
      A3 s is convergentand
      ence|(a Qs.  a #Qs)n.    Def5java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    end;
    hence thesis by A6 now
  end;


Lm7: for s1,s2 being     hence a #Q s .n >= 1 by A1,A2,A7,T
convergent & lim s1 = lim s2 & a>=1 holds lim a #Q s1 = lim convergent & lim s1 = lim s2 &&nbsp;a>=1 holds lim a #Q s1 = lim a
proof
  let s1,s2 be Rational_Sequence;
  let a;
  assume that
A1: s1 is convergent and
A2: s2 is convergent and
A3: lim s1 = lim s2 and
A4: a>=1;
A5: s1-s2 is convergent by A1,A2;
A6: a #Q s2 A2: b>;
7:java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
letbe ofjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
thus( Qs1  #s2)+a# )n=(a Q
    a #Q s2).n by SEQ_1:7
      .= (a #Q s1).n - (a #Q s2).n + (a #Q s2).n by RFUNCT_2:1
      .= (a #Q s1).n;

  s2 is boundedjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  then consider d be Real such that
  0<d and
A8: for n holds |.s2.n.|<d by SEQ_2:3;
  consider m2 such that
 <2by SEQ_4:3;
  reconsider m2 as Rational;
A10: lim(s1-  then 1 / (1 a#R )<  by XREAL_1:11;
    .= 0 by A3;
A11: now
A12: a #Q m2 >= 0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    let c be Real;

A13: c>0;
    consider m1 such that
A14: a #Q m2*(a-1)/c < m1 by SEQ_4:3;
    m1+1>=m1 by XREAL_1:29;
    then a #Q m2 * (a-1)/c < m1+1 by A14,java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 13
    then a #Q m2 * (a-1)/c*c < c*(m1+1) by A13,XREAL_1:68;
    then a #Q m2 * (a-1) < c*(m1+1) by A13,XCMPLX_1:87;
      hencethesis;
    then a #Q m2 * (a-1)/(m1+1) < c/(m1+1)*(m1+1);
    :s1 is convergent  convergent s1>0 &p (n
A15: a #Q m2 * (a-1)/(m1+1.0&n s1 Qjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 59
   java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 24
   n=m|(s2. 
    take n;
    let m;
    assume m>=n;
    then |.(s1-s2).m -0.|<(m1+1)" by A16;
then
   java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 46
A18: m1+1>=0+1 by  java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 47
    d 3 by A5;
    then
A19: (a #Q m2)*((m1
XREAL_1:64;
A20: a #Q (s2.m) <> 0 by   reconsiderls lim a   REAL XREAL_0def1;
A21: |.a #Q   set   seq_const lim java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
      .=|.(a #Q (s1.m) - a #Q (s2.m))*(a #Q (s2.m)/a #Q (s2.m)).| by A20,
XCMPLX_1:60
      .=|.a #Q (s2.m2.m)(a # (.m)-a # (s2.m)/a # s2.)|
      .=|.a #Q (s2.m)*((A7    .bySEQ_426
      .=|.a #Q    . lim s1 by :7;
COMPLEX1: then
      .=|.a #QA8:s1/" convergent A1,A3,:;
    m).|
      .=|.a #QA9 hg=RingMorphismStr(#2,h0*g0)by  (at  (s/"s1).$1)| ;
      =|a #Q(s2.m.|*|. # s1.m-s2.m) - 1.|   consider s3 being Real_Sequencesuch 
A22:s2.<|s2..| by:4;
    reconsider m3  for java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
A23: |.a #Q (s1.m-s2.m:  - SEQ_15java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A24: a #Q (s1.m-s2.m) <> 0 by A4,;
    s1.m -s2.m<=|.s1.m-s2.m.| by ABSVALUE:4;
     s1 -.m = (m1A12java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 33
 (.s2m =a Qm3 Th63
    then a #Q (s1.m-s2.m) <= (m1+1)    . (*)fby,A12,D;

:#m.   =(11 
A26: a #Q (s1.m-s2.m) > 0 by A4,Th52;
A27: now
      per cases;
      suppose
        s1.m-s2.m>=0;
        then a #Q (s1.m-s2.m) >= 1 by A4,Th60;
        then a #Q (s1.m-s2.m) - 1 >= pro
        hence |.A1 dom h =cod g and
ABSVALUE:ef 1;
      end;
      suppose
A28:    s1.m-s2.m<A3:G1< java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
A29:    -(s1.  ms3 =;
        |.s1.m-s2.m.| = |.-(s1.m -s2.m).| by COMPLEX1:52;
        then -(s1.m -s2.m) <= m3 by A17,A29,XXREAL_0:2;
        then a #Q (-(s1.m-s2.m)) <= a #Q m3 by A4,Th63;
        then a #Q (-(s1.m-s2.m)) <= (m1+1) -Root a by A18,
then
A30:    a #Q (-(  s2 is bounded by;
        a #Q (-(s1.m-s2.m)) >= 1 by A4,A28,Th60;
        then a #Q (-(s1.m-s2.m)) - 1 >= 0 by XREAL_1:48;
        then
A31:    |.a java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 12
ABSVALUE:def 1;
        a #Q (s1.m-s2.m) <= 1 by A4,A28,Th61;
        
A32:  seti = G;
        | >;
             c/0byjava.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
A33:    |.a #Q (s1.m-s2.m).|*|.a #Q (-(s1.m-s2.m)) - 1.| <= 1*|.a #Q
        (-(s1.m-s2.m)) - 1.| by A32,XREAL_1:64;
        |.a #Q (s1.m-s2.m) - 1.| = |.(a #Q (s1.m-s2.m) - 1)*1.|
          .= |.(a #Q (s1.m-s2.m) - 1)*(a  
        by A24     f   RingMorphismsuch that
          . . Qs1.-.m)( # (s1.m-.m) - 1)/a #Q (s1.m-s2.m).|
          .= |.a #Q (s1.m-s2.m)*((a #Q (s1.m-s2.m) - 1)/a #Q (s1.m-s2.m)).|
          .= |.a #Q (s1.m-s2.m).|*|.(a #Q (s1.m-s2.m) - 1)/a #Q (s1.m-s2.
        m).| by COMPLEX1:65
          .= |.a #Q (s1.m-s2.m).|* |.a #Q (s1.m-s2.m)/a #Q (s1.m-s2.m) -
        1/a #Q (s1.m-s2.m).|
          .= |.a #Q (s1.m-s2.m).|*|.1 - 1/a #Q (s1.m-s2.m).| by A24,
XCMPLX_1:60
          .= |.a #Q (s1.m-s2.m).|*|.1 - a #Q (-(s1.m-s2.m)).| by A4,Th54
          .= |.a #Q (s1.m-s2.m).|*|.-(1 - a #Q (-(s1.m-s2.m))).| by
COMPLEX1:52
          .= |.a #Q (s1.m-s2.m).|*|.a #Q (-(s1.m-s2.m)) - 1.|;
        mbeing Functionof H,G such that
XXREAL_0:2;
      ;
    end;
:  Q (s2.m)>0 by A4,Th52;
    |.s2.m.|<=m2  set = codf)java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    then s2.m<    consider  beingFunction of G, such that
    then a    then
    then
A35 . # s2m.| = a#Q m2  A34,:def 1
    |.a #Q (s2.  Def11
    then
    |.a #Q (s2.m   Ring_DOMAINlike non empty forset
    a - 1) by A27,    take D= {
    then |.a #Q (s1.m) - a #Q (s2.m).|<= (a #Q m2)*(a-1)/(m1+1) by A21,A19,
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    then |.a #Q (s1reserve V  Ring_DOMAIN;
    then |.(a #Q s1).m - a #Q (s2.m).| < c by Def5;
    then |.(a #Q s1).m - (a #Q s2).m.| < c by Def5;
    hence |.((a #Q s1) - (a #Q s2)).m - 0.| < c by RFUNCT_2:1;
  end;
  then
A36: ((a #Q s1) - (a #Q s2)) is convergent by SEQ_2:def 6;
  then lim((a #Q s1) - (a #Q s2)) = 0 by A11,SEQ_2:def 7;
  then lim(((a #Q s1) - (a #Q s2)) + a #Q s2) = 0 + lim a #Q s2 by A36,A6,
SEQ_2:6
    .= lim  coherence by Def11;
  hence thesis by A7,FUNCT_2:63;
end;

theorem Th70:
  for s1,s2 being Rational_Sequence, a st s1 is convergent & s2 is
  convergent & lim s1 = lim s2 & a>0 holds a #Q s1 is convergent & a #Q s2 is
  convergent & lim a #Q s1 = lim  #Q s2
proof
  let  letV;
  let a;
  assume that
A1: s1 is convergent existence
A2: s2 is convergent and
A3: lim s1 = lim s2 and
:>;
  thus
A5: a #Q s1 is convergent by A1,A4,Th69;
  s2 is bounded by A2;
  then consider e be Real such that
  0<e and
: for n holds .s2.n.|<eby SEQ_2:3;
  s1 is bounded by A1;
  then consider d be Real such that
  0<d and
A7A29:   s1")m >  by ,A28,XCMPLX_0:def 7;
  consider m1
A8:d+<m1 by SEQ_4:;
tjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
A9   is-ike set
  reconsider m1 as hism_DOMAIN;
A10: a #Q m1 > 0 by A4,Th52;
  per cases;
  suppose
    a>=1;
    hence thesis by A1,A2,A3,Lm7;
  end;
suppose
A11: a<1;
    then a/a<1/a by A4,XREAL_1:74;
1:;
    then
:  (/)#   im(/ #Q  byA1,Lm7;
A13: (1/a) #Q s2 is java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 21
A14:   clusterstrict for Element M;
    then
ergent by A13
A16: lim ((1/a) #Q s1 - (1/a) #Q s2) = lim (1/a) #Q s1 - lim (1/a) #Q s2
    byA14A13,SEQ_2:12
      .= 0 by A12;
A17: now
      letc be Real;
      assume
A18:  c0java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      then c* a #Q m1 > 0 by A34:    s1.>0by A5;
      then consider n such that
 for m  n<mholds|.(1a #Q  -(1/a)#Q s2).-0.|c*a Q
      m1byA15,16,def7endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
      take n;
      let;
      assume m>=nhence  byDef12
      then |RingMorphism_DOMAINof ,H- RingMorphism_DOMAIN means
      then
:|(1a)# )m -(/ Qs2..<* #   1java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
:a# (.)< 0byA4T
java.lang.StringIndexOutOfBoundsException: Range [15, 13) out of bounds for length 15
      thenthus isRingMorphism_DOMAIN , for  beingElement of          .= |.(lim s1) #Q p.|*|.(s1.m) #Q p/(lim s1) #Q p - (lim s1) #
:|1m+|m.<+by XREAL_18java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 72
      |.s1.m+s2.m.|<=|.s1.m.|+|.s2.m.| by COMPLEX1:56;
      then|.m+s2.m.|<  RingMorphism_DOMAINof H
      then |.s1.m+s2.m.|<m1 by A8,XXREAL_0:2;
      then
A23:p| byA28A35,XREAL_1:68 by
(ms2.m)=.(.s2.)|by :
      then -(s1.m+s2   xbeingElement of f holds  is  of G,  TARSKI:efjava.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 72
D:
A24.=.ms. 
A25:  a #Q (s2    set D={RingMorphismStr( GH,f# . s.m*s1"my VALUED_1:10
java.lang.StringIndexOutOfBoundsException: Range [32, 3) out of bounds for length 38
      |.((1/a) #Q s1).    reconsider f0  f as Element of Maps(,) byFUNCT_2:8;
    thenreconsider D as non empty set;
.= |.(1/a #Q (s1.m s2m. byDef5A41:s1.m>by ;
        .= |.1/a #Q (s1      then
        .= |.1/ais
        .:forxbeingof  holds isX_0:def7java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
. .a#Q(t(ss1.   =(/1))^0Th49java.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 63
        .= |.a #Q (s1.
   of) linearby ;
.= |.a #Q(1.m)-a# (.m)./|a#Q(.)# p>0 A5,h52
      by COMPLEX1:65
        .=  proof
        .= |.a #Q (A8: for x being  holds  inD1iffx  Morphism  , andand
ABSVALUE:def 1;
      then
java.lang.StringIndexOutOfBoundsException: Range [8, 2) out of bounds for length 23
      < c*a hencethesisby A8;
      a #Q (s1.m+  etM be RingMorphism_DOMAIN ofGH;
      then
A28:  |.a #Q (s1.m) - a #Q (s2.m).|<c * a #Q m1 * a #Q (s1.m+s2.m) by A27,
XCMPLX_1:87;
a #Qm1* a Q(1.+s2.)=a#Q (m1+(s1.+s2m)by A4,h53then (/1)m) |^  -1> 1- by :9;
        clusterstrictfor Element ofM
:;
      ::
      then |.(a #Q s1).m - a #Q (s2.m).| < c by Def5;  redGOx means
then|( #.m Qp- 1.<c/ byA45,2;
      hence |.((a #Q s1) - (
    ;
    then (,et ,y1, beobject such that
    then lim((a #Q s1) - (a #Q s2)) = 0 by A17,SEQ_2:def 7;
    then 0 = lim (a #Q s1)-lim (a #Q s2) by A5,A9,SEQ_2:12;
    hence thesis;
  end;
end;

definition
  let a,b be Real;
  assume
A1: a > 0;
  func a #R b -> Real means
  :Def6:
  ex s being Rational_Sequence st s is convergent & lim s = b &
  a #Q s is convergent & lim a #Q s = it;
  existence
  proof
    consider s being Rational_Sequence such that
A2: s is convergent and
A3: lim s = b and
    for n holds s.n<=b by Th67;
    take IT=lim a #Q s;
    thus thesis by A1,A2,A3,Th69;
  end;
  uniqueness by A1,Th70;
end;

theorem Th71:
  a > 0 implies a #R 0 = 1
proof
  set s = seq_const 0;
  reconsider s as Rational_Sequence;
ajava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A1: a > 0;
  s.0 = 0;
  then
A2: lim s = 0 by SEQ_4:26;
   reconsider j = 1 as Element of REAL by NUMBERS:19;
A3: now
    let n. (s1. Qp  (im s1)# )(s.m)# /s.)#Q )|by
    reconsider nn=n as Element of NAT by ORDINAL160
    thus  Q .   Q(.  
. j Th47
;
  then
A4: a #Q s is constant by VALUED_0:def 18;
  a #Q s .0 = 1 by A3;
  then lim (a #Q s) = 1 by A4,SEQ_4:26;
  hence thesis by A1,A2,A4,Def6;
end;

theorem
  a >  a# 1 =a
proof
  set s = seq_const 1;
  reconsider s as Rational_Sequence;
  s.0 = 1 by SEQ_1:57;
  then
A1: lim s = 1 exG strict Ring st =G & a1 =the carrier of G  end;
  assume
A2: a > 0;
A3: now
    n  ;
    reconsider nn=n asofG&b3 = compG&b4=0.Gjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    thus a #Qc beingstrict Ring 
      .= a by A2,Th48,SEQ_1:57;
  end;
 ainbydef java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 29
then
A4    by A11,A13,A16,A15java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
  a #Q s .0reconsider =carrierof , x2=the addF of G,x3   G x4  0.,
  then lim (a #Q s) set =[,x2,3x4;
  hence thesis by A2,  x9 is Element of UN b1java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
;

 Th73
  1 #R a = 1

java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 46
thesisA2
A2: a = lim s and
  for n holds s.n<
reconsiderlim  0

A3: now
    let n ;
    reconsiderend
    thus j #QZ_3in RingObjects()
      .= j by Th51;
  end;
  coherence  Th17;
  then
A4: java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 5
     1 by A3;
sst  =G&x1=the  of G & x2 = the addF of G&x3=comp G
   hence thesisbyA1,A4Def6;
end;

theorem Th74:
   a#  a #Q 
proof
assume
A1: a>0;
  set s = seq_const p;
A2: lim s = s.0 by SEQ_4:26
    .= p by FUNCOP_1:7;
  reconsider s as Rational_Sequence;
A3: now
    let n be Nat;
    reconsider nn=n as Element of NAT by ORDINAL1:def 12;
    thus (a #Q s).n = a #Q (s.nn) by Def5
      .= a # p by :;
  end;A15:   (1.m) #Q p <> 0 by A4,Th52;
  a #Q p in REAL by XREAL_0:def 1;
  then
A4: a #Q s is constant by A3,VALUED_0:def 18;
  then lim (a #Q s) = (a #Q s).0 by SEQ_4:26
    .= a #Q p by A3;
  hence thesis by A1,A2,A4,Def6;
end;

theorem Th75:
  a > 0 implies a #R (b+c) = a #R b * a #R c
proof
  consider sb being Rational_Sequence such that
A1: sb is convergent and
A2: b = lim sb and
  for n holds sb.n<=b by Th67;
  consider sc being Rational_Sequence such that
A3: sc is convergent and
A4: c = lim sc and
  for n holds sc.n<=c by Th67;
  assume
A5: a>0;
  then
A6: # isconvergent by,;
A7: a #Q sc is convergent by A5,A3,Th69;
  reconsider s = sb + sc as Rational_Sequence;
A8 lims =b + c by A1,A2,A3,A4,SEQ_2:6;
A9: now
    let n;
    thus a #Qend;
      .= a #Q (sb.n + sc.n) by SEQ_1:7
      .= a #Q (sb.n) * a #Q (sc.n) by A5,Th53
      .= a #Q (sb.n) * (a #Q sc .n) by Def5
      .= (a #Q sb .n) * (a #Q sc .n) by Def5;
  end;
A10: sisconvergent by A1,A3;
  then a #Q s is convergent by A5,Th69;
  hence a #R (b+c) = lim (a #Q s) by A5,A10,A8,Def6
    .= lim ((a #Q sb) (#end;
    .    java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 2
    .= a #R b * (lim (a #Q sc)) by A5,A1,A2,A6,Def6
    .=sM=Morphs(G0,G0),S {Morphs(GHwhereG  of ,H
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

Lm8: a > 0 implies a #R b >= 
proof
  considerconsiderG being Element of such java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
 s  convergent and
A2: b = lim s and
  for n holds s.n<=      implies x in T
  assume
A3: a :G<= &x is  ofjava.lang.StringIndexOutOfBoundsException: Range [9, 1) out of bounds for length 31
A4:now
    let n;
    a java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    hence a #Q s .n >= 0 by A3,Th52;
  end
  a by A3,A1,Th69
  then #b= lim ( Q)by ,,A,Def6;
  hence thesis by A3,A1,A4,Th69,SEQ_2:17;
end;

Lm9: a > 0 implies a #R b <> 0

   D2 G
A1: a > x D1 iffex
  assume a #R b = 0;
  then 0 = a     end;
.1java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
  hencedefiniti
end;

theorem Th76consider G,H ofV  that
  >0implies #R -end;
   reconsider 9=Fas   G, java.lang.StringIndexOutOfBoundsException: Range [43, 43) out of bounds for length 0
  assume
A1java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 5
  then 1 = a #R (c+-c) by Th71
    .= a #R (-c) * a #R c by A1,    (F9   by,Def8;
a# c=aR-c)*(#R/a#by:
-)* byA1,m9:;
  hence  be Elementof V;
end;

theorem Th77:
  a > 0 implies a  Def19
proof
  assume
: a  0;
thusa#R bc)=a#R(b  -).  #R b * a R(.= (.)
    .=a java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
    .= A2: for   Element of Morphs()holds .f =
    .= a #R b / a #R c;
end

theorem Th78:
  a > 0 & b > 0 implies (a * b) #R c = a #R c * b #R c
proof
  assume that
A1: a>0 and
A2: b>0;
A3: a*b > 0 by A1,A2;
  consider s1 being Rational_Sequence such that
A4: s1 is convergent andnow
A5: c = lim s1 and
   let f Elementof (V;
A6: a #Q s1 henceF1. = F2. byA6
: Q isjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 40
  now
    let n;
    thus (a*b) #Q s1 .n = (a*b) #Q (s1.n  G3 being Element of  st < G2 G2< G3 & gis  of ,G3&  is
      .= a #Q (s1  set X =(;

      .= (a #Q s1 let , beElement  X that
  end;
  then
) b #s1 SEQ_1:;
  then(*b # s1  convergent by A6,7;
  hence (a*b) #R c = lim ((a *b) #Q s1) by A3,A4,A5,Def6
    .= lim (a #Q s1) * lim (b #Q s1) by A6,A7,A8,SEQ_2:15
    .= a #R c * lim (b #Q s1) by A1,A4,A5,A6,Def6
    .= a #R cA9:c>;
endconsider m1 such that

theorem Th79:
  a>0 implies (1/a) #R c = 1 / a #R c
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
  assume
:0java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
1=1#c by Th73
 ()#   A1java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    .= (1/ar3: fis rjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 40
     Morphism G23  java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 47
    .= (1 such that
  A13 for  st<m
end;

theorem
  a > 0 & b > 0 implies (a/b) #R cdefinition
proof
  assume that
:>ajava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
2 >existe
  thus (defpred P[lement  , X]means dom($1) = cod
    =a#R c  (  
    m-A1: for g,f be   fh F, Xbyjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
    .= a #R c * 1 / b #A2  for ,  X holds[then  #(1- )  
    .= a    then a# (s1mlim  <sch 8()java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
end;

theorem Th81:
  a > 0A17  R(.-l   java.lang.StringIndexOutOfBoundsException: Range [28, 25) out of bounds for length 48
proof

A1: a > 0;
then  #R  now
  hence thesis by A1,      percases;
end;      assume

theorem Th82:
a1  >ba#  =    [,by3
proof
 end;
1:a>1and
A2: c>=b;
  consider s1 being Rational_Sequencejava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 10
A3: s1 is convergent and
A4: c = lim s1 and
:  in 
:thenjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 52
considerRational_Sequence java.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 47
:  java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 24
     and a# -s1.mjava.lang.StringIndexOutOfBoundsException: Range [65, 29) out of bounds for length 65
A9: for n holds s2.n<=b by Th67;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  
    let n;
    s1n=c byA5
    then
A11: s1.n>=b by A2  ;
    s2.n<=b by A9;
    then s1.ABSVALUE;
    then a #Q (s1.n) >= a #Q (s2.n) by A1,Th63;
    then a #Q (s1.n) >= a #Q s2 .n by Def5;
    hence a #Q s1 .n >= a #Q s2 .n by Def5;
  end;
  :18java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
   # >l a#  yA3,;
 byA1,,A8,10,;
end;

theorem Th83:
  1&cb  R c>b
proof
that
A1: a> s1). f fbeing(UN)) java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 60
A2: c>b;
  consider p such that
A3: b<p and
A4 <c byA2,RAT_1:    (f9X,bbeofCbbe
q 
A5: b<q and          .=|a #  ex G,H being ElemsG<    of HDef17
A6 <p by,RAT_1:;
    java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 47
:isjava.lang.StringIndexOutOfBoundsException: Range [24, 20) out of bounds for length 24
A8: b = lim s2 and
A9: for n holds s2::$CT
A10: a #Q q < a    fg
  cod  d#(1mlim)*1  #((.mim1) A1Tjava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
    let n;
    s2.n<=b by A9;
    then s2.n<=q by A5,XXREAL_0:2;
    then a #Q (s2.n) <= a #Q q by A1,Th63;

  end  =()java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
  then
A11: lim (a #Q s2) <= a #Q q by A1,A7,A3 f = cod f9 A1Def20|Rs1-s1) .| =0 by 46java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51

  then a #R b <= a #Q q by A1,A7,A8,A11,Def6;
  then
A12: a #R     a# ,]ndom(of Th21
  consider s1 being      =|.a # =*  A45,
A13: s1 is convergent and
A14: c = lim s1 and

  now

>cbyA15;
    then s1.n>=p by A4,XXREAL_0:2;
    then a# s1.)>  Qp  A1,Th63;
    hence a #Q s1 .n >= a #Q p by Def5;
  end;
  then
A16: lim (a #Q s1) >= a #Q p by A1,A13,Th1,Th69;XCMPLX_1:
#  is  ,A13Th69;
  then a #R c >= a #Q p by A1,A13,A14,A16,Def6;
  hence thesis by A12,XXREAL_0:2;
end;

theorem Th84:
<1&c=impliesa #Rc <a#Rb
proof
  assume that
A1: a>0 and
A2: a<=1 and
A3: c>=b;
   that
  then (1/a) #R c >= (1/a) #R b by A3,Th82;
  then 1/a A3: s2 isc 
  then
A4: 1/a #R c >= 1/a #R b by A1,Th79;
  a #R b > 0 by A1,Th81;
  hence thesis    a=1;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th85:
  a =1&b>    R b>  R(ims)+  0 byA1h;
proof
  assume that
A1  > 1and
A2: b >=java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
   ss being that
A3: s is convergent and
A4: b = lim s and
> byTh68
:now
    let n;
A7: a #Q s .n = a #Q (s.n) by Def5;
    s.njava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
h  #  . =1byA1,A2,7Th60
  end;
  a #Q s is convergent by A1,A3,Th69;
  then a #R b = lim (a #        s1.m-lim s1<=|.s1m-lim .| by  ABSVALUE:4;
  hence thesis by A1,A3,A6,Th1,Th69;
end;

theorem Th86:
  a > 1 & b > 0 implies a #R b > 1
proof
  assume that
A1 a> and
A2: b>0;
  a #R b > a #R 0 by A1,A2,Th83;
  hence thesis by A1,Th71;
end;

theorem
  a >= 1 & b <= 0 implies a #R b <= 1
of
  is java.lang.StringIndexOutOfBoundsException: Range [25, 12) out of bounds for length 26
A1: a>=1 and
A2: b<=0;
  a #R (-b) >= 1 by A1,A2,Th85;
  then 1 / a #R b >=1byA1;
  then 1 / (1 /     consider x  
  thesis
end;

heorem
  a > 1 & b < 0 A2     being strict Ring st   H  x1=java.lang.StringIndexOutOfBoundsException: Range [46, 35) out of bounds for length 35
     .n=a R(s1.java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 43
  assume that java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A1: a>1 and
A2: b<0;
  -b>0 by A2;
   then java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  then1      
  then 1for  Element UN olds
  hence thesis;
end;

      be    1  lim)limA,;
n0& .#  s1 # s1(   *  )
proof
that
A1: s1 is convergent and
A2: s2 is convergent A2:  (b<{}
A3: reconsidergg=,iiias  of
A4
A5: for n
java.lang.StringIndexOutOfBoundsException: Range [49, 2) out of bounds for length 61
   =s1;
considerA:cod  Th23;
A6 <m0bySEQ_4:;
A7: :[ggii]java.lang.StringIndexOutOfBoundsException: Range [14, 1) out of bounds for length 29
    .= lim s1 by FUNCOP_1:7;

:s1/"
deffuncON) ". ^java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
  consider s3 being Real_Sequence such that
A9: for proof 
  for n holds s1.n<>0 by A5;
  then
   java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 19
n
 "s1is convergent A3EQ_2:23;
  then
A12: s3 is convergent by A9,Th18;
  reconsider q=m0 as Rational;
  deffunc ONat)=((s1/s).$1t( Rb #c=lim ab)sb
  consider  hence thesis by ,A6,A4,,A7,Th90;reconsider f  FunctionFunction of G1,aa by A13,1A16;
 forn s4n * by Def21
   
    .= 1 by A3,A7,XCMPLX_1:60;
  then lim s3 = 1 |^ m0 2.10, A.T.
  then
A14: lim s3 = 1;
  lim (s1/"s) = lim s1/lim s        .= g  A1A16A13,:17;
    .= 1 by A3,A7,XCMPLX_1:60;
  then lim s4 = 1 |^ m0 by A8,A13,Th18;
  then
A15: lim s4 = 1;
  s2 is bounded by A2 RingCat() >  cluster RingCat(UN) -> with_identities
  then beReal   defpred P[Nat] means $1 <= 2 |^ 
  abeElement ofC
A17: for n r= ofC
A18: s4 is convergent by A8,A13,Th18;
  now
    let c be Real;
    assume
   thus thesis by Lm11;
    then c/d>0 by A16;
    then consider m1 such that
A20: for  st m>n A2A,java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 40
limreconsider RingMorphismStr

A22: |.(lim s1).= ajava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
       & (Ho(bajava.lang.StringIndexOutOfBoundsException: Range [14, 8) out of bounds for length 8
    then consider m2 such that
   stm>m2 |s4.-.</.lim s1)# .| java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
EQ_2 ;
    take n =     by ,A7XXREAL_02java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    letmsuch 
A24: m>=n;
    m2<=n by NAT_1:11;
    then
A25: m>=m2 by A24,java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 10
    m1<=n by NAT_1:11;
    then
A26: m>=m1 by A24,XXREAL_0:2;
    now
      per cases;
      suppose
A27:    s1.m >= lim s1;
 m in NAT by ORDINAL1:def 12;
        then
A28    m/ s1=s1.m/sm :java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
          .= s1.m*(s.m)"
          .= s1.m*s".m by VALUED_1:10
          .= (s1/"s).m by SEQ_1:8;
        s1.m*(  hence thesis by,4,,java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 41
        then
A29:    (s1/"s).m >= 1 by A3,A28,XCMPLX_0:def 7;
        then ((s1/"s).m) #Q p <= ((s1/"s).m) #Q q by A6,Th63;
        then ((s1/"s).m) #Q p <= ((s1/"s).m) |^ m0 by A29,Th49;
        then
30    (/s).m)#Q  <=(s1")m)| -1XREAL_19;
        ((s1/"s).m) #Q p >= 1 by A4,A29,Th60;
        then ((java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 13
        thenA2:n  ;
 (/)m Q   =.(/s).)#  - 1|by :def 1;
A32:    (lim s1) #Q p <> 0 by A3,Th52;
A33:    |.s4.m-1.|<c/|.(lim s1) #Q p.| by A23,A25;
A34:    s1.m>0 by A5;
        ((s1/"s).m) |^ m0 >= 1 by A29,Th11;
        then ((s1/"s).m) |^ m0 - 1 >= 1-1 by XREAL_1:9;
         |((1"s.m #Q -1| < |.((s1/")m)|^m0-1| by A30,A31
,ABSVALUE:def 1;
        then java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        then
A35:    |.((s1/"s).m) #Q p - 1.|<c/|.(lim s1) #Q p.theorem Th96:
A36:    |.(lim s1) #Q p.| <> 0 by A21,ABSVALUE:def 1;
        |.s2.m - (lim s1) #Q p.| = |.((s1.m) #Q p - (lim s1) #Q p)*1.| by A5
          .= |.((s1.m) #Q p - (lim s1) #Q p)*((lim s1) #Q p/(lim s1) #Q p)
        .| by A32,XCMPLX_1:60
          .= |.(lim s1) #Q p * ((s1.m) #Q p - (lim s1) #Q p) / (lim s1) #Q
        p.|
          .= |.(lim s1) #Q p * (((s1.m) #Q p - (lim s1) A2 dividesn NAT_Ddef5
        #Q p).|
          .= |.(lim s1) #Q p.|*|.((s1.m) #Q p - (lim s1) #Q p) / (lim s1)
        #Q p.| by COMPLEX1:65
          .= |.(lim s1) #Q p.|*|.(s1.m) #Q p/(lim s1) #Q p - (lim s1) #Q
        p / (lim java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 13
          .= |.(lim s1) #Q p.|*|.(s1.m) #Q p/(lim s1) #Q p - 1.| by A32,
XCMPLX_1:60
          .= |.(lim s1) #Q p.|*|.(s1.m/lim s1) #Q p - 1.| by A3,A34,Th58;
        then|s2  (im s1) #Q p.<|.(im s1) # p.*(c|(lim s1)#Q
        p.|) by A22,A28,A35,XREAL_1:68;
        hence |.s2.m - (lim s1) #Q p.|<c by A36,XCMPLX_1:87;
      end;

A37:    s1.m <= lim s1;
A38: m in NAT by ORDINAL1:def 12;
A39:    lim s1/s1.m = s.m/s1.m by FUNCOP_1:7,A38
          .= s.m*(s1.m)"
          .= s.m*s1".m by  end;
          .= (s/"s1).m by SEQ_1:8;
A40:    s1.m <> 0 by A5;
A41:    s1.m>0 by A5;
        then s1.m*(s1.m)"<=(lim s1)*(s1.m)" by A37,XREAL_1:64;
        then
A42:    (s/"s1).m A7:|   |=(-)by ABSVALUE java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
        then nsidermnm-  ofNATjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
        then (s"s1)m #Q  <=(s"s1)m | m0 by A42,Th49java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
        then
A43:    ((s/"s1).m) #Q p - 1 <= ((s/"s1).m) |^ m0 - 1 by XREAL_1:9;
        (s1.m) #Q p > 0 by         (s1.m) #Q p > 0 by A5 5;
        then
A44:    |.(s1.m) #Q p.| end
A45:    |.s3.m-1.|<c/d by A20,A26;
        ((s/"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then(s1)m Qp-1> 1 by XREAL_1:;
        then
A46:    ((s/"s1).m) #Q p - 1 = |.((s/"s1).m) #Q p - 1.| by ABSVALUE:def 1;
        ((s/"s1).m) |^ m0 >= 1 by A42,Th11;
        then ((s/"s1).m) |^ m0 - 1 >= 1-1 by XREAL_1:9;
        then |.((s/"s1).m) #Q p - 1.| <= |.((s/"s1).m) |^ m0 - 1.| by A43,A46
,ABSVALUE:def 1;
        then |.((s/"s1).m) #Q p - 1.| <= |.s3.m - 1.| by A9;
        then
A47:    |.((s/"s1).m) #Q p     =.a. gcd |b. byA1,defjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
        |.s2.m.|<d by A17;
        then |.(s1.m) #Q p.|<d by A5;
        then |.(s1.m) #Q p.|/d<d/d by A16,XREAL_1:74;
        then |.(s1.m) #Q p.|/d<1 by A16,XCMPLX_1:60t
        then
A48:    c*(|.(s1.m) #Q p.|/d)<c*1 by A19,XREAL_1:68;
A49:    (s1.m) #Q p <> 0 by A5,Th52;
        |.s2.m - (lim s1) #Q p.| = |.((s1.m) #Q p - (lim s1) #Q p)*java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
          .= |.((s1.m) #Q p - (lim s1) #Q p)*((s1.m) #Q p/(s1.m) #Q p).| by
A49,XCMPLX_1:60
          .= |.(s1.m) #Q p * ((s1.m) #Q p - (lim s1) #Q p  then
          .= |.(s1.m) #Q p * (A1 a#Z l = 1-Root (a #Z) | 1 by Def2java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
        .|
          .= |.(s1.m) #Q p.|    . a # l byA1;
        p.| by COMPLEX1:65
          .= |.(s1.m) #Q p.|*|.(s1.m) #Q p/(s1.m) #Q:: missing, 2010.02.13, A.T.
        (s1.m) #Q p.|
          .= |.(s1.m) #Q p.|*|.1 - (lim s1) #Q p/(s1.m) #Q p.| by A49,
XCMPLX_1:60
          .= |.(s1.m) #Q p.|*|.-(1 -A1 l<> 0;
COMPLEX1:52
          .= |.(s1.m) #Q p.|*|.(lim s1) #Q p/(s1.m) #Q p - 1.|
          .= |.(s1.m) #Q p.|*|.(lim s1/s1.m) #Q p - 1.| by A3,A41,Th58;
        then |.s2.m - (lim s1) #Q p.|<|.(s1.m) #Q p.|*(c/d) by A44,A39,A47,
XREAL_1:68;
        hence |.s2.m - (lim s1 ) #Q p.| < c by A48,XXREAL_0:2;
      end;
    end;
    hence |.s2.m - (lim s1) #Q p.| < c;
  end;
  hence thesis by A2,    then
end;

java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
 convergent  convergent   s1 0& ( nholds
  s1suppose
proof
  assume that
A1: s1  convergent and
A2: s2 is convergent and
A3: lim s1 > 0 and
A4: for n holds s1.n>0 & s2.n = (s1.n) #Q p;
  per cases;
  suppose
    p>=0;
    hence thesis by A1,A2,A3,A4,Lm10;
  end;
  suppose
A5: p<=0;
    s1 is bounded by A1;
    then    .l|  k byA4,:ef;
A6: d>0 and
A7: for n holds |.s1.n.|<d by SEQ_2:3;
    reconsider d as Real;
A8: d #Q p > 0 by A6    then (0 |^ |;
A9: now
      assume lim s2 = 0;
      then consider n such that
A10:  for m st m>=n holds |.s2.m - 0.|<d #Q p by A2,A8,SEQ_2:def 7;
      now end
        let m;
A11:    s1.m>0 by A4;
A12:    s1.m<>0 by A4;
A13:    (s1.m) #Q p > 0 by A4,Th52;
        |.s1.m.|<d by A7;
        then s1.m<d by A11,ABSVALUE:def 1;
        then s1.m/s1.m<d/s1.m by A11,XREAL_1:74;
        then 1<=d/s1.m by A12,XCMPLX_1:60;
        then (d/s1.m) #Q p <= 1 by A5,Th61;
        then d #Q p/(s1.m) #Q p <= 1 by A6,A11,Th58;
        then
A14:    d #Q p/(s1.m) #Q p * (s1.m) #Q p<= 1*(s1.m) #Q p by A13,XREAL_1:64;
A15:    (s1.m) #Q p <> 0 by A4,Th52;
        assume m>=n;
        then |.s2.m - 0.|<d #Q p by A10;
        then |.(s1.m) #Q p.|<d #Q p by A4;
        then (s1.m) #Q p<d #Q p by A13,ABSVALUE:def 1;
        hence contradiction by A15,A14,XCMPLX_1:87;
      end;
      hence contradiction;
    end;
    now
      let n;
      (s1.n) #Q p <> 0 by A4,Th52;
      hence s2.n <> 0 by A4;
    end;
    then
A16: s2 is non-zero by SEQ_1:5;
    then
A17: lim s2" = (lim s2)" by A2,A9,SEQ_2:22;
    deffunc O(Nat) = (s2.$1)";
    consider s being Real_Sequence such that
A18: for n holds s.n = O(n) from SEQ_1:sch 1;
A19: now
      let n;
      s.n = (s2.n)" by A18
        .= ((s1.n) #Q p)" by A4
        .= 1 / (s1.n) #Q p
        .= (s1.n) #Q (-p) by A4,Th54;
      hence s1.n>0 & s.n = (s1.n) #Q (-p) by A4;
    end;
A20: dom s2 = NAT by FUNCT_2:def 1;
A21: dom s = NAT by FUNCT_2:def 1;
    for n being object st n in dom s holds s.n = (s2.n)" by A18;
    then
A22: s = s2" by A21,A20,VALUED_1:def 7;
    s2" is convergent by A2,A16,A9,SEQ_2:21;
    then (lim s2)" = (lim s1) #Q (-p) by A1,A3,A5,A17,A22,A19,Lm10;
    then 1/lim s2 = 1/(lim s1) #Q p by A3,Th54;
    hence thesis by XCMPLX_1:59;
  end;
end;

Lm11: a > 0 implies a #R b #Q p = a #R (b * p)
proof
  consider s1 being Rational_Sequence such that
A1: s1 is convergent and
A2: b = lim s1 and
  for n holds s1.n>=b by Th68;
  reconsider s2 = p(#)s1 as Rational_Sequence;
  assume
A3: a>0;
A4: now
    let n;
A5: a #Q (s1.n) > 0 by A3,Th52;
    (a #Q s1 .n) #Q p = (a #Q (s1.n)) #Q p by Def5
      .= a #Q (p*s1.n) by A3,Th59
      .= a #Q (s2.n) by SEQ_1:9
      .= a #Q s2 .n by Def5;
    hence a #Q s1 .n > 0 & (a #Q s1 .n) #Q p = a #Q s2 .n by A5,Def5;
  end;
A6: s2 is convergent by A1;
  then
A7: a #Q s2 is convergent by A3,Th69;
  lim s2 = b*p by A1,A2,SEQ_2:8;
  then
A8: a #R (b*p) = lim (a #Q s2) by A3,A6,A7,Def6;
A9: a #Q s1 is convergent by A3,A1,Th69;
  then a #R b = lim (a #Q s1) by A3,A1,A2,Def6;
  hence thesis by A3,A9,A7,A8,A4,Th81,Th89;
end;

Lm12: a>=1 & s1 is convergent & s2 is convergent & (for n holds s2.n = a #R (
s1.n)) implies lim s2 = a #R (lim s1)
proof
  assume that
A1: a>=1 and
A2: s1 is convergent and
A3: s2 is convergent and
A4: for n holds s2.n = a #R (s1.n);
  set d = |.lim s1.|+1;
A5: |.lim s1.|<|.lim s1.| + 1 by XREAL_1:29;
  now
    lim s1<=|.lim s1.| by ABSVALUE:4;
    then lim s1<=d by A5,XXREAL_0:2;
    then
A6: a #R (lim s1) <= a #R d by A1,Th82;
    a #R (lim s1) > 0 by A1,Th81;
    then
A7: |.a #R (lim s1).| <= a #R d by A6,ABSVALUE:def 1;
A8: a #R d >= 0 by A1,Th81;
    let c be Real;
    assume
A9: c>0;
    consider m1 such that
A10: a #R d*(a-1)/c < m1 by SEQ_4:3;
    m1+1>=m1 by XREAL_1:29;
    then a #R d * (a-1)/c < m1+1 by A10,XXREAL_0:2;
    then a #R d * (a-1)/c*c < c*(m1+1) by A9,XREAL_1:68;
    then a #R d * (a-1) < c*(m1+1) by A9,XCMPLX_1:87;
    then a #R d * (a-1)/(m1+1) < (m1+1)*c/(m1+1) by XREAL_1:74;
    then a #R d * (a-1)/(m1+1) < c/(m1+1)*(m1+1);
    then
A11: a #R d * (a-1)/(m1+1) < c by XCMPLX_1:87;
    reconsider m3 = (m1+1)" as Rational;
A12: |.a #R (lim s1).| >= 0 by COMPLEX1:46;
    consider n such that
A13: for m st n<=m holds |.s1.m -(lim s1).|<(m1+1) " by A2,SEQ_2:def 7;
    take n;
    let m;
    assume m>=n;
    then
A14: |.s1.m -(lim s1).|<=(m1+1)" by A13;
A15: m1+1>=0+1 by NAT_1:13;
    then (m1+1) -Root a - 1 <= (a-1)/(m1+1) by A1,Th31;
    then
A16: (a #R d)*((m1+1) -Root a - 1) <= (a #R d)*((a-1)/(m1+1)) by A8,XREAL_1:64;
    s1.m -(lim s1)<=|.s1.m -(lim s1).| by ABSVALUE:4;
    then s1.m -(lim s1) <= (m1+1)" by A14,XXREAL_0:2;
    then a #R (s1.m-lim s1) <= a #R m3 by A1,Th82;
    then a #R (s1.m-lim s1) <= a #Q m3 by A1,Th74;
    then a #R (s1.m-lim s1) <= (m1+1) -Root a by A15,Th50;
    then
A17: a #R (s1.m-lim s1) - 1 <= (m1+1) -Root a - 1 by XREAL_1:9;
A18: a #R (s1.m-lim s1) <> 0 by A1,Th81;
A19: a #R (s1.m-lim s1) > 0 by A1,Th81;
A20: now
      per cases;
      suppose
        s1.m-lim s1>=0;
        then a #R (s1.m-lim s1) >= 1 by A1,Th85;
        then a #R (s1.m-lim s1) - 1 >= 0 by XREAL_1:48;
        hence |.a #R (s1.m-lim s1) - 1.| <= (m1+1) -Root a - 1 by A17,
ABSVALUE:def 1;
      end;
      suppose
A21:    s1.m-lim s1<0;
A22:    -(s1.m -lim s1)<=|.-(s1.m -lim s1).| by ABSVALUE:4;
        |.s1.m -lim s1.| = |.-(s1.m -lim s1).| by COMPLEX1:52;
        then -(s1.m -lim s1) <= m3 by A14,A22,XXREAL_0:2;
        then a #R (-(s1.m-lim s1)) <= a #R m3 by A1,Th82;
        then a #R (-(s1.m-lim s1)) <= a #Q m3 by A1,Th74;
        then a #R (-(s1.m-lim s1)) <= (m1+1) -Root a by A15,Th50;
        then
A23:    a #R (-(s1.m-lim s1)) - 1 <= (m1+1) -Root a - 1 by XREAL_1:9;
        a #R (-(s1.m-lim s1)) >= 1 by A1,A21,Th85;
        then a #R (-(s1.m-lim s1)) - 1 >= 0 by XREAL_1:48;
        then
A24:    |.a #R (-(s1.m-lim s1)) - 1.| <= (m1+1) -Root a - 1 by A23,
ABSVALUE:def 1;
        a #R (s1.m-lim s1) <= 1 by A1,A21,Th87;
        then
A25:    |.a #R (s1.m-lim s1).| <= 1 by A19,ABSVALUE:def 1;
        |.a #R (-(s1.m-lim s1)) - 1.| >= 0 by COMPLEX1:46;
        then
A26:    |.a #R (s1.m-lim s1).|*|.a #R (-(s1.m-lim s1)) - 1.| <= 1*|.a
        #R (-(s1.m-lim s1)) - 1.| by A25,XREAL_1:64;
        |.a #R (s1.m-lim s1) - 1.| = |.(a #R (s1.m-lim s1) - 1)*1.|
          .= |.(a #R (s1.m-lim s1) - 1)*(a #R (s1.m-lim s1)/a #R (s1.m-lim
        s1)).| by A18,XCMPLX_1:60
          .= |.a #R (s1.m-lim s1)*(a #R (s1.m-lim s1) - 1)/a #R (s1.m-lim
        s1).|
          .= |.a #R (s1.m-lim s1)*((a #R (s1.m-lim s1) - 1)/a #R (s1.m-lim
        s1)).|
          .= |.a #R (s1.m-lim s1).|*|.(a #R (s1.m-lim s1) - 1)/a #R (s1.m
        -lim s1).| by COMPLEX1:65
          .= |.a #R (s1.m-lim s1).|* |.a #R (s1.m-lim s1)/a #R (s1.m-lim
        s1) - 1/a #R (s1.m-lim s1).|
          .= |.a #R (s1.m-lim s1).|*|.1 - 1/a #R (s1.m-lim s1).| by A18,
XCMPLX_1:60
          .= |.a #R (s1.m-lim s1).|*|.1 - a #R (-(s1.m-lim s1)).| by A1,Th76
          .= |.a #R (s1.m-lim s1).|*|.-(1 - a #R (-(s1.m-lim s1))).| by
COMPLEX1:52
          .= |.a #R (s1.m-lim s1).|*|.a #R (-(s1.m-lim s1)) - 1.|;
        hence |.a #R (s1.m-lim s1) - 1.| <= (m1+1) -Root a - 1 by A24,A26,
XXREAL_0:2;
      end;
    end;
    |.a #R (s1.m-lim s1) - 1.| >= 0 by COMPLEX1:46;
    then
A27: |.a #R (lim s1).|*|.a #R (s1.m-lim s1) - 1.| <= (a #R d)*((m1+1)
    -Root a - 1) by A20,A12,A7,XREAL_1:66;
    |.a #R (s1.m) - a #R (lim s1).| = |.(a #R (s1.m) - a #R (lim s1))* 1.|
      .=|.(a #R (s1.m) - a #R (lim s1))*(a #R (lim s1)/a #R (lim s1)).| by A1
,Lm9,XCMPLX_1:60
      .=|.a #R (lim s1)*(a #R (s1.m) - a #R (lim s1))/a #R (lim s1).|
      .=|.a #R (lim s1)*((a #R (s1.m) - a #R (lim s1))/a #R (lim s1)).|
      .=|.a #R (lim s1).|*|.(a #R (s1.m) - a #R (lim s1))/a #R (lim s1).|
    by COMPLEX1:65
      .=|.a #R(lim s1).|*|.a #R (s1.m)/a #R (lim s1)-a #R (lim s1)/a #R (
    lim s1).|
      .=|.a #R (lim s1).|*|.a #R (s1.m)/a #R (lim s1) - 1.| by A1,Lm9,
XCMPLX_1:60
      .=|.a #R (lim s1).|*|.a #R (s1.m-lim s1) - 1.| by A1,Th77;
    then |.a #R (s1.m) - a #R (lim s1).|<= (a #R d)*(a-1)/(m1+1) by A27,A16,
XXREAL_0:2;
    then |.a #R (s1.m) - a #R (lim s1).| < c by A11,XXREAL_0:2;
    hence |.s2.m - a #R (lim s1).| < c by A4;
  end;
  hence thesis by A3,SEQ_2:def 7;
end;

theorem Th90:
  a>0 & s1 is convergent & s2 is convergent & (for n holds s2.n =
  a #R (s1.n)) implies lim s2 = a #R (lim s1)
proof
  assume that
A1: a>0 and
A2: s1 is convergent and
A3: s2 is convergent and
A4: for n holds s2.n = a #R (s1.n);
  per cases;
  suppose
    a>=1;
    hence thesis by A2,A3,A4,Lm12;
  end;
  suppose
A5: a<1;
A6: now
      assume
A7:   lim s2 = 0;
      a #R ((lim s1) + 1) > 0 by A1,Th81;
      then consider n such that
A8:   for m st m>=n holds |.s2.m-0.|<a #R ((lim s1) +1) by A3,A7,SEQ_2:def 7;
      consider n1 being Nat such that
A9:   for m st m>=n1 holds |.s1.m-lim s1.|<1 by A2,SEQ_2:def 7;
      now
        let m such that
A10:    m>=n+n1;
        n+n1>=n1 by NAT_1:12;
        then m>=n1 by A10,XXREAL_0:2;
        then
A11:    |.s1.m-lim s1.|<1 by A9;
        s1.m-lim s1<=|.s1.m-lim s1.| by ABSVALUE:4;
        then s1.m-lim s1< 1 by A11,XXREAL_0:2;
        then
A12:    s1.m-lim s1 + lim s1 < lim s1 + 1 by XREAL_1:6;
        n+n1>=n by NAT_1:12;
        then m>=n by A10,XXREAL_0:2;
        then |.s2.m-0.|<a #R ((lim s1)+1) by A8;
        then
A13:    |.a #R (s1.m).|<a #R ((lim s1)+1) by A4;
        a #R (s1.m) > 0 by A1,Th81;
        then a #R (s1.m) < a #R ((lim s1)+1) by A13,ABSVALUE:def 1;
        hence contradiction by A1,A5,A12,Th84;
      end;
      hence contradiction;
    end;
A14: now
      let n;
      thus s2".n = (s2.n)" by VALUED_1:10
        .= (a #R (s1.n))" by A4
        .= 1/(a #R (s1.n))
        .= (1/a) #R (s1.n) by A1,Th79;
    end;
    a*(1/a)<=1*(1/a) by A1,A5,XREAL_1:64;
    then
A15: 1<=1/a by A1,XCMPLX_1:106;
A16: a #R (lim s1) <> 0 by A1,Th81;
    now
      let n;
      s2.n = a #R (s1.n) by A4;
      hence s2.n <> 0 by A1,Th81;
    end;
    then
A17: s2 is non-zero by SEQ_1:5;
    then
A18: lim s2" = (lim s2)" by A3,A6,SEQ_2:22;
    s2" is convergent by A3,A6,A17,SEQ_2:21;
    then (lim s2)" = (1/a) #R (lim s1) by A2,A15,A18,A14,Lm12
      .= 1/a #R (lim s1) by A1,Th79;
    then 1 = 1/a #R (lim s1) * lim s2 by A6,XCMPLX_0:def 7;
    then a #R (lim s1)= a #R (lim s1)*(1/a #R (lim s1) * lim s2)
      .= a #R (lim s1)*(1/a #R (lim s1)) * lim s2
      .= 1 * lim s2 by A16,XCMPLX_1:106;
    hence thesis;
  end;
end;

theorem
  a > 0 implies a #R b #R c = a #R (b * c)
proof
  consider s being Rational_Sequence such that
A1: s is convergent and
A2: c = lim s and
  for n holds s.n<=c by Th67;
A3: lim (b(#)s) = b*c by A1,A2,SEQ_2:8;
A4: b(#)s is convergent by A1;
  assume
A5: a>0;
  then
A6: (a #R b) #Q s is convergent by A1,Th69,Th81;
A7: now
    let n;
    thus (a #R b) #Q s .n = (a #R b) #Q (s.n) by Def5
      .= a #R (b*s.n) by A5,Lm11
      .= a #R ((b(#)s).n) by SEQ_1:9;
  end;
  a #R b > 0 by A5,Th81;
  then (a #R b) #R c = lim ((a #R b) #Q s) by A1,A2,A6,Def6;
  hence thesis by A5,A6,A4,A3,A7,Th90;
end;

begin :: Addenda
:: from PCOMPS_2, 2006.02.10, A.T.

reserve r, u for Real,
  k for Nat;

theorem
  r>0 & u > 0 implies ex k be Nat st u/(2 |^ k) <= r
proof
  defpred P[Nat] means $1 <= 2 |^ $1;
  assume that
A1: r>0 and
A2: u>0;
  set t = 1/r;
  reconsider t as Real;
  consider n such that
A3: (u * t) < n by SEQ_4:3;
A4: 0 < u * t by A1,A2;
  then
A5: u/(u * t) > u/n by A2,A3,XREAL_1:76;
A6: for k be Nat st P[k] holds P[k + 1]
  proof
    let k be Nat;
    assume k <= 2 |^ k;
    then
A7: (2 |^ k) + 1 >= k + 1 by XREAL_1:7;
    2 |^ k >= 1 by Th11;
    then
A8: 2 |^ k + 2 |^ k >= 2 |^ k + 1 by XREAL_1:7;
    2 |^ (k + 1) = (2 |^ k) * (2 |^ 1) by NEWTON:8
      .= (2 |^ k) * 2
      .= 2 |^ k + 2 |^ k;
    hence thesis by A8,A7,XXREAL_0:2;
  end;
  take n;
A9: r = 1/t .= (u * 1) / (u * t) by A2,XCMPLX_1:91
    .= u/(u * t);
A10: P[0];
  for k be Nat holds P[k] from NAT_1:sch 2(A10,A6);
  then u/n >= u/(2 |^ n) by A2,A3,A4,XREAL_1:118;
  hence thesis by A9,A5,XXREAL_0:2;
end;

theorem
  k>=n & r >= 1 implies r |^ k >= r |^ n
proof
  assume that
A1: k>=n and
A2: r >= 1;
  consider m be Nat such that
A3: k = n + m by A1,NAT_1:10;
A4: r |^ k = r |^ n * r |^ m by A3,NEWTON:8;
  r |^ n >= 1 by A2,Th11;
  hence thesis by A2,A4,Th11,XREAL_1:151;
end;

:: from SCPINVAR, 2006.03.14, A.T.

theorem Th94:
  for n,m,l be Nat st n divides m & n divides l holds n divides m-l
proof
  let n,m,l be Nat;
  assume that
A1: n divides m and
A2: n divides l;
A3: -l =-n*(l div n) by A2,NAT_D:3
    .=n*(-(l div n));
  m = n * (m div n) by A1,NAT_D:3;
  then m - l =n * ((m div n) + -(l div n)) by A3;
  hence thesis by INT_1:def 3;
end;

::$CT

theorem Th96:
  m gcd n = m gcd |.n-m.|
proof
  set x=m gcd n, y=m gcd |. n - m .|;
A1: x divides m by NAT_D:def 5;
A2: x divides n by NAT_D:def 5;
A3: y divides m by NAT_D:def 5;
  per cases;
  suppose
    n-m >= 0;
    then reconsider nm=n-m as Element of NAT by INT_1:3;
A4: |. n - m .|=nm by ABSVALUE:def 1;
    then y divides nm by NAT_D:def 5;
    then y divides nm+m by A3,NAT_D:8;
    then
A5: y divides x by A3,NAT_D:def 5;
    x divides n-m by A1,A2,Th94;
    then x divides y by A1,A4,NAT_D:def 5;
    hence thesis by A5,NAT_D:5;
  end;
  suppose
A6: n-m < 0;
    reconsider nn=n as Integer;
A7: |. n - m .|=-(n-m) by A6,ABSVALUE:def 1
      .=m-n;
    then reconsider mn=m-n as Element of NAT;
    y divides mn by A7,NAT_D:def 5;
    then y divides mn-m by A3,Th94;
    then y divides nn by INT_2:10;
    then
A8: y divides x by A3,NAT_D:def 5;
    x divides m-n by A1,A2,Th94;
    then x divides y by A1,A7,NAT_D:def 5;
    hence thesis by A8,NAT_D:5;
  end;
end;

theorem
  for a,b be Integer st a>=0 & b>=0 holds a gcd b = a gcd (b-a)
proof
  let a,b be Integer;
  assume that
A1: a>=0 and
A2: b>=0;
  thus a gcd b=|.a.| gcd |.b.| by INT_2:34
    .=|.a.| gcd |.|.b.|-|.a.|.| by Th96
    .=|.a.| gcd |.b-|.a.|.| by A2,ABSVALUE:def 1
    .=|.a.| gcd |.b-a.| by A1,ABSVALUE:def 1
    .=a gcd (b-a) by INT_2:34;
end;

:: missing, 2008.03.05, A.T.

theorem
  a>=0 implies a #Z l >= 0 by Lm5;

theorem
  a > 0 implies a #Q l = a #Z l
proof
  assume a > 0;
  then a #Z l > 0 by Th39;
  then
A1: a #Z l = 1-Root (a #Z l) |^ 1 by Def2;
  denominator l=1 by RAT_1:17;
  hence a #Q l = 1-Root (a #Z l)
    .= a #Z l by A1;
end;

:: missing, 2010.02.13, A.T.

theorem
 l <> 0 implies 0 #Z l = 0 proof assume
A1: l <> 0;
  per cases by A1;
  suppose
A2:  l > 0;
    then reconsider l as Element of NAT by INT_1:3;
    l >= 0+1 by A2,NAT_1:13;
    then
A3:   0 |^ l = 0 by NEWTON:11;
    |.l.| = l by ABSVALUE:def 1;
   hence thesis by A3,Def3;
  end;
  suppose
A4:  l < 0;
    then reconsider k = -l as Element of NAT by INT_1:3;
    k > -0 by A4;
    then k >= 0+1 by NAT_1:13;
    then
A5:   0 |^ k = 0 by NEWTON:11;
    |.l.| = k by A4,ABSVALUE:def 1;
    then (0 |^ |.l.|)" = 0 by A5;
   hence thesis by A4,Def3;
  end;
 end;

Messung
CHZG
8110010093

¤ Dauer der Verarbeitung: 0.107 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland