coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Laurent Th�ry <Laurent.Thery AT sophia.inria.fr>
- To: filou AT labri.fr
- Cc: coq-club AT inria.fr, pierre.casteran AT labri.fr
- Subject: Re: [Coq-Club] boolean simplification
- Date: Thu, 07 Oct 2010 14:22:32 +0200
filou AT labri.fr
wrote:
Hi all,
I was wondering if there exists a tactic to simplify boolean
expressions in hypotheses, such as in a goal of the form
H: a && false && b = true
-------------------------
False
I've tried "contradict H;ring" but it seems that ring doesn't deal with
inequalities.
Thanks,
Vincent
There is something wrong with your environment.
===
Require Import Bool Ring.
Goal forall a b, a && false && b = true -> True.
intros.
ring_simplify in H.
=============
works
--
Laurent
- [Coq-Club] boolean simplification, filou
- Re: [Coq-Club] boolean simplification,
Thomas Braibant
- Re: [Coq-Club] boolean simplification,
Pierre Casteran
- Re: [Coq-Club] boolean simplification, Pierre Casteran
- Re: [Coq-Club] boolean simplification,
Pierre Casteran
- Re: [Coq-Club] boolean simplification, Stéphane Glondu
- <Possible follow-ups>
- Re: [Coq-Club] boolean simplification, Laurent Théry
- Re: [Coq-Club] boolean simplification,
Thomas Braibant
Archive powered by MhonArc 2.6.16.