This PR modifies Lean.MVarId.replaceTargetDefEq and Lean.MVarId.replaceLocalDeclDefEq to use Expr.equal instead of Expr.eqv when determining whether the expression has changed. This is justified on the grounds that binder names and binder infos are user-visible and affect elaboration.
This PR modifies
Lean.MVarId.replaceTargetDefEq
andLean.MVarId.replaceLocalDeclDefEq
to useExpr.equal
instead ofExpr.eqv
when determining whether the expression has changed. This is justified on the grounds that binder names and binder infos are user-visible and affect elaboration.