dd8298d4

By: huashengshao <erdissshaw@gmail.com>

B0, C0, D0: binary64 points at a singularity a light mass regulates take double-double

From the review of huashengshao/TIRust#90 (remark 3): TIRust served binary64
boxes with an electron line beside heavy ones as Direct, Success well off
(a rank-0 box 1.7e-5, a rank-1 box 7e-3) at well-conditioned inputs. The
masters lose there. A light propagator that meets an invariant on the shell
of the other line it joins makes the point a soft or collinear singularity as
its mass goes to zero, and the binary64 kernels lose up to about
20 u S / |m_l| on every route (S the largest modulus among the invariants and
squared masses): D0 with an electron line up to 0.65 off on the native route
and 1.3 on the expression route, C0 4.2e-5 (2.0e-3), B0 2.1e-10 (2.6e-5).
A box whose light line has both legs on the shells of its neighbours (a soft
line) loses roughly as (S / |m_l|)^1.5, and with two opposite ones up to
about u (S / |m_l|)^2 / 4.

Such points now take the native DoubleFloat kernels, rounded once, on every
binary64 route, as next to a two-particle threshold:
- a propagator with 0 < |m_l| < 2^-16 S next to an invariant within
  2^-16 S of the shell of the other line it joins (regulated_by_light_mass);
- a D0 soft line, its legs within 2^-16 S of the shells, with
  |m_l| < 2^-11 S, or two with |m_1| |m_2| < 2^-16 S^2
  (d0_soft_light_lines);
- on the SymJIT and expression routes also a light B0 or C0 line next to an
  invariant on its own shell (light_mass_on_generated_routes): their
  generated code lost there, the native kernels did not.
A Coulomb triangle exactly at its threshold keeps the binary64 kernels, and
so does a native C0 point in the momentum series' domain (rho <= 1/16).

- tests/light_mass_singularities.rs: the worst points of the scans, every
  binary64 route within 1e-15 of 1024 bits on all three coefficients; all
  five tests fail on fb2e118.
- native::threshold_tests: the point tests, and the points left alone.
- 14,200 scan points and #34's 47,500 random values: every changed value is
  inside the test, every other value is fb2e118's bit for bit.
- NATIVE_BACKEND.md and STATUS.md describe the test, the measurements and
  what is not covered: two electron lines as opposite soft lines, where
  double-double is still up to 1e-8 off, and SymJIT C0 with a massless leg
  between two equal moderately light lines.

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