:: BINARITH semantic presentation :: Showing IDV graph ... (Click the Palm Trees again to close it)
Lm1:
for i, j being Nat holds addnat . i,j = i + j
by BINOP_2:def 23;
theorem :: BINARITH:1 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem Th2: :: BINARITH:2 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th3: :: BINARITH:3 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:4 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem :: BINARITH:5 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem defines 'or' BINARITH:def 1 :
:: deftheorem defines 'xor' BINARITH:def 2 :
theorem :: BINARITH:6 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem Th7: :: BINARITH:7 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:8 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem Th9: :: BINARITH:9 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th10: :: BINARITH:10 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:11 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem :: BINARITH:12 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:13 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:14 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th15: :: BINARITH:15 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th16: :: BINARITH:16 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th17: :: BINARITH:17 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th18: :: BINARITH:18 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th19: :: BINARITH:19 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th20: :: BINARITH:20 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th21: :: BINARITH:21 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th22: :: BINARITH:22 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th23: :: BINARITH:23 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:24 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th25: :: BINARITH:25 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th26: :: BINARITH:26 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:27 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:28 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem :: BINARITH:29 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem :: BINARITH:30 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem :: BINARITH:31 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem :: BINARITH:32 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem Th33: :: BINARITH:33 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th34: :: BINARITH:34 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:35 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:36 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:37 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:38 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem Def3 defines -' BINARITH:def 3 :
theorem Th39: :: BINARITH:39 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem defines 'not' BINARITH:def 4 :
:: deftheorem Def5 defines carry BINARITH:def 5 :
definition
let n be
Nat;
let x be
Tuple of
n,
BOOLEAN ;
func Binary x -> Tuple of
n,
NAT means :
Def6:
:: BINARITH:def 6
for
i being
Nat st
i in Seg n holds
it /. i = IFEQ (x /. i),
FALSE ,0,
(2 to_power (i -' 1));
existence
ex b1 being Tuple of n,NAT st
for i being Nat st i in Seg n holds
b1 /. i = IFEQ (x /. i),FALSE ,0,(2 to_power (i -' 1))
uniqueness
for b1, b2 being Tuple of n,NAT st ( for i being Nat st i in Seg n holds
b1 /. i = IFEQ (x /. i),FALSE ,0,(2 to_power (i -' 1)) ) & ( for i being Nat st i in Seg n holds
b2 /. i = IFEQ (x /. i),FALSE ,0,(2 to_power (i -' 1)) ) holds
b1 = b2
end;
:: deftheorem Def6 defines Binary BINARITH:def 6 :
:: deftheorem defines Absval BINARITH:def 7 :
definition
let n be non
empty Nat;
let x,
y be
Tuple of
n,
BOOLEAN ;
func x + y -> Tuple of
n,
BOOLEAN means :
Def8:
:: BINARITH:def 8
for
i being
Nat st
i in Seg n holds
it /. i = ((x /. i) 'xor' (y /. i)) 'xor' ((carry x,y) /. i);
existence
ex b1 being Tuple of n,BOOLEAN st
for i being Nat st i in Seg n holds
b1 /. i = ((x /. i) 'xor' (y /. i)) 'xor' ((carry x,y) /. i)
uniqueness
for b1, b2 being Tuple of n,BOOLEAN st ( for i being Nat st i in Seg n holds
b1 /. i = ((x /. i) 'xor' (y /. i)) 'xor' ((carry x,y) /. i) ) & ( for i being Nat st i in Seg n holds
b2 /. i = ((x /. i) 'xor' (y /. i)) 'xor' ((carry x,y) /. i) ) holds
b1 = b2
end;
:: deftheorem Def8 defines + BINARITH:def 8 :
:: deftheorem defines add_ovfl BINARITH:def 9 :
:: deftheorem Def10 defines are_summable BINARITH:def 10 :
theorem Th40: :: BINARITH:40 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th41: :: BINARITH:41 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th42: :: BINARITH:42 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th43: :: BINARITH:43 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th44: :: BINARITH:44 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th45: :: BINARITH:45 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th46: :: BINARITH:46 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th47: :: BINARITH:47 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:48 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:49 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:50 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:51 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:52 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: BINARITH:53 :: Showing IDV graph ... (Click the Palm Tree again to close it)