Skip to Content.
Sympa Menu

coq-club - RE: [Coq-Club] Axioms reported by coqchk

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

RE: [Coq-Club] Axioms reported by coqchk


Chronological Thread 
  • From: "Soegtrop, Michael" <michael.soegtrop AT intel.com>
  • To: "coq-club AT inria.fr" <coq-club AT inria.fr>
  • Subject: RE: [Coq-Club] Axioms reported by coqchk
  • Date: Fri, 19 Aug 2016 15:13:33 +0000
  • Accept-language: de-DE, en-US
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=michael.soegtrop AT intel.com; spf=Pass smtp.mailfrom=michael.soegtrop AT intel.com; spf=None smtp.helo=postmaster AT mga04.intel.com
  • Ironport-phdr: 9a23:x3sEiB+45n73Mf9uRHKM819IXTAuvvDOBiVQ1KB92+McTK2v8tzYMVDF4r011RmSDNydsawP27Ke8/i5HzdRudDZ6DFKWacPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3BPAZ4bt74BpTVx5zukbvjotuJPU4Y3HL9Oeo0d0Tu612J94E/ushLEu4J0BzHo39FKax95FhDAhatpSv6/dq655V58i5d6LoL/s9EVrjmLexjFeQLRGduD2dgrsbsrFzISRaFznoaSGQf1BRSSUCR5xbjG5z1ryHSt+xn2SDcM9egHp4uXjH3pZxsRRD0kiAfc3Yc8WrXg8F0xuoPpROqpxVyx8jPZ4yaKOB5Zovce88XQSxKWcMHBH8JOZ+1c4ZaV7lJBu1ftYSo/1Y=

Dear Coq Users,

> I would argue that this is a question of a slightly more general policy:
> Should libraries strive to provide as much functionality as possible
> without
> importing any axioms? Not just "Program" is affected here, but also, e.g.,
> Psatz and Eqdep_dec (the latter importing

my opinion is that axioms should be in separate modules which have the word
"Axiom" in their name and that these modules should not be imported by other
library modules (without Axiom in their name). If one needs a module which
requires certain axioms, then I would prefer to first explicitly import the
axiom module and then the dependent module. What would help here is a
mechanism with which a module can state that it requires a module, without
actually importing it. Something like:

Require Check AxiomXYZ

If the module AxiomXYZ is not already imported, this should result in an
error and otherwise do nothing.

Everybody is free to bundle the axioms and modules he needs in a way
convenient for his work. This is much easier than finding out what innocent
looking library modules require what axioms after the facts.

Best regards,

Michael
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928



Archive powered by MHonArc 2.6.18.

Top of Page