Zulip Chat Archive

Stream: lean4

Topic: using (or making explicit) hidden assumptions?


Thomas Murrills (Dec 15 2022 at 05:22):

Can you refer to an automatically-generated hidden assumption (like h✝) explicitly in a tactic somehow (e.g., so that it does what you'd naively expect rw [h✝] to do)? If not, is there some standard way to make them explicit once they already exist in the context?

Thomas Murrills (Dec 15 2022 at 05:33):

(In particular, I'm looking to refer to some of the assumptions split introduced.)

Arien Malec (Dec 15 2022 at 05:37):

rename_i renames the last automatically introduced hygenic names.

Mario Carneiro (Dec 15 2022 at 05:38):

In a tactic, you should use FVarId to refer to hypotheses instead of user names where possible


Last updated: Dec 20 2023 at 11:08 UTC