Zulip Chat Archive

Stream: new members

Topic: DIsplay proof term corresponding to tactics


Ricardo Prado Cunha (May 30 2023 at 19:12):

Is there a way to view the proof term corresponding to some definition that uses tactics, similar to the Print command in Coq? I've tried looking for this but all I could find is the ? argument to some tactics like simp, while I'd want something that expands out an entire definition rather than a single tactic.

Mario Carneiro (May 30 2023 at 19:24):

#print

Mario Carneiro (May 30 2023 at 19:25):

or show_term to show the expression generated by a subterm or tactic

Ricardo Prado Cunha (May 30 2023 at 19:44):

#print is exactly what I was looking for; thanks!


Last updated: Dec 20 2023 at 11:08 UTC