coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Robbert Krebbers <mailinglists AT robbertkrebbers.nl>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Stuck with functions.
- Date: Thu, 08 Nov 2012 21:21:19 +0100
On 11/08/2012 08:19 PM, Dmitry Grebeniuk wrote:
But there are no explanations about why the functionalThere are many reasons why such axioms are not used by tactics by default:
extensionality is not used by default (for "auto" tactic,
for example; moveover, requires explicit Require Import).
So, are there any cases when this axiom is undesirable?
Can it break something? I'd be glad to know about it (either
in coq-club or from CPDT).
* Some axioms are inconsistent with each other. In particular, some are known to be inconsistent with -impredicative-set.
* Axioms (even those in Prop) may break computation. For example, uniqueness of identity proofs can be used to emulate complex dependent pattern matches. Unfortunately, such emulated pattern matches do not compute. They get stuck at something like
match UIP x y p1 p2 with
| eq_refl => ...
end
Since UIP is an axiom, it will not reduce to eq_refl, and thus this pattern match can never be contracted.
* It is unsure whether axioms remain consistent in future versions of Coq (e.g. Coq based on univalent foundations?).
* Last, but not least, many people prefer to keep their development clean of axioms for philosophical reasons, or just for elegance.
Besides, if you want functional extensionality or proof irrelevant without axioms, consider using a setoid equality instead of the standard Leibniz equality.
Best,
Robbert
- Re: [Coq-Club] Stuck with functions., (continued)
- Re: [Coq-Club] Stuck with functions., Adam Chlipala, 11/08/2012
- Re: [Coq-Club] Stuck with functions., Dmitry Grebeniuk, 11/08/2012
- Re: [Coq-Club] Stuck with functions., Kristopher Micinski, 11/08/2012
- Re: [Coq-Club] Stuck with functions., AUGER Cédric, 11/08/2012
- Re: [Coq-Club] Stuck with functions., Jonas Oberhauser, 11/08/2012
- Re: [Coq-Club] Stuck with functions., Daniel Schepler, 11/08/2012
- Re: [Coq-Club] Stuck with functions., Jonas Oberhauser, 11/08/2012
- Re: [Coq-Club] Stuck with functions., Daniel Schepler, 11/09/2012
- Re: [Coq-Club] Stuck with functions., AUGER Cédric, 11/09/2012
- Re: [Coq-Club] Stuck with functions., Jonas Oberhauser, 11/08/2012
- Re: [Coq-Club] Stuck with functions., Alan Schmitt, 11/08/2012
- Re: [Coq-Club] Stuck with functions., Daniel Schepler, 11/08/2012
- Re: [Coq-Club] Stuck with functions., Jonas Oberhauser, 11/08/2012
- Re: [Coq-Club] Stuck with functions., Robbert Krebbers, 11/08/2012
- Re: [Coq-Club] Stuck with functions., Dmitry Grebeniuk, 11/08/2012
- Re: [Coq-Club] Stuck with functions., Jonas Oberhauser, 11/08/2012
- Re: [Coq-Club] Stuck with functions., Adam Chlipala, 11/08/2012
Archive powered by MHonArc 2.6.18.