Stream: Beginner Questions

Topic: Quote generated variable name:


view this post on Zulip Yiming Xu (Sep 12 2024 at 18:15):

image.png

view this post on Zulip Yiming Xu (Sep 12 2024 at 18:16):

I am working on an induction and the inductive case gives a free variable with name "fa__".

view this post on Zulip Mathias Fleury (Sep 12 2024 at 18:17):

then name it

view this post on Zulip Yiming Xu (Sep 12 2024 at 18:17):

But when I copy and paste the name and want to prove a fact about it, Isabelle complains about the bad name.

view this post on Zulip Mathias Fleury (Sep 12 2024 at 18:17):

that what the case is for

view this post on Zulip Mathias Fleury (Sep 12 2024 at 18:18):

case (3 p f a g)

view this post on Zulip Yiming Xu (Sep 12 2024 at 18:19):

Thank you, the world is peaceful again. So it is just because it is unhappy with names with "_"?

view this post on Zulip Mathias Fleury (Sep 12 2024 at 18:19):

these are internal names you are not supposed to use

view this post on Zulip Yiming Xu (Sep 12 2024 at 18:21):

Got it. I am a bit suprised because I can type things like "?case" with these question mark.


Last updated: Dec 21 2024 at 16:20 UTC