2015-11-05 05:53:12 +00:00
|
|
|
/- Basic rewriting with eq without congruence or conditionals -/
|
|
|
|
universe l
|
|
|
|
constant T : Type.{l}
|
2015-11-16 19:01:53 +00:00
|
|
|
constants (x y z : T) (f g h : T → T)
|
2015-11-05 05:53:12 +00:00
|
|
|
constants (Hfxgy : f x = g y) (Hgyhz : g y = h z)
|
|
|
|
|
2015-11-16 19:01:53 +00:00
|
|
|
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)
|