Zulip Chat Archive

Stream: lean4

Topic: how to create a named hole


Locria Cyber (Feb 14 2023 at 12:09):

Is there something like def a := ?hole

I know sorry works as a hole

Arthur Paulino (Feb 14 2023 at 12:13):

What's the difference from sorry in terms of behavior that you're expecting?

Chris Bailey (Feb 14 2023 at 12:20):

The refine tactic is generally used for this.

example : True  True := by
  refine And.intro ?l ?r
  case l => trivial
  case r => trivial

Locria Cyber (Feb 14 2023 at 13:30):

Arthur Paulino said:

What's the difference from sorry in terms of behavior that you're expecting?

Nothing. I only want to have named holes


Last updated: Dec 20 2023 at 11:08 UTC