let s be State of SCM+FSA ; :: thesis: for I, J being parahalting Program of SCM+FSA
for a being read-write Int-Location holds
( IC (IExec (if=0 a,I,J),s) = insloc (((card I) + (card J)) + 3) & ( s . a = 0 implies ( ( for d being Int-Location holds (IExec (if=0 a,I,J),s) . d = (IExec I,s) . d ) & ( for f being FinSeq-Location holds (IExec (if=0 a,I,J),s) . f = (IExec I,s) . f ) ) ) & ( s . a <> 0 implies ( ( for d being Int-Location holds (IExec (if=0 a,I,J),s) . d = (IExec J,s) . d ) & ( for f being FinSeq-Location holds (IExec (if=0 a,I,J),s) . f = (IExec J,s) . f ) ) ) )

let I, J be parahalting Program of SCM+FSA ; :: thesis: for a being read-write Int-Location holds
( IC (IExec (if=0 a,I,J),s) = insloc (((card I) + (card J)) + 3) & ( s . a = 0 implies ( ( for d being Int-Location holds (IExec (if=0 a,I,J),s) . d = (IExec I,s) . d ) & ( for f being FinSeq-Location holds (IExec (if=0 a,I,J),s) . f = (IExec I,s) . f ) ) ) & ( s . a <> 0 implies ( ( for d being Int-Location holds (IExec (if=0 a,I,J),s) . d = (IExec J,s) . d ) & ( for f being FinSeq-Location holds (IExec (if=0 a,I,J),s) . f = (IExec J,s) . f ) ) ) )

let a be read-write Int-Location ; :: thesis: ( IC (IExec (if=0 a,I,J),s) = insloc (((card I) + (card J)) + 3) & ( s . a = 0 implies ( ( for d being Int-Location holds (IExec (if=0 a,I,J),s) . d = (IExec I,s) . d ) & ( for f being FinSeq-Location holds (IExec (if=0 a,I,J),s) . f = (IExec I,s) . f ) ) ) & ( s . a <> 0 implies ( ( for d being Int-Location holds (IExec (if=0 a,I,J),s) . d = (IExec J,s) . d ) & ( for f being FinSeq-Location holds (IExec (if=0 a,I,J),s) . f = (IExec J,s) . f ) ) ) )
hereby :: thesis: ( ( s . a = 0 implies ( ( for d being Int-Location holds (IExec (if=0 a,I,J),s) . d = (IExec I,s) . d ) & ( for f being FinSeq-Location holds (IExec (if=0 a,I,J),s) . f = (IExec I,s) . f ) ) ) & ( s . a <> 0 implies ( ( for d being Int-Location holds (IExec (if=0 a,I,J),s) . d = (IExec J,s) . d ) & ( for f being FinSeq-Location holds (IExec (if=0 a,I,J),s) . f = (IExec J,s) . f ) ) ) )
per cases ( s . a = 0 or s . a <> 0 ) ;
suppose s . a = 0 ; :: thesis: IC (IExec (if=0 a,I,J),s) = insloc (((card I) + (card J)) + 3)
then IExec (if=0 a,I,J),s = (IExec I,s) +* (Start-At (insloc (((card I) + (card J)) + 3))) by Th20;
hence IC (IExec (if=0 a,I,J),s) = insloc (((card I) + (card J)) + 3) by AMI_1:111; :: thesis: verum
end;
suppose s . a <> 0 ; :: thesis: IC (IExec (if=0 a,I,J),s) = insloc (((card I) + (card J)) + 3)
then IExec (if=0 a,I,J),s = (IExec J,s) +* (Start-At (insloc (((card I) + (card J)) + 3))) by Th20;
hence IC (IExec (if=0 a,I,J),s) = insloc (((card I) + (card J)) + 3) by AMI_1:111; :: thesis: verum
end;
end;
end;
hereby :: thesis: ( s . a <> 0 implies ( ( for d being Int-Location holds (IExec (if=0 a,I,J),s) . d = (IExec J,s) . d ) & ( for f being FinSeq-Location holds (IExec (if=0 a,I,J),s) . f = (IExec J,s) . f ) ) )
assume s . a = 0 ; :: thesis: ( ( for d being Int-Location holds (IExec (if=0 a,I,J),s) . d = (IExec I,s) . d ) & ( for f being FinSeq-Location holds (IExec (if=0 a,I,J),s) . f = (IExec I,s) . f ) )
then A1: IExec (if=0 a,I,J),s = (IExec I,s) +* (Start-At (insloc (((card I) + (card J)) + 3))) by Th20;
hereby :: thesis: for f being FinSeq-Location holds (IExec (if=0 a,I,J),s) . f = (IExec I,s) . f
let d be Int-Location ; :: thesis: (IExec (if=0 a,I,J),s) . d = (IExec I,s) . d
not d in dom (Start-At (insloc (((card I) + (card J)) + 3))) by SCMFSA6B:9;
hence (IExec (if=0 a,I,J),s) . d = (IExec I,s) . d by A1, FUNCT_4:12; :: thesis: verum
end;
let f be FinSeq-Location ; :: thesis: (IExec (if=0 a,I,J),s) . f = (IExec I,s) . f
not f in dom (Start-At (insloc (((card I) + (card J)) + 3))) by SCMFSA6B:10;
hence (IExec (if=0 a,I,J),s) . f = (IExec I,s) . f by A1, FUNCT_4:12; :: thesis: verum
end;
assume s . a <> 0 ; :: thesis: ( ( for d being Int-Location holds (IExec (if=0 a,I,J),s) . d = (IExec J,s) . d ) & ( for f being FinSeq-Location holds (IExec (if=0 a,I,J),s) . f = (IExec J,s) . f ) )
then A2: IExec (if=0 a,I,J),s = (IExec J,s) +* (Start-At (insloc (((card I) + (card J)) + 3))) by Th20;
hereby :: thesis: for f being FinSeq-Location holds (IExec (if=0 a,I,J),s) . f = (IExec J,s) . f
let d be Int-Location ; :: thesis: (IExec (if=0 a,I,J),s) . d = (IExec J,s) . d
not d in dom (Start-At (insloc (((card I) + (card J)) + 3))) by SCMFSA6B:9;
hence (IExec (if=0 a,I,J),s) . d = (IExec J,s) . d by A2, FUNCT_4:12; :: thesis: verum
end;
let f be FinSeq-Location ; :: thesis: (IExec (if=0 a,I,J),s) . f = (IExec J,s) . f
not f in dom (Start-At (insloc (((card I) + (card J)) + 3))) by SCMFSA6B:10;
hence (IExec (if=0 a,I,J),s) . f = (IExec J,s) . f by A2, FUNCT_4:12; :: thesis: verum