coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Ralf Jung <jung AT mpi-sws.org>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Axioms reported by coqchk
- Date: Sat, 20 Aug 2016 10:39:17 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=jung AT mpi-sws.org; spf=Pass smtp.mailfrom=jung AT mpi-sws.org; spf=None smtp.helo=postmaster AT hera.mpi-klsb.mpg.de
- Ironport-phdr: 9a23:8Ua40BWE7ak9SUYA7YdXIDOnc0HV8LGtZVwlr6E/grcLSJyIuqrYZhCAt8tkgFKBZ4jH8fUM07OQ6PG5HzZQqs7d+DBaKdoXBkdD0Z1X1yUbQ+e9QXXhK/DrayFoVO9jb3RCu0+BDE5OBczlbEfTqHDhpRQbGxH4KBYnbr+tQt2asc272qiI9oHJZE0Q3XzmMOo0dkX99VmZ9pFPx9AzcuBpklqBi0ALUtwe/XlvK1OXkkS0zeaL17knzR5tvek8/dVLS6TwcvdwZ7VZCDM7LzJ9v5Wz5lGQBTeIs3AbSyAdlgdCKwnD9hDzGJnr4QXgse8o4iCeM4XUULY7EWCg8qFkYBrwiWIcKCV/93vY3J8jxJlHqQ6s8kQsi7XfZ5uYYaJz
Hi,
> It might be unrealistic to expect libraries to perform the split
> though, since apparently not even the standard library follows this
> suggestion...
>
> So: adding the feature "Print Module Assumptons X." to coqchk (or
> another tool) would be nice, but without library owner cooperation,
> users are at risk of suprise axioming. Also, having such a tool
> further lowers the motivation on libraries to actually bother with
> splitting.
Right, that's pretty much the question here: Is it realistic for the
"axiom splitting" of libraries (in particular, everything shipped with
Coq itself, like Program and Psatz) to happen anytime soon or not? I
agree with the overall tone here that this is the preferred solution,
but I fear that it could take "forever". Changing coqchk to, for
example, restrict its attention to certain names (with support for
wildcards) is tempting because it would need less changes in the overall
ecosystem -- but it touches and complicates the TCB, and (as you said)
may discourage people from even going with the split.
What are people's feelings about doing such a split in the Coq standard
library? (By which I mean everything shipped with Coq, including e.g.
Psatz.) Since this is all about which names are exported where, I would
expect that one could add a compatibility flag which makes "Import
Psatz" turn into "Import PSatzWithAxioms" or so, so that old code
(compiled with the flag) would still work (and porting would be trivial,
just change the name of the module you import).
I have made very little use of other Coq libraries, so I don't know
how many cases there are out there where axioms could be split. The one
library using axioms that I checked out (Autosubst) needs these axioms
for pretty much all of its functionality, so there wouldn't be no split
anyway.
Kind regards,
Ralf
- Re: [Coq-Club] Axioms reported by coqchk, (continued)
- Re: [Coq-Club] Axioms reported by coqchk, Jonathan Leivent, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Jason Gross, 08/20/2016
- Re: [Coq-Club] Axioms reported by coqchk, Jonathan Leivent, 08/20/2016
- Re: [Coq-Club] Axioms reported by coqchk, Jonathan Leivent, 08/20/2016
- Re: [Coq-Club] Axioms reported by coqchk, Jonathan Leivent, 08/20/2016
- Re: [Coq-Club] Axioms reported by coqchk, Jonathan Leivent, 08/20/2016
- RE: [Coq-Club] Axioms reported by coqchk, Soegtrop, Michael, 08/21/2016
- Re: [Coq-Club] Axioms reported by coqchk, Jonathan Leivent, 08/21/2016
- RE: [Coq-Club] Axioms reported by coqchk, Soegtrop, Michael, 08/22/2016
- Re: [Coq-Club] Axioms reported by coqchk, Ralf Jung, 08/22/2016
- Re: [Coq-Club] Axioms reported by coqchk, Jonathan Leivent, 08/20/2016
- Re: [Coq-Club] Axioms reported by coqchk, Jonathan Leivent, 08/20/2016
- Re: [Coq-Club] Axioms reported by coqchk, Jason Gross, 08/20/2016
- Re: [Coq-Club] Axioms reported by coqchk, Jonathan Leivent, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Pierre Courtieu, 08/22/2016
- Re: [Coq-Club] Axioms reported by coqchk, Chris Dams, 08/22/2016
Archive powered by MHonArc 2.6.18.