aboutsummaryrefslogtreecommitdiff
path: root/theories/Arith/Arith.v
blob: 1912f82d0576e30d9343148081c080e6fa9d2e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
(* $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.

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" ]
.