lean2/tests/lean/subst.lean.expected.out
Leonardo de Moura aa99ac6618 feat(kernel/value): allow semantic attachments to use coercions when being pretty printed
For example, this feature is useful when displaying the integer value 10 with coercions enabled. In this case, we want to display "nat_to_int 10" instead of "10".

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-10-30 11:42:26 -07:00

12 lines
374 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
Assumed: a
Assumed: n
Assumed: H1
Assumed: H2
Proved: T
Set: lean::pp::coercion
Set: lean::pp::notation
Set: lean::pp::implicit
Theorem T : eq::explicit (Int::add (Int::add a (nat_to_int n)) a) (nat_to_int 10) :=
Subst::explicit a (nat_to_int n) (λ x : , Int::add (Int::add a x) a == nat_to_int 10) H1 H2