Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] "setoid rewrite failed"

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] "setoid rewrite failed"


chronological Thread 
  • From: Edsko de Vries <devriese AT cs.tcd.ie>
  • To: Yves Bertot <Yves.Bertot AT sophia.inria.fr>
  • Cc: coq-club <coq-club AT pauillac.inria.fr>
  • Subject: Re: [Coq-Club] "setoid rewrite failed"
  • Date: Wed, 1 Apr 2009 12:38:40 +0100
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

Hi Yves,

You really sent us very little context, but assuming you are using a defined equality because it is
more strictly more liberal than Leibniz equality (i.e. there are a and b such that a === b and a <> b),
I think that what you are trying to prove is not true! List.in explicitly relies on Leibniz equality.

Aah, I see. That makes perfect sense, thank you.

(The === relation came from the Metatheory library bundled with Brian Aydemir's LNgen tool; quite frankly, I didn't really understand it and I was trying to copy the style of an existing lemma. "Proof by incantation" as my previous advisor would say ;)

Changing the relation R to be simply eq solves it.

Thanks,

Edsko





Archive powered by MhonArc 2.6.16.

Top of Page