aa99ac6618
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>
12 lines
374 B
Text
12 lines
374 B
Text
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
|