|
|
|
|
Quelle numeral3.miz
Sprache: Mizar
|
|
:: Rational Numbers, Irrational Roots and Numeral Representations
:: by Rafa{\l} Ziobro
::
:: Received July 2, 2026
:: Copyright (c) 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 4.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/4.0/.
environ
vocabularies ABIAN, NUMBERS, NAT_1, INT_1, FINSEQ_1, ARYTM_3, XXREAL_0,
CARD_1, ARYTM_1, COMPLEX1, RELAT_1, REAL_1, XCMPLX_0, ORDINAL1, ORDINAL4,
NEWTON, POWER, FUNCT_1, CARD_3, RFINSEQ, XBOOLE_0, ABSVALUE, ZFMISC_1,
COMPLEX3, NUMERAL1, AFINSQ_1, JORDAN3, VALUED_0, FUNCOP_1, INT_2,
PYTHTRIP, MOEBIUS1, NAT_3, IRRAT_1, RAT_1, SQUARE_1, NEWTON05;
notations ORDINAL1, XCMPLX_0, XREAL_0, NUMBERS, XXREAL_0, POWER, INT_1, ABIAN,
TARSKI, XBOOLE_0, NAT_D, COMPLEX3, NUMERAL1, AFINSQ_1, VALUED_0,
AFINSQ_2, CARD_1, RELAT_1, VALUED_1, FUNCT_1, RELSET_1, FUNCOP_1,
COMSEQ_3, ABSVALUE, INT_2, IRRAT_1, PYTHTRIP, MOEBIUS1, NEWTON03, RAT_1,
SQUARE_1, NEWTON05;
constructors NAT_D, ABIAN, RELSET_1, COMPLEX3, NUMERAL1, RECDEF_1, AFINSQ_2,
RVSUM_4, PARTFUN3, ABSVALUE, MOEBIUS1, NEWTON03, PYTHTRIP, PEPIN,
NEWTON05;
registrations AFINSQ_1, ABIAN, ORDINAL1, XXREAL_0, XREAL_0, NAT_1, INT_1,
NEWTON, XCMPLX_0, WSIERP_1, POWER, NAT_6, NEWTON01, NEWTON02, NEWTON03,
NEWTON04, NEWTON05, REAL_3, VALUED_0, COMPLEX3, RVSUM_4, RELAT_1,
AFINSQ_2, HILB10_2, FUNCOP_1, FUNCT_1, VALUED_1, MEMBERED, ABSVALUE,
NEWTON06, NUMBER11, PARTFUN3, FOMODEL0, SQUARE_1, MOEBIUS1, RAT_1,
BORSUK_5, IRRAT_1;
requirements REAL, NUMERALS, SUBSET, ARITHM, BOOLE;
equalities XBOOLE_0, ORDINAL1, SQUARE_1, XCMPLX_0;
expansions INT_1, ORDINAL1, FUNCT_1, INT_2, NAT_2, NEWTON03, COMPLEX3,
MOEBIUS1;
theorems INT_2, NAT_1, ABSVALUE, INT_1, NEWTON, XCMPLX_1, XREAL_1, XXREAL_0,
NAT_D, POWER, NUMERAL2, NEWTON03, FUNCT_1, TARSKI, NAT_2, VALUED_1,
COMPLEX3, PRE_FF, NUMERAL1, AFINSQ_1, CARD_1, AFINSQ_2, RVSUM_4,
NUMBER13, REAL_3, RADIX_1, NEWTON06, RING_3, PREPOWER, WSIERP_1,
COMPLEX1, INT_4, NEWTON01, NAT_5, INT_6, NAT_6, PEPIN, PYTHTRIP, NAT_3,
SERIES_4, NEWTON02, NTALGO_1, MOEBIUS1, SQUARE_1, RAT_1, NEWTON05;
begin :: Preliminaries
registration ::: partially present in COMPLEX3, move there
let a be heavy positive Real, n be non zero Nat;
cluster n-root a -> heavy positive;
coherence
proof
A1: a >= 0 & n >= 1 by NAT_1: 14;
a > 1 by COMPLEX3: 1; then
n-root a > n-root 1 by A1,POWER: 17;
hence thesis;
end;
end;
registration ::: move to NEWTON06
let a be Integer, n be Nat;
reduce a|^(n + 1) div a|^n to a;
reducibility
proof
per cases;
suppose a is zero;
hence thesis;
end;
suppose a is non zero; then
reconsider a as non zero Integer;
(a*a|^n) div a|^n = a;
hence thesis by NEWTON: 6;
end;
end;
end;
registration
let a be even Nat;
reduce a/ 2 mod a to a/ 2;
reducibility
proof
per cases;
suppose
a = 0;
hence thesis;
end;
suppose
a <> 0; then
reconsider b = a/ 2 as non zero Nat;
b + b > b + 0 by XREAL_1: 6;
hence thesis;
end;
end;
end;
registration ::: to NEWTON06?
let a be even Nat;
let n be non trivial Nat;
cluster a|^n mod ( 2*a) -> zero;
coherence
proof
reconsider m = n - 1 as non zero Nat;
a|^n mod ( 2*a) = 2*a|^(m + 1)/ 2 mod ( 2*a)
.= 2*(a|^m*a)/ 2 mod ( 2*a) by NEWTON: 6
.= ( 2*a)*(a|^m/ 2) mod ( 2*a);
hence thesis;
end;
end;
registration
let a be odd Nat;
reduce ((a - 1)/ 2) mod a to (a - 1)/ 2;
reducibility
proof
reconsider b = (a + 1)/ 2 as non zero Nat;
(a - 1)/ 2 + b > (a - 1)/ 2 + 0 by XREAL_1: 6;
hence thesis;
end;
let n be non zero Nat;
reduce a|^n mod ( 2*a) to a;
reducibility
proof
reconsider m = n - 1 as Nat;
reconsider b = (a|^m - 1)/ 2 as Nat;
a|^n mod ( 2*a) = a|^(m+ 1) mod ( 2*a)
.= a*a|^m mod ( 2*a) by NEWTON: 6
.= (( 2*a)*b + a) mod ( 2*a)
.= ((( 2*a)*b) mod ( 2*a) + (a mod (a + a))) mod ( 2*a) by NAT_D: 66;
hence thesis;
end;
end;
registration ::: NEWTON06
let a be Nat, b be non trivial Nat;
reduce a mod (a*b) to a;
reducibility;
end;
registration ::: NEWTON06
let a be Nat, b be non trivial Nat;
cluster a div (a*b) -> zero;
coherence;
end;
registration ::: similar present in NEWTON06
let a be Nat, b be Nat;
let c be non zero Nat;
reduce (a mod b) mod (b*c) to a mod b;
reducibility
proof
per cases;
suppose a = 0;
hence thesis;
end;
suppose a <> 0; then
reconsider a as non zero Nat;
per cases;
suppose b = 0;
hence thesis;
end;
suppose b <> 0; then
reconsider b as non zero Nat;
b <= b*c by NEWTON: 33,NAT_1: 14;
hence thesis;
end;
end;
end;
end;
registration
let a be non trivial odd Nat;
reduce ((a + 1)/ 2) mod a to (a + 1)/ 2;
reducibility
proof
reconsider b = (a - 1)/ 2 as non zero Nat;
(a + 1)/ 2 + b > (a + 1)/ 2 + 0 by XREAL_1: 6;
hence thesis;
end;
end;
:: Subsequent integers
theorem NAT162: ::: generalization of NAT_1:62 for integers
for a,b be Integer, n be Nat holds a <= b <= a + n implies
b = a + 0 or ... or b = a + n
proof
let a,b be Integer, n be Nat;
assume a <= b <= a + n; then
A2: a - a <= b - a <= (a + n) - a by XREAL_1: 9; then
reconsider k = b - a as Nat;
b = a + k;
hence thesis by A2;
end;
theorem INT17: ::: kind of INT_1:7
for a,b be Integer holds a <= b <= a + 1 iff b = a or b = a + 1
proof
let a,b be Integer;
A1: a <= b <= a + 1 implies b = a + 0 or ... or b = a + 1 by NAT162;
b = a or b = a + 1 implies a <= b <= a + 1
proof
assume b = a or b = a + 1; then
per cases;
suppose
C1: b = a;
b + 0 < b + 1 by XREAL_1: 6;
hence thesis by C1;
end;
suppose
C1: b = a + 1;
a + 0 < a + 1 by XREAL_1: 6;
hence thesis by C1;
end;
end;
hence thesis by A1;
end;
:: Use of sgn for identifying classes of numbers
registration
let a be non integer Real;
cluster sgn frac a -> weightless positive;
coherence by ABSVALUE:def 2;
end;
registration
let a be non integer Real;
reduce a*(sgn (frac a)) to a;
reducibility
proof
sgn frac a = 1 by ABSVALUE:def 2;
hence thesis;
end;
end;
registration ::: for positive present in NEWTON06
let a be light non negative Real;
reduce frac a to a;
reducibility
proof
a = [\a/] + (frac a) by INT_1: 42;
hence thesis;
end;
end;
theorem A17: :: see ABSVALUE:17
for r be Real holds
r*(sgn r) = |.r.| & r/(sgn r) = |.r.| & r = |.r.|/(sgn r)
proof
let r be Real;
per cases;
suppose r is zero;
hence thesis;
end;
suppose r is positive; then
sgn r = 1 & |.r.| = r by ABSVALUE:def 1,ABSVALUE:def 2;
hence thesis;
end;
suppose
r is negative; then
sgn r = - 1 & |.r.| = -r by ABSVALUE:def 1,ABSVALUE:def 2;
hence thesis;
end;
end;
theorem
for r be Real holds [\|.r.|/] + frac |.r.| = r*(sgn r)
proof
let r be Real;
[\|.r.|/] + frac |.r.| = |.r.| by INT_1: 42
.= r*(sgn r) by A17;
hence thesis;
end;
theorem
for r be heavy Real holds sgn r = sgn [\r/] & sgn r = sgn [/r\]
proof
let r be heavy Real;
per cases;
suppose
r is negative; then
reconsider r as negative Real;
sgn [\r/] = - 1 & sgn [/r\] = - 1 & sgn r = - 1 by ABSVALUE:def 2;
hence thesis;
end;
suppose
r is positive; then
reconsider r as positive Real;
sgn [\r/] = 1 & sgn [/r\] = 1 & sgn r = 1 by ABSVALUE:def 2;
hence thesis;
end;
end;
theorem
for a be Real holds sgn (frac a) = sgn (frac -a)
proof
let a be Real;
per cases;
suppose a is integer;
hence thesis;
end;
suppose not a is integer; then
sgn frac a = 1 & sgn frac -a = 1 by COMPLEX3: 1;
hence thesis;
end;
end;
theorem FL:
for a be Real holds [\a/] + [\-a/] + sgn (frac a) = 0
proof
let a be Real;
per cases;
suppose a is integer; then
reconsider a as Integer;
[\a/] = a & [\-a/] = -a & sgn (frac a) = 0;
hence thesis;
end;
suppose not a is integer; then
reconsider a as non integer Real;
[\a/] < a & [\-a/] < -a by INT_1: 26; then
[\a/] + [\-a/] < a + (-a) by XREAL_1: 8; then
A1: [\a/] + [\-a/] <= - 1 by INT_1: 8;
a - 1 < [\a/] & -a - 1 < [\-a/] by INT_1:def 6; then
(a - 1) + (-a - 1) < [\a/] + [\-a/] by XREAL_1: 8; then
- 2 + 1 <= [\a/] + [\-a/] by INT_1: 7; then
[\a/] + [\-a/] = - 1 by A1,XXREAL_0: 1
.= -sgn (frac a) by COMPLEX3: 1; then
[\a/] + [\-a/] + sgn (frac a) = 0;
hence thesis;
end;
end;
theorem FLM:
for a be non integer Real holds [\a/] + [\-a/] = - 1
proof
let a be non integer Real;
sgn (frac a) = 1 by COMPLEX3: 1; then
[\a/] + [\-a/] + 1 = 0 by FL;
hence thesis;
end;
theorem FAA:
for a be non integer Real holds frac a + (frac (-a)) = 1
proof
let a be non integer Real;
frac a = a - [\a/] & frac (-a) = -a -[\-a/] by INT_1:def 8; then
frac a + (frac (-a)) = -([\a/] + [\-a/])
.= -(- 1) by FLM;
hence thesis;
end;
theorem
for r be Real holds
frac |.r.| = sgn(frac r)*( 1/ 2 + (sgn r)*((frac r) - 1/ 2))
proof
let r be Real;
per cases;
suppose r is integer; then
frac |.r.| = 0 & frac r = 0;
hence thesis;
end;
suppose not r is integer; then
reconsider r as non integer Real;
per cases;
suppose r is positive; then
reconsider r as positive Real;
r = |.r.| & sgn r = 1 & sgn (frac r) = 1 by ABSVALUE:def 2;
hence thesis;
end;
suppose r is negative; then
reconsider r as negative Real;
B2: sgn r = - 1 & sgn (frac r) = 1 by ABSVALUE:def 2;
1/ 2 + (sgn r)*((frac r) - 1/ 2) = 1/ 2 + (- 1)*((frac r) - 1/ 2)
by ABSVALUE:def 2
.= 1 - (frac r)
.= (frac r) + (frac (-r)) - (frac r) by FAA
.= frac |.r.| by ABSVALUE:def 1;
hence thesis by B2;
end;
end;
end;
theorem
for r be Real holds [/r\] = [\r/] + sgn frac r
proof
let r be Real;
per cases;
suppose r is integer; then
reconsider r as integer Real;
[/r\] = [\r/] + sgn (frac r);
hence thesis;
end;
suppose not r is integer; then
reconsider r as non integer Real;
reconsider f = frac r as positive Real;
[/r\] = [\r/] + 1 by INT_1: 34, 41
.= [\r/] + sgn f by ABSVALUE:def 2;
hence thesis;
end;
end;
theorem ::: NAT_D:21, move there
for a,b,c be Integer holds a mod b = (b*c + a) mod b
proof
let a,b,c be Integer;
per cases;
suppose b is zero;
hence thesis;
end;
suppose b is non zero; then
reconsider b as non zero Integer;
(a mod b) = a - b*(a div b) by INT_1:def 10
.= a + b*c - b*((a div b) + c)
.= (a + b*c) - b*((a + b*c) div b) by NAT_D: 61
.= (a + b*c) mod b by INT_1:def 10;
hence thesis;
end;
end;
theorem
for a,b be non zero Nat, c be Nat holds
c mod (a*b) mod b = (c mod b) mod (a*b) by RADIX_1: 3;
theorem FCA:
for a be Real holds [\a/] = -[/-a\]
proof
let a be Real;
per cases;
suppose a is integer; then
[\a/] = a & -(-a) = -[/-a\] by INT_1: 30;
hence thesis;
end;
suppose not a is integer; then
reconsider a as non integer Real;
[\a/] + [\-a/] = - 1 by FLM; then
[\a/] = -([\-a/] + 1) & not [/-a\] = [\-a/] by INT_1: 34;
hence thesis by INT_1: 41;
end;
end;
theorem FCB:
for a be Real holds [/a\] = -[\-a/]
proof
let a be Real;
reconsider b = -a as Real;
[\b/] = -[/-b\] by FCA;
hence thesis;
end;
theorem
for a be weightless negative Real holds [\a/] = - 1 by COMPLEX3: 1;
theorem
for a be weightless positive Real holds [/a\] = 1 by COMPLEX3: 1;
theorem
for a be Real holds frac a = frac (-a) iff 2*a is integer
proof
let a be Real;
per cases;
suppose a is integer; then
frac a = 0 & 0 = frac (-a) & 2*a is integer;
hence thesis;
end;
suppose not a is integer; then
reconsider a as non integer Real;
B1: frac a = frac (-a) implies 2*a is integer
proof
assume frac a = frac (-a); then
(frac a) + (frac a) = 1 by FAA; then
2*[\a/] + 1 = 2*([\a/] + (frac a))
.= 2*a by INT_1: 42;
hence thesis;
end;
2*a is integer implies frac a = frac (-a)
proof
assume
C1: 2*a is integer;
2*a = 2*([\a/] + frac a) by INT_1: 42
.= 2*[\a/] + 2*(frac a); then
2*(frac a) is integer by C1; then
reconsider k = 2*(frac a) as Nat;
frac a < 1 by COMPLEX3: 1; then
k < 2* 1 by XREAL_1: 68; then
C3: 2*(frac a) = 0 or 2*(frac a) = 1 by NAT_1: 23;
frac a = 1/ 2 implies frac a + (frac (-a)) = 1 by FAA;
hence thesis by C3;
end;
hence thesis by B1;
end;
end;
theorem
for a,b be Integer holds a div (-b) = (-a) div b
proof
let a,b be Integer;
(a div (-b)) = (-a) div (-(-b)) by NEWTON06: 35;
hence thesis;
end;
theorem NATD1: :: see NAT_D:1
for a be Real, b be non zero Nat holds (frac (a/b)) * b < b
proof
let a be Real, b be non zero Nat;
frac (a/b) < 1 by COMPLEX3: 1; then
(frac (a/b))*b < 1*b by XREAL_1: 68;
hence thesis;
end;
theorem AMB:
for a,b be Integer st not b divides a holds a mod b + ((-a) mod b) = b
proof
let a,b be Integer;
assume
A1: not b divides a; then
reconsider a as non zero Integer by INT_2: 12;
per cases;
suppose b = 0; then
reconsider b as zero Integer;
a mod b = 0 & ((-a) mod b) = 0;
hence thesis;
end;
suppose b <> 0; then
reconsider b as non zero Integer;
reconsider r = a/b as non integer Real by A1,NUMBER13: 4;
a mod b = b*(frac (a/b)) & -a mod b = b*(frac((-a)/b)) by REAL_3: 6; then
(a mod b) + ((-a) mod b) = b*(frac (a/b)) + b*(frac (-a/b))
.= b*((frac r) + (frac (-r)))
.= b* 1 by FAA;
hence thesis;
end;
end;
theorem MOD1:
for a,b be Integer holds a mod b = -((-a) mod (-b))
proof
let a,b be Integer;
per cases;
suppose
A1: b = 0; then
a mod b = 0
.= -((-a) mod (-b)) by A1;
hence thesis;
end;
suppose
A1: b <> 0; then
a mod b = a - (a div b)*b by INT_1:def 10
.= a - [\ a/b /]*b by INT_1:def 9
.= -(-a) +([\ a/b /]*(-b))
.= (-(-a) + [\((-a)/(-b))/]*(-b)) by XCMPLX_1: 191
.= (-(-a) + ((-a) div (-b))*(-b)) by INT_1:def 9
.= -((-a) - ((-a) div (-b))*(-b))
.= -((-a) mod (-b)) by INT_1:def 10,A1;
hence thesis;
end;
end;
theorem MOD2:
for a,b be Integer holds
a mod (-b) = -((-a) mod b) & (-a) mod b = -(a mod (-b))
proof
let a,b be Integer;
(-a) mod b = - (-(-a) mod (-b)) &
(a mod (-b)) = - ((-a) mod (-(-b))) by MOD1;
hence thesis;
end;
theorem
for a,b be Integer st not b divides a holds a mod b - (a mod (-b)) = b
proof
let a,b be Integer;
assume not b divides a; then
b = a mod b + ((-a) mod b) by AMB
.= a mod b + -(a mod (-b)) by MOD2;
hence thesis;
end;
theorem
for a,b be Real holds
[\a + b/] = [\a/] + [\b/] + [\(frac a) + (frac b)/]
proof
let a,b be Real;
reconsider k = [\a/], l = [\b/] as Integer;
a = k + frac a & b = l + frac b by INT_1: 42; then
[\a + b/] = [\(k + l) + ((frac a) + (frac b))/]
.= (k + l) + [\(frac a) + (frac b)/] by INT_1: 28;
hence thesis;
end;
theorem MUL:
for a,b be Real holds [\a*b/] = [\a/]*[\b/] +
[\ [\a/]*(frac b) + [\b/]*(frac a) + (frac a)*(frac b) /]
proof
let a,b be Real;
reconsider k = [\a/], l = [\b/] as Integer;
a = k + frac a & b = l + frac b by INT_1: 42; then
[\(a * b)/] = [\ (k*l) + (k*(frac b) + l*(frac a) + (frac a)*(frac b))/]
.= (k*l) + [\k*(frac b) + l*(frac a) + (frac a)*(frac b)/] by INT_1: 28;
hence thesis;
end;
theorem
for a be Real, b be Integer holds [\a*b/] = [\a/]*b + [\(frac a)*b/]
proof
let a be Real, b be Integer;
[\a*b/] = [\a/]*[\b/] + [\ [\a/]*(frac b) +
[\b/]*(frac a) + (frac a)*(frac b) /] by MUL
.= [\a/]*b + [\(frac a)*b/];
hence thesis;
end;
:: ceiling - floor relations
CF1:
for a be Real holds [/a\] <= [\a/] + 1
proof
let a be Real;
per cases;
suppose a is integer; then
reconsider a as Integer;
[/a\] <= a + 1 by INT_1:def 7;
hence thesis;
end;
suppose not a is integer;
hence thesis by INT_1: 34,INT_1: 41;
end;
end;
theorem CF2:
for a,b be Real st a <= b holds [/a\] <= [\b/] + 1
proof
let a,b be Real;
assume a <= b; then
A2: [\a/] <= [\b/] & [/a\] <= [/b\] by :: The Differentiable Functions on Normed Linear Spaces
[/b code can be :: version 3.0 or later, or the Creative :: License version 3.0 or later, subject t o the binding:: detailed in file COPYING.interpretation.
2,XXREAL_02;
end;
theorem
for a,b be Real st a <= b holds [\a/] < [\b/] + 1
abejava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
A1: a <= b; then
A2: [/a\] <= [\b/] + 1 ;
per,java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 73
suppose;
definitions TARSKI , ,STRUCT_0;
[\a/] equalities ,RLVECT_1,SUBSET_1 ,STRUCT_0java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
XCMPLX_0XCMPLX_1 ,,,NAT_1,SEQM_3,
;
suppose notLOPBAN_3 , java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 74
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
endjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12
for a c &=java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
(a] //
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
letabbe Real
per cases consider g2be
uppose
take{where yis Pointof S:|x0.| ;
Real
a =0&\/ 0&f a/ =0java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 19
suppose
then
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 36
assume in y is Pointof S|x0.| g};
.= [\[\a/]/b + (frac yand
=[[[a]b] + frac ([\a])+( )b]byINT_1:java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
.[[\\]b]+( ([a]b)+(rac )b/
=[a]b \ ]b a/] 28
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 19
end;
end;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
Xis
frac ([\a
proof
let be Real e zeroNat;
bfrac(//) *\//-\\///)by: 8
. |-r| /$+) 2X;
/]/]X:87;
reconsider c *frac (a]b))asInteger;
A2: c + 1 <= b by setN=y is of :.-.| }
frac java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
A7;
,java.lang.StringIndexOutOfBoundsException: Range [39, 35) out of bounds for length 43
/ b74 java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
c )b java.lang.StringIndexOutOfBoundsException: Range [39, 36) out of bounds for length 40
PLX_1java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
theorem FFP:
be Integer \/ \a]
injava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 23
letjava.lang.StringIndexOutOfBoundsException: Range [19, 17) out of bounds for length 41
b s1.y `
reconsider b end;
java.lang.StringIndexOutOfBoundsException: Range [6, 4) out of bounds for length 53
reconsider frac(/)+ a light
:;
[\a/b/] = [\[\a/]/b/] + [A16 <;
" SEQ_4:3;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
theorem
a ,b java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 66
proof
assume <
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 42
[ab] \/-)]
.= A21 ybeofSst.m |y| /1;
.= [\[\-a/]/k/] java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 52
.= [end
hence byN7
end;henceA25java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
theorem
for a be Real, b be positive Real holds -[\a/-b/] >= [\a/b/]
proof
let a be Real, b be positive Real;
-[\a/-b/] = -[\-(a/b)/] by XCMPLX_1:188
.= [/a/b\] by FCB;
hence thesis by INT_1:34,INT_1:35;
end;
theorem FBC:
for a,b be Real holds
[\a/] <= b <= [/a\] implies [\a/] = [\b/] or [/a\] = [/b\]
proof
let a,b be Real;
assume
A1: [\a/] <= b <= [/a\]; then
A2: [\[\a/]/] <= [\b/] & [/b\] <= [A3: 0g&{ is :|y.|< =N: 1;
thusthesis by A2,;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
suppose
B1: [/b\] = [\b/] + 1;
[\a/] + 1 <= c and
A2,2
[a/+=[\ 1java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 25
end;
suppose
[/b\] < [\A7 java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
basby,34java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
B3 \/ =< \/ 1 by A1,,java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
INT_141
suppose
[\a /\;
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 44
1java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
hence thesisjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
end;
[java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
hence thesis by B334java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
end;
end;
theorem
for
[ \/ /\ /\
java.lang.StringIndexOutOfBoundsException: Range [6, 2) out of bounds for length 7
Realbe java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
A1: [\a/] <= b <= [/a\]; then
:1;
[\a/] [\a/] d ;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
,;
[\ then being objectst xindom seq &seq.=yby FUNCT_1def3;
hence thesis then 0.S} by TARSKI:ef 1;
endjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
/\ /]java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
hence thesis non-zeroiff being Nat seqn>.java.lang.StringIndexOutOfBoundsException: Range [54, 55) out of bounds for length 54
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
then xx>S
\/bc/ \
proof
,b,java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
per caseslet a be Real_Sequence
suppose b = 0 or c = 0;Def2
a/(b*c
;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
suppose
B1:
iderb nonzero ;
reconsider c as positive Integer by B1;
[\a
.= [\[ proof
hence thesis;
end;
end;
eorem
forA3 for n being Nat holds S2.n = a.n * S.n;
holds
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
let a java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
-c in NAT:ef3java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
reconsider java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 11
[\[\-a/b/]/(-c)/] = [ java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 46
.= [\(-a)/(b*k)/] by N227
. [-)(bc)/java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
=[a(*) XCMPLX_1191;
s;
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 12
a be java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 47
[\a
proof
let a be
assume
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
0 = [\a/b/] + [\-a/b/ )
.= java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 5
reconsider x = a/b as =*. SEQ_1java.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
=b87java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
hence thesis=r))(). java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 58
endjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rseq#=#rseq#sjava.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
be
[\a/bjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [20, 4) out of bounds for length 44
\//+\]+f(/)FL
+ sgnf ab)
java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
end;
:: Divisibility
:: version of PRE_FF:5, see NAT_2:27
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
let a,b be let beReal_Sequencejava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
=\/]&[// c \\b/c]&
(*c \a/(*)]byINT_1:def 9;
N227java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
end;
:
for a be 63
proofrseq1 java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 72
let a bejava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 35
a b ( c+*a cjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
a mod (b*c) + b* .=(rseq1.n+-rsen-)java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 44
b INT_159;
b)
= a mod b + b*((a div b) - c*(a .())())
.= a mod b + b*((a div b) java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
.= atheoremjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
hence thesis;
end;
theorem
for a be Nat, now
a=( )+b((*)
proof
letabeNatbbenonNatjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
=#.(#seq2.
=( *a bc)by:java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
ce ;
end;
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
for a be Integer, b be java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 5
(:
let benon Nat ,l be Nat;
st<m|rseqg1.< :6;
ABCjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
NatforNat= java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 61
theorem A113java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
,n ,beholdsmod^ |(divb^)
proof
, b be zero Nat;
a = (a mod b|^n) + (b|^n)*(a div b|^nA7 +0|..|rby,4,java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
|.*.mS. java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
olds b( )=a^)|k
proof
b,kNatjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
a div (b|^n*bt =byXXREAL_0;
hence thesis by NEWTON
end;
ankbeNat nonNat
b|^n*((aA17|..mseq.|r((||)def;
proof
letnkbe benon java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
|nk*a ^n+)+a ^n+)java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
a = b|^java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 4
(mod|n java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
b
.= b|^n*(ajava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 26
.= b|^n*((a div =a ;
hence thesis;
end;
theorem
be holds
a a |..|rbyA348java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
proof
java.lang.StringIndexOutOfBoundsException: Range [20, 7) out of bounds for length 40
( n be Nat stmbeNat
|^n) + (a b|) |)|n-(b^)
byproof
b|^n*((a p
( p(||+ ,java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 39
A9 for be Natstn1<m |..
by XCMPLX_1:5;
hence thesis;
end;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
for a,n <;
(a div b|^n) - (n1<=n1+n2 by NAT_1
((a mod b|^(n+kthen
ank be Nat java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
a ^ -a |n+)*|^=
(b|^n*((a div b|^n)-(a <|m| <|seqg2| COMPLEX1,:java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
db^(+k)) -( mod b|n)div |n y RMD;
hence ;
end;
theorem
for =.m.-rseqm-m*-*g2|by 15
1))*| java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
(a mod b|^(n + 1) -.|..(+mg2. 3
theorem
,
a ^+)b| java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
proof
let a,n be Nat, b be non java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 8
amod |(n1)divb^(n +1)=( mod b|( +1)div b^*b)
by .=p by A587
:5;
assumenot then
(( modb^( 1)) div b^)div >= b div b by NAT_2:;
hence contradiction by A1;
end;
forjava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
(a mod b| ;
b|^n*((a div b|^n njava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
proof.seqn java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Range [11, 4) out of bounds for length 38
a ^ java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
(java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 5
^+) a^)java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
.= b|^n*(java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 10
.= b|^n*( Sjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
hence =;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
theorem DMK
for a,n,k be Nat, b X java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 25
( b|( +k)-( mod b| java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
b|^n*((a div b|^n) - b|^k*(a div b|^(n + k)))
proof
,,kNat b Natjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
(a mod b|^n) = a - b|^n*(a div
(a mod b|^(n + k)) = a - b|^(A4 0p
(mod |( ) a ^)java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
b|^n*(a div b|^n)<;
.= b|^n*(a div b|^n) - b|^n* ||.(seq.m)-(seq.k).||=||.r-m-k.||.r-(seq.)|
.= ||by
hence thesis;
end;
theorem
for a,n,k be Nat, b be non
(end;
proof
let for r bRealst0r& forn n(/nr)
A1java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
(a mod b|^(n+k)) - (a
b|^k*
.= b|^nexbe *..|
.= b| p|
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
end;
theorem DAS:
a,k bezero
bby,A5java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 38
proof
let a,n,:pp java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
(a mod b|^(n+k)) - (A8 "3
b|^n*((a div b|^n) - 1(+)1 XREAL_1java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
hence thesis;
end;
theorem
for
(^n)-( ^) ^ java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
proof
let a,n,k be Nat, b be non zero 1/(m+)pp by,XREAL_0:;
|^ divides ( mod b^( k) - ( |^)by DAS;
thesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
end;:
theorem
for a,n,java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 7
a assum
b^+^*a b|)
proof
let a,n,k be Nat, b be non proof
a mod b|^A6 |x0|+ ||+..|,
mod^ b^ *div|n 2java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
hence thesis;
theorem DHS:
for a,b,thenbe
proof
let a,b,n be Nat consider be that
per cases;
suppose b = 0; then
reconsider b as zero Nat;
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
suppose n let
a mod b|^n = a mod 1;
hence thesis;
end;
suppose n <> 0;
0java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
s;
end;
;
java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
per cases byr
b ;
hence thesis;
end;
suppose b >java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
reconsider b as non >0Sdef;
assume
A1: not thesis;
a mod b|^n < b|^n by NAT_D:1; then
(a n n=njava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
mod ^)mod | ab|( 1) b^ A124then
hencethesisbyA2java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
;
end;
end;
end;
let a,b,n be Nat;
cluster (a mod b|^(n + 1)) Sby
coherence
proof
a henceis zerobyjava.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 23
hence thesis;
end;
end;
theorem
for a be Nat, b be Nat holdsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
letconsider be S that
v|2 (*b :1
. adivb bby NAT_2:;
hence thesis;
end;
theorem
for a be Nat, b be non trivial Nat holds
(a div b) = ((A3:lim=0S by ,Th20;
proof
s1is convergent A2,;then
( b^)=a -b|^*adiv b|1 MD
a div b = ((a div hence thesis;
hence thesis;
end;
theorem
for a be Nat, b be non trivial Nat ofSstz< .java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
leta be0-onvergent -zero Real_Sequence;
let a be Nat,A1:z< 0.;
(a mod b|^2) = a - b|^2*(a div
a div b|^2 = (( .n>0 5;
hence thesis n*=0.by;
he A1,:;
theorem
for a,n be Nat, bA3
(a mod b|^(n + 1))-java.lang.StringIndexOutOfBoundsException: Range [23, 10) out of bounds for length 10
((a mod b|
theorem
for a be Nat, A6: ||.z.||+1 >by:8java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
nst<|n
A687java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
let a be Nat, >
reconsider d = log (ba a
reconsider c = [/d\] as Integer;
:b> =/\ def, ;
A2: b to_power d <= reconsider n as Nat;
a + 0 < a + 1 by java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 11
A3: a < b to_power
per;
c <= 0; then
b to_power c <=. ..m*.. d 1
a < b to_power 0 by A3,XXREAL_0...*|.| = || A1064java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
henceazjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
suppose
c forr of rin rinthe S the
I:;
reconsiderjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
a < b |^c java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 44
hence thesis;
end;
end;
reserve sequenceS
for areservex0 forPoint S;
ex n be Nat st b
clust ;
let a,
reconsider c = log (b,a) as Real;
A1 1
b to_power c > 1 by java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 6
c >= 0; java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 0
[\java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 37
reconsider d = [\c/] as Nat;
d <= c & c < d + 1 by INT_1:def 6,INT_1:29; then
b to_power d <= b to_power c < b to_power (d + 1) by POWER:39,PRE_FF:8,A1;
hence thesis;
end;
begin :: Some registrations for (X)FinSequences
registration ::: AFINSQ_1
let n,k be Nat;
let f be (n+k)-element complex-valued XFinSequence;
cluster (f|n)^<%0%> -> complex-valued;
coherence;
end;
registration ::: AFINSQ_1
let n be Nat;
(+1--;
reduce (f|n)^<%f.n%> to f;
reducibility
:Def5
(|)<.> = CARD_1def java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
hence thesis by AFINSQ_1:56;
end;
S,java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
registration ::: AFINSQ_1
let k be Complex, f be complex-valued XFinSequence;
cluster f^<%k%> -> complex-A1 f ;
;
end;
registration ::: AFINSQ_1
let m,n be
let f be m-element D-valued XFinSequence,
g be n-element NAT12;
(g| fjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
reducibility
roof
A0: len ( end;
A0a: m + < +n :;
A1: len ((f^g) | m) = m by CARD_1:def 7
.= len f by CARD_1:def 7;
for k k=(^)|).
proof
let k java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 8
B1: k end
dom f = m by CARD_1:def
(( RestFunc ST S,java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
.= f.k by B1,java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 7
hence thesis;
end;
hence thesis by A1;
end;
end;
theoremjava.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
n <i(n-- )^k>. java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
> java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
,1java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
suppose
n > i; then
len (n --> 0) > i; then
( - )<k%).i =( ->0.i by AFINSQ_1:51
.= 0;
hence thesis;
end;
suppose
n < i; then
>n INT_1;then
idefpredN,Point ofS means 2<>0S&|.2| (1(11
not i in) .2|*| /$ |)<)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
hencepjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 12
holds
f = (P
proof
t,f (+)element complexvaluedXFinSequencejava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
reconsider g = (f|n)^< end;
-> )<fn>
as (n+1)-element complex-valued java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 11
"by3java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
for i /n1)</"76java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
proof
t
B1: i in dom f;
;
suppose
C1: i = n;
i g+h ,B1
g+) i+.by ;
hence thesis by C1;
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
C1: i <> n;
i in Segm (n + 1) by CARD_1:def 7,B1; then
i
i <= n by INT_1:7; then
.byNjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 37
i in Segm n by NAT_1by A15,ef4;
i in dom (n --> 0) & s is nonzero A8,Th7;
C5: |..|)#(/ & (||"()Rs)=.java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
.= f.i;
(- )= fn : ;
( - )<.n)=(->)i&(|)<0>. n.
C3AFINSQ_1 java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
C6:gi=f. &h.=0 by C5java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
i in dom (g + h) by CARD_1:def 7,A1 |s.|<0 NORMSP_0;
(g + h). ...
hence thesis by ;
end;
end;
hence thesis by CARD_1:def 7,A1;
end;
registration
let n be Nat, f be (n+1)-element complex-valued XFinSequence;
reduce ((f|n)^<%0%>) + ((n --> 0)^<%f.n%>) to f;
reducibility by RXF;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
begin :: Digits and Values
egistration
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 46
let b be Nat;
(b) >
coherence
proof
consider by A8,18,A20;
A1 end;
xi f.*b^)&f)=x : 1;
for
i
;
x.i = (f.i)*(b|^i) by let s be (0.S)-convergen java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
hence A24 s s .;
end; then
x = f by A1;
hence java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 41
:z . |z| |.|
end;
registration
let n be Nat, b be nonA28 for mbeNat <m |s-..|<d ,26,
reduce value (java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 15
reducibility NEWTON03def1,NUMERAL15;
end;
theorem ND0:
for nkbe Nat benon trivialNatholdsdigits(,)k<b
proof
let n,be Nat, be non trivialNat;
A1: b > 1 by NEWTON03:def 1;
reconsider x = digits (n,b) as java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 23
per cases;
suppose
=0;
x =: m<0S byTh7,23;
|..m| >0by NORMSP_0:ef5
end;
suppose
B1: n <> 0; then
reconsider n as non zero Nat;
per cases;
suppose k indomx;
hence thesis by A1,B1,NUMERAL1:def 2;
end;
suppose
not |(|sm|)*R.s.).| NORMSP_1d 1
hence thesis FUNCT_1:def 2
nd;
end;
end;
theorem. | (|s||"#(/s)m ..| by :;
for bnbe, f,g n-lement XFinSequenceof NATholds
value ;
proof
let b,n be Nat, f,g be |.|"#(/s);
be ofNATsuch
A1: (dom p = dom (f + g) &
for i be Nat
value ((f + g),b) = Sum p by NUMERAL1:def 1;
considerp1 beXFinSequence NATsuchthat
A2: (dom p1 = dom f & (*)is lim(/s)=0T
value (f,b) = Sum p1 by NUMERAL1:def 1
consider p2 be XFinSequence of NAT such that
:(p2= Nati h p2 (^) java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
value (g,b) = Sum p2 by now
A4 p java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
=n&dom g n dom f + )=n A1,,,:def 7;
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 69
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 70
reconsider p2 *).by
:(+ dom \p2 :java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 15
proof
forkbestindomp p.= ( .java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
let/. ,java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 40
B1: k in dom p;
B3: p.k = (f + then
by B1,1A2A,A4;
k=( )*|byA
.= (fthen
=k+. java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
hence thesis by B1,A4,A5,VALUED_1:def then lim ( ||.s.|| ) = ||.0.S.|| by A5,LOPBAN141
end;
hence thesis by A4,A5;
end;
A2A3R:
end;
theorem VFN:
for b,k,n be Nat, f be kreserve RR1,2 S,;
value f^%%,)=value f)+n*b|k
proof
:
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 64
beofNAT
A1: (dom g1 = dom g & =h1*-h2*java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
g1.i = (g.i)*(b|^i)) let seq sequence S;
of such
A2: (dom f1 = dom f & for i be Nat st java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 37
. fi*b|) (,b=Sumjava.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 69
:=+ ,:;
A5: k + 0 < k + 1 by XREAL_1:6; then
A6: dom (g1A1 seq c= dom h1 /\ dom h2;
A7: g1|k = f1
for i be byNFCONT_112java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
proof java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
let i be Nat such that
i in ;
k + 0 < k + 1 by XREAL_1:6; then
let h be ofS,;
etseq S;
.= be;
..iC1java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
hence thesis by C1,A3,FUNCT_1:49;
end;
hence thesis by A6;
end;
g1.k = g.k*b|^k is_continuous_in in f s1 S
.= n*b|^k; then
g1 = (f1^<%n*b|^k%>) by A7,A1,CARD_1:def 7,AFINSQ_1:56; then
value (g,b) = Sum f1 + Sum <%n*b|^k%> by A1,AFINSQ_2:55
.= value (f,b) + n*b|^k by A2;
hence thesis;
end;
theorem
for b,k be Nat, f be k-element XFinSequence of NAT holds
value ((f^<%0%>),b) = value (f,b)
proof
let b,k be Nat, f be k-element XFinSequence of NAT;
value ((f^<%0%>),b) = 0*b|^k + value (f,b) by VFN;
hence thesis;
end;
theorem KBN:
for k,n,b be Nat holds value(<%n,k%>,b) = k*b + n
proof
let k,n,b be Nat;
consider x be XFinSequence of NAT such that
A2: (dom x = dom <%n,k%> & for i be Nat st i in dom x
holds x.i = (<%n,k%>.i)*(b|^i)) & value(<%n,k%>,b) = Sum x
by NUMERAL1:def 1;
A3: dom x = 2 & dom <%n,k%> = 2 & <%n,k%>.0 = n & <%n,k%>.1 = k
by A2,AFINSQ_1:38;
A4: dom x = {0,1} by A2,AFINSQ_1:38,CARD_1:50;
A5: x.0 = n*(1*b|^0)
proof
0 in dom x by A4,TARSKI:def 2; then
x.0 = (<%n,k%>.0)*(b|^0) by A2;
hence thesis;
end;
x.1 = k*(b|^1)
proof
1 in dom x by A4,TARSKI:def 2; then
x.1 = (<%n,k%>.1)*(b|^1) by A2;
hence thesis;
end; then
x = <%n,k*b%> by A3,A5,AFINSQ_1:38;
hence thesis by A2,AFINSQ_2:54;
end;
theorem
for k,n be Nat, b be Nat holds value ((k --> 0)^<%n%>,b) = n*b|^k
proof
let k,n be Nat, b be Nat;
consider x be XFinSequence of NAT such that
A2: (dom x = dom ((k --> 0)^<%n%>) & for i be Nat st i in dom x
holds x.i = ((k --> 0)^<%n%>).i*(b|^i)) & value(((k --> 0)^<%n%>),b) =
Sum x by NUMERAL1:def 1;
A3: dom x = k + 1 & dom ((k --> 0)^<%n%>) = k + 1 by A2,CARD_1:def 7; then
reconsider x as (k+1)-element XFinSequence of NAT by CARD_1:def 7;
A4: k + 0 < k + 1 by XREAL_1:6;
A5: ((k --> 0)^<%n%>).k = n;
A6: for i be Nat st i in dom (x|k) holds (x|k).i = (k --> 0).i
proof
let i be Nat such that
B1: i in dom (x|k);
dom (x|k) = k by CARD_1:def 7; then
B2: i < k by B1,AFINSQ_1:86;
B3: (x|k).i = x.i & i in dom x by AFINSQ_1:53,A3,A4,B1; then
x.i = ((k --> 0)^<%n%>).i*(b|^i) by A2 .= 0*(b|^i) by Th23,B2;
hence thesis by B3;
end;
A7: x = (x|k)^<%x.k%>;
A8: x|k = k --> 0 by A6,CARD_1:def 7;
Sum x = Sum (x|k) + Sum <%x.k%> by A7,AFINSQ_2:55
.= 0*k + x.k by A8
.= n*b|^k by A2,A3,A4,A5,AFINSQ_1:86;
hence thesis by A2;
end;
theorem
for k,m,n be Nat, b be Nat holds value (<%n,m,k%>,b) = k*b|^2 + m*b + n
proof
let k,m,n be Nat, b be Nat;
reconsider f = <%n,m%> as 2-element XFinSequence of NAT;
<%n,m,k%> = f^<%k%> by AFINSQ_1:37; then
value (<%n,m,k%>,b) = k*b|^2 + value (<%n,m%>,b) by VFN
= |2 +(*+ KBN
hence;
end;
theorem
bnonzeroNat, XFinSequenceofNAT
value (f,b) = 0 implies f is empty-yielding
proof
let b be non zero Nat, f be XFinSequence /s1&java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 40
assume
A1: value (,)=0;
considerlet s2 besequence ofSsuch that
A2: (dom x = dom f & for i be Nat stA4:s2 is convergent&lim 2x0;
;
for k be Nat st ofNATn= s2.=0;
proof
assume not thesis; then
consider then consider N of NATsuch that
B1: k in dom x & f.k <> 0;
B2: x.k = (fproof
reconsider x as natural-valued XFinSequence;
Sum x >= x. def3;
hence contradiction by A1,A2,B2,B1;
end;
hence thesis by A2;
end;
java.lang.StringIndexOutOfBoundsException: Range [8, 6) out of bounds for length 15
n Nat (, %> n java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
beNat be Natjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
: def ;
assume
A2: digits (n,b) = Aend;
A3: len (digits (n,b)) = 1 & (digitsA11 /(\)is convergent;
per cases;;
suppose
;
hence thesis;
end;
suppose
n <> 0; then
reconsider n as non zero Nat;
0 in dom <%n%> by M1 NAT ORDINAL1: 12;
hence thesis by A1,A2,A3,NUMERAL1:def 2;
end;
end;
theorem
for n be Nat, b be non trivial Nat holds
n java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
proof
let n be Nat, b be non trivial Nat;
proof
assume
A2 s2*F.<x0
A3: [,F.F.k+) ;
A4: len digits (n,b) = 1 by A2,XXREAL_0:1;
A5: (.k+)<x0;
NAT
A6: (dom x = dom (digits(n,b)) & for i be Nat end
xi (igits(,).i)(|i)&((b,)=
Sum x forn holdsPn NAT_1s 2A43A);
reconsider f = x as 1-element complex-valued XFinSequence
by A2,A3,XXREAL_0:1,A6,CARD_1:def 7;
n = Sum (x|dom x) then
= .by A4,,:8
.= A46: now
.= (digits (n,b)).0*1 by NEWTON:4; then
digits (n,b) = being
hence contradiction by A1,Th26;
end;
theorem NMB:
for n be Nat, b be non trivial Nat holds (digits (n,b)).0 = n mod b
proof
let n be Nat, b be non trivial Nat;
n mod b = (b*value(mid(digits(n,b),2,len(digits(n,b))),b) +
b 1,19
.= (digits (n,bnow
hence thesis by ND0,NAT_D:24;
end;
theorem
for n be Nat, b be non trivial.=by
div middjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 58
proof
letnbeNat nonjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 39
(n div b)*b + (n mod b) = n A49,SEQM_31;
idnb,,digitsn,),)+
digitsnb.by,19
.=then|..s2.m)-f.|<A52:;
hence thesis by XCMPLX_1:5;
end;
theorem
for a be Nat, b be non trivial Nat, c h|.f/s2.-f|pjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
( ab,) c djava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 68
theorem
for a be Nat, b be non trivial Nat, n be non
(:
for ,2 holdsR1 isRestFuncof S,&R1-ofST
begin :: On Integer Numbers
registration ::: to SQUARE_1
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
a2 toajava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
bySQUARE_1:;
reduce (sqrt a)^2 to a;
reducibilityby:2java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
reduce sqrt a)|2 to ;
proof(|h|"(#R1*) . (|h|"))R2*) .
(sqrt a)|^2 = (sqrt a)^by ,;
end;
reduce (sqrt a)*(sqrt a) to a;
reducibility
proof
(sqrt a)*(sqrt a) = (sqrt a)assumeA7: h is non-zero
;
end;
end;
registration let a java.lang.StringIndexOutOfBoundsException: Range [73, 74) out of bounds for length 73
cluster a / (a gcd b) -> natural; ::: to NEWTON03
end Def5A7;
registration let a be Nat, =0. by :13;
reduce a*b gcd a to a;
reducibility
proof
a R1- is total yA1,VFUNCT_1:;
hencethesisjava.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
end;
end;
theorem
for a be java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 10
a/(b gcd a), b/(a gcd a/(b gcd a), b/(a gcd
proof
let a be Integer, b be non zero Integer;
consider k,l be Integer such that
A1: a = (a gcd b)*k & b = (a gcd b)*l & k,l java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 41
k = a/(a gcd b) & l = b/(a gcd b) by A1,XCMPLX_1:89;
hence thesis by A1;
;
theorem Th2:
for a, r(#)R is total by A1,VFUNCT_1:34;
not b is integer
proof
let a
assume
A1: (a+1)|^n let ST
assume let f bePartFunc S,;
then reconsider b as Integer;
per cases;
suppose b >= 0; then
:3;
then st c &L forxbe PointofS st x holdsf. /.x0 .
,EWTON0241;then
b >nd;
hence contradiction by A1,NEWTON02:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end;
suppose b <0;
-b in NAT bePointofS;
reconsider c = -b as Nat;
B1 |n-|n12;then
c > a by A1,NEWTON02:41; then
c >= a+1 by INT_1:7;
hence contradiction by A1,B1,NEWTON02:41;
end;
end;
theorem FLN:
for a be non integer Real holds [\a(,) java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 69
proof
let a be non integer Real;
A1:a \/+f a \] -)by42;
(a :java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
hence thesis by A1;
end;
registration
integer ;
\]- java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 48
coherence
proof
[\a/] + A5 xin .-/ LB(-)
hence thesis;
end;
theorem
for a be Real holds [\a/] + [\-a/] is weightless
proof
let a be Real;
per cases;
suppose a is integer; then
-[\a/] = [\-a/];
hence thesis;
;
suppose
a is non integer;
hence per cases
end;
end;
begin :: On Rational Numbers
java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
k integer
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
|.a.| < 1;
hence thesis by COMPLEX3:def 2;
end;
registration
cluster A14: {y where y is Point of S: ||.y - x0 .|| < g} c= N0 by java.lang.StringIndexOutOfBoundsException: Range [38, 72) out of bounds for length 38
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
theorem APB:
for a,b be non zero Nat holds|.z.|<(01* A13,:87;
proof
a be zero ;
A1: numerator (a/b) = (a/b)*( ex r be Real_Sequence stforn Element of NAT holds rn
denominator(a/ = byRAT_1d3
(a/b)*(denominator (a/b)) <= (a/b)*b java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 40
hence thesis by A1,XCMPLX_1:87,RAT_1:def 3;
;
theorem
for a be Rational holds denominator denominator a = 1 by NAT_2:def 1;
theorem
for a be Rational holds denominator numerator a = 1 by NAT_2:def 1;
theorem
for a be non trivial Nat, b, then
adivides b &a divides c implies
denominator (/c <c& numerator (/) <b
proof
let a be non trivial Natthen
assume
A1: a divides b & a divides c; then
b/a is integer by NEWTON05:1; then
reconsider x = b/a as non zero Nat;
c =|rnz0.| java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 49
n Nat;
A2: denominator (x/ . ./n1.*|.| NORMSP_1djava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
A4: b/c = (x/y) by XCMPLX_1:91;
a*x > 1*x & a*y > 1*y by XREAL_1:68,NEWTON03:def 1; then
b > x & c > y by XCMPLX_1:87;
hence thesis by A2,A4,XXREAL_0:2;
end;
registration
let a be Rational;
cluster (denominator a) gcd (numerator considerr
proof
denominator a, numerator a are_coprime by WSIERP_1ris
hence thesis;
end;
theorem
for a be Integer, b be non zero Integer holds
letnbeNatjava.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
proof
let a be Integer, b be nonthenrnz=0Sby A21
numerator (b *(/)( a) RAT_1def4
.= b*(henceby A19java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
.= a*denominator (a/b java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
A2: numerator (s)n (.|*(|s|)#R*). )java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 75
) |z| (|..|)#R/). yd
(/) b by:def;
hence thesis by A2,INT_2:25;
| (|s|"((/s)n java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 58
theorem
for a be Integer, b be non zero Nat .z z |.|*(|s|")*).-|..|()R
denominator (a/b) = b
proofL .z ..|(|..|()R1*)|.|"#Rs
let a be Integer, b be non zero Nat;
assume a,b are_coprime; then
;
hence thesis;
end;
theorem
for a be non zero light Rational holds
not denominator a dividesz by;
:|.|")(#)(Rs convergent (.."((/
let
|.(numerator a)/(denominator f ofT
|.numerator a.|/|.denominator a.| < 1 by Zbe
|.numerator a.| <
hence thesis by INT_2:16,NAT_D:7 thus Zimplies c f&forx st
Zfis_differentiable_in
theorem NDD: :: see REAL_3:3
for a be Rational holds java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 29
proof
let a be Rational;
reconsider x = numerator a as Integer;
|Z is_differentiable_injava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
[\a/] = [\(numerator a)/(denominator a)/]
A6 ,Rfor S stxin f/x(|Z/=L
ncethesis;
end;
assume that
for a be Rational holds
frac a = ((numerator a) mod (denominator a))/(denominator a)
proof
let a be Rational;
[\a/] + frac a = (numerator a)/(denominator a) by INT_1
.= (((numerator a) divA12:x0 inZjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
((numerator a) mod (denominator a)))/(denominator a) by INT_1:59
.= ((numerator a) div (denominator a))*(denominator a)/(denominator a) +
((numerator a) mod (denominator a))/(denominator a)
rator a) mod
(denominator a))/(denominator a) by XCMPLX_1:89
.= [\a/] + (((numerator a) mod (denominator a))/A15exstjava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 72
hence thesis;
end;
theorem FRD:
for a be Rational holds
(rac )*enominatora numerator a (denominator )
proof
let a be Rational;
(frac a)*(denominator a) =
((numerator a) mod (denominator a))/(denominator a)*(denominator a)
by NFD;
hence thesis by XCMPLX_1:87;
, that
registration
let a be Rational;
cluster frac a -> rational;
coherence
per cases;
suppose a is integer;
hence thesis;
end;
suppose a is non integer; then
reconsider a as non integer Rational;
reconsider b = -a as non integer Rational;
A1: (frac a) + (frac b) = 1 by NEWTON06:10;
frac =(numerator a)mod( a)/denominator)
frac b = ((numerator b) mod (java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 19
hence thesis by A1;
end;
end;
cluster (frac a)*(denominator a) -> natural;
coherence
proof
(frac a)*(denominator a)exL, st for xbe Point of stx Nholds(|Y/x(|Y/xL(java.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74
hence thesis;
take N;
end;
theorem
for a be Rational holds
numerator (frac a), denominator (frac a) are_coprime
by: 1
theorem
for a be Rational holds
letX setjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
proof
a;
numerator (frac a) in NAT f$java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
reconsider x = numerator (frac a) as Nat;
frac a < 1 by COMPLEX3:1;
hence thesis by NAT_D:24,RAT_1:35;
end
theorem NMD beof;
for a be Rational holds
(numerator a) mod (denominator a), java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 17
proof
a beRational;
1 = (numerator a) gcd (denominator a) by NAT_2:def 1
.= ((numeratorhencethesis A6A8,:1;
hence thesis;
end;
theorem FRA:
for a be Rational holds denominator (frac a) = java.lang.StringIndexOutOfBoundsException: Range [0, 60) out of bounds for length 0
proof
a ;
A2: frac a = ((numerator a) mod (denominator a))/denominator a &
(-a)))/(enominator (-)
by NFD;
A3: (umerator) mod (denominator a, denominator a are_coprime &
(numerator (-a)) mod (denominator (-a)), denominator (-a) are_coprime
by NMD;
denominator (frac (-a)) = denominator (-a) div (denominator (-a) gcd
((numerator (-a)) mod (denominator (-a)))) by A2,RING_3:15
.= (denominator a) div ((denominator a) gcd ((numerator a) mod
A1: Z is and
.= denominator (((numeratorA2:Zc fjava.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
byRING_3:15
.= denominator (frac a) by NFD;
)=hn PARTFUN1def 6
end;
:
for a be Rational holds denominator aA::def12;
proof
eta ;
per cases;
suppose
tive;then
reconsider a as non negative Rational;
reconsider x = numerator a mod denominator a as Nat;
A2: (numerator a) mod (denominator a), denominator a are_coprime by NMD;
frac a = ((numerator a) mod (denominator a))/(denominator a) by NFD; then
denominator (frac a) = (denominator a) div 1 by A2,RING_3:15;
hence thesis;
(..|"(#(*).0=0.Tby;
hence l (||h|)#(*) 0. A10,;
a is negative; then
reconsider b = -a as positive Rational;
reconsider x = numerator b mod denominator b as Nat;
A2:numeratorb denominator , denominator b by NMD;
frac b = ((numerator b) mod (denominator b))/(denominator b) by NFD; then
A3: denominator (frac b) = (denominator b) div 1 by A2,RING_3:15;
denominator a = denominator -a &
( a) = denominator (frac -a) by RAT_1:43,FRA;
hence thesis by A3;
end;
end;
theorem
for a be Rational, b be Integer holds denominator (a + b) = denominator a
proof
be,b ;
denominator (a + b) = denominator:now
.= denominator (frac x0 Point of java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
.= denominator a by DF;
hence thesis;
end;
theorem
for a be negative non integer Rational holds
frac a = 1 - ((numerator (-a)) mod (denominator a))/(denominator java.lang.StringIndexOutOfBoundsException: Range [0, 70) out of bounds for length 26
proof
let a be negative non integer Rational; =.T;
A1: denominator a = denominator (-a) by RAT_1:43;
a f(a) 1byNEWTON06: then
frac a = 1 - frac (-a)
.= 1 - ((numerator (-a)) mod (denominator (-a)))/(denominator (-a)) by NFD;
hence thesis by A1;
end;
theorem R144 . 0.T + 0. byRLVECT_14
for a be positive Rational holds numerator a = denominator (a") &
denominator a = numerator (a")
proof
henhence is_differentiable_inx0 byA17
a" = 1/a;
hence thesis by RAT_1:44;
end;
registration
let a be positive Nat;
cluster numerator (a") -> weightless positive;
coherence
proof
numerator (a"A:x0 nZjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
hence thesis;
end;
end;
registration
let a be positive Nat;
reduce denominator (a") to a;
reducibility
proof
denominator (a") = numerator A23forxbe of st xin holds /x - /x0=L(-x0) /.(-
hence thesis;
end;
end;
theorem
A24: R/.(x-x0) =R.(x-x0) by A4,PARTFUN1:def 6
(numerator a)*(numerator (a")) = (denominator a)*(java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 12
proof
let positive Rational;
numerator .r rby A2,A20
hence thesis;
end;
theorem ABI:
, be
(numerator (a*b))/(denominator (a*b)) =
minator a)(enominator b)
proof
let bbe Rational
((numerator a)*(numerator b))/((denominator a)*(denominatorthus(`Z/.0 =f,x0) by A19,A20,Def9
((numerator a)/(denominator a) .java.lang.StringIndexOutOfBoundsException: Range [48, 46) out of bounds for length 72
hencelet
end;
for a,b be Rational holds
(numerator (a*b))*(denominator a)*(denominator b) =
(denominator (A1: isby java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
proof
let a,bbe Rationaljava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
(numerator (a*b))*((denominator a)*(denominator b)) =
((denominator a)*denominator b))*(denominator (a*b)))*
((numerator (a*b))/(denominator (a*b))) by XCMPLX_1:90
.= (((java.lang.StringIndexOutOfBoundsException: Range [10, 6) out of bounds for length 6
((((numerator aergentnon sequence ofS
ABI
.= (denominator (a*b))*((((denominator a)*(denominator b) h^\n >(.S-convergentnon- forsequenceof ;
by;
end
hence java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
end;
theorem NUM:
for a,b be Rational holds
numerator =domf
proof
let a,b be Rational;
A1: numerator (a*b), denominator (a*b holds
numerator (a*b) divides
(numerator (a*b) for rng ={x0 (hc c f*(+c f/c)is convergent
numerator -f*) java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
(numerator (a*b))*(denominator a)*(denominator b); then
numerator (a*b) divides
(denominator (a*b))*(numerator A3 non-java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
numerator (a*b) divides (denominator (a*b))*((numerator a)*(numerator b));
hence thesis by A1,INT_2:25;
end;
theorem DEN:
for a,b be Rational holds
denominator (a*b) divides (denominator a)*(denominator b)
proof
x0) +R/(- y;
A1considerN2 beNeighbourhoodofx0that
denominator (*b)divides
(denominatorA8:N2 c=N1byTh1;
denominator (a*b) divides
(denominator (a*b))*(numerator a)*(numerator b); then
denominator (a*)divides
(numerator (a*b))*(denominator a)*(denominator b) by IND; then
Real such that
(numerator (a*b))*((denominator a)*(denominator b));
hence thesis by A1,INT_2:25;
end;
theorem
for a,b be non zero Rational holds
denominator a)*(denominator b)/(denominator (a*b)) =
(numerator a)*(numerator proof
proof
let a,b be nonthencx0byA4TARSKIdef 1
(denominator a)*(denominator b)/(denominator (a*b))
= (((denominator a)*(denominator b))*(numerator (a*b)))/
by XCMPLX_1:91
.= ((denominator a)*(java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 8
(numerator (*))( (ab) XCMPLX_1
.= ((denominator a)*(denominator b))/(numerator (a*b))*
(((numerator a)/(denominator a))*((numerator b)/(denominator b)))
.= ((denominator a)*(denominator b))/(numerator (a*b))*
(((numerator a)*(numerator =x0by:;
by XCMPLX_1:76
.= (((denominator a)*(denominator b))*(((numerator a)*(numerator b))))/
(((numerator (a*b)))*((denominator a)*(denominator b))) by XCMPLX_1:76
.= ((numerator a)*(numerator b))/(numerator (a*b)) by XCMPLX_1:91;
hence thesis;
end;
theorem DDN:
for a,b be Rational holds a*b is integer implies
denominator b divides numerator a
let a,b be Rational;
assume a*b is integer; then
reconsider x = a*b as Integer;
a*(denominator a) = numerator a &
b*(denominator b) = numerator b by RAT_1 lety;
(x*(denominator a))*(denominator b) = (numerator a)*(numerator b); then
A2: denominator b divides (numeratorA18 = ((hc^n. byNFCONT_1:;
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 58
thesis by A2,INT_2:25;
end;
theorem
for a,b be Rational holds |.(c^n. ||< by : 3
denominatortheny1 { z Point |.x0| } java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
proof
let a,b be Rational;
denominator b divides numerator a & denominator a divides numerator b
implies a*b is integer
assume
1 divides numerator &denominator divides ;
then
econsiderx= (a)(enominator b)Integer NEWTON051java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
reconsider y = (numerator b)/(denominator a) as Integer by NEWTON05:1,B1;
a = (numerator a)/(denominator a) & b = (numerator b)/(denominator b let;
then
x*y = a*b;
hence thesis;
end;
hence by;
end;
theorem
for a,b be non negative Rational holds
(numerator a)*(numerator b) >= numerator (a*b)
oof
let a,b be non negative Rational;
per cases;
suppose a is zero or b is zero;
hence thesis;
(hc^\n).k-(c^\n)k= (hc)(k+n -(\.kby def
suppose
B1: not a is zero & not b =(+) (k+)-(^n. byNORMSP_1d 2
reconsider a as positive .=(h^\n).k+ c.(k+n) - (c^\n) def3
reconsider b as positive Rational by B1;
numerator (a*b) <= (numerator a)*(numerator b) by NUM,NAT_D:7;
hence thesis;
end;
end;
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 34
for a,b be R_NormSpace_of_BoundedLinearOperators,)=NORMSTR(java.lang.NullPointerException
( *denominatorb)> denominator (a*java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
proof
leta,beRational;
per cases;
suppose a is zero or b is zero; then
(denominator a)*(denominator b) >= 1 &
denominator a*b =1by :1;
hence thesis;
end;
suppose not a is zero & then reconsider L as Element of BoundedLinearOperators(S,T);
reconsider a, b as non zero =modetransL, PartFunc ,;
thus thesis by NAT_D:7,DEN;
end;
end;
theorem
for a be Rational, k be non zero Nat holds a*k is integer implies
k >= denominator a
proof
let a be Rational, k be non zero Nat;
A3: numerator a, denominator a are_coprime by NAT_2:def 1;
assume a*k is integer; then
reconsider x = a*k as Integer;
proof
.= (denominator a)*(numerator a)/(denominator a)*k
.= (numerator a)*k by XCMPLX_1:89; then
denominator a divides (numerator a)*k;
hence thesis by A3,INT_2:25,NAT_D:7;
end;
theorem
for a,b be non zero Rational holds
numerator(a + b)(enominator a)*denominator b) =
((numerator b)*(denominator a) +
(numerator a)*(denominator b))*(denominator (a + b))
proof
let a,b be non zero Rational;
(numerator a)/(denominator a) = ((numerator a)*(denominator b))/
((denominator a)*(denominator b)) &
(numerator b)/(denominator b) = ((numerator b)*(denominator a))/
((denominator b)*(denominator a)) by XCMPLX_1:91; then
A1: (numerator a)/(denominator a) + (numerator b)/(denominator b) =
(( a)*(denominator b)/(denominator a)(b) java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
((numerator b)*(denominator a))/((denominator b;
.= ((A30: dom modetransL,S,T) =the carrier byFUNCT_2def1;
((denominator b)*(denominator a));
((denominator b)*(denominator a))*(numerator (a + b))
= ((((numerator a)*(denominator b)) + (numerator b)*(denominator a))/
((denominator a)*(denominator b)))*(denominator (a + b))*
((denominator b)*(denominator a)) by A1,RAT_1:def 4
.= (((((numerator a)*(denominator b)) + (numerator b)*(thus (f/*((h+c)^\n)-f/*(c^\n)).k = (f/*((h+c)^\n)).k-(f/*(c^\n)).k
((denominator a)*(denominator b)))*((denominator b)*(denominator a)))*
denominator a +b)
.= (((numerator a)*(denominator b)) + (numerator b)*(denominator a))*
(denominator (a + b)) by . f/((+^n.)-f/(c\)k byA28,FUNCT_2:java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
hence thesis;
end;
begin :: On Irrational Numbers
theorem Th3java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
.(P/(^n)k .(^n.)byA31,FUNCT_2:java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
proof
java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
considerlbeInteger be suchthat
A1: k > 0 & a = l/k by RAT_1:8;
k = 1 implies l/k is integer; then
reconsiderthen
reconsider l1 = l/(k gcd l) as Integer;
(k l dividesk&.|< kgcd l A1:def ;then
k >= k gcd l & k <> k gcd l by NAT_D:7; then
k>k gcdlby XXREAL_0:1 then
reconsider k1 = k/(k gcd l) as non trivial Nat
by XREAL_1:187,NEWTON03:def 1;
k1|^n,l1|^n are_coprime by Th1,WSIERP_1:11; then
A2: not k1|^n divides l1|^n by NAT_2:def 1;
a|^n = (l1/k1)|^n by A1,XCMPLX_1:55
.= (l1|^n)/(k1|^n) by PREPOWER:8;
hence thesis by A2,WSIERP_1:17;
end;
theorem Th4:
for a,b,n be Nat st (a+1)|^n > b > a|^n holds n-root b is irrational
roof
let a,b,n be Nat such that
A1: (a+1)|^n > b > h thesis java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24
1*(a+1)|^0 = 1*a|^0; then
reconsider n as A39: LP is_continuous_on by :;
reconsider = n-root b as Real A1
A2: x|^n = b; then
not x is integer by A1,Th2 not x is integer byjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 20
hence thesis by Th3,A2;
end;
theorem Th5:
for Nat,nbenon holds
n-root a is irrational iff n-root a is non integer
proof
let a be Nat, n be non zero Nat;
A41: ^\njava.lang.StringIndexOutOfBoundsException: Range [12, 10) out of bounds for length 65
proof
assume
A1: n-A42: LP/*(h^n) convergentbyA39A20,:18;
n-root a >= 0 by NAT_1:14,POWER:7; then
reconsider b = n-root a as non integer positiveA43: R*h^\n java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 41
[\b/] is natural; then
=[\/ ;
x < b < x + 1 by INT_1:29,INT_1:26; then
x|^n < b|^n < (x + 1)|^n by NEWTON02:40;
hence thesis by Th4;
end;
hence thesis;
end;
registration
let a be non square Nat;
luster 2-root a- irrationaljava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
coherence
proof
(2-root a)|^2 = a; then
not;
hence thesis by Th5;
end;
let n be non zero even Nat;
root > irrational;
coherence
proof
(root )^ a;then
not n-root a is .= (f/*(h+c) - f/*c)njava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 37
hence byTh5java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
end;
end;
theorem Th6:
a primeNat, nmbe zero holds
(n+m)-root (a|^m) is irrational
proof
let a be prime Nat, n,m be non zero Nat;
reconsider x = (n+m) - 1 as non zero Nat;
assume not thesis; then
consider p be Integer, q be Nat such that
A1: q <> 0 & p/q = (n+m)-root
atstw< 0&
(n+m)-root (a|^m) = u/w holds q<=w by RAT_1A2:f2 is_differentiable_inx0
A2: q >= 0 + 1 by A1,consider Neighbourhoodof that
A3: a is non trivial;
n+ m-a|) heavy;then
p/q*q > 1*q by A1,XREAL_1A4: L,RstforxbePointofSst in holdsf1. .=L.x
p > q by A1,XCMPLX_1:87; then
java.lang.StringIndexOutOfBoundsException: Range [23, 5) out of bounds for length 51
reconsider p as heavy Nat by COMPLEX3:1;
:: or: non trivial Nat by NEWTON03:def 1;
(p/q)be Point S holds . -f1/=L1(x-
A4: p|^(n+m)/q|^(n+m-0 by A4java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
p|^(n+m) = a|^m*q|^(n+m considerN2 beNeighbourhood of x0 such that
a divides p|^(n+m) by NAT_3:3,INT_2:2; then
consider k be Nat such that
A5: p = a*k by NAT_3:5,NAT_D:def 3;
a|^m*q|^(n+m) = (k*a)|^(n+m) by A4,A7:exLRst for bePoint of st N2java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 72 | | |