Your free trial has ended.
Try the live demo or log in .
Created Cancelled
By: Valentin Hirschi <valentin.hirschi@gmail.com>
reserve(): history-independent exact evaluators, checked Symbolica orders terms, and breaks ties while building an evaluator, by the encoded bytes of their symbols, which hold their registration indices. Two things made NinjaRS's double-double and arbitrary-precision results depend on what the process registered before: * the positional slot pool is built on first use; after about 61,000 symbols it silently gets function slots, whose evaluators have other instructions; * the master-integral evaluators (SymbolicaMasters::exact_evaluator) are built from ninjars::master_argument_* and oneloopmaster's expressions, whose symbols were registered lazily at each master's first use. ninjars_positional::reserve() builds the pool and returns its Regime, or the typed Error::FunctionSlots when variable slots cannot be had (regime() reports it without failing). ninjars_symbolica::reserve() calls it and registers every master family's symbols in one fixed order (masters::exact_families, master_series) without compiling an evaluator. The contract is documented in the reserve module: call it before the process registers symbols of its own. Tests: tests/reserve.rs (variable slots after reserve(); compiling every master family in double-double and Float registers no further symbol; the typed error after 70,000 symbols, in a child process); determinism.rs extended_results_do_not_depend_on_foreign_symbols (the six-propagator probe in double-double and 190-bit Float with exact masters, after 1,000, 20,000 and 70,000 foreign symbols, bitwise equal to alone; without reserve() it moves after 70,000). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>