chore: update grind docstring (#11654)

This PR updates the `grind` docstring. It was still mentioning `cutsat`
which has been renamed to `lia`. This issue was reported during ItaLean.
This commit is contained in:
Leonardo de Moura 2025-12-13 15:32:30 +01:00 committed by GitHub
parent d76752ffb8
commit 292b74b0a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -156,10 +156,10 @@ theorems and helps prevent an excessive number of instantiations.
- `grind only [<name>, ...]` is like `grind [<name>, ...]` but does not use theorems tagged with `@[grind]`.
- `grind (gen := <num>)` sets the maximum generation.
### Linear integer arithmetic (`cutsat`)
### Linear integer arithmetic (`lia`)
`grind` can solve goals that reduce to **linear integer arithmetic (LIA)** using an
integrated decision procedure called **`cutsat`**. It understands
integrated decision procedure called **`lia`**. It understands
* equalities`p = 0`
* inequalities`p ≤ 0`
@ -172,7 +172,7 @@ This *model-based* search is **complete for LIA**.
#### Key options:
* `grind -cutsat`disable the solver (useful for debugging)
* `grind -lia`disable the solver (useful for debugging)
* `grind +qlia`accept rational models (shrinks the search space but is incomplete for )
#### Examples:
@ -297,7 +297,7 @@ syntax (name := grindTrace)
/--
`cutsat` solves linear integer arithmetic goals.
It is a implemented as a thin wrapper around the `grind` tactic, enabling only the `cutsat` solver.
It is a implemented as a thin wrapper around the `grind` tactic, enabling only the `lia` solver.
Please use `grind` instead if you need additional capabilities.
**Deprecated**: Use `lia` instead.
@ -307,7 +307,7 @@ syntax (name := cutsat) "cutsat" optConfig : tactic
/--
`lia` solves linear integer arithmetic goals.
It is a implemented as a thin wrapper around the `grind` tactic, enabling only the `cutsat` solver.
It is a implemented as a thin wrapper around the `grind` tactic, enabling only the `lia` solver.
Please use `grind` instead if you need additional capabilities.
-/
syntax (name := lia) "lia" optConfig : tactic