:: RADIX_2 semantic presentation :: Showing IDV graph ... (Click the Palm Trees again to close it)
theorem :: RADIX_2:1 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th2: :: RADIX_2:2 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th3: :: RADIX_2:3 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th4: :: RADIX_2:4 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th5: :: RADIX_2:5 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th6: :: RADIX_2:6 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th7: :: RADIX_2:7 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th8: :: RADIX_2:8 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th9: :: RADIX_2:9 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th10: :: RADIX_2:10 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: RADIX_2:11 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem defines SubDigit2 RADIX_2:def 1 :
definition
let n,
k be
Nat;
let x be
Tuple of
n,
NAT ;
func DigitSD2 x,
k -> Tuple of
n,
NAT means :
Def2:
:: RADIX_2:def 2
for
i being
Nat st
i in Seg n holds
it /. i = SubDigit2 x,
i,
k;
existence
ex b1 being Tuple of n,NAT st
for i being Nat st i in Seg n holds
b1 /. i = SubDigit2 x,i,k
uniqueness
for b1, b2 being Tuple of n,NAT st ( for i being Nat st i in Seg n holds
b1 /. i = SubDigit2 x,i,k ) & ( for i being Nat st i in Seg n holds
b2 /. i = SubDigit2 x,i,k ) holds
b1 = b2
end;
:: deftheorem Def2 defines DigitSD2 RADIX_2:def 2 :
:: deftheorem defines SDDec2 RADIX_2:def 3 :
:: deftheorem defines DigitDC2 RADIX_2:def 4 :
definition
let k,
n,
x be
Nat;
func DecSD2 x,
n,
k -> Tuple of
n,
NAT means :
Def5:
:: RADIX_2:def 5
for
i being
Nat st
i in Seg n holds
it . i = DigitDC2 x,
i,
k;
existence
ex b1 being Tuple of n,NAT st
for i being Nat st i in Seg n holds
b1 . i = DigitDC2 x,i,k
uniqueness
for b1, b2 being Tuple of n,NAT st ( for i being Nat st i in Seg n holds
b1 . i = DigitDC2 x,i,k ) & ( for i being Nat st i in Seg n holds
b2 . i = DigitDC2 x,i,k ) holds
b1 = b2
end;
:: deftheorem Def5 defines DecSD2 RADIX_2:def 5 :
theorem Th12: :: RADIX_2:12 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th13: :: RADIX_2:13 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th14: :: RADIX_2:14 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th15: :: RADIX_2:15 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem defines Table1 RADIX_2:def 6 :
definition
let q be
Integer;
let k,
f,
n be
Nat;
let c be
Tuple of
n,
(k -SD );
assume A1:
n >= 1
;
func Mul_mod q,
c,
f,
k -> Tuple of
n,
INT means :
Def7:
:: RADIX_2:def 7
(
it . 1
= Table1 q,
c,
f,
n & ( for
i being
Nat st 1
<= i &
i <= n - 1 holds
ex
I1,
I2 being
Integer st
(
I1 = it . i &
I2 = it . (i + 1) &
I2 = (((Radix k) * I1) + (Table1 q,c,f,(n -' i))) mod f ) ) );
existence
ex b1 being Tuple of n,INT st
( b1 . 1 = Table1 q,c,f,n & ( for i being Nat st 1 <= i & i <= n - 1 holds
ex I1, I2 being Integer st
( I1 = b1 . i & I2 = b1 . (i + 1) & I2 = (((Radix k) * I1) + (Table1 q,c,f,(n -' i))) mod f ) ) )
uniqueness
for b1, b2 being Tuple of n,INT st b1 . 1 = Table1 q,c,f,n & ( for i being Nat st 1 <= i & i <= n - 1 holds
ex I1, I2 being Integer st
( I1 = b1 . i & I2 = b1 . (i + 1) & I2 = (((Radix k) * I1) + (Table1 q,c,f,(n -' i))) mod f ) ) & b2 . 1 = Table1 q,c,f,n & ( for i being Nat st 1 <= i & i <= n - 1 holds
ex I1, I2 being Integer st
( I1 = b2 . i & I2 = b2 . (i + 1) & I2 = (((Radix k) * I1) + (Table1 q,c,f,(n -' i))) mod f ) ) holds
b1 = b2
end;
:: deftheorem Def7 defines Mul_mod RADIX_2:def 7 :
for
q being
Integer for
k,
f,
n being
Nat for
c being
Tuple of
n,
(k -SD ) st
n >= 1 holds
for
b6 being
Tuple of
n,
INT holds
(
b6 = Mul_mod q,
c,
f,
k iff (
b6 . 1
= Table1 q,
c,
f,
n & ( for
i being
Nat st 1
<= i &
i <= n - 1 holds
ex
I1,
I2 being
Integer st
(
I1 = b6 . i &
I2 = b6 . (i + 1) &
I2 = (((Radix k) * I1) + (Table1 q,c,f,(n -' i))) mod f ) ) ) );
theorem :: RADIX_2:16 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem defines Table2 RADIX_2:def 8 :
definition
let k,
f,
m,
n be
Nat;
let e be
Tuple of
n,
NAT ;
assume A1:
n >= 1
;
func Pow_mod m,
e,
f,
k -> Tuple of
n,
NAT means :
Def9:
:: RADIX_2:def 9
(
it . 1
= Table2 m,
e,
f,
n & ( for
i being
Nat st 1
<= i &
i <= n - 1 holds
ex
i1,
i2 being
Nat st
(
i1 = it . i &
i2 = it . (i + 1) &
i2 = (((i1 |^ (Radix k)) mod f) * (Table2 m,e,f,(n -' i))) mod f ) ) );
existence
ex b1 being Tuple of n,NAT st
( b1 . 1 = Table2 m,e,f,n & ( for i being Nat st 1 <= i & i <= n - 1 holds
ex i1, i2 being Nat st
( i1 = b1 . i & i2 = b1 . (i + 1) & i2 = (((i1 |^ (Radix k)) mod f) * (Table2 m,e,f,(n -' i))) mod f ) ) )
uniqueness
for b1, b2 being Tuple of n,NAT st b1 . 1 = Table2 m,e,f,n & ( for i being Nat st 1 <= i & i <= n - 1 holds
ex i1, i2 being Nat st
( i1 = b1 . i & i2 = b1 . (i + 1) & i2 = (((i1 |^ (Radix k)) mod f) * (Table2 m,e,f,(n -' i))) mod f ) ) & b2 . 1 = Table2 m,e,f,n & ( for i being Nat st 1 <= i & i <= n - 1 holds
ex i1, i2 being Nat st
( i1 = b2 . i & i2 = b2 . (i + 1) & i2 = (((i1 |^ (Radix k)) mod f) * (Table2 m,e,f,(n -' i))) mod f ) ) holds
b1 = b2
end;
:: deftheorem Def9 defines Pow_mod RADIX_2:def 9 :
for
k,
f,
m,
n being
Nat for
e being
Tuple of
n,
NAT st
n >= 1 holds
for
b6 being
Tuple of
n,
NAT holds
(
b6 = Pow_mod m,
e,
f,
k iff (
b6 . 1
= Table2 m,
e,
f,
n & ( for
i being
Nat st 1
<= i &
i <= n - 1 holds
ex
i1,
i2 being
Nat st
(
i1 = b6 . i &
i2 = b6 . (i + 1) &
i2 = (((i1 |^ (Radix k)) mod f) * (Table2 m,e,f,(n -' i))) mod f ) ) ) );
theorem :: RADIX_2:17 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
n being
Nat st
n >= 1 holds
for
m,
k,
f,
ie being
Nat st
ie is_represented_by n,
k &
f > 0 holds
for
e being
Tuple of
n,
NAT st
e = DecSD2 ie,
n,
k holds
(Pow_mod m,e,f,k) . n = (m |^ ie) mod f