I am a beginner and trying to prove this lemma:
Lemma test: forall n m p q : nat,
n <= p \/ m <= q -> n + m <= p + q.
I tried
From Coq Require Export Lia.
Lemma test: forall n m p q : nat,
n <= p \/ m <= q -> n + m <= p + q
Proof.
intros; omega.
and Lia
, but it is not working. How could I proceed?