coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Viktor Vafeiadis <viktor AT mpi-sws.org>
- To: Chris Casinghino <chris.casinghino AT gmail.com>
- Cc: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Excluded Middle for Type?
- Date: Tue, 2 Jul 2013 21:58:23 +0200
Require Import ClassicalEpsilon.
Inductive sum (A B : Type) : Type :=
| leftT : A -> sum A B
| rightT : B -> sum A B.
Lemma foo : forall A : Type, sum A (A -> False).
intros; destruct (excluded_middle_informative (exists x : A, True)) as [M|];
eauto using sum.
left; eapply constructive_indefinite_description in M; destruct M; auto.
Qed.
On 2 Jul 2013, at 21:44, Chris Casinghino wrote:
> Hi Adam,
>
> Thanks for the quick response. You're certainly right, and I should
> have been a little clearer. I'm interested specifically in logical
> consistency, and am not concerned about extraction or the fact that
> the axiom will get in the way of reduction.
>
> --Chris
>
>> Such an axiom certainly breaks extraction, since it has no natural
>> computational interpretation, but perhaps you don't care about extraction.
>> It also makes Gallina "computation" highly non-computational, which also
>> might not bother you, depending on the application. I don't know if it's
>> logically consistent.
- [Coq-Club] Excluded Middle for Type?, Chris Casinghino, 07/02/2013
- Re: [Coq-Club] Excluded Middle for Type?, Adam Chlipala, 07/02/2013
- Re: [Coq-Club] Excluded Middle for Type?, Chris Casinghino, 07/02/2013
- Re: [Coq-Club] Excluded Middle for Type?, Viktor Vafeiadis, 07/02/2013
- Message not available
- Fwd: [Coq-Club] Excluded Middle for Type?, Jonas Kaiser, 07/02/2013
- Re: [Coq-Club] Excluded Middle for Type?, Chris Casinghino, 07/02/2013
- Fwd: [Coq-Club] Excluded Middle for Type?, Jonas Kaiser, 07/02/2013
- Re: [Coq-Club] Excluded Middle for Type?, Chris Casinghino, 07/02/2013
- Re: [Coq-Club] Excluded Middle for Type?, Adam Chlipala, 07/02/2013
- Re: [Coq-Club] Excluded Middle for Type?, Andrew Cave, 07/02/2013
Archive powered by MHonArc 2.6.18.