coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Théo Winterhalter <theo.winterhalter AT inria.fr>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Equivalence for propositional functions
- Date: Wed, 25 Dec 2024 01:01:45 +0100
- Authentication-results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=theo.winterhalter AT inria.fr; dmarc=fail (p=none dis=none) d=inria.fr
Yes, with exactly the same proof. You can substitute y for x in the goal and thus you only need to prove f x <-> f x which holds by reflexivity.
On 25 Dec 2024, at 00:09, richard <richard.dapoigny AT univ-smb.fr> wrote:Dear coq users,
In Coq it is possible to prove image equality for functions : Theorem eq_img: forall {X:Type} (f: X->X) (x y :X), x = y -> f x = f y. However, is it possible to prove similarly an equivalence for propositional functions (assuming classical logic)? :
Theorem eq_fprop: forall {X:Type} (f: X->Prop) (x y :X), x = y -> f x <-> f y. Thanks for your help. Richard
- [Coq-Club] Equivalence for propositional functions, richard, 12/25/2024
- Re: [Coq-Club] Equivalence for propositional functions, Théo Winterhalter, 12/25/2024
- Re: [Coq-Club] Equivalence for propositional functions, mukesh tiwari, 12/25/2024
- Re: [Coq-Club] Equivalence for propositional functions, Richard Dapoigny, 12/25/2024
Archive powered by MHonArc 2.6.19+.