lean2/tests/lean/coercion2.lean.expected.out
Leonardo de Moura c97e669f0c Add coercion support in the elaborator and pretty printer
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-09-01 19:09:07 -07:00

31 lines
497 B
Text

Set option: pp::colors
Assumed: T
Assumed: R
Assumed: t2r
Coercion t2r
Assumed: g
Assumed: a
g a a
Assumed: b
g a b
g b a
Set option: lean::pp::coercion
g (t2r a) (t2r a)
g (t2r a) b
g b (t2r a)
Set option: lean::pp::coercion
Assumed: S
Assumed: s
Assumed: r
Assumed: h
Set option: lean::pp::notation
g (g a b) a
h (h r s) r
R
S
Set option: lean::pp::coercion
g (g (t2r a) b) (t2r a)
h (h r s) r
Set option: lean::pp::notation
(t2r a) ++ b ++ (t2r a)
r ++ s ++ r