Repository navigation
Description
Refutation
Current signature (RMO.idr:213-215):
```idris
hardwareEraseIrreversible : HardwareEraseProof -> (Unit -> Filesystem) -> Void
hardwareEraseIrreversible (MkHardwareEraseProof _ _ _) _ =
?hardwareEraseIrreversibleProof
```
Refuted by: any inhabitant of `Unit -> Filesystem` is a normal total function — there is no reason it should yield `Void`. For example `\_ => empty` is well-typed and the implication `HardwareEraseProof -> (Unit -> Filesystem) -> Void` would require it to be uninhabited.
The type signature does not encode "hardware erase is irreversible" — it encodes "given a hardware-erase proof and a recovery procedure, derive False", which is trivially refuted by exhibiting any function.
Suggested correct shape
The claim is: no recovery function can reconstruct the pre-erase filesystem from the post-erase state. The post-erase state must be in the recovery's input:
```idris
hardwareEraseIrreversible :
(preErase : Filesystem) ->
(proof : HardwareEraseProof) ->
(recovery : Filesystem -> Filesystem) -> -- given post-erase, return claimed pre
recovery (postEraseState proof) = preErase ->
Void
```
But even this needs a quantifier-flip form ("there is no `recovery` that works for all `preErase`") to be true. Otherwise some constant function trivially "recovers" one particular state.
Hardware destruction is genuinely a physical-world claim — formally provable only under axiomatic assumptions about the underlying medium. The right shape is probably:
```idris
hardwareEraseIrreversible :
Not ((recovery : Filesystem -> Filesystem) ->
(preErase : Filesystem) ->
(proof : HardwareEraseProof) ->
recovery (postEraseState proof) = preErase)
```
with the witness coming from "two distinct pre-erase states collapse to the same post-erase state under SATA Secure Erase / NVMe Format Crypto".
References
- Sibling: [Idris2] overwriteIrreversible non-theorem-as-stated (RMO.idr:117-130) #129 (overwriteIrreversible same pattern)
- Precedent: [Idris2] close RMO.idr:92 secureDeleteIrreversibleProof — type signature is non-theorem (Tier-S blocker) #60, [Idris2] close RMO.idr:169 gdprDeletionCompliantProof — type signature is non-theorem (Tier-S blocker) #61
- Parent: [Idris2] proof-hole inventory + closure-plan audit (17 remaining holes post-#117) #119
- Discovered during the 2026-06-02 PM audit pass (PR proofs(coq): close admit triumvirate (#56 / #57 / #58) — Coq layer at zero Admitted #128)
🤖 Filed as sub-issue per #119 reclassification finding
Activity
proofs(idris2): close 3 Cat-A RMO non-theorem holes (#119B) — RMO.idr…
proofs(idris2): Q1-C primitive-eq axiom pilot + equivRefl closure (#133)
proofs(idris2): Q5 option 3 — propositional Equiv migration (closes e…
proofs(idris2): Q5 option 3 — propositional Equiv migration (closes e…
proofs(idris2): Q5 option 3 — propositional Equiv migration (closes e…
proofs(idris2): Q5 option 3 — propositional Equiv migration (closes e…
hyperpolymath commentedon Aug 24, 2026
Resolved by merged PR #152 (merge commit 2ea4ba5). The former refutable HardwareEraseProof -> (Unit -> Filesystem) -> Void statement was replaced with the non-injectivity/information-loss theorem hardwareEraseIrreversible : (fs1, fs2 : Filesystem) -> hardwareErase fs1 = hardwareErase fs2. The pinned Idris2 0.8.0 verify-idris2 CI oracle passed on PR #152, the current source has zero ?holes, and the believe_me policy gate still reports exactly the two registered primitive-equality axioms. A local Idris2 0.7.0 run is not authoritative and stops earlier on equivRefl totality; the repository oracle is explicitly pinned to 0.8.0.