Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] boolean simplification

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] boolean simplification


chronological Thread 
  • 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




Archive powered by MhonArc 2.6.16.

Top of Page