This PR adds the option `debug.terminalTacticsAsSorry`. When enabled, terminal tactics such as `grind` and `omega` are replaced with `sorry`. Useful for debugging and fixing bootstrapping issues.
17 lines
312 B
Text
17 lines
312 B
Text
set_option debug.terminalTacticsAsSorry true
|
|
|
|
example (_ : x > 0) : False := by
|
|
omega
|
|
|
|
example (_ : x > 0) : False := by
|
|
grind
|
|
|
|
set_option debug.terminalTacticsAsSorry false
|
|
|
|
example (_ : x > 0) : False := by
|
|
fail_if_success omega
|
|
sorry
|
|
|
|
example (_ : x > 0) : False := by
|
|
fail_if_success grind
|
|
sorry
|