Skip to content

Add named and local simplify hint databases#954

Open
strub wants to merge 1 commit intomainfrom
hint-simplify-db
Open

Add named and local simplify hint databases#954
strub wants to merge 1 commit intomainfrom
hint-simplify-db

Conversation

@strub
Copy link
Member

@strub strub commented Mar 25, 2026

Introduce named simplify databases for global hint simplify declarations, and add proof-local control over which simplify DBs are active and which simplify lemmas are temporarily added or removed.

Thread the local simplify context through proof goals so the active DB set and local lemma overrides propagate across subgoals and are consulted by simplify and cbv. Also update simplify-hint printing and reduction storage to support named databases.

Add regression tests for named simplify DB selection and for local proof commands that activate or deactivate simplify DBs and manipulate local simplify lemmas.

Introduce named simplify databases for global `hint simplify`
declarations, and add proof-local control over which simplify DBs are
active and which simplify lemmas are temporarily added or removed.

Thread the local simplify context through proof goals so the active
DB set and local lemma overrides propagate across subgoals and are
consulted by `simplify` and `cbv`. Also update simplify-hint printing
and reduction storage to support named databases.

Add regression tests for named simplify DB selection and for local
proof commands that activate or deactivate simplify DBs and manipulate
local simplify lemmas.
@strub strub force-pushed the hint-simplify-db branch from b23f632 to fab0ba7 Compare March 25, 2026 18:43
@Gustavo2622
Copy link
Contributor

Partially answers #918 by wrapping exponent simplification lemmas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants