Lean Kernel Arena (Preview) / perf/magma-string-n4

Test "perf/magma-string-n4"

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

Countermodel certificate for an equational-theories implication, closed by decide. A magma on Fin 4 with the operation table encoded as a String satisfies x ◇ x = y ◇ ((x ◇ (y ◇ z)) ◇ z) but not x ◇ x = x ◇ (((y ◇ x) ◇ y) ◇ z). The smallest magma of the family (4^3 tuples); the cost is dominated by decoding each table entry out of the string on every lookup.

From a corpus of certificates generated for the SAIR math distillation challenge (equational theories track). The small end of the string-table family; magma-string-pair-n9 is the same workload at a larger scale.

Checker Result ⏱️ 🧠
gruszka 👍 101 ms (÷10) 176.9 MB (+35%)
nano-lean 👍 88.6 ms (÷12) 240.8 MB (+84%)
pestka 👍 261 ms (÷4.0) 105.2 MB (-20%)
con-leche 👍 865 ms (-16%) 71.8 MB (-45%)
con-ron 👍 755 ms (-27%) 124.0 MB (-5%)
nucleus 🚫 1.65 s 213.8 MB
official 👍 1.03 s 130.8 MB