Skip to Content.
Sympa Menu

coq-club - [Coq-Club] nat_rect?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] nat_rect?


chronological Thread 
  • From: Rene Vestergaard <vester AT jaist.ac.jp>
  • To: coq-club AT pauillac.inria.fr
  • Subject: [Coq-Club] nat_rect?
  • Date: Thu, 06 Oct 2005 14:16:08 +0900
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
  • Organization: JAIST

When inputting "Print nat_rect." to the current Windows version (8.0, April 2004), I get the following response:

nat_rect =
fun (P : nat -> Type) (f : P 0) (f0 : forall n : nat, P n -> P (S n)) =>
(fix F (n : nat) : P n :=
   match n return P with
   | O => f
   | S n0 => f0 n0 (F n0)
   end)
     : forall P : nat -> Type,
       P 0 -> (forall n : nat, P n -> P (S n)) -> forall n : nat, P n

Should it not be "match n return (P n)"?

Cheers,
/R




Archive powered by MhonArc 2.6.16.

Top of Page