072f9952

Created Started Finished

By: Ben Ruijl <claude4@ruijl.ch>

R* tests: n1/n3c/n4/n5 massive identities also run with the linearisation on

The four numerator stress identities (massive_regression_tests) run with
GAMMALOOP_LINEARIZE_MOMENTA forced off since d778df9ad4: with it on, the
factor-by-factor momentum routing of n5 is a different spelling than the
whole map's, and the test-only structural stream check stopped n5 before
its forest and R* pole assertions. The A1 review (condition for A2) asks
for n5 with Massive children and the linearisation on through both pole
assertions, with the two routing expressions compared algebraically.

- streamed::with_algebraic_check (test-only, thread-local like the other
  switches): report_check accepts a streamed result that differs
  structurally from the whole map's only if their expanded difference is
  zero, any other difference still fails, and returns per-stage tallies
  (identical, algebraic only). Without it report_check is unchanged.
- New tests numerator_*_linearized for n1, n3c, n4 and n5: the same
  identity_with_numerators (Massive children, both pole assertions
  unchanged) under with_linearize(true) and with_algebraic_check, so the
  linearised streamed routing is what the poles are computed from. Each
  asserts that the momentum routing was checked; n5 also that at least one
  routing differed in spelling (3 of 309 do). The off-mode tests stay as
  they were (the cases moved to shared constants N1, N3C, N4, N5).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 of 1 jobs done 1 Passed