Skip to content

proof(SafeChecksum): DISCHARGE crc32PolynomialIsIEEE via Refl (proven#90, #107) - #108

Merged
hyperpolymath merged 1 commit into
mainfrom
proof/safechecksum-crc32-polynomial-anchor
May 30, 2026
Merged

proof(SafeChecksum): DISCHARGE crc32PolynomialIsIEEE via Refl (proven#90, #107)#108
hyperpolymath merged 1 commit into
mainfrom
proof/safechecksum-crc32-polynomial-anchor

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Per proven#107 "overly cautious OWED" pattern.

```idris
public export
crc32PolynomialIsIEEE : crc32Polynomial = 0xEDB88320
crc32PolynomialIsIEEE = Refl
```

`crc32Polynomial` is `public export` with body `0xEDB88320` (SafeChecksum.idr L21-23). Both sides are the same `Bits32` literal — primitive equality, Refl closes.

The OWED's "numeric-literal opaque under Bits32" blocker only applies to REDUCING crc32Polynomial to a different literal. Here LHS and RHS are the same literal so no reduction is needed.

Refs #90 #107

`crc32Polynomial` is `public export` with body `0xEDB88320` in
SafeChecksum.idr L21-23. Bits32 literal equality is primitive — both
sides of `crc32Polynomial = 0xEDB88320` reduce to the same literal
and `Refl` closes.

The OWED's "numeric-literal opaque under Bits32" only applies to
REDUCING `crc32Polynomial` to a *different* literal; here LHS and RHS
are the same literal so the blocker doesn't apply.

One-line proof:
- crc32PolynomialIsIEEE = Refl

Eleventh PR in today's overly-cautious-OWED hunt.

Refs #90

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hyperpolymath
hyperpolymath enabled auto-merge (squash) May 30, 2026 16:36
@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath merged commit 0576c32 into main May 30, 2026
11 of 24 checks passed
@hyperpolymath
hyperpolymath deleted the proof/safechecksum-crc32-polynomial-anchor branch May 30, 2026 16:39
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 331 issues detected

Severity Count
🔴 Critical 130
🟠 High 31
🟡 Medium 170

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Action perpolymath/standards/.github/workflows/governance-reusable.yml@main\n needs attention",
    "type": "unpinned_action",
    "file": "governance.yml",
    "action": "pin_sha",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in architecture-enforcement.yml",
    "type": "missing_timeout_minutes",
    "file": "architecture-enforcement.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in architecture-enforcement.yml",
    "type": "missing_timeout_minutes",
    "file": "architecture-enforcement.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "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 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 codeql.yml",
    "type": "missing_timeout_minutes",
    "file": "codeql.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "missing_timeout_minutes",
    "file": "dogfood-gate.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