Skip to content

Halve the check volume of adaptive Walsh repair - #8126

Open
petalas wants to merge 1 commit into
CrocSwap:mainfrom
petalas:research/w3-1201c-one-arm-walsh
Open

petalas wants to merge 1 commit into
CrocSwap:mainfrom
petalas:research/w3-1201c-one-arm-walsh

Conversation

@petalas

@petalas petalas commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Result

Scoped construction and child-volume proof. One guard polynomial lets the adaptive rational Walsh repair convert one check arm in each direction. The correction returns the exact Walsh endpoint on arbitrary independent rows.

Profile Volume per conversion Count pencils per ordinary ladder
Predecessor (V/8) (2\lceil2\sqrt m\rceil+1)
Same batch divisor and direct leaves (V/8) (2\lceil\sqrt{2m}\rceil)
Same check width (V/16) (2\lceil2\sqrt m\rceil)

The first new profile reduces the predictor term of the complete finite child-volume bound by a factor tending to (1/\sqrt2). The second reduces that term by a factor tending to (6/7) and uses no more direct-leaf volume. The proof counts both ladders and both recursive conversion phases. All repair-table denominators divide ((m!)^4), with elementary coefficient lengths (O(m\log m)). The ordinary controller and recursive tape clock still need a new measurement or proof. The routing factor and the exponent-(1/2) endpoint remain open.

Jerry Chen's #8103 supplies the numbered-shift rational predictor and the archived finite child schedule. The November 24 Fourier manuscript supplies the upstream repair and Walsh kernel. Advance claim

Evidence and reproduction

Run from the repository root with CPython 3.12.

python3.12 -B scripts/research_package.py --package research/one-arm-walsh-repair
python3.12 -B scripts/check_research_commit.py --package research/one-arm-walsh-repair --check-source-history
python3.12 -W error -I -B research/one-arm-walsh-repair/verify.py
python3.12 -W error -I -B -O research/one-arm-walsh-repair/verify.py

The registered checks cover 3,072 exact ordinary records, 327,680 independent-basis entries in each of two coefficient rings, and 6,912 packed row positions. Both the missing repair and missing output guard fail. The all-size result is a written proof. Independent human and formal proof-kernel review are unclaimed.

Attempts on the main target

  • A raw check (HX) cannot replace the paired checks. Two inputs can have the same check and need distinct corrections, even with just one defective row.
  • Guarding with (P^2-I) suppresses exactly the correct rows, but requires four old predictor evaluations across the two ladders. This exceeds the two-evaluation budget.
  • A falling factorial that vanishes on the agreement window shares its ladder with the original predictor. This achieves the one-arm repair within the original pencil budget for both profiles.

Open next questions

  • Lower and meter one occupied gather, repair and return through the numerical controller, including each retained bank and scan.
  • Install the smaller alignment divisor on one actual width chain and price its local work at the same external record width.

Related open work

  • #8121 bounds the number of wide Walsh layers in a separate occupied short-Fourier model.
  • #8120 bounds rectangle incidence for the native interchanger used in spatial routing.
  • #8102 proposes the November 24 frontier and leaves the exponent-(1/2) endpoint open.
  • #8115 bounds separately billed selected Walsh calls in the short Fourier caller.
  • #8108 studies predictor degree and repair rank for the binary swap pencils.
  • #8118 changes the CRT and short Fourier layout costs while retaining its Walsh supplier.

CI notes

Local registered replay, both explicit verifier invocations and committed source-history checks passed. The hosted planning and package replay jobs passed at 7d35396ad8a277c0e7cfe803da3e951375f8634f. GitHub Actions run

Merge scope

The diff adds one research package. A revert removes it without changing the shared controller or the selected record.

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.

1 participant