Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prover functions in queue #2461

Open
wants to merge 31 commits into
base: main
Choose a base branch
from
Open

Prover functions in queue #2461

wants to merge 31 commits into from

Conversation

chriseth
Copy link
Member

@chriseth chriseth commented Feb 7, 2025

This change also adds prover functions as a third kind of "queue item". The biggest change, though, is a refactoring concerning the code that computes which variables are contained in an identity. The whole mechanism is changed to handle queue items uniformly.

@chriseth chriseth force-pushed the prover_functions_in_queue branch from 1fd3ba3 to 8cce9c8 Compare February 7, 2025 11:22
@chriseth chriseth marked this pull request as ready for review February 7, 2025 15:20
@chriseth chriseth mentioned this pull request Feb 7, 2025
references_per_identity: HashMap::new(),
}
}
pub fn references(&mut self, item: &QueueItem<'a, T>) -> Vec<Variable> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe this can return an iterator, usage seems to immediately call iter().

Copy link
Member Author

Choose a reason for hiding this comment

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

I tried to make this return an iterator, but I got some errors wrt either references to &mut self or temporaries in lambda functions.

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.

2 participants