Skip to content

docs: Phase C deferred (2026-05-28) — option (c) analytical infeasibility#199

Merged
hyperpolymath merged 1 commit into
mainfrom
phase-c-deferral-2026-05-28
May 28, 2026
Merged

docs: Phase C deferred (2026-05-28) — option (c) analytical infeasibility#199
hyperpolymath merged 1 commit into
mainfrom
phase-c-deferral-2026-05-28

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

  • Records the 2026-05-28 finding that Phase C's structural admits at Semantics_L1.v:553/621 are not closeable via any of the four design paths surfaced in the prior session.
  • Option (c) rule redesign was attempted in-flight on the prior proof/phase-c-l1-multiset-bridge branch — TypingL1.v rules + Counterexample.v regression + count_occ_le_l1_m Permutation-bridged — but proven analytically to close only sub-sub-case (ii) (R has exactly 1 rr via count-vacuity) while leaving sub-sub-case (i) (R has ≥2 rr) requiring body-input-shrinkage which is NOT a theorem (T_Loc_L1 counterexample at count=1; T_Let composition unstable for count-≥-2 precondition).
  • The (c) changes are NOT in this PR — only the docs are. The (c) in-flight code was reverted; 10/10 .v rebuild clean against the original rules with the 2 documented admits still at 553/621.

What changed

  • PROOF-NEEDS.md — adds a near-term deferral row for Phase C alongside the existing Phase B Slice 1 row.
  • .machine_readable/6a2/STATE.a2mlnext_action moves to Phase D (L2 effect-typed TFun) with cross-references to both Phase B + Phase C deferrals.

Why option (d) defer was selected

  • Most mathematically safe + elegant per owner directive 2026-05-28.
  • Phase D introduces effect-typed lambdas, which gives the structural invariant that lets body-input-shrinkage discharge naturally.
  • Preserves all current Qed lemmas; no regression-to-Admitted artifacts.
  • The 2 admits at 553/621 + outer Admitted. at 653 + preservation_l3 cross-layer annotation continue to attribute the gap correctly to a pre-existing L1 obligation.

Test plan

  • coqc 8.18.0 rebuild — 10/10 .v files clean (no new admits/axioms)
  • No code changes (docs-only)
  • Both deferral rows reference Phase D as the natural closure setting (consistent with formal/PRESERVATION-DESIGN.md §5.1)

🤖 Generated with Claude Code

…lity

Records the 2026-05-28 finding that Phase C's structural admits at
`Semantics_L1.v:553/621` are not closable via any of the four design
paths surfaced in the prior session:

  (a) Permutation-based perm-l1 — concrete output-list-structure
      mismatch (R_body = [a; rr; b; c] vs R_body' = [b; rr; a; c]);
  (b) multiset reformulation of remove_first_L1 — cascades through
      every L1 rule's output threading;
  (c) T_Region_*_L1 rule redesign — implemented in-flight on this
      branch (TypingL1.v + Counterexample.v + count_occ_le_l1_m
      successfully migrated to a Permutation premise), closes the
      sub-sub-case where R has exactly one rr via count-vacuity,
      BUT sub-sub-case where R has ≥2 rr requires body-input-
      shrinkage which is NOT a theorem (T_Loc_L1 counterexample at
      count=1; T_Let composition is unstable for the count-≥-2
      precondition);
  (d) defer — selected as the most mathematically safe + elegant.

The (c) experimental changes have been reverted; the 10/10 .v rebuild
is clean against the original rules with 2 documented admits at
553/621.

Phase D (L2 effect-typed TFun) is the natural setting: the lambda
body's R-flow becomes effect-typed, providing the structural
invariant that lets body-input-shrinkage discharge naturally. Both
Phase B Slice 1 and Phase C will land cleanly post-Phase D.

PROOF-NEEDS.md adds a near-term deferral row for Phase C alongside
the existing Phase B Slice 1 row.

STATE.a2ml records Phase D as next_action with cross-references to
both deferrals.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyperpolymath
hyperpolymath enabled auto-merge (squash) May 28, 2026 09:07
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 67 issues detected

Severity Count
🔴 Critical 10
🟠 High 10
🟡 Medium 47

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Issue in abi-verify.yml",
    "type": "unknown",
    "file": "abi-verify.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in boj-build.yml",
    "type": "unknown",
    "file": "boj-build.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in codeql.yml",
    "type": "unknown",
    "file": "codeql.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in governance.yml",
    "type": "unknown",
    "file": "governance.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in hypatia-scan.yml",
    "type": "unknown",
    "file": "hypatia-scan.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in instant-sync.yml",
    "type": "unknown",
    "file": "instant-sync.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in mirror.yml",
    "type": "unknown",
    "file": "mirror.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in rust-ci.yml",
    "type": "unknown",
    "file": "rust-ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in rust-ci.yml",
    "type": "unknown",
    "file": "rust-ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in scorecard-enforcer.yml",
    "type": "unknown",
    "file": "scorecard-enforcer.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@hyperpolymath
hyperpolymath merged commit 7a64296 into main May 28, 2026
17 checks passed
@hyperpolymath
hyperpolymath deleted the phase-c-deferral-2026-05-28 branch May 28, 2026 09:07
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