Zulip Chat Archive
Stream: lean4
Topic: unknown free variable on `obtain`
Aaron Liu (Jul 08 2025 at 16:20):
Here's a mwe
example (h : ∃ a : Nat, (∃ b, a = b + 1) ∧ 0 ≤ a) : True := by
obtain ⟨_, ⟨b, rfl⟩, put_your_cursor_here_and_look_at_the_infoview⟩ := h
trivial
Aaron Liu (Jul 08 2025 at 16:22):
The error is
Error updating: Error fetching goals: Rpc error: InternalError: unknown free variable '_fvar.161'. Try again.
Aaron Liu (Jul 08 2025 at 16:25):
This kind of obtain pattern turn up for membership in the image of a set.
Last updated: Dec 20 2025 at 21:32 UTC