Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] rewrite A at 1 fails

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] rewrite A at 1 fails


Chronological Thread 
  • From: Beta Ziliani <beta AT mpi-sws.org>
  • To: Gert Smolka <smolka AT ps.uni-saarland.de>
  • Cc: "coq-club AT inria.fr" <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] rewrite A at 1 fails
  • Date: Thu, 13 Dec 2012 12:56:17 +0100

BTW, the following works with Ssreflect:

rewrite {1}A.


On Thu, Dec 13, 2012 at 9:00 AM, Gert Smolka
<smolka AT ps.uni-saarland.de>
wrote:
> Why does the following application of "rewrite at" fail?
>
> Require Import Setoid.
>
> Lemma test X (f : X -> X -> Prop) x :
> f x = (fun y => ~f y y) -> f x x = ~f x x.
>
> Proof. intros A. rewrite A at 1.
>
> (I know that I can use pattern)
>
> Gert



Archive powered by MHonArc 2.6.18.

Top of Page