Skip to Content.
Sympa Menu

ssreflect - Re: "==" and "="

Subject: Ssreflect Users Discussion List

List archive

Re: "==" and "="


Chronological Thread 
  • From: Marcus Ramos <>
  • To:
  • Subject: Re: "==" and "="
  • Date: Wed, 16 Apr 2014 17:09:41 +0200

Dear Bertot, Théry, Cano and Tassi,

Thank you all for your comments and examples, they were very helpful.

Best Regards,
Marcus.


2014-04-15 15:30 GMT+02:00 Marcus Ramos <>:
Hi,

In library "ssrnat" I find the definition:

Lemma addn_eq0 : forall m n, (m + n == 0) = (m == 0) && (n == 0).

I can´t, however, figure out the difference between "==" and "=", nor find "==" in the Coq documents. Is this something specific to SSReflect?

Is there an equivalent "forall m n: nat, (m + n) = 0 -> (m = 0) /\ (n = 0)" anywhere?

I also couldn´t find a (nat) lemma like "forall n: nat, (n = 0) -> n <= 0". Does it exist anywhere?

Thanks in advance,
Marcus.






Archive powered by MHonArc 2.6.18.

Top of Page