Repository navigation
Conversation
This was referenced Nov 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Scoped algorithmic proof, exact finite conformance and local performance evidence. The observable-connector planner of Hanson Sun / PR1523 can use a weighted hypercube distance transform with path ranks and backpointers. Every cost table, lexicographic witness, output correction and restored endpoint is preserved on the declared common domain.
For m stages and N=2^d masks, preparation uses O((m+1)dN) arithmetic operations and label comparisons, with O((m+1)N) storage. This replaces the dense O(mN^2) predecessor scan. The executable supports 1<=d<=8, m<=256 and positive integer prices of at most 256 bits; the written algorithmic proof covers all finite d>=1 and m>=0.
On the explicit eight-coordinate, 64-stage changing-source workload, five alternating fresh-process pairs reduce median complete preparation from 0.361382 s to 0.036996 s, or 89.76%. Ranges are 0.360885--0.376054 s and 0.035862--0.038021 s. Both sides produce the identical 58-price plan, 16,640 table entries and complete 616-gate word. The timed region includes process startup, source authentication, demands, solve, word emission, every observation, full inverse, invoice and result digest. Profiled preparation spends 99.48% in the baseline solver. Other processes were active; the interleaved ranges are disjoint.
The new implementation and proof were produced by Nick Petalas. Credit Hanson Sun / bbMisk for the recurrence, typed dirty-connector contract, original consumer and witnesses; retain woklerx / PR1439, mightyOil / PR1203, Hanson Sun / PR1246, Sagar Thakrar / PR1199 and PR1227, and Ross Richardson's connector lineage. Hypercube transforms and path ranking are classical. The temporal-gauge distance sweeps in PR1259, PR1270, PR1380 and PR1397 are credited precedents on other state spaces; their code is not imported. This contributes the observable-mask implementation, full witness preservation and complete preparation evidence.
Evidence
6c768ab715c63e4de8969845ebc5aff149c6de13.The proof, generated source-bound result, raw timing pairs and separate profiles are in
research/observable-hamming-transform/. Exact reproduction from the worktree root, standard library only:Other machines may substitute their CPython 3.12 path. Expected markers are
PASS_OBSERVABLE_HAMMING_TRANSFORM,PASS_REGISTERED_RESEARCH_PACKAGEandPASS_RESEARCH_COMMIT_BYTES.benchmark.pyprints five new alternating pairs; performance thresholds are absent from CI.Limitations and unrun obligations
This improves preparation on one explicit abstract-interface workload. It supplies no new query optimum, gate saving, physical supplier, kappa or multiplication theorem. The emitted data program is identical. Small state spaces can incur extra setup overhead. No selected caller, physical frames, ownership, routing, precision, compiler or complete supplier funding is supplied. The predecessor has no stage/price-bit caps; implementation equivalence is claimed on the stated common bounded domain.
Independent human and formal proof-kernel review are unclaimed. Selected source-binding orientation passed; the selected scientific cold replay, Lean and all-size native builds were not run. Only the new isolated package changes. The selected frontier and all predecessor sources remain unchanged.
Open next questions
Related open work
CI notes
Both hosted checks,
planandreplay (research/observable-hamming-transform), passed at6c768ab715c63e4de8969845ebc5aff149c6de13in run 41550936651. The completed checks were confirmed withgh pr checks. All registered and direct commands also passed locally. Hosted replay certifies the declared check coverage; the performance measurements remain local evidence and independent scientific review is unclaimed.Canonical main was refreshed before publication and remains
7c49fe32c55de02c2c873655c804b16e4c3fef0a, priority revision 8, selected PR6030. Advance CLAIM. Live reservations, Discussion claims, current-main object/formula searches, recent account work and open/merged PR bodies were checked. Historical arbitrary diffs and unpublished work remain coverage limits.Merge Danger
Door: two-way. This adds one isolated research package.
Blast Radius: package. No shared implementation, selected result, frozen evidence or predecessor file changes.