lean2/tests/lean/subst.lean
Leonardo de Moura 7726ccad28 chore(builtin): rename nat, int and real modules to Nat, Int and Real.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-01 13:52:25 -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.