Trying to load file: main.koat Initial Control flow graph problem: Start location: start 2: div -> div : B'=B-A, [ B>=1+A && A>=1 ], cost: 1 0: div -> end : [ 0>=A ], cost: 1 1: div -> end : [ A>=B ], cost: 1 3: start -> div : [], cost: 1 Simplified the transitions: Start location: start 2: div -> div : B'=B-A, [ B>=1+A && A>=1 ], cost: 1 3: start -> div : [], cost: 1 Eliminating 1 self-loops for location div Removing the self-loops: 2. Adding an epsilon transition (to model nonexecution of the loops): 5. Removed all Self-loops using metering functions (where possible): Start location: start 4: div -> [3] : B'=B-A, [ B>=1+A && A>=1 ], cost: 1 5: div -> [3] : [], cost: 0 3: start -> div : [], cost: 1 Applied chaining over branches and pruning: Start location: start Final control flow graph problem, now checking costs for infinitely many models: Start location: start Computing complexity for remaining 0 transitions. The final runtime is determined by this resulting transition: Final Guard: Final Cost: 1 Obtained the following complexity w.r.t. the length of the input n: Complexity class: const Complexity value: 0 WORST_CASE(Omega(1),?)