Quartic word-RAM implementation of the one-use normalizer
ProvedBackreferenceMatching.normalization_machinecomputational-complexityregular-expressionsstring-algorithms
For each finite alphabet, one fixed deterministic program takes the prefix encoding of any one-use expression and outputs the complete encoding of its explicitly constructed normal form in instructions. The width is logarithmic in the encoded input size. This is the implementation obligation in the constructive part of Theorem 6.
Preamble
import Definitions.Def_BackreferenceMatching_OneUseNormalizer import Definitions.Def_BackreferenceMatching_Algorithms
Formal statement
namespace BackreferenceMatching
theorem normalization_machine (q : ℕ) :
∃ (p : Program) (a c : ℕ), ∀ e : Expr q, BoundedUse 1 e →
∃ t, Lax808846.Ram.RunsTo (wordBits a ((exprCode e).length + q + 8)) p
(exprCode e) (normalize e).code t ∧ t ≤ c*e.size^4 := by sorry
end BackreferenceMatchingSource
Soh Kumabe and Yuya Uezato, On the Complexity of the Matching Problem of Regular Expressions with Backreferences, Theorem 6 and Appendix B. https://arxiv.org/html/2605.07289v1#A2