]> matita.cs.unibo.it Git - helm.git/blob - helm/ocaml/cic_disambiguation/doc/precedence.txt
fix
[helm.git] / helm / ocaml / cic_disambiguation / doc / precedence.txt
1
2 Input                  Should be parsed as             Derived constraint
3                                                        on precedence
4 --------------------------------------------------------------------------------
5 \lambda x.x y          ((\lambda x.x) y)               lambda > apply
6 S x = y                  (= (S x) y)                   apply  > infix operators
7 \forall x.x=x          (\forall x.(= x x))             infix operators > binders
8 \lambda x.x \to x    \lambda. (x \to x)                \to > \lambda
9 --------------------------------------------------------------------------------
10
11 Precedence total order:
12
13   \to > lambda > apply > infix operators > binders
14
15 where binders are all binders except lambda (i.e. \forall, \pi, \exists)
16