LTS Termination Proof

by manual

Input

Integer Transition System

Proof

1 Invariant Updates

The following invariants are asserted.

l0: TRUE
l1: z < 0
l2: z < −1

The invariants are proved as follows.

IMPACT Invariant Proof

2 Switch to Cooperation Termination Proof

We consider the following cutpoint-transitions:
l2 e l2: x = xy = yz = z
and for every transition t, a duplicate t is considered.

3 SCC Decomposition

We consider subproblems for each of the 1 SCC(s) of the program graph.

3.1 SCC Subproblem 1/1

Here we consider the SCC { l1, l2 }.

3.1.1 Location Addition

The following skip-transition is inserted and corresponding redirections w.r.t. the old location are performed.

l2 t5 l2a: x = xy = yz = z

3.1.2 Location Addition

The following skip-transition is inserted and corresponding redirections w.r.t. the old location are performed.

l2b t6 l2: x = xy = yz = z

3.1.3 Fresh Variable Addition

The new variable xs is introduced. The transition formulas are extended as follows:

t2: xs = xs
t3: xs = xs
t4: xs = xs
t6: xs = xs
t5: xs = x

3.1.4 Fresh Variable Addition

The new variable ys is introduced. The transition formulas are extended as follows:

t2: ys = ys
t3: ys = ys
t4: ys = ys
t6: ys = ys
t5: ys = y

3.1.5 Fresh Variable Addition

The new variable zs is introduced. The transition formulas are extended as follows:

t2: zs = zs
t3: zs = zs
t4: zs = zs
t6: zs = zs
t5: zs = z

3.1.6 Invariant Updates

The following invariants are asserted.

l0: TRUE
l1: TRUE
l2: 0 ≤ y
l1: xxs
l2: 0 ≤ y
l2a: 0 ≤ yys + xxs + yxxs
l2b: 0 ≤ y−5 ≤ xsys + x < xs + yys < xsxxs0 ≤ y−5 ≤ xsx < xs

The invariants are proved as follows.

IMPACT Invariant Proof

3.1.7 Transition Removal

We remove transition t6 using the following lexicographic ranking functions, which are bounded by [−5, 0].

l2: [x, xy]
l1: [xs, xsys]
l2a: [xs, xsys]
l2b: [xs, xsys]
Hints:

3.1.8 SCC Decomposition

There exist no SCC in the program graph.

Tool configuration

manual