Zulip Chat Archive
Stream: Is there code for X?
Topic: trace simp
Kenny Lau (Jun 10 2025 at 09:03):
Is there a set_option to trace the steps taken by simp? I tried a few options but none of them does this.
Johan Commelin (Jun 10 2025 at 09:23):
Not what you asked, but do you know about simp? ?
Kenny Lau (Jun 10 2025 at 09:24):
yes, but that doesn't show me the intermediate steps
Matthew Ballard (Jun 10 2025 at 09:25):
Can you share which ones you’ve tried? I “think” set_option trace.Meta.Tactic.simp (off the top of my head) and its descendants have been ok for me.
Johan Commelin (Jun 10 2025 at 09:25):
And set_option tactic.simp.trace true is also not what you want?
... then I don't know.
Kenny Lau (Jun 10 2025 at 09:27):
Matthew Ballard said:
Can you share which ones you’ve tried? I “think”
set_option trace.Meta.Tactic.simp(off the top of my head) and its descendants have been ok for me.
thanks! this one worked
Kenny Lau (Jun 10 2025 at 09:28):
Johan Commelin said:
And
set_option tactic.simp.trace trueis also not what you want?... then I don't know.
this outputs the same thing as simp?.
Yaël Dillies (Jun 10 2025 at 09:35):
set_option trace.Meta.Tactic.simp.rewrite true is what you want
Yaël Dillies (Jun 10 2025 at 09:36):
This is quickly mentioned in the first simproc blogpost
Matthew Ballard (Jun 10 2025 at 09:36):
Also, there seems to be some redundancy with options for tracing simp right?
Yaël Dillies (Jun 10 2025 at 09:47):
Definitely! They are also still stuck in their half uppercase, half lowercase phase
Matthew Ballard (Jun 10 2025 at 09:49):
Is there an existing issue?
Yaël Dillies (Jun 11 2025 at 19:22):
I do not know, but I know @Cameron Zwarich is aware of the compiler vs Compiler discrepancy, and claims this is distinguishing new and old compiler
Cameron Zwarich (Jun 11 2025 at 19:24):
The problem with the compiler/Compiler options is known, and will probably be settled in a few releases after the old compiler is completely removed (probably in favor of using the Compiler name for everything?), but if there are similar issues elsewhere you should probably file a separate issue.
Kenny Lau (Jun 11 2025 at 19:29):
the problem is just that if I write set_option simp and then hit ctrl+space, i get 30 options
Yaël Dillies (Jun 11 2025 at 19:56):
I don't know. Happy to open one. @Cameron Zwarich is at least aware of trace.compiler vs trace.Compiler (old vs new compiler) and might be able to shed some light?
Yaël Dillies (Jun 11 2025 at 19:57):
Whoops sorry, I thought my first message went to limbo
Last updated: Dec 20 2025 at 21:32 UTC