Understand proof-of-semaphores