Small repo that illustrates how you can use lean with flux.
git clone https://github.com/flux-rs/flux-to-lean-demo.gitcd flux-to-lean-democode --add vscode lean_proofs
The last line adds the lean_proofs folder to the vscode workspace.
- Open in vscode
code . - Toggle flux mode on and off using the command palette
Ctrl+Shift+Pand thenFlux: Toggle Flux Mode - Squash the red squiggles!
Run runlean.sh
cargo fluxgenerates a bunch of errorscp -r UserProofs/* lean_proofs/LeanProofs/User/cargo fluxshould generate no errors!
-
LeanProofs.User.Proof.SortMergeProof
-
LeanProofs.User.Proof.SortMergeSortProof
-
LeanProofs.User.Proof.SortPartitionProof