Skip to content

Research: sharp residual guard count for the seeded reciprocal - #1655

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
cbethin:codex/seeded-reciprocal-guard-boundary
Oct 14, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
cbethin:codex/seeded-reciprocal-guard-boundary

Conversation

@cbethin

@cbethin cbethin commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

PR1638 proves three reciprocal guard bits suffice but leaves open whether its actual seeded routine works with two. This contribution settles that question: with the unchanged seed 5/8, six-bit warm-up, floor rounding, exact products and capped doubling, target p=15 and c=127379/65536 return x=67435/131072. The residual exceeds 2^-16 by exactly 655/8589934592.

Status: scoped mathematical result; no new kappa. The complete reachable trace and an exact interval of failing inputs are proved in the README. Actual seeded failures also exclude zero and one guard. Combined with the explicitly credited PR1638 upper proof, three is therefore the least uniform nonnegative integer guard count for this fixed residual contract. All earlier stages satisfy their bounds. This is not a counterexample to PR1638's theorem, a minimum failing-precision claim, or optimality for arbitrary schedules or absolute-error-only approximations.

The proof is short enough to check directly. An integer-significand evaluator corroborates the witnesses. A separate rational certificate checker validates floor inequalities, row connections and a schedule derived from powers of two; it does not execute the recurrence or import the evaluator. This avoids treating two arithmetic representations with a shared traversal as independent validation.

Reproduce offline:

python3 -I -B research/reciprocal-seeded-guard-boundary/verify.py

Expected: PASS_SEEDED_GUARD_BOUNDARY witnesses=3 controls=7; no new kappa.

Local validation on stable CPython 3.15.0 passes:

  • Three exact reachable witnesses, six positive runs using three/five guards, and seven mathematical rejection controls.
  • Read-only relocation and four actual source/certificate corruptions, including coherently rehashed invalid certificates.
  • Source/task metadata, selected baseline bindings, five selected-record tests, and 19 workflow tests. One workflow test requires Python 3.12 and is skipped.

The opt-in replay manifest targets the repository's Python 3.12 CI environment; local registered-3.12 execution and hosted CI are unclaimed. No independent human review, proof-kernel theorem, complete root/recovery substitution, physical-tape admission, performance result, or selected cold replay is claimed. Section09 is a downstream arithmetic corollary, not a dependency of the multiplication theorem.

Only research/reciprocal-seeded-guard-boundary/ is added. Assignment seed63, base 1f7a934975e5eacaf83511c9ac870263bf095e05; submission parent abf8fa57544ebf8f5029120ee0552418f584893b. The source pins are unchanged across that refresh. The final overlap snapshot covers 535 open PRs and 296 discussion records, both fully paginated without warnings. PR1638 remains at 394b90ee7fdaedd1f666a78a442127be3da17810; Discussion1634 releases its claim and explicitly identifies this question. Text coverage is not a priority guarantee. No pinned coordination issue exists; the user-authorized claim and handoff are local.

Credit @ToikY / PR1638 for the three-guard upper theorem, Hanson Sun (@bbMisk) / PR1528 for the preceding bounded Newton audit, and the retained OpenAI manuscript/classical Brent reduction. Unchanged predecessor proof and README copies retain their original disclosures. New work is Apache-2.0, prepared for Charles Bethin (@cbethin) with substantial OpenAI Codex assistance in derivation, implementation, checking and writing.

@Mister-Meeseeks
Mister-Meeseeks merged commit 56210cd into CrocSwap:main Oct 14, 2026
31 of 61 checks passed
@Mister-Meeseeks

Copy link
Copy Markdown
Contributor

Batch review at 4880c3ea0401927a5fc0215dce99feefe092d9e9.

Merged to main, preserving the original contributor commits and package attribution.

Reviewed scope: Reachable p=15 two-guard reciprocal counterexample, lower-allowance witnesses and credited three-guard upper proof establish the fixed seeded residual-contract minimum. Separate rational floor certificates; does not optimize absolute-error-only or modified schedules.

The pinned scoped command passed; the batch ledger contains its command, input hashes, environment and log. This incorporates the research/tooling contribution and does not change the selected κ or discharge the inherited multiplication-theorem assumptions.

Batch review, attribution and evidence. Thank you for the contribution.

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