Skip to content

Conversation

@leodemoura
Copy link
Member

This PR adds infrastructure for the upcoming grind tactic mode, which will be similar to the conv mode. The goal is to extend grind from a terminal tactic into an interactive mode: grind => ….

It will serve as the foundation for ungrind, the process of converting an expensive (and potentially fragile) grind proof into a robust script. This mode will include tactics for expensive reasoning steps such as cutsat model-based search, Gröbner basis computation, E-matching, case splits, and more.

It will also provide robust, succinct references to facts and terms: labels, structural matches, and anchors (e.g., #abcd).

@leodemoura leodemoura requested a review from kim-em as a code owner September 28, 2025 23:24
@leodemoura leodemoura added the changelog-tactics User facing tactics label Sep 28, 2025
@leodemoura leodemoura added this pull request to the merge queue Sep 28, 2025
Merged via the queue into master with commit eba8bf3 Sep 29, 2025
19 checks passed
arthur-adjedj pushed a commit to arthur-adjedj/lean4 that referenced this pull request Oct 6, 2025
This PR adds infrastructure for the upcoming `grind` tactic mode, which
will be similar to the `conv` mode. The goal is to extend `grind` from a
terminal tactic into an interactive mode: `grind => …`.

It will serve as the foundation for `ungrind`, the process of converting
an expensive (and potentially fragile) `grind` proof into a robust
script. This mode will include tactics for expensive reasoning steps
such as cutsat model-based search, Gröbner basis computation,
E-matching, case splits, and more.

It will also provide robust, succinct references to facts and terms:
labels, structural matches, and anchors (e.g., `#abcd`).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-tactics User facing tactics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants