Before a medical imaging team freezes its test set, a reviewer may ask whether any training volume also appears in it. For two admissible batches of decoded volumes, PROBATIO’s Lean reference verifier accepts an empty report exactly when the batches share no identical volume.
The reference verifier accepts a report if and only if it lists every matching pair of identifiers across the two batches exactly once and contains no other pair. Identity means equal XYZ dimensions and identical canonical binary64 voxel values in the same order. The result holds for every grouping key, even if all keys collide.
Tested in Python
The streaming verifier reads uncompressed, scalar 3D NIfTI-1 files (.nii). It checks decoded values for finiteness and normalises negative zero to positive zero. Its separate suite passed 15 unit tests. An incomplete file check has its own outcome. Formal equivalence with the Lean functions remains open.
Outside the proof
Two acquisitions of one patient, resampled or cropped copies, and examinations missing from a supplied inventory can all escape an exact-content check. Patient independence, affine geometry and the completeness of the source inventory require other evidence.
Admissibility assumptions in the formal statement
Each batch is non-empty and uses distinct identifiers within that batch. Each volume has three positive dimensions and exactly X × Y × Z finite binary64 values, with negative zero excluded. The proof establishes the acceptance rule without using these assumptions.
Proof and replay
Lean 4.15.0 checked verifier_correct, verifierCle_correct and five examples in release v0.1.2. Both proofs were replayed in a fresh environment with the Lean kernel using lean4checker --fresh. Each theorem reports only propext and Quot.sound.
On 24 November 2026, nanoda, an independent proof checker written in Rust, checked both exported theorems and their dependencies on the v0.1.2 release tag. It verified 570 declarations without errors.
Record the two inventories, the decoding profile and the list of matching pairs. This contributes evidence on exact content overlap for a review under GMLP Principle 4. Assessing independence also requires consideration of patient, acquisition and site factors.