Left to Prove /bloom
Utility catalogue

Comparison

comm

Compare two sorted files

Open5,000 seeds

Proof brief

Invocation
comm FILE1 FILE2
Input domain
Use two finite files of LF-terminated byte records sorted in C-locale order.
Proof obligation
Produce the sorted merge with zero, one, or two leading TABs for left-only, right-only, or shared occurrences. Match equal records one at a time.
Test cases
Duplicates with unequal multiplicity, empty files, prefix ordering, and interleaved values.
Outside this profile
Unsorted input, locale collations, and column suppression.

Subtasks and prerequisites

Read obligations JSON

This target needs root.io (proved), root.preopens (not supported yet).

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/comm/verify.sh with your submission, modeled on targets/cat/verify.sh. The pull request check runs it with sh targets/comm/verify.sh.

GitHub submissions

See the review queue

View GitHub pull requests for the current status.

View GitHub pull requests