Lean Kernel Arena (Preview) / perf/short-circuit-and-bad

Test "perf/short-circuit-and-bad"

Expected: ✋ reject · Size: 3.8 MB · Lines: 77.7 k · lean4export: 3.2.0 · Lean: 4.38.0-nightly-2026-12-03 · 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 ⏱️ 🧠
gruszka ✋ 1.51 s (÷3.3) 527.6 MB (-43%)
nano-lean ✋ 534 ms (÷9.3) 633.3 MB (-32%)
pestka ✋ 1.07 s (÷4.6) 265.2 MB (÷3.5)
con-leche ✋ 4.31 s (-13%) 923.8 MB (0%)
con-ron ✋ 3.50 s (-29%) 609.2 MB (-34%)
nucleus 🚫 808 ms 101.5 MB
official ✋ 4.95 s 925.7 MB