lean4-htt/tests/lean/simplifier1.lean
2016-06-10 18:29:41 -07:00

11 lines
334 B
Text

exit
/- Basic rewriting with eq without congruence or conditionals -/
universe l
constant T : Type.{l}
constants (x y z : T) (f g h : T → T)
constants (Hfxgy : f x = g y) (Hgyhz : g y = h z)
namespace tst attribute Hfxgy [simp] end tst
#simplify eq tst 2 (f x)
namespace tst attribute Hgyhz [simp] end tst
#simplify eq tst 2 (f x)