e52c4ac8

By: ValentinHirschi <valentin.hirschi@gmail.com>

sector-box: opt-in parallel modular elimination (RUSTRED_SB_PARALLEL_ELIM=1), identical to the serial one

PARELIM's elimination (da847611 in the PFLOW clone), cherry-picked onto the PR series without
conflicts. Needs the Symbolica pin move to a version with numerica's
SparseRowReducer::add_csr_rows_parallel (and PRs #171/#172); it does not build on 9cd57678.

- GlobalDiscovery::insert_batch: with RUSTRED_SB_PARALLEL_ELIM=1, parallel batch sort
  (provenance is unique, the order is total) and Discovery::add_rows_parallel: column
  registration and native CSR rows in parallel (one comparator lookup per distinct integral of
  a 2048-row chunk), the parallel forward solve, accepted-L bookkeeping from the returned L rows.
  U, pivots, L patterns, accepted ordinals, the row selection and every report hash are
  identical to the serial elimination for every option and thread count. Default OFF.
- RUSTRED_SB_PARELIM_WINDOW (4096), _BLOCK (16), _PROVISIONAL (copies|all|none): speed only.
- Under RUSTRED_SB_PROGRESS: per batch the elimination's user/system CPU; for the parallel path
  the work counters, modelled speed-up and stage timers.
- Test: parallel batches reproduce serial batches (pivots, U, L, accepted ordinals, stats,
  traces) for windows/blocks/policies and 1/2/4/16 threads.

Measured (PFLOW, 8 threads): 4-6x elimination speed-up on 4L reproducers, T266 growth round
2096 s -> 362 s; exact on Q1p3q9/q3/q0 and E2c0_2_8 (hashes and rule strings).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub
Time to Start Worker time Duration Time to finish Idle
Config - - - 2s 2s
Eval - - - - -
Build - - - - -
Suite - - - 2s 2s