Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Rewriting with Existentials

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Rewriting with Existentials


chronological Thread 
  • From: Gregory Malecha <gmalecha AT eecs.harvard.edu>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: [Coq-Club] Rewriting with Existentials
  • Date: Mon, 30 May 2011 18:20:59 -0700

Hello,

I've got a rewrite database that I use for a lot of simplifications, but a lot of the time that I use it with existentials in the goal it diverges. It's pretty easy to replicate the behavior:

Require Import Plus.

Hint Rewrite <- plus_assoc : test.

Goal exists x, x + 0 = x.
eexists.
do 3 rewrite <- plus_assoc. (** produces a bunch of existentials **)
autorewrite with test. (** diverges **)

Is there any way to tell autorewrite to treat existentials as "atomic," i.e. not be able to expand them arbitrarily? 

Thanks.

--
gregory malecha



Archive powered by MhonArc 2.6.16.

Top of Page