Skip to content

Misleading simp mention in cbv error message #13719

@juanjomadrigal

Description

@juanjomadrigal

Prerequisites

Description

simp being mentioned instead of cbv in a failing tactic execution.

Context

Newly introduced cbv tactic

Steps to Reproduce

A simple code like

def fact : Nat → Nat
| 0 => 1
| n+1 => (n+1) * fact n

set_option cbv.maxSteps 20 in
example : fact 5 > 0 := by
  cbv

generates a somewhat misleading message involving simp (it should be cbv)

`simp` failed: maximum number of steps exceeded
Image

Expected behavior: `cbv` failed: maximum number of steps exceeded

Actual behavior: `simp` failed: maximum number of steps exceeded

Versions

4.30.0-rc2/ 4.31.0-nightly-2026-05-12

Impact

Low

Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions