Left to Prove /bloom
Utility catalogue

Text processing

tr

Translate bytes by table

Open2,000 seeds

Proof brief

Invocation
tr SET1 SET2
Input domain
Use equal-length, nonempty lists of literal ASCII characters under LC_ALL=C. SET1 contains no duplicates. Neither operand begins with a hyphen or contains set operators.
Proof obligation
Map each input byte in SET1 to the byte in the corresponding position of SET2. Leave every other byte unchanged. Preserve byte order and total length.
Test cases
Empty input, identity and many-to-one maps, bytes outside the sets, and every ASCII byte allowed by the set grammar.
Outside this profile
Ranges, classes, escape syntax, unequal set lengths, deletion, squeezing, and Unicode.

Subtasks and prerequisites

Read obligations JSON

This target needs root.io (proved).

Task bundle

Read bundle JSON

A formal Rocq statement has yet to be published for this profile.

This target has no verifier yet. Add targets/tr/verify.sh with your submission, modeled on targets/cat/verify.sh. The pull request check runs it with sh targets/tr/verify.sh.

GitHub submissions

See the review queue

View GitHub pull requests for the current status.

View GitHub pull requests