coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Chung-Kil Hur <gil.hur AT gmail.com>
- To: "Benjamin C. Pierce" <bcpierce AT cis.upenn.edu>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Simplest example of impredicative Prop?
- Date: Wed, 25 Jul 2012 19:59:30 +0200
In order to define the tarski fixed point, you need the impredicativity of
Prop.
The following works.
===========================================
Definition powerset (A: Type) := A -> Prop.
Definition lfp A (f: powerset A -> powerset A) : powerset A :=
fun a => forall P, (forall a, f P a -> P a) -> P a.
===========================================
But, if you change Prop to Type, then you get university inconsistency.
===========================================
Definition powerset (A: Type) := A -> Type.
Definition lfp A (f: powerset A -> powerset A) : powerset A :=
fun a => forall P, (forall a, f P a -> P a) -> P a.
Error: Universe inconsistency.
===========================================
Cheers,
Gil
On Wed, Jul 25, 2012 at 4:23 PM, Benjamin C. Pierce
<bcpierce AT cis.upenn.edu>
wrote:
> What is the most elementary example showing why we want Prop to be
> impredicative?
>
> Thanks!
>
> - Benjamin
>
- [Coq-Club] Simplest example of impredicative Prop?, Benjamin C. Pierce, 07/25/2012
- Re: [Coq-Club] Simplest example of impredicative Prop?, Adam Chlipala, 07/25/2012
- Re: [Coq-Club] Simplest example of impredicative Prop?, gallais @ ensl.org, 07/25/2012
- Re: [Coq-Club] Simplest example of impredicative Prop?, Chung-Kil Hur, 07/25/2012
- Re: [Coq-Club] Simplest example of impredicative Prop?, Arnaud Spiwack, 07/27/2012
- Re: [Coq-Club] Simplest example of impredicative Prop?, Bas Spitters, 07/30/2012
- Re: [Coq-Club] Simplest example of impredicative Prop?, Arnaud Spiwack, 07/31/2012
- Re: [Coq-Club] Simplest example of impredicative Prop?, Benjamin C. Pierce, 07/31/2012
- Re: [Coq-Club] Simplest example of impredicative Prop?, Arnaud Spiwack, 07/31/2012
- Re: [Coq-Club] Simplest example of impredicative Prop?, Benjamin C. Pierce, 07/31/2012
- Re: [Coq-Club] Simplest example of impredicative Prop?, Arnaud Spiwack, 07/31/2012
- Re: [Coq-Club] Simplest example of impredicative Prop?, Bas Spitters, 07/30/2012
Archive powered by MHonArc 2.6.18.