diff options
author | filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2000-03-10 17:46:01 +0000 |
---|---|---|
committer | filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2000-03-10 17:46:01 +0000 |
commit | 9f8ccadf2f68ff44ee81d782b6881b9cc3c04c4b (patch) | |
tree | cb38ff6db4ade84d47f9788ae7bc821767abf638 /theories/Arith/Arith.v | |
parent | 20b4a46e9956537a0bb21c5eacf2539dee95cb67 (diff) |
mise sous CVS du repertoire theories/Arith
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@311 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Arith/Arith.v')
-rwxr-xr-x | theories/Arith/Arith.v | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/theories/Arith/Arith.v b/theories/Arith/Arith.v new file mode 100755 index 000000000..ab3a00ce7 --- /dev/null +++ b/theories/Arith/Arith.v @@ -0,0 +1,30 @@ + +(* $Id$ *) + +Require Export Le. +Require Export Lt. +Require Export Plus. +Require Export Gt. +Require Export Minus. +Require Export Mult. +Require Export Between. +Require Export Minus. + +Axiom My_special_variable : nat -> nat. +Declare ML Module "g_natsyntax". + +Grammar nat number :=. + +Grammar command command10 := + natural_nat [ nat:number($c) ] -> [$c]. + +Grammar command atomic_pattern := + natural_pat [ nat:number($c) ] -> [$c]. + +Syntax constr + level 0: + myspecialvariable [<<My_special_variable>>] -> ["S"]; + level 10: + S [<<(S $p)>>] -> [$p:"nat_printer"] +| O [<<O>>] -> [ "0" ] +. |