let s be State of SCM ; for P being the Instructions of SCM -valued ManySortedSet of NAT st Euclide-Algorithm c= P holds
for k being Element of NAT st IC (Comput P,s,k) = 3 holds
( ( (Comput P,s,k) . (dl. 1) > 0 implies IC (Comput P,s,(k + 1)) = 0 ) & ( (Comput P,s,k) . (dl. 1) <= 0 implies IC (Comput P,s,(k + 1)) = 4 ) & (Comput P,s,(k + 1)) . (dl. 0 ) = (Comput P,s,k) . (dl. 0 ) & (Comput P,s,(k + 1)) . (dl. 1) = (Comput P,s,k) . (dl. 1) )
let P be the Instructions of SCM -valued ManySortedSet of NAT ; ( Euclide-Algorithm c= P implies for k being Element of NAT st IC (Comput P,s,k) = 3 holds
( ( (Comput P,s,k) . (dl. 1) > 0 implies IC (Comput P,s,(k + 1)) = 0 ) & ( (Comput P,s,k) . (dl. 1) <= 0 implies IC (Comput P,s,(k + 1)) = 4 ) & (Comput P,s,(k + 1)) . (dl. 0 ) = (Comput P,s,k) . (dl. 0 ) & (Comput P,s,(k + 1)) . (dl. 1) = (Comput P,s,k) . (dl. 1) ) )
assume A1:
Euclide-Algorithm c= P
; for k being Element of NAT st IC (Comput P,s,k) = 3 holds
( ( (Comput P,s,k) . (dl. 1) > 0 implies IC (Comput P,s,(k + 1)) = 0 ) & ( (Comput P,s,k) . (dl. 1) <= 0 implies IC (Comput P,s,(k + 1)) = 4 ) & (Comput P,s,(k + 1)) . (dl. 0 ) = (Comput P,s,k) . (dl. 0 ) & (Comput P,s,(k + 1)) . (dl. 1) = (Comput P,s,k) . (dl. 1) )
let k be Element of NAT ; ( IC (Comput P,s,k) = 3 implies ( ( (Comput P,s,k) . (dl. 1) > 0 implies IC (Comput P,s,(k + 1)) = 0 ) & ( (Comput P,s,k) . (dl. 1) <= 0 implies IC (Comput P,s,(k + 1)) = 4 ) & (Comput P,s,(k + 1)) . (dl. 0 ) = (Comput P,s,k) . (dl. 0 ) & (Comput P,s,(k + 1)) . (dl. 1) = (Comput P,s,k) . (dl. 1) ) )
assume A2:
IC (Comput P,s,k) = 3
; ( ( (Comput P,s,k) . (dl. 1) > 0 implies IC (Comput P,s,(k + 1)) = 0 ) & ( (Comput P,s,k) . (dl. 1) <= 0 implies IC (Comput P,s,(k + 1)) = 4 ) & (Comput P,s,(k + 1)) . (dl. 0 ) = (Comput P,s,k) . (dl. 0 ) & (Comput P,s,(k + 1)) . (dl. 1) = (Comput P,s,k) . (dl. 1) )
A3: Comput P,s,(k + 1) =
Exec (P . (IC (Comput P,s,k))),(Comput P,s,k)
by AMI_1:55
.=
Exec ((dl. 1) >0_goto 0 ),(Comput P,s,k)
by A1, A2, Lm3
;
hence
( (Comput P,s,k) . (dl. 1) > 0 implies IC (Comput P,s,(k + 1)) = 0 )
by AMI_3:15; ( ( (Comput P,s,k) . (dl. 1) <= 0 implies IC (Comput P,s,(k + 1)) = 4 ) & (Comput P,s,(k + 1)) . (dl. 0 ) = (Comput P,s,k) . (dl. 0 ) & (Comput P,s,(k + 1)) . (dl. 1) = (Comput P,s,k) . (dl. 1) )
thus
( (Comput P,s,k) . (dl. 1) <= 0 implies IC (Comput P,s,(k + 1)) = 4 )
( (Comput P,s,(k + 1)) . (dl. 0 ) = (Comput P,s,k) . (dl. 0 ) & (Comput P,s,(k + 1)) . (dl. 1) = (Comput P,s,k) . (dl. 1) )
thus
( (Comput P,s,(k + 1)) . (dl. 0 ) = (Comput P,s,k) . (dl. 0 ) & (Comput P,s,(k + 1)) . (dl. 1) = (Comput P,s,k) . (dl. 1) )
by A3, AMI_3:15; verum