Skip to content

refactor(real-roots): narrow the basic polynomial import - #10131

Merged
kim-em merged 1 commit into
mainfrom
narrow-real-roots-import
Sep 8, 2026
Merged

kim-em merged 1 commit into
mainfrom
narrow-real-roots-import

Conversation

@kim-em

@kim-em kim-em commented Sep 8, 2026

Copy link
Copy Markdown
Owner

HexRealRoots.Basic only uses the integer-polynomial core, but imported the full HexPolyZ umbrella. The umbrella also exposes NTT multiplication, pulling HexModArith and its native build into every basic real-root consumer.

Import HexPolyZ.IntegerPolynomial directly. This keeps HexRealRoots.Chain and its Mathlib root-count consumer in the pure Lean dependency closure.

Validation:

  • lake build HexRealRoots
  • lake build (11,224 jobs)
  • cold targeted build of Mathlib.Tactic.RealRootCount and MathlibTest.RealRootCount with all Hex build directories absent; only the required pure Lean modules were built

🤖 Prepared with Codex

@kim-em
kim-em enabled auto-merge (squash) September 8, 2026 10:01
@kim-em
kim-em merged commit 75f468b into main Sep 8, 2026
1 check passed
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