Test "perf/short-circuit-and-bad"
Expected: ✋ reject · Size: 3.8 MB · Lines: 77.5 k · lean4export: 3.1.0 · Lean: 4.36.0 · Timeout: 2.00 min · 📄 Declaration · 🔗 Source
short-circuit-and with true in place of false:
(true && eqA 600 (unpack 600 11 p) (unpack 600 11 q)) = (true && Nat.beq p q)
must be rejected: && now returns its second argument, and eqA sees
only the low 600 · 11 bits of p and q while Nat.beq sees all of
them. Unfolding && decides the sides only when the first argument is
false.
| Checker | Result | ⏱️ | 🧠 | |||
|---|---|---|---|---|---|---|
| nano-lean | ✋ | 175 ms | (÷35) | 295.8 MB | (÷5.3) | |
| gruszka | ✋ | 647 ms | (÷9.5) | 527.2 MB | (÷2.9) | |
| sokonanoda | ✋ | 721 ms | (÷8.6) | 922.9 MB | (-41%) | |
| rpylean | ✋ | 2.22 s | (÷2.8) | 674.0 MB | (÷2.3) | |
| pestka | ✋ | 1.08 s | (÷5.7) | 285.9 MB | (÷5.4) | |
| kefir | ✋ | 5.24 s | (-15%) | 1.5 GB | (-4%) | |
| palladium | ✋ | 2.00 s | (÷3.1) | 834.2 MB | (-46%) | |
| con-ron | ✋ | 3.53 s | (-43%) | 606.1 MB | (÷2.6) | |
| kefir-wasm | ✋ | 7.45 s | (+21%) | 2.6 GB | (+69%) | |
| con-agua | ✋ | 4.63 s | (-25%) | 715.2 MB | (÷2.2) | |
| nanobruijn | ✋ | 4.01 s | (-35%) | 591.6 MB | (÷2.6) | |
| nanoda | ✋ | 3.73 s | (-40%) | 619.0 MB | (÷2.5) | |
| con-leche | ✋ | 4.36 s | (-29%) | 916.4 MB | (-41%) | |
| pestka-wasm | ✋ | 3.83 s | (-38%) | 948.4 MB | (-39%) | |
| tenet-jvm | ✋ | 6.69 s | (+8%) | 1.3 GB | (-12%) | |
| official-nightly | ✋ | 5.06 s | (-18%) | 1.6 GB | (+7%) | |
| eink0rn | ✋ | 8.56 s | (+39%) | 421.2 MB | (÷3.7) | |
| official | ✋ | 6.18 s | 1.5 GB | |||
| ind-models | ✋ | 6.22 s | (+1%) | 1.5 GB | (+1%) | |
| tenet | ✋ | 18.6 s | (×3.0) | 2.5 GB | (+62%) | |
| tenet-hs | ✋ | 20.9 s | (×3.4) | 809.6 MB | (-48%) | |
| kiota | ✋ | 33.7 s | (×5.5) | 2.6 GB | (+71%) | |
| ocaml4lean | ✋ | 11.7 s | (+90%) | 1.5 GB | (+2%) | |
| logos-kernel | ✋ | 1.09 s | (÷5.7) | 1.3 GB | (-16%) | |
| evmlean | 🚫 | 306 ms | 106.4 MB | |||
| mini | 🚫 | 243 ms | 71.6 MB | |||
| overfull | ⌛ | — | — | |||
| lean4cobol | ✋ | 1.53 s | (÷4.0) | 21.5 MB | (÷72) | |
| lean4lean | ✋ | 262 ms | (÷24) | 91.9 MB | (÷17) | |
| canonical-min | ✋ | 621 ms | (÷10.0) | 1.0 GB | (-33%) | |
| nanoclo | ✋ | 785 ms | (÷7.9) | 458.1 MB | (÷3.4) | |
| vow-lean-kernel | 🚫 | 13.0 s | 42.2 MB | |||
| lazylean | ✋ | 975 ms | (÷6.3) | 275.1 MB | (÷5.6) | |
| metalean-slow | 🚫 | 216 ms | 67.9 MB | |||
| metalean-fast | ✋ | 8.86 s | (+43%) | 1.4 GB | (-8%) | |
| nanoclo-fortran | ✋ | 1.76 s | (÷3.5) | 940.6 MB | (-39%) | |
| mathgraph | ✋ | 960 ms | (÷6.4) | 1.6 GB | (+2%) |