Zulip Chat Archive

Stream: general

Topic: beefing up `conv_lhs`


Kevin Buzzard (Dec 22 2020 at 14:22):

I just tried (in a tactic block)

    conv_rhs {rw  nat.choose_symm}, -- interesting failure,

and got error

    convert tactic failed, there are unsolved goals

The thing I'm rewriting needs a proof before it works. I just want that proof to pop out. I think @Eric Wieser was thinking about something related to this recently.

Eric Wieser (Dec 22 2020 at 14:23):

Yep, you can hack exact in there to solve the proof in place

Eric Wieser (Dec 22 2020 at 14:24):

abbreviation conv.interactive.exact : conv unit := tactic.interactive.exact

Eric Wieser (Dec 22 2020 at 14:24):

And then use exact begin ... end in the conv block

Eric Wieser (Dec 22 2020 at 14:25):

There's an open PR adding that one line, but I've not come back to it because it needs tests and I don't actually need it any more

Eric Wieser (Dec 22 2020 at 14:25):

#4615


Last updated: Dec 20 2023 at 11:08 UTC