Zulip Chat Archive
Stream: lean4
Topic: conv and case
Simon Hudon (Mar 20 2022 at 17:14):
Is there an equivalent to case tag => inside the conv tactic language?
Mario Carneiro (Mar 20 2022 at 17:22):
I would guess it should be case tag =>
Mario Carneiro (Mar 20 2022 at 17:22):
it probably doesn't exist but you can make one yourself
Mario Carneiro (Mar 20 2022 at 17:22):
although I don't know how to make tags in a conv block in the first place
Simon Hudon (Mar 20 2022 at 17:24):
I'm looking at the elaborators for conv tactics and they seem to just exist inside the TacticM monad. case should have a very similar implementation inside conv and inside tactic
Simon Hudon (Mar 20 2022 at 18:37):
Update: copy pasting the case elaborator works for conv (with a few replacements like evalTactic -> evalConvSeq and tacticSeq -> convSeq)
Last updated: May 02 2025 at 03:31 UTC