1
2
3
4
5
6
7import datasets.verina.verina_basic_107.task
namespace Submission
theorem solution : type_of% @ComputeAvg_spec_satisfied := by
intro a b h
change 2 * ((a + b) / 2) = a + b - (a + b) % 2
omega
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 371a96f0-7376-4ebb-8b26-8c32804579e5.lean proof-key.pem with OpenSSL 3.