This PR fixes a crash in the `cbv` tactic's `handleProj` simproc when processing a dependent projection (e.g. `Sigma.snd`) whose struct is rewritten via `@[cbv_eval]` to a non-definitionally-equal term that cannot be further reduced. - Previously, `handleProj` returned `.rfl (done := false)`, causing the `.proj` expression to flow into `simpStep` which throws "unexpected kernel projection term" - The fix marks the result as `done := true` so that `cbv` gracefully gets stuck instead of crashing - Adds regression tests for dependent projections on `Sigma`, custom structures, and `Subtype` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| bench | ||
| bench-radar | ||
| compiler | ||
| elabissues | ||
| ir | ||
| lake | ||
| lean | ||
| pkg | ||
| playground | ||
| plugin | ||
| simpperf | ||
| .gitignore | ||
| CMakeLists.txt | ||
| common.sh | ||
| lakefile.toml | ||
| lean-toolchain | ||