Back in Lean 3, @[simp] def f only unfolded suitably applied appearances of f. In Lean 4, it means it can be unfolded unapplied.
This resulted in many @[simp] attributes being removed from definitions, and replaced by explicit @[simp] lemmas.
This issue is a tracking issue for places where adaptations were required for this that may warrant further investigation. Often during the port this was worked around using @[eqns], but with changes to the generation of equation lemmas this approach has become less reliable.
Back in Lean 3,
@[simp] def f
only unfolded suitably applied appearances off
. In Lean 4, it means it can be unfolded unapplied.This resulted in many
@[simp]
attributes being removed from definitions, and replaced by explicit@[simp]
lemmas.This issue is a tracking issue for places where adaptations were required for this that may warrant further investigation. Often during the port this was worked around using
@[eqns]
, but with changes to the generation of equation lemmas this approach has become less reliable.