Left to Prove | find Enumerate regular files in a tree Status: Open Seeds: 5000 Category: Paths and files Invocation: find DIRECTORY -type f -print Input domain: Use a finite, readable tree rooted under a preopen. Entries have LF-free names and no symlinks, cycles, or concurrent writes. Proof obligation: Output exactly one rooted path for each reachable regular file and no others. Compare outputs as sets while preserving the exact spelling of each reported path. Test cases: Empty and nested trees, similar names at distinct depths, and directories with no regular children. Outside this profile: Traversal order equivalence, links, additional predicates, and inaccessible directories. Specification: https://pubs.opengroup.org/onlinepubs/9799919799/utilities/find.html Reference: https://www.gnu.org/software/findutils/ 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/find.json Implementation replay command: sh targets/find/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: find Contribution: proof Contribution guidelines: https://lefttoprove.com/join.txt