Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pattern-matching in theorem signature causes unknown constant 'foo.match_1' #66

Open
llllvvuu opened this issue Jan 8, 2025 · 0 comments

Comments

@llllvvuu
Copy link
Contributor

llllvvuu commented Jan 8, 2025

{"cmd": "#eval 1 + 1"}

{"cmd": "def foo : (fun ((x, y, z) : Nat × Nat × Nat) => x = x) = fun x => True := by sorry", "env": 0}

{"tactic": "simp", "proofState": 0}

Expected: Goal closed
Actual: {"message": "Lean error:\nunknown constant 'foo.match_1'"}

This comes down to 6651502 which eliminates both foo and foo.match_1 from the env.

I'm not sure why the InfoTree env has foo actually, but I've made a question about this on Zulip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant