Skip to content

proofs/close-coq-admit-triumvirate-56-57-58#140

Merged
hyperpolymath merged 2 commits into
mainfrom
proofs/close-coq-admit-triumvirate-56-57-58
Jun 5, 2026
Merged

proofs/close-coq-admit-triumvirate-56-57-58#140
hyperpolymath merged 2 commits into
mainfrom
proofs/close-coq-admit-triumvirate-56-57-58

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

hyperpolymath and others added 2 commits June 5, 2026 04:04
Three closures land the Coq layer at zero `Admitted` markers:

* `mkdir_two_dirs_reversible` (filesystem_composition.v) — restated to
  LIFO order so it discharges via `two_op_sequence_reversible`
  + `rmdir_precondition_after_mkdir` + `mkdir_preserves_well_formed`.
  Closes #56. Only standard funext.

* `overwrite_pass_equalizes_storage` (rmo_operations.v) — closure
  path (A) per issue #57: `Hgeom` strengthened with
  `block_overwritten blk1 = block_overwritten blk2`. Proof case-splits
  on `In bid (sfs_mapping sfs1 p)`; mapped branch uses
  `In_existsb_Nat_eqb` + `f_equal` on the `mkBlock` constructor; un-
  mapped branch uses `overwrite_path_blocks_non_mapped_preserved` and
  the `Hother` hypothesis. `one_pass_storage_agrees` re-signed to
  match. Closes #57. Zero axioms.

* `obliterate_not_injective` (rmo_operations.v) — threads the
  strengthened hypothesis through `one_pass_storage_agrees` and
  `multi_pass_same_start_same_result`, then reassembles the
  `mkStorageFS` via `cbn [sfs_tree sfs_storage sfs_mapping]` +
  `f_equal` + `functional_extensionality`. The strengthened
  hypothesis is trivially satisfied for the canonical first-time
  obliteration use case (block_overwritten = 0 on both sides), so
  the MAA/GDPR marketing claim is unchanged. Closes #58. Only
  standard funext.

PROOF-NEEDS.md reconciled:

* Idris2 hole tally corrected 22 -> 16 (equivSymProof and
  appendOnlyAuditLogProof were closed silently during the morning
  sweep but the inventory text was not updated).
* Assumption Registry table updated: 3 Coq admits removed, axiom
  inventory now lists only is_empty_dir_dec + funext.
* "What Needs Proving" rewritten as a 7-tier prioritised attack-list
  (P1 closeable now; P2 blocked on primitive-eq groundwork; P3-P7
  research / frontier / marginal / tooling).

Verified locally:
* `coqc -R . ValenceShell` clean on all 11 .v files
* `Print Assumptions` for each closed theorem: only funext (or zero
  for #57)
* `idris2 --build valence-shell.ipkg` exit 0

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Closer reading of every remaining Idris2 hole on the P1/P2 attack-list
reveals the original triage (and the P1 paragraph from earlier this
commit-series) was over-optimistic.

The 3 RMO holes I'd labelled Cat-D axiomatic placeholders are actually
provably false as stated:

* overwriteIrreversibleProof (RMO.idr:130) — conclusion
  `recovery randomData = Nothing` is refuted by `recovery = Just`.
* hardwareEraseIrreversibleProof (RMO.idr:215) — type signature is
  refuted by any non-empty `Unit -> Filesystem`.
* auditTrailCompletenessProof (RMO.idr:270) — conclusion is refuted
  by `entries = []`.

These need theorem-shape redesign (per the #60 / #61 precedent), not
believe_me markers. Recorded as follow-up — recommend filing as #119
sub-issues with the explicit refutations.

Additionally:

* DecEq Path does NOT unblock the primitive-eq batch because it
  transitively depends on DecEq String. Earlier claim that decEq gives
  a free path-eq reflexivity lemma was wrong.
* Three closure paths for the primitive-eq blocker documented (axioms
  via believe_me / Nat-interned paths / decEq-style reformulation),
  each requiring owner sign-off.
* Frozen-hole list made explicit.

No source changes; documentation honesty only.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyperpolymath
hyperpolymath force-pushed the proofs/close-coq-admit-triumvirate-56-57-58 branch from 824b84f to f40c0ab Compare June 5, 2026 03:04
@hyperpolymath
hyperpolymath merged commit 63b94e8 into main Jun 5, 2026
18 of 28 checks passed
@hyperpolymath
hyperpolymath deleted the proofs/close-coq-admit-triumvirate-56-57-58 branch June 5, 2026 03:04
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 154 issues detected

Severity Count
🔴 Critical 9
🟠 High 39
🟡 Medium 106

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Issue in codeql.yml",
    "type": "missing_workflow",
    "file": "codeql.yml",
    "action": "create",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Workflow executes remote script directly (curl/wget piped to shell). Download, verify checksum/signature, then execute.",
    "type": "download_then_run",
    "file": "lean-verification.yml",
    "action": "verify_download_integrity",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Workflow executes remote script directly (curl/wget piped to shell). Download, verify checksum/signature, then execute.",
    "type": "download_then_run",
    "file": "rust-cli.yml",
    "action": "verify_download_integrity",
    "rule_module": "workflow_audit",
    "severity": "high"
  },
  {
    "reason": "Issue in boj-build.yml",
    "type": "missing_timeout_minutes",
    "file": "boj-build.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in bridge-forbidden-phrases.yml",
    "type": "missing_timeout_minutes",
    "file": "bridge-forbidden-phrases.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in casket-pages.yml",
    "type": "missing_timeout_minutes",
    "file": "casket-pages.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in casket-pages.yml",
    "type": "missing_timeout_minutes",
    "file": "casket-pages.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in cflite_batch.yml",
    "type": "missing_timeout_minutes",
    "file": "cflite_batch.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in cflite_pr.yml",
    "type": "missing_timeout_minutes",
    "file": "cflite_pr.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in compilation_tests.yml",
    "type": "missing_timeout_minutes",
    "file": "compilation_tests.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant