Skip to content

Incorrect simp tracing for local right-to-left simp theorems ([<- x]) #2131

@JLimperg

Description

@JLimperg

MWE:

structure A
structure B

theorem stuff : A = B := sorry

example : B := by
  set_option tactic.simp.trace true in
  simp [← stuff] -- Try this: simp only [stuff] // should be: simp only [← stuff]
  exact A.mk

Tested with Lean 4 nightly 2023-03-01.

Reported on Zulip: https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/.60simp.3F.60.20dropping.20.60.3C-.60

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions