Test "perf/refute-cheap-first"
Expected: ✋ reject · Size: 20.7 KB · Lines: 439 · lean4export: 3.1.0 · Lean: 4.36.0 · Timeout: 40.0 s · 📄 Declaration · 🔗 Source
The declaration to check claims
(false, count #n) = (true, count #(n+1))
and must be rejected. Both sides are constructor applications, so comparing
components is the only route, and either component refutes on its own:
false against true for Θ(1), the numerals for Θ(n²) (count #k
evaluates to #k in Θ(k²) reductions). The test asks in which order a
checker visits the components. refute-cheap-last.lean swaps them, and the
ratio between the two files is what that order costs.
N=200 in the Lean source. From Courant and Leroy, POPL 2026, §10, where the two orders cost Rocq 4 × 10⁻⁶ s and 0.61 s.
| Checker | Result | ⏱️ | 🧠 | |||
|---|---|---|---|---|---|---|
| nano-lean | ✋ | 0.647 ms | (÷64) | 26.3 MB | (÷3.6) | |
| gruszka | ✋ | 2.23 ms | (÷18) | 94.0 MB | (+1%) | |
| mathgraph | ✋ | 1.18 ms | (÷35) | 29.9 MB | (÷3.1) | |
| sokonanoda | ✋ | 1.01 ms | (÷41) | 29.8 MB | (÷3.1) | |
| pestka | ✋ | 2.37 ms | (÷17) | 17.3 MB | (÷5.4) | |
| kefir | ✋ | 1.13 ms | (÷37) | 6.3 MB | (÷15) | |
| kefir-wasm | ✋ | 135 ms | (×3.3) | 90.5 MB | (-3%) | |
| con-ron | ✋ | 29.5 ms | (-28%) | 41.6 MB | (÷2.2) | |
| con-ron-stream | ✋ | 30.0 ms | (-27%) | 43.3 MB | (÷2.2) | |
| con-agua | ✋ | 20.7 ms | (-50%) | 14.5 MB | (÷6.5) | |
| nanobruijn | ✋ | 1.51 ms | (÷27) | 14.1 MB | (÷6.6) | |
| nanoda | ✋ | 1.08 ms | (÷38) | 3.2 MB | (÷29) | |
| con-leche | ✋ | 4.65 ms | (÷8.9) | 25.3 MB | (÷3.7) | |
| pestka-wasm | ✋ | 517 ms | (×13) | 314.2 MB | (×3.4) | |
| official-nightly | ✋ | 42.3 ms | (+3%) | 99.0 MB | (+6%) | |
| eink0rn | ✋ | 2.74 ms | (÷15) | 17.1 MB | (÷5.5) | |
| official | ✋ | 41.2 ms | 93.5 MB | |||
| ind-models | ✋ | 109 ms | (×2.6) | 109.7 MB | (+17%) | |
| kiota | ✋ | 1.62 ms | (÷25) | 11.3 MB | (÷8.2) | |
| tenet | ✋ | 144 ms | (×3.5) | 44.7 MB | (÷2.1) | |
| tenet-hs | ✋ | 2.16 ms | (÷19) | 10.2 MB | (÷9.2) | |
| logos-kernel | ✋ | 0.557 ms | (÷74) | 4.5 MB | (÷21) | |
| evmlean | 🚫 | 2.40 s | 275.8 MB | |||
| mini | ⌛ | — | — | |||
| overfull | ✋ | 63.5 s | (×1542) | 47.9 MB | (-49%) | |
| lean4lean | ✋ | 80.9 ms | (+96%) | 96.7 MB | (+3%) | |
| lean4cobol | ✋ | 11.8 ms | (÷3.5) | 14.3 MB | (÷6.6) | |
| tenet-jvm | ✋ | 135 ms | (×3.3) | 77.5 MB | (-17%) | |
| nanoclo | ✋ | 0.934 ms | (÷44) | 33.8 MB | (÷2.8) | |
| vow-lean-kernel | ✋ | 10.9 s | (×265) | 15.4 MB | (÷6.1) | |
| canonical-min | 🚫 | 388 ms | 1.0 GB | |||
| lazylean | ✋ | 10.1 ms | (÷4.1) | 25.4 MB | (÷3.7) | |
| rpylean | ✋ | 4.54 ms | (÷9.1) | 19.5 MB | (÷4.8) | |
| metalean-slow | ✋ | 50.0 ms | (+21%) | 62.7 MB | (-33%) | |
| metalean-fast | ✋ | 32.3 ms | (-22%) | 70.2 MB | (-25%) | |
| nanoclo-fortran | ✋ | 1.74 ms | (÷24) | 4.5 MB | (÷21) |