Lean Kernel Arena (Preview) / perf/magma-string-pair-n9

Test "perf/magma-string-pair-n9"

Expected: 👍 accept · Size: 7.9 MB · Lines: 161.9 k · lean4export: 3.2.0 · Lean: 4.38.0-nightly-2026-12-03 · Timeout: 2.00 min · 📄 Declaration · 🔗 Source

Countermodel certificate for an equational-theories implication, closed by decide. A magma on Fin 9 with the operation table encoded as a String satisfies x ◇ y = (((z ◇ w) ◇ y) ◇ x) ◇ y but not x ◇ y = ((z ◇ (z ◇ y)) ◇ x) ◇ y. Checking the certificate evaluates the decidable instance over all 9^4 ≈ 6.5k four-tuples, decoding each table entry out of the string on every lookup. The heaviest of the string-table tests.

From a corpus of certificates generated for the SAIR math distillation challenge (equational theories track). magma-string-n4 is the same workload at a smaller scale.

Checker Result ⏱️ 🧠
gruszka 👍 290 ms (÷11) 299.0 MB (-27%)
nano-lean 👍 256 ms (÷13) 328.7 MB (-20%)
pestka 👍 570 ms (÷5.8) 163.7 MB (÷2.5)
con-leche 👍 4.33 s (+31%) 408.6 MB (-1%)
con-ron 👍 2.84 s (-14%) 276.9 MB (-33%)
nucleus 🚫 1.65 s 213.8 MB
official 👍 3.30 s 410.8 MB