lean-crush

6.4. Inspecting SMT-LIB🔗

Use crush.save to write the final query:

set_option crush.save "query.smt2"

If crush closes the goal before translation, no script is written. An existing file at that path may therefore belong to an earlier run.

Use backend "none" to test collection and translation without starting a solver or taking an early proof shortcut:

set_option crush.backend "none"
set_option crush.save "query.smt2"

Because backend "none" deliberately does not close the goal, follow crush with another proof tactic when using it inside a successful Lean declaration.

For short queries, crush.trace.script true or trace.crush.script true prints the generated script. trace.crush.mono, trace.crush.inst, and trace.crush.result expose the main decision points without dumping the whole query. Use trace.crush.replay to identify slow Alethe rules and the replay method selected for each one.