Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Simplest example of impredicative Prop?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Simplest example of impredicative Prop?


Chronological Thread 
  • 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
>



Archive powered by MHonArc 2.6.18.

Top of Page