coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Michael<michaelschausten AT googlemail.com>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] Easy proofs complicated with reals
- Date: Thu, 26 Aug 2010 10:38:58 +0200
Hello,
I recently started using reals instead of integers in some proofs. Some of the
proofs are quite similar to those with integer arithmetic, and with the help
of
[SearchPattern] and others, I could solve most so far.
However, I'm having most of my problems no with the (normally) very easy
cases:
Here are some examples:
forall (x : Z), 1 <= x -> x <> 0.
forall (x : Z), 1 <= x -> x > 0.
(2 <> 0).
I could easily solve all these proofs, either with [intuition] or [auto with
zarith]. The same proofs on reals, though, make much more problems:
forall (x : R), (1 <= x)%R -> (x <> 0)%R.
forall (x : R), (1 <= x)%R -> (x > 0)%R.
(2 <> 0)%R.
Using [intuition] places the current goal as a hypothesis, and replace it with
the goal "False". [auto with zarith] of couse doesn't work either.
Is there a similar automatic way to solve those simple goals (auto with rarith
doesn't work), or, if not, what's the best approach to solve them.
SearchPattern didn't give me any useful Lemma (probably since they're so
trivial).
Sincerely,
- [Coq-Club] Easy proofs complicated with reals, Michael
- Re: [Coq-Club] Easy proofs complicated with reals, Evgeny Makarov
- <Possible follow-ups>
- Re: Re: [Coq-Club] Easy proofs complicated with reals,
Michael
- Re: [Coq-Club] Easy proofs complicated with reals,
Stéphane Glondu
- Re: [Coq-Club] Easy proofs complicated with reals, Frédéric Besson
- Re: [Coq-Club] Easy proofs complicated with reals,
gallais @ EnsL
- Re: [Coq-Club] Easy proofs complicated with reals, Stéphane Glondu
- Re: [Coq-Club] Easy proofs complicated with reals,
Stéphane Glondu
Archive powered by MhonArc 2.6.16.