let I be Program of ; ( I is parahalting implies I is paraclosed )
assume Z:
I is parahalting
; I is paraclosed
let s be 0 -started State of SCM+FSA; AMISTD_1:def 10 for b1 being set holds
( not I c= b1 or for b2 being Element of NAT holds IC (Comput (b1,s,b2)) in K325(NAT,I) )
let P be Instruction-Sequence of SCM+FSA; ( not I c= P or for b1 being Element of NAT holds IC (Comput (P,s,b1)) in K325(NAT,I) )
assume A2:
I c= P
; for b1 being Element of NAT holds IC (Comput (P,s,b1)) in K325(NAT,I)
let n be Element of NAT ; IC (Comput (P,s,n)) in K325(NAT,I)
defpred S1[ Nat] means not IC (Comput (P,s,c1)) in dom I;
assume
not IC (Comput (P,s,n)) in dom I
; contradiction
then A4:
ex n being Nat st S1[n]
;
consider n being Nat such that
A5:
S1[n]
and
A6:
for m being Nat st S1[m] holds
n <= m
from NAT_1:sch 5(A4);
reconsider n = n as Element of NAT by ORDINAL1:def 12;
A7:
for m being Element of NAT st m < n holds
IC (Comput (P,s,m)) in dom I
by A6;
set s2 = Comput (P,s,n);
set s0 = s;
set s1 = Comput (P,s,n);
set P0 = P +* ((IC (Comput (P,s,n))),(goto (IC (Comput (P,s,n)))));
A13:
I c= P +* ((IC (Comput (P,s,n))),(goto (IC (Comput (P,s,n)))))
by A5, A2, FUNCT_7:89;
then B14:
Comput ((P +* ((IC (Comput (P,s,n))),(goto (IC (Comput (P,s,n)))))),s,n) = Comput (P,s,n)
by A7, A2, AMISTD_2:10;
B15:
not P +* ((IC (Comput (P,s,n))),(goto (IC (Comput (P,s,n))))) halts_on Comput ((P +* ((IC (Comput (P,s,n))),(goto (IC (Comput (P,s,n)))))),s,n)
by B14, Lm45;
P +* ((IC (Comput (P,s,n))),(goto (IC (Comput (P,s,n))))) halts_on s
by A13, Z, AMISTD_1:def 11;
hence
contradiction
by B15, EXTPRO_1:22; verum