let N be with_non-empty_elements set ; :: thesis: for IL being non empty set
for A being non empty stored-program IC-Ins-separated definite AMI-Struct of IL,N
for I being Instruction of A holds
( I is halting iff Output I is empty )
let IL be non empty set ; :: thesis: for A being non empty stored-program IC-Ins-separated definite AMI-Struct of IL,N
for I being Instruction of A holds
( I is halting iff Output I is empty )
let A be non empty stored-program IC-Ins-separated definite AMI-Struct of IL,N; :: thesis: for I being Instruction of A holds
( I is halting iff Output I is empty )
let I be Instruction of A; :: thesis: ( I is halting iff Output I is empty )
thus
( I is halting implies Output I is empty )
:: thesis: ( Output I is empty implies I is halting )
assume A3:
Output I is empty
; :: thesis: I is halting
let s be State of A; :: according to AMI_1:def 8 :: thesis: Exec I,s = s
A4:
dom s = the carrier of A
by AMI_1:79;
A5:
dom (Exec I,s) = the carrier of A
by AMI_1:79;
assume
Exec I,s <> s
; :: thesis: contradiction
then
ex x being set st
( x in the carrier of A & (Exec I,s) . x <> s . x )
by A4, A5, FUNCT_1:9;
hence
contradiction
by A3, Def3; :: thesis: verum