coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jonathan Leivent <jonikelee AT gmail.com>
- To: tkdtezx AT mail.nu
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Axioms reported by coqchk
- Date: Fri, 19 Aug 2016 14:46:55 -0400
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jonikelee AT gmail.com; spf=Pass smtp.mailfrom=jonikelee AT gmail.com; spf=None smtp.helo=postmaster AT mail-qk0-f182.google.com
- Ironport-phdr: 9a23:B/oX0h8UVXf3ZP9uRHKM819IXTAuvvDOBiVQ1KB91u0cTK2v8tzYMVDF4r011RmSDNydsawP0rOI++C4ACpbsM7H6ChDOLV3FDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3CwN5K6zPF5LIiIzvjqbpqsSVOVsD3WPjKfMqdVPt/F2X7pFXyaJZaY8JgiPTpXVJf+kEjUhJHnm02yjG28Gr4ZR4+D5Rsf9yv+RJUKH9YrhqBecAVGduYCgJ45j3thXfQBmfzn4VU2FQlAcbLRLC6UTYWZH4rivzsKJZ1SiEMMvqBeQ2XjKj7KpvRRLAhyIONjp/+2bS3J8jxJlHqQ6s8kQsi7XfZ5uYYaJz
On 08/19/2016 02:11 PM, Ade Umut Huxtable wrote:
I agree with Pierre-Marie Pédrot, it's not a tooling problem.
Libraries should make an effort to offer (if that at all makes sense) an
axiom free subset of their features.
Ade
How difficult would this be? For instance, how difficult would it be for plugins like Psatz to do this? Such a plugin may depend on the existence of axioms that it doesn't always use. The issue is also with tactics - currently, it isn't possible to write a tactic that will use an axiom if it is Required, but still work in some cases otherwise. The definition of the tactic will fail to compile merely because it mentions the axiom, regardless of the fact that it mentions the axiom on a branch that isn't always executed. I've been playing with a workaround, but it requires that the module user to redefine some Ltac definitions at the point of use.
Alternatively, all axioms could be defined to be typeclass instances such that their conditional usage by tactics and plugins doesn't need to depend on their symbolic names (which was mentioned on another thread). Such a typeclass-based technique may be the best way to deal with modularity issues...
But, just in terms of compatibility and in the kinds and extent of rewritings of existing standard libraries and plugins one could expect in a reasonable time horizon from Coq developers and plugin developers, as well as the effect of the resulting changes on users - does asking for per-module axiom segregation make pragmatic sense?
-- Jonathan
- Re: [Coq-Club] Axioms reported by coqchk, (continued)
- Re: [Coq-Club] Axioms reported by coqchk, Jonathan Leivent, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Ralf Jung, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Robbert Krebbers, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Jonathan Leivent, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Robbert Krebbers, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Jonathan Leivent, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Robbert Krebbers, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Jonathan Leivent, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Guillaume Melquiond, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Robbert Krebbers, 08/19/2016
- Re: [Coq-Club] coqchk safe from plugins? (Was: Axioms reported by coqchk), Ralf Jung, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Jacques-Henri Jourdan, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Ralf Jung, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Ade Umut Huxtable, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Jonathan Leivent, 08/19/2016
- Re: [Coq-Club] Axioms reported by coqchk, Ade Umut Huxtable, 08/19/2016
- 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, 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, Jonathan Leivent, 08/19/2016
Archive powered by MHonArc 2.6.18.