Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Singleton with sets as characteristic functions in classical logic

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[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: [Coq-Club] Singleton with sets as characteristic functions in classical logic
  • Date: Tue, 27 Aug 2019 00:53:37 +0200
  • Authentication-results: mail2-smtp-roc.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 smtpout02-ext2.partage.renater.fr

Dear Coq users,

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.



Archive powered by MHonArc 2.6.18.

Top of Page