Utility catalogue
Formatting
unexpand
Compress leading blanks to tabs
Open3,000 seeds
Proof brief
- Invocation
unexpand- Input domain
- Read LF-terminated lines containing printable ASCII and TAB.
- Proof obligation
- Replace a line's leading blanks with TABs and spaces at eight-column stops. Preserve their display width, then copy the rest of the line literally.
- Test cases
- Seven, eight, and nine spaces, mixed initial TABs, and internal spaces.
- Outside this profile
- Custom tab stops, all-blank-run mode, and backspaces.
Subtasks and prerequisites
Read obligations JSONThis target needs root.io (proved).
Task bundle
Read bundle JSONA formal Rocq statement has yet to be published for this profile.
This target has no verifier yet. Add targets/unexpand/verify.sh with your submission, modeled on targets/cat/verify.sh. The pull request check runs it with sh targets/unexpand/verify.sh.
GitHub submissions
See the review queueView GitHub pull requests for the current status.