Subject: Ssreflect Users Discussion List
List archive
- From: Laurent Thery <>
- To:
- Subject: Re: [ssreflect] ssreflect and omega
- Date: Thu, 18 Feb 2016 10:26:38 +0100
On 02/18/2016 09:43 AM, François Pottier wrote:
Hello,
Once ssreflect is loaded, the tactic "omega" no longer works out of the box
(see attached file for an example). Is there a simple way of expanding away
all of ssreflect's notations and definitions, so that "omega" works again?
Thanks,
Unfortunately, nat in ssreflect has its own operator that omega is not aware of.
You can still perform an adhoc translation with Ltac but I guess this is not what you are looking for
Ltac rm_leqn :=
match goal with
H : is_true (_ <= _) |- _ => move/leP: H; rewrite -!plusE => H
end.
Ltac ssr_omega := repeat rm_leqn; try apply/leP; rewrite -?plusE; omega.
Goal
forall x y,
x < y ->
x < y + 1.
Proof.
intros.
ssr_omega.
--
Laurent
- [ssreflect] ssreflect and omega, François Pottier, 02/18/2016
- Re: [ssreflect] ssreflect and omega, Laurent Thery, 02/18/2016
- Re: [ssreflect] ssreflect and omega, François Pottier, 02/18/2016
- Message not available
- Re: [ssreflect] ssreflect and omega, François Pottier, 02/18/2016
- RE: [ssreflect] ssreflect and omega, Georges Gonthier, 02/18/2016
- Re: [ssreflect] ssreflect and omega, Maxime Dénès, 02/18/2016
- Re: [ssreflect] ssreflect and omega, Nicolas Magaud, 02/18/2016
- Re: [ssreflect] ssreflect and omega, Laurent Thery, 02/18/2016
- Re: [ssreflect] ssreflect and omega, Maxime Dénès, 02/18/2016
- Re: [ssreflect] ssreflect and omega, Assia Mahboubi, 02/21/2016
- Re: [ssreflect] ssreflect and omega, François Pottier, 02/22/2016
- Re: [ssreflect] ssreflect and omega, Assia Mahboubi, 02/22/2016
- RE: [ssreflect] ssreflect and omega, Georges Gonthier, 02/22/2016
- RE: [ssreflect] ssreflect and omega, Georges Gonthier, 02/18/2016
- Re: [ssreflect] ssreflect and omega, François Pottier, 02/18/2016
- Message not available
- Re: [ssreflect] ssreflect and omega, François Pottier, 02/18/2016
- Re: [ssreflect] ssreflect and omega, Laurent Thery, 02/18/2016
Archive powered by MHonArc 2.6.18.