lean2/tests/lean/subst.lean
Leonardo de Moura 08718e33dc refactor(builtin): only load the kernel and natural numbers by default
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-30 13:35:37 -08:00

10 lines
236 B
Text

Import int.
Variable a : Int
Variable n : Nat
Axiom H1 : a + a + a = 10
Axiom H2 : a = n
Theorem T : a + n + a = 10 := Subst H1 H2
SetOption pp::coercion true
SetOption pp::notation false
SetOption pp::implicit true
Show Environment 1.