1
2
3
4
5
6import datasets.verina.verina_basic_88.task
namespace Submission
theorem solution : type_of% @ToArray_spec_satisfied := by
intro xs h
simp [ToArray, getElem!_pos]
end Submission
Check it yourself
Project
verina
Commit
66b3ce5014edafb20cb26b87c681e7f31847249f
Lean
leanprover/lean4:v4.18.0
With Git and Elan installed, put the download in a fresh working directory and run this there. Use a disposable environment. Lean prints the axioms at the end. The checker allows propext, Classical.choice, and Quot.sound.
Download the receipt verifier and public key. Run python3 verify-proof.py certificate.json f0a7fb19-c195-4644-9198-b65e1dafe93d.lean proof-key.pem with OpenSSL 3.