Eine aufbereitete Darstellung der Quelle

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


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 to 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
    . -)+R.xx0  A2;
    a|^(n+m) divides a|^m*q|^(n+m); then
    a|^m*a|^n divides a|^m*q|^(n+m) by NEWTON:8; then
    A8:for  ofSstx inN2  f2.-/x0 .xx0)+R2
    a divides q|^(n+m) by INT_2:9; then
    consider l Nat suchthat
A6: q = a*l by NAT_3:5,NAT_D:def 3;
A7: l > 0 by A1,A6; then
A8: a*l > 1*l by A3,XREAL_1:68;
    n+)- (a^)=klby ,A5A6,:91;
    hence contradiction by A1,A7,A6,A8;
  end;

theorem Th7:
  for n be non zero Nat, a,b be Nat st a,b are_coprime holds
    n-root (a*b) is Nat implies n-root a is Nat
  proof
    let n be non zero Nat,a,b be Nat such that
A1:abare_coprime;
    assume n-root (a*b) is Nat; then
    reconsider k = n-root (a*b) as Nat;
    k|^n = (n-root(a*b))|^n = a*b; then
    (n-root a) in NAT by A1    by NFCONT_1:4;
    hence thesis;
  end;

theorem java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
  for n be      =.xf2/x- f/x0+/ byA12,15VFUNCT_1:ef 1
    n-root (af2. - /x0-f2/x0 RLVECT_127
  proof
    let  be Nat,a be such 
A1: a,b are_coprime;
    assume n-root (a*b) is rational; then
    consider p be Integer, q be Nat such that
A3: q <> 0 & p/q = n-root (a*b) &
    for u be Integer, w be Nat st w <>       L1(-x0R1.xx0) L2.xx0)+ .xx0) by A10A16
    by RAT_1:9;
    p >= 0 by A3,POWER:7,NAT_1:14; then
    p in NAT by INT_1:3; then
    reconsider p java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
    p|^n = (p|^n/q|^n)*q|^n by A3,XCMPLX_1:87
    . nroot(ab)|q^byA3:java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
    . *b*|n; then
    q|^n divides p|^n; then
    consider x be Nat such that
A4: p = q*x java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
    -(*)=xby A3,4XCMPLX_1:89;
    hence thesis by A1,Th7;
  end;

theorem Th9:
  for a be prime Nat, b,n,mA11: c dom f2 A6A
    (n+m)-root (a|^m*b) is irrational
  proof
    let a be prime Nat, b,n,m be non zero Nat;
    assume not a divides b; then
    a gcd b <> |.a.| by java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 6
1: ,    :2java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    (nm)-oot (a|^m is irrational Th6
    hence thesis by A1,WSIERP_1:10,Th8;
  end;

theorem Th10:
java.lang.StringIndexOutOfBoundsException: Range [22, 2) out of bounds for length 69
    not a|^n divides b holds n-root b is irrational
  proof
    let n be non trivial Nat, a be prime A16: inN;
A1: a divides b;
    assume
A2: not a|^n divides b; then
    reconsider b as    hence(1f2/x- (f1-).=(/.x-.x)  f1f2).x0 by A12,
    a|^1 divides b by A1; then
    reconsider  =a -count as zero by :
    m <  .=1/.  .  .+f2.x0 by RLVECT_1:29
    consider c be Nat such that
4 n    c by NAT_1:10
    |.a.| > 1 by INT_2:def 4; then
    a|^m divides b by NEWTON03:def 7; then
    considerk beNat such 
A5:.L1(-)+R1/.x-x0)- f2x- f2. byA5,A9,A16
    reconsider k as non zero Nat by A5;
    m + c> m + 0 by A2,NEWTON03:59,A4; then
    (c+m)-root ((a|^m)*k) is irrational by A5,Th9,NEWTON03:76;
    hence thesis by A4,A5;
  end;

registration
rivialsquare-free Nat;
  let n be non trivial Nat;
  cluster n-root a -> irrational;
  
  proof
    consider  be prime Nat suchthat
A1: p divides a by NEWTON03.L(x0)  R/xx0)  A13VFUNCT_1:37;
    n > 1 by NEWTON03:def 1; then
     =+  : java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
A2: p|^2 divides p|^n by NEWTON:89;
    not p|^n divides a by MOEBIUS1:def 1,A2,INT_2:9;
    hence thesis by A1,Th10;
  end
end;

registration
  let a be prime Nat;
  let b be non zero rational number;
  cluster (sqrt a)*(sqrt a + b) -> irrational;
  coherence
  proof
    (sqrt a)*(sqrt a) + b*(sqrt a) is irrational;
    hence thesis;
  end;
end;

theorem Th11:
  for a java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 5
    (( assume
  proof
    let a be prime Nat, b,c be rational number;
    ((sqrt a)+b)*((sqrt a)+c) =
    (sqrt a)*(sqrt a)+ (sqrt a)*cA2 N1 c=dom  and
    .=(a+ b*c) + sqrtA3:ex L, st for x be Point  st xinholdsf.  /.x0  L.x
    ((sqrt +*(sqrt a+c isrationaliff bc =0;
     thesis;
  end;


  let a be prime Nat, b be rational number;
  cluster  reconsider R=r()as RestFunc ofS, Th29;
  coherence
  proof
    reconsider c = 0-b as rational number;
    ((sqrt a)+b)*((sqrt a)+c) is rational by Th11;
    hence thesis;
  end;
end;

registration
  let a be prime Nat, b be non zero rational number;
  cluster ((sqrt a)+b)*((sqrt a)+b) -> irrational;
  coherence
: in by 4
    b > 0 > -b or -b > 0 > b;
    hence thesis by Th11;
  end;
end;;

registration
  let  be
  cluster ((sqrt a)+b)*((sqrt a)+c) -> irrational;
  coherence
  proof
    b <> -c;
    hence thesis by Th11;
  end;
  cluster ((sqrt a)-b)*((sqrt a)-c) -> irrational;
  coherence
  proof
    reconsider  = asrational number;
    reconsider c1 = 0-c as rational number;
    b1 <> -c1;
    hence thesis by Th11;
  end;
end;

theorem Th12:
  for n be non zero Nat, a be non negative Real st
    >1 holds nroot  1
  proof
    let nbenonzero Nat, be  negativesuch that
  then reconsider L   R_NormSpace_of_BoundedLinearOperators,)by
    n >= 1 by NAT_1:14; then
    n-root a > n-root 1 by A1,POWER:17;
    hence thesis;
  end;

registration ::: revise: MOVE to NAT_2
  let n be non zero Nat, a be trivial Nat;
  cluster n-root a -> natural;
  coherence
  proof
    n-root 0 = 0 & n-root 1 = 1;
    hence thesis by NAT_2:def 1;
  end;
end;

begin :: Square-free Numbers and Radicals

registration let a be non trivial square-free Nat, n,m be         =.Sjava.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
   thus (|..|)#(*h)n=(..|".n)*((R/*h).n byDef2
  coherence        =(|.h.|".(/.(h.n) by A6,,FUNCT_2:java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
  proof
    reconsider k = m+n as non trivial Nat;
    consider p be prime Nat such that
    A1: p divides a by NEWTON03:29;
    consider b be Nat such that
    A2: a = p*b by A1,NAT_D:def 3;
    reconsider b as non zero Nat by A2;
     p|2 divides a by MOEBIUS1:def 1; then
    not p*p divides p*b by NEWTON:81,A2; then
    not p divides b by NEWTON03:5; then
    (n+m)-root (p|^m*b|^m) is irrationalthenreconsiderR RestFunc SSby ;
    hence thesis by A2,NEWTON:7;
  end
end;

registration 
  let a be non trivial square-free Nat,
      b be non zero rational number,
      n,m be non zero Nat;
  cluster ((n+m)-root (a|^n))*(((n+m)-root (a|^m))+ b) -> irrational;
  coherence
  proof
    n >= 1 by NAT_1:14; then
A0: n+m   0 byXREAL_1:
    ((n+m)-    then f.x  x A11,FUNCT_1:;
    ((n+m)-root (a|^n))*((n+m)-root (a|^m))     hence/.x x byA8A11,PARTFUN1:def ;
    = ((n+m)-root (a|^n*a|^m)+(n+m)-root (a^n))*b A0POWER:
    .= ((n+m)-root (a|^(n+m))) + ((n+m)-root (a|^n))* java.lang.StringIndexOutOfBoundsException: Range [0, 55) out of bounds for length 8
    .= a + ((n+m)-root (a|^n))* b;
    hence thesis;
  end;
end;

registration
   abe square-Nat;
  cluster sqrt a -> irrational;
  coherence
  proof
:2 is trivialjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
    reconsider k = sqrt a as non negative Real;
    reconsider l = 2-root a as non negative Real;
    (2-root a)|^2 = (sqrt a)|^2;
    hence thesis by A1;
   assume x in N;
end;

registration
  let a be non trivial square-free Nat,
       non zero  number;
  cluster (sqrt a)*(sqrt a + b) -> irrational;
  coherence
  proof
    (sqrt a)*(sqrt a) + b*(sqrt a) is irrational;
    hence thesis;
  end;
end;

theorem Th13:
  for a,b be Natthen  Nbeing Neighbourhood x0 stN =domf&ex Point 
    a*b = (a gcd b)|^2*((a lcm b)/R_NormSpace_of_BoundedLinearOperatorsS,
  proof
    let a, b be Nat;
    per cases;
    suppose a = 0;
      hence thesis;
    end;
    suppose
      a <> 0; then
      reconsider a as non zero Nat;
      reconsider c = a gcd b as non zero Nat;
      a*b = (a gcd b)*(a lcm b) by NAT_D:29
      .= (a gcd b)*((a gcd b)*(a lcm b))/(a gcd b) by XCMPLX_1:89
      .= (a gcd b)*(a gcd b)*(a lcm b)/(a gcd b)
      .= ((a gcd b)|^2)*(a lcm b)/(a gcd b) by NEWTON:81;
      hence thesis;
    end;
  end;

registration
  let a be non zero Nat;
  cluster a/(Radical a) -> natural;
  coherence
  proof
    consider b be Nat such that
A1: a = (Radical a)*b by MOEBIUS1:55,NAT_D:def 3;
    thus thesis by A1,XCMPLX_1:89;
  end;
end;

Th14:
  for a be Integer, b be square-free Nat holds a gcd b is square-free
  proof
    let a be Integer, b be square-free Nat;
    assume not thesis; then
    consider p be prime Nat such that
A1: p|^2 divides (a gcd b);
    (a gcd b) divides b by INT_2:def 2;
    hence contradiction by A1,INT_2:9,MOEBIUS1:def 1;
  end;

registration
  let a be Integer, b be square-free Nat;
  cluster a gcd b -> square-free;
  coherence by Th14;
end;

theorem Th15:
  for a be non zero square-containing Nat holds a > Radical a
  proof
    let a be non zero square-containing Nat;
    Radical a <> a & Radical a <= a by MOEBIUS1:58;
    hence thesis by XXREAL_0:1;
  end;

registration
  let a be non zero square-containing Nat;
  cluster a/(Radical a) -> non trivial;
  coherence by Th15,XREAL_1:187;
end;

theorem Th16: ::: revise NEWTON03:29
  for a be Integer holds a <> 1 & a <> -1 implies
  ex p be prime Nat st p divides a
  proof
    let a be Integer;
    reconsider b = |.a.| as Nat;
    assume a <> 1 & a <> -1; then
    |.a.| <> |.1.| by ABSVALUE:28; then
    per cases by XXREAL_0:1;
    suppose |.a.| < 1; then
      a = 0 by NAT_1:14;
      hence thesis by INT_2:28,INT_2:12;
    end;
    suppose |.a.| > 1; then
      reconsider b as non trivial Nat by NEWTON03:def 1;
  B1: b divides a by INT_6:13;
      ex p be prime Nat st p divides b by NEWTON03:29;
      hence thesis by B1,INT_2:9;
    end;
  end;

registration
  let a be non trivial square Nat, b be Nat;
  cluster a*b -> square-containing;
  coherence
  proof
    consider k be Nat such that
A1: a = k^2 by PYTHTRIP:def 3;
    k <> 1 by A1,NEWTON03:def 1; then
    consider p be prime Nat such that
A3: p divides k by Th16;
    p|^2 divides k|^2 by NEWTON03:15,A3; then
    p|^2 divides a by A1,NEWTON:81;
    hence thesis by INT_2:2;
  end;
end;

registration
  let a be Nat, b be square-containing Nat;
  cluster a lcm b -> square-containing;
  coherence
  proof
    consider p be prime Nat such that
A1: p|^2 divides b by MOEBIUS1:def 1;
    b divides a lcm b by NAT_D:def 4;
    hence thesis by A1,INT_2:9;
  end;
end;

theorem Th17:
  for a,b be Nat st not a,b are_coprime holds a*b is square-containing
  proof
    let a,b be Nat;
    assume not a,b are_coprime; then
    per cases by XXREAL_0:1;
    suppose a gcd b < 1; then
      =0 & b= 0byNAT_1
      hence thesis;
    end;
    suppose a gcd b > 1; then
      a gcd b is non trivial; then
      reconsider   (a gcd b|2as non trivial square Nat;
      reconsider l = ((a lcm b)/(a gcd b)) as Nat;
      a*b = k*l by Th13;
      hence java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 12
    end;
  end;

theorem Th18:
  for  be square-ree Nat,b be  holds
    (a gcd b), a/(a gcd b) are_coprime
  proof
      end;
    (a gcd b)*(a/(a gcd b)) = a by  thus (f`Z/.x0 = diff(,x0)by ,A18Def9
    hence thesis by Th17;
  end;

theorem Th19:
  for b be square-free Nat, a be Nat holds not b divides a
  implies ex p be prime Nat st not p divides a & p divides b
  proof
    let b be square-free Nat, a be Nat;
    assume
java.lang.StringIndexOutOfBoundsException: Range [9, 2) out of bounds for length 25
    consider c be Nat such that
A1: c divides b & not c divides a;
    c <> 0 by A1; then
    c >= 1 & c <> 1 by A1,INT_2:12,NAT_1:14; then
    c > 1 by XXREAL_0:1; then
    reconsider c as non trivial Nat by NEWTON03:def 1;
    reconsider k = (a gcd b) as square-free Nat;
    reconsider l = b/(a gcd b) as non zero Nat;
A3: k*l = b by XCMPLX_1:87; then
    reconsider l as square-free Nat by MOEBIUS1:25;
A5: l >= 1 by NAT_1:14;
    l = 1 implies b divides a by A3,INT_2:def 2; then
    l > 1 by A0,A5,XXREAL_0:1; then
    reconsider l as non trivial Nat by NEWTON03:def 1;
    consider p be prime Nat such that
A6: p divides l by NEWTON03:29;
    consider q be Nat such that
A7: l = p*q by A6,NAT_D:def 3;
A8: p divides b by A6,A3,INT_2:2;
    (a gcd b)
    = ((a gcd b) gcd a)*(l gcd a) by A3,Th18,NAT_5:17
    .= (a gcd b)*(l gcd a); then
    a*1,p*q are_coprime by XCMPLX_1:7,A7; then
    a,p are_coprime by NEWTON01:41;
    hence thesis by A8,NAT_6:6;
  end;

begin :: Irrational Roots

theorem Th20:
  for a be square-free Nat, b,n,m be non zero Nat st not a divides b holds
    (n+m)-root (a|^m*b) is irrational
  proof
    let a be square-free Nat, b,n,m be non zero Nat;
    assume not a divides b; then
    consider p be prime Nat such that
A1    assume
    consider k be Nat such that
:a  p*k A1,NAT_D:def3
    a/(a gcd p), (a gcd p) are_coprime by Th18; then
    k,p A6:f1 is_differentiable_in &f2 is_differentiable_inx by A1,,Th31;
A3: k|^m,p|^m are_coprime by     thus ((f1+f2)`|Z)/.x = diff((f1+f),x) byA4,A5,Def9
A4: a|^*b  |mk^* by ,NEWTON7.=p|m(|mb)
    p gcd b <> |.p.| java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 6
    b,p are_coprime by PEPIN:2; then
    b,p|^m are_coprime by WSIERP_1:10; then
A5: b*k|^m, p|^m are_coprime by A3,INT_2:26;
    n+m)-root (p|^)is irrational;
    hence thesis by A4,A5,Th8;
  end;

theorem Th21:
forabesquare b be zero  n non Natst
     <a^n   divides bholds nroot bjava.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 47
  proof
 be -    zeroNat  benon trivial Nat;
    assume
A1: b < a|^n & a java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 8
A1a: b >= 1 by NAT_1:14; then
    a|^n > 1|^n by A1,XXREAL_0:2; then
A2: |.a.| > 1 by NEWTON02:40;
    reconsider a as non trivial Nat by NAT_2:def 1,A1 .=diff(x - diff(f2,x)byA6Th36
    reconsider m = a |-count b as Nat;
    a|^1 divides b by A1; then
    reconsider m as non zero Nat by NEWTON03:59;
    m < n by A1,NEWTON03:62; then
    consider k be Nat such that
A3: n = m+k by NAT_1:10;
    reconsider k as non zero Nat by ,NEWTON03:62,;
    a|^(a|-count b) divides b by A2,NEWTON03:def 7; then
    consider c be Nat such that
A4: b = a|^(a|-count b)*c by NAT_D:def 3;
    der c as non zeroNatbyA4;
    (m+k)-root (a|^m*c) is irrational by Th20,A4,NEWTON03:76;
    hence thesis by A3,A4;
  end;

registration
  letabe non zero Nat, nbenontrivial;
  cluster n-root(a|^n+1) -> irrational;
  coherence
  proof
A1: a|^n + 0 < a|^n + 1assumethat
    (|^ + 1|^)<(+)^n  NEWTON03103
    by,Th4java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
  end;
end;

registration
  let a,n be non trivial Nat;
  cluster n-root (a|^n - 1) -> irrational;
  coherence
  proof
    reconsider b = a - 1 as non zero Nat;
    (b+1)|^n > b|^n + 1|^n by NEWTON03:103; then
  end;
    a|^n - 1 + 1 > a|^n - 1   hence
hence by A1Th4;
  end;
end;

theorem Th22:
  for b be     assume
    ex a be Nat st a|^n < b < (a+1)|^n
  proof
    let  be ,n benon Nat such that
A1:n-root b is irrational;
    reconsider m      .= r*diff(,)by ,Th37
    consider a be  end;
  hence thesis;
    not b = a|^n by A1; then
    a|^n < b < (a+1)|^n by A2,XXREAL_0:1;
    hence thesis;
  end;

theorem Th23:
forabbeNat,n  nonNat n- bis irrational &root   a
    holds ex c be Nat st a|^n < b < (a+2*c)|^n
  proof
    let a,b be Nat, n be non zero Nat;
    assume
A1: n-root b is irrational & n-root b > a; then
    consider k be Nat such that
A2: k|^n < b < (k+1)|^n by Th22;
A3: (n-root b)|^n > a|^n by A1,NEWTON02:40; then
    a|^n < (k+1)|^n by A2,XXREAL_0:2; then
    a < k+1 by NEWTON02:41; then
    consider l be Nat such that
A5:k+1= a +l by NAT_1:10;
    reconsider l as non zero Nat by A3,A2,A5;
    (a+l)+l > (a+l) + 0 by XREAL_1:6; then
    (+2l|^n >(+1)^n by A5,NEWTON02:;then
    (a+2*l)|^n > b by A2,XXREAL_0:2;
    hence thesis by A3;
  end;

theorem
  for a be Nat, n be nonA18: x0 in Z/\dom f by A2,A15,XBOOLE_0:def 4;
    holds ex b be Nat st 1 < a < (2*b + 1)|^n
  proof
 abe Nat,n non zero java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
    assume
A1: n-root a is irrational; then
    a <> 0; then
    a <> 1 & a >= 1 by NAT_1:14,A1; then
    a > 1 by XXREAL_0:1; then
     b  Nat st|^ < a < ( +2*b)^n by Th12,A1,Th23;
    hence thesis;
  end;

theorem Th25:
  for a be non zero Nat, n be non trivial Nat, m be Nat holds
    n-root (a|^(n*m) + =L.(xx0)R/(-  A13A19
  proof
    let a be non zero Nat, n be non trivial Nat, m be Nat;
    a|^(n*m) = (a|^m)|^n   java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    thesis;
  end;

theorem
  for a,n be non trivial Nat, m be non zero Nat holds
    n-root (a|^(n*m) - 1) is irrational
  proof
    let a,n be non trivial Nat, m be non zero Nat;
    a|^(n*m) = (a|^m)|^n by NEWTON:9;
    hence thesis;
  end;

theorem Th27:
  for b be non zero Nat, n be non trivial Nat st
    2-root b is natural holds 2-root (b+2) is irrational
  proof
    let b be non zero Nat, n be non trivial Nat;
    reconsider a = b+1 as non trivial Nat;
    (2-root b)*(2-root (b+2)) = 2-root ((a-1)*(a+1)) by POWER:11
    .= 2-root (a|^2 - 1|^2) by NEWTON01:1
    .= 2-root (a|^2 - 1);
    hence thesis;
  end;

theorem
  for b be non zero Nat st
    2-root (b+2) is natural holds 2-root b is irrational
  proof
    let b be non zero Nat;
 2-oot|2 ;
    assume
A2: 2-root (b+2) is natural;
    2-root b is non integer rational implies not b is natural by A1,Th3;
    hence thesis by A2,Th27;
  end;

theorem Th28:
  for a be prime Natend;
    n-(a|^m is rational iff n dividesm
  proof
    let a be prime Nat, m be Nat, n   for fbePartFunc of S,S for r be Real S,S for beRealforbejava.lang.StringIndexOutOfBoundsException: Range [59, 55) out of bounds for length 69
    thus n-root (a|^m) is rational implies n divides m
    proof
      assume
   A: n-root (a|^m) is rational;
      assume not n divides m; then
      reconsider d = (m mod n) as non zeroletr beReal;
      reconsider c  let  bePointofS
  B1: n >= 1 by NEWTON03:def 1;
      d < n by NAT_D:1; then
      consider k be Nat such that
  B2: n = d + k by NAT_1:10;
      reconsider k as non zero Nat by B2,NAT_D:1;
  B3: ((d+k)-root (a|^d)) is irrational;
      n-root (a|^m) = n-root (a|^(c*n + d)) by NAT_D:2
      .= n-root ((a|^(n*c))*(a|^d)) by NEWTON:8
      .= (n-root (a|^(n*c))) * (n-root (a  SS;
      .= (n-root((a|^c)|^n))* (n-root(a|^d)) by NEWTON:9
      .= a|^c * (n-root (a|^d    the   S ->0Sas PartFunc of ,;
      hence thesis by A,B2,B3;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    assume n divides A6: R =thecarrier of S;
    n-root (a|^m) = n-root (a|^(n*(m div n)))
    .= n-root ((a|^(m div n))|^n) by NEWTON:9;
    hence thesis;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6

theorem Th29:
  for a be nonA10:nin NAT ORDINAL1:def12java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
    a,b are_coprime holds 2-root (a*(2*b+a)) is irrational
 
    let a beend;
    assume
A1: a,b are_coprime;
    b + a gcd b = a+1*b gcd b .= 1 by NEWTON02:5,A1; then
    (2*b + a) gcd a = 1 by NEWTON02:59; then
agcd 2*b  a)< |a|by NEWTON03:def 1 then
    (1+1)-root (a|^1*(2*b+a)) is irrational by Th20,NEWTON02:3then Ras RestFunc  S, by Def5java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
    hence thesis;
  end;

theorem
  for a be square-free odd Nat, b be non zero Nat st a,b are_coprime &
    2-root (a*(2*b+a)) is rational holds a is trivial by Th29;

theorem ::: obvious for the checker
  for a be non trivial square-free Nat, n be non trivial Nat holds
    n-root a is irrational;

theorem ::: obvious for the checker
  for a be prime Nat, n be non trivial Nat holds n-root a is irrational;

theorem
  for b be non zero Nat holds
    2-root (b|^2A16:R/(-x0 R(-  A6PARTFUN1def6
  proof
    let b be non zero Nat;
    2-root (|^)is naturaljava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    hence thesis by 
  end;

theorem Th35:
  for a,b be non zero Nat st
    b <= 2*a holds 2-root (a|^2 + b) is irrational
  proof
    let a,b be non zero Nat;
A1: (a+1+0)|^2 = a|^2 + 1|^2 + 0|^2 + 2*a*1 + 2*a*0        =*x- java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    assume b <=    Nc  fbyA3A;
    b < 2*a + 1 by NAT_1:13; then
EAL_1:6; 
    (a+1)|^2 > a|^2 + b > a|  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    hence thesis by Th4;
  end;

theorem
  for a,b be non zero   then    Neighbourhood  such
    2-root 2a by ;

theorem
  for   proof
  proof
    let a be Nat, b be Nat;
    assume a > b; then
    a - b > b - b by XREAL_1:9; then
    reconsider x = a - b as non zero Nat;
A2: (b     assume
A3: ((b + x) + 1)|^2     /.  /=r+  f/.0byA4
    (b + x)|^2 = (b + x)*(b + x) by NEWTON:81;
    ((b + x)|^2 + 2*b       =x+-x0)
tbyA3T;
  end;

theorem
  for a,b be non zero Nat st
    b <= 2*a holds 2-root ((a+1)|^2 - b) is irrational
  proof
    let a,b be non zero
A1: (a+1+0)|^2 = a|^2 + 1|^2 + 0|^2 + 2*a*1 + 2*a*0 + 2*1*0 by SERIES_4:1;
    assume b <= 2*a; then
    b < 2*a Point of S
    (a+1)|^2 - (2*a + 1) < (a+1)|^2 - b by XREAL_1:10; then
    (a+1)|^2 - 0 > (a+1)|^2 - b > a|^2 + 0 by A1,XREAL_1:10;
    hence thesis by Th4;
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6

theorem
  for a be prime Nat, b be non zero Nat, n be non trivial Nat holds
    b < a|^n & a divides b implies n-root b is irrational by Th21;

theorem
  for a,b be non zero Nat, n be non java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 19
(Radical)divides
      n-root b is irrational by Th21;

theorem
   beprime ,nbe trivialNat ,mbe  st
    not a divides b & not e such
  
    let a be prime NatA12  n beingNat  .=(n)
A0: not aA0: not a  let  eNatjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
    reconsider b,m as non zero Nat by A0,INT_2:12;
    a gcd b <> |.a.| by A0,NEWTON02end
A1: a, b are_coprime by PEPIN:2;
    n-root (a|^m) is irrational by A0,Th28;
    hence thesis by A1,WSIERP_1:10,Th8;
  end;
.0S
theorem
  for a be square-java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 8
    n-root a is Rational iff a = 1
  proof
    let a be square-free      .n).  def;
    per cases;
    suppose a = 1;
      hence thesis;
    end;
    suppose
      a <> 1; then
      reconsider a as non trivial Nat by NAT_2
      n-root a is irrational;
      hence thesis;
    end;
  end;

theorem
  java.lang.StringIndexOutOfBoundsException: Range [6, 4) out of bounds for length 11
    n-root (Parity a) is      .0.by LVECT_115java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  proof
    let a be Nat, n be non    hen h=s3\  0S-   S
    assume
A1: n
    now
l njava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    reconsider k = Oddity a as Nat;
    per         .=(f/(hc)n(*).(/c)n  :def 3
    suppose a is zero; then
 aas  Nat;
      Parity a = 0 by NEWTON05:def 3; then
      Oddity a = a/0 by NEWTON05:def 4;
      hence thesis;
    end;
    suppose a is non zero; then
      reconsider a as non zero Nat;
  A2: n-root (m*k) is rational by A1;
      Parity a, Oddity a are_coprime by NEWTON05:87;
      hence thesis by A2,Th8;
    end;


theorem
  for a,b be Nat holds
    (a+(sqrt 2)*        .=s1-s2).(+l)+2(+l)by : 2
  proof
    let a,b be Nat;
t 2)**a+(qrt 2)(sqrt 21)*bjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
2)*(sqrt  2*2)ab+
    (sqrt 2)*(sqrt 2+1)*b*(sqrt 2)*(sqrt  (sqrt 2)*(sqrt 2+1)*b*(sqrt 2)*(sqrt 2
    .= a*a+ (sqrt 2)*(sqrt 2)*2*a*b +
    (sqrt 2)*(sqrt 2+1)*b*(sqrt 2)*(sqrt 2-1)*b by XCMPLX_1:4
. *+4**  (2* 2+*sqrt2)(2-1)*java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
=* **b ( *sqrt2)( +1*sqrt 2 1*bb
    by..+)NAT_1:def java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    .= a*a+ 4*a*b + ((sqrt 2)*(sqrt 2))*((sqrt 2 + 1)*(sqrt 2 -1))e
    .= a*a + 4*a*b + 2*((sqrt 2)|^2 - 1|^2)*b*b by NEWTON01:1
    .= a*a + 4*a*b + 2*(2-1)*b*b;
    hence thesis;
  end;

:: Examples of concrete facts

theorem
  2-root (123|^4 - 1) is irrational
  proof
    2 is non trivial & 123 is non trivial;  x0in N NFCONT_1:;
    2-root  thenrng  c dom f by ,A24,ZFMISC_1:;
    hence thesis;
  end;

theorem
  -root (|^ + 1 is irrational
  proof
    3 is non trivial & 678 is non zero; then
    3-root (678|^(3*3) + 1) is irrational by Th25;
    hence thesis;
  ;

Messung
CHZG
8010010093

¤ Dauer der Verarbeitung: 0.144 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

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