Changelog

leanprover/lean4 · · 2 commits

Lean tightens instance search typing

A breaking fix makes instance search respect expected types more strictly, plus a small docs typo cleanup.

Instance search now checks metavariable assignments against the expected type (datokratf86fc8a)

Lean now restricts assignments to metavariables created for instance-implicit arguments so their final values match the expected type at instance transparency. This fixes #9077 and adds a backward-compatibility option, but it is a breaking change that can affect existing declarations.

Doc typo fixed in IterStep.skip (ia057eb1ae)

A documentation typo in IterStep.skip was corrected in Init.Data.Iterators.Basic. This is purely cosmetic.

Other misc changes

  • Added new backward-compatibility and transparency-control options for instance search
  • Extended regression tests and expected outputs around definitional equality / instance search behavior