set O = NAT \/ {NAT };
NAT in {NAT } by TARSKI:def 1;
then reconsider IC1 = NAT as Element of NAT \/ {NAT } by XBOOLE_0:def 3;
set IL = NAT ;
( 0 in {0 ,1} & 1 in {0 ,1} & 0 in ((union N) \/ (NAT \/ {NAT })) * ) by FINSEQ_1:66, TARSKI:def 2;
then ( [1,0 ] in [:NAT ,(((union N) \/ (NAT \/ {NAT })) * ):] & [0 ,0 ] in [:NAT ,(((union N) \/ (NAT \/ {NAT })) * ):] ) by ZFMISC_1:106;
then reconsider ins = {[1,0 ],[0 ,0 ]} as non empty Subset of [:NAT ,(((union N) \/ (NAT \/ {NAT })) * ):] by ZFMISC_1:38;
A1: dom ((NAT --> ins) +* (NAT .--> NAT )) = NAT \/ {NAT } by Lm3;
A2: rng (NAT --> ins) = {ins} by FUNCOP_1:14;
rng (NAT .--> NAT ) = {NAT } by FUNCOP_1:14;
then A3: rng ((NAT --> ins) +* (NAT .--> NAT )) c= {ins} \/ {NAT } by A2, FUNCT_4:18;
{ins} \/ {NAT } = {ins,NAT } by ENUMSET1:41;
then {ins} \/ {NAT } c= N \/ {ins,NAT } by XBOOLE_1:7;
then rng ((NAT --> ins) +* (NAT .--> NAT )) c= N \/ {ins,NAT } by A3, XBOOLE_1:1;
then reconsider Ok = (NAT --> ins) +* (NAT .--> NAT ) as Function of (NAT \/ {NAT }),(N \/ {ins,NAT }) by A1, FUNCT_2:def 1, RELSET_1:11;
deffunc H1( Element of product Ok) -> set = $1 +* (NAT .--> (succ ($1 . NAT )));
A4: now
let s be Element of product Ok; :: thesis: H1(s) in product Ok
now
thus dom (s +* (NAT .--> (succ (s . NAT )))) = (dom s) \/ (dom (NAT .--> (succ (s . NAT )))) by FUNCT_4:def 1
.= (dom s) \/ {NAT } by FUNCOP_1:19
.= (dom Ok) \/ {NAT } by CARD_3:18
.= dom Ok by A1, XBOOLE_1:7, XBOOLE_1:12 ; :: thesis: for o being set st o in dom Ok holds
(s +* (NAT .--> (succ (s . NAT )))) . b2 in Ok . b2

let o be set ; :: thesis: ( o in dom Ok implies (s +* (NAT .--> (succ (s . NAT )))) . b1 in Ok . b1 )
assume A5: o in dom Ok ; :: thesis: (s +* (NAT .--> (succ (s . NAT )))) . b1 in Ok . b1
then A6: ( o in NAT or o in {NAT } ) by XBOOLE_0:def 3;
A7: dom (NAT .--> (succ (s . NAT ))) = {NAT } by FUNCOP_1:19;
per cases ( o in NAT or o = NAT ) by A6, TARSKI:def 1;
suppose o in NAT ; :: thesis: (s +* (NAT .--> (succ (s . NAT )))) . b1 in Ok . b1
end;
suppose A8: o = NAT ; :: thesis: (s +* (NAT .--> (succ (s . NAT )))) . b1 in Ok . b1
NAT in {NAT } by TARSKI:def 1;
then A9: NAT in dom Ok by A1, XBOOLE_0:def 3;
dom (NAT .--> NAT ) = {NAT } by FUNCOP_1:19;
then A10: NAT in dom (NAT .--> NAT ) by TARSKI:def 1;
A11: NAT in {NAT } by TARSKI:def 1;
A12: Ok . o = (NAT .--> NAT ) . NAT by A8, A10, FUNCT_4:14
.= NAT by A11, FUNCOP_1:13 ;
then reconsider k = s . NAT as Element of NAT by A8, A9, CARD_3:18;
A13: succ k in NAT ;
A14: o in {NAT } by A8, TARSKI:def 1;
then (s +* (NAT .--> (succ (s . NAT )))) . o = (NAT .--> (succ (s . NAT ))) . o by A7, FUNCT_4:14
.= succ (s . NAT ) by A14, FUNCOP_1:13 ;
hence (s +* (NAT .--> (succ (s . NAT )))) . o in Ok . o by A12, A13; :: thesis: verum
end;
end;
end;
hence H1(s) in product Ok by CARD_3:18; :: thesis: verum
end;
consider f being Function of (product Ok),(product Ok) such that
A15: for s being Element of product Ok holds f . s = H1(s) from FUNCT_2:sch 8(A4);
set E = ([1,0 ] .--> f) +* ([0 ,0 ] .--> (id (product Ok)));
A16: dom (([1,0 ] .--> f) +* ([0 ,0 ] .--> (id (product Ok)))) = (dom ([1,0 ] .--> f)) \/ (dom ([0 ,0 ] .--> (id (product Ok)))) by FUNCT_4:def 1
.= {[1,0 ]} \/ (dom ([0 ,0 ] .--> (id (product Ok)))) by FUNCOP_1:19
.= {[1,0 ]} \/ {[0 ,0 ]} by FUNCOP_1:19
.= ins by ENUMSET1:41 ;
A17: rng (([1,0 ] .--> f) +* ([0 ,0 ] .--> (id (product Ok)))) c= (rng ([1,0 ] .--> f)) \/ (rng ([0 ,0 ] .--> (id (product Ok)))) by FUNCT_4:18;
A18: ( rng ([1,0 ] .--> f) c= {f} & rng ([0 ,0 ] .--> (id (product Ok))) c= {(id (product Ok))} ) by FUNCOP_1:19;
rng (([1,0 ] .--> f) +* ([0 ,0 ] .--> (id (product Ok)))) c= Funcs (product Ok),(product Ok)
proof
let e be set ; :: according to TARSKI:def 3 :: thesis: ( not e in rng (([1,0 ] .--> f) +* ([0 ,0 ] .--> (id (product Ok)))) or e in Funcs (product Ok),(product Ok) )
assume e in rng (([1,0 ] .--> f) +* ([0 ,0 ] .--> (id (product Ok)))) ; :: thesis: e in Funcs (product Ok),(product Ok)
then ( e in rng ([1,0 ] .--> f) or e in rng ([0 ,0 ] .--> (id (product Ok))) ) by A17, XBOOLE_0:def 3;
then ( e = f or e = id (product Ok) ) by A18, TARSKI:def 1;
hence e in Funcs (product Ok),(product Ok) by FUNCT_2:12; :: thesis: verum
end;
then reconsider E = ([1,0 ] .--> f) +* ([0 ,0 ] .--> (id (product Ok))) as Function of ins,(Funcs (product Ok),(product Ok)) by A16, FUNCT_2:def 1, RELSET_1:11;
set M = AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #);
take AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) ; :: thesis: ( the carrier of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = NAT \/ {NAT } & the Instruction-Counter of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = NAT & the Instructions of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = {[0 ,0 ],[1,0 ]} & the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = (NAT --> {[1,0 ],[0 ,0 ]}) +* (NAT .--> NAT ) & ex f being Function of (product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)),(product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)) st
( ( for s being Element of product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) holds f . s = s +* (NAT .--> (succ (s . NAT ))) ) & the Execution of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = ([1,0 ] .--> f) +* ([0 ,0 ] .--> (id (product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)))) ) )

thus the carrier of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = NAT \/ {NAT } ; :: thesis: ( the Instruction-Counter of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = NAT & the Instructions of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = {[0 ,0 ],[1,0 ]} & the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = (NAT --> {[1,0 ],[0 ,0 ]}) +* (NAT .--> NAT ) & ex f being Function of (product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)),(product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)) st
( ( for s being Element of product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) holds f . s = s +* (NAT .--> (succ (s . NAT ))) ) & the Execution of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = ([1,0 ] .--> f) +* ([0 ,0 ] .--> (id (product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)))) ) )

thus the Instruction-Counter of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = NAT ; :: thesis: ( the Instructions of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = {[0 ,0 ],[1,0 ]} & the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = (NAT --> {[1,0 ],[0 ,0 ]}) +* (NAT .--> NAT ) & ex f being Function of (product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)),(product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)) st
( ( for s being Element of product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) holds f . s = s +* (NAT .--> (succ (s . NAT ))) ) & the Execution of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = ([1,0 ] .--> f) +* ([0 ,0 ] .--> (id (product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)))) ) )

thus the Instructions of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = {[0 ,0 ],[1,0 ]} ; :: thesis: ( the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = (NAT --> {[1,0 ],[0 ,0 ]}) +* (NAT .--> NAT ) & ex f being Function of (product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)),(product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)) st
( ( for s being Element of product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) holds f . s = s +* (NAT .--> (succ (s . NAT ))) ) & the Execution of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = ([1,0 ] .--> f) +* ([0 ,0 ] .--> (id (product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)))) ) )

thus the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = (NAT --> {[1,0 ],[0 ,0 ]}) +* (NAT .--> NAT ) ; :: thesis: ex f being Function of (product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)),(product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)) st
( ( for s being Element of product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) holds f . s = s +* (NAT .--> (succ (s . NAT ))) ) & the Execution of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = ([1,0 ] .--> f) +* ([0 ,0 ] .--> (id (product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)))) )

reconsider f = f as Function of (product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)),(product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)) ;
take f ; :: thesis: ( ( for s being Element of product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) holds f . s = s +* (NAT .--> (succ (s . NAT ))) ) & the Execution of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = ([1,0 ] .--> f) +* ([0 ,0 ] .--> (id (product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)))) )
thus for s being Element of product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) holds f . s = s +* (NAT .--> (succ (s . NAT ))) by A15; :: thesis: the Execution of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = ([1,0 ] .--> f) +* ([0 ,0 ] .--> (id (product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #))))
thus the Execution of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #) = ([1,0 ] .--> f) +* ([0 ,0 ] .--> (id (product the Object-Kind of AMI-Struct(# (NAT \/ {NAT }),IC1,ins,Ok,E #)))) ; :: thesis: verum