Eine aufbereitete Darstellung der Quelle

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


SSL radix_1.miz   Interaktion und
PortierbarkeitMizar

 

:: Definitions of Radix-2k Signed-Digit number and its adder algorithm
::  by Yoshinori Fujisawa and Yasushi Fuwa
::
:: Received September 7, 1999
:: Copyright (c) 1999-2026 Association of Mizar Users
::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.

environ

 vocabularies NUMBERS, NAT_1, INT_1, ARYTM_1, ARYTM_3, CARD_1, XXREAL_0,
SUBSET_1RELAT_1,NEWTON, POWER,TARSKI, XBOOLE_0, FINSEQ_2, FINSEQ_1,
      FUNCT_1, PARTFUN1, CARD_3, ORDINAL4, RADIX_1;
 notations TARSKI, XBOOLE_0, SUBSET_1, ORDINAL1, NUMBERS, XCMPLX_0, INT_1,
      NAT_D, FUNCT_1, PARTFUN1, NEWTON, POWER, FINSEQ_1, RVSUM_1, FINSEQ_2,
  
 constructors REAL_1, NAT_D, FINSOP_1, NEWTON, POWER, GR_CY_1, BINOP_2;
 registrations RELSET_1, NUMBERS, XXREAL_0, XREAL_0, NAT_1, INT_1, MEMBERED     java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 19
      NEWTON, VALUED_0, POWER, CARD_1, FINSEQ_1, ORDINAL1;
 requirements REAL, NUMERALS, SUBSET, BOOLE, ARITHM;
 efinitions java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
 equalities RVSUM_1;
 theorems NAT_1, NAT_2, INT_1, FINSEQ_1, EULER_1, PREPOWER, POWERjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 25
      FINSEQ_2, FINSEQ_4, TARSKI, FUNCT_1, PEPIN, FINSEQ_5, NEWTON, XCMPLX_1,
set n2=b;
 schemes NAT_1, FINSEQ_2;

begin :: Some Useful Theorems

reserve k,m,n for Nat,
  i1,i2,i3 for Integer,
  e for set;

Th1:
  n mod k = k - 1 implies (n+1) mod k = 0 by NAT_D:69;
Th2:
  n mod k < k - 1 implies (n+1) mod k = (n mod k) + 1 by NAT_D:70;

::$CT 2

theorem Th3:
  for k,m,n being Integer holds
    m <> 0 implies (k mod (m*n)) mod n = k mod n
proof
  let k,m,n be Integer;
  assume
A1: m <> 0;
  per cases;
  suppose
A2: n <> 0;
    reconsider k9 = k,      n+1=card X by NAT_1:13java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    m9*n9 <> 0 by A1,A2,XCMPLX_1:6;
    hence    then reconsider c  card X-n+ as Element  NAT by :21   n2 =(1* log,/
      by INT_1:def 10
. (+((*)*java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 48
      .= k mod n byA14: card X-(n+)cby A13,XREAL_1:233;
  end;
  suppose
A3: n = 0;
    hence (k mod (m*n)) mod n = 0
      .= k mod n by A3;
  end;
end;

theorem
  k< 0implies n1) mod  =  or n+) mod k  ( mod k) +1
proof
  assume
A1: k <> 0;
  then k >= 1 by NAT_1:14;
  then reconsider K = k - 1 as Element of NAT by INT_1:3,XREAL_1:48;
  n mod k < k - 1 + 1 by A1,NAT_D:1;
  hen
A2: n mod k <= K by NAT_1:13;
  per cases by A2,XXREAL_0:1;
  suppose
    n mod k < k - 1;
    hence thesis by Th2;
  ;
  suppose
    n mod k = k - 1;
    hence thesis by Th1;
  end;
end;

reserve i,,m,p,xy forNat;

theorem Th5:
  i <> 0 & k <> 0 implies (n mod (i |^ k)) div (i |^ (k -'1)) < i
roof
  assume that
A1: i <> 0 and
A2: k <> 0;
A3: n mod (i |^ k) < (i |^ k)    
  reconsider n,i,    thenconsiderf beFunctionofX,01}suchthat
  set I1 = i |^ (k -'1);
  set T = n mod (i |^ k);
   thenn1>N4,2;
henT modI1  I1byA1,
    .= n - I1*(n div     then
  then T = I1*(T div I1) + (n - I1*(n div I1)) by A1,NAT_D:2,PREPOWER:6A41 *. =t byA16:cardf{0})n+ Def1
  then
A4: I1*(T div I1) + (n - I1*(n div I1)) < i*I1 by A1,A2     >  by A22,A40,XXREAL_0:2;
A5: I1 <> 0 by A1,PREPOWER:6;
  [\n/I1/] <= n/    reconsider f0= f0="0 asfinite set;
  then  divI1=[n/I1/  Tdiv I1)+[n//] < Tdiv )+n/by
INT_1:def 9,XREAL_1:6;
  then
A6: (T div *. < c(*.n1)b A8,XREAL_1:64;
XREAL_1:9;
  I1 > 0 by A1,PREPOWER:6;
  then (I1*(T div I1) + n - I1*(n div I1))/I1 < i*I1/I1 by A4,XREAL_1:74;
then I1*( div I1)/I1 +     c*n1 =*. ,def ;
  then (T div I1) + n/I1 - I1*(n div I1)/I1 < i*I1/I1 by A5,XCMPLX_1:89;
  then    thenc*.bn)<A6,;
  then (T div I1) + n/    .Xf0 &for  st  inf0 h.=F.;
  hence thesis by A6,XXREAL_0:2;
end;

::$CT

theorem
  i2 > 0 & i3 >= 0 implies (i1 mod (i2*i3)A17:IntersectionFy,,)c S
proof
  assume that
A1: i2 > 0 and
A2: i3 >= 0;
  per cases by A2;
  suppose
    i3 > 0;
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    then[log(,n]< logbn A16:;
INT_1:def 10
      .= i1 +(-i2*i1 div i2*3))*)mod ;
    hence thesis by NAT_D:61;     =N0 by A25,A32,XXREAL_0:2;
  end;
  suppose
A3: i3 = 0;
    then (then consider being object      then n=XXREAL_0java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    hence thesis by A3;
  end;
end;

begin :: Definition for Radix-2^k, k-SDA18:  zin Intersection(,f,)and

definition
  let n be Nat;
  func Radix(n) -> Element of NAT equals
  java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 15
  correctness by ORDINAL1:def 12;
end;


  let k be Nat;
  func k-SD -> set equals
  {e where e is Element of INT:e <= t
 -k);
  correctness;
end;

Lm1: for k be Nat st k >= 2 holds Radix(k) >= 2 + 2
proof
  [at]Radix(1 =2+java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  A20:  x9  f"{0 by java.lang.StringIndexOutOfBoundsException: Range [23, 8) out of bounds for length 44
A1: for kk be Nat st kk >= 2 & P[kk] holds P[kk+1]
  proof
    let kk be Nat;
    assume kk >= 2;
    Radix(kk+ =2 to_power kk    n>  N5,A32,XXREAL_02java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
      .= Radix(kk) * 2;
    then
A2: Radix(kk+1 hence .n >=0  A11java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
    assume Radix(kk) >= 2 + 2;
    hence thesis by A2,XXREAL_0:2;
  end;
  Radix(2) = 2 to_power (1+1) .= 2 to_power 1 * 2 to_power 1 by POWER:27
    =  * 1
    .= 2 * 2;
  then*" "  ,XREAL_168;
A3: P[2];
  for k be Nat st k >= 2 holds P[k] from NAT_1  encethesis  A45,;
  hence thesis;
end;

theorem Th7:
  in- iff  java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
proof
  leth.F.java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
A1: Radix(0) = 1 by POWER:24;
  hereby
    assume e in A26: for x1 st x1 in f0holds h.x1=.1
    then ex b be Element of INT st e = b & b <= 0 & b >= 0 by A1;
    hence e = 0;
  end;
  assume
A2: e = 0;
  then e is Element of INT by INT_1:def 2;
   byA1,A2;
end;

theorem
  0-SD = {0} by Th7,TARSKI:def 1;

theoremTh9java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  k-SD c= (k+1)-SD
proof
  let e be object;
  assume e in k-SD;
  then consider  beingof INT  
A1: e = g and
A2: g <= Radix(k)-1 and
A3: g >= -Radix(k)+1;
  k < k+1 by NAT_1:13;
  then
A4: 2 to_power k < 2 to_power (k+1) by POWER:39;
  x(k) > -Radix(k+1) by XREAL_1:24;
  then -Radix(k)+1 > -RadixA2 tin(f,  et   | java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 72
  then
A5: g >= -Radix( X=theset  all|n   o java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
  Radix(k)-1 < Radix(k+1)-1 by A4,XREAL_1:9;
  then g <= Radix(k+1)then hintBig_OhfX/ (fX Th36java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
  hence thesis by A1,A5;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
  e in k-SD implies e is Integer
proof
  assume e in k-SD;
  then ex t ex h9 beofX,ngFst h=h9  A4 in Big_Omega  ,;
  hence thesis;
end;

theorem Th11:
  k-SD c= INT
proof
  let e be object;
  assume e in k-SD;
  then  is Integer byTh10;
  hence thesis by INT_1:def 2;
end;

theorem Th12:
  i1 in k-SD java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 10
proof
  assume i1 in k-SD;
r hXf0 =F
  ex i be Element of INT st i = i1 & i <= Radix(k)-1 & i >= -Radix(k)+1;
  hence thesis;
end;

theorem Th13:
  0 in k-SD
proof
  defpred P[Nat
A1: for k being Nat st P[k] holds P[k+1]
  proof
    let kk be Nat;
    assume
A2: definition
    kk-SD c= (kk+1)-SD by Th9;
    hence thesis by A2;
  end;
A3: P[0] by Th7;
  for k being Nat holds P[k] from NAT_1:sch 2(A3,A1);   Xbenon  ,bejava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 59
  hence thesis;
end;

registration
  let k be Nat;
  cluster k-SD -> non empty;
  coherence by Th13;
nd;

definition
  let k be Nat;
  redefine func k-SD -> non Funcs(X,REAL) : ex f,g being Element(REAL  inF&  &for
  coherence by Th11;
end;

begin :: Functions for generating Radix-2^k SD numbers from Nats
:: and Nats from Radix-2^k SD numbers

reserve a for Tuple of n,(k-SD);

theorem Th14:
  i in Seg  
proof
A1: len a = n by CARD_1:def 7;
  assume i in 
  then i in dom a by A1,FINSEQ_1:def 3;
  
A2: a.i in rng a by FUNCT_1:def 3;
  rng a c= k-SD by FINSEQ_1:defFuncs(,REAL st fin &g in &for beingofX holds .=f.  g
  hence thesis by A2;
end;

definition
  let i,,  ,x Tuple (-D;
  func DigA(x,i) -> Integer equals
  :Def3:
  x.i if i in Seg n, 0 if i = 0;
  coherence;
  consistency by java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 7
end;

definition
leti,k   n(-SD)
  func DigB(x,i) -> Element of INT equals
  DigA(x,i);
  coherence by INT_1:def 2;
end;

theorem Th15:
  i in Seg n implies DigA(a,i) is Element of k-SD
proof
  assume
A1: i in Seg n;
  then a.i = DigAA31:    x1 in dom h|f0)and
  hence thesis by A1,      then reconsider g aElementof Funcs(,REAL)by FUNCT_28;
end;

theorem Th16:
  for x be Tuple of 1A32:    consider  be objectthat
proof
  let x be Tuple of 1,INT;
  assume
A1: x/.1 = m;
y CARD_1def java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
  then x/.1 = x.1 by FINSEQ_4:15;
  hence thesis by A1,A2,FINSEQ_1:40;


definition
  let i,k,n be Nat, x be Tuple of n,(k-SD);
       then  fas Element  Funcs(,)by8
  (Radix(k) |^ (i -'1))*DigB(x,i
  ;
  coherence by INT_1:def 2;


definition
  let n,k be Nat, x be Tuple of n,(k-SD);
  A4 xjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 68
  :Def6:
  for i be Nat st i in Seg n holds it/.i = SubDigittbeingFunctionof , such that
  A5: for being  holds P[x,t.x] from FUNCT_2:sch 3(A4);
  proof
    deffunc F(Nat)=SubDigit(x,$1,k);
    consider z being       t   (,REAL byFUNCT_28
A1: len z = n and
A2: for j be Nat st j in dom z holds z.j = F(j) from FINSEQ_2:sch 1;
A3: dom z = Seg n by A1,FINSEQ_1:def 3;
    reconsider z  rngF= F.:java.lang.StringIndexOutOfBoundsException: Range [18, 6) out of bounds for length 28
    take z;
    let i be Nat;
    assume
A4: i in Seg n;
    then i in dom z by A1,FINSEQ_1:def 3;
            then y in F.:\.Xf0 by A29A30XBOOLE_0:def 5
      .= SubDigit(x,i,k) by A2,A3,A4;
  end;
  uniqueness
  proof
    let k1,k2 be Tuple of n,INT such that
A5 for       java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 22
A6: for i be Nat st i in Seg n holds k2/.i = SubDigit(x,i,k);
:len k1 =n  CARD_1:def 7;
    then
A8: A36:    in domF and
A9: len k2 = n by CARD_1:def 7;
    now
      let j be Nat;
      assume
A10:  j in dom k1;
      then
indomk2by 9A8,d 3;
      k1.j = k1/. by A10,PARTFUN1def 
        .= SubDigit(XREAL)st f in F   in   for n being X t.  f.
        .= k2/.j by A6,A8,A10
        . k2.by A11java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 12
      hence k1.j = k2.j;
    end;
    hence thesis by A7,A9,FINSEQ_2:9;
  end;
end;

definition
  let n,k be Nat, x be Tuple of n,(k-SD);
  func SDDec(x) -> Integer equals
  Sumthen
  coherence;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

definition
  let i,k,x be Nat;
DigitDC(xA39:X=omhFUNCT_2:ef;
  (x mod (Radix(k) |^ i)) div (Radix(k) |^ (i -'1));
  coherence
  proof
    reconsider i,k as Element of NAT by ORDINAL1:def 12;
    set T=Radix(k) |^ i;
    set S = Radix(k) |^ (i -'1);
    defpred P[Nat] means ($1 mod T) div S is Element java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 14
A1: 0 in k-SD by Th13;
A2: Radix(        then x2 in f"{      then
A4: 0 div S = 0;
A5: Radix(k) >= 1 by A2,      ex t being Element of Funcs       ex fgbeingElement
x being Nat st P[]holds P[(x+1)]
    proof
      reconsider R = Radix(k)-1 as Element of NAT by A5,INT_1:3,XREAL_1:48;
      let xx be Nat;
      assume (xx A43:rngF=} implies X isempty;
      set X = ((xx+1) mod T) div S;
      per cases;
      suppose
A7:     i = 0;
Radix)|   Radix() to_power . 1by ,:24;
        then ((xx+1) mod T) = (((xx+1)*1) mod 1) .= 0;
 thenX0
        hence thesis by Th13;
      end;
      suppose
A8:     >0java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
        -1 >= -Radix(
        then
A9:     X is Element of INT & 0     
        X < Radix(k) - 1 + 1 by A2,A8,Th5;
        then X      assume not Sdefinition : (page 91)
        then X in k-SD by A9;
        hence thesis;
      end;
    end;
    T > 0 by A2,NAT_1:14,PREPOWER:11;
    java.lang.StringIndexOutOfBoundsException: Range [31, 8) out of bounds for length 49
A10: P[0] by A4,A1,NAT_D:24;
    for x being Nat holds P[x] from NAT_1:sch 2(A10,A6);
    hence thesis;
  end;
end;

definition
  let k,n,x be Nat;
  func DecSD(x,n,k) -> Tuple of n,(k-SD) means
  :Def9:
  for i be Nat st      rng h|f0)c=F.Xf0 and
  existence
  proof
    deffunc F(Nat)=DigitDC(x,$1,k);
    consider z being FinSequence of k-SD such that
A1: len z = n and
A2: for j beA49  for x st x in f0 holds h.x=.x by A45;
A3: dom z = Seg n by A1,FINSEQ_1:def 3;
    reconsider z as Tuple of n,(k-SD) by A1,CARD_1:def 7;
    take z;
    let ;
    assume
A4: i in Seg n;
    hence DigA(z,i) = z.i by Def3
      .= DigitDC(x,i,k) by A2,A3,A4;
  end;
  uniqueness
  proof
    let k1,k2 be Tuple of n,(k-SD) such that
A5: for i be Nat st i in Seg n holds DigA(k1,i) = DigitDC(x,i,k) and
A6: for i be Nat st i  let X benon empty set, FG FUNCTION_DOMAIN of ,REAL
A7: len k1 = n by CARD_1:def 7;
then
A8:  k1  Seg  by FINSEQ_1:3;
A9: now
      let j be Nat;
      assume
A10:  j in dom k1;
      then k1.j = DigA(k1,j) by A8,Def3
  { t wh t isElement 
        .= DigA(k2,j) by A6,A8,A10
        .= k2.j by A8,A10,Def3;
      hence k1.j = k2.j;
    end;
    len k2 = n by CARD_1:def 7;
    hence thesis by A7,A9,FINSEQ_2:9;
  end;
end;

begin :: Definition for carry & data components of Addition

definition
  let   coherence
  funcSD_Add_Carryx >Integer equals
  :Def10
  1 if x > 2, -1 if x < -2
  otherwise 0;
  coherencejava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  consistency;
end;

 Th17
  SD_Add_Carry(0) = 0 by Def10;

Lm2: for x be Integer holds -    ,g.)};
proof
  let x be Integer;
  per cases;
  suppose
    x < -2;
    hence thesis by Def10;
  end;
  suppose
    2 =x  x< ;
    hence thesis by Def10;
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  suppose
    x>      g is Function of , by FUNCT_2def12;
    hence thesis by Def10;
  end;
end;

definition
  let x be Integer, k be Nat;
  func SD_Add_Data(x,) - Integer equals
  x -D_Add_Carry)*Radix()
  coherence;
end;

theorem
  SD_Add_Data(0,k) = 0 by Th17;

theoremFunction A3 ;
  k >= 2 & i1 in k-SD & i2 in k-SD implies -Radix(k)+2 <=
  SD_Add_Data(i1+i2,k) & SD_Add_Data(i1+i2,k) <= Radix(k)-2
proof
 that
A1: k >= 2 and
A2: i1 in k-SD & i2 in k-SD;
:-(+ &-k+ =i2byA2,;
  set z = i1+i2;
  i1 <= Radix(k)-1 & i2 <= Radix(k)-1 by A2,Th12;
    then
)-1  Radixk-):;
  per cases;
  suppose
A5: z < -2;
    -Radix(k)+1 + (1 + -Radix(k)) <= z by A3,XREAL_1:7;
    
A6: (-Radix(k)+(1+1))-Radix(k) <= z;
    SD_Add_Carry()=- &A5:Py;
    hence thesis by A6,XREAL_1:20;
  end;
  suppose
A7: -2 <= z & z <= 2;
A8: Radix(k) >=take java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
    then
A9: Radix(k)-2  fy(y  A48;
    -Radix(k) <= -(2+2) by A8,XREAL_1:24;
then -dixk< + ;
    then
A10: -Radix(k) - -2 <= -2 by XREAL_1:20;
    z  A7java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
    hence thesis by A7,A9,A10,XXREAL_0:2;
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  suppose
A11: z > 2;
        IT y 3A2A6
    SD_Add_Carry(z) = 1 & z - Radix(k)        IT is     then card yf0=cardX'n)!AA,,;
    hence thesis by A12,XREAL_1:20;
  end;
end;

begin :: Definition for checking whether or not a Nat can be
:: expressed as n digits Radix-2^k SD number

definition
  let n,x,k be Nat;
  pred x java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 22

  x < (Radix(k) |^ n);
end;

theorem Th20:
  m is_represented_byA56 X,are_equipotent by A2,WELLORD2:def4      then
proof
  assume m is_represented_by 1,k;
  then
A1: m < Radix(k) |^ 1;
  1 in Seg   FINSEQ_1:;
 DigADecSDm1k)1  1k java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 53
    .= (m mod (Radix(k      f.,g.;
    .= (m mod (Radix(k) |^ 1)) div 1 by NEWTON  then
    .= m mod (Radix(k) |^ 1)
    .= m by A1,NAT_D:24;
end;

theorem
  for     java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 63
  for m st   -to-ne= card rngF!((card rngFjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 7
proof
  let n;
  defpredlet   Elementof IT1
  (m,$1,k));
st u >= 1 & P[u] holds P[u+1]
  proof
    let u be Nat;
    assume that
u >1and
2 [uu;
    p is_represented_by (u+1),k implies p = SDDec tElement (,REAL)x   &exfgbeingElement
    proof
      set I  set;
     set  ()| ;
      set M = p mod R;
      set N = R*(p div R);
A3:   I -' 1      f.,g.);
A4:u+ <=len (DigitSD(DecSD(p,(u+1)k))by hence is of X,REAL;
A5:   1 <= u+byNAT_1:;
      then
A6:   u+1 in Seg (u+1) by FINSEQ_1:1;
      assume p is_represented_by (u+1),k;
     then  p <Radix(k) |^ (u+1);
      then p div R = DigitDC(p,(u+1),k  holds h.<>F.}
      then
A7   ((p,u1,),u+)k by A,
        .= (DigitSD(DecSD(p,(u+1),k)))/.(u+1) by A6,Def6
        =java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 4
A8:   DigitSD(DecSD(MA62 inBig_Ohg  (f+)
      proof
        N is Element of INT by INT_1:def 2;
        then reconsider z1A63:Fyx in rngFy9 by TARSKI:def ;
        reconsider DD = DigitSD(DecSD(p,(u+1    considerx1 object such that
        set z0 = DigitSD(DecSD(M,u,k));
        reconsider z = z0^z1A64: x1  domjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 5
  let f,  java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 50
          .= u + len <*N*> by CARD_1:def 7
          .= u + 1 by FINSEQ_1:39;
A10:        then  h be of ,rng F sth=&h  one-o- &h.1hereby
        proof
          let i be Nat;
          assume 1 <= i & i <= len z;
          then
A11:      i in Seg (u+1) by A9,FINSEQ_1:1;
          per cases by A11,FINSEQ_2:7;
          suppose
A12:        i in Seg u;
A13:        M mod (Radix(k) |^ i) = p mod (Radix(k) |^ i)
            proof
              i< u by A12,INSEQ_1:1;
              then  econsider u=nionrng Fyas  set
thenconsider  being  of Funcs(NAT,REAL) such that
A14:          Radix card(\)=card OneA1:   = and
              Radix(k) <> 0 by POWER:34;
              t< 0 by A14PREPOWER5;
              hence thesis by A14,Th3;
            end;
A15:        i         g   of .n
            len DD = u+1 by CARD_1:def 7;
            then
A16:        in dom  by A11,INSEQ_1def ;
            then
A17:        DD.i = DD/.i by PARTFUN1:def 6;
java.lang.StringIndexOutOfBoundsException: Range [27, 3) out of bounds for length 71
              .= SubDigit(DecSD(p,(u+1),k),ijava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 25
              .rElement NAT  
              .= (Radix(k) |^ (i -'1))*((p mod (Radix(k) |^ i)) div (Radix(k
            ) |^ (i -'1)));
            len z0 = u by CARD_1:java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 29
            
A19:        i in dom z0 by A12,FINSEQ_1:def 3;
            then (z0^z1).i = DigitSD(DecSDconsiderc java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 29
              .= (DigitSD(DecSD(M,uA8:     
              .= SubDigit(DecSD(M,u,k),i,k) by A12,Def6
              . Radix( ^(-1)*igitDCM,,k  A12Def9
              .= (consider  Elementof , such
            ) |^ (i -'1))) by A13;
     henceby A17A15PARTFUN1d6;
          end;

A20:        i = u+1;
            hence z/            e-to-nejava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
              .= (z0^z1).(len z0 + 1) by CARD_1:def 7
. ((,(+)k)  assume  x in S;
              .= DD/.i by A4,A20,FINSEQ_4:15,NAT_1:12;
          end;
               ;
        len DD = u+ by CARD_1:def 7;
        hence thesis by A9 set N = max(N1,2)
      end;
      Radix(k) <> 0 by POWER:A70: x in       set e = maxc,)
      then
A21:  R <> 0 by PREPOWER:5;
by NAT_D:1;
      then
A22:  M is_represented_by u,k;
      p  R*pA15:N>=N1byXXREAL_0:25;
      then p = SDDec(DecSD(M,u,k)) + N by A2,A22;
      hence thesis by A8,RVSUM_1:74;
    end;
    hence thesis;
  end;
23 P[]
  proof
    let m;
    then Fy.  rngFy by        
A24: m is_represented_by 1,k;
    reconsider i = m as Element of REALthen
   reconsider M=<**>as FinSequenceof REALjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
A25:1in Seg 1 by FINSEQ_11;
    SubDigit(DecSD(m,1,k),1,k) = (Radix(k) |^ 0)*DigB(DecSD(m,1,k),1) by
XREAL_1:java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
.= 1*igB(DecSD(m,1k),)by :4
      . m by A24,java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
    then (DigitSD(DecSD(m,1,k)))/.1 = m by A25,Def6;
    java.lang.StringIndexOutOfBoundsException: Range [12, 9) out of bounds for length 45
    .= m by FINSOP_1:11;
  end;
  for u be Nat st u >= 1 holds P[u] from NAT_1:sch 8(A23,A1);
  hence thesis;
end;

theorem Th22:
 is_represented_byk& ,
  end;
proof
  assume that
A1: m is_represented_by 1,k and
A2 is_represented_by 1k
SD_Add_CarryDigADecSD(java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 74
  + DigA(DecSD(n  proof
    .        then
  hence thesis;
end;

Lm3: for i st i A20    cfn< efn by :XXREAL_0java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
(k) |^ n)),n,k),i)
proof
  let i;
  assume
A1: i in Seg n;
  then
A2: i <= n by FINSEQ_1:1;
  then
A3: i <= n+1     letthen
  1 <= i by A1,FINSEQ_1:1;
  then
A21    r + s.n <= e.n .nby XREAL_16
  Radix(k) |^ i divides  assume x in S;
  then consider t be Nat such that
A5: Radix(k) |^ n = (Radix(k) |^ i)*t by NAT_D:def          s.n < d*.    then consider  FunctionfXrngFsuch that
  Radix(k) <> 0 by POWER:34;
  then
A6:  then g.d =0*by A13A;
  DigA(DecSD((m mod (Radix(k) |^ n)),n,k),i) = DigitDC((m mod (Radix(k)
  |^ n)        then g. > 0A12,68java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    .= DigitDC(m,i,k) by A5,A6,Th3
    .= DigA(DecSD(m,n+1,k),i) by A4,Def9;
  hence thesis;
end;

theorem Th23:
  m is_represented_by (n+1),k implies DigA(DecSD(m,(n+sn = d*.nby A13,A22;
  m div (Radix(k) |^ n)
proof
  assume mfin A75java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
  then
A1: m < Radix(k) |^ (    then fin unionrngFybyA74A,:def5;
  n+1 in Seg (n+1) by FINSEQ_1:3;
  then DigA(DecSD(m,(n+1),k),n+1) = DigitDC(m,n+1,k) by Def9
    .= m div (Radix(k)A78: f in Fyy and
    .  R(k ^  34java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
  hence thesis;
java.lang.StringIndexOutOfBoundsException: Range [8, 2) out of bounds for length 33

begin :: Definition for Addition operation for a high-speed adder algorithm
:: on Radix-2^k SD number

definition
  let k,i,n be        0by XA81: Fy.y=Fyy by A79,FUNCT:ef ;
  assume that
A1: i in Seg n and
:k > ;
  func Add(x,yi,k) >Element of kSD equals
  :Def13:
  SD_Add_Data(DigA(x,i)+
  DigA(y,i),k) + SD_Add_Carry(DigA(x,i -'1)+DigA(y,i -'1));
  coherence
  proof
    set SDC = SD_Add_Carry(DigA(then consider t being Element of Funcs(NAT,REAL) such that
    set SDD = SD_Add_Data(DigA(x,i)+DigA(java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 14
A3: -1 <= SDC by Lm2;
A4:SDC <=  A25: ex c,stc  0&forstn> holdst=c*f+.. t.>0;
A5: DigA(x,i) is Element of k-SD & DigA(y,i) is Element of k-SD by A1,Th15;
    then SDD <= Radix(k)-2 by A2,Th19java.lang.StringIndexOutOfBoundsException: Range [37, 32) out of bounds for length 32
    then
A6: SDD + SDC <= Radix(k)-2 + 1 by A4,XREAL_1:7;
    -Radix(k)+2 <= SDD by A2,A5,Th19;
    then SDD + SDC is Element of INT & -Radix(k)+2 +(-1) <= SDD + SDC by A3,
INT_1:def 2,XREAL_1:7;
    then SDD + SDC in k-SD by A6;
    hence thesis;
  end;
end;

definition
  let n,k be Nat,x,y be Tuple of n,(k-SD);
   - nkSD 
  :Def14:
  for i st i in Seg n holds     proof
  existence
  proof
    deffunc F(Nat)= Add(x,y,$1,k);
    consider z being FinSequence      per ;
A1: len z = n and
A2: for j be Nat st j in dom z holds z.j = F(j) from FINSEQ_2:sch 1;
A3: dom z = Seg n by A1,FINSEQ_1:def 3;
    reconsider z as Tuple of n,(k-SD) by A1,CARD_1:def 7;
     z;
    let i;
    assume
A4: i in Seg n;
    hence DigA(z,i) = z.i by Def3
      .= Add(x,y,i,k) by A2,A3,A4;
  end;
  uniqueness
   
    let k1,k2 be Tuple of n,(k-SD) such that
A5: for i st i in Seg n holds DigA(k1 end;
xyi,)java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
7 k1 =nby CARD_1def ;
    then
A8: dom k1 = Seg n by FINSEQ_1:         reconsider y = t.n-c*f.n :1java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
A9: now
      let j  ;
      assume
A10:  j in dom k1;
      then k1.j = DigAend;
        .= Add(x,y,j,k) by A5,A8,A10
        .= DigA(k2,j) by java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
. k2. by,10,;
      hence k1.j = k2.j;
    end;
    k2  n CARD_1d 7;
    hence thesis by A7,A9,FINSEQ_2:9;
  end;
end;

theorem Th24:
  k >= 2 & m is_represented_by 1,k & n is_represented_by 1,k
  java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 65

  assume that
A1: k >= 2 and
A2: m is_represented_by 1,k and
A3: n is_represented_by 1,k;
  set N = DecSD(n,1,k);
  set M = DecSD(m,1,k)then  rngFrng  as  setjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
A4: 1 in Seg 1 by FINSEQ_1:1;
  then
A5: DigA((M '+' N),1) = Add(M,N,1,k) by Def14
.=SD_Add_Data(   =hwhere hisFunction   Xrg : h isoneo-e &for xst xinX
  N,1 -'1)) by A1,A4,Def13
    .= SD_Add_Data(DigA(M,1)+DigA(N,1),k) + SD_Add_Carry(DigA(M,0)+DigA(N,1
  -1))byXREAL_1:32
    .= SD_Add_Data(DigA(M,1)+DigA(N,1),k) + SD_Add_Carry(DigA(M,0)+DigA(N,0)
  ) by XREAL_1:232
    .= SD_Add_Data(DigA(M,1)+DigA(N,1),k) rng F9=rng F;
    .= SD_Add_Data(DigA(M,1)+DigA(N,1),k) + 0 by Def3,Th17
    .= SD_Add_Data(m+DigA(N,1),k) by A2,Th20
    .= SD_Add_Data(m+n,k) by A3,Th20;
A6: (DigitSD(M  then consider Xf be XFinSequence of INT that
    .= (Radix(k) |^ 0)*DigA((M '+' N),1) by XREAL_1:232
    .= 1*DigA((M '+' N),1) by NEWTON:4
    .= SD_Add_Data(m+n,k) by A5;
  reconsider w = SD_Add_Data(m+n,k) as Element of INT by INT_1:def 2;
A7:len (igitSD( ''N    then
  1 in Seg 1 by FINSEQ_1:1;
 then 1in  DigitSD(M''Nby,INSEQ_1d 3;
  then M'+N).1  (+  then DigitSD(M '+' N).1 = SD_Add_Data(m+n,k
  then SDDec(M '+' N) = Sum       let;
    .= SD_Add_Data(m+n,k) by  assume
  hence thesis;
;

theorem
  nst n =1holds for,x,y st > 2 & x  n,k &
y is_represented_by n,k holdsA6 len <%c%>1 by :;
  (Radix(k) |^ n)* SD_Add_Carry(DigA(DecSD(x,n,k),n)+DigA(DecSD(y,n,k),n))
proof
  defpred P[Nat] means for k,x,y be Nat st k >= 2 & x is_represented_by $1A7 tn=cf). 
y is_represented_by $1,k holds x + y = (SDDec(DecSD(       = b A37A38,:2;
+Radix(k ^ $)*SD_Add_Carry(DigA(DecSD(,$1,k),1thengn > by A29java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  let n;
  assume
set XF=<cA40: 0g.< c*n byA26;;
A2: for n be Nat st n >= 1 & P[n] holds P[n+1]
  proof
    let n be Nat;
    assume that
A3: n >= 1 and
A4: P[n];
A5  in Seg  by A3,INSEQ_13
      (-1)*Sum Xf =Sum F1 by AFINSQ_2:64;
A6: n+1 in Seg (n+1) by         hence g9.n <= c*g.n & g9.n >= 0 by A34,A40;
    set z = DecSD(x,(n+1),k) '+' DecSD(y,(n+1),k);
    set yn = y mod (Radix(k) |^ n);
    set xn = x mod (      suppose
    assume that
A7 k >=A41:   t. > c*.
A8: x is_represented_by (n+1),k and
A9: y is_represented_by (n+1),k;
setzn  DecSD(,nk)''DecSD(yn,,)
   .addint.addint **"<c>,addint "**" F1) by AFINSQ_2:50
11:lenDigitSDz  + by : java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
A12: for i be Nat st 1 <= i & i <= len DigitSD(z)then
    DigitSD(zn))^<*SubDigit(z,n+1,k)*>).i

      let i be Nat;
      assume that
   =i and
A14:  i <= len DigitSD(2:50;
A15:  i -'1 = i - 1 by A13,XREAL_1:233;
A16:  i <= n+1 by A14,CARD_1:def 7;
      then
A17     (+)by A13,:1;
      then
A18:  i in dom len F1=card X by,
      per cases by A17,FINSEQ_2:7;
      suppose
A19:    i in Seg n;
        then
A20:    i in dom DigitSD(zn) by A10,FINSEQ_1:def 3;
        then
java.lang.StringIndexOutOfBoundsException: Range [20, 17) out of bounds for length 17
_1:ef7
          .= (DigitSD(zn))/:n in dom XF;
          . SubDigit(znik  A19,ef6
          .= (Radix(k) |^ (i -'1)) *Add(DecSD(xn,n,k),DecSD(yn,n,k),i,k) by A19
,Def14
          .= (Radix(k) |^ (i -'1)) *(SD_Add_Data(DigA(DecSD(xn,n,k),i) +
DigA  suppose
        yn,n,k),i -'1))) by A7,A19,Def13;
:DigitSD(z)i  (igitSDz)/i      suppose
          .= SubDigit(z,i,k) by A17,Def6
          .= (Radix(       t. <= c*njava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
        k) by A17,Def14
          .= (Radix(k) |^ (i -'1)) *(SD_Add_Data(DigA(DecSD(x,(n+1),k),i) +
(DecSD(y,(+),k)i),k)+ SD_Add_Carry(DigA(DecSD(x,(n+),k, -1)  DigA(
        DecSD(y,(n+1),k),i -'1))) by A7,A17,Def13;
        now
          per cases by A13,XXREAL_0:1;
          suppose
A23:        i = 1;
            then
A24:        ((DigitSD(zn))^<*SubDigit(z,n+1,k)*>).i = ( Radix(k) |^ (i -'
1)) *(SD_Add_Data(DigA(DecSD(xn,n,k),i) + DigA(DecSD(yn,n,k),i),k) +
SD_Add_Carry(DigA(DecSD(xn,n,k),i -'1) + DigA(DecSD(yn,n,k),0))) by A21,
XREAL_1:
              .= (Radix(k) |^ (i -'1)) *(SD_Add_Data(DigA(DecSD(xn,n,k),i) +
DigA(DecSD(yn,n,k),i),k) + SD_Add_Carry(DigA(DecSD(xn,n,k),0) + DigA    n1+=;
            ,k),0))) by A23,XREAL_1:232
              .= (Radix(k) |^ (i -'1)) *(SD_Add_Data(DigA(DecSD(xn,n,k),i) +
DigA(DecSD(yn,n,k),i),k) + SD_Add_Carry(DigA(DecSD(xn,n,k),0) + 0)) by Def3
              .= (Radix(k) |^ (i -'1)) *(SD_Add_Data(DigA(DecSD(xn,n,k),i) +
            DigA(DecSD(yn,n,k),i),k)+0) by Def3,Th17;
            DigitSD(z).i = (Radix(k) |^ (i -'1)) *(SD_Add_Data(DigA(DecSD
(x,(n+1),    <len XF ,java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 33
            k),i -'1) + DigA(DecSD(y,(n+1),k),0))) by A22,A23,XREAL_1:232
              ()| ( -'1))*(SD_Add_Data((DecSD(x,(java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 76
) + DigA(DecSD(y,(n+1),k),i),k) + SD_Add_Carry(DigA(DecSD(x,(n+1),k),0) + DigA(
            DecSD(y,(n+1),k),0))) by A23,XREAL_1:232
              .=:: disorders
) + DigA(DecSD(y,(n+1),k),i),k) + SD_Add_Carry(DigA(DecSD(x,(n+1),k),0) + 0))
            by Def3
              .= (Radix(k) |^ (i -'1)) *(SD_Add_Data(DigA(DecSD(x,(n+1),k),i
            ) + DigA(DecSD(y,(n+1),k),i),k)+0) by Def3,Th17
              .= (Radix(k) |^ (i -'1)) *(SD_Add_Data(DigA(DecSD(xn,n,k),i) +
            DigA(DecSD(y,(n+1),k),i),k)) by A19,Lm3
              .= (Radix(k) |^ (i -'1)) *(SD_Add_Data(DigA(DecSD(xn,n,k),i) +
            DigA(DecSD(yn,n,k),i),k)) by A19,Lm3;
            hence thesis by A24;
          end;
          suppose
A25:        i > 1;
A26:        i - 1 <= n by A16,XREAL_1:20;
           -1>  byA25,AT_D:;
            then
A27:        i -'1 in Seg n by A15,A26,FINSEQ_1:1;
            DigitSD(z).i = (Radix(k) |^ (i -'1)) *(SD_Add_Data(DigA(DecSD
(xn,n,k),i) + DigA(DecSD(y,(n+1),k),i),k) + SD_Add_Carry(DigA(DecSD(x,(n+1),k),
            i  set S1=h where h is Function of X,X is -oone& for x st x in X
              .= (Radix(k) |^ (i -'1)) *(SD_Add_Data(DigA(DecSD(xn,n,k),i) +
holdsh.>id X)x}java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
            DecSD  set S2=hwhere his Function of X,X:his one-o-ne& for xst  in X
              .= (Radix(k) |^ (i -'1)) *(SD_Add_Data(DigA(DecSD(xn,n,k),i) +
DigA  holds h.x<>x};
            y,(n+1),k),i -'1))) by A27,Lm3
              .= (java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 12
DigA(DecSD(yn,n,k),i),k) + SD_Add_Carry(DigA(DecSD(xn,n,k),i -'1) + DigA(DecSDproof
            yn,n,k),i -'1))) by A27,Lm3;
            hence thesis by A21;
          end;
        end;
        hence thesis;
      end;
      suppose
A28:    i = n+1;
        then ((DigitSD(zn)java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
        SubDigit(z,n+,k*>).(len (DigitSD(zn)))+)byCARD_1:def java.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
          .= SubDigit(z,n+1,k)A3:for y sty in X hy<y;
. D(z)).n+1)by A6,
          .= DigitSD     for y st y inX  (id X).y>. by A3FUNCT_1:7java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
        hence thesis by A28;
      end;
            thus   ;
A29: SubDigit(z,n+1,k) = (Radix(k) |^ n)*DigB(z,(n+1)) by NAT_D:34;
A30: Radix(k) > 0 by POWER:34;
    then
A31:x =
    by NAT_D:2,PREPOWER:6;
    set y1 = y div (Radix(k) |^ n);
    set x1 = x div (  S1 c= S2
A32: len <*SubDigit(z,n+1,k)*> = 1 by FINSEQ_1:39;
A33: DigA(DecSD(y,(n+1),k),n+1) = y1 by A9, proof
    yn < Radix(k) |^ n by A30,NAT_D:1,PREPOWER:6;
    then
A34: yn is_represented_by n,java.lang.StringIndexOutOfBoundsException: Range [28, 20) out of bounds for length 20
    xn < Radix(k) |^ n by A30,NAT_D:1,PREPOWER:6;
    then
A35: xn is_represented_by n,k;
    n)^<*ubDigit(z,n+,k)*)  lenDigitSD(zn)  len *
    SubDigit(z,n+1,k)*> by FINSEQ_1:22
      .= n+1 by A32,CARD_1:def 7;
    then len     then consider h be Function of XXsuch that
CARD_1:def 7;
    then DigitSD(z) = DigitSD(zn)^<*SubDigit(z,n+1,k)*> by A12,FINSEQ_1:14;
then SDDec(z)=(Radix(k) |^ n)*DigB(z,(n+1) +Sum DigitSD(zn)byA29,
RVSUM_1:74
      .= Add(DecSD(x,(n+1),k),DecSD(y,(n+1),k),(n+1),k)*(Radix      let y such that
    Sum DigitSD(zn) by A6,Def14
      .= (SD_Add_Data(DigA(DecSD(x,(n+1),k),(n+1)) + DigA(DecSD(y,(A47:java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
n+))k +(DigA(DecSD(x,n+)k,n+)') + DigA(DecSD(,n+,k)
       (n+)-1)))(Radix(k |n)+Sum DigitSD(zn)by ,A7,Def13
      .= (SD_Add_Data(DigA(DecSD(x,(n+1),k),(n+1)) + DigA(DecSD(y,(n+1),k),(
n+)k +D_Add_Carry(DigA((,n)k,n)-1) + DecSDy,n+)k)
    ,n)))*(Radix(k) |^ n) + Sum DigitSD(zn) by NAT_D:34
      .= (SD_Add_Data(DigA(DecSD(x,(n+1),k),(n+1)) + DigA(DecSD(y,(n+1),k),(
n+1)),k(igA(DecSD(x,n+)k),n)+ DigA(DecSD
    Radix(k) |^ n) + Sum DigitSD(zn) by NAT_D:34
      .= (SD_Add_Data(DigA(DecSD(x,(n+1),k),(n+1)) + DigA(DecSD        hence t. = f9n+. by A46A;
n1)),k)+ SD_Add_Carry((ecSDxn,,)n      nd;
    Radix(k)e
      .= (SD_Add_Data(DigA  end;
n+1)),k) + SD_Add_Carry(DigA(DecSD(xn,n,k),n) + DigA(DecSD(yn,n,k),n)))*(Radix(
    k)| Sum DigitSD()by ,m3
      .= (SD_Add_Data(x1+y1,k)+ SD_Add_Carry(DigA(DecSD(xn,n,k),n) + DigA(
    DecSD(yn,n,k),n)))*(Radix(k) |^ n) + Sum DigitSD(zn) by A8,A33,Th23
      .= SD_Add_Data(x1+y1,k)*(Radix(k) |^ n) + (SD_Add_Carry(DigA(DecSD(xn,
n,k),n)+DigA(DecSD(yn,n,k),n)) *(Radix(k) |^ n)+(SDDec(DecSD(xn,n,kend
    ,n,k))))
      .= SD_Add_Data(x1+y1,k)*(Radix(k) |^ n) + (xn + yn) by A4,A7,A35,A34
      .= SD_Add_Data(x1+y1,k)*(Radix(k) |^ n) + xn + yn;
    then SDDec(z) + SD_Add_Carry(x1+y1)*(Radix(k) |^ (n+1)) = SD_Add_Data(x1+
    y1,k)*(Radix(k) |^ n) + SD_Add_Carry(x1+y1)*(Radix(k) |^ (n+1))+ xn + yn
      .= SD_Add_Data(x1+y1,k)*(Radix(k) |^ n) + SD_Add_Carry(x1+y1)*((Radix(
    k) |^ n)*Radix(k)) + xn + yn by NEWTON:6
      .= (x1*(Radix(k) |^ n) + xn) + (y1*(Radix(k) |^ n) + yn)
      .= x + y by A30,A31,NAT_D:2,PREPOWER:6;
    hence thesis by A8,A33,Th23;
  end;
A36: P[1]
  proof
    let k,x,y be Nat;
    assume k >= 2 & x is_represented_by 1,k & y is_represented_by 1,k;
    then
A37: SDDec(DecSD(x,1,k)'+'DecSD(y,1,k)) = SD_Add_Data(x + y,k) &
SD_Add_Carry( DigA(DecSD(x,1,k),1)+DigA(DecSD(y,1,k),1)) = SD_Add_Carry(x+y)
by Th22,Th24;
    thus thesis by A37;
  end;
  for n be Nat st n >= 1 holds P[n] from NAT_1:sch 8(A36,java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 51
  hence thesis by A1;
end;

Messung
CHZG
8010010093

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.40Angebot  ¤

*Eine klare Vorstellung vom Zielzustand







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,139
#Domains=864,113