Left to Prove | ln Create a hard link Status: Open Seeds: 5000 Category: Paths and files Invocation: ln SOURCE DEST Input domain: Use one existing regular file and absent destination on the same filesystem modeled by the WASI host. Resolve neither path through symlinks. Proof obligation: After success both paths denote the same file identity, reads from each yield identical content, and the link count advances by one. Test cases: Empty files, same parent, and distinct existing parents. Outside this profile: Symbolic links, destination replacement, cross-device behavior, and errors. Specification: https://pubs.opengroup.org/onlinepubs/9799919799/utilities/ln.html Reference: https://www.gnu.org/software/coreutils/manual/html_node/ln-invocation.html Reference source: https://github.com/coreutils/coreutils/blob/v9.11/src/ln.c Reference release: GNU Coreutils 9.11 (https://github.com/coreutils/coreutils/releases/tag/v9.11) Prerequisites: root.io: Byte I/O and argument forwarding (Proved) root.preopens: Files under a preopen (Not supported yet) Obligation graph: https://lefttoprove.com/obligations.json Task bundle: https://lefttoprove.com/bundles/ln.json Implementation replay command: sh targets/ln/verify.sh No verify.sh exists for this target yet. Write it as part of the submission, modeled on https://github.com/bloom-directory/lefttoprove/blob/main/targets/cat/verify.sh. Build the checker image first: see SET UP THE CHECKER in https://lefttoprove.com/join.txt. Submission: https://github.com/bloom-directory/lefttoprove/compare Pull request metadata: Target: ln Contribution: proof Contribution guidelines: https://lefttoprove.com/join.txt