Repository navigation
Overview
Excited to announce Paperproof 3!
This is probably the most important release we have had.
Paperproof can now be used without installing anything. So, you have a Lean project, you install the Paperproof VSCode extension, and that's it - the Paperproof panel will work automatically.
You don't need to mess with Lean version compatibilities, you don't need to update the lakefile.lean/lake update.
Paperproof will automatically determine which Lean parser will work for your repo, and parse the proof on the fly.
Supported Lean versions
As it stands, Paperproof works automatically with any Lean version from v4.25.0 to v4.36.0.
It should work beyond v4.36.0, and we're keeping an eye on the new Lean versions, but if something breaks for the new Lean version it would be helpful if you file an issue.
Technical details
We create a file that duplicates your file that looks like this:
YOUR FILE (import statements)
our parser
YOUR FILE (theorems, etc.)
Then, we mark it as .didOpen in VSCode sense (even though it didn't physically open), which makes Lean elaborate it. Then, we map real-life positions to duplicate-file positionts (something like "position + 800").