mirror of
https://github.com/leanprover/lean4.git
synced 2026-03-17 10:24:07 +00:00
sg/sym-mvcgen-split
mkBackwardRuleForSplit and fix fvar alt handling
Inline `withSplitterAndLocals` into `mkBackwardRuleForSplit` and replace it with a single `SplitInfo.splitWith` call. Eta-expand alts in `withAbstract` so `matcherApp.transform` can `instantiateLambda` them directly (no patching needed), then eta-reduce when computing `abstractProg` to avoid expensive higher-order unification in backward rule patterns. Extract `mkGoal` and `extractProgFromGoal` as top-level helpers, removing `replaceProgInGoal`. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This is the repository for Lean 4.
About
- Quickstart
- Homepage
- Theorem Proving Tutorial
- Functional Programming in Lean
- Documentation Overview
- Language Reference
- Release notes starting at v4.0.0-m3
- Examples
- External Contribution Guidelines
Installation
See Install Lean.
Contributing
Please read our Contribution Guidelines first.
Building from Source
See Building Lean.
Languages
Lean
94.3%
C++
4.1%
Python
0.6%
Shell
0.4%
CMake
0.3%