Skip to content

Skip loading circularity module for non-circularity proofs#4860

Merged
automergerpr-permission-manager[bot] merged 4 commits intodevelopfrom
skip-circularity
Oct 1, 2025
Merged

Skip loading circularity module for non-circularity proofs#4860
automergerpr-permission-manager[bot] merged 4 commits intodevelopfrom
skip-circularity

Conversation

@ehildenb
Copy link
Copy Markdown
Member

@ehildenb ehildenb commented Sep 30, 2025

Some proofs we're loading are quite large in terms of the configuration and the unevaluated functions in it. They end up taking a long time to load the circularity module dynamically into the backend, even though it won't be used.

This simply skips loading the circularities module for proofs that are not marked as circularities. It should not affect the functionality of the prover at all, and if it does it's likely a bug where we're using the circularities module in a place we shouldn't.

This does mean, that for the pyk prover, circularities must be marked as such (like the sum-spec.k which is marked as such here), otherwise they won't be included automatically as an axiom.

@ehildenb ehildenb self-assigned this Sep 30, 2025
@ehildenb ehildenb marked this pull request as ready for review October 1, 2025 11:58
Copy link
Copy Markdown
Collaborator

@jberthold jberthold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@automergerpr-permission-manager automergerpr-permission-manager Bot merged commit 0f400ee into develop Oct 1, 2025
67 of 84 checks passed
@automergerpr-permission-manager automergerpr-permission-manager Bot deleted the skip-circularity branch October 1, 2025 12:30
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.

3 participants