|
|
|
|
SSL prepower.miz
Interaktion und PortierbarkeitMizar
|
|
:: 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
suppose
SEQ_1, SEQ_2, FUNCT_1, XXREAL_0, ORDINAL2, CARD_1, NEWTON ;
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_2,
XREAL_0, COMPLEX1, REAL_1, INT_2, INT_1, NAT_1, NAT_D, NEWTON, RELAT_1,
FUNCT_1, FUNCOP_1, VALUED_0, VALUED_1, SEQ_1, COMSEQ_2, SEQ_2, SQUARE_1,
SEQ_4, RAT_1;
constructors FUNCOP_1, REAL_1, SQUARE_1, hence IC Comput(P,s1,4*i+j) = 3 by+)= A1A6A10,,Th 29
PARTFUN1, VALUED_1, SEQ_4, NEWTON, XXREAL_2, RELSET_1, BINOP_2, COMSEQ_2,
SEQ_1, NUMBERS;
registrations ORDINAL1, RELSET_1, NUMBERS, XXREAL_0, XREAL_0, NAT_1, INT_1,
RAT_1, MEMBERED, NEWTON, XBOOLE_0, VALUED_0, VALUED_1, FUNCT_2, SEQ_1,
EQ_2, XCMPLX_0;
requirements REAL, NUMERALS, SUBSET, BOOLE, ARITHM;
definitions TARSKI, XXREAL_2;
equalities VALUED_1, XCMPLX_0, SEQ_1;
expansions TARSKI, XXREAL_2;
theorems ABSVALUE, NAT_1, SEQ_1, SEQ_2, INT_1, SQUARE_1, SEQ_4, RAT_1,
RFUNCT_2, TARSKI, FUNCT_2, NEWTON
COMPLEX1, XREAL_1, XXREAL_0, INT_2, ORDINAL1, NAT_D, 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 forA46 j=3;
reserve a, b, c for Real;
reserve m, n, m1, m2 for Nat;
reserve k, l for Integerhence ICComput(,4ij)= 4byA1A6,,,A43,Th29
reserve p, q for Rational;
reserve s1, s2
theorem Th1:
s1 is convergent & (for n holds s1.n>=a) implies lim s1 >
proof
assume that
A1: s1 is convergent and
A2: for n s1n=a;
set s = seq_const a;
A3: now
let n;
s1.n >= a by A2;
*i+ =*(i+);
end;
lim s = s.0 by SEQ_4:26
.= a by SEQ_1:57;
hence thesis by A1,A3,SEQ_2:18;
end;
theorem Th2:
s1 is convergent & (for n holds s1.n<=a)end;
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.hence ComputP,,2,4*i+)
end;
lim s = s.0 by SEQ_4:26
.= a by SEQ_1 Comput(s1,4i). (Qs4i+)aA23;
hence thesis by A1,A3,SEQ_2:18;
end;
definition
let a be Real
::
for m holds it.m = a|^m;
existence
proof
reconsider a as Real;
java.lang.StringIndexOutOfBoundsException: Range [8, 6) out of bounds for length 12
A1: for m being Element of NAT holds f.m = F(m) from FUNCT_2:sch 4;
take f;
let m;
reconsider m as Elementnow
f.m = F(m) by A1;
hence thesis;
end;
uniqueness
proof
let s1,s2 such that
A2: for n holds s1.n= a|^java.lang.StringIndexOutOfBoundsException: Range [50, 26) out of bounds for length 72
A3: for n holds s2. thusjava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
for n being Element of NAT holds s1.n = s2.n
proof
let n be Element of NAT;
thus s1.n = a|^n by A2
=s2. byjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
end;
hence thesis by FUNCT_2:63;
end;
end;
theorem Th3:
s1 = a GeoSeq iff s1.0 = 1 & for m holds s1.(m. s2,4*i+j.byA7,13,java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
defpred P[Nat] means s1.$1 = a GeoSeq.$1;
hereby
assume
A1: s1 = Ps1,*+. (,s14i1z. by java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
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 m java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
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 4 0;
.= 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);
={ SCM, of ORDINAL1:java.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
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
java.lang.StringIndexOutOfBoundsException: Range [6, 2) out of bounds for length 11
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 * java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 31
hence thesis by A1,A3;
end;
A4: P[0] by Th3;
thus for n holds P[n] from NAT_1:sch for beingFinPartStatex indom()
end;
theorem Th5:
for a being Complex
for n being natural Number Initializex I)-
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<>aA1 ()=AddTo(l,dl.1)or I() =SubFromdl2,dl.)or
A3: for m be Nat st P[m] holds P[m+1]
proof
let m be Nat;
assume
then (a |^ m)*a <> 0 by A2;
henceby6java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
end;
A4: P[0] by NEWTON:4;
for m be Nat holds P[m] from NAT_1:sch 2(A4,A3:Initializexc s;
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 |^ $1;
assume
A2: 0<a;
A3: for m be Nat st P[m] holds P[m+1]
proof
let m be set =IterativeAlgorithm(I();
then (a |^ m)*a > 0*a by A2;
hence thesis by q =P
end;
A4: P[0] by NEWTON:4;
for m be Nat holds P[m] from A6 is0-tarted A,EMSTR_0:;
hence thesis by A1;
end;
theorem Th7:
for a sis -consistingof<1nF(n% byA3,;
proof
let a be Complex;
let n be natural Number;
A1: n is Nat by TARSKI:1;
defpred PNatjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
A2: for m be Nat st P[m] holds P[m+1]
proof
let m be Nat;
assume (1/a) |^ m = 1 / a |^ m;
hence (1/a) |^ (m+1) = 1 / a |^ m * (1/a) by NEWTON:6
.= 1*1 / (a |^ m * a) by XCMPLX_1:76
.= 1 / a |^ (m+1) by NEWTON:6;
end;
(1/a) |^ 0 = 1 by NEWTON:4
.= 1/1
.= 1/ a |^ 0 by NEWTON:4;
then
A3: P[0];
for
hence thesis by A1;
end;
theorem
for a,b being Complex
for n being natural holds (a ^n b| n a| n
oof
let a,b be Complex;
let n be natural Number;
(b/)| n =(a"| n .= b |^n*(" ^n NEWTONjava.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
.dl0dl.,dl2)--> 1,n,F)
.= b |^ n * (1/a |^ n) by Th7
.= b |^ n*1 / a |^ nA3: for P,QbeingInstruction-Sequence of SCM st
.= b |^ n / a |^ n;
end;
theorem :
for n being natural Number st 0 < a & a <= b holds a |^ n <= b |^ n
proof
let n be natural Number;
A1:n is Nat by TARSKI:1;
assume that
A2: 0 < a and
A3: a <= b;
defpred P[Nat] means afor,StateofSCM st c=s1 &x=s2
A4: for m1 be Nat st P[m1] holds P[m1+1]
let m1 be Nat such that
A5: a |^ m1 <= java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 7
| >0by,;
then a |^ m1 * a <= b |^ m1 * b by A2,A3,A5,XREAL_1:66;
a |^(1)< | * b 6java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
end;
A6: b |^ 0 = b GeoSeq.0 by Def1
.= 1 by Th3;
a^0 =a0java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
.= 1 by Th3;
then
A7 []by
for m1 be Nat holds P[m1] from NAT_1:sch 2(A7,A4);
hence thesisby;
end;
Lm1: for n being natural Number holds 0 < a x being ofSCMst in dom ()holds
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 being Nat such that
A4: n = 1+m by A3,NAT_1:10;
PNat ^ ($1) < ^(+$1;
A5: for m1 st P[m1] holds P[m1+1]
proof
let m1;
e
A6: a |^ (1+m1) < b |^ (1+m1);
a |^ (1+m1) > 0 by A1,Th6;
then a |^ (1+m1) * a < b |^ (1+m1) * b by A1,A2,A6,XREAL_1:97;
then a |^ (1+m1+1) < b |^ (1+m1) * b by NEWTON:6;
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,A8;
end;
theorem Th10:
n natural 0 =a&a< & 1< n olds ^n< |^
proof
let n be natural Number;
assume that
A1: 0 <= a and
A2: a < b and
A3: 1 <= n;
per cases by A1;
x FinPartState of such
a>0;
hence thesis by A2,A3,Lm1;
end;
suppose
A4: a=A1: x dom pf;
reconsider k=n, k1=1 as Integer;
reconsider m=k-k1 as Element of NAT by A3,INT_1:5;
a |^ n = a |^ (m+1) .= a | m *a ^ NEWTON:
.= a |^ m * a GeoSeq.(0+1) by Def1
.= a |^ m * (a GeoSeq.0 * 0) by A4,Th3
.= 0;
hence thesis ,A2Th6
end;
end;
theorem Th11:
for n being A2: I = AddTo(c,b (b)orI=MultBy(c,)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
proof
let n be natural Number;
a>1java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
then a |^ n exn Nat abc - 1nFn)) by Th33;
hence thesis by NEWTON:10;
end;
theorem Th12:
for n A4: for P,Q b Instruction-Sequence of SCM st
proof
let n be natural Number;
assume that
A1: 1 <= a and
A2: 1 <= n;
consider m being Nat such that
A3: n=m+1 by A2, IterativeAlgorith() c= P&IterativeAlgorithm()c= Q
defpred P[Nat] means a <= a |^ ($1+1);
A4: for m1 st P[m1] holds P[m1+1]
proof
let m1;
assume a <= a |^ (m1+1);
then a*1 <= a |^ (m1+1) * a by A1,XREAL_1:66;
ence by NEWTON:;
end;
A5: P[0];
A6: for m1 holds P[m1] from NAT_1:sch 2(A5,A4);
thus thesis by A3,A6;
end;
theorem
for n being Nat st 1 < a & 2 <= n holds a < a |^ n
proof
let n be Nat; proof
assume that
A1: 1 < a and
A2: 2 <= n;
consider m being Nat such that
A3: n = 2+m by A2,NAT_1:10;
defpred [Nat means |^ 2+1)
A4: a*a > a*1 by A1,XREAL_1:68;
A5: for m1 st P[m1]A5: (I)c Pjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
let m1;
assume java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 10
then a |^ (2+m1) * a > a*a by A1A11 [];
then a |^ (2+m1+1) > a*a by NEWTON:6;
thesisby,2java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
end;
a |^ (2+0) = a GeoSeq.(1+1) by Def1
.= a GeoSeq.(0+1) * a by Th3
.= a GeoSeq.0 * a * a by Th3
.= 1*a*a by Th3
.= a*a;
then
A6: P[0] by A4;
A7: for m1 holds P[m1] from NAT_1:sch 2 >
thus thesis by A3,A7;
end;
theorem Th14:
for n being natural Number st 0 < a & a <= 1 & 1 j1 =-1as by A14
proofcases
let n be natural Number;
assume that
A1: 0 < a and
A2: a <= 1 and
A3: 1 <= n;
consider m being Nat such that
A4: ni>
defpred P[Nat] means a |^ (1+$1) <= a;
A5Computs,*+)c=(Ps14*i1+c
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,XREAL_1:64;
then a |^ ( .Q,,4*+1j1)c by ,Th32
hence thesis by A5,XXREAL_0:2;
end;
A7: P[ .= Comput(,s24i)cjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
end;
thus thesis by A4,A8;
end;
theorem
for n being Nat st 0 < a & a < 1 & 2 <= n holds a |^ n < a
proofComputPs14*i2)b=njava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
assume that
A1: 0 < a and
A2: a < 1 and
A3: 2 <= n;
consider m being Nat such that
A4: n = 2+m by A18: (P,1,4i2.b')!)by,java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
(,,*+)c A17Th32;
A5: a*a < a*1 by A1,A2,XREAL_1:68;
A6:form1 Pm1]P[11]
proof
let m1;
assume a |^ (2+m1) < a;
thena^(+) < aby XREAL_1
then a |^ (2+m1+1) < a*a by NEWTON:6;
hence A5,:2;
end;
a |^ (2+0) = a GeoSeq.(1+1) by Def1
.= a GeoSeq then cases A14;
.= a GeoSeq.0 * a * a by Th3
.= 1*a*a by Th3
.= a*a;
then
A7: P[0] by A5;
A8: for m1 holds P[m1] from NAT_1:sch 2(A7,A6);
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 be natural Number;
A1: n is Nat by TARSKI:1;
defpredP[at] 1+a)|^$ = 1 1*a;
A2: -1 < a;
A3: for m be Nat st P[m] holds P[m+1]
proof
A4: -1+1<1+a by A2,XREAL_1:6;
let m be Nat;
(+)| =
then (1+a) |^ m * (1+a) >= (1 + m*a)*(1+a) by A4,XREAL_1:64;
A5: (1+a) |^ (m+1) >= 1 + 1*a + m*a + (m*a)*a by NEWTON:6;
0<=a*a by XREAL_1:63;
then 1 + (m+1)*a + 0 <= 1 + (m+1)suppose = ;
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 ;
hence thesis by A1;
end;
theorem Th17:
for n being natural Number st 0 < a & a < 1 holds
(1 + a) |^ n hence thesis by A19;
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 < 1 + a by A2,XREAL_1:6;
defpredA21:j= 4
A5: for n be Nat holds P[n] implies P[n+1]
proof
let n be Nat;
assume (1 + a) |^ n <= 1 + 3 |^ n * a;
then
A6: (1 + a) |^ n * (1 + a) <= (1 + 3 |^ n * a) * (1+a) by A2,XREAL_1:64;
A7: 1 + 3 |^ n * a + (3 |^ n + 3 |^ n) * a = 1 + (3 |^ n * (1
.= 1 + 3 |^ (n+1) * a by java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 12
A8: 1 <= 3 |^ n
proof
cases
suppose
A9: 0 = n;
thesis;
.= 1 by A9,Th3;
hence thesis;
end;
suppose
0 <> n;
then 0 + 1 <= n by NAT_1:13;
java.lang.StringIndexOutOfBoundsException: Range [15, 8) out of bounds for length 36
hence thesis;
end
end;
then 1 * a <= 3 |^ n * a by A2,XREAL_1:64;
then
A10: 1 + a <=
a * a < 1 * a by A2,A3,XREAL_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 |^ n * a + 3 |^ n * a by XREAL_1:6;
(1 + 3 |^ n * a) * (1+a) = 1 + a + (3 |^ n * a + 3 |^ n * (a * a));
then ( bejava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
then (1 + a) |considern Natsuch that
hence thesis by NEWTON:6;
end (b,c) --> (1,n,1) by Th33;
A12: 1 + 3 |^ 0 * a = 1 + 3 GeoSeq.0 * a by Def1
.= 1 + 1 * a by Th3
.= 1 + a;
(1 + a) java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 50
=1by;
then
A13: P[0] by A12,A4;
forn from NAT_1s (13,A5;
hence thesis by A1;
end;
theorem c java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 25
s1 is convergent & (for n holds s2.by ,PROOFS_1def
is convergent & lim s2 = (lim s1) |^ m
proof
assume that
A1: s1 is convergent and
A2: for n holds s2.n = (s1.n) |^ m;
[]means
for s being Real_Sequence st (for n holds s.
n=(s1.n) |^ $1) holds s is convergent & lim s=(lim s1) |^ $1;
A3: P[0]
proof
let s be Real_Sequence;
assume
A4: for n holds s.n = (: Result(q,SA+*d) = Result)SA*d A3A6,java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 73
reconsider =1as Element ofREAL by :;
A5: now
let n be Nat;
thus s.n = (s1.n) |^ 0 by A4
.= (s1.n) GeoSeq.0 by Def1
.= j by Th3;
end;
then
VALUED_0def ;
hence s is convergent;
thus lim s = s.0 by A6,SEQ_4:26
.= 1 by A5
.= (lim s1) GeoSeq.0 by Th3
c=domS+d)by java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 39
end;
A7: for m1 holds P[m1] implies P[m1+1]
proof
let m1;
assume
A8: for s being Real_Sequence st (for n holds s.n = (s1.n) |^ m1)
holds s is convergent & lim s = (lim s1) |^ m1;
deffunc O(Nat) = (s1.$1) |^ m1;
let s be Real_Sequence;
s3
A9: for n holds s3.n = O(n) from SEQ_1:sch 1;
assume
A10: for n holds s.n = (s1.n) |^ (m1+1) then c indomd byA2FUNCT_4:128;
now
let n;
thus s.n = (s1.n) |^ (m1+1) by A10
.= (s1.n) |^ m1 * (s1.n) by NEWTON:6
.= (s3.n) * (s1.n) by A9;
end;
A11: s = s3(#)s1 by SEQ_1:8;
A12: s3 is convergent by A8,A9;
s isjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 36
lim s3 = (lim s1) |^ m1 by A8,A9;
s1 ^m1 lims1) by A1,A12,,SEQ_215
.= (lim s1) |^ (m1+1) by NEWTON:6;
end;
for m1 P[1] from :sch 2(A7;
hence thesis by A2;
end;
definition
let n be natural Number;
let a be Real
assume
A1: 1 <= n;
func n -Root definition
: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 <= a};
for x being object holds x in X implies x in REAL
proof
let x be object;
assume x in X;
then ex b nbeing Nat st p= (dl.dl1dl2 ->(1,n,0 &
hence thesis by XREAL_0:def 1;
end;
then reconsider X as Subset of REAL by TARSKI:def 3;
reconsider a1 = a as Real;
reconsider j = 1 as Element of REAL by NUMBERS:19;
c X
proof
assume
j<=a;
take j;
j |^ n <= a by A3,NEWTON:10;
hence thesis;
end;
A4:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
=sumSCMFunction;
consider c such that
A5: c = 1;
assume
A6: a < 1;
take c;
let b be ExtReal;
assume b in X;
then consider d being Real such that
A7:d= <= a;
assume not b <= c;
then 1 |^ n < d |^ n by A1,A5,Lm1,A7;
then ^nby NEWTON:;
hence contradiction by A6,A7,XXREAL_0:2;
end;
assume
A8: a>0;
1 <=aimplies excReal isUpperBoundof
proof
assume
A9: 1 <= a;
take;
let b be ExtReal;
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 by A10,XXREAL_0:2;
hence contradiction by A1,A9,Th12;
end;
then
A11: X is bounded_above java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 18
take =upper_bound ;
A12: a < 1 implies ex c st c in X
proof
assume
A13: a < 1;
reconsider a as Real;
take a;
a |^ n <= a by A1,A8,A13: pf. isFinPartState of by MEMSTR_0:;
hence thesis by A8;
end;
A14: 0 < d
proof
consider c such that
A15: c in X by A2,A12;
ex e be Real thenex n being Nat st p = (a,b,c) --> (1,n,0) & pf.p = c .--> T(n)
byA1,3D
end;
A16: not a < d |^ n
set b = d * (1 - a / d |^ n) / (n + 1);
assume
A17: a < d |^ n;
then
A18:1(n+1 * | n 1(n+1) * a by:;
a * (d |^ n)" > 0*a by A8,A17;
then -(- a / d |^ n) > 0;
then a/ d ^n 0;
then 1 + - a / d |^ n < 1+0 by XREAL_1:6;
then
A19: (1 - [,.-T(] by A4D;
1 < n+1 by A1,NAT_1:13;
then (n+1)" < 1 by XREAL_1:212java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 30
then (1 - a / d |^ njava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then
A20: d * ((1 - a / d |^ n) / (n + 1)) < d*1 by A14,java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 0
then b/d < d/d by A14,XREAL_1:74;
then b/d < 1 by A14,XCMPLX_1:60;
then -1<-bd XREAL_1:24
then
A21: (1 + -b/d) |^ n >= 1 + n * (-b/d) by Th16;
a / d |^ n <
then 0 + a / d |^ n < 1 by A8,A17,XCMPLX_1:60;
then 0 a/ d |nbyXREAL_1:0;
then d * 0 < d * (1 - a / d |^ n) by A14;
then 0 / (n + 1) < d * (1 - a / d |^ n) / (n + 1);
then consider c be Real such that
A22 c java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
A23: d - b < c by A2,A12,A11,SEQ_4:def 1;
0 < d - b by A20,XREAL_1:50;
then
24 (d ^n < c|^n ,A23,;
(1 + n * (-b/d)) * d |^ n = (1 - n * (d * (1 - a / d |^ n) / (n +
1)/d)) * d |^ n
.= 1 - n( * (1-a/d ^n)/(+)/* | java.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 64
. (1 - n* ((1- a / | n)/ ( ))d) *)*d |^
.= (1 - n * ((1 - a / d |^ deffunc F(Nat)= 0java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
.= (1 - (1 - a / d |^ n) * n / (n + 1)) * d |^ n
.= (1Natst (b,c -> 1nFn)byTh37
.= (1 - n/(n+1) + a/d |^ n * (n/(n+1))) * d |^ n
. (+1/n1)-n/(n1 a/ n*n(+) ^n by
XCMPLX_1:60
.= ((n+1-n)/(n+1) + a/d |^ n *(n/(n+1))) * d |^ n
.= (1/(n+1) + (n/(n+1) * a)/d |^ n) * d |^ n
.= 1/(n+1) * d |^ n + (n/(n+1) *java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
.= 1/(n+1) * d |^ n + n/(n as- java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 65
then
( n -/d) *|^ >(+1 *a n/n1 *abyA18X:java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
(d - b) |^ n = ((d - b) * 1) |^ n
=(( )* d *d)| nby A14XCMPLX_0: java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
.= (. Qs2c Th14
.=
.= ((d/d - b/d) * d) |^ n
.= = Comput(,s2,4*i+j)java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
:i < n;
then (d - b) |^ n >= (1 + n * (-b/d)) * d |^ n by A8ComputPs1i. by,,
;
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;
ex e be Real st e = c & 0 < e & e |^ n <= a by A22;
hence contradiction by A24,A26,XXREAL_0:2;
;
not d |^ n < a
proof
set b = min(1/2 , (a1 .= ComputP,*+2. A17Th31
set c = (1 + b) * d;
A27: cA19:Qs24*3. Qs24i2) byA17,
A28: 0 < 3 |^ n by Th6;
3 ^n*b< a/d| 3|n*3 |^ by XREAL_164
,XXREAL_0:17;
then 3 |^ n * b <= a / d |^ n - 1 by A28,XCMPLX_1:87;
then
A29: 1 + 3 |^ n * b <= a / d |^ n by XREAL_1:19;
A30: d |^ n > 0 by A14,Th6;
A31: d |^ n <> 0 by A14,Th6;
A20:j=1;
then d |^ n / d |^ n < a / d |^ n by A30,XREAL_1:74;
1 < a dnbyA31XCMPLX_1:60;
then 1 - 1 < a / d |^ n - 1 by XREAL_1:9;
( -1)/3| 0/ ^n A28java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
A32: b > 0 by XXREAL_0:15;
1 :;
then
A33: (1 + b) * d > 1 * d by A14,XREAL_1:68;
b < / :;
then b < 1 by XXREAL_0:2;
then (1 + b) |^ n <= 1 + 3 |^ nhence ;
then
then c |^ n <= a / d |^ n * d |^ java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 22
then
A34: c |^ n <= a by A31,XCMPLX_1:87;
(1 + b) * d > 0 * d by A14,A32;
then c inX by A34;
hence contradiction by A11,A33,SEQ_4:def 1;
hence a = d |^ n & d>0 by A14,A16,A2 a,)->1 java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
end;considersbeingState suchthat
hence thesis;
end;
uniqueness
proof
now
let b,c be Real;
assume that
A35: b |^ n = a and
A36 consider P Instruction-equence of SCMsuch that
A37: c |^ n = a and
A38: c>0 and
39: b< ;
per cases by A39,XXREAL_0:1;
suppose
b > c;
hence contradiction by A1,A35,A37,A38,Lm1;
end;
suppose
c > b;
hence contradiction by A1,A35,A36,A37,Lm1;
end;
end;
hence thesis;
end;
end;Initialized=+,java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 43
registration
let n;
let a be Real;
cluster n -Root a -> real;
coherence;
end;
:for Nat > >1 ( )| n = a & n-java.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 77
n) = a
proof
let n be Nat;
assume that
,)domS+)java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
A2: : dom dc= dom(SA+d FUNCT_410java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
thus(Root )^n=a by ,A2,Def2java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
assume
A3: n -Root (a |^ n) <> a;
per cases by: dom s : 2;
suppose
A4: n -Root (a {b : 1;
a |^ n > 0 by A1,Th6;
hence contradiction by A1, in d by A2,UNCT_4:128;
end;
suppose
A5: n -Root (a |^ n) < a;
a |^ n > 0 by A1,Th6;
hence contradiction by A1,A2,A5,Def2;
endjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
end;
theorem Th19:
for n being Nat st a>=0 & n>=1 holds (n -Root a) |^ n = a & n
-Root (a |^ n) = a
proof
let n be Nat;
assume that
A1: ahence A8,FUNCT_485
A2: n>=1;
per cases by A1;
suppose
a>0;
hence thesis by A2,Lm2;
end;
suppose
A3: a=0;
reconsider k=n, k1=1 as Integer;
reconsider m=k-k1 as Element of NAT by A2,INT_1:5;
A4: 0 |^ n = 0 |^ (m+1) .= 0 |^ m * 0 |^ 1 by NEWTON:8
.= 0 |^ m * 0 GeoSeq.(0+1) by Def1
.= 0 |^ m * (0 GeoSeq.0 * 0) by Th3
.= 0;
hence (n -Root a) |^ n = a by A2,A3,Def2;
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;
end;
theorem Th21:
a>=0 implies 1 -Root a = a
proof
assume
A1: a>=0;
a |^ 1 = a GeoSeq.(0+1) by Def1
.= a GeoSeq.0 * a by Th3
.= 1*a by Th3
.= a;
hence thesis by A1,Th19;
end;
theorem Th22:
a>=0 & b>=0 & n>=1 implies n -Root (a*b) = n -Root a * n -Root b
proof
assume that
A1: a>=0 and
A2: b>=0 and
A3: n>=1 and
A4: n -Root (a*b) <> n -Root a * n -Root b;
A5: (n -Root a * n -Root b) |^ n = (n -Root a) |^ n * (n -Root b) |^ n by
NEWTON:7
.= a * (n -Root b) |^ n by A1,A3,Th19
.= a * b by A2,A3,Th19;
per cases by A1,A2;
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 (a*b) > 0 by A3,Def2;
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;
hence contradiction by A3,A5,A8,A7,Th19;
end;
end;
suppose
A10: a=0 & b>0;
then n -Root (a*b) = 0 by A3,Def2;
hence contradiction by A4,A10;
end;
suppose
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>0 & n>=1 implies n -Root (1/a) = 1/(n -Root a)
proof
assume that
A1: a>0 and
A2: n>=1 and
A3: n -Root (1/a) <> 1/(n -Root a);
A4: n -Root a > 0 by A1,A2,Def2;
A5: (1/(n -Root a)) |^ n = 1 / (n -Root a) |^ n by Th7
.= 1/a by A1,A2,Lm2;
A6: n -Root (1/a) > 0 by A1,A2,Def2;
per cases by A3,XXREAL_0:1;
suppose
n -Root (1/a) > 1/(n -Root a);
hence contradiction by A2,A4,A5,Lm2;
end;
suppose
n -Root (1/a) < 1/(n -Root a);
hence contradiction by A2,A5,A6,Lm2;
end;
end;
theorem
a>=0 & b>0 & n>=1 implies n -Root (a/b) = n -Root a / n -Root b
proof
assume that
A1: a>=0 and
A2: b>0 and
A3: n>=1;
thus n -Root (a/b) = n -Root (a*b")
.= n -Root a * n -Root (b") by A1,A2,A3,Th22
.= 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 -Root b;
end;
theorem Th25:
a>=0 & n>=1 & m>=1 implies n -Root (m -Root a) = (n*m) -Root a
proof
assume that
A1: a>=0 and
A2: n>=1 and
A3: m>=1 and
A4: n -Root (m -Root a) <> (n*m) -Root a;
per cases by A1;
suppose
A5: a>0;
then
A6: m -Root a > 0 by A3,Def2;
then
A7: n -Root (m -Root a) > 0 by A2,Def2;
A8: (n -Root (m -Root a)) |^ (n*m) = ((n -Root (m -Root a)) |^ n) |^ m by
NEWTON:9
.= (m -Root a) |^ m by A2,A6,Lm2
.= a by A1,A3,Th19;
A9: n*m>=1 by A2,A3,XREAL_1:159;
then
A10: (n*m) -Root a > 0 by A5,Def2;
per cases by A4,XXREAL_0:1;
suppose
n -Root (m -Root a) < (n*m) -Root a;
hence contradiction by A5,A8,A9,A7,Def2;
end;
suppose
(n*m) -Root a < n -Root (m -Root a);
hence contradiction by A5,A8,A9,A10,Def2;
end;
end;
suppose
A11: a=0;
n*m>=1 by A2,A3,XREAL_1:159;
then
A12: (n*m) -Root a = 0 by A11,Def2;
m -Root a = 0 by A3,A11,Def2;
hence contradiction by A2,A4,A12,Def2;
end;
end;
theorem Th26:
a>=0 & n>=1 & m>=1 implies n -Root a * m -Root a = (n*m) -Root ( a |^ (n+m))
proof
assume that
A1: a>=0 and
A2: n>=1 and
A3: m>=1 and
A4: n -Root a * m -Root a <> (n*m) -Root (a |^ (n+m));
A5: (n -Root a * m -Root a) |^ (n*m) = (n -Root a) |^ (n*m) * (m -Root a) |^
(n*m) by NEWTON:7
.= ((n -Root a) |^ n) |^ m * (m -Root a) |^ (n*m) by NEWTON:9
.= a |^ m * (m -Root a) |^ (m*n) by A1,A2,Th19
.= a |^ m * ((m -Root a) |^ m) |^ n by NEWTON:9
.= a |^ m * a |^ n by A1,A3,Th19
.= a |^ (n+m) by NEWTON:8;
A6: n*m>=1 by A2,A3,XREAL_1:159;
per cases by A1;
suppose
A7: a>0;
then
A8: m -Root a > 0 by A3,Def2;
n -Root a > 0 by A2,A7,Def2;
then
A9: n -Root a * m -Root a > 0 by A8;
A10: a |^ (n+m) > 0 by A7,Th6;
then
A11: (n*m) -Root (a |^ (n+m)) > 0 by A6,Def2;
per cases by A4,XXREAL_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
A12: a=0;
reconsider k=n, k1=1 as Integer;
reconsider m1=k-k1 as Element of NAT by A2,INT_1:5;
A13: a |^ (n+m) = a |^ (m1+m+1) .= a |^ (m1+m) * a by NEWTON:6
.= 0 by A12;
n -Root a = 0 by A2,A12,Def2;
hence contradiction by A4,A6,A13,Def2;
end;
end;
theorem Th27:
0<=a & a<=b & n>=1 implies n -Root a <= n -Root b
proof
assume that
A1: a>=0 and
A2: a<=b and
A3: n>=1 and
A4: n -Root a > n -Root b;
A5: now
per cases by A1,A2;
suppose
b > 0;
hence n -Root b >= 0 by A3,Def2;
end;
suppose
b=0;
hence n -Root b >= 0 by A3,Def2;
end;
end;
(n -Root a) |^ n = a by A1,A3,Th19;
then (n -Root a) |^ n <= (n -Root b) |^ n by A1,A2,A3,Th19;
hence contradiction by A3,A4,A5,Th10;
end;
theorem Th28:
a>=0 & a<b & n>=1 implies n -Root a < n -Root b
proof
assume that
A1: a>=0 and
A2: a<b and
A3: n>=1 and
A4: n -Root a >= n -Root b;
(n -Root a) |^ n = a by A1,A3,Th19;
then
A5: (n -Root a) |^ n < (n -Root b) |^ n by A1,A2,A3,Lm2;
n -Root b > 0 by A1,A2,A3,Def2;
hence contradiction by A4,A5,Th9;
end;
theorem Th29:
a>=1 & n>=1 implies n -Root a >= 1 & a >= n -Root a
proof
assume that
A1: a>=1 and
A2: n>=1;
n -Root a >= n -Root 1 by A1,A2,Th27;
hence n -Root a >= 1 by A2,Th20;
n -Root a <= n -Root (a |^ n) by A1,A2,Th12,Th27;
hence thesis by A1,A2,Lm2;
end;
theorem Th30:
0<=a & a<1 & n>=1 implies a <= n -Root a & n -Root a < 1
proof
assume that
A1: 0<=a and
A2: a<1 and
A3: n>=1;
A4: now
per cases by A1;
suppose
a>0;
hence a |^ n >= 0 by Th6;
end;
suppose
a=0;
hence a |^ n >=0;
end;
end;
now
per cases by A1;
suppose
a>0;
hence a |^ n <= a by A2,A3,Th14;
end;
suppose
a=0;
hence a |^ n <= a by A3,NEWTON:11;
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;
end;
theorem Th31:
a>0 & n>=1 implies n -Root a - 1 <= (a-1)/n
proof
assume that
A1: a>0 and
A2: n>=1;
n -Root a > 0 by A1,A2,Def2;
then n -Root a - 1 > 0 - 1 by XREAL_1:9;
then (1 + (n -Root a - 1)) |^ n >= 1 + n*(n -Root a - 1) by Th16;
then a >= 1 + n*(n -Root a - 1) by A1,A2,Lm2;
then a - 1 >= n*(n -Root a - 1) by XREAL_1:19;
then (a - 1)/n >= n*(n -Root a - 1)/n by XREAL_1:72;
hence thesis by A2,XCMPLX_1:89;
end;
theorem
a>=0 implies 2-Root a = sqrt a
proof
assume that
A1: a>=0 and
A2: 2-Root a <> sqrt a;
A3: sqrt a >= 0 by A1,SQUARE_1:def 2;
sqrt a |^ 2 = (sqrt a)^2 by NEWTON:81
.= a by A1,SQUARE_1:def 2;
hence contradiction by A2,A3,Th19;
end;
Lm3: for s being Real_Sequence, a st a >= 1 & (for n st n>=1 holds s.n = n
-Root a) holds s is convergent & lim s = 1
proof
set s2 = seq_const 1;
let s be Real_Sequence;
let a such that
A1: a>=1;
deffunc O(Nat) = (a-1)/($1+1);
consider s1 being Real_Sequence such that
A2: for n holds s1.n = O(n) from SEQ_1:sch 1;
set s3 = s2 + s1;
A3: s1 is convergent by A2,SEQ_4:31;
then
A4: s3 is convergent;
assume
A5: for n st n>=1 holds s.n = n -Root a;
A6: now
let n;
A7: n+1>=0+1 by XREAL_1:6;
set b = (s^\1).n - 1;
A8: (s^\1).n = s.(n+1) by NAT_1:def 3
.= (n+1) -Root a by A5,A7;
then
A9: (s^\1).n >= 1 by A1,A7,Th29;
then (s^\1).n-1>=0 by XREAL_1:48;
then
A10: -1 < b;
a = (1+b) |^ (n+1) by A1,A7,A8,Lm2;
then a >= 1 + (n+1)*b by A10,Th16;
then a - 1 >= 1 + (n+1)*b - 1 by XREAL_1:9;
then (a - 1)*(n+1)" >= (n+1)"*((n+1)*b) by XREAL_1: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 s2.n<=(s^\1).n & (s^\1).n<=s3.n by A9,SEQ_1:57,SEQ_1:7;
end;
lim s1 = 0 by A2,SEQ_4:31;
then
A11: lim s3 = s2.0 + 0 by A3,SEQ_4:42
.= 1 by SEQ_1:57;
A12: lim s2 = s2.0 by SEQ_4:26
.= 1 by SEQ_1:57;
then
A13: s^\1 is convergent by A4,A11,A6,SEQ_2:19;
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
for s being Real_Sequence st a > 0 & (for n st n>=1 holds s.n = n
-Root a) holds s is convergent & lim s = 1
proof
let s be Real_Sequence;
assume
A1: a>0;
assume
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
A4: 1<=1/a by A1,XCMPLX_1:60;
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;
A6: for n holds n>=1 implies s1.n=n -Root (1/a) by A5;
then
A7: lim s1 = 1 by A4,Lm3;
A8: s1 is convergent by A4,A6,Lm3;
A9: now
let b be Real;
assume b>0;
then consider m1 such that
A10: for m st m1<=m holds |.s1.m-1.|<b by A8,A7,SEQ_2:def 7;
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 by A1,A3,Th30;
A15: (m -Root a) <> 0 by A1,A13,Def2;
then
A16: |.1/(m -Root a) - 1.| = |.1/(m -Root a) - (m -Root a)/(m -Root a
).| by XCMPLX_1:60
.= |.(1 - m -Root a)/(m -Root a).|
.= |.(1 - m -Root a)*(m -Root a)".|
.= |.1 - m -Root a.|*|.(m -Root a)".| by COMPLEX1:65;
0<m -Root a by A1,A3,A13,Th30;
then (m -Root a)*(m -Root a)"<1*(m -Root a)" by A14,XREAL_1:68;
then 1<(m -Root a)" by A15,XCMPLX_0:def 7;
then
A17: 1<|.(m -Root a)".| by ABSVALUE:def 1;
0<>1 - m -Root a by A1,A3,A13,Th30;
then |.1 - m -Root a.| > 0 by COMPLEX1:47;
then
A18: 1*|.1 - m -Root a.| < |.1 - m -Root a.|*|.(m -Root a)".| by A17,
XREAL_1:68;
m1<=n by XREAL_1:29;
then m1<=m by A11,XXREAL_0:2;
then |.s1.m-1.|<b by A10;
then |.m -Root (1/a) - 1.|<b by A5;
then |.1/(m -Root a) - 1.|<b by A1,A13,Th23;
then |.-(m -Root a - 1).| < b by A16,A18,XXREAL_0:2;
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 k < 0;
consistency;
coherence by TARSKI:1;
end;
registration
let a be Real;
let k be Integer;
cluster a #Z k -> real;
coherence
proof
a #Z k = a |^ |.k.| or a #Z k = (a |^ |.k.|)" by Def3;
hence thesis;
end;
end;
theorem Th34:
a #Z 0 = 1
proof
thus a #Z 0 = a |^ |.0.| by Def3
.= a |^ 0 by ABSVALUE:2
.= a GeoSeq.0 by Def1
.= 1 by Th3;
end;
theorem Th35:
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
.= a GeoSeq.0 * a by Th3
.= 1*a by Th3
.= a;
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 Def3
.= a |^ n by ABSVALUE:def 1;
end;
Lm4: 1" = 1;
theorem Th37:
1 #Z k = 1
proof
per cases;
suppose
k>=0;
hence 1 #Z k = 1 |^ |.k.| by Def3
.= 1;
end;
suppose
k<0;
1 #Z k = (1 |^ |.k.|)" by Def3;
hence thesis;
end;
end;
theorem
a<>0 implies a #Z k <> 0
proof
assume
A1: a<>0;
per cases;
suppose
k>=0;
then a #Z k = a |^ |.k.| by Def3;
hence thesis by A1,Th5;
end;
suppose
k<0;
then a #Z k = (a |^ |.k.|)" by Def3;
hence thesis by A1,Th5,XCMPLX_1:202;
end;
end;
theorem Th39:
a>0 implies a #Z k > 0
proof
assume
A1: a>0;
per cases;
suppose
k>=0;
then a #Z k = a |^ |.k.| by Def3;
hence thesis by A1,Th6;
end;
suppose
A2: k<0;
A3: a |^ |.k.| > 0 by A1,Th6;
a #Z k = (a |^ |.k.|)" by A2,Def3;
hence thesis by A3;
end;
end;
theorem Th40:
(a*b) #Z k = a #Z k * b #Z k
proof
per cases;
suppose
A1: k>=0;
hence (a*b) #Z k = (a*b) |^ |.k.| by Def3
.= a |^ |.k.| * b |^ |.k.| by NEWTON:7
.= a #Z k * b |^ |.k.| by A1,Def3
.= a #Z k * b #Z k by A1,Def3;
end;
suppose
A2: k<0;
hence (a*b) #Z k = ((a*b) |^ nteger and Rational java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 24
=(^.. ^.|"byNEWTON7
.= (a |^ |.k.|)" * (b |^ |.k.|)" by XCMPLX_1:204
.= a #Z k * (b |^ |.k.|)" by A2,Def3
.= a #Z k * ,,;
;
end;
a # ,,,RELSET_1 ,,
proof
cases
suppose
>0;
java.lang.StringIndexOutOfBoundsException: Range [11, 4) out of bounds for length 15
hence a ,XREAL_1 ,,NAT_D ,VALUED_0java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12
.= 1 /a|^ |.k.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
= # byA1,;
java.lang.StringIndexOutOfBoundsException: Range [0, 5) out of bounds for length 0
suppose
for java.lang.StringIndexOutOfBoundsException: Range [25, 22) out of bounds for length 25
( / byjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
.= 1 s= ;
=1/ | byDef1
.= 1. abySEQ_1;
end;
definitio
<0
thenreconsideraas ;
./ .|
. ^|-. COMPLEX1
.= take;
hence thesis;
end;
;
:
1a Zk =1 k
proof
cases
suppose GeoSeq 0= holds(1 m*a
A1: k>=
hence (1/a) #Z =1 :java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
.= 1 /:m.m1)=.*ajava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.= 1 / a #Z k by A1,Def3;
end;
suppose
A2: k<0;
hence (1/a) #Z k = ((1/a) |^ |.k.|)" by Def3
. 1/a."by
=( ^|k|)java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
.= (a #Z k)" by A2,Def3
.= 1/a #Z k;
end;
end;
theorem Th43:
for m,n being Nat holds a<>0 implies a #Z (m-n) = a |^ m / a |^ n
proof
mn be
assume
A1: a<>0 [ (A)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
per cases;
suppose
m-n>=0;
t m1 -n of by:;
:#(n ^ * ^nbyTh36
(/)| ^m
. java.lang.StringIndexOutOfBoundsException: Range [13, 11) out of bounds for length 16
a |^n< 0by ,Th5;
hence thesis by A2,CMPLX_189;
endthen
suppose
m-n<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then -(letabe
thenreconsider m1 =-masElementofNAT:;
A3: a #Z =b *1| )
# nm ^ ^m1*a| by
. ^(mb 8
.= a |^ n;
then
A4 and
PNat java.lang.StringIndexOutOfBoundsException: Range [26, 22) out of bounds for length 42
hence thesis by A4,XCMPLX_1 =b|
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6
end;
theorem Th44:
1Th3
proof
A1: a<>0end;
casesjava.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
suppose
A2: k>=0 & :0 and
A3: k*l>=0 defpredPNat] means a ^(+1) |1+)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
thus a #A6: ^1m1)<b| 1;
.= then a 1 ^1+) NEWTON;
.= a |^ |.k java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
.a Zk*| .. A2java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
.= a #Z k * a #Z l by A2,Def3;
end;
suppose
A4: k>=0
then0java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 54
k+l = m - n;
a# ^/|^ java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 49
|m*(a |n"
:def
.= a hence thesis by A1,A2,Th6
.= n >impliesa | >1
.= a #Z k * (a |^ |.l.java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
.= #Z *a # A4;
end;
suppose
< >0java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
thenreconsider m =las ofNAT INT_13
reconsidern k NATA5,
k+l = =n;
hence a #Z ( =+A2java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
.= let m1
*1 ^(1 aXREAL_1;
.hence :java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
.= a byA6
. Z*(^|k."byA5Def3
.= a #Z k * java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 13
;
suppose
A6: P] [m1java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
:*>
kl .|
=a^(|+l|) 11
.= ( =a0*ab java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
.= (aA7 holdsPm1 (A5)
.=
#lbyA6,;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;
theorem Th45:
a #Z k #Z l = a #Z (k*l)
proof
per cases;Nat ^(1$ =
suppose:java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 33
: k*l 0;
per cases by
suppose
k> & >;
hence # # =a # ^|. Def3
.=a |^ |.kjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
.=a |^ (|.k.|*|.
.= assumethat
.=a #Z A2 a 1and
end;
suppose
A3: k<0 & l<0;
hence ZkZl a |^ |.."byDef3
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 27
( ^|)|.)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
.1/a^|k|||l.)
=a| .. ^|l|"java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
. ^(.|..) 9
.=a |^ |.k*l.| by COMPLEX1:form1holds m1]s2A7A;
.=ajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end;
suppose
A4: k*l Natby :1java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
a
:k0 >0;
hence a #Z k #Z l assume 1+) | =1 a;
then (a ^m *+)>(+ *a*1a)by A4,XREAL_1:;
/ | ..)^|l.|
<a* java.lang.StringIndexOutOfBoundsException: Range [24, 21) out of bounds for length 25
.=1 / a |^ (|.k.|*|.l.|) by NEWTON:9
. end
.=(a |^ |.k*l.|)"
.=a #Z (k*l) by java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 21
end;
suppose
A6: k>0 & l(1 +a) | n < +3| *
hence a:by 1;
.( | .k.| |^ |..)D
.( ^(..|) NEWTON9
=a^|l) COMPLEX1
.=a java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
end
A7: k*l = 0;
per cases by A7;
suppose
k=0;
hence a #Z k #Z l = 1 #Z l by Th34
.=
0 + 1<by NAT_113;
end;
suppose
0java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
hence aa* by,,java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 38
.= a
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;
theoremTh46:
a>0 & n
proof
assume that
A1:= ;
A2: n>=1;
A3: n then
A4: m>=1 forn [] from : 2(A5)
proof
java.lang.StringIndexOutOfBoundsException: Range [15, 10) out of bounds for length 15
A5: m>=1 java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 35
A6: (n -Rootn(.)| $)isjava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 63
: >0T;
then
A8: ElementREALjava.lang.StringIndexOutOfBoundsException: Range [50, 46) out of bounds for length 50
s s1n ^ A4
.= n -Root (m -Root (a |^ m) =j y ;
.A6:s constantVALUED_0def18java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
A10: m -Root =byjava.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16
A11: (n -java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 6
per cases m1
(n -Root a) |^ONat s1$ |
being such that
end;
suppose
(n -Root a) |^thus s1n ^(+)A10
hence contradiction by A5,A9,.= (s1.n) |^ m1 * (s1.n) by NEWTON
end;
end;
suppose
>java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
then |. end;
then
.k|=01by :;
:
.= n -Root (a |^ |.k.|) by A4,A13
.= n -Root (a #
end;
suppose
A14: k<0;
then |.k.|>0 by COMPLEX1assumexinjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
then
A15: |.k.|>=0+1 by NAT_1:13;
A16: a |=1 ElementofREAL19;
thus (n -Root a) #Z k = (
n - (| ..)" A
.= 1/n -Root (a |^ |.k.|)
.= n -Root (1/a |^ |.k.|) by A2,A16,Th23endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
^|.|"java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
.= n -Root (a #Ztake
suppose
:=0
n-oot a# )=n- 1 y
. A2Th20java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
hence contradiction A6,A7X:2;
end;
definition
let a be Real;
java.lang.StringIndexOutOfBoundsException: Range [10, 1) out of bounds for length 23
funca Qp- numberequals
(denominator hence by ,A9,;
coherence by TARSKI:;
end;
registration
let a be Real:a <1 st java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
let A13:a <java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
|^ n <=a A1,8A13,h14
coherence;
end;
theorem Th47:
p = 0 implies a #Q p = 1
proof
java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
A1: p=0;
numerator(p)=0
thus#p a java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 47
.= 1 -Root 1 by Th34
. java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 17
end;
oremTh48:
a > 0 & p = 1 implies a #Q p = a
proof
assume that
=1;
A3 denominatorp)1byA2,AT_1:17;
numerator(p)=p by A2;
thus a #Q p = 1 -Root a by A2,A3,then /d<1 by ,CMPLX_1:60;
.= a then - 1 < - b/java.lang.StringIndexOutOfBoundsException: Range [50, 24) out of bounds for length 50
end;
Lm5: a>=0 implies a #Z k >= 0
proof
assume
A1: a>=0;
per cases by A1;
suppose
A2: a = 0;
.. =0or .|>= 1 by :14java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
then (0 |^ |.k.|) thenconsider be such
A2;
A23: d -b <cby A2A12A11SEQ_4:ef ;
suppose
;
hence thesis by Th39;
;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
:
for n be Nat st 0 <= a holds a. 1-n(1- | n) / (+))*d|^ ,:87
proof
let n be Nat;
A1: denominator n=1 by RAT_1:17;
A2: numerator n=n;
0 <=a;
hencea#Qn=a ZnbyA1,,h21
.= a |^.=((n1n/ *n(1) ^n
end;
theorem Th50:
for n Natholds1&p =n"implies a #Q p = n -Root a
proof
Nat
that
:n>
"
=Rational
then denominator(p)=numerator =(1 - b/) *d)n by ,XCMPLX_160
then
4 denominator()=n;
numerator(p)=denominator(q) by A1java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
then java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 12
hence thesis by A4 beReal ste=c&0<e& | aby A22java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
theorem Th51:
1 #Qp=1
proof
thus 1 #Q p set c =(1+b d;
. byTh20,RAT_1:1;
end;
theorem Th52:
a>0 implies *b< a / ^n -1by ,:7
proof
>0;
then
A1: a #Z numerator(p) > 0 : ^n < by ,h6
denominator( then d ^ n ^nby XREAL_174;
hence thesis by A1,Def2;
end;
theorem Th53:
Q* Qq #q
proof
set dp = then (1 + b) =1+3| Th17
set dq = denominator(q);
setnp=numerator()
hence by ,A33SEQ_4def1java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
A1:dp=1byRAT_1:11;
reconsider ddq=dq as Integer;
reconsider ddp=pas Integer;
A2: denominator(p+q) >= 1 uniqueness
A3: dq now
then
A4: dp*dq >= 1 by A35: | n =a and
p+q = np/dp + q
.= np/dp + nq/dq
.= (np*dq+nq*dpA39: b< c;
then consider n such that
A5: np*dq+nq*dp suppose
A6: dp*dq = denominator(p+q)*n by RAT_1: hence contradiction by A1,35,37A38,Lm1;
reconsider k=n as Integer;
assume
A7:a;
then
A8: a #Z (nq-nphence thesis;
n>0 by A6;
then
:>=1:13java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
A10: a #Z np > 0 by A7,Th39;
then
Z )0;
A12:java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
then
n) a
A14: a #Q ( n ;
A15A1 >0
thus n- a) a by A1,A2,ef2;
.= dp -Root (a #Z np) * dq -Root (a #Z np * a #Z (java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 8
.= dp -Root (a #Z np)*(dq -Root (a #Z np)* suppose
,A8,Th22,RAT_1:11
.= dp -Root (a #Z np) * dq -Root (a #Z np) * dq contradictionby ,,java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 41
. (dpdq)-Root (a#Z np) | (p+))dq-oot (a Z(nq-np)) by A10,3
,A1,Th26
.= (dp*dq) -Root ((a #Z np by A1,2A5,;
np)) end;
.= (dp*dq) -Root ((ajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
being Nat a>= >1holds n-Root ) |^ n = a n
.= (dp*dq) -Root (((a #Z np) |^ (dp+dq)) * ((a #Z (nq-np Root (a |^ n) = a
,A13,A11,Th22,java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 15
.= (dp*dq)A1:a>=0 and
Th36
.= (dp*dq) -Root (((a #Zjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 9
Th36
.= (dp end;
.= (dp*dq)
reconsiderkn,k1=1 as Integer
. denominatorp+q)n) Root # numerator(+)# )by,A6T
( #Z (+)# byA4,A6,15
,Th46
minatorp)-Root ( #Z numerator(+q)))| n by Th36
. ( -Root a# pq))| n by ,A2,15Th25
. ;
endjava.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
theorem Th54:
a>0 implies 1 / a java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 13
proof
assume a>0;
then
A1: a #Z numerator(p)end;
thus a #Q (-p) = (denominator(-p)
.= (denominator(p)) -Root a>0implies 1-Root a
. assume
.= 1 / a #Q p by A1,Th23,RAT_1:11;
end;
theorem Th55:
a>0 implies a #Q hencethesis A1,h19;
proof
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
thus a #Q (p-q) that
. #Q 1a Qq)A1Th54
.= a #Q p * 1 / a #Q q
.= a #Q p / a #QA5:( Root an Root )| n- )| ( Root b)| by
end;
6:
>java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
proof
java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
A1: a>0 and
A2: b>0;
A3: a #Z numerator(p) >= 0 by ;
A4: b #Z numerator(p) >= 0 by A2,Th39;
thus (a*b) #Q p = (denominator(p)) -Root (a #Z numerator( A3A5A,Th19java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
(p)) by A10: a=0 & b>0
.= a #Q p * b #Q p by A3,A4,Th22,java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 34
d
theorem Th57:
a>0 implies (1/a) #Q p = 1/a #Q p
proof
assume
A1: a>0;
thus (1/a) #Q p = (denominator( java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 38
.= endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
.= (denominator(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.= a # >0 & >1 implies Root(/)=1( -Root )
.= 1/a #Q p by A1,Th54;
end;
theorem Th58:
a>0 & b>0 implies (a/b) #Q - 1a)>1( Roota)
proof
assume that
A1: a>0 . /by ,L;
A2: b>0;
Q a(/b))#Q p = a#Q *(/) # p by A1,2,h56
. Qp*(/b # p)by
.= a #Q p / b #Q p;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem Th59:
a > 0 implies a #Q p #Qtheorem
proof
A1: denominator(p)>=1 by RAT_1:11;
p = numerator(p)/denominator(p);
p*q = (java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 12
. numeratorp/denominator()*numerator(q)denominator(java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
.=(numerator()numerator(q))/denominator(p)*denominator(q)) by
XCMPLX_1:83;
then consider n such that
A2: numerator(p)*numerator(q) = numerator(p*q)*n. - b
:(denominator(q)=denominator(p*q)*n by RAT_1:27
;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
n>0 by A3;
then
A5: n>=0+1 by java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A1 a>0and
A6: denominator(q)>=1 by RAT_1:11;
A7(p*q) >= 1java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
assume
A8: a>0;
then
A9: a #Z (numerator(p)*numerator(A7: n -Root (m -Root a) > 0 by A2,
A10:a#Q (*) by A8,h52
A11: a #Z numerator(p*q) > 0 by A8,Th39;
a #Z numerator(p) > 0 by A8,Th39;
hence # Q (java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 74
n)R a 0byA5Def2java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
.= (denominator(q)) -Root ((denominator( suppose
numerator(q)))) by Th45
.p**n) - (a#Z (numerator(p*)k)by,6A9,A2,3
,Th25
.= (enominatorp*)n Root a #Z numerator(*q #Z k)by Th45
. (denominator(p*)*n -Root a # numerator(p*)))#Z k by A11,A4,Th46
.= ((n*denominator( (n*m)Root <n-Root (m -Root a)
)|^ n A5,A7,A11,Th25
.= a #Q (p*q) by A5 end;
end suppose
theorem :
a>=1 & p >= 0 implies a #Q p >= 1
proof
assume that
A1:a=1 and
A2: p>=0;
numerator;
then reconsider n = numerator(
A3:a>= > >1impliesn-a*m-a=(*m) - |(+))
a |^ n >= 1 |^ n byproof
then
A4:n>1 and
denominator(p) >= 1 by RAT_1 n- *m -a >(* Root( ^(+)
henceby Th29;
end;
theorem Th61:
a=1 &p=0implies a #Q p <= 1
proof
assume that
1 >
A2: p<=0. | (+NEWTON8java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
a #Q (-p) >= 1 by A1,A2,Th60;
then a # p>=1by ,Th54;
hence thesis by XREAL_1:191;
end;
theorem Th62:
a>1 & - a;
proof
assume that
a1and
percases byA4Xjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A3: numerator(p)>0 by A2;
then reconsider n = java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 8
n>=0+1 by A3,NAT_1:13;
then
A4: a |^ n > 1 |^ n by A1,Lm1;
a numeratorp |n Th36java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
Znumeratorp > A4java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
then (denominator(p)) -Root (a #Z numerator(pA13 a ^(n) a ^(m1+m+). a ^ (1m)*aby :6
,RAT_1java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
hence thesis henceby ,,Def2
end;
Th63
a >q a#> Qq
proof
assume that
A1: a>=1 and
A2: p>=q;
per cases by A2,XXREAL_0: n-Roota n -Root ;
suppose
p=q;
hence java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
endhence -b> 0 by A3,;
suppose
p>q;
then
A3: p-q>=0 by XREAL_1:50;
A4: a #Q q <> end;
A1T
a#q> java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 27
then a #Q p / a #Q q * a #Q q >= 1 * a #Q q end;
hence thesis by
end;
end;
theorem Th64:
a>1 & p>q implies a #Q p >:aband
proof
assume that
A1: a>1 and
A2: p:(-a ^n<( Rootb)| n by 1A2,3;
A3: p-q>0 by A2,XREAL_1: hencecontradiction ,java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
A4: a #Q p / a #Q q = a #Q (p-q >1&= n-> > java.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
A5: a #Q q A2 n=;
a Qq byA1,Th52java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
then a #Q p / a #Q q * a #Q q > 1 * a #Q q n -oot a = n -oot (a ^n)by A1A2Th12,Th27;
hence thesisbyA1,,m2
end;
theorem Th65:
a>0 & a<1 & p>0 implies a #Q p < 1
proof
reconsider q=0 as Rational;
assume that
A1: a>0 and
A2: a<1 and
A3: p>0;
1/A4:now
then 1a #Qp>(1/aQq A3,h64;
then (1/a) suppose
then 1/a #Q p > 1 by A1;
hence thesis by XREAL_1:185;
end;
theorem
<1 &<0a# =
proof
assume that
A1: a>0 >;
A2: a<=1 and
A3: p<=0;
1/a >= 1 by A1,A2,Lm4,XREAL_1:85;
then (1/a) #Q p <= a | < ,;
then
A4: 1/a #Q p <= java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
a #Q p > 0 by A1,Th52;
hence thesis by A4,XREAL_1:187end;
end;
ion
cluster RAT-valued for Real_Sequence;
existence
proof
0java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
thus thesis;
;
end;
definition
::$CD
mode java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 33
end;
theorem Th67:
for a be Real ex s being java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 13
s isA2:2-oot a >sqrt a;
proof
let a be Real;
deffunc O() =[($+1*//$1+1)
sb such
holdssn=(n :ch1java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
rng s c= RAT
proof
- )isconvergents=java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
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;
endNat a-/(1+;
sas defjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
deffunc holds s1. =O) SEQ_1:sch 1java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
consider s2 beingA3: s1 convergent by ,EQ_4:;
A3: for n holds s2.n = O(n) from SEQ_1:sch 1;
reconsider a1 = a as Element of REAL by XREAL_0:def 1java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
s1 = seq_const a;
take s;
set s3 = s1 - s2;
A4: A7 +>01 6;
then
: convergent;
A6: now
let n;
n) \n1*a/ byINT_129
()* - < \n1a]+1 -1by XREAL_19;
then ((n+1)*a - 1) then
then (a/(na 1b) | (+)by ,7A8L;
/n) < .nby 87java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
then s1.n - 1/(n+1) then a - 1)(+1"> (+"*(1* XREAL_164java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
then
A7: s1.n - s2. s2n<(^\n &(s^1.=s3.n A9,EQ_1:7S:7;
[\(n+1)*a/] <= (n+1)*a by INT_1:def 6;
lim s1= 0by ,EQ_4:;
then [\(n+1)*a/] then
*1 by XCMPLX_0:ef 7;
then [\(n+1)*a =1by SEQ_157;
hence s3.n <= s.n & s.n <= s1.n by A1,A7,RFUNCT_2:1;
end;
lim A13 \ convergentA11A6S:java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
then
A8: java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 4
.= a by SEQ_1 forbeingReal_Sequence a >0& ( st>1holds sn = n
A9: lim s1 = s1.0 by SEQ_4:26
. by :57;
hence s is convergent by java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 8
thus lim s = a by A5,A8,A9,A6,SEQ_2:20;
let n;
s.n<=s1.n by A6;
hence thesis by SEQ_1:57;
end;
theorem Th68:
exs st &lim java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 63
for n holds s.n>
proof
deffunc O(Nat) = ;
consider sA3 <1java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
then
A4 1<1aby A1,CMPLX_1:;
proof
let y be object;
assume y in rng s;
then consider n being Element of NAT such that
sn byFUNCT_2113
s.n = O(n) by A1;
hence thesis >0
end;
then reconsiders Rational_Sequenceby RELAT_1 19;
deffunc O(Nat) = 1/($1+1);
consider s2 being Real_Sequence such that
A3: java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
take s;
set s1 = seq_const a;
set s3 = s1 + s2;
A4: s2 is Root<,,;
then
A5:: m-a <>0by,,
A6: now
letnjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
(n+1)*a + 1 =|1 Root a)( Roota)|
then ((n+1)*a + 1)*(n. . || a"| by COMPLEX165
then a/(+1)*(n1 1(n+1)>= snbyA1
thena+1(n+)=s by :87;
then 1(m Roota"by A15,XCMPLX_0def7;
then
:s1. +s2n>= . by A3;
[/(n+1)*a\] >= (n+1)*a by INT_1:def 7;
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
/n1*\]n) = a*1 byXCMPLX_0 7;
thenXREAL_168java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
s1.=s. n .by,A77;
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 31
lim s2 = 0 by A3,SEQ_4:31;
then
8 lim s3 =s1.0 +0by ,SEQ_4:java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.= 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 lim s = ;
let n;
s.n>=s1.n by A6;
hence thesis by SEQ_1:57;
end;
definition
be;
consistency
func aendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
:
for n holds it.n = a #Q (s. ;
existence
proof
deffunc O(Nat) = a #Q (s.$1);
consider being such
A1: for n holds s1. hence thesis;
take s1;
thus thesisjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end;
uniqueness
proof
let s1,s2 be =a| by ABSVALUE:2
assume that
A2: for n holds s1.n = a #Q (s.n) and
A3: java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 4
java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
thus s1.n = a #Q (s.n) by A2
.= s2.n by A3;
end;
hence thesis FUNCT_263;
end;
end;
Lm6: for
is convergent
proof
let s be Rational_Sequence;
let a;
A1: s is convergent and
A2: a>=1;
s is bounded by A1;
then consider d be Real such that
0<d and
A3: for n holds |.s.n.|<d by SEQ_2:3;
consider m2 such that
A4: suppose
reconsider m2 as Rational;
now
# m2=0by A2,h52
let c be Real;
assume
A6: c>0;
consider m1 such that
A7: a #Q m2*(a-1)/c < m1 by SEQ_4:3;1 # 1|^ |k|)"by ;
m1+1>=m1 by XREAL_1:29;
then a #end;
then a #Q m2 * (a-1)/c*c < c*(m1+1) by A6,XREAL_1:68;
# m2 *(a-1 <cm11)by A6,:;
then a #Q m2 * (a-1)/(m1+1) < (m1+1)*c/(m1+1) by XREAL_1:74;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
then
A8: a #Q m2 * (a-1)/(m1+1) < c by XCMPLX_1:87;
nsuchthat
stn= m-.n|<+) ,:;
take n;
let m;
assume m>=n;
then
A10: hen #Z =( ^..Def3
A11: m1+1 hence byA1,Th5,XCMPLX_1:;
then (m1+1) -Root a - 1 <= (a-1)/nd;
then
A12: (a #Q m2)*((m1+1) -Root a - 1) <= (a #Q m2)*((theorem Th39:
XREAL_1:64;
A13: a #Q (s.n) <> 0 by A2proof
A14: |.a #Q (s.m) - a #Q (s.A1:a0;
=.(a #Q(s.m) -a#Q (sn))( #Q (s)/a # sn) by A13,
XCMPLX_1:60
.a #Q(.n)*( #Q(s.m)-a# (s.))a #Q (.)|
.=|.a #Q >=;
|a # s.)||( Q(. # sn)/ Q(.n.|by
COMPLEX1:65
.=|.a #Q (s.n).|*|.a end;
.=|.a #Q (s.n).|*|.a #Q (s.m)/a #Q (s.n) - 1.| by A13A2:k<
.=|.a #Q (s.n).|*|.a #Q (s.m-s.n) - 1.| by A2,Th55;
A15: s.n<=|.s.n.| by ABSVALUE:4;
reconsider m3 = (m1+1)" as Rational;
A16: |.aend;
A17: a #Q (s.m-s.n) <> 0 by A2,Th52;
s.m -s.n<=|.s.m-s.n.| by ABSVALUE:4;
then s.m -s.n a*) # k= Zk*b# java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
thensuppose
Qsm-.)<= (11)-oot a by ,Th50java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
then
A18: =a|^ .k.|* b |.| by NEWTON:7
A19: a #Q (s.m-s.n) > 0 by A2,Th52;
A20: now
percases;
suppose
s.m>=0java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
then aA2:<;
a# sms)-> :;
hence |.a #Q (s.m-s.n) - 1.| <= (m1+1) -Root a. ( |^|k|* |^ |.k.|)" by NEWTON:7
end ajava.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 42
suppose
A21: s.m-s.n<0;
A22:java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
|.s.m-s.n.| = |.-(s.m -s.n).| a Z -k =1 # java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
then -(s.m -s.n) <= m3 by per cases;
then a #Q (-(s.m-s.n)) <= a #Q m3 by A2,Th63;
thenthen k<java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
then
A23: a #Q (-(s.m- =(a|^|k|) by :2
a #Q (-(s.m-s.n)) >= 1 by A2,A21,Th60.=1/a # A1Def3java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
then a #Q (-(s.m-s.n)) - 1 >= 0 by XREAL_1:48;
then
A24: |.a #Q (-hencea Z(k)= 1by
a #Q (s.m-s.n) <= 1 by A2,A21,Th61;
then
A25: |.a #Q (s.m-s.n).| <= 1 by A19,ABSVALUE:def 1;
|.a #Q (-
then
java.lang.StringIndexOutOfBoundsException: Range [8, 3) out of bounds for length 69
.m-s.n)) - 1.| by A25,XREAL_1:64;
|.a #Q (s.m-s.n) .=1/a|^|-. by COMPLEX15java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
.= |.(a #Q (s.m-s.n) - 1)*(a #Q (s.m-s.n)/a #Q (s.m-s.n)).| by A17,
XCMPLX_1:60
.=;
. . sm-.)||(#Q (s.s )a# s.-s.n| by
(1/a#k=1a#Z java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
.= |.a #Q (s.m-s.n).|*|.a #Q (s.m-ss
(s.m-s.n).|
= |a # ssn)||1-1a# s.m-..|byA17XCMPLX_1:60
./.=1/ ^|k. Th7
.|a# sm-).*|-(1-a Q((s.m-.)).byCOMPLEX152
.= |.a #Q (s.m-s.n).|*|.a #Q (-(s.m-s.n)) - 1.|;
hence |.a #Q (s.m-s.n) - 1.| <= (m1+1) -Root a - 1 bysuppose
XXREAL_0:2;
end;
end;
# sn)>0A2T;
|.s.n. =(a ^|.|
then.<=m2by ,XXREAL_02java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
then a #Q (s.n) <= a #Qejava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A28: theoremTh43java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
.a# (.n)|> 0 A27ABSVALUEd 1;
then |.a #Q (s.n).|*|.a #Q (s.m-s.n) - 1.| <= (a #Q m2)*((m1+1) -Root a
- 1) byletm be Nat;
then |.a #Q (s.m) - a A1:>;
XXREAL_0:2;
then |.a #Q (s.m m-n>0;
then|( Q)m- a #(.n.<by ;
hence |.(a #A2 a # m)*a^ =a *a |nby Th36
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
esis by SEQ_4:41;
end;
theorem Th69:
for s being Rational_Sequence st s is convergent & a>0 holds a
#Q s is convergent
proof
let s be Rational_Sequence;
assume thatthenreconsider -asElementofNATbyINT_13
:sis and
A2: a>0;
per cases;
=a| m1+ by:java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
a>=1;
henceA1;
end;
suppose
A3: a<1;
then a/a<1/a by A2,XREAL_1:74;
then 1<1/a by A2 Th44:
then
A4: (1/a)roof
s is bounded by A1;
then consider d be Real such that
0<d and
A5: holds|s.n.< SEQ_2:3;
reconsider d as Real;
consider m1 such that
:* by:java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
reconsider m1 as Rational;
A2,h52java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
let c =a#k*a #Z l by A2;
assume
A8: c>0;
then c* a #Q m1 > 0 by A7;
then consider n such that
A9: m st n=m |((1a Q). -(/)#Q )n|<*a#Q
byA4,EQ_4:41;
take n;
letm
assume m>=n;
then
A10: |.((1/a) #Q s).m -( = ^ |k|*(|^.l|"by java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 54
A11: a #Q #k*( | |l.) by A4,Def3
A12: .= Zk a #Z by A4,Def3;
|.s.m.|<d by A5;
then
< >;
|.s.m+s.n.|<=|.s.m.|+|.s.n.| by COMPLEX1:56 then reconsider m =l of NATby INT_1:3;
then |.s.m+s.n.|<d+d by A13,XXREAL_0:2;
then |..msn|< byA62
java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
A14: |.-(s. a ||l|*( ^|-k.) ABSVALUE
- =a| .. a| |k|"by:52
s+sn<byA14,:;
then
. Z * # byA5,;
A16: a #Q (s.n) <> 0 by A2,java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 6
|.((1/aA6:k0&l<;
s) . n.| by Def5
.= |.(1/a) #Q (s.m) -(1/a) #Q (s.n).| by Def5
.= |.1/a #Q (s.m) -(1/a) #Q (s.n).| by A2,java.lang.StringIndexOutOfBoundsException: Range [0, 54) out of bounds for length 48
.=1/ # (.)-/ Q(s.)|by,h57
=a||k.) a| ..)by 204
=|a#Q (s)) -a # sn)".java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
.= |.a #Q (s.m) - a #Q (s.n).|/(|.a #Q (s.m).|*|.a #Q (s.n).|) by
A11,A16,SEQ_2:2
Th45
COMPLEX1a# Zl=a Z(*)
.= |.
.= ;
A17: (A1:* >
#Q m1 * a #Q (s.m+s.n) by java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
a #Q (s.m+s.n) <> 0 hencea#k# =#Z | |l| by
then
A18: |.a #Q (s.m) - =a |^(|..*.l.)by 9
XCMPLX_187java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
a java.lang.NullPointerException
then c*(a #Q m1 * a #Q (s.A3 k0&l<java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
then |.a #Q (s.m) - a #Q (s.n).|<c by A18,XXREAL_0 a# kZl=( k| l) Def3
then .a# )m-a#Q (s.n).| < c by Def5java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
hence |.(a #Q s).m=1/ | k|| ..) yTh7
end;
hence thesis by SEQ_4 =a|..|^ ..|"java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
end;
end;
Lm7: for s1,s2 being Rational_Sequence.a# k)D;
convergent & lim s1 = lim s2 & a>=1 holds end;
proof
let s1,s2 be Rational_Sequence;
let a;
assume that
A1: s1 is convergent and
A2: s2 is convergent =(a|.|")| .l. by ,ef3
A3: lim s1 = lim s2 and
A4: a>=1;
A5: s1-s2 is convergent by A1,A2;
A6: a #Q s2 is convergent by A2,A4,Th69;
A7: now.(a ^|k*|)"
let n be Element of NAT;
thus (((a #Q s1) - (a #Q s2)) + a #Q s2).n = ((a #Q s1) - (a
a #Q s2).n by SEQ_1:7
.= (a #Q s1).n - (a #Q s2).n + (a #Q s2).n by RFUNCT_2:1
.( # )njava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
end;
s2 is boundedby A2;
then consider d be Real such that
0<d and
: .n|dbySEQ_23;
consider m2 such that end;
A9: d<m2 by SEQ_4: suppose
reconsider m2 as Rational;
A10:lim-s2)= lim s1 - lim s2 by A1,A2,SEQ_2:12
.= 0 by A3;
A11: now
A12: a #Q m2 >= 0 by A4,Th52;
let c be Real;
assume
:>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,XXREAL_0:2;
then a #Q m2 * (a-1)/c*c < c*(m1+1) by A13,XREAL_1:68;
m2*a1 c*m1+A13XCMPLX_18;
then a #Q m2 * (a-1)/(m1+1) < (m1+1)*c/(m1+1) by XREAL_1:74;
then a #Q m2 * (a-1)/(m1+1) < c/(m1+
then
A15: a #Q m2 * (a-1)/A3 Roota by A1,2,;
consider n such that
A16: for m st n<=m holds |.(s1-s2).m -0.|<(m1+ proof
take n;
let m;
>
(-. 0|(+1)byjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
a |>0 yjava.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 37
A17: |.s1.m-s2.m.|<=(m1+1)" by RFUNCT_2:1;
A18: m1+1>=0+1 by NAT_1:13;
then (m1+1) -Root a - 1 <= (java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 8
then
A19: (a #Q m2)*((m1+1) -Root a - 1) <= (a #Q m2)*((a-1)/(m1+1)) by A12,
XREAL_1:64;
A20: a #Q (java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 6
:.#Q(m #(.m|( Q(1m Q(2.)1.|
.=A12 0java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
XCMPLX_1:60
.=|.a #Q (s2.m)*(a #Q (s1.m) - a #Q ..=+ NAT_113java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
.=|.a #Q (s2.m)*((a #Q (s1.m) - a #Q (java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 39
.|.a# s2.|( Qs1)-aQ(.m)/ Q(2.).|by
COMPLEX1:65
.=|.a #Q (s2.m).
m).|
..# s2m.# (s1)a #(.m . A20XCMPLX_160
.|a(.)||. #Q s1.m-s2.m - 1. by,;
A22: s2.m<=|.s2.m.|A15 |.k.>=+ by NAT_113;
reconsider m3 = (m1+1)" as Rational;
:.Q-.m . =0 byCOMPLEX1:java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
A24: a #Q (s1.m-s2.m) <> 0 by A4,Th52;
s1.m -s2.m<=|.s1.m-s2.m.| by ABSVALUE:4;
then s1.m -s2.m <= (m1+1)" by A17,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 java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 38
then
A25: a #Q (s1A17: k=0;
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
then a #Q (s1.m-s2.m) - 1 >= 0 by XREAL_1:48;
hence |.a #Q (s1.m-s2.m) - 1.| <= (m1+1) -Root a - 1 by A25,
ABSVALUE:def 1;
suppose
A28: s1.m-s2.m<0end;
A29: -(s1.m -s2.m)<=|.-(s1.m -s2.m).| by ABSVALUE:4;
|.s1.m-s2.m.| = |.-(s1.m -java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 16
then -(s1.m -s2.m) <= m3 by A17,A29,XXREAL_0:2;
then a #Q (-(s1.m-s2.m)) <= a #Q ;
then a #Q (-(s1.m-s2.
then
A30: a #Q (-(s1.m-s2.m)) - 1 <= (m1+1) -Root a - 1 by XREAL_1:9;
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
|.a # ((s1.m-s2.)) - 1| < (m1+1)-Root - 1 A30,
ABSVALUE:def 1;
a #Q (s1.m-s2.m) <= 1 by A4,A28,Th61;
then
A32: |.a #Q (s1.m-s2.m).| <= 1 by A26,ABSVALUE:def 1;
|.a #Q (-(s1.m-s2.m)) theorem Th48:
then
A33: |.a #Q a Q =java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
(-(s1.m-s2.m)) - 1.| by A32,XREAL_1:64;
|.a #Q (s1.m-s2.A2 java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
.= |.(a #Q (s1.m-s2.m) - 1)*(a #Q (s1.m-s2.m)/a #Q (s1.m-s2.m)).|
by,60
.= |.a #Q (s1.m-s2.m)*(a #Q (s1.m-s2.m) - 1)/a =abyA1,Th21;
.=
.|a# (1..)|*|.a# s1.m-.m)-1/Q (m-.
m).| by COMPLEX1:65
.A1:a=0;
1/a #Q (s1.m-s2.m).|
. suppose
XCMPLX_1:60
. |a #(mjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 72
.= |.a #Q (s1.m-s2 ( | .k.) =0 or(0 | |.)=1"by :4,1java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
COMPLEX1:52
. a >0;
hence |.a #Q (s1.m-s2.m) - 1.| <= (m1+1) -Root a - 1 by A31,A33,
XXREAL_0:2;
end;
end;
A34: a #Q (s2.m) > 0 by A4,Th52;
|.s2.m.|<=m2 by A8,A9,XXREAL_0:2;
then A1:denominator n= byRAT_117;
then a #Q (s2.m) <= a #Q m2 by A4,Th63;
java.lang.StringIndexOutOfBoundsException: Range [10, 7) out of bounds for length 38
A35: |.a #Q (s2.m).| <= a #Q m2 end
|.a #Q (s2.m).| theorem :
then
|.a #Qproof
a - 1) by A27,A23,A35 assume
then |.a #Q (s1.m)A2 =;
XXREAL_0:2;
then |.a #Q (s1.m) - a #Q ( then denominator(p)=numerator(qA1:;
then |.(a #Q s1).m - a #Q (s2.m).| < c by Def5;
.(# s1).m- ( # s2)m| <cby ;
hencethen numeratorp by RAT_117java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
then
A36: ((ajava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
p p)- byTh37
thenlim(a# s1 a#) +a Qs2) 0 +l #Q,java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.= lim a #Q 0implies Q java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
hence thesis by A7,FUNCT_2:63;
end;
theorem Th70:
for s1,s2 being Rational_Sequence, a st s1 is java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 4
convergent & lim s1 = lim >0 impliesa#Qjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
convergent & set dq = denomin qjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
proof
let s1,s2 beA1:dp> byRAT_111;
let a;
assume that
A1: s1 is convergent and
:
A3: assume
:a0
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
A6A11:(#Z )| (dp+dq)>= by Th6;
s1 is bounded by A1;
java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
0<d and
: holds.n| 3java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
m1
:e< :java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
thus
A9: a #Q s2 is convergent by A2,A4,Th69;
reconsiderm1 as Rational
A10: a #Q =(p*)-(a# )| ddq))*Root(R (( # nq-
per cases;
suppose
a>=1;
hence thesis by A1,A2,A3,Lm7 | dp) by A3A1,13,Th25
;
suppose
then a/a<1/a by A4,XREAL_1:74;
then 1<1/a by A4,XCMPLX_1:60;
then
A12: lim 1 Qs1=lim (1a #Q s2 by A1,A2,A3,Lm7;
A13: (1/a) #Q s2 is convergent by A2,A4,Th69;
14:(1a # s1 convergent by ,,Th69java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
then
:(/ #s1-1a) byA13java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
A16: =(denominatorpq*n)-Root( Znumeratorp) Z ,A6A15
A14,13,:java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
.= 0 by A12;
:now
let. Q(+A14;
assume
/a #Q byTh23:;
then c* a #Q m1 > 0 by A10;
then consider n such that
A19: for m st n<=m holds |.((1/a) #Q s1 - (1/a) #Q s2).m-0.|<c*a #Q
m1 by
take n;
let m;
java.lang.StringIndexOutOfBoundsException: Range [15, 12) out of bounds for length 18
then |.((1/a) #Q s1 . #* java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 26
then
A20java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
> > (*) #Q a# p* Q
|.s1.m.|<d by A7;
then
A22: |.s1.m.|+|.s2.m.|<d:>;
|.s1.m+s2.m.|<=|.s1.m.|+|.s2.m.| by COMPLEX1:56;
then |.s1.m+s2.m.|<d+e by A22,XXREAL_0:2;
then |.s1.m+s2.m.|<m1 by A8, (*b)#Q =(denominatorp) Root( # numerator(p) * b #
then
: .(1ms2.m)|< by COMPLEX152java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
-(s1.m+s2.m)<=|.-(s1.m+s2.m).| by ABSVALUE:4;
then -(s1.m+s2.m)< a>0 implies (1/a) #Q p = 1/a #Q p
then
A24: m1-(-(s1.m+s2.m))>0 by XREAL_1:50;
a#Q (s2.m < 0 by A4,Th52;
A26: a #Q (s1.m+s2.m) > 0 by A4,Th52;
|.((1/a) #Q s1).m -((1/a) #Q()a# -p) Th41
# s2.m.|byDef5
.= |.(1. Q- RAT_143
.= |.1/a #Q (s1.m) -(1/a .= /a # p by ,h54java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
.= |.1/a #Q (s1.m) -1/a #Q (s2.m).| by A4,Th57
.= |.(a #Q (s1.m a>&b0 implies(a/b)# a Qp / b #Q p
.= |.(aproof
.= |.a #Q (s1.m) - a #Q (s2.m).|/A1:java.lang.StringIndexOutOfBoundsException: Range [11, 5) out of bounds for length 11
(/ Qp=a(/b) Qp. a #Q p *() #Q p by A1,A2,Th56
.= |.a #Q (s1.m) - a #Q (s2.m)proof
by COMPLEX1:65
.= =(numeratorp/denominator())(umerator(q)/enominator()
.= |.a #Q (s1.m) - a #Q (s2.m).|/(a #Q (s1.m+s2.m)) by A26,
ABSVALUE:def 1;
then
A27: (|.a #Q (s1.m) - a #Q (s2.m).|/a #Q (s1.m+s2.m))*a #Q (s1.m+s2.A2: numerator(p)*numerator(q) = numerator(p*q)*n and
< c*a #Q m1 * a #Q (s1.m+s2.A3:denominatorp*q) p :java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
a #Q (s1.m+s2. then
then
A28: |.a #Q (s1.m) - a reconsider k= asInteger;
XCMPLX_1:87;
# m1*a#Q s1m+s2.)=a#Q m+(1ms2..) by ,Th53;
then cA7:denominator(*q)> 1 by RAT_1:1
XREAL_1:68;
then |.a #Q (s1.m) - a #Q (s2.m).|<c by A28,XXREAL_0 then
then|(a# s1)m-a #Q(.m). <c Def5;
then |.(a #Q A10 a # (*)>0 A8Th52;
|(# )-( Qs2).-0|<cby :;
end;
then ((a #Q s1) - (a #Q s2)) is convergent hence a #Q p #Q q = (denominator(q)) -Root ((denominator(p)) -Root (a #Z
then lim((a #Q s1) - (a #Q s2)) = 0 by A17,SEQ_2:def 7;
then 0 = limnumerator(q)))by
hence
java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
;
definition
let a,b be Real;
assume
A1: a > 0;
func a #R b -> Real means
:Def6:
ex s being a>=1 & p >= 0 implies a #Q p >= 1
a #Q s is convergent & lim a assume that
existence
proof
consider s being Rational_Sequence such that
A2: s is convergent and
A3 lim s = b and
forn holdss.n<byTh67;
take IT=lim a #Q s;
thus thesis by A1,A2,A3,Th69;
end;
hence thesis A4,Th29;
end;
theorem Th71:
a > 0 implies a #R 0 >1&p= a Qp< java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
proof
set s = seq_const 0;
reconsider s as Rational_Sequence;
assume
A1: a > 0;
s. 0;
then
A2: lim s = 0 by SEQ_4:26;
reconsider j
A3: now Th62:
let nbe Natjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
reconsider nn=n as Element of NAT by ORDINAL1
thus a #Q s .n = a #Q (s.nn) by Def5
A3:p> ;
end;
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 then
hence thesis by A1,A2,A4,Def6;
end;
theorem
a > 0 implies a #R 1 = a
proof
set s = seq_const 1;
s as;
s.0 = 1 by SEQ_1:57;
then
s= SEQ_426;
assume
A2: a >
A3:now
let n be Nat;
reconsider nn=n as Element of NAT by ORDINAL1:java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 9 | | |