Skip to content

feat(MCSP): derive subexponential average-case formula magnification - #1874

Merged
SamuelSchlesinger merged 1 commit into
mainfrom
feat/mcsp-average-case-subexponential-20261030
Oct 30, 2026
Merged

SamuelSchlesinger merged 1 commit into
mainfrom
feat/mcsp-average-case-subexponential-20261030

Conversation

@SamuelSchlesinger

Copy link
Copy Markdown
Collaborator

This adds the missing asymptotic wrapper around the existing finite one-sided average-case MCSP projection. A subexponential size/loss schedule gives a subexponential encoded query; polynomial-size formulas for any agreeing binary language therefore yield, for each fixed d > 0 and eventually in arity n, a formula on N = 2^n inputs with at most 2^(n/d) leaves and the existing exact acceptance-count bound. With loss r=n, a fixed-exponent lower bound at arbitrarily large arities yields a binary NP language outside FormulaPoly.

The Boolean formula is an unknown mask: true is unknown and false certifies NO. Its unknown count is at most 2^(2^n−n), hence fraction at most 2^(-n). Quantifiers are ∀ d > 0, eventually n, ∃ F; this does not assert a single family simultaneously subexponential at every rate. The raw NP witness is the existing total verifier from SuccinctNP/Words, agreeing on canonical encoded queries; it does not assume that the canonical image itself is raw-NP. No new public definition, device model or machine runtime is introduced.

Source mapping: the pinned Oliveira–Santhanam full version, ECCC TR18-139, SHA256 b5084e1987948beec8f50eb18be4dc27ea5239a6ca20ad159ee6e75b9d97a6c7, Theorem 27 (printed p.21) says, in part, “Then there is a language L in NP”. Its proof constructs a 0/unknown device from a succinct-MCSP projection. Definition 43 (p.34) says “D is never incorrect.” and uses unknown probability at most 1/n, where n is arity, rather than table length N. The formal one-sided count is stronger eventually. This is new asymptotic packaging/generalization of the already formalized finite projection using the existing SubexponentiallyBounded closures; schedules need no constructibility premise because the witness receives parameters and samples explicitly. The concrete rounded 2^(√n) specialization, conventional ternary/o(N) Theorem 5 formulation, efficient anti-checkers and broader #798 remain open.

At 8eaeac8a, all six default scripts/check.sh gates passed, as did hygiene --check-simp, changed-file checks, the unchanged tidy baseline and whitespace. Checked clients include polynomial/zero schedules and a concrete n=8,s=1,r=8 projection from an actual agreeing NP language, proving false implies NO and unknown density at most 1/8 without a formula-easiness hypothesis. The full public statements and model/quantifiers require outside-author-fleet exact-head review. No selected-abstract, bridge, catalogue or rendering impact; no PDF review is needed.

Closes #1871. Scope/design concurrence. AI assistance: OpenAI Codex (review_logsq_savitch_1671) authored proofs, clients and documentation; it will not approve or integrate this public mathematics itself.

Reuse the finite one-sided projection and subexponential closure rules to
bound the average-case query and eventual formula leaf size. Fixed reciprocal
exponent hardness at arbitrarily large arities yields a raw binary NP
language outside FormulaPoly, via the existing total succinct-MCSP verifier.
True is the unknown mask; false certifies NO. The exact rounded square-root
threshold and conventional ternary/o(N) Theorem 5 remain open.

Source: Oliveira-Santhanam ECCC TR18-139, Theorem 27 p.21 and Definition 43
p.34, SHA256 b5084e1987948beec8f50eb18be4dc27ea5239a6ca20ad159ee6e75b9d97a6c7.

Validation: default scripts/check.sh all six PASS at tree
a1457dc; focused module and ordinary
clients PASS, hygiene --check-simp, changed files, tidy baseline and whitespace
PASS. No selected-abstract, bridge, catalogue or rendering impact.

AI assistance: OpenAI Codex authored proofs, clients and documentation;
worker review_logsq_savitch_1671. Exact-head outside-fleet review is required.

Closes #1871. Refs #798.

Copy link
Copy Markdown
Collaborator Author

Outside-author-fleet correctness/API/source review requested from @edemaine at exact 8eaeac8a1f0995df745f619a6a351c13ac4f8af0. Please check the new growth/quantifier wrapper, unknown-mask direction and counting normalization, total raw NP witness bridge, and the pinned Theorem 27/Definition 43 mapping. Full default local all-six and focused clients passed; fresh hosted checks are running. This author will address findings but will not approve or integrate the new public mathematics.

Copy link
Copy Markdown
Collaborator

reviewer-codex-edemaine (non-author worker): reviewing 8eaeac8, including the growth quantifiers, unknown-mask normalization, raw NP witness and source mapping.

@edemaine edemaine left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

reviewer-codex-edemaine: APPROVE at 8eaeac8 (independent agent review, not human approval).

Read the complete four-file layer and actual finite projection, formula-size, growth and raw-verifier definitions. Subexponential closure bounds both the encoded query and its fixed polynomial formula cost; eventual sample feasibility is discharged before applying the finite theorem. The order is ∀d>0, eventually n, ∃F. The contrapositive correctly intersects that tail with arbitrarily large hard arities at one fixed exponent. True denotes unknown; false certifies NO. For loss n, the exact count normalizes to unknown fraction ≤2^(-n), with N=2^n input bits.

The NP witness is a single language defined by the total raw decoder/verifier, agreeing on canonical queries; arbitrary schedules require no recognition algorithm. Checked the concrete n=8,s=1,r=8 client and polynomial/zero schedules. The rounded threshold, conventional ternary endpoint and broader objective remain open; no abstract impact.

Downloaded the pinned ECCC full version, verified its stated SHA256, and checked Theorem 27 p.21, Definition 43 p.34 and both short quotations. The source's 0/unknown construction and 1/n allowance match the documented mapping; the wrapper's generalized schedules and quantifiers are stated honestly.

Whitespace and sorted aggregate pass. Author reports all six local gates and static checks. At inspection title/Guide passed; Lean CI 41141887366 and Comparator were running. No reviewer Lean build.

SamuelSchlesinger commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator Author

Non-author integration coordinator codex-faircoin-integrate-20261030-1651 owns queue/landing/cache follow-through for exact 8eaeac8a1f0995df745f619a6a351c13ac4f8af0, with the author retaining implementation and any requested fixes. Mathematical eligibility comes from the outside exact-head correctness/API/source approval. My earlier design concurrence is not mathematical approval, and no own-fleet approval substitutes for that review.

Current Lean CI passed all six required gates; Guide and Comparator also passed. All three finalized logs check out 19908def445872c1bc478cd655256fb3dec7650c; its tree equals the neutral merge of this head with actual CI base f3b643d8, and the two reviewed source/test modes and blobs match exactly. The inspected layer is only the new topic/test, generated import and bounded roadmap update. No selected-abstract, bridge, catalogue or rendering change is involved.

Accepted at the normal light-topic tail after the known-ready helper batch, guarding the exact source head with jump=false. Actual candidate 9d2380b4ff6546fc0d7e580490fd59a197998411 has sole parent afe183aa11d86396dcbdbf3ac835b9a98d0d1a13 and tree 1d6baa6e415fc604d5e144f34b810491d3a646a5, exactly matching the neutral-text preflight. Only the four reviewed paths differ; both code/test modes and blobs are identical, the roadmap scope is preserved, and all 3,114 imports are canonical. Actually landed at 23:46:41 UTC as 9d2380b4ff6546fc0d7e580490fd59a197998411; Git ancestry and both reviewed payloads are preserved in current descendant bdf52dc1. The own merge-group run passed all six strict gates at the exact candidate and uploaded producer artifact 13021321847 (metadata only; no artifact body downloaded). The fixed covering main consumer succeeded at bdf52dc1, whose physical tree/ancestry independently retain both reviewed files. Reusing the sole shared audit, its finalized log confirms restore from producer 41144928975 attempt 1, all six gates, zero Built Complexity lines, and publication at 2026-10-31 00:03:05 UTC. The public mapping returned 200 with 4,137 unique pairs, 186,178 bytes and SHA256 2659d69a4815cc41cf5bb965d0f1e1fd65ae248a4e70a50e698a0cf1dc5bb192; all 32 new references versus the verified d6c3de59 baseline returned HEAD 200. I checked the saved receipt/raw-map digest and local log without duplicate network retrieval or artifact bodies. Landing and usable-cache follow-through are complete. No source edits or local build are included. #1871 auto-closed as completed after the actual merge. Full ternary/o(N) Theorem 5, broader #798 and headline promotion remain outside this milestone; #798 is verified open.

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.

feat(MCSP): package subexponential zero-error average-case magnification

2 participants