Proved pi_termination_condition. :D