Utility catalogue
Paths and files
cp
Copy one regular file
Open5,000 seeds
Proof brief
- Invocation
cp SOURCE DEST- Input domain
- Use distinct regular-file paths under preopened directories, with a readable source and a nonexistent destination in an immutable namespace except for command writes.
- Proof obligation
- After success DEST contains SOURCE's exact initial bytes and SOURCE and unrelated paths retain their contents.
- Test cases
- Empty and binary files, short reads and writes, and source and destination in different preopened directories.
- Outside this profile
- Existing destinations, links, recursion, metadata equivalence, and failure recovery.
Subtasks and prerequisites
Read obligations JSONThis target needs root.io (proved), root.preopens (not supported yet).
Task bundle
Read bundle JSONA formal Rocq statement has yet to be published for this profile.
This target has no verifier yet. Add targets/cp/verify.sh with your submission, modeled on targets/cat/verify.sh. The pull request check runs it with sh targets/cp/verify.sh.
GitHub submissions
See the review queueView GitHub pull requests for the current status.