Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Change in the Guard Condition for Coq 8.5 - affected developments?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Change in the Guard Condition for Coq 8.5 - affected developments?


Chronological Thread 
  • From: Gregory Malecha <gmalecha AT gmail.com>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Change in the Guard Condition for Coq 8.5 - affected developments?
  • Date: Thu, 10 Sep 2015 22:24:35 -0700
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=gmalecha AT gmail.com; spf=Pass smtp.mailfrom=gmalecha AT gmail.com; spf=None smtp.helo=postmaster AT mail-yk0-f176.google.com
  • Ironport-phdr: 9a23:hvIm+h9yjT3Y1f9uRHKM819IXTAuvvDOBiVQ1KB91e4cTK2v8tzYMVDF4r011RmSDdmdsq4MotGVmp6jcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47AblHf6ke/8SQVUk2mc1EleqKsRsb7tIee6aObw9XreQJGhT6wM/tZDS6dikHvjPQQmpZoMa0ryxHE8TNicuVSwn50dxrIx06vru/5xpNo8jxRtvQ97IYAFPyiJ+VrBYBfWR8hKige4NDh/U3IShLK7X8BWE0XlABJCk7L9kepcI32t37VrOdy3zOLdej/Sb0/WT3qu6huQRvlgycOHzE8+WDTzMd3ifQI81qauxVjztuMM8muP/1kc/aYJItCSA==

I can say that it did affect some of my libraries which have a fair amount of dependent types, but they are relatively easy to fix.

On Wed, Sep 9, 2015 at 6:21 AM, Christian Doczkal <doczkal AT ps.uni-saarland.de> wrote:
Hello,

The CHANGES file for Coq 8.5beta2 states the following:

- The guard condition for fixpoints is now a bit stricter. Propagation
  of subterm value through pattern matching is restricted according to
  the return predicate. Restores compatibility of Coq's logic with the
  propositional extensionality axiom. May create incompatibilities in
  recursive programs heavily using dependent types.

I am wondering how frequent the mentioned "incompatibilities" turned up
in existing developments. That is, how may proofs from projects such as
the Standard Library or Contribs had to be adapted following the change
in the guard condition.

My working hypothesis is that (relative) soundness bugs are rarely
exploited unintentionally and that fixing them should affect very few
proofs. Certainly, the changed guard condition did not cause any
problems in my own developments, but I don't use dependently typed
recursive definitions on a regular basis.

I apologize if this has been asked before, but a quick search did not
turn up anything.


--
Cheers
Christian



--
gregory malecha



Archive powered by MHonArc 2.6.18.

Top of Page