Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Where is notation for numbers ( 2=S (S O) )defined?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Where is notation for numbers ( 2=S (S O) )defined?


Chronological Thread 
  • From: "Soegtrop, Michael" <michael.soegtrop AT intel.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: [Coq-Club] Where is notation for numbers ( 2=S (S O) )defined?
  • Date: Mon, 11 Nov 2013 09:59:54 +0000
  • Accept-language: de-DE, en-US

Dear Coq users,

 

just for the fun of it I looked into theories/init. One thing I couldn’t find in there is the definition of the notation for natural numbers e.g. 2=S (S O). I wonder how this actually works and how one creates such notations or assigns them to a type like nat or Z or binary naturals? Is it possible to create a binary or hexadecimal notation for naturals or e.g. a notation for a floating point type or some sort of advanced notation?

 

Also is it possible to run Coq in CoqIde without loading prelude.v, e.g. for educational purposes?

 

Thanks & best regards,

 

Michael




Archive powered by MHonArc 2.6.18.

Top of Page