Skip to content

NOESIS P-NP formal gap ledger v1 - #429

Merged
motanova84 merged 4 commits into
mainfrom
noesis/pnp-formal-gap-v1
Aug 16, 2026
Merged

motanova84 merged 4 commits into
mainfrom
noesis/pnp-formal-gap-v1

Conversation

@motanova84

Copy link
Copy Markdown
Owner

Purpose

Add the first explicit epistemic gap ledger for the NOESIS/P-NP oracle track.

What this records

  • The exact boundary established by NOESIS/Oracle.lean.
  • The constructive chooseK obligation that remains open.
  • The input-size-dependent operations currently present in src/ramsey_haar_oracle.py.
  • The corresponding limitation of src/pnp_oracle_bridge.py.
  • A formal error-as-evidence loop for SABIO/Daily Solver integration.

Epistemic rule

This PR does not assert P = NP. It makes the missing proof obligations machine-auditable and prevents a declared O(1) metadata field from being promoted to a theorem without a complexity certificate.

Next milestone

Construct and formally verify a concrete deterministic chooseK, then prove its complexity under an explicit input representation/cost model.

@motanova84
motanova84 marked this pull request as ready for review August 16, 2026 01:58
Copilot AI lite review requested due to automatic review settings August 16, 2026 01:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@motanova84
motanova84 merged commit ce112b1 into main Aug 16, 2026
3 of 6 checks passed

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6340a8c32e

ℹ️ 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".

Comment thread NOESIS/ChooseKContract.lean Outdated
structure PolyTimeCertificate (chooseK : ChooseK) where
polynomial : ℕ → ℕ
polynomial_nonnegative : ∀ n, 0 ≤ polynomial n
bound : Prop

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Require a proof in the complexity certificate

Because bound is stored as a Prop rather than as a proof of a concrete runtime bound, constructing PolyTimeCertificate does not prove any complexity claim: a caller can fill this field with True or even False and VerifiedChooseK will still treat the selector as complexity-certified. In contexts that rely on VerifiedChooseK to mean a machine-checked polynomial-time certificate, this makes the obligation vacuous; the field should instead encode and require proof of a defined cost-model bound for chooseK.

Useful? React with 👍 / 👎.

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.

2 participants