Algorithmic proof for EQ2
Adding a proof