Question

Natural numbers are defined inductively as (using Coq syntax as an example)

Inductive nat: Set :=
| O: nat
| S: nat -> nat.

Is there a standard way to define integers (and maybe other sets like rationals and reals) constructively?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with cs.stackexchange
scroll top