Proof of `Twin-width at most 2 implies mim-width at most 8` (1st statement)

groundedproofs/Lax528502Proofs/BranchProgram.lean · lax-528502

What this proof establishes

Assuming the claims on the left, the claim on the right holds — checked by the archive's pipeline. Proof code is not displayed here.

Read the Lean proof on GitHub

Description

Construct the auxiliary tree, resolve its high-degree nodes, and write the binary tree. On its prefix encoding the final RAM pass takes 4 instructions per token plus 3 instructions for initialization and termination.