let I be Program of ; ( I is parahalting implies I is paraclosed )
assume A1:
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 K306(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 K306(NAT,I) )
assume A2:
I c= P
; for b1 being Element of NAT holds IC (Comput (P,s,b1)) in K306(NAT,I)
let n be Element of NAT ; IC (Comput (P,s,n)) in K306(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 A3:
ex n being Nat st S1[n]
;
consider n being Nat such that
A4:
S1[n]
and
A5:
for m being Nat st S1[m] holds
n <= m
from NAT_1:sch 5(A3);
reconsider n = n as Element of NAT by ORDINAL1:def 12;
A6:
for m being Element of NAT st m < n holds
IC (Comput (P,s,m)) in dom I
by A5;
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)))));
A7:
I c= P +* ((IC (Comput (P,s,n))),(goto (IC (Comput (P,s,n)))))
by A4, A2, FUNCT_7:89;
then A8:
Comput ((P +* ((IC (Comput (P,s,n))),(goto (IC (Comput (P,s,n)))))),s,n) = Comput (P,s,n)
by A6, A2, AMISTD_2:10;
A9:
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 A8, Lm1;
P +* ((IC (Comput (P,s,n))),(goto (IC (Comput (P,s,n))))) halts_on s
by A7, A1, AMISTD_1:def 11;
hence
contradiction
by A9, EXTPRO_1:22; verum