8000 Pilot A: protected proof and fidelity for the repaired claim · Issue #46 · Mnehmos/MathOS · GitHub
[go: up one dir, main page]

Skip to content

Pilot A: protected proof and fidelity for the repaired claim #46

Closed

Description

@Mnehmos

Context

Issue #44 and PR #45 created an independently versioned repaired Pilot A claim after the protected witness 2 disproved the original universal claim:

Every prime number other than 2 is odd.

The original claim, refutation formalization, authoritative evidence, counterexample package, and research.repairs edge must remain immutable. The repaired claim begins with no inherited proof status or evidence.

Exact proof criterion

Publish a new claim-polarity Lean formalization with the exact type:

theorem every_prime_other_than_two_is_odd :
    ∀ n : Nat, Prime n -> n ≠ 2 -> Odd n

The theorem must elaborate under the repository-pinned Lean 4.32 no-import environment, have a complete dependency closure containing only Init, and pass an empty-axiom audit.

Scope

  • Extend the protected publication boundary so the repaired claim is formalized and proved in the same canonical ephemeral state created by the refutation/repair run.
  • Build, retain, attest, verify, ingest, and promote a second publication candidate for the exact repaired-claim version.
  • Produce a new authoritative lean_kernel_proof evidence record and a distinct role-separated v2 statement-fidelity review for source relation claim.
  • Derive proved for the repaired claim while preserving byte-identical disproved status for the original claim.
  • Retain enough closure, receipt, authority, fidelity, and status material for independent exact-head and merged-tree audit.
  • Add focused positive, adversarial, and workflow-contract coverage for shared-state proof publication.

Non-goals

  • Pedagogy generation.
  • Export/package completion.
  • Declaring all of Pilot A or the 1.0 definition of done complete.

Acceptance criteria

  • The repaired theorem elaborates with warnings as errors in the pinned no-import environment.
  • The proof candidate is bound to the exact repaired claim object/version and cannot inherit the original refutation's evidence.
  • The protected proof report and Sigstore attestation verify against the exact source commit/tree/run.
  • Proof authority and claim-fidelity evidence have distinct identities, actors, and correct source relations.
  • The repaired claim derives proved; the original claim remains exactly disproved with its original witness/package/repair edge intact.
  • CI, protected publication, and an independent retained-artifact audit pass on the merged tree.
  • Exact evidence is recorded on this issue and the 1.0 handoff before this issue is closed.

Refs #25, #41, #44.

Activity

  1. Mnehmos commented on Jul 21, 2026

    @Mnehmos
    OwnerAuthor

    Draft PR #47 implements the protected repaired-proof slice: #47

    Local exact-head evidence on 0bf7488e670956e4037509792bd4370fa67c499b / tree 4eaf19c7978e49ee8eca6353514cb13e68500a2f:

    • Pinned Lean 4.32.0 elaborates MathOS.PilotA.every_prime_other_than_two_is_odd with warnings denied.
    • The first elaborating proof failed the stronger authority criterion because #print axioms exposed [propext]; it was replaced before push.
    • The committed structural remainder proof reports no axioms.
    • A real Windows CLI run created repaired claim 019f868a-7743-7551-b9f1-7a7ae47991a8 / a32e7c04f69169942c5d2a5c2072aa36f52afc2b0ee0c315629191974f861d13 and claim-polarity formalization 019f868a-7754-7d63-b73d-59120b4b73fd / 6cca0fa0e756648519d909a19ab49f153989ae735ed26fe59b200c94000cf9ab.
    • Real elaboration job 019f868a-776a-70a0-aeea-b425c8b8dbea and audit job 019f868a-79dc-7b61-9a5e-119ddf643fb0 passed with observed_axioms: [].
    • Canonical local request 144c7aa2871937686c4c84018c114c7388abbe021638ec1591ae229ffeaa097a preserves outcome proof; selecting refutation fails MCL_PUBLICATION_OUTCOME_MISMATCH.
    • Status remains correctly non-authoritative open/no_current_verified_fidelity locally.
    • Formatting, warnings-denied Clippy, 140 unit tests, 12 CLI integration tests, 3 MCP integration tests, the Lean worker baseline, 39 legacy Python tests, Bash syntax, Actionlint, and patch checks pass.

    The issue remains open. Required next evidence is exact-head PR CI/review, merged-tree CI, the protected two-candidate run, and an independent audit of its retained artifact.

  2. Mnehmos commented on Jul 21, 2026

    @Mnehmos
    OwnerAuthor

    CI run 29869426219 correctly failed before candidate construction because the first implementation used an array-valued semantic metadata entry outside closed artifact_metadata/1. Commit 67032b0bc080ae3ffa57e97887207b84c3be9f35 replaces it with the separate string field repaired_declaration_name; real CLI artifact ingestion now accepts and returns the exact intended snapshot.

    The same current head passed a fresh real repaired-proof CLI lifecycle at tree 289f92cbee1d6efb32cedc28d7f58e01518d1727: elaboration and audit passed with no axioms, proof request 6a4b6cebdc61631f59e86a158f2cb2e89760904647d66c12bd14065a12e68941 was prepared, local status remained open/no_current_verified_fidelity, and mismatched refutation intent failed closed. Replacement CI run 29869634932 is in progress.

  3. Mnehmos commented on Jul 21, 2026

    @Mnehmos
    OwnerAuthor

    Merged-tree acceptance evidence

    PR #47 merged as 12fceda50ab430da79d66cd23e747720f4624f4e with tree 71095dc025c391b4cf744ca99d206f9b0af21cd5.

    • Post-merge CI run 29871210765 passed all five jobs on the merge SHA.
    • Protected publication run 29871210845 passed every boundary step, including the child candidate, second attestation, and proof ingestion.
    • Retained artifact 8511238265, publication-boundary-12fceda50ab430da79d66cd23e747720f4624f4e, contains 193 files (123 JSON documents and 14 empty stderr files).
    • A fresh local replay with p 5C62 inned Lean 4.32.0 elaborated the retained ProtectedAudit.lean with warnings as errors and reported that MathOS.PilotA.every_prime_other_than_two_is_odd has no axioms.

    Independently recomputed proof chain

    • Repaired claim: 019f86a5-62de-77a2-98b1-6fd305021abe / dec1b7e7c633967af2b007e8c434ac7f7498cfc7cc58abe257bdc4305c0b52f4
    • Claim-polarity formalization: 019f86a5-6464-7652-a41f-b3bb409cae34 / 092d3d66df85d83d3c6fdd5006d061305c0970c4683631a9ee139882828db22b
    • Proof request: 9fd83f923698318c8bfd220ed2abe8423ec4c2e61fa240502cf927b07ae31e84
    • Candidate report: 04ce5919820c617a84283d056ffbdec95ac460cd53b80938526e84bfe9b34bd8
    • Retained closure: 9788d0a22cf39dd12635bf0c5f8e9be79dd61f6226007d433f6479e03a7b46cc
    • Module: aa1476702fa9b4b66c8fa04048a1282e7fc035704f64424ca2a2bd998b13dee1
    • Environment: c6d7874c5bafa12e639f04db2a935d966aa742e2a5b4463a6cb688b4614fba1a
    • Proof authority: 8b35030b90de39e3196822eb86842ac2902cbd32fa2c01baf2de0d64e69334f4
    • Distinct claim-fidelity evidence: 470dd6a97bbe0fc537f9ee90d57559199b584a73a6ae0b10bd3f3f6f1537d3cf
    • Publication receipt: 3005d588686e685323f0966e13a47844d4d7155f487b7c0124f095e81d6c3540

    The audit recomputed every retained member hash, record/version hash, request/report/closure binding, evidence hash, receipt/authority binding, fidelity request/report binding, and Sigstore certificate subject. It also proves that child candidate validation selected the child report rather than the parent refutation report.

    The repaired claim transitions not_started -> open -> proved. Authority and fidelity have different identities and actors and use source relation claim.

    Original-claim immutability

    • Original claim 019f86a5-34d8-7262-bcfd-6e20b5d9d47d / 74ee4bdd4774f8c15d0bb0965151b77ae9b90578e99f6235da39fda1abd698bc remains disproved.
    • Counterexample package ed9c752c572a1207ef7146ebc4e7232794652989cd12704b0dd39fb3dcb1356b and repair edge 019f86a5-62df-7772-a39f-fa7c4f6d91d1 remain intact.
    • Original status, counterexample package plus repair edge, and original claim-version bytes are all byte-identical before and after proof ingestion.
    • The new proof authority/fidelity IDs and hashes are distinct from the original refutation authority/fidelity.

    All acceptance criteria are satisfied on the merged tree. Pilot A pedagogy and export remain separate follow-up work under #25.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0