summaryrefslogtreecommitdiff
path: root/theories/Init/Nat.v
diff options
context:
space:
mode:
Diffstat (limited to 'theories/Init/Nat.v')
-rw-r--r--theories/Init/Nat.v4
1 files changed, 4 insertions, 0 deletions
diff --git a/theories/Init/Nat.v b/theories/Init/Nat.v
index ad1bc717..eb4ba0e5 100644
--- a/theories/Init/Nat.v
+++ b/theories/Init/Nat.v
@@ -24,6 +24,10 @@ Definition t := nat.
(** ** Constants *)
+Local Notation "0" := O.
+Local Notation "1" := (S O).
+Local Notation "2" := (S (S O)).
+
Definition zero := 0.
Definition one := 1.
Definition two := 2.