:: RADIX_5 semantic presentation
:: Showing IDV graph ... (Click the Palm Trees again to close it)
theorem Th1: :: RADIX_5:1
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th2: :: RADIX_5:2
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th3: :: RADIX_5:3
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th4: :: RADIX_5:4
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th5: :: RADIX_5:5
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: RADIX_5:6
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th7: :: RADIX_5:7
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th8: :: RADIX_5:8
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: RADIX_5:9
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th10: :: RADIX_5:10
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th11: :: RADIX_5:11
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
Lm1:
for k being Nat st 2 <= k holds
SD_Add_Carry ((Radix k) - 1) = 1
Lm2:
for n, k, i being Nat st k >= 2 & i in Seg n holds
SD_Add_Carry (DigA (DecSD 1,n,k),i) = 0
theorem Th12: :: RADIX_5:12
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: RADIX_5:13
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th14: :: RADIX_5:14
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
n being
Nat st
n >= 1 holds
for
k being
Nat st
k >= 2 holds
for
tx,
ty,
tz,
tw being
Tuple of
n,
(k -SD ) st ( for
i being
Nat holds
( not
i in Seg n or (
DigA tx,
i = DigA tz,
i &
DigA ty,
i = DigA tw,
i ) or (
DigA ty,
i = DigA tz,
i &
DigA tx,
i = DigA tw,
i ) ) ) holds
(SDDec tz) + (SDDec tw) = (SDDec tx) + (SDDec ty)
theorem :: RADIX_5:15
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
n,
k being
Nat st
n >= 1 &
k >= 2 holds
for
tx,
ty,
tz being
Tuple of
n,
(k -SD ) st ( for
i being
Nat holds
( not
i in Seg n or (
DigA tx,
i = DigA tz,
i &
DigA ty,
i = 0 ) or (
DigA ty,
i = DigA tz,
i &
DigA tx,
i = 0 ) ) ) holds
(SDDec tz) + (SDDec (DecSD 0,n,k)) = (SDDec tx) + (SDDec ty)
:: deftheorem Def1 defines SDMinDigit RADIX_5:def 1 :
definition
let n,
m,
k be
Nat;
func SDMin n,
m,
k -> Tuple of
n,
(k -SD ) means :
Def2:
:: RADIX_5:def 2
for
i being
Nat st
i in Seg n holds
DigA it,
i = SDMinDigit m,
k,
i;
existence
ex b1 being Tuple of n,(k -SD ) st
for i being Nat st i in Seg n holds
DigA b1,i = SDMinDigit m,k,i
uniqueness
for b1, b2 being Tuple of n,(k -SD ) st ( for i being Nat st i in Seg n holds
DigA b1,i = SDMinDigit m,k,i ) & ( for i being Nat st i in Seg n holds
DigA b2,i = SDMinDigit m,k,i ) holds
b1 = b2
end;
:: deftheorem Def2 defines SDMin RADIX_5:def 2 :
:: deftheorem Def3 defines SDMaxDigit RADIX_5:def 3 :
definition
let n,
m,
k be
Nat;
func SDMax n,
m,
k -> Tuple of
n,
(k -SD ) means :
Def4:
:: RADIX_5:def 4
for
i being
Nat st
i in Seg n holds
DigA it,
i = SDMaxDigit m,
k,
i;
existence
ex b1 being Tuple of n,(k -SD ) st
for i being Nat st i in Seg n holds
DigA b1,i = SDMaxDigit m,k,i
uniqueness
for b1, b2 being Tuple of n,(k -SD ) st ( for i being Nat st i in Seg n holds
DigA b1,i = SDMaxDigit m,k,i ) & ( for i being Nat st i in Seg n holds
DigA b2,i = SDMaxDigit m,k,i ) holds
b1 = b2
end;
:: deftheorem Def4 defines SDMax RADIX_5:def 4 :
:: deftheorem Def5 defines FminDigit RADIX_5:def 5 :
definition
let n,
m,
k be
Nat;
func Fmin n,
m,
k -> Tuple of
n,
(k -SD ) means :
Def6:
:: RADIX_5:def 6
for
i being
Nat st
i in Seg n holds
DigA it,
i = FminDigit m,
k,
i;
existence
ex b1 being Tuple of n,(k -SD ) st
for i being Nat st i in Seg n holds
DigA b1,i = FminDigit m,k,i
uniqueness
for b1, b2 being Tuple of n,(k -SD ) st ( for i being Nat st i in Seg n holds
DigA b1,i = FminDigit m,k,i ) & ( for i being Nat st i in Seg n holds
DigA b2,i = FminDigit m,k,i ) holds
b1 = b2
end;
:: deftheorem Def6 defines Fmin RADIX_5:def 6 :
:: deftheorem Def7 defines FmaxDigit RADIX_5:def 7 :
definition
let n,
m,
k be
Nat;
func Fmax n,
m,
k -> Tuple of
n,
(k -SD ) means :
Def8:
:: RADIX_5:def 8
for
i being
Nat st
i in Seg n holds
DigA it,
i = FmaxDigit m,
k,
i;
existence
ex b1 being Tuple of n,(k -SD ) st
for i being Nat st i in Seg n holds
DigA b1,i = FmaxDigit m,k,i
uniqueness
for b1, b2 being Tuple of n,(k -SD ) st ( for i being Nat st i in Seg n holds
DigA b1,i = FmaxDigit m,k,i ) & ( for i being Nat st i in Seg n holds
DigA b2,i = FmaxDigit m,k,i ) holds
b1 = b2
end;
:: deftheorem Def8 defines Fmax RADIX_5:def 8 :
theorem Th16: :: RADIX_5:16
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: RADIX_5:17
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: RADIX_5:18
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: RADIX_5:19
:: Showing IDV graph ... (Click the Palm Tree again to close it) 