defpred S1[ Nat] means for x being Tuple of $1, BOOLEAN holds Absval ('not' x) = ((- (Absval x)) + (2 to_power $1)) - 1;
A1:
S1[1]
A16:
now let m be non
empty Nat;
( S1[m] implies S1[m + 1] )assume A17:
S1[
m]
;
S1[m + 1]A18:
now let x be
Tuple of
m + 1,
BOOLEAN ;
Absval ('not' x) = ((- (Absval x)) + (2 to_power (m + 1))) - 1consider t being
Element of
m -tuples_on BOOLEAN ,
d being
Element of
BOOLEAN such that A19:
x = t ^ <*d*>
by FINSEQ_2:137;
A20:
Absval ('not' x) =
Absval (('not' t) ^ <*('not' d)*>)
by A19, Th11
.=
(Absval ('not' t)) + (IFEQ ('not' d),FALSE ,0 ,(2 to_power m))
by BINARITH:46
.=
(((- (Absval t)) + (2 to_power m)) - 1) + (IFEQ ('not' d),FALSE ,0 ,(2 to_power m))
by A17
;
A21:
((- (Absval x)) + (2 to_power (m + 1))) - 1
= ((- ((Absval t) + (IFEQ d,FALSE ,0 ,(2 to_power m)))) + (2 to_power (m + 1))) - 1
by A19, BINARITH:46;
thus
Absval ('not' x) = ((- (Absval x)) + (2 to_power (m + 1))) - 1
verum end; thus
S1[
m + 1]
by A18;
verum end;
thus
for m being non empty Nat holds S1[m]
from NAT_1:sch 10(A1, A16); verum