lean2/tests/lean/tst3.lean.expected.out
Leonardo de Moura 2aaa9a5273 feat(frontends/lean/parser): change function application precedence
Now, we can write

  Pi (x y : A), R x y -> R y x

instead of

  Pi (x y : A), (R x y) -> (R y x)

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-18 12:44:15 -08:00

28 lines
534 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Set: pp::colors
Set: pp::unicode
Notation 10 if _ then _ : implies
if then ⊥
if then (if a then ⊥)
implies (implies a ⊥)
Notation 100 _ |- _ ; _ : f
f c d e
c |- d ; e
(c !) !
fact (fact c)
The precedence of ';' changed from 100 to 30.
[ c ; d ]
[ c ; ([ d ; e ]) ]
g c (g d e)
Notation 40 _ << _ end : h
d << e end
[ c ; d << e end ]
g c (h d e)
c ** d ++ e ** c
p1 p2 ∧ p3
r (s c d) (s e c)
or p1 (and p2 p3)
c = d d = c
¬ p1 p2
p1 ∧ p3 p2 ∧ p3
or (not p1) p2
or (and p1 p3) (and p2 p3)