cat _posts/2026-11-21-packed-table-footprint-written-as-one-nat-literal-instead-of-a-string-an-etp-countermodel-s-table-stops-closing-over-any-axiom-at-all.md
packed-table-footprint: written as one Nat literal instead of a string, an ETP countermodel's table stops closing over any axiom at all
packed-table-footprint asks one narrow question about the encoding the equational-theories Stage 2 judge is fed: does a countermodel’s operation table, read out of a single natural-number literal with tbl / n ^ (x * n + y) % n, close over fewer axioms than finOpTable — the string-decoding form the parsimagma certificates use? It does, and the gap is the whole list: finOpTable closes over propext, Quot.sound and Classical.choice, the packed literal over nothing. Same goal, same tactic (decideFin!), same options, only the operation rewritten.
The measurement runs through the competition’s own judge, verify_answer at commit 817a465 of SAIRcompetition/equational-theories-lean-stage2 on Lean 4.33.1. On the 100 countermodels published in parsimagma — 800 judge calls across four encodings — the packed form is accepted 100/100 at the zero-axiom policy where finOpTable is accepted 100/100 officially and 0/100 at zero. On the ledger, the JSON under results/ of the-omega-institute/sair-eqt2-stage2-solver at 4bf87e3 holds exactly 4,240 finOpTable false certificates; those reduce to 1,494 law-pair and table combinations, and all 1,494 pass packed at zero axioms in 2,988 judge calls, as emitted.
Where the axioms enter is traced rather than guessed: all three come from String.toList, which decodes UTF-8, and List.getD adds propext on its own through a catch-all match (Nat.land → Nat.bitwise, whose termination proof reaches Nat.div_lt_self) — so any catch-all match over an inductive pulls it in, and a lookup that spells out every constructor stays clean. The price is size, not time: the packed certificate is 404 B median against 323 B, larger on 1,223 of the 1,494, but at carrier 9 it takes 1.80 s alone against 7.64 s, and the whole ledger 5,298 s against 8,784 s at eight workers, because the string no longer has to be decoded in the elaborator and again in the kernel (fec3f59).
The rest of the ledger follows the same way. 471 of 472 judge calls on parsimagma’s 820-pair infinite-only.tsv pass at the zero-axiom policy with an empty closure, the one rejection being the baseline run of hard2_0027, whose block austin_f_lemmas_hand.txt redoes by hand — and with that block, 148 pairs of infinite-only.tsv with hypothesis 1659, 2000, 2473 or 1167 go from accepted-with-two-axioms to accepted at zero. Counting both sides, 8,372 of the ledger’s 8,378 rows pass the official policy without Mathlib, and 2,869 problems pass at zero once the finOpTable problems are packed and that one is redone.