Skip to content

MAT-009: repair Lean axiom audit gate and retain independent replay - #46

Merged
EmergentMonk merged 22 commits into
mainfrom
research/sonification-formal-001-mat009-verify
Nov 10, 2026
Merged

EmergentMonk merged 22 commits into
mainfrom
research/sonification-formal-001-mat009-verify

Conversation

@EmergentMonk

Copy link
Copy Markdown
Member

Scope

Repair MAT009-AUDIT-001 in the standalone Lean declaration and axiom gate for the frozen MAT-SPEC-009 source (production commit 0758a96360726aafbb07abed34620eda178407ae). No production or historical release files change.

Repair and evidence

  • Preserve the original independent FAIL at formal/sonification/mat009/audit/report.json and replay its exact _cstage1 False axiom bypass.
  • Check every project declaration's axiom closure, including compiler auxiliaries. Permit only propext, Quot.sound, and Classical.choice for safe declarations. Disclose and tightly check the two recorded unsafe compiler axioms and compiler mechanisms.
  • Retain a fresh Lean 4.19.0 receipt: 351 declarations, 22 named intended theorems, 1,303 hashed imports; named theorem types and axiom reports match the prior receipt.
  • Add the exact bypass as a permanent negative control. All seven controls pass.
  • Fresh independent audit of frozen candidate b07942c77bebb15c99d8a70f52397d4077694ea0: PASS for the repaired scoped mathematical audit gate, including an independent _cstage2 adversarial variation. Report: formal/sonification/mat009/audit/repair-audit-001/report.json.
  • Focused receipt tests: 15 passed. Ruff: pass. Frozen source binder and retained source receipts: pass. The earlier full repository result (329 tests, 202 subtests) remains retained, not restated as a post-repair run.
  • Record scoped results in the theorem map and install pinned Lean in CI for the receipt tests.

Boundaries

REFINEMENT_PROVED remains OPEN for MAT-009 and the direct MAT-008 parent. The general MAT009.partition target remains OPEN. These model proofs and finite cases do not authenticate physical evidence, independence, or classifier accuracy. MAT-SPEC-010 stays deferred.

Do not merge without owner authorization.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @EmergentMonk, this pull request is too large to review

It changes 819 files. Sourcery can review pull requests with up to 300 changed files.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T02:26:38.263824Z 69a4896 Manual request
🔒 Security Review ✅ Completed 2026-11-10T02:15:42.669759Z 64203ca PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@EmergentMonk

Copy link
Copy Markdown
Member Author

@codex Please Review this exact SHA 69a4896 gainst the existing contract. Report only actionable correctness defects, with a minimal reproduction, expected versus actual behavior, and affected lines. State whether each reproduction was executed or statically inferred. Don’t repeat fixed findings without a new failing case. Keep architectural suggestions separate and non-blocking.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: 69a48967de

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@EmergentMonk
EmergentMonk merged commit 7be5ca1 into main Nov 10, 2026
13 checks passed
@EmergentMonk
EmergentMonk deleted the research/sonification-formal-001-mat009-verify branch November 10, 2026 02:30
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