Skip to content

verification/PROOF-STATUS.adoc is stale: wrong path, wrong LOC, wrong proofs #816

Description

@hyperpolymath

What

verification/PROOF-STATUS.adoc describes a file that no longer looks like
what it describes.

It records src/abi/Types.idr as 140 LOC, proving "Confidence refined
type, Severity ordering". The live module — src/Hypatia/ABI/Types.idr, which
is what the ipkg actually compiles — is 242 lines and its principal content
is the Connector datatype, connectorWireId, connectorName,
connectorPort and the proof connectorCount : length allConnectors = 16.

So the document names the dead path (see the duplicate-modules issue), states a
wrong line count, and lists the wrong proofs.

A proof-status document that is wrong is worse than one that is missing: it is
read as evidence.

Acceptance criteria

  • Every row is re-derived by running a command, not by editing the number
    that is there. Line counts from wc -l, proof names from the source.
  • The path column points at src/Hypatia/ABI/, not src/abi/.
  • connectorCount = Refl appears, since it is the live pin on the
    16-connector wire contract and PR feat(abi): generate the Zig and Rust wire enums from the normative Idris2 ABI (#120) #811's drift gate deliberately declines
    to re-assert 16 on the grounds that this proof owns it.
  • A check exists that can make this document go stale loudly — at
    minimum, a CI step asserting each named file exists and each named proof
    name is present in it. A document nothing verifies will rot again.
  • That check is proven by a mutant: rename one proof, confirm red.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech-debtKnown shortcut, drift, or hygiene owed - includes cleanup

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions