set i1 = (F5(),F6()) >=0_goto ((card F4()) + 2);
set i2 = goto (- ((card F4()) + 1));
set WHL = while<0 (F5(),F6(),F4());
set pWHL = stop (while<0 (F5(),F6(),F4()));
set pI = stop F4();
set b = DataLoc ((F2() . F5()),F6());
defpred S1[ Element of NAT ] means for t being State of SCMPDS
for Q being the Instructions of SCMPDS -valued ManySortedSet of NAT st F1((Dstate t)) <= $1 & P1[ Dstate t] & t . F5() = F2() . F5() holds
( while<0 (F5(),F6(),F4()) is_closed_on t,Q & while<0 (F5(),F6(),F4()) is_halting_on t,Q );
A5:
for k being Element of NAT st S1[k] holds
S1[k + 1]
proof
let k be
Element of
NAT ;
( S1[k] implies S1[k + 1] )
assume A6:
S1[
k]
;
S1[k + 1]
now let t be
State of
SCMPDS;
for Q being the Instructions of SCMPDS -valued ManySortedSet of NAT st F1((Dstate t)) <= k + 1 & P1[ Dstate t] & t . F5() = F2() . F5() holds
( while<0 (F5(),F6(),F4()) is_closed_on b2,b3 & while<0 (F5(),F6(),F4()) is_halting_on b2,b3 )let Q be the
Instructions of
SCMPDS -valued ManySortedSet of
NAT ;
( F1((Dstate t)) <= k + 1 & P1[ Dstate t] & t . F5() = F2() . F5() implies ( while<0 (F5(),F6(),F4()) is_closed_on b1,b2 & while<0 (F5(),F6(),F4()) is_halting_on b1,b2 ) )assume A7:
F1(
(Dstate t))
<= k + 1
;
( P1[ Dstate t] & t . F5() = F2() . F5() implies ( while<0 (F5(),F6(),F4()) is_closed_on b1,b2 & while<0 (F5(),F6(),F4()) is_halting_on b1,b2 ) )assume A8:
P1[
Dstate t]
;
( t . F5() = F2() . F5() implies ( while<0 (F5(),F6(),F4()) is_closed_on b1,b2 & while<0 (F5(),F6(),F4()) is_halting_on b1,b2 ) )assume A9:
t . F5()
= F2()
. F5()
;
( while<0 (F5(),F6(),F4()) is_closed_on b1,b2 & while<0 (F5(),F6(),F4()) is_halting_on b1,b2 )per cases
( t . (DataLoc ((F2() . F5()),F6())) >= 0 or t . (DataLoc ((F2() . F5()),F6())) < 0 )
;
suppose A10:
t . (DataLoc ((F2() . F5()),F6())) < 0
;
( while<0 (F5(),F6(),F4()) is_closed_on b1,b2 & while<0 (F5(),F6(),F4()) is_halting_on b1,b2 )A11:
dom (ProgramPart t) = NAT
by COMPOS_1:34;
A12:
not
F5()
in dom (t | NAT)
by A11, SCMPDS_2:53;
A13:
(IExec (F4(),Q,t)) . F5()
= t . F5()
by A4, A8, A9, A10;
A14:
0 in dom (stop (while<0 (F5(),F6(),F4())))
by COMPOS_1:135;
A15:
dom (ProgramPart t) = NAT
by COMPOS_1:34;
A16:
not
DataLoc (
(F2() . F5()),
F6())
in dom (Start-At (0,SCMPDS))
by SCMPDS_4:59;
A17:
while<0 (
F5(),
F6(),
F4())
= ((F5(),F6()) >=0_goto ((card F4()) + 2)) ';' (F4() ';' (goto (- ((card F4()) + 1))))
by SCMPDS_4:51;
set t2 =
Initialize t;
set Q2 =
Q +* (stop F4());
set t3 =
Initialize t;
set Q3 =
Q +* (stop (while<0 (F5(),F6(),F4())));
set t4 =
Comput (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Initialize t),1);
set Q4 =
Q +* (stop (while<0 (F5(),F6(),F4())));
A20:
stop F4()
c= Q +* (stop F4())
by FUNCT_4:26;
B20:
Start-At (
0,
SCMPDS)
c= Initialize t
by FUNCT_4:26;
set m2 =
LifeSpan (
(Q +* (stop F4())),
(Initialize t));
set t5 =
Comput (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),1)),
(LifeSpan ((Q +* (stop F4())),(Initialize t))));
set Q5 =
Q +* (stop (while<0 (F5(),F6(),F4())));
set l1 =
(card F4()) + 1;
A21:
IC (Initialize t) = 0
by COMPOS_1:def 16;
set m3 =
(LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1;
set t6 =
Comput (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Initialize t),
((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1));
set Q6 =
Q +* (stop (while<0 (F5(),F6(),F4())));
set t7 =
Comput (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Initialize t),
(((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1));
set Q7 =
Q +* (stop (while<0 (F5(),F6(),F4())));
(card F4()) + 1
< (card F4()) + 2
by XREAL_1:8;
then A22:
(card F4()) + 1
in dom (while<0 (F5(),F6(),F4()))
by Th7;
AA:
stop (while<0 (F5(),F6(),F4())) c= Q +* (stop (while<0 (F5(),F6(),F4())))
by FUNCT_4:26;
while<0 (
F5(),
F6(),
F4())
c= stop (while<0 (F5(),F6(),F4()))
by AFINSQ_1:78;
then A23:
while<0 (
F5(),
F6(),
F4())
c= Q +* (stop (while<0 (F5(),F6(),F4())))
by AA, XBOOLE_1:1;
Shift (
F4(),1)
c= while<0 (
F5(),
F6(),
F4())
by Lm2;
then
Shift (
F4(),1)
c= Q +* (stop (while<0 (F5(),F6(),F4())))
by A23, XBOOLE_1:1;
then A24:
Shift (
F4(),1)
c= Q +* (stop (while<0 (F5(),F6(),F4())))
;
A25:
Comput (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Initialize t),
(0 + 1)) =
Following (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),0)))
by EXTPRO_1:4
.=
Following (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Initialize t))
by EXTPRO_1:3
.=
Exec (
((F5(),F6()) >=0_goto ((card F4()) + 2)),
(Initialize t))
by A17, SCMPDS_6:22
;
then A27:
DataPart (Initialize t) = DataPart (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),1))
by SCMPDS_4:23;
F4()
is_halting_on t,
Q
by A4, A8, A9, A10;
then A28:
Q +* (stop F4()) halts_on Initialize t
by SCMPDS_6:def 3;
Q +* (stop F4()) = (Q +* (stop F4())) +* (stop F4())
by A20, FUNCT_4:104;
then
(Q +* (stop F4())) +* (stop F4()) halts_on Initialize (Initialize t)
by A28;
then A30:
F4()
is_halting_on Initialize t,
Q +* (stop F4())
by SCMPDS_6:def 3;
A31:
IExec (
F4(),
Q,
t)
= (Result ((Q +* (stop F4())),(Initialize t))) +* (t | NAT)
by SCMPDS_4:def 8;
A32:
P1[
Dstate (IExec (F4(),Q,t))]
by A4, A8, A9, A10;
A33:
F4()
is_closed_on t,
Q
by A4, A8, A9, A10;
then A34:
F4()
is_closed_on Initialize t,
Q +* (stop F4())
by SCMPDS_6:38;
not
F5()
in dom (Start-At (0,SCMPDS))
by SCMPDS_4:59;
then (Initialize t) . (DataLoc (((Initialize t) . F5()),F6())) =
(Initialize t) . (DataLoc ((F2() . F5()),F6()))
by A9, FUNCT_4:12
.=
t . (DataLoc ((F2() . F5()),F6()))
by A16, FUNCT_4:12
;
then A35:
IC (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),1)) =
succ (IC (Initialize t))
by A10, A25, SCMPDS_2:69
.=
0 + 1
by A21
;
then A36:
IC (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),1)),(LifeSpan ((Q +* (stop F4())),(Initialize t))))) = (card F4()) + 1
by A20, B20, A30, A34, A27, A24, SCMPDS_7:36;
A37:
(Q +* (stop (while<0 (F5(),F6(),F4())))) /. (IC (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1)))) = (Q +* (stop (while<0 (F5(),F6(),F4())))) . (IC (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1))))
by PBOOLE:158;
A38:
Comput (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Initialize t),
((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1))
= Comput (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),1)),
(LifeSpan ((Q +* (stop F4())),(Initialize t))))
by EXTPRO_1:5;
then A39:
CurInstr (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1)))) =
(Q +* (stop (while<0 (F5(),F6(),F4())))) . ((card F4()) + 1)
by A20, B20, A30, A34, A35, A27, A24, A37, SCMPDS_7:36
.=
(Q +* (stop (while<0 (F5(),F6(),F4())))) . ((card F4()) + 1)
.=
(Q +* (stop (while<0 (F5(),F6(),F4())))) . ((card F4()) + 1)
.=
(while<0 (F5(),F6(),F4())) . ((card F4()) + 1)
by A22, A23, GRFUNC_1:8
.=
goto (- ((card F4()) + 1))
by Th8
;
A41:
Comput (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Initialize t),
(((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1)) =
Following (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1))))
by EXTPRO_1:4
.=
Exec (
(goto (- ((card F4()) + 1))),
(Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1))))
by A39
;
then IC (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),(((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1))) =
ICplusConst (
(Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1))),
(0 - ((card F4()) + 1)))
by SCMPDS_2:66
.=
0
by A36, A38, SCMPDS_7:1
;
then A42:
Initialize (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),(((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1))) = Comput (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Initialize t),
(((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1))
by COMPOS_1:84;
A43:
DataPart (Comput ((Q +* (stop F4())),(Initialize t),(LifeSpan ((Q +* (stop F4())),(Initialize t))))) = DataPart (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),1)),(LifeSpan ((Q +* (stop F4())),(Initialize t)))))
by A20, B20, A30, A34, A35, A27, A24, SCMPDS_7:36;
then A44:
DataPart (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),1)),(LifeSpan ((Q +* (stop F4())),(Initialize t))))) =
DataPart (Result ((Q +* (stop F4())),(Initialize t)))
by A28, EXTPRO_1:23
.=
DataPart ((Result ((Q +* (stop F4())),(Initialize t))) +* (t | NAT))
by A15, AMI_2:29, FUNCT_4:76, SCMPDS_2:100
.=
DataPart (IExec (F4(),Q,t))
by SCMPDS_4:def 8
;
InsCode (goto (- ((card F4()) + 1))) = 0
by SCMPDS_2:21;
then
InsCode (goto (- ((card F4()) + 1))) in {0,4,5,6}
by ENUMSET1:def 2;
then A45:
Dstate (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),(((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1))) =
Dstate (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1)))
by A41, Th3
.=
Dstate (IExec (F4(),Q,t))
by A44, A38, Th2
;
A46:
now
F1(
(Dstate (IExec (F4(),Q,t))))
< F1(
(Dstate t))
by A4, A8, A9, A10;
then A47:
F1(
(Dstate (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),(((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1)))))
< k + 1
by A7, A45, XXREAL_0:2;
assume
F1(
(Dstate (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),(((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1)))))
> k
;
contradictionhence
contradiction
by A47, INT_1:20;
verum end; A48:
(Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),1)),(LifeSpan ((Q +* (stop F4())),(Initialize t))))) . F5() =
(Comput ((Q +* (stop F4())),(Initialize t),(LifeSpan ((Q +* (stop F4())),(Initialize t))))) . F5()
by A43, SCMPDS_4:23
.=
(Result ((Q +* (stop F4())),(Initialize t))) . F5()
by A28, EXTPRO_1:23
.=
F2()
. F5()
by A9, A13, A31, A12, FUNCT_4:12
;
A50:
(Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),(((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1))) . F5() =
(Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1))) . F5()
by A41, SCMPDS_2:66
.=
F2()
. F5()
by A48, EXTPRO_1:5
;
then A51:
while<0 (
F5(),
F6(),
F4())
is_closed_on Comput (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Initialize t),
(((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1)),
Q +* (stop (while<0 (F5(),F6(),F4())))
by A6, A32, A45, A46;
now let k be
Element of
NAT ;
IC (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),b1)) in dom (stop (while<0 (F5(),F6(),F4())))per cases
( k < ((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1 or k >= ((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1 )
;
suppose
k < ((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1
;
IC (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),b1)) in dom (stop (while<0 (F5(),F6(),F4())))then A52:
k <= (LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1
by INT_1:20;
hereby verum
per cases
( k <= LifeSpan ((Q +* (stop F4())),(Initialize t)) or k = (LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1 )
by A52, NAT_1:8;
suppose A53:
k <= LifeSpan (
(Q +* (stop F4())),
(Initialize t))
;
IC (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),k)) in dom (stop (while<0 (F5(),F6(),F4())))hereby verum
per cases
( k = 0 or k <> 0 )
;
suppose
k <> 0
;
IC (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),k)) in dom (stop (while<0 (F5(),F6(),F4())))then consider kn being
Nat such that A54:
k = kn + 1
by NAT_1:6;
reconsider kn =
kn as
Element of
NAT by ORDINAL1:def 13;
reconsider lm =
IC (Comput ((Q +* (stop F4())),(Initialize t),kn)) as
Element of
NAT ;
kn < k
by A54, XREAL_1:31;
then
kn < LifeSpan (
(Q +* (stop F4())),
(Initialize t))
by A53, XXREAL_0:2;
then
(IC (Comput ((Q +* (stop F4())),(Initialize t),kn))) + 1
= IC (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),1)),kn))
by A20, B20, A30, A34, A35, A27, A24, SCMPDS_7:34;
then A56:
IC (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),k)) = lm + 1
by A54, EXTPRO_1:5;
IC (Comput ((Q +* (stop F4())),(Initialize t),kn)) in dom (stop F4())
by A33, SCMPDS_6:def 2;
then
lm < card (stop F4())
by AFINSQ_1:70;
then
lm < (card F4()) + 1
by SCMPDS_5:7;
then A57:
lm + 1
<= (card F4()) + 1
by INT_1:20;
(card F4()) + 1
< (card F4()) + 3
by XREAL_1:8;
then
lm + 1
< (card F4()) + 3
by A57, XXREAL_0:2;
then
lm + 1
< card (stop (while<0 (F5(),F6(),F4())))
by Lm1;
hence
IC (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),k)) in dom (stop (while<0 (F5(),F6(),F4())))
by A56, AFINSQ_1:70;
verum end; end;
end; end; suppose A58:
k = (LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1
;
IC (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),k)) in dom (stop (while<0 (F5(),F6(),F4())))
(card F4()) + 1
in dom (stop (while<0 (F5(),F6(),F4())))
by A22, SCMPDS_6:18;
hence
IC (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),k)) in dom (stop (while<0 (F5(),F6(),F4())))
by A20, B20, A30, A34, A35, A27, A24, A38, A58, SCMPDS_7:36;
verum end; end;
end; end; suppose
k >= ((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1
;
IC (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),b1)) in dom (stop (while<0 (F5(),F6(),F4())))then consider nn being
Nat such that A59:
k = (((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1) + nn
by NAT_1:10;
reconsider nn =
nn as
Element of
NAT by ORDINAL1:def 13;
Q +* (stop (while<0 (F5(),F6(),F4()))) = (Q +* (stop (while<0 (F5(),F6(),F4())))) +* (stop (while<0 (F5(),F6(),F4())))
by FUNCT_4:99;
then
Comput (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Initialize t),
k)
= Comput (
((Q +* (stop (while<0 (F5(),F6(),F4())))) +* (stop (while<0 (F5(),F6(),F4())))),
(Initialize (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),(((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1)))),
nn)
by A42, A59, EXTPRO_1:5;
hence
IC (Comput ((Q +* (stop (while<0 (F5(),F6(),F4())))),(Initialize t),k)) in dom (stop (while<0 (F5(),F6(),F4())))
by A51, SCMPDS_6:def 2;
verum end; end; end; hence
while<0 (
F5(),
F6(),
F4())
is_closed_on t,
Q
by SCMPDS_6:def 2;
while<0 (F5(),F6(),F4()) is_halting_on t,QRR:
Q +* (stop (while<0 (F5(),F6(),F4()))) = (Q +* (stop (while<0 (F5(),F6(),F4())))) +* (stop (while<0 (F5(),F6(),F4())))
by FUNCT_4:99;
while<0 (
F5(),
F6(),
F4())
is_halting_on Comput (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Initialize t),
(((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1)),
Q +* (stop (while<0 (F5(),F6(),F4())))
by A6, A32, A50, A45, A46;
then
Q +* (stop (while<0 (F5(),F6(),F4()))) halts_on Comput (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Initialize t),
(((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1))
by A42, SCMPDS_6:def 3, RR;
then
Q +* (stop (while<0 (F5(),F6(),F4()))) halts_on Comput (
(Q +* (stop (while<0 (F5(),F6(),F4())))),
(Initialize t),
(((LifeSpan ((Q +* (stop F4())),(Initialize t))) + 1) + 1))
;
then
Q +* (stop (while<0 (F5(),F6(),F4()))) halts_on Initialize t
by EXTPRO_1:22;
hence
while<0 (
F5(),
F6(),
F4())
is_halting_on t,
Q
by SCMPDS_6:def 3;
verum end; end; end;
hence
S1[
k + 1]
;
verum
end;
set n = F1((Dstate F2()));
thus
( F1(F2()) = F1(F2()) or P1[F2()] )
; ( while<0 (F5(),F6(),F4()) is_closed_on F2(),F3() & while<0 (F5(),F6(),F4()) is_halting_on F2(),F3() )
A60:
S1[ 0 ]
proof
let t be
State of
SCMPDS;
for Q being the Instructions of SCMPDS -valued ManySortedSet of NAT st F1((Dstate t)) <= 0 & P1[ Dstate t] & t . F5() = F2() . F5() holds
( while<0 (F5(),F6(),F4()) is_closed_on t,Q & while<0 (F5(),F6(),F4()) is_halting_on t,Q )let Q be the
Instructions of
SCMPDS -valued ManySortedSet of
NAT ;
( F1((Dstate t)) <= 0 & P1[ Dstate t] & t . F5() = F2() . F5() implies ( while<0 (F5(),F6(),F4()) is_closed_on t,Q & while<0 (F5(),F6(),F4()) is_halting_on t,Q ) )
assume that A61:
F1(
(Dstate t))
<= 0
and A62:
P1[
Dstate t]
and A63:
t . F5()
= F2()
. F5()
;
( while<0 (F5(),F6(),F4()) is_closed_on t,Q & while<0 (F5(),F6(),F4()) is_halting_on t,Q )
F1(
(Dstate t))
= 0
by A61;
then
t . (DataLoc ((F2() . F5()),F6())) >= 0
by A2, A62;
hence
(
while<0 (
F5(),
F6(),
F4())
is_closed_on t,
Q &
while<0 (
F5(),
F6(),
F4())
is_halting_on t,
Q )
by A63, Th9;
verum
end;
for k being Element of NAT holds S1[k]
from NAT_1:sch 1(A60, A5);
then
S1[F1((Dstate F2()))]
;
hence
( while<0 (F5(),F6(),F4()) is_closed_on F2(),F3() & while<0 (F5(),F6(),F4()) is_halting_on F2(),F3() )
by A3; verum