Zulip Chat Archive

Stream: new members

Topic: Convert tactic proof


Hunter Monroe (Apr 25 2021 at 19:03):

How do you convert a tactic-based proof to a term? I saw this in a video and could not find it again.

Hanting Zhang (Apr 25 2021 at 19:04):

show_term

Hanting Zhang (Apr 25 2021 at 19:04):

around the thing you want

Kevin Buzzard (Apr 25 2021 at 20:02):

show_term will work on any tactic in the proof, or even a subset of tactics if you group them together with { }. If you just want to see the entire proof term then #print theorem_name should work.


Last updated: Dec 20 2023 at 11:08 UTC