Test "perf/grind-field-kernel-cancel"
Expected: 👍 accept · Size: 2.3 MB · Lines: 47.0 k · lean4export: 3.1.0 · Lean: 4.36.0 · Timeout: 2.00 min · 📄 Declaration · 🔗 Source
A grind field-solver benchmark from the Lean 4 test suite
(tests/elab_bench/grind_field_kernel_cancel.lean, leanprover/lean4#15944).
Each of the 20 theorems states Expr.cancelInvs_cert invs a b = true by
Eq.refl true, where a is x₀² · x₁ · p, b is x₀ · p, p is a
linear polynomial in 64 further variables, and invs says that x₀ is the
inverse of x₁. Checking it means evaluating the certificate in the kernel:
normalizing both sides to polynomials and cancelling x₀ · x₁, which needs
fast reduction of Nat, Int and list-heavy code.
| Checker | Result | ⏱️ | 🧠 | |||
|---|---|---|---|---|---|---|
| nano-lean | 👍 | 2.16 s | (÷12) | 614.7 MB | (+62%) | |
| gruszka | 👍 | 2.47 s | (÷10) | 464.0 MB | (+22%) | |
| mathgraph | 👍 | 2.15 s | (÷12) | 517.9 MB | (+37%) | |
| sokonanoda | 👍 | 2.15 s | (÷12) | 618.1 MB | (+63%) | |
| pestka | 👍 | 4.14 s | (÷6.2) | 162.5 MB | (÷2.3) | |
| kefir | 👍 | 3.70 s | (÷7.0) | 114.8 MB | (÷3.3) | |
| kefir-wasm | 👍 | 5.33 s | (÷4.8) | 262.2 MB | (-31%) | |
| con-ron | 👍 | 16.0 s | (-38%) | 915.2 MB | (×2.4) | |
| con-ron-stream | 👍 | 18.3 s | (-29%) | 933.9 MB | (×2.5) | |
| con-agua | 👍 | 22.6 s | (-12%) | 909.5 MB | (×2.4) | |
| nanobruijn | 👍 | 19.7 s | (-24%) | 898.7 MB | (×2.4) | |
| nanoda | 👍 | 20.6 s | (-20%) | 823.4 MB | (×2.2) | |
| con-leche | 👍 | 27.7 s | (+7%) | 1000.1 MB | (×2.6) | |
| pestka-wasm | 👍 | 10.9 s | (÷2.4) | 1.3 GB | (×3.4) | |
| official-nightly | 👍 | 18.8 s | (-27%) | 386.9 MB | (+2%) | |
| eink0rn | 👍 | 25.2 s | (-2%) | 2.6 GB | (×6.9) | |
| official | 👍 | 25.8 s | 379.2 MB | |||
| ind-models | 👍 | 25.9 s | (+1%) | 379.9 MB | (0%) | |
| kiota | 👍 | 16.8 s | (-35%) | 512.1 MB | (+35%) | |
| tenet | 👍 | 39.3 s | (+53%) | 3.2 GB | (×8.6) | |
| tenet-hs | 👍 | 45.1 s | (+75%) | 370.7 MB | (-2%) | |
| logos-kernel | 👍 | 1.37 s | (÷19) | 1.7 GB | (×4.7) | |
| evmlean | 🚫 | 306 ms | 105.4 MB | |||
| mini | 🚫 | 100 ms | 76.6 MB | |||
| overfull | ⌛ | — | — | |||
| lean4lean | 👍 | 36.9 s | (+43%) | 386.6 MB | (+2%) | |
| lean4cobol | ✋ | 1.04 s | 17.8 MB | |||
| tenet-jvm | 👍 | 17.3 s | (-33%) | 2.9 GB | (×8.0) | |
| nanoclo | 👍 | 5.51 s | (÷4.7) | 846.1 MB | (×2.2) | |
| vow-lean-kernel | ⌛ | — | — | |||
| canonical-min | ✋ | 545 ms | 1.1 GB | |||
| lazylean | 👍 | 5.36 s | (÷4.8) | 73.9 MB | (÷5.1) | |
| rpylean | 👍 | 580 ms | (÷44) | 248.1 MB | (-35%) | |
| metalean-slow | 🚫 | 173 ms | 77.6 MB | |||
| metalean-fast | 👍 | 44.0 s | (+71%) | 2.6 GB | (×7.0) | |
| nanoclo-fortran | 👍 | 15.2 s | (-41%) | 2.3 GB | (×6.1) |