Lang — Benchmark target languages

This library defines the benchmark WFAs used in the paper's evaluation. Every module implements Lang.Intf.T, which bundles a semiring, an alphabet, a counterexample bound, and the semantic function.

Interface

Lang.Intf — the T module type that all benchmarks satisfy.

Fixed benchmarks

Random benchmarks

All random benchmarks use the transition-density heuristic: each (state, character) transition entry is non-zero independently with probability 1.5 / q, where q is the number of states.

Registering a new benchmark

Implement Lang.Intf.T, add a variant to Lang.t, and add a case to Lang.get.