coq-club AT inria.fr
Subject: The Coq mailing list
List archive
Re: [Coq-Club] Singleton with sets as characteristic functions in classical logic
Chronological Thread
- From: richard dapoigny <richard.dapoigny AT univ-smb.fr>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Singleton with sets as characteristic functions in classical logic
- Date: Tue, 27 Aug 2019 11:03:27 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=richard.dapoigny AT univ-smb.fr; spf=Pass smtp.mailfrom=richard.dapoigny AT univ-smb.fr; spf=None smtp.helo=postmaster AT smtpout01-ext1.partage.renater.fr
Thanks Daniel for your answer. The problem is that i can loose decidability if i assume the description axiom: a sentence having form ∀x, {P x} + {∼P x} does not mean that P is decidable, since it can be derived from excluded middle.
Le 27/08/2019 à 01:34, Daniel Schepler a écrit :
On Mon, Aug 26, 2019 at 3:54 PM richard dapoigny
<richard.dapoigny AT univ-smb.fr>
wrote:
Dear Coq users,If you also assume the constructive_definite_description axiom from
Assuming classical logic with the following definitions:
Variable object : Set. (* elements *)
Definition eqobject := @Logic.eq object.
Lemma eqobject_dec : forall x y:object, eqobject x y \/ ~(eqobject x y).
Proof.
intros x y;unfold eqobject;apply classic.
Qed.
Is there a way to transform the following definition with Prop in classical
logic (i.e., to remove booleans since left and right refer to sumbool):
Definition Singleton (a:object) :=
Caract
(fun a':object =>
match eqobject_dec a a' with
| left h => True
| right h => False
end).
Thanks for your help.
the Description module, then you can construct classic_dec : forall P
: Prop, {P} + {~P}. This axiom is in line with traditional
mathematics (but not with constructivist mathematics): it's a
formalization of the type of definition that goes "define foo to be
the unique x such that some condition holds on x".
- [Coq-Club] Singleton with sets as characteristic functions in classical logic, richard dapoigny, 08/27/2019
- Re: [Coq-Club] Singleton with sets as characteristic functions in classical logic, Daniel Schepler, 08/27/2019
- Re: [Coq-Club] Singleton with sets as characteristic functions in classical logic, richard dapoigny, 08/27/2019
- Re: [Coq-Club] Singleton with sets as characteristic functions in classical logic, Christian Doczkal, 08/27/2019
- Message not available
- Message not available
- Re: [Coq-Club] Singleton with sets as characteristic functions in classical logic, richard dapoigny, 08/29/2019
- Message not available
- Message not available
- Re: [Coq-Club] Singleton with sets as characteristic functions in classical logic, Christian Doczkal, 08/27/2019
- Re: [Coq-Club] Singleton with sets as characteristic functions in classical logic, richard dapoigny, 08/27/2019
- Re: [Coq-Club] Singleton with sets as characteristic functions in classical logic, Daniel Schepler, 08/27/2019
Archive powered by MHonArc 2.6.18.