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

feat(dev): add a trace expression #22

Open
lispc opened this issue Dec 12, 2022 · 0 comments
Open

feat(dev): add a trace expression #22

lispc opened this issue Dec 12, 2022 · 0 comments

Comments

@lispc
Copy link

lispc commented Dec 12, 2022

let exp = make_trace(condition, exp_original)

for mock prover, when condition is true, print offset and value of exp_original

for real prover, do nothing

inspired by https://stackoverflow.com/questions/47768298/how-to-understand-using-tf-cond-with-tf-print

@29988122 29988122 reopened this Mar 29, 2023
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

No branches or pull requests

2 participants