Lean Kernel Arena / perf/unfold-before-literal-fallback

Test "perf/unfold-before-literal-fallback"

Expected: 👍 accept · Size: 65.6 KB · Lines: 1.2 k · lean4export: 3.1.0 · Lean: 4.36.0 · Timeout: 4.50 min · 📄 Declaration · 🔗 Source

A positive companion of unfold-before-literal:

[slowA + 1, 1].sum = slowA + (2 + 0)

(and two variants) is true, both sides being slowA + 2, but after unfolding the sum the addition arguments differ. A checker that compares arguments first must continue correctly after that comparison fails, by evaluation or otherwise, and accept, instead of rejecting.

Checker Result ⏱️ 🧠
nano-lean 👍 2.65 s (÷5.5) 3.1 GB (×2.2)
gruszka 👍 3.60 s (÷4.0) 1.0 GB (-27%)
sokonanoda 👍 2.51 s (÷5.8) 1.6 GB (+10%)
rpylean ⌛ — —
pestka 👍 14.8 s (+2%) 443.1 MB (÷3.3)
kefir 👍 4.20 ms (÷3453) 6.3 MB (÷229)
palladium 💥 1.84 s 748.1 MB
con-ron 👍 10.3 s (-29%) 2.6 GB (+80%)
kefir-wasm 👍 210 ms (÷69) 105.2 MB (÷14)
con-agua 👍 11.9 s (-18%) 3.4 GB (×2.4)
nanobruijn 👍 10.6 s (-27%) 3.1 GB (×2.2)
nanoda 👍 12.7 s (-13%) 2.6 GB (+85%)
con-leche 👍 14.7 s (+1%) 3.1 GB (×2.2)
pestka-wasm 👍 27.2 s (+87%) 1.1 GB (-25%)
tenet-jvm 👍 22.3 s (+54%) 3.7 GB (×2.6)
official-nightly 👍 11.4 s (-21%) 1.4 GB (0%)
eink0rn 👍 12.5 s (-14%) 2.3 GB (+64%)
official 👍 14.5 s 1.4 GB
ind-models 👍 14.5 s (0%) 1.4 GB (+1%)
tenet 👍 77.7 s (×5.4) 5.7 GB (×4.0)
tenet-hs 👍 23.2 s (+60%) 824.2 MB (-43%)
kiota 🚫 172 ms 58.4 MB
ocaml4lean 👍 4.77 min (×20) 5.0 GB (×3.6)
logos-kernel 🚫 294 ms 318.3 MB
evmlean 🚫 43.1 s 352.7 MB
mini 🚫 37.7 ms 65.3 MB
overfull ⌛ — —
lean4cobol 🚫 9.04 s 393.5 MB
lean4lean ✋ 791 ms 236.5 MB
canonical-min ✋ 393 ms 1.0 GB
nanoclo 👍 4.88 s (÷3.0) 3.7 GB (×2.6)
vow-lean-kernel 🚫 567 ms 19.1 MB
lazylean 👍 3.93 s (÷3.7) 326.0 MB (÷4.5)
metalean-slow 🚫 75.3 ms 63.1 MB
metalean-fast 👍 17.3 s (+19%) 3.7 GB (×2.6)
nanoclo-fortran 👍 8.12 s (-44%) 4.9 GB (×3.4)
mathgraph 👍 3.80 s (÷3.8) 2.0 GB (+41%)