I'm trying to use larger numbers in Coq where the built in Nat type isn't appropriate. So I'm trying to establish particular values with a positive type or N type.
According to the Standard Library documentation for BinNums:
Numbers in positive will also be denoted using a decimal notation; e.g. 6%positive will abbreviate xO (xI xH)
Numbers in N will also be denoted using a decimal notation; e.g. 6%N will abbreviate Npos (xO (xI xH))
But my Coq code is still giving me Nat typed numbers:
From Coq
Require Import BinNums.
Definition sixp := 6%positive.
Definition sixn := 6%N.
Check sixp.
Check sixn.
Results:
sixp
: nat
sixn
: nat
Where am I going wrong?