argumentcomputer / yatima

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

Modularize Lurk AST simplifiers #214

Closed arthurpaulino closed 2 years ago

arthurpaulino commented 2 years ago

We currently have one simp rule that's inside the code generator.

A more structured way to do simplification is to make it a post-processing step, with several other rules in a loop that terminates when the AST doesn't change anymore.