test(tests/lean/run/1675): simp_all and let
This commit is contained in:
parent
0b36e014e6
commit
bd9f54cfe7
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue