lean4-htt/tests/lean/run/dotNameIssue.lean
Leonardo de Moura c2c2783f32 feat: improve dot name resolution by lazily unfolding resulting type
See new test to understand issue being fixed by this commit.
2022-04-10 14:37:27 -07:00

7 lines
163 B
Text

example : x ≠ y → x ∉ [y] :=
fun hne hin =>
match hin with
| .head _ => hne rfl
example : x ≠ y → x ∉ [y] :=
fun hne (.head _) => hne rfl