Hi, I am using Goal.prove_common
to prove a goal with auto_tac and I would like to report which lemmas were used during simplifcation, I figured if I enabled simp_trace
there might be a way to collect it and I could parse the info from there?
Hi @Andrea Vezzosi ,
I don't really know much about simp_trace
.
But the usual step would be something like
I've done this loads of times over the past 10 years, and it's always been great fun!
:laughing:
Oh, sure! Btw the solution was to hijack the tracing_fn
mutable reference that controls where tracing
output goes.
Unsynchronized.setmp Private_Output.tracing_fn <fun writing input to ref> <do the proving, read trace from ref> ()
Stay safe from concurrency. :bird:
Last updated: Apr 18 2025 at 20:21 UTC