argumentcomputer / yatima

A zero-knowledge Lean4 compiler and kernel
MIT License
122 stars 9 forks source link

Avoiding reader errors with code anonymization #233

Closed arthurpaulino closed 1 year ago

arthurpaulino commented 1 year ago

Adding an option to generate Lurk code with reused and more compact variable names, resulting on a source that can be hashed significantly faster.

This should also avoid some reader errors from lurkrs.

lake exe yatima gen Fixtures/CodeGeneration/TCFunctions.lean -d runCheckStore -r -a works correctly, but passing -rs instead doesn't work.