Skip to Content.
Sympa Menu

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

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] rewrite A at 1 fails


Chronological Thread 
  • From: Gert Smolka <smolka AT ps.uni-saarland.de>
  • To: "coq-club AT inria.fr" <coq-club AT inria.fr>
  • Subject: [Coq-Club] rewrite A at 1 fails
  • Date: Thu, 13 Dec 2012 09:00:08 +0100

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