Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] on nat

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] on nat


Chronological Thread 
  • From: David Pereira <dpereira AT liacc.up.pt>
  • To: Nuno Gaspar <nmpgaspar AT gmail.com>
  • Cc: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] on nat
  • Date: Wed, 15 May 2013 13:46:40 +0100

Hi,


>
> I was unable to find a work in the users' contributions that uses it, but I
> imagine there exists with such a need...
>
> could you please point me to a development that uses lists to represent
> (large) natural numbers?

Isn't the type [N] enough for you? It is available in the NArith module of
the standard library. The type [N] is a binary encoding of natural numbers
and is efficient when compared to the Peano representation.


Cheers,
David.


>
> --
> Bart: Look at me, I'm a grad student, I'm 30 years old and I made $600
> dollars last year.
> Marge: Bart! Don't make fun of grad students, they just made a terrible
> life choice.




Archive powered by MHonArc 2.6.18.

Top of Page