I am using Coq 8.10.0. Following proof script seems to work in Mac (ignoring warning):
Lemma plus_comm : forall (n m : nat), n + m = m + n.
Proof.
intros.
- admit.
Qed.
But the same proof script isn't accepted in Linux (Ubuntu) and Windows. It throws following error:
(in proof plus_comm): Attempt to save a proof with given up goals. If this is really what you want to do, use Admitted in place of Qed.
Any idea what's going on here?
PS: I know ideally proofs with admits should end with Admitted instead of Qed/Defined. I am trying to debug a proof script.