lean4-htt/tests/lean/convPatternMatchIssue.lean
Kyle Miller 044bfdb098
feat: eliminate letFun support, deprecate let_fun syntax (#9086)
This PR deprecates `let_fun` syntax in favor of `have` and removes
`letFun` support from WHNF and `simp`.
2025-06-30 02:10:18 +00:00

10 lines
191 B
Text

def test : (λ x => x)
=
(λ x : Nat =>
have foo := λ y => id (id y)
foo x) := by
conv =>
pattern (id _)
trace_state
skip
rfl