Implement variable freezing to prove A_pull_push