Skip to content

Improve unfolding and quantifier elimination - #129

Open
Philipp15b wants to merge 8 commits into
mainfrom
codex/unfolder-qelim-improvements
Open

Philipp15b wants to merge 8 commits into
mainfrom
codex/unfolder-qelim-improvements

Conversation

@Philipp15b

Copy link
Copy Markdown
Collaborator

Add value-preserving algebraic quantifier elimination before the existing polarity-based pass, including threshold identities and Boolean embeddings.

Refactor guarded unfolding and limit reachability checks to 10 ms.

Add two examples where P and Q individually have expected polynomial runtime, but P;Q has infinite expected runtime.

Implementation assisted by Codex.

Replace the callback helpers with unfold_under and explicit guards.
Limit optional checks to 10 ms and keep branches on unknown.
Respect global limits, fix scope cleanup on errors, and add a timeout regression.
@Philipp15b
Philipp15b force-pushed the codex/unfolder-qelim-improvements branch from cb40c91 to 6c7c0e7 Compare September 29, 2026 22:01

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant