Download benchmarks/Algorithms/modular_power/lean/spec_lib.lean from PV-SJTU/PV-Bench: direct link, hf CLI and curl.
- Browser
- Download file 224 Bytes
-
https://huggingface.co/datasets/PV-SJTU/PV-Bench/resolve/main/benchmarks/Algorithms/modular_power/lean/spec_lib.lean
- Command line
-
hf download hf://datasets/PV-SJTU/PV-Bench/benchmarks/Algorithms/modular_power/lean/spec_lib.lean
-
curl -L -o spec_lib.lean https://huggingface.co/datasets/PV-SJTU/PV-Bench/resolve/main/benchmarks/Algorithms/modular_power/lean/spec_lib.lean
224 Bytes
| import compcert.lib.ZArithCompat | |
| namespace Algorithms.modular_power.lean | |
| def ModularPower (base exponent modulus result : Int) : Prop := | |
| result = Z.modulo (Z.pow base exponent) modulus | |
| end Algorithms.modular_power.lean | |