Zulip Chat Archive
Stream: general
Topic: parameters and tactics
Reid Barton (Nov 30 2018 at 14:07):
There's some issue with referring to top-level definitions which mention currently-active parameters
from within a tactic block, where the parameters don't get passed automatically. I found a workaround, though--if you wrap the tactic block in let foo := foo in ...
then the second foo
correctly gets its automatic parameters, and inside the tactic block foo
will refer to the one we just defined.
Simon Hudon (Nov 30 2018 at 17:42):
It is a known issue. I believe the developers intend on fixing that behavior in Lean 4.
Last updated: Dec 20 2023 at 11:08 UTC