Skip to content

perf(groebner): back-substitute among each round's new pivots - #11046

Draft
kim-em wants to merge 1 commit into
mainfrom
groebner-new-interreduce
Draft

kim-em wants to merge 1 commit into
mainfrom
groebner-new-interreduce

Conversation

@kim-em

@kim-em kim-em commented Nov 9, 2026

Copy link
Copy Markdown
Owner

This PR puts each F4 round's new pivots into reduced echelon form among themselves before they enter the basis. The pivots re-enter elimination as targets in descending leading column, with no known reducers, so each is reduced once by the already reduced pivots to its right. Leading columns, monic scalars and pivot order are unchanged, and the certified producer mirrors the step with provenance, so traced and candidate matrix counters still agree.

The elimination output contract is unchanged (echelon, not reduced echelon); the new step lives in SymbolicMatrix.solve and Producer.solve. Complete reduced bases are identical on every F4 fixture; work and matrix counters change, so conformance-fixtures/HexGroebner/f4.jsonl is regenerated. Sparser new basis elements reduce later rounds' work on dense and structured systems (dense-quadratic10 over 2³¹−1 drops from 7.65M to 4.90M pivot applications). Matched measurements follow in a retained report before this leaves draft.

Part of #10987.

🤖 Prepared with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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