This PR adds a new `first_par` tactic combinator that runs multiple tactics in parallel and returns the first successful result (cancelling the others). The `try?` tactic's `atomicSuggestions` step now uses `first_par` to try three grind variants in parallel: - `grind? +suggestions` - uses library suggestion engine - `grind? +locals` - unfolds local definitions from current file - `grind? +locals +suggestions` - combines both This leverages `TacticM.parFirst` which already provides the "first success wins" parallel execution with cancellation. ### Depends on - [x] depends on: #11946 🤖 Prepared with Claude Code --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| bench | ||
| bench-radar | ||
| compiler | ||
| elabissues | ||
| ir | ||
| lake | ||
| lean | ||
| pkg | ||
| playground | ||
| plugin | ||
| simpperf | ||
| .gitignore | ||
| common.sh | ||
| lakefile.toml | ||
| lean-toolchain | ||