test(tests/lean/run/1675): simp_all and let

This commit is contained in:
Leonardo de Moura 2017-07-02 10:15:00 -07:00
parent 0b36e014e6
commit bd9f54cfe7

View file

@ -38,3 +38,11 @@ begin
simp_all {fail_if_unchanged := ff}, -- should work
admit
end
example (p : Prop) : let h : 0 = 0 := rfl in p :=
begin
intro h,
simp_all,
do {e₁ ← get_local `h >>= infer_type, e₂ ← to_expr ```(true), guard (e₁ = e₂)},
admit
end