lean4-htt/tests
Kyle Miller 23bd9dfb09
fix: make rewrite/rw tactic abort on elaboration errors (#6891)
This PR modifies `rewrite`/`rw` to abort rewriting if the elaborated
lemma has any immediate elaboration errors (detected by presence of
synthetic sorries). Rewriting still proceeds if there are elaboration
issues arising from pending synthetic metavariables, like instance
synthesis failures. The purpose of the change is to avoid obscure
"tactic 'rewrite' failed, equality or iff proof expected ?m.5" errors
when for example a lemma does not exist.

This helps error reporting for the natural number game.
https://leanprover.zulipchat.com/#narrow/channel/113489-new-members/topic/Why.20doesn't.20add_left_comm.20work.20here.3F/near/497060022
2025-02-04 14:40:11 +00:00
..
bench test: identifier completion benchmark (#6796) 2025-01-27 19:31:32 +00:00
compiler
elabissues
ir
lean fix: make rewrite/rw tactic abort on elaboration errors (#6891) 2025-02-04 14:40:11 +00:00
pkg
playground feat: align take/drop/extract across List/Array/Vector (#6860) 2025-01-30 01:24:25 +00:00
plugin
simpperf
.gitignore
common.sh
lean-toolchain