Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] unfold makes goal ill-typed

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] unfold makes goal ill-typed


Chronological Thread 
  • From: Jason Gross <jasongross9 AT gmail.com>
  • To: coq-club AT inria.fr
  • Cc: Stefano Piceghello <Stefano.Piceghello AT uib.no>
  • Subject: Re: [Coq-Club] unfold makes goal ill-typed
  • Date: Thu, 06 Oct 2016 19:28:06 +0000
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=jasongross9 AT gmail.com; spf=Pass smtp.mailfrom=jasongross9 AT gmail.com; spf=None smtp.helo=postmaster AT mail-io0-f169.google.com
  • Ironport-phdr: 9a23:B+uBDR+VGu5m9/9uRHKM819IXTAuvvDOBiVQ1KB91u4cTK2v8tzYMVDF4r011RmSDN+dsKgP0rCJ+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2WVTerzWI4CIIHV2nbEwud76zQdSZ1p7on8mJuLTrKz1SgzS8Zb4gZD6Xli728vcsvI15N6wqwQHIqHYbM85fxGdvOE7B102kvpT41NdZ/i9Ro/Ms8dJbGeW/JvxgDO8QMDNzOGcsocbvqBPrTA2V53JaXH9FvABPBl3n5Qr9WN/eqCzhraIp2iCBOsv5V7cvQmWK4KJiSRuugyACYW1quFrLg9B92foI6CmqoAZylsuNONmY

If you are dealing with coinductives, then it's probably the known long-standing issue that Coq's implementation of coinduction breaks subject reduction.  If you have issued [Opaque] commands which would cause the body of the constant you're unfolding to be ill-typed if you were to give it to Coq in the current environment, then it's intended behavior, and unclear which bit should be called a bug.  If neither of these is the case, then it's a bug in Coq, and should be reported.

On Thu, Oct 6, 2016 at 3:03 PM <Marc.Bezem AT uib.no> wrote:
Has anybody observed that an unfold can make a goal ill-typed?
I'm asking this to find out whether this is a coq bug or a user error.

The situation in which it happens is quite complicated, and the
ill-typed goal lived on for quite a while. From the point where the
goal became visibly ill-typed I could trace back (all the time testing
the goal with Check), and the command that first made the goal
ill-typed was a rather harmless unfold. It will be a challenge to
isolate the behaviour in a simple example.

All help will be appreciated.

Marc



Archive powered by MHonArc 2.6.18.

Top of Page