Trying to load file: main.koat Initial Control flow graph problem: Start location: f0 0: f0 -> f8 : A'=0, B'=10, C'=0, [], cost: 1 1: f8 -> f8 : A'=2+A, C'=1+C, [ B>=1+C ], cost: 1 2: f8 -> f6 : [ 2*B>=1+A && C>=B ], cost: 1 3: f8 -> f6 : [ A>=2*B && C>=B ], cost: 1 Simplified the transitions: Start location: f0 0: f0 -> f8 : A'=0, B'=10, C'=0, [], cost: 1 1: f8 -> f8 : A'=2+A, C'=1+C, [ B>=1+C ], cost: 1 Eliminating 1 self-loops for location f8 Self-Loop 1 has the metering function: B-C, resulting in the new transition 4. Removing the self-loops: 1. Removed all Self-loops using metering functions (where possible): Start location: f0 0: f0 -> f8 : A'=0, B'=10, C'=0, [], cost: 1 4: f8 -> [3] : A'=2*B-2*C+A, C'=B, [ B>=1+C ], cost: B-C Applied simple chaining: Start location: f0 0: f0 -> [3] : A'=20, B'=10, C'=10, [ 10>=1 ], cost: 11 Final control flow graph problem, now checking costs for infinitely many models: Start location: f0 0: f0 -> [3] : A'=20, B'=10, C'=10, [ 10>=1 ], cost: 11 Computing complexity for remaining 1 transitions. Found new complexity const, because: const cost. The final runtime is determined by this resulting transition: Final Guard: 10>=1 Final Cost: 11 Obtained the following complexity w.r.t. the length of the input n: Complexity class: const Complexity value: 0 WORST_CASE(Omega(1),?)