[SYS.LEXICON // CHESS & ENGINE ENCYCLOPEDIA]

Chess & Chess-Engine Technical Glossary.

From classical endgame theory, von Neumann minimax, and Shannon search trees to 64-byte Layout-B transposition tables, SPRT match statistics, and planned incremental NNUE evaluation: every concept behind BalouChess with historical origin, mechanism, and honest maturity badge.

168 / 168 terms shown

Implemented in engine code SPRT & Match Statistics

Origin: 2026 · BalouChess Match Harness Verification (engine, SPEC 015 R8 & engine, WP 0008)

A/A Null Control & Positive Calibration Control

German term: A/A-Nullprobe & Positivprobe der Prüfstrecke

Also searched as: A/A-Probe · Nullprobe · Positivprobe · Prüfstrecken-Kalibrierung

Mandatory two-sided sanity calibration of the match runner itself BEFORE trusting any experimental SPRT: a symmetric A/A Null Control (identical binary vs. itself verifying unbiased symmetry around 0.5) and a Positive Control (full engine vs. deliberately handicapped version verifying rapid H1 acceptance).

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Asymmetric CPU core pinning, broken hash clearing, or color-swap bugs in a match script can silently bias Arm B over Arm A; calibrating the instrument first is standard laboratory metrology.

Algorithmic & Chess Mechanism

Runs a fixed-length paired A/A match (balou vs. identical balou) checking the Hoeffding confidence interval around an equal 0.5 score without early stopping, plus a paired pentanomial SPRT positive control (balou vs. handicapped balou) verifying clean H1 crossing (LLR >= +2.94).

Role & Maturity in BalouChess

Completed and archived in engine, WP 0008 (engine, SPEC 015 R8) with zero crashes and zero time forfeits before any search ablation SPRT was run.

Practical Effect on Search, Play & Measurement

Proves empirically that BalouChess’s fastchess SPRT rig has zero hidden bias.

Primary Literature Citation

BalouChess engine, SPEC 015 R8 ("Gegenprobe der Prüfstrecke") and match-harness calibration report engine, WP 0008 (2026).

Specified, not built yet Advisor, MCTS & Learning

Origin: 2017 · ONNX Open Standard (2017); BalouChess engine, SPEC 009 & engine, SPEC 010 hardware matrix

Accelerator Backends & ONNX Graph Interchange

German term: Beschleuniger-Backends & ONNX-Austauschformat

Also searched as: ONNX · DirectML · CUDA · CoreML · Vulkan · NPU

Vendor-neutral computation-graph format (ONNX) allowing a single trained balou-advisor model to execute across NVIDIA (CUDA/TensorRT), Windows GPUs/NPUs (DirectML), Apple Silicon (Metal/CoreML), and Linux GPUs (ROCm/Vulkan).

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Created in 2017 as an open graph format decoupling PyTorch training scripts from platform-native hardware inference engines (tract, burn, candle, ort).

Algorithmic & Chess Mechanism

Exports frozen weights and operators once after training (bound by SHA-256 in the Netzpass), while balou-advisor selects the fastest verified backend on the user’s machine.

Role & Maturity in BalouChess

Specified in engine, SPEC 009 section 2.3 and engine, SPEC 010 section 4.1 (planned, not built yet; every runtime crate requires permissive MIT/Apache-2.0 licensing and Class D approval).

Practical Effect on Search, Play & Measurement

Avoids vendor lock-in to a single GPU manufacturer across Windows, Linux, and macOS.

Primary Literature Citation

ONNX Open Graph Exchange Specification (2017); specified BalouChess interfaces in engine, SPEC 009 section 2.3 & engine, SPEC 010 section 4.1.

Implemented in engine code Time & Protocols ★ Core Study Article

Origin: 1977 · David J. Slate & Larry Atkin (Chess 4.5, 1977); Robert M. Hyatt (Crafty dynamic time allocation, 1995)

Adaptive Time Management (Soft & Hard Clock Budgets)

German term: Adaptive Zeitsteuerung (Weiche & harte Budgetgrenze)

Also searched as: Zeitsteuerung · Time Management · Soft Budget · Hard Budget · wtime btime winc binc

Two-threshold tournament clock controller computing a soft budget (checked cleanly between completed iterative-deepening depths, scaled by score stability and node share) and an inviolable hard budget (checked periodically inside the tree minus MoveOverhead).

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Early programs divided remaining clock time by a fixed constant (remaining / 30), wasting precious seconds on forced recaptures and blundering in complex tactical crises when cut off mid-iteration. Robert Hyatt (Crafty) and modern engines introduced dual soft/hard limits modulated by root stability signals.

Algorithmic & Chess Mechanism

From (wtime, btime, winc, binc, movestogo) and safety reserve Move Overhead, crates/search computes (soft_ms, hard_ms) with soft_ms <= hard_ms <= max(0, remaining - overhead). Three live signals stretch or shrink soft_ms: (1) only legal move -> stop immediately after tm_single_reply_depth (1); (2) stable best move across depths -> stop at the soft target and bank clock time; (3) score drop / aspiration fail-low / late best-move flip -> extend soft_ms up toward hard_ms (tm_panic_time) to resolve the tactical crisis!

Role & Maturity in BalouChess

Implemented in crates/search (engine, SPEC 006 R1–R12), supporting sudden death, Fischer increment, cyclic movestogo tournament controls, movetime, depth, nodes, mate, and infinite, and verified with zero time forfeits across the 10,000-game stability run (verified-facts.json).

Practical Effect on Search, Play & Measurement

Directly translates every saved millisecond on obvious moves into extra search depth during decisive middlegame turning points.

Primary Literature Citation

Robert M. Hyatt, Dynamic Time Allocation in Crafty, ICCA Journal (1995–2000); BalouChess engine, SPEC 006.

Specified, not built yet Advisor, MCTS & Learning ★ Core Study Article

Origin: 2026 · BalouChess Architecture (engine, SPEC 010 & engine, ADR 0012)

Advisor Process & Specified HintSource Boundary

German term: Advisor-Prozess & spezifizierte HintSource-Schnittstelle

Also searched as: Advisor · balou-advisor · HintSource · NoHints · Prozessisolierter Beschleuniger

Specified architectural firewall (HintSource trait + planned out-of-process balou-advisor binary) keeping the main UCI engine binary balou compact, deterministic, and completely GPU-driver-free while allowing optional accelerator attachment.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Linking gigabyte-scale CUDA/DirectML/Vulkan runtimes directly into a UCI chess binary inflates startup times, breaks portable static builds, and risks crashing a tournament game if a GPU driver resets. engine, ADR 0012 solved this by isolating all accelerator runtimes inside an optional companion process (balou-advisor, planned, not built yet).

Algorithmic & Chess Mechanism

crates/search talks exclusively to the narrow specified Safe-Rust trait HintSource (lookup(key) -> Option<Hint> and submit(pos, priority)). In NoHints mode (used by default, in bench, and in the planned Web-Lab browser build), HintSource compiles away to a zero-sized no-op across planned builds! If a future attached balou-advisor process hangs, crashes, or returns malformed bytes, balou simply logs info string advisor disconnected and finishes the game seamlessly on CPU search (engine, SPEC 010 R5).

Role & Maturity in BalouChess

The narrow HintSource seam is defined in crates/search (schnittstellen.md section 2.5), while the IPC transport, neural cache, and balou-advisor binary are specified in engine, SPEC 010 (R1–R8), not built yet.

Practical Effect on Search, Play & Measurement

Guarantees tournament crash immunity, compact core binary size with fast cold start, and strict single-thread bench reproducibility.

Primary Literature Citation

BalouChess architecture decision engine, ADR 0012 (separate planned balou-advisor executable) and specified interface engine, SPEC 010 (HintSource trait, 2026).

Implemented in engine code Search & Windows ★ Core Study Article

Origin: 1956 · John McCarthy (1956), Allen Newell, J. C. Shaw & H. A. Simon (1958), Alexander Brudno (1963) & Knuth/Moore (1975)

Alpha-Beta Pruning

German term: Alpha-Beta-Abschneidung (Alpha-Beta-Suche)

Also searched as: Alpha-Beta · Beta-Cutoff · Alpha-Schnitt · Beta-Schnitt · Knuth-Moore-Schranke

Exact branch-and-bound optimization of Minimax maintaining a search window [alpha, beta] so any branch proven worse than an already guaranteed alternative is cut off immediately without altering the root result.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Conceived independently several times in the late 1950s: John McCarthy proposed it at the 1956 Dartmouth Workshop, Arthur Samuel used a related bound in checkers, Newell, Shaw, and Simon implemented an early variant in NSS (1958), and Soviet mathematician Alexander Brudno published the first mathematical correctness proof in 1963. Knuth and Moore (1975) proved the optimal minimal-tree node formula.

Algorithmic & Chess Mechanism

alpha tracks the best score the side to move can already guarantee; beta tracks the ceiling above which the opponent would have deviated one ply earlier. The instant a move returns score >= beta, the node triggers a beta cutoff (Fail-High), skipping all remaining sibling moves! Under worst-case move ordering Alpha-Beta still visits O(b^d) nodes, whereas under best-move-first ordering it visits only O(b^(ceil(d/2)) + b^(floor(d/2)) - 1) leaves — searching TWICE as deep in the same node budget.

Role & Maturity in BalouChess

Forms the sound search backbone of crates/search (engine, SPEC 003), accelerated by Principal Variation Search (PVS), Layout B transposition bounds (Exact, Lower, Upper), and staged move ordering.

Practical Effect on Search, Play & Measurement

Reduces the effective branching factor from ~35 toward ~6 through exact mathematics alone, before any heuristic forward pruning is even enabled.

Primary Literature Citation

Allen Newell, J. C. Shaw and H. A. Simon (1958); Alexander L. Brudno, Bounds and Valuations for Abridging the Search of Estimates, Problemy Kibernetiki 10, 1963; Donald E. Knuth and Ronald W. Moore (1975).

General reference concept Advisor, MCTS & Learning ★ Core Study Article

Origin: 2017 · David Silver, Thomas Hubert, Julian Schrittwieser, Ioannis Antonoglou, Matthew Lai, Arthur Guez, Marc Lanctot & Demis Hassabis (DeepMind)

AlphaZero (Tabula-Rasa Self-Play RL + MCTS)

German term: AlphaZero (Tabula-rasa-Selbstspiel & MCTS)

Also searched as: Alpha-Zero · AlphaZero · Silver et al. 2017 · DeepMind Chess 2017

Landmark 2017 DeepMind reinforcement-learning research system that learned chess, shogi, and Go purely from game rules via self-play (tabula rasa), combining a deep residual convolutional network (policy + value heads) with PUCT Monte Carlo Tree Search.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Building on AlphaGo (2016) and AlphaGo Zero (October 2017), DeepMind research unveiled AlphaZero in December 2017 (published in Science in December 2018). Without human games, opening books, or endgame tablebases, AlphaZero discovered rich long-term positional sacrifices, prophylaxis, and king-march motifs that reshaped modern chess opening preparation and inspired both Leela Chess Zero and NNUE self-play training.

Algorithmic & Chess Mechanism

A single deep residual network f_theta(s) = (p, v) outputs a prior probability vector p over all legal moves (Policy Head) and an expected game outcome v in [-1, +1] (Value Head). During play, MCTS runs thousands of PUCT-guided simulations per move — visiting far fewer nodes than alpha-beta, while investing heavy GPU compute at every visited node — and trains theta iteratively to match the MCTS visit distribution pi and self-play game result z.

Role & Maturity in BalouChess

AlphaZero’s two key ideas enter BalouChess in clean-room form: (1) tabula-rasa self-play data generation from game rules alone (engine, SPEC 013 R1, zero external engine evals or books!), and (2) dual policy + WDL value heads inside the planned balou-advisor model (engine, SPEC 010), coupled asynchronously to fast CPU alpha-beta search rather than slow pure MCTS.

Practical Effect on Search, Play & Measurement

Demonstrated in game-AI research that strategic compensation and activity emerge naturally from self-play reinforcement learning, catalyzing the fusion of neural evaluation and tree search.

Primary Literature Citation

David Silver, Thomas Hubert, Julian Schrittwieser et al., Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithm (arXiv, December 2017) and A General Reinforcement Learning Algorithm that Masters Chess, Shogi, and Go through Self-Play, Science 362(6419), 1140–1144, 2018.

Research hypothesis Search & Windows ★ Core Study Article

Origin: 2026 · BalouChess Search Lab (engine, SPEC 003 & engine, WP 0151)

ASP-Spread (Dispersion-Scaled Aspiration Window, Research)

German term: ASP-Spread (Streuungsabhängiges Aspirationsfenster, Forschung)

Also searched as: ASP-Spread · aspiration_spread · Aspirationsstreuung · ASP-A · ASP-B · aspiration_from_bound

Research search hypothesis (ASP-Spread / paired study arms ASP-A and ASP-B) scaling or shifting initial aspiration bounds dynamically when recent iterative-deepening scores fluctuate across plies, weighed empirically against BalouChess’s fixed tight window (aspiration_cp = 3).

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Classical engines use a fixed initial half-window (such as 3 cp on coarse material-plus-PST scales), while modern engines sometimes blend rolling root-score variance (meanSquaredScore) or bound-dependent offsets. In engine, WP 0151, BalouChess tested bound-shifted aspiration (aspiration_from_bound) and rejected it cleanly after SPRT showed no gain on the current evaluator, keeping asymmetric dispersion-scaled ASP-Spread (ASP-A vs ASP-B) cataloged for re-evaluation once finer evaluators arrive.

Algorithmic & Chess Mechanism

Before starting a deeper root iteration, dispersion-scaled aspiration measures recent completed root-score swings: calm plateaus retain razor-sharp aspiration_cp bounds, whereas volatile tactical transitions pre-widen the initial window below aspiration_max_cp = 108 to trade slightly looser initial bounds against fewer fail-high/fail-low re-searches.

Role & Maturity in BalouChess

Active production search in crates/search (params.rs, engine, SPEC 003 section 3.3) uses fixed aspiration_cp = 3, aspiration_growth = 2, and aspiration_max_cp = 108; ASP-Spread remains a research candidate governed by BalouChess’s rule (engine, WP 0151) that every window variant must earn its place via wall-clock SPRT whenever the active evaluator changes.

Practical Effect on Search, Play & Measurement

Demonstrates BalouChess’s disciplined separation of mechanism from magic constants: every search heuristic has an explicit off-value (0) and must earn its default on the chess clock.

Primary Literature Citation

BalouChess engine, SPEC 003 section 3.3 and aspiration-window study engine, WP 0151 (2026).

Implemented in engine code Search & Windows ★ Core Study Article

Origin: 1978 · Gérard M. Baudet (1978) & T. Anthony Marsland (1983)

Aspiration Windows & Exponential Widening

German term: Aspirationsfenster & exponentielles Aufweiten

Also searched as: Aspirationsfenster · Aspiration Window · aspiration_cp · aspiration_max_cp · Nachsuche bei Fail-High/Low

Starting root iteration d inside a narrow centipawn window [v - delta, v + delta] around the previous depth’s score v instead of [-infinity, +infinity], widening exponentially only if the true score falls outside the window.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Analyzed theoretically by Gérard Baudet at Carnegie Mellon in 1978 and refined into gradual/exponential re-search windows by Tony Marsland (1983) after early all-or-nothing resets to [-infinity, +infinity] proved wasteful during tactical swings.

Algorithmic & Chess Mechanism

In quiet phases, depth d rarely shifts by more than a few centipawns from depth d - 1, so a tight initial window [v - delta, v + delta] triggers many more alpha and beta cutoffs near the root. If the search fails low (score <= alpha) or fails high (score >= beta), only the violated bound is widened (delta *= 2, or opened to infinity once delta > aspiration_max_cp), and on a fail-high modern engines can reduce nominal depth by 1 (fail-high reduction) until the move stabilizes.

Role & Maturity in BalouChess

Implemented in crates/search (engine, SPEC 003 R6 and section 3.3) controlled by aspiration_cp = 3, growth factor aspiration_growth = 2, and widening cap aspiration_max_cp = 108 (engine, WP 0151); on a root fail-low or best-move instability, BalouChess’s time manager extends the soft clock budget (engine, SPEC 006 R4) rather than playing an unresolved move blindly.

Practical Effect on Search, Play & Measurement

Cuts root-iteration node cost substantially in stable positions while providing an automatic tactical alarm signal (Fail-Low) to the time manager.

Primary Literature Citation

Gérard M. Baudet, On the Branching Factor of the Alpha-Beta Pruning Algorithm, Artificial Intelligence 10(2), 173–199, 1978; T. Anthony Marsland, Relative Efficiency of Alpha-Beta Implementations, IJCAI 1983.

Implemented in engine code Board, Bitboards & TT

Origin: 2026 · BalouChess Layout B optimization (engine, WP 0141)

8-Bit Key Prefilter (tag8 in meta[56..63])

German term: 8-Bit-Vorfiltermarke (tag8 in meta[56..63])

Also searched as: tag8 · meta[56..63] · Vorfilter · TT Prefilter

Storing the lowest 8 bits of PositionKey (key & 0xff) in bits 56..63 of meta so non-matching transposition-table slots are rejected in 1 integer comparison before computing the 16-byte tabulation checksum.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Introduced in BalouChess engine, WP 0141 after profiling showed that computing the 16-lookup tabulation hash on every occupied non-matching slot wasted cycles on cache misses.

Algorithmic & Chess Mechanism

Rejects ~255 of 256 foreign slots immediately on meta alone while still enforcing the full 64-bit check (plus rejecting any set bit in the 22 reserved bits 34..55) whenever tag8 matches.

Role & Maturity in BalouChess

Active in crates/tables (codec.rs) and modeled bit-accurately in the Algorithm Atlas TtLineInspector island.

Practical Effect on Search, Play & Measurement

Cuts probe CPU cost on occupied hash misses without weakening 64-bit collision or torn-read resistance by even 1 bit.

Primary Literature Citation

BalouChess engine, SPEC 004 section 8 (decision engine, WP 0141, 2026), inspired by 1-byte bucket fingerprint tags in modern hash tables.

General reference concept Balou Lab & Methodology ★ Core Study Article

Origin: 2021 · Ben Vining

BenBot (Classical C++ Reference Opponent)

German term: BenBot (Klassische C++-Referenz-Engine)

Also searched as: BenBot · Ben Vining · BenBot v1.7.5

Open-source classical C++20 UCI chess engine by Ben Vining (v1.7.5, LGPL-2.1), used strictly as an isolated external process sparring partner on BalouChess’s versioned Reference Ladder to calibrate classical search milestones.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Developed by software engineer Ben Vining in modern C++20 with classical bitboard move generation, alpha-beta PVS search, transposition table, and handcrafted evaluation. When BalouChess constructed its multi-rung Referenzleiter (engine, WP 0006, engine, WP 0029, engine, WP 0043), BenBot v1.7.5 was pinned by exact release tag and SHA-256 between lighter starter engines (Prechess, Miguedrez) and upper classical engines (JACE, Tofiks, Rustic).

Algorithmic & Chess Mechanism

Why maintain external engines like BenBot alongside internal self-play SPRT? Self-play (Arm B vs Arm A, as in engine, WP 0123) detects small search improvements with maximum sensitivity, yet can theoretically drift into narrow self-play blind spots ("intransitivity"). Periodic gauntlet calibration matches (fastchess over stdin/stdout UCI pipes) against frozen external versions like BenBot, JACE, and Rustic anchor progress to independent playing styles!

Role & Maturity in BalouChess

Registered in the engine provenance register (LGPL-2.1) under strict clean-room process isolation: BenBot is invoked ONLY locally on the developer test rig as a separate OS child process via fastchess for external ladder calibration — 0 lines of code are ever read or copied, and BenBot is NEVER bundled or distributed.

Practical Effect on Search, Play & Measurement

Provides an objective, reproducible external yardstick during BalouChess’s classical MaterialEvaluator search development.

Primary Literature Citation

Ben Vining, BenBot — UCI Chess Engine in Modern C++20 (v1.7.5, LGPL-2.1); BalouChess Reference Ladder (engine, SPEC 015 section 6).

Implemented in engine code SPRT & Match Statistics ★ Core Study Article

Origin: 2008 · Glaurung / Stockfish bench signature convention (2008); BalouChess engine, SPEC 014

Bench Node Signature & Change Classes A / B / C / D

German term: Bench-Knotensignatur & Änderungsklassen A / B / C / D

Also searched as: bench · Knotensignatur · Änderungsklassen · Klasse A B C D · Non-Functional Refactoring Proof

Fixed-depth deterministic search benchmark (balou bench) across a diverse 30+ position suite whose total searched node count (Nodes searched: N) serves as a cryptographic-style behavioral hash separating non-functional refactorings from strength-affecting changes.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Pioneered in Glaurung / Stockfish (~2008–2010) to solve a classic team collaboration problem: how can a reviewer verify in 5 seconds that a cleanup or future planned SIMD optimization did NOT subtly alter move ordering, evaluation rounding, or pruning? If Nodes searched across 30+ tactical, quiet, endgame, and Chess960 positions stays bit-for-bit identical, search behavior is unchanged!

Algorithmic & Chess Mechanism

In the engine repository (engine, SPEC 014), changes classify by bench and impact: refactoring/speedup commits MUST preserve the exact bench node signature (0 node delta!) and prove throughput non-regression; functional search/eval changes (Class C) explicitly update the bench signature ONLY alongside a winning SPRT report; architectural/spec/dependency/IP decisions (Class D) require explicit human approval from Rolf. Symmetrically, balouchess-web (AGENTS.md section 5) enforces Classes A (docs/tests), B (UI/refactor within budgets), C (new interactive/worker/SEO features with rule, browser, and accessibility proofs), and D (specs, deps, Wasm artifacts, commercial terms).

Role & Maturity in BalouChess

balou bench is implemented and enforced in CI (engine, SPEC 014 R4–R5, verified bit-identical across runs in verified-facts.json), while balouchess-web enforces its 8-step check chain on every work package.

Practical Effect on Search, Play & Measurement

Prevents silent regressions during code cleanups and enforces spec-first discipline across every single commit.

Primary Literature Citation

BalouChess engine, SPEC 014 R4–R5 (balou bench deterministic node signature) and Spec-Driven Change Classes A–D.

Specified, not built yet Rules, Tactics & Endgame

Origin: 1889 · Wilhelm Steinitz & Louis Paulsen

Bishop Pair & Color Complex

German term: Läuferpaar & Farbkomplex

Also searched as: Läuferpaar · Ungleichfarbige Läufer · Schlechter Läufer · Farbkomplex

Strategic synergy of retaining both light-squared and dark-squared bishops so neither square color complex goes unguarded, contrasted with opposite-colored bishops that heighten attack in middlegames and draw tendencies in endings.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Pioneered over the board by Louis Paulsen in the 1860s–1870s and elevated to general positional law by Wilhelm Steinitz.

Algorithmic & Chess Mechanism

Two bishops control both color complexes simultaneously, whereas opposite-colored bishop endings often allow the defender to blockade dark or light squares permanently despite 1–2 pawns minus.

Role & Maturity in BalouChess

Piece-group correction history (engine, SPEC 003 section 3.3) and planned hidden-layer NNUE interactions in engine, SPEC 005 capture bishop-pair synergy and opposite-colored bishop drawishness.

Practical Effect on Search, Play & Measurement

Crucial factor for deciding minor-piece trades in both open positions and defensive holding tasks.

Primary Literature Citation

Wilhelm Steinitz, International Chess Magazine (1885–1891) on Louis Paulsen’s bishop-pair technique.

Implemented in engine code Board, Bitboards & TT ★ Core Study Article

Origin: 1967 · Georgy Adelson-Velsky, Vladimir Arlazarov, Anatoly Uskov & Mikhail Donskoy (Kaissa); Larry Atkin & David Slate (Chess 4.0)

Bitboards (64-Bit Set Representation)

German term: Bitboards (64-Bit-Mengendarstellung)

Also searched as: Bitboard · u64 occupancy · POPCNT · TZCNT · Bitmaske

Piece-centric board representation mapping the 64 squares a1..h8 onto the 64 bits of an unsigned 64-bit integer (u64), turning geometric queries into single-cycle CPU bitwise operations.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Invented independently in the late 1960s by the Moscow ITEP team behind Kaissa (winner of the first World Computer Chess Championship in Stockholm, 1974) and by Larry Atkin and David Slate in Chess 4.0 at Northwestern University (~1973), with 56-bit precursors in Arthur Samuel’s checkers program (1959). Once 64-bit x86-64 and ARM64 CPUs became ubiquitous in the mid-2000s, bitboards completely superseded mailbox representations.

Algorithmic & Chess Mechanism

Twelve piece-color bitboards (6 piece kinds × 2 colors) plus combined white, black, and all-occupancy u64 words represent the entire board in 15 machine registers. Bitwise shifts compute all 8 pawn pushes in 1 instruction; trailing_zeros() (TZCNT) extracts the lowest set square index in 1 cycle; b &= b - 1 clears that bit; and count_ones() (POPCNT) counts attackers or mobility instantaneously.

Role & Maturity in BalouChess

Implemented in crates/core (engine, SPEC 001 R1) with a1 = 0, b1 = 1, ..., h8 = 63 in Safe Rust (#![forbid(unsafe_code)]), kept strictly consistent with a companion 64-entry piece-on-square array verified by randomized property tests.

Practical Effect on Search, Play & Measurement

Forms the register-level foundation for O(1) attack generation, pin-mask algebra, SEE swap-offs, and fast static evaluation.

Primary Literature Citation

G. M. Adelson-Velsky, V. L. Arlazarov, A. R. Bitman, A. A. Zhivotovsky and A. V. Uskov, Programming a Computer to Play Chess, Russian Mathematical Surveys 25(2), 1970; Slate & Atkin, Chess 4.5 (1977).

Implemented in engine code Balou Lab & Methodology ★ Core Study Article

Origin: 2026 · BalouChess Match Methodology (engine, SPEC 015 R21 & R27, engine, WP 0914 / engine, WP 0915)

Book Roles (Buchrollen: Attacker & Defender)

German term: Buchrollen (Angreifer & Verteidiger)

Also searched as: Buchrollen · Buchrolle · Book Roles · Bevorzugte Seite · Benachteiligte Seite · Offene Rolle

BalouChess’s role-stratified match analysis classifying each side of an unbalanced opening pair as Attacker / Favored Side (exiting the book with an advantage above threshold), Defender / Disadvantaged Side (exiting below negative threshold), or Open Role (balanced exit) — frozen BEFORE the match by an independent reference build.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Aggregate match scores (51.5 %) hide crucial strategic trade-offs: a speculative search patch might convert +1.0 advantages slightly faster (Attacker) while collapsing far more often in -1.0 defense (Defender)! Even more subtly, engine, WP 0915 discovered that if you classify book roles using the match engines’ OWN evaluations during the match, an evaluation-scale change shifts which games count as "Attacker", creating survivorship bias (R27).

Algorithmic & Chess Mechanism

Before a target-format match begins, a single pinned non-candidate reference build evaluates every unique opening exit FEN once and freezes a role table (favored = White, favored = Black, or open if |eval| < threshold, typically 0.7 pawns). Every game played from that opening inherits its frozen Buchrolle: if White is favored, game AB tests A as Attacker and B as Defender, while swapped game BA tests B as Attacker and A as Defender on the exact same denominator!

Role & Maturity in BalouChess

Implemented in tools/match_runner/error_book.py (engine, SPEC 015 R21 and R27, engine, WP 0914, engine, WP 0915): mandatory for evaluating Haltesuche, Aufwandssuche, and Erwartungspunkte (engine, SPEC 016), where hypotheses specifically predict asymmetric gains in Verwertungsquote (Attacker win rate) versus Haltequote (Defender draw+win rate).

Practical Effect on Search, Play & Measurement

Reveals how and in which strategic role an engine wins or loses points, completely immune to evaluation-scale drift.

Primary Literature Citation

BalouChess engine, SPEC 015 R21 & R27 ("Buchrollen" and frozen reference-build role assignment, engine, WP 0914 / engine, WP 0915, 2026).

Specified, not built yet Move Ordering & History

Origin: 2016 · Modern alpha-beta search refinement (Stockfish, Ethereal, Laser)

Capture History

German term: Schlaghistorie (Capture History)

Also searched as: Schlaghistorie · Capthist · Taktische Historie

Damped history table (attacker_piece, to_square, captured_victim) refining MVV-LVA by learning which captures in the current game tree actually produce beta cutoffs.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Adopted across top alpha-beta engines around 2016–2018 after tests showed that equal-material captures (such as two distinct BxN or PxP captures) differ hugely in positional and king-safety impact.

Algorithmic & Chess Mechanism

Adds a History-Gravity score indexed by (moving_piece, to_sq, victim_kind) to the scaled victim value before testing SEE thresholds.

Role & Maturity in BalouChess

Specified in engine, SPEC 003 section 3.3 ("Schlaghistorie ergänzend zu MVV-LVA") as a dedicated SPRT candidate with its own off-switch.

Practical Effect on Search, Play & Measurement

Sharpens tactical move ordering in sharp middlegames with multiple candidate captures.

Primary Literature Citation

Andrew Grant, Ethereal Search & Move Ordering Technical Notes (2018–2021) on Capture History + MVV-LVA blending.

Implemented in engine code Rules, Tactics & Endgame

Origin: 1620 · Giulio Cesare Polerio & Greco (modern European rule)

Castling (Standard & Chess960)

German term: Rochade (Standardschach & Chess960)

Also searched as: Rochade · O-O · O-O-O · KQkq · König-schlägt-Turm

Simultaneous king-and-rook safety maneuver moving the king to g1/c1 (or g8/c8) and placing the rook adjacent on f1/d1 (f8/d8), legal only when rights remain, path squares are empty, and no transit square is attacked.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Evolved in late-16th-century Italy (Polerio, Greco) from an earlier two-move "king’s leap" into a single atomic turn; generalized in 1996 by Bobby Fischer so identical target squares apply from any Chess960 starting rank.

Algorithmic & Chess Mechanism

Requires checking four invariants: castling right bit intact, king not currently in check, every square traversed by the king unattacked, and all squares between king/rook origins and destinations vacant except for the castling pair itself.

Role & Maturity in BalouChess

Implemented in crates/core (engine, SPEC 001, R3 and R15) storing castling rights per rook file and parsing both KQkq and Shredder/X-FEN file letters; UCI Chess960 king-captures-rook move formatting is specified in engine, SPEC 002.

Practical Effect on Search, Play & Measurement

Connects rooks and shelters the king in one tempo; unified file-indexed rights allow one codebase to support both standard chess and Chess960.

Primary Literature Citation

Giulio Cesare Polerio, manuscripts on the unified king-and-rook leap (~1590–1620); FIDE Laws of Chess, Article 3.8.b.

Implemented in engine code Time & Protocols

Origin: 1970 · Classical computer-chess integer convention (100 cp = 1 pawn)

Centipawns (cp) & Pawn-Normalized Units

German term: Centipawns (cp) & Hundertstel-Bauerneinheiten

Also searched as: Centipawn · cp · score cp · Bauerneinheit

Standard integer score unit where 100 cp represents roughly the value of 1 pawn (+1.00 in GUI display), enabling fine positional discrimination without floating-point arithmetic.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Adopted universally in 1970s engines for integer speed; in modern self-play engines, internal units are often rescaled at UCI output so +100 cp corresponds to a 50 % win probability in middlegames (Normalized Pawn).

Algorithmic & Chess Mechanism

Positive values (+cp) favor the side to move in UCI (+cp for White in standard GUI display); 0 cp marks exact equality or repetition/50-move draw.

Role & Maturity in BalouChess

Strongly typed as Centipawns(i16) inside crates/values (schnittstellen.md section 2.2), cleanly separated from MateIn and TablebaseWdl.

Practical Effect on Search, Play & Measurement

Prevents unit-confusion bugs across evaluators, aspiration windows, and UCI formatting.

Primary Literature Citation

UCI Protocol score cp <x> convention (2000) & BalouChess crates/values::Centipawns.

Specified, not built yet Pruning & Extensions

Origin: 1975 · David J. Slate & Larry Atkin (Chess 4.5, 1977)

Check Extension

German term: Schacherweiterung (Check Extension)

Also searched as: Check Extension · Schacherweiterung · In-Check +1 Ply

Incrementing remaining search depth by +1 ply whenever the side to move is in check (or a move delivers a strong check), because check evasions have tiny branching factors (~2–4 legal moves) and high tactical lethality.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Present since Chess 4.5 (1977) as the oldest and most reliable search extension against Berliner’s spite-check horizon effect.

Algorithmic & Chess Mechanism

Because an in-check node forces an immediate evasion without reducing nominal depth (new_depth = depth - 1 + 1 = depth), forced checking sequences stay visible well past nominal horizon D, bounded safely by ply < MAX_PLY.

Role & Maturity in BalouChess

Specified in engine, SPEC 003 section 3.3 under the strict MAX_PLY recursion guard (engine, SPEC 003 R21, planned selective-search candidate, not enabled yet).

Practical Effect on Search, Play & Measurement

Spots deep mating nets and perpetual-check defenses early while costing very few extra nodes.

Primary Literature Citation

David J. Slate and Larry Atkin, Chess 4.5 (1977); Thomas Anantharaman, Feng-hsiung Hsu and Murray Campbell, Deep Thought search extensions (1990).

Implemented in engine code Rules, Tactics & Endgame

Origin: 600 · Chaturanga / Shatranj ("Shah Mat"); computer ply-normalization in Chess 4.5 (1977)

Checkmate & Root Mate Distance

German term: Schachmatt & Wurzel-Mattdistanz

Also searched as: Schachmatt · MateIn · score mate · Mattsuche · Mattkorrektur

Terminal victory when the side to move is in check with zero legal evasions; represented in engines by root-relative ply distance so shorter mates always outrank longer mates.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Derived from Persian "Shah Mat" (the king is helpless, ~600 CE). In alpha-beta engines with transposition tables, Slate and Atkin (1977) showed that storing raw root-distance mate scores without ply normalization causes looping bugs when the same position is probed at a different ply.

Algorithmic & Chess Mechanism

A mated node at distance p plies from the root returns MateIn(-p). When stored into the transposition table at ply p, the score is converted to node-relative distance; when probed at ply q, it is shifted by q - p back to root distance.

Role & Maturity in BalouChess

Implemented in crates/values, crates/tables, and crates/search (engine, SPEC 003 R3 and engine, SPEC 002 R8): MateIn(-p) converts cleanly to UCI score mate moves (ceil(plies / 2) with sign) and overrides the 50-move draw on halfmove 100.

Practical Effect on Search, Play & Measurement

Ensures the engine executes forced checkmates along the shortest path instead of shuffling pieces.

Primary Literature Citation

David J. Slate and Larry Atkin, Chess 4.5 — The Northwestern University Chess Program (1977), mate score ply-adjustment in transposition tables.

Implemented in engine code Time & Protocols ★ Core Study Article

Origin: 1996 · Robert James "Bobby" Fischer (Buenos Aires, June 19, 1996)

Chess960 (Fischer Random Chess)

German term: Chess960 (Fischer-Random-Schach)

Also searched as: Chess960 · Fischer Random · FRC · DFRC · UCI_Chess960

Chess variant randomizing the back-rank piece setup across 960 valid starting positions (bishops on opposite colors, king somewhere between the two rooks) to neutralize memorized opening theory from move 1 onward.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Prefigured by Philip Julius van Zuylen van Nijevelt (1792, "Displacement Chess") and refined by World Champion Bobby Fischer in Buenos Aires on June 19, 1996 by preserving opposite-colored bishops and symmetric kingside/queenside castling destinations (g1/f1 and c1/d1). Standard classical chess is simply Chess960 starting position #518!

Algorithmic & Chess Mechanism

With 4 × 4 = 16 opposite-color bishop pairs, 6 remaining squares for the queen, C(5, 2) = 10 choices for the two knights, and 1 forced R–K–R ordering on the last 3 squares, 16 × 6 × 10 × 1 = 960 setups arise. So kingside castling from Kf1 with Rg1 cannot be confused with a normal king step, UCI under UCI_Chess960 = true encodes castling unambiguously as king captures friendly rook (f1g1 or e1h1).

Role & Maturity in BalouChess

Generalized Shredder-FEN rook-file castling rights and castling legality (R3, R15) are already implemented and tested in crates/core (engine, SPEC 001), while the UCI_Chess960 protocol option is specified in engine, SPEC 002 R4 (and self-play mixes DFRC roots in engine, SPEC 013 section 2.1).

Practical Effect on Search, Play & Measurement

Supports tournament Chess960 natively AND prevents overfitting to standard opening squares during self-play neural training.

Primary Literature Citation

Robert J. Fischer, Fischerandom Chess Rules Announcement (Buenos Aires, June 19, 1996); FIDE Laws of Chess, Guidelines II (Chess960 Rules).

Specified, not built yet Evaluation & NNUE

Origin: 2018 · Yu Nasu (Clipped ReLU, 2018) & Jamie Whiting / Stockfish research (squared & pairwise integer activations, 2022–2024)

Clipped & Squared Clipped ReLU Activations

German term: Geklemmte & quadrierte ReLU-Aktivierungen

Also searched as: CReLU · Clipped ReLU · Squared Clipped ReLU · Paarweise Aktivierung

Hardware-friendly integer nonlinearities clamping accumulator outputs to [0, Q], optionally squaring (clamp(x, 0, Q)^2) or multiplying paired neurons (clamp(x_1) * clamp(x_2)) to express smooth quadratic interactions in pure integer math.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Yu Nasu (2018) used Clipped ReLU (clamp(x, 0, 127)); in 2022–2024, computer-chess research discovered that squaring clipped activations (or multiplying neuron pairs) dramatically boosts accuracy per hidden neuron at identical integer dot-product width.

Algorithmic & Chess Mechanism

Clamping i16 to [0, Q] and squaring (or multiplying pairs) followed by a right shift fits cleanly into integer lanes with zero lookup tables or transcendental functions.

Role & Maturity in BalouChess

Documented in engine, SPEC 005 section 8 as specified candidate activations for BalouChess’s future NnueEvaluator, subject to local throughput and SPRT measurement.

Practical Effect on Search, Play & Measurement

Delivers expressive nonlinear feature interactions inside single-cycle integer instructions.

Primary Literature Citation

Yu Nasu (2018) Clipped ReLU [0, 127]; Jamie Whiting (Bullet / Akimbo) & computer-chess research on squared clipped ReLU and pairwise multiplication (2022–2024).

Implemented in engine code Balou Lab & Methodology

Origin: 2026 · BalouChess Rust Type Architecture (crates/values & crates/tables)

Compile-Time Estimate vs. SearchValue Type Firewall

German term: Typschranke zwischen Schätzwert (Estimate) und Suchwert (SearchValue)

Also searched as: Estimate vs SearchValue · compile_fail Test · crates/values Typschranke

Zero-cost Rust type separation ensuring raw static or future planned neural evaluations (Estimate, NetWdl) can NEVER be stored as proven minimax bounds (SearchValue, Bound) in the transposition table — enforced at compile time by compile_fail doctests.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

In engines representing everything as a raw i16, accidentally writing a static eval or unverified hint into a TT bound slot causes catastrophic silent pruning bugs that take weeks to hunt down.

Algorithmic & Chess Mechanism

Evaluator and specified HintSource return Estimate / NetWdl ONLY; TranspositionTable::store accepts SearchValue ONLY through a capability token private to crates/search. Attempting to pass Estimate or NetWdl into store fails rustc typechecking immediately!

Role & Maturity in BalouChess

Implemented in crates/values and crates/tables (verified-facts.json, 0 runtime overhead via #[repr(transparent)] newtypes).

Practical Effect on Search, Play & Measurement

Turns a critical algorithmic invariant into a compiler guarantee rather than human code-review vigilance.

Primary Literature Citation

BalouChess architecture interfaces schnittstellen.md section 2.2 (Estimate vs. SearchValue) & engine specification engine, SPEC 004 R4 / engine, SPEC 010 R4.

General reference concept Balou Lab & Methodology ★ Core Study Article

Origin: 1950 · Shannon & Turing (1950–53), Kaissa (1974), Belle (1980), Deep Blue (1997), Fruit (2005), Glaurung/Stockfish (2008), AlphaZero (2017)

Computer Chess Milestones (Kaissa, Belle, Deep Blue, Fruit, Stockfish)

German term: Meilensteine des Computerschachs (Kaissa, Belle, Deep Blue, Fruit, Stockfish)

Also searched as: Stockfish · Deep Blue · Belle · Fruit · Kaissa · Mac Hack VI

Historical lineage of computer chess across 6 paradigm shifts — paper algorithms (1950), bitboards & hash tables (1967–1977), custom hardware (Belle, Deep Blue, 1980–1997), selective open-research search (Fruit, 2005), SPRT-driven collective engineering (Stockfish, 2008–2013), and neural self-play (AlphaZero 2017, NNUE 2018–2020).

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

After Shannon (1950) and Turing (1953), Greenblatt’s Mac Hack VI (1967) played in human tournaments, Moscow’s Kaissa won the first WCCC (1974), Slate & Atkin’s Chess 4.5 (1977) and Thompson’s Belle (1980) mastered iterative alpha-beta, and IBM’s Deep Blue (Hsu, Campbell, Hoane) defeated Garry Kasparov in May 1997. Fabien Letouzey’s Fruit 2.1 (2005) opened modern selective software search (LMR), inspiring Tord Romstad’s Glaurung and Stockfish (2008, Marco Costalba, Joona Kiiski, Gary Linscott), followed by AlphaZero (2017) and Nasu’s NNUE (2018/2020).

Algorithmic & Chess Mechanism

Each era contributed an enduring mathematical building block still visible in this glossary: Minimax/Quiescence (1950), Transposition Tables (1967), Zobrist (1970), Iterative Deepening + SEE + Killers (1977), PVS (1983), Singular Extensions + NMP (1988), UCI (2000), LMR (2005), Magic Bitboards (2006), Syzygy + Lazy SMP + SPRT (2013), AlphaZero (2017), and NNUE (2018).

Role & Maturity in BalouChess

BalouChess builds 100 % of its Rust source code and future self-play weights from scratch (engine, ADR 0002, zero GPL code or weights!): external GPL engines like Stockfish 19 and Lynx 1.11.0 are invoked ONLY as black-box external child processes for Perft legality diffing (verified-facts.json) and upper-rung calibration matches (engine, SPEC 014, engine, SPEC 015).

Practical Effect on Search, Play & Measurement

Places BalouChess’s clean-room engineering within 75 years of published computer-science heritage while upholding strict IP boundaries.

Primary Literature Citation

Monty Newborn, Beyond Deep Blue (2011); Fabien Letouzey, Fruit 2.1 (2005); Tord Romstad, Marco Costalba & Joona Kiiski, Stockfish (2008–2026).

Implemented in engine code SPRT & Match Statistics

Origin: 2026 · BalouChess Scientific Process (engine, SPEC 015 R9, R10, R11)

Confirmation SPRT & Anti-P-Hacking Path Lock

German term: Bestätigungslauf & Pfadsperre gegen Rosinenpicken

Also searched as: Pfadsperre · Bestätigungslauf · Anti-Cherry-Picking · Multiple Testing Guard

Strict scientific hygiene rules preventing multiple-hypothesis p-hacking: hypotheses and [elo_0, elo_1] bounds are frozen BEFORE game 1 (R10), tuned/multi-try winners require an independent confirmation SPRT on a disjoint opening book (R11), and 3 failed variants on the same idea lock that path (R9).

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

At alpha = 0.05, testing 20 random noise variants of the same dubious idea carries a 64 % chance (1 - 0.95^20) of at least 1 false winner unless multiple-testing discipline is enforced.

Algorithmic & Chess Mechanism

Every run registers its commit, parameters, opening hash, and bounds upfront (R1); failed runs remain permanently archived (R6); after 3 rejections on one approach, further work stops until a fresh Verlust-Labor analysis justifies a new hypothesis (R9).

Role & Maturity in BalouChess

Binding process law across all BalouChess experiments (engine, SPEC 015 R1, R6, R9, R10, R11 — already exercised honestly when engine, WP 0123 archived negative search experiments without cherry-picking).

Practical Effect on Search, Play & Measurement

Keeps the effective repository-wide false-positive rate tiny over hundreds of work packages.

Primary Literature Citation

BalouChess engine, SPEC 015 R9 (Stopping after 3 failed variants), R10 (No silent threshold tweaking), and R11 (Confirmation SPRT).

Research hypothesis Pruning & Extensions

Origin: 1988 · David A. McAllester

Conspiracy Number Search (CNS)

German term: Verschwörungszahlen (Conspiracy Number Search)

Also searched as: Conspiracy Numbers · Verschwörungszahl · McAllester 1988

Measure of minimax score fragility counting the minimum number of leaf evaluations that would have to "conspire" (change simultaneously in the same direction) to shift the root score to a target value V.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Published by MIT AI researcher David McAllester in 1988 as the direct conceptual precursor to Proof-Number Search (1994).

Algorithmic & Chess Mechanism

A root move resting on a single narrow tactical tightrope has conspiracy number 1 against dropping by 100 cp (1 hidden quiet refutation collapses the whole line!), whereas a solid move backed by multiple independent continuations has a larger conspiracy number.

Role & Maturity in BalouChess

Forms the theoretical rationale behind BalouChess’s Haltesuche (E12/E13) and Haltewert (E14) research candidates in engine, SPEC 016, probing whether near-equal candidate moves conceal fragile single-leaf cliffs.

Practical Effect on Search, Play & Measurement

Explains formally why two +0.80 moves with identical minimax value can differ starkly in practical holdability.

Primary Literature Citation

David A. McAllester, Conspiracy Numbers for Min-Max Search, Artificial Intelligence 35(3), 287–310, 1988.

Implemented in engine code Balou Lab & Methodology

Origin: 2026 · BalouChess Fehlerbuch Metrics (engine, SPEC 015 R21)

Conversion Rate & Hold Rate (Verwertungs- & Haltequote)

German term: Verwertungsquote & Haltequote nach Buchrolle

Also searched as: Verwertungsquote · Haltequote · Conversion Rate · Hold Rate

Complementary asymmetric skill metrics on unbalanced opening pairs: Conversion Rate (Verwertungsquote) measures the fraction of favored-role games won, while Hold Rate (Haltequote) measures the fraction of disadvantaged-role games saved (draw + win).

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

In paired UHO matches, winning a 1.5–0.5 pair (WD) occurs either by converting your favored game while your opponent fails (Verwertung), OR by holding your uphill defense while both convert (Halten).

Algorithmic & Chess Mechanism

Computed strictly on the frozen pre-match Buchrolle denominator (R27): conversion = wins_as_favored / N_favored and hold = (draws_as_underdog + wins_as_underdog) / N_underdog.

Role & Maturity in BalouChess

Reported automatically in error_book.py (engine, SPEC 015 R21) and used as key diagnostic indicators for experiments E11..E15 in engine, SPEC 016.

Practical Effect on Search, Play & Measurement

Immediately tells whether a search or evaluation change sharpened the sword (Verwertung) or strengthened the shield (Halten).

Primary Literature Citation

BalouChess engine, SPEC 015 R21 (Attacker conversion rate and Defender hold rate on paired unbalanced exits).

Implemented in engine code Time & Protocols

Origin: 2020 · W3C / WHATWG Cross-Origin Isolation Standard (post-Spectre, 2020)

COOP/COEP Cross-Origin Isolation & SharedArrayBuffer

German term: COOP/COEP-Isolierung & SharedArrayBuffer

Also searched as: COOP · COEP · crossOriginIsolated · SharedArrayBuffer · Spectre Mitigation

HTTP response security headers isolating the browser tab in its own OS process group so window.crossOriginIsolated === true unlocks SharedArrayBuffer for zero-copy Wasm stop signaling (with automatic postMessage fallback when absent).

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

After the 2018 Spectre CPU side-channel disclosures, browsers disabled SharedArrayBuffer by default and re-enabled it in 2020 strictly behind COOP: same-origin + COEP: require-corp. Because BalouChess loads zero third-party subresources, cross-origin isolation works cleanly with zero broken external embeds!

Algorithmic & Chess Mechanism

Checks self.crossOriginIsolated at runtime: when true, a 1-byte SharedArrayBuffer signals cooperative Wasm stop in microseconds; when false (for example local file preview or restricted webviews), the Worker supervisor falls back cleanly to standard postMessage + terminate() respawn.

Role & Maturity in BalouChess

Configured in astro.config.mjs, deploy/nginx/snippets/balouchess-security-headers.conf, and tested in Playwright E2E checks across balouchess-web.

Practical Effect on Search, Play & Measurement

Hardens browser process security while guaranteeing the future planned Web-Lab works both with and without SharedArrayBuffer.

Primary Literature Citation

WHATWG HTML Standard, crossOriginIsolated, Cross-Origin-Opener-Policy: same-origin & Cross-Origin-Embedder-Policy: require-corp (2020).

Implemented in engine code Time & Protocols ★ Core Study Article

Origin: 2000 · UCI stop model (2000) & WASI /balou/stop file-size polling (engine, SPEC 003 / engine, SPEC 017)

Cooperative Host Stop & Two-Stage WASI Cancel

German term: Kooperativer Suchabbruch & zweistufiger WASI-Stopp

Also searched as: Cancel Flag · /balou/stop · AtomicBool Stop · stop_poll_nodes · Worker Terminate Recovery

Two-tier search cancellation architecture combining periodic in-search stop polling every stop_poll_nodes (AtomicBool natively, /balou/stop WASI fd_filestat_get size check in planned isolated Web-Lab) with fresh-instance batch execution and Worker.terminate() recovery when SharedArrayBuffer is unavailable.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

In native UCI engines, an input thread sets an AtomicBool flag when stop arrives on stdin. In a single-threaded wasm32-wasip1 command module that forbids custom host imports outside wasi_snapshot_preview1, cooperative cancellation instead uses standard WASI fd_filestat_get on a preopened virtual file /balou/stop backed by a SharedArrayBuffer byte in Stage A isolated browsers, paired with Stage B Worker respawn fallback.

Algorithmic & Chess Mechanism

Inside crates/search, every stop_poll_nodes (64) nodes the search checks its stop predicate: natively an AtomicBool plus hard clock deadline; in the planned balou-weblab.wasm (host-stop feature), fd_filestat_get on preopened /balou/stop where size > 0 (set via Atomics.store on the main thread) triggers an immediate clean done move=<move>, while unisolated Stage B browsers run bounded batch instances and replace the Worker cleanly on user stop.

Role & Maturity in BalouChess

Native AtomicBool stop polling (20 ms stop ceiling after depth 1) is already implemented and tested in crates/search (engine, SPEC 003 R23 and engine, SPEC 002 R12), while the WASI /balou/stop + two-stage Worker supervisor is specified in engine, SPEC 017 R5 (not built yet).

Practical Effect on Search, Play & Measurement

Guarantees responsive stop behavior on both 512-thread servers and unisolated mobile Safari/Firefox browsers.

Primary Literature Citation

BalouChess engine, SPEC 003 R23, engine, SPEC 002 R12 & engine, SPEC 017 R5 (cooperative stop polling and WASI /balou/stop file-size check).

Specified, not built yet Move Ordering & History

Origin: 1992 · Jos W. H. M. Uiterwijk (Countermove, 1992); Stefan Geschwentner & Stockfish contributors (Continuation History, 2015–2020)

Countermove & Continuation History

German term: Gegenzug- & Folgehistorie (Continuation History)

Also searched as: Countermove · Gegenzug · Continuation History · Folgehistorie · Conthist 1/2/4 Ply

Context-sensitive quiet move ordering tables conditioned on previous moves in the search path: Countermove stores the single quiet refutation to the opponent’s immediately preceding (piece, to) move, while Continuation History generalizes damped history to pairs of moves separated by 1, 2, or 4 plies.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Jos Uiterwijk published the Countermove Heuristic in 1992 after noticing many refutations depend on what the opponent just played rather than ply depth; around 2015–2020, multi-ply Continuation History (1-ply opponent reply, 2-ply own plan continuation, 4-ply deeper plan) became a major quiet-ordering pillar.

Algorithmic & Chess Mechanism

Combines main (color, from, to) quiet history with cont_hist[prev_piece_to][curr_piece_to] at offsets -1, -2, and -4 plies, updated with the same History-Gravity damping formula.

Role & Maturity in BalouChess

Specified as individual SPRT candidates in engine, SPEC 003 section 3.3 (Gegenzug and 1-, 2-, and 4-ply Folgehistorie plus pawn-indexed history), not enabled yet until each passes its isolated SPRT gate.

Practical Effect on Search, Play & Measurement

Teaches the move picker multi-move plans (such as Nf1 followed 2 plies later by Ne3) and crisp tactical refutations to recurring opponent moves.

Primary Literature Citation

Jos W. H. M. Uiterwijk, The Countermove Heuristic, ICCA Journal 15(1), 8–15, 1992; multi-ply Continuation History in modern alpha-beta search (2015–2022).

Specified, not built yet Rules, Tactics & Endgame ★ Core Study Article

Origin: 2013 · Ronald de Man

Cursed Win & Blessed Loss

German term: Cursed Win & Blessed Loss (Verfluchter Gewinn & gesegneter Verlust)

Also searched as: CursedWin · BlessedLoss · 50-move tablebase draw

Endgame positions that are theoretically won (or lost) without a move limit, yet require more than 50 consecutive reversible moves without capture or pawn push against optimal defense and are therefore drawn under tournament rules.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Late-1980s and 1990s retrograde studies by Ken Thompson, Lewis Stiller, and Marc Bourzutschky uncovered 5-piece and 6-piece endgames (such as certain Queen versus two Knights or Rook-and-Bishop versus two Knights configurations) requiring well over 50 moves between captures. Syzygy formalized these states in 2013 directly in its 5-state WDL encoding as CursedWin (+1) and BlessedLoss (-1) between Draw (0) and true Win (+2) / Loss (-2).

Algorithmic & Chess Mechanism

When the 50-move rule is enforced (the FIDE tournament default), both CursedWin and BlessedLoss map to a draw score so the engine avoids liquidating from a true win into a cursed win, yet on the defending side prefers a blessed loss over an immediate loss if no clean draw exists. When 50-move enforcement is toggled off for theoretical composition analysis, CursedWin is treated as a win.

Role & Maturity in BalouChess

Already represented in BalouChess dataformat v1 (engine, SPEC 012, tag 3 storing u8 WDL codes 0..4 for Loss, BlessedLoss, Draw, CursedWin, Win alongside u16 root ply) and specified for search/tablebase ordering in engine, SPEC 008 (R3, R4, R10).

Practical Effect on Search, Play & Measurement

Prevents the classic tablebase blunder of trading into a "won" endgame that the opponent can legally claim as a draw after 50 moves.

Primary Literature Citation

Ronald de Man, Syzygy 5-valued WDL classification under FIDE Article 9.3 (50-move rule), 2013.

Implemented in engine code Move Ordering & History ★ Core Study Article

Origin: 1983 · Jonathan Schaeffer (History Heuristic, 1983/1989); modern History Gravity & Malus in Stockfish / Ethereal (2015–2018)

Damped Quiet History (History Gravity)

German term: Gedämpfte Historie (History Gravity)

Also searched as: gedämpfte Historie · History Gravity · History Heuristic · Malus-Dämpfung · Quiet History

Bounded butterfly/piece-to-square preference table ([-32,767, +32,767]) that rewards quiet beta-cutoff moves and penalizes previously searched quiet moves that failed to cut off, self-damping via entry += bonus - entry * |bonus| / D so scores never overflow or saturate.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Jonathan Schaeffer introduced the History Heuristic in 1983 (expanded in IEEE TPAMI 1989) using depth-weighted counters += d^2 to rank non-killer quiet moves globally across the tree. Naive additive counters eventually overflowed or froze old early-search bias until two modern breakthroughs transformed history tables around 2015–2018: (1) applying a negative malus to every quiet move tried BEFORE the cutoff move, and (2) History Gravity (exponentially decaying proportional damping).

Algorithmic & Chess Mechanism

Given signed bonus b (+bonus(depth) for the cutoff move, -bonus(depth) for each quiet move searched earlier at that node) and cap D = 32,767, the update entry += b - (entry * |b|) / D acts like a leaky integrator: near 0 the full bonus takes effect; as entry approaches +D, a positive bonus asymptotically tapers toward 0 while a negative malus pulls entry down nearly twice as fast (b - D * |b| / D = 2 * b)! Care in integer division order ((i32::from(entry) * b.abs()) / D) avoids rounding loss.

Role & Maturity in BalouChess

Implemented in crates/search (engine, SPEC 003 R8 and section 3.3), including the dedicated precision fix in engine, WP 0134 (K2) ensuring (entry * |bonus|) / limit never loses damping precision on moderate table values, and feeding both quiet move ordering AND history-adjusted Late Move Reductions (LMR).

Practical Effect on Search, Play & Measurement

Turns quiet move ordering and LMR depth adjustments into a fast online-learning loop tailored to the exact position on the board.

Primary Literature Citation

Jonathan Schaeffer, The History Heuristic, ICCA Journal 6(3), 16–19, 1983; proportional History Gravity and quiet-fail malus updates in modern alpha-beta search (2015–2026).

Implemented in engine code Balou Lab & Methodology

Origin: 2026 · BalouChess Empirical Superfinal Study N5 & engine, SPEC 015 R23

Decision Zone (Entscheidungszone +0.8 to +1.6 Pawns)

German term: Entscheidungszone (+0,8 bis +1,6 Bauerneinheiten)

Also searched as: Entscheidungszone · Decision Zone · +0.8 bis +1.6 Bauern

Critical evaluation band (+0.8 to +1.6 pawn units between book exit and move 25) where positions hang on the knife-edge between converting into a full point and slipping back into a theoretical draw.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Identified empirically in BalouChess’s Superfinal study (N5): below +0.7 pawns strong engines almost always hold a draw, and above +2.0 pawns almost every top engine converts cleanly — almost ALL decisive pair swings originated right inside [+0.8, +1.6]!

Algorithmic & Chess Mechanism

Tracks game count, win/draw/loss split, and rank-based Trennschärfe (ROC-AUC) specifically for positions entering [+0.8, +1.6] up to move 25 (anchored to the frozen reference build per R27 so scale shifts cannot move the bucket!).

Role & Maturity in BalouChess

Implemented as rule R23 inside tools/match_runner/error_book.py (engine, SPEC 015).

Practical Effect on Search, Play & Measurement

Zooms match diagnostics directly onto the exact centipawn corridor where games are actually won and lost.

Primary Literature Citation

BalouChess study balou-hebel-nachpruefung.md N5 and engine specification engine, SPEC 015 R23 ("Entscheidungszone").

Specified, not built yet Pruning & Extensions

Origin: 1995 · Robert M. Hyatt (Crafty)

Delta Pruning (Quiescence Futility)

German term: Delta-Abschnitt (Ruhesuche-Futility)

Also searched as: Delta Pruning · Delta-Abschnitt · Big Delta · QSearch Futility

Skipping a capture inside quiescence search when stand_pat + captured_piece_value + delta_margin < alpha: even winning the victim for free plus a positional bonus cannot lift the score back to alpha.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Popularized in Crafty by Robert Hyatt in the mid-1990s (carefully disabled or raised in late endgames where capturing the last pawn creates an unstoppable passed pawn!).

Algorithmic & Chess Mechanism

If a side stands a full queen (-900 cp) below alpha, searching PxP (+100 cp + 200 cp margin = -600 cp < alpha) is hopeless unless the capture promotes or gives check.

Role & Maturity in BalouChess

Specified in engine, SPEC 003 section 3.3 alongside quiescence SEE pruning, controlled via SearchParams.

Practical Effect on Search, Play & Measurement

Eliminates pointless pawn-grabbing subtrees deep inside already decided quiescence lines.

Primary Literature Citation

Robert M. Hyatt, Crafty Quiescence Search Documentation (1995–2005) on per-capture delta margins.

Specified, not built yet Balou Lab & Methodology

Origin: 2026 · BalouChess Cyber-Balou Showcase Design (engine, SPEC 017 section 4.2)

Deterministic A/B Split-Run (Parameter Playground, Specified)

German term: Deterministischer A/B-Split-Run (Parameter-Spielwiese, spezifiziert)

Also searched as: Split-Run · A/B-Split-Run · Parameter-Spielwiese · StartSplitRun · Arm A vs Arm B Browser

Planned interactive Web-Lab Worker orchestration executing Arm A (baseline parameters) and Arm B (visitor-modified parameters, e.g. capture_see_zero = 0 or altered aspiration settings) deterministically on an identical fixed depth or nodes budget and contrasting their telemetry side by side.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Designed for balouchess-web so visitors don’t merely read claims about SEE, Killers, or Aspiration Windows, but can switch 1 heuristic off in the browser and watch reached depth, qnodes, and best moves change live!

Algorithmic & Chess Mechanism

Before each arm, the Web Worker sends new-game, sets every parameter modified by either arm explicitly via set <name>=<value>, loads board ..., and runs think depth=<d> or think nodes=<n> (never noisy wall-clock milliseconds!), restoring the active playground parameters afterward.

Role & Maturity in BalouChess

Specified in engine, SPEC 017 section 4.2 and balouchess-web Worker interfaces (balou-weblab.wasm, planned, not built yet).

Practical Effect on Search, Play & Measurement

Makes experimental computer-science ablation tangible to chess players and students in seconds.

Primary Literature Citation

BalouChess engine, SPEC 017 section 4.2 (StartSplitRun Worker orchestration) and Cyber-Balou Parameter Playground design (2026).

Implemented in engine code Time & Protocols

Origin: 1970 · Systems software engineering & BalouChess engine, SPEC 003 R11 / engine, SPEC 007 R2

Deterministic Search Profile (Bit-Identical Replay)

German term: Deterministisches Suchprofil (Bitgenaue Wiederholbarkeit)

Also searched as: Deterministisches Profil · Deterministic Search · Fixed-Node Reproducibility

Architectural guarantee that with Threads = 1, NoHints, fresh state (ucinewgame), and a fixed depth or nodes limit, two runs on the same position visit the EXACT same node count, score, and PV on every CPU and OS.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Engines that hash memory pointers, use wall-clock timestamps inside go nodes, or sum f32 floats non-associatively cannot reproduce Heisenbugs or compare refactorings cleanly.

Algorithmic & Chess Mechanism

Combines compile-time Zobrist constants, integer-only evaluation (Estimate), zero clock polling under pure depth/node limits, and Threads = 1 execution without worker races.

Role & Maturity in BalouChess

Implemented and unit-tested in crates/search (engine, SPEC 003 R11), underpinning both the CI bench signature (engine, SPEC 014) and the planned Web-Lab A/B Split-Run (engine, SPEC 017 R7).

Practical Effect on Search, Play & Measurement

Turns every fixed-node comparison into a controlled scientific experiment with zero OS timing noise.

Primary Literature Citation

BalouChess engine, SPEC 003 R11, engine, SPEC 007 R2 & engine, SPEC 017 R7 (bit-identical single-thread search under fixed depth or node limits).

Implemented in engine code Rules, Tactics & Endgame

Origin: 1620 · Gioachino Greco (and Carlos Torre’s "Windmill" vs. Lasker, Moscow 1925)

Discovered Attack & Double Check

German term: Abzugsangriff & Doppelschach

Also searched as: Abzugsschach · Doppelschach · Mühle · Double Check

Unmasking a sliding piece’s attack by moving an intervening friendly piece; when both the moving piece and the unmasked slider check the enemy king simultaneously (double check), ONLY king moves are legal.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Celebrated in Greco’s 1620 miniatures and immortalized in Torre–Lasker (Moscow 1925). Nimzowitsch famously noted that against double check even the laziest king must flee because neither capture nor interposition can neutralize two attackers at once.

Algorithmic & Chess Mechanism

In bitboard move generation, popcount(checkers) >= 2 immediately skips generating all non-king moves, jumping straight to king evasion destinations not attacked on the kingless occupancy board.

Role & Maturity in BalouChess

Implemented in crates/core check-evasion generator and interactively visualizable in Chapter 2 of the Algorithm Atlas (BitboardPinInspector).

Practical Effect on Search, Play & Measurement

Accelerates in-check move generation while accurately finding tactical discovered checks via gives_check.

Primary Literature Citation

Gioachino Greco, Trattato del nobilissimo gioco de scacchi (1620); Aaron Nimzowitsch, Mein System (1925) on double check.

Implemented in engine code Balou Lab & Methodology ★ Core Study Article

Origin: 1982 · James A. Hanley & Barbara J. McNeil (ROC-AUC, 1982); BalouChess engine, SPEC 015 R17 / N5 (2026)

Discriminative Power (Trennschärfe / ROC-AUC)

German term: Trennschärfe (ROC-AUC der Stellungsbewertung)

Also searched as: Trennschärfe · Discriminative Power · ROC-AUC · Bewertungs-Trennkraft

Scale-invariant calibration metric measuring the probability (ROC-AUC in [0.5, 1.0]) that an engine’s evaluation at a fixed middlegame move (such as move 20 or 30) assigns a higher score to a game eventually won than to a game eventually drawn or lost.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

ROC-AUC was formalized by Hanley and McNeil (1982) as the rank-based Mann-Whitney U probability. When BalouChess analyzed 300 TCEC Superfinal games (balou-hebel-nachpruefung.md N5), raw centipawn comparisons between top engines were distorted by differing internal centipawn scales — whereas rank-based Trennschärfe (ROC-AUC) exposed a genuine calibration gap inside the +0.8 to +1.6 Decision Zone!

Algorithmic & Chess Mechanism

Because ROC-AUC depends ONLY on the relative ordering (rank) of scores rather than multiplying scores by 1.2× or 0.8×, rescaling centipawns cannot game the metric! An AUC of 0.50 means the evaluation has coin-flip predictive power for conversion; 1.00 means perfect separation between positions that convert and positions that stall into draws.

Role & Maturity in BalouChess

Implemented in tools/match_runner/error_book.py (engine, SPEC 015 R17 and R21), reported both globally at fixed move checkpoints and stratified by frozen Buchrolle and inside the Entscheidungszone (R23).

Practical Effect on Search, Play & Measurement

Measures directly whether a new evaluator or NNUE net actually understands which advantages win games rather than merely inflating centipawn numbers.

Primary Literature Citation

James A. Hanley and Barbara J. McNeil, The Meaning and Use of the Area under a Receiver Operating Characteristic (ROC) Curve, Radiology 143(1), 1982; BalouChess engine, SPEC 015 R17 & study N5 (2026).

General reference concept SPRT & Match Statistics

Origin: 1960 · Ernst Zermelo (1929), Ralph Bradley & Milton Terry (1952) & Arpad E. Elo (USCF 1960 / FIDE 1970)

Elo Rating System & Bradley-Terry Logistic Curve

German term: Elo-Zahl & logistische Erwartungskurve

Also searched as: Elo · Erwartungswert · Bradley-Terry · Arpad Elo 1960

Paired-comparison rating scale where a difference Delta predicts expected score E = 1 / (1 + 10^(-Delta / 400)): +100 corresponds to ~64 % expected score, +200 to ~76 %, and 0 to 50 %.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Paired-comparison likelihood was derived by Ernst Zermelo (1929) and Bradley & Terry (1952); physicist Arpad Elo designed the chess rating system adopted by the USCF in 1960 and FIDE in 1970 (originally with a normal curve, later standardized to the base-10 logistic curve).

Algorithmic & Chess Mechanism

Ratings are relative to a specific pool, opening book, hardware, and time control — never an absolute physical constant across unrelated lists!

Role & Maturity in BalouChess

Strict honesty gate (balouchess-web AGENTS.md & engine, SPEC 015): BalouChess publishes ZERO invented or unmeasured rating numbers — every capability claim cites an actual repository test protocol or states its qualitative maturity honestly.

Practical Effect on Search, Play & Measurement

Grounds match interpretation in clean probability math while guarding against misleading marketing numbers.

Primary Literature Citation

Arpad E. Elo, The Rating of Chessplayers, Past and Present, Arco Publishing (1978; adopted by USCF 1960, FIDE 1970).

Implemented in engine code Rules, Tactics & Endgame ★ Core Study Article

Origin: 1561 · Ruy López de Segura (FIDE standardization 1880)

En Passant & Horizontal Pin Geometry

German term: En passant & horizontale Fesselungsgeometrie

Also searched as: En passant · e.p. · Doppelschritt · Fünftreihen-Doppelräumung · epSquare

Special pawn capture immediately following an enemy pawn’s two-square advance; unique in chess engine geometry because two pawns vanish from the same rank simultaneously while one reappears on the target file.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Introduced in 15th–16th-century Europe alongside the initial two-square pawn advance so advancing pawns could not bypass enemy sentries unchallenged (documented by Ruy López in 1561 and universally standardized after the Italian rules unification around 1880). In bitboard engines, en passant is notorious for subtle legality and Zobrist-key bugs.

Algorithmic & Chess Mechanism

Unlike standard captures (where the destination square stays occupied), en passant vacates TWO squares on the 5th/4th rank at once and occupies a third square on the 6th/3rd rank. Standard single-piece pin masks catch file and diagonal pins (such as Ke1–Pe5–Re8), but miss horizontal rank exposure (such as Kh5–Pg5–Pf5–Ra5 where Pg5xf6 e.p. exposes Kh5 to Ra5 along the 5th rank) unless the post-capture occupancy mask is tested explicitly.

Role & Maturity in BalouChess

Implemented in crates/core (engine, SPEC 001, R4 and R8): BalouChess verifies exact king safety for file, diagonal, and horizontal two-pawn rank exposures (tested against both regression FENs) and hashes the en-passant square into the 64-bit PositionKey ONLY when at least one legal en-passant capture actually exists. You can inspect both pin geometries interactively in Chapter 2 of the Algorithm Atlas.

Practical Effect on Search, Play & Measurement

Guarantees 0 illegal move crashes and prevents false Zobrist cache misses between identical positions that differ only in an uncapturable FEN en-passant target.

Primary Literature Citation

Ruy López de Segura, Libro de la invención liberal y arte del juego del axedrez (1561); FIDE Laws of Chess, Article 3.7.d.

Research hypothesis Pruning & Extensions

Origin: 1996 · Jos W. H. M. Uiterwijk, Jaap van den Herik & Aske Plaat (1996)

Enhanced Transposition Cutoff (ETC)

German term: Erweiterter Tabellenschnitt (ETC)

Also searched as: ETC · Enhanced Transposition Cutoff · 1-Ply TT Lookahead

Looking 1 ply ahead across legal child keys in the transposition table before expanding any child subtree, cutting off immediately if ANY child already holds a sufficient Upper bound (-child_score >= beta).

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Proposed by Plaat, Schaeffer, Pijls, and de Bruin (1996) to catch transposed refutations sitting at move index 5 or 10 without expanding moves 1..4 first.

Algorithmic & Chess Mechanism

Trades extra RAM cache-line probes (1 per candidate move) against occasional immediate cutoffs; because RAM latency is costly on modern CPUs, ETC must prove net wall-clock gain.

Role & Maturity in BalouChess

Cataloged in engine, SPEC 003 section 3.3 ("Erweiterter Tabellenschnitt über Kindstellungen") as an optional research candidate strictly subject to wall-clock SPRT.

Practical Effect on Search, Play & Measurement

Classic case study in memory-bandwidth versus node-count trade-offs in modern search engineering.

Primary Literature Citation

Aske Plaat, Jonathan Schaeffer, Wim Pijls and Arie de Bruin, Exploiting Graph Properties of Game Trees, AAAI 1996 (introducing ETC).

Implemented in engine code Time & Protocols

Origin: 1994 · Steven J. Edwards & John Stanback (1994)

EPD (Extended Position Description)

German term: EPD (Erweiterte Stellungsbeschreibung)

Also searched as: EPD · standard.epd · bm · am · Taktik-Testsuite

Line-oriented test-suite format combining the first 4 fields of FEN (pieces, side to move, castling, en passant) with semicolon-delimited key-value operations such as bm (best move), am (avoid move), id, or D1..D6 perft node counts.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Standardized alongside PGN in 1994 for classic tactical suites (Bratko-Kopec, WAC, STS) and Perft verification suites.

Algorithmic & Chess Mechanism

Omits halfmove/fullmove counters when irrelevant to static/perft suites while attaching structured expected answers (such as bm Nf5;) directly on the same text line.

Role & Maturity in BalouChess

Used in tests/perft/standard.epd (engine, SPEC 014), the fixed bench position catalog, and regression positions extracted automatically by Verlust-Labor (engine, SPEC 015 R16).

Practical Effect on Search, Play & Measurement

Powers automated CI regression checks across move generation and tactical search.

Primary Literature Citation

Steven J. Edwards, Portable Game Notation Specification, Section 16.2 (Extended Position Description, EPD), 1994.

Implemented in engine code Balou Lab & Methodology ★ Core Study Article

Origin: 2026 · BalouChess Diagnostic Methodology (engine, SPEC 015 R17–R28 & engine, WP 0914)

Error Book (Fehlerbuch Post-Match Diagnostics)

German term: Fehlerbuch (Standardisierte Match-Diagnose)

Also searched as: Fehlerbuch · Error Book · error_book.py · Nachbericht zum Match

Automated post-match diagnostic report generated directly from match PGNs (score, pv, emt comments) that dissects color balance, pentanomial pairs, Buchrollen conversion/hold rates, Trennschärfe, evaluation collapses, unexpected quiet vs. tactical replies, sacrifices, and phase clock profiles.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Created in engine, WP 0914 and codified in engine, SPEC 015 R17–R28 under the guiding maxim "Observation before invention" (Beobachtung vor Erfindung): instead of guessing what search or root-policy heuristic to invent next, BalouChess first ran error_book.py over 300 top-level TCEC Superfinal games (Seasons 27–29) and internal ladder matches to measure where real games actually tip!

Algorithmic & Chess Mechanism

Reads ONLY the finished PGN archive (0 extra engine calls required!) and outputs reproducible JSON + Markdown tables with strict anti-distortion rules: all 5 pentanomial classes (R17), conversion & hold rates per frozen Buchrolle (R21, R27), ROC-AUC Trennschärfe (R17), largest per-game Einbruch (>= 0.5 pawns from > -3) split into quiet vs. capture opponent replies WITH explicit baseline denominators (R28), Entscheidungszone outcomes (R23), freiwillige Materialinvestition (R24), and phase clock usage over moves 1–15, 16–30, 31–50, 51+ (R17).

Role & Maturity in BalouChess

Implemented in tools/match_runner/error_book.py (engine, SPEC 015 R17–R28) and executed automatically after every target-format match (>= 200 games) and ladder milestone (R18). Note its strict boundary (R26): SPRT alone decides merge/reject (Ja/Nein), whereas Fehlerbuch explains why and inspires the next pre-registered hypothesis!

Practical Effect on Search, Play & Measurement

Turned post-match PGN archives from dead log files into an automated scientific microscope for chess engine engineering.

Primary Literature Citation

BalouChess engine, SPEC 015 R17–R28 ("Fehlerbuch: Beobachtung vor Erfindung", tools/match_runner/error_book.py, engine, WP 0914, 2026).

Implemented in engine code Evaluation & NNUE

Origin: 2005 · Fabien Letouzey (Fruit) & BalouChess crates/values type hierarchy

EVAL_LIMIT Separation & Bounded Score Range

German term: EVAL_LIMIT-Trennung & abgegrenzter Wertebereich

Also searched as: EVAL_LIMIT · Wertebereichstrennung · Centipawns vs MateIn

Hard numeric ceiling (±EVAL_LIMIT) clamping all heuristic centipawn evaluations strictly below exact tablebase wins/losses (SearchValue::Tb) and forced checkmates (SearchValue::MateIn), preventing large material scores from ever impersonating a proven mate.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Bugs where extreme promotion positions (9 queens = +8,100 cp plus bonuses) overflowed into mate-score ranges plagued older integer-only engines that mixed raw i16 scores without range invariants.

Algorithmic & Chess Mechanism

Enforces the total order -MateIn(0) < ... < -TbWin < -EVAL_LIMIT <= Centipawns(c) <= +EVAL_LIMIT < +TbWin < ... < +MateIn(0), backed by Rust newtypes (Estimate vs SearchValue).

Role & Maturity in BalouChess

Implemented in crates/values and crates/nnue (engine, SPEC 005 R1) and tested across extreme multi-queen FENs.

Practical Effect on Search, Play & Measurement

Eliminates score-collision bugs between heuristic estimates, Syzygy proofs, and mate distances by construction.

Primary Literature Citation

BalouChess engine, SPEC 005 R1 and architecture interfaces schnittstellen.md section 2.2 (crates/values).

Implemented in engine code Balou Lab & Methodology

Origin: 2026 · BalouChess Empirical Superfinal Study N3 & engine, SPEC 015 R17, R19, R28

Evaluation Collapse & Unexpected Quiet Reply

German term: Bewertungseinbruch & unerwarteter ruhiger Gegenzug

Also searched as: Einbruch · Unerwarteter Gegenzug · Quiet Refutation Blind Spot

Diagnostic pairing tracking a game’s largest single-move evaluation drop (Einbruch, >= 0.5 pawns from > -3.0) and whether the opponent’s preceding move differed from the losing engine’s predicted pv[1] — broken down into quiet moves versus captures.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Conventional folklore blamed engine losses primarily on deep tactical capture combinations; when BalouChess inspected paired Superfinal games (N3), the large majority of unexpected opponent replies right before decisive collapses turned out to be quiet moves! To prevent base-rate fallacies (since most moves in chess are quiet anyway), engine, SPEC 015 R28 added mandatory baseline denominators.

Algorithmic & Chess Mechanism

Compares opponent_played_move != prev_own_pv[1] immediately preceding the game’s steepest drop score[t] - score[t - 1] <= -0.5 pawns, reporting unexpected_quiet / total_unexpected right beside all_unexpected_quiet / all_unexpected and all_quiet / all_plies (R28).

Role & Maturity in BalouChess

Implemented in tools/match_runner/error_book.py (engine, SPEC 015 R17, R19, R28) and directly shaped the quiet-reply probes of Haltesuche (engine, SPEC 016).

Practical Effect on Search, Play & Measurement

Protects engineers from both tactical tunnel vision and statistical base-rate illusions.

Primary Literature Citation

BalouChess study balou-hebel-nachpruefung.md N3 & engine specification engine, SPEC 015 R17, R19, R28 (quiet vs. capture unexpected replies with baseline denominators).

Implemented in engine code Search & Windows

Origin: 1983 · John P. Fishburn

Fail-High, Fail-Low & Fail-Soft

German term: Fail-High, Fail-Low & Fail-Soft

Also searched as: Fail-High · Fail-Low · Fail-Soft · Fail-Hard · Fensterausbruch

Search outcomes outside [alpha, beta]: Fail-High (score >= beta) proves a move is "too good" for the opponent to allow; Fail-Low (score <= alpha) proves every move fell short; Fail-Soft returns the best observed bound (best_score) instead of clamping to alpha or beta.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

John Fishburn introduced Fail-Soft Alpha-Beta in 1983, proving that returning best_score beyond [alpha, beta] stores tighter bounds in the transposition table at zero extra node cost.

Algorithmic & Chess Mechanism

Initializing best_score = -INF rather than alpha lets an All-node record Upper(best_score) with best_score < alpha and a Cut-node record Lower(score) with score > beta, yielding more future TT cutoffs.

Role & Maturity in BalouChess

Used in crates/search (engine, SPEC 003) together with root fail-low/fail-high signals wired into the time manager (engine, SPEC 006 R4) and visible in planned X-Ray telemetry.

Practical Effect on Search, Play & Measurement

Strengthens transposition-table cutoffs and prevents blundering under time pressure when the root move suddenly collapses.

Primary Literature Citation

John P. Fishburn, Another Optimization of Alpha-Beta Search, ACM SIGART Bulletin 84, 37–38, 1983 (introducing Fail-Soft Alpha-Beta).

Implemented in engine code SPRT & Match Statistics

Origin: 2009 · Ilari Pihlajisto & Arto Jonsson (cutechess-cli, 2009); Disservin et al. (fastchess, MIT, 2023)

fastchess & cutechess-cli (UCI Match Runners)

German term: fastchess & cutechess-cli (Turnier-Match-Runner)

Also searched as: fastchess · cutechess-cli · Engine-vs-Engine Runner

Headless tournament arbiters spawning two UCI engine processes, enforcing chess rules, clocks, adjudication, paired UHO/EPD books, PGN logging, and live pentanomial SPRT stopping with sub-millisecond timer overhead.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

cutechess-cli (2009, Qt/GPL) standardized automated UCI testing for over a decade; fastchess (2023, dependency-free C++20, MIT) eliminated Qt overhead for high-core-count ultra-bullet SPRT runs.

Algorithmic & Chess Mechanism

Manages worker-core affinity, ucinewgame resets between pairs, exact millisecond clock accounting, illegal-move/stall detection, and rich PGN comment output for Fehlerbuch analysis.

Role & Maturity in BalouChess

fastchess (1.8.3-alpha, MIT License) is BalouChess’s active local match runner (engine, SPEC 015 and verified-facts.json).

Practical Effect on Search, Play & Measurement

Delivers sub-millisecond timing accuracy across thousands of rapid test games without ever entering shipped binaries.

Primary Literature Citation

Ilari Pihlajisto and Arto Jonsson, Cute Chess CLI (2009); Disservin et al., fastchess — High-Concurrency C++20 Match Runner (MIT License, 2023–2026).

Implemented in engine code Time & Protocols ★ Core Study Article

Origin: 1883 · David Forsyth (1883) & Steven J. Edwards (1994); Stefan Meyer-Kahlen (Shredder-FEN)

FEN (Forsyth–Edwards Notation) & Shredder-FEN

German term: FEN (Forsyth-Edwards-Notation) & Shredder-FEN

Also searched as: FEN · Forsyth-Edwards-Notation · Shredder-FEN · X-FEN · startpos

Compact single-line ASCII snapshot encoding all 6 state fields needed to resume any legal standard or Chess960 game: piece placement (8 ranks 8..1), side to move (w/b), castling rights, en-passant target square, halfmove clock, and fullmove number.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Scottish newspaper chess editor David Forsyth invented rank-by-rank digit compression (rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR) in 1883 to typeset adjourned club positions in 1 line. In 1994, Steven Edwards added the 5 metadata fields (w KQkq - 0 1) for computer chess, and Stefan Meyer-Kahlen (Shredder-FEN) generalized castling flags to rook file letters (HAha) for Chess960.

Algorithmic & Chess Mechanism

Strict validation rejects malformed FENs rather than guessing: each of the 8 /-separated ranks must sum to 8 files, each side must have 1 king, pawns on rank 1 or 8 are rejected, the passive side’s king must NOT already stand in check, and castling flags must correspond to actual king and rook squares.

Role & Maturity in BalouChess

Implemented twice with full symmetry — in Rust inside crates/core (engine, SPEC 001 R12–R15, supporting standard FEN and Chess960 file castling letters with lossless round-trip to_fen(from_fen(s))) AND in TypeScript inside src/lib/chess/ (balouchess-web) for instant client-side board validation without server calls.

Practical Effect on Search, Play & Measurement

Universal lingua franca linking test suites, Perft bug reports, Atlas diagrams, and PGN scanner jumps.

Primary Literature Citation

David Forsyth, Glasgow Weekly Herald (1883); Steven J. Edwards, Standard: Portable Game Notation Specification and Implementation Guide, Section 16.1 (FEN), 1994.

Implemented in engine code Rules, Tactics & Endgame

Origin: 1561 · Ruy López de Segura (modern FIDE Article 9.3)

Fifty-Move Rule & Halfmove Clock

German term: Fünfzig-Züge-Regel & Halbzugzähler

Also searched as: 50-Züge-Regel · Halbzugzähler · halfmove clock · 75-Züge-Regel

A game is drawn once 50 consecutive full moves (100 plies on the FEN halfmove clock) pass without any pawn advance or capture, unless the 100th ply itself delivers checkmate.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Counted moves in bare endings already appeared in 9th-century Shatranj (70 moves) and Ruy López (1561, 50 moves); FIDE briefly extended exceptions in the 1980s before restoring the universal 50-move threshold in 1992 (plus mandatory arbiter draw at 75 moves in 2014).

Algorithmic & Chess Mechanism

Every quiet non-pawn move increments the halfmove clock by 1; any capture or pawn move resets it to 0. At halfmove >= 100, the engine checks checkmate first (since mate on the 100th ply wins!) and otherwise returns Centipawns(0).

Role & Maturity in BalouChess

Implemented in crates/core (engine, SPEC 001 R10) and crates/search (engine, SPEC 003 R4), with saturating u32 counters and dedicated boundary tests at halfmove 99 and 100 with and without checkmate.

Practical Effect on Search, Play & Measurement

Forces engines to make concrete progress in won positions and anchors endgame fortress defense.

Primary Literature Citation

Ruy López de Segura (1561); FIDE Laws of Chess, Articles 9.3 and 9.6.2.

Specified, not built yet Evaluation & NNUE

Origin: 2021 · Finn Eggers & Kim Kåhre (Koivisto)

Finny Tables (King-Bucket Refresh Cache)

German term: Finny-Tabellen (Königs-Bucket-Auffrischungscache)

Also searched as: Finny Tables · Finny-Tabellen · Finn Eggers 2021 · Accumulator Refresh Cache

Per-thread cache storing the last computed accumulator vector AND its 12 piece bitboards for each (perspective, king_bucket, mirror) slot so a king-bucket transition updates only the XOR difference of changed squares instead of all <= 32 pieces.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Introduced in 2021 by Finn Eggers in the engine Koivisto once dense 16–32 king-bucket networks made full refreshes noticeable in king-active endgames.

Algorithmic & Chess Mechanism

Computes added = current_bb & !cached_bb and removed = cached_bb & !current_bb via bitwise XOR/AND: if two sibling lines visit the same king bucket 2 plies apart, often only 1–3 bits differ instead of 25!

Role & Maturity in BalouChess

Specified in engine, SPEC 005 section 8 ("kleiner Cache pro Königs-Gruppe für seltenere volle Neuberechnungen") for the future NnueEvaluator.

Practical Effect on Search, Play & Measurement

Makes fine-grained king bucketing virtually free even during rapid king marches in endgames.

Primary Literature Citation

Finn Eggers and Kim Kåhre, Koivisto NNUE Accumulator Cache ("Finny Tables", 2021).

General reference concept SPRT & Match Statistics

Origin: 2013 · Gary Linscott (Fishtest, 2013) & Andrew Grant (OpenBench, 2019)

Fishtest & OpenBench (Distributed SPRT Frameworks)

German term: Fishtest & OpenBench (Verteilte Engine-Testsysteme)

Also searched as: Fishtest · OpenBench · Gary Linscott 2013 · Andrew Grant 2019

Distributed worker-queue platforms coordinating volunteer/cluster machines to play tens of thousands of paired ultra-fast SPRT games per patch, establishing modern evidence-based chess engine development from 2013 onward.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Gary Linscott launched Fishtest in spring 2013 for Stockfish, turning algorithm design into rigorous experimental science; Andrew Grant created OpenBench (2019) used by dozens of independent engines.

Algorithmic & Chess Mechanism

Slices paired openings across isolated CPU workers, aggregates all 5 pentanomial [LL, LD, DD+WL, WD, WW] counts centrally, and halts workers once LLR crosses ±2.94.

Role & Maturity in BalouChess

BalouChess runs its own private, offline, zero-cloud match harness (tools/match_runner + fastchess, engine, SPEC 015) so proprietary builds and weights never leave controlled development machines.

Practical Effect on Search, Play & Measurement

Historical benchmark for why disciplined SPRT testing beats intuition every time.

Primary Literature Citation

Gary Linscott, Fishtest Distributed SPRT Testing Framework (2013); Andrew Grant, OpenBench Multi-Engine Testing Framework (2019).

Specified, not built yet Evaluation & NNUE ★ Core Study Article

Origin: 2018 · Yu Nasu (2018) & Benoit Jacob / Gemmlowp integer inference (2017)

Fixed-Point Integer Quantization (i16 / i8)

German term: Festkomma-Ganzzahlquantisierung (i16 / i8)

Also searched as: Quantisierung · Int8 · Int16 · Festkomma-Arithmetik · Cross-Platform Bit-Exact Eval

Converting floating-point f32 weights trained on GPU into scaled i16 and i8 fixed-point integers so CPU inference runs fast, fits inside CPU cache, and produces 100 % bit-identical centipawn scores across every CPU architecture.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Pioneered for low-latency mobile vision (gemmlowp, Jacob et al. 2017/2018) and adapted to game-tree search by Yu Nasu (2018). Unlike IEEE-754 floating-point addition (which is non-associative, so (a + b) + c != a + (b + c) across different planned SIMD widths!), integer arithmetic is strictly associative and deterministic.

Algorithmic & Chess Mechanism

Feature weights scale by Q_A (for example 255 or 181) into i16 so summing <= 32 active features never overflows [-32,768, +32,767]. Clamped activations map values onto [0, Q_A], hidden weights scale by Q_B (64) into i8, and integer multiply-accumulate into i32 accumulators divides down once at the final output head.

Role & Maturity in BalouChess

Mandated by engine, SPEC 005 R5 and R6 (specified, not built yet): the scalar Safe-Rust reference path and every future planned SIMD kernel (AVX2, NEON, wasm32 simd128) MUST return the exact same integer Estimate on every position, verified by randomized cross-path differential tests and saturation/overflow fuzzing.

Practical Effect on Search, Play & Measurement

Shrinks network weights by 2×–4× inside CPU cache AND preserves BalouChess’s golden bench node-signature invariant across x86-64, ARM64, and WebAssembly.

Primary Literature Citation

Benoit Jacob et al., Quantization and Training of Deep Models for Efficient Integer-Arithmetic-Only Inference, CVPR 2018 research paper; Yu Nasu (2018).

Implemented in engine code Rules, Tactics & Endgame

Origin: 1497 · Luis Ramírez de Lucena

Fork & Double Attack

German term: Gabel & Doppelangriff

Also searched as: Gabel · Springergabel · Familiengabel · Doppelangriff · Fork

Tactical motif in which a single move simultaneously attacks two or more enemy targets so the defender cannot save all of them in 1 reply.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Documented in the earliest printed European chess treatise by Lucena (1497) and foundational to tactical combination training.

Algorithmic & Chess Mechanism

In bitboard engines, knight and pawn forks correspond directly to popcount(attack_mask & enemy_valuables) >= 2 and surface naturally in the 1st ply of quiescence search (especially checking forks via q_checks).

Role & Maturity in BalouChess

Detected via lookup attack tables in crates/core and tactical extension in crates/search (q_checks = 1 in 1st-ply quiescence search, engine, SPEC 003 R22).

Practical Effect on Search, Play & Measurement

Primary source of tactical material wins at the horizon when quiet checking moves are included in quiescence ply 1.

Primary Literature Citation

Luis Ramírez de Lucena, Repetición de amores y arte de ajedrez (Salamanca, 1497).

Research hypothesis Rules, Tactics & Endgame

Origin: 1851 · Josef Kling & Bernhard Horwitz; computer analysis Guid & Bratko (2012)

Fortress

German term: Festung (Endspiel-Bollwerk)

Also searched as: Festung · Festungserkennung · Blockade-Festung

An impenetrable defensive setup in which the materially inferior side holds a draw passively by shuffling behind locked pawn chains or blockade squares despite a large nominal evaluation deficit.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Studied systematically by Kling and Horwitz (1851) and analyzed for chess engines by Guid and Bratko (2012). Fortresses remain one of the classic blind spots of fixed-horizon heuristic search until the halfmove clock nears 100.

Algorithmic & Chess Mechanism

Static evaluators see +300 cp or +500 cp of extra material, yet search scores stagnate across 10+ consecutive depths without finding pawn breaks or infiltrations.

Role & Maturity in BalouChess

Handcrafted fortress rules were deliberately rejected in BalouChess research reviews due to low match frequency; instead, halfmove-clock score damping and score-stagnation detection are cataloged as optional research experiments (engine, SPEC 003 section 3.3).

Practical Effect on Search, Play & Measurement

Recognizing potential fortresses prevents trading a winning dynamic position into a sterile material advantage that cannot break through.

Primary Literature Citation

Josef Kling and Bernhard Horwitz, Chess Studies (1851); Matej Guid and Ivan Bratko, Detecting Fortresses in Chess, Elektrotehniski vestnik 79(1–2), 2012.

Specified, not built yet Pruning & Extensions ★ Core Study Article

Origin: 1986 · Jonathan Schaeffer (1986) & Ernst A. Heinz (Extended Futility, 1998)

Futility Pruning & Extended Futility

German term: Aussichtslosigkeits-Abschnitt (Futility Pruning)

Also searched as: Futility Pruning · Extended Futility · Frontier Nodes · Pre-Frontier Nodes

Skipping quiet non-checking moves near the leaves (depth <= 3..7) when static_eval + margin(depth) still lies below alpha and at least 1 legal move has already been searched.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Used at depth 1 ("frontier nodes") by Jonathan Schaeffer in Phoenix (1986) and generalized to depth 2 ("pre-frontier nodes") as Extended Futility Pruning by Ernst Heinz in DarkThought (ICCA Journal, 1998). Modern engines scale linear depth margins up to shallow depths 3..7.

Algorithmic & Chess Mechanism

Near the horizon, a quiet move that neither captures material nor gives check rarely swings the static score by more than margin * depth centipawns. If corrected_eval + margin * lmr_depth <= alpha (and alpha is not a mate score, the king is not in check, and at least 1 move was searched to avoid false stalemate/mate claims), remaining quiet moves can be skipped cleanly.

Role & Maturity in BalouChess

Specified in engine, SPEC 003 section 3.3 ("Aussichtslosigkeits-Abschnitt nahe den Blättern") with configurable depth limit and centipawn margin per ply, gated behind SPRT.

Practical Effect on Search, Play & Measurement

Trims vast numbers of hopeless quiet leaf branches in materially inferior lines while concentrating search depth on tactical responses.

Primary Literature Citation

Ernst A. Heinz, Extended Futility Pruning, ICCA Journal 21(2), 75–83, 1998; building on frontier futility in Jonathan Schaeffer’s Phoenix (1986).

Implemented in engine code Board, Bitboards & TT

Origin: 1985 · Murray Campbell (1985); Akihiro Kishimoto & Martin Müller (2004)

Graph History Interaction (GHI)

German term: Graph History Interaction (Pfadabhängigkeits-Problem)

Also searched as: GHI · Pfadabhängigkeit · Transposition vs. Wiederholung

Subtle interaction in game graphs with cycles where two paths reach the identical board PositionKey with different repetition histories or halfmove clocks, making a cached score path-dependent.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

First analyzed formally by Deep Blue co-architect Murray Campbell (1985) and solved generally (at high memory cost) for checkmate/shogi solvers by Kishimoto and Müller (2004).

Algorithmic & Chess Mechanism

Because PositionKey intentionally hashes board state rather than the full move path (otherwise transpositions would never hit!), an entry stored near a repetition or halfmove 99 might carry a draw-tainted bound when probed from a fresh history.

Role & Maturity in BalouChess

Explicitly documented and governed in engine, SPEC 004 R12 and engine, SPEC 003 R4: direct repetition/50-move draws in the current node ALWAYS override any cached table entry (tested with two histories and halfmove 0 vs. 99); halfmove-threshold TT guards are cataloged as SPRT candidates.

Practical Effect on Search, Play & Measurement

Prevents the catastrophic half of GHI (missing an immediate draw in the current path) while keeping transposition hit rates maximal.

Primary Literature Citation

Murray Campbell, The Graph-History Interaction Problem, ACM Annual Conference (1985); Akihiro Kishimoto and Martin Müller, A General Solution to the Graph History Interaction Problem, AAAI (2004).

Research hypothesis Advisor, MCTS & Learning

Origin: 2013 · Zohar Karnin, Tomer Koren & Oren Somekh (Sequential Halving, 2013); Ivo Danihelka et al. (Gumbel AlphaZero, 2022)

Gumbel AlphaZero & Sequential Halving

German term: Gumbel-Auswahl & Sequential Halving

Also searched as: Gumbel MCTS · Sequential Halving · Danihelka 2022 · Karnin Koren Somekh 2013

Fixed-budget root allocation algorithm that divides a small verification budget across rounds, halving the surviving candidate set after each round (m -> m/2 -> ... -> 1) with provable policy-improvement guarantees even at tiny simulation counts (<= 16).

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Sequential Halving was introduced for pure-exploration bandits by Karnin, Koren, and Somekh (ICML 2013) and combined with Gumbel-Top-k sampling by Ivo Danihelka et al. at DeepMind (ICLR 2022) to fix PUCT’s failure mode under very small simulation budgets.

Algorithmic & Chess Mechanism

Allocates equal probes to m shortlisted root candidates, drops the bottom half, doubles probes on the survivors, and repeats for ceil(log2(m)) rounds.

Role & Maturity in BalouChess

Serves as theoretical inspiration for bounded Probe allocation among close root candidates inside BalouChess’s specified Wurzelregel (engine, SPEC 016 R3, capped strictly at <= 15 % of the move’s soft time budget).

Practical Effect on Search, Play & Measurement

Shows how tiny extra verification budgets at the root can reliably separate close candidate moves.

Primary Literature Citation

Zohar Karnin, Tomer Koren and Oren Somekh, Almost Optimal Exploration in Multi-Armed Bandits, ICML 2013; Ivo Danihelka et al., Policy Improvement by Planning with Gumbel, ICLR 2022.

Implemented in engine code Balou Lab & Methodology

Origin: 1998 · Ernst A. Heinz (diminishing returns self-play scaling, 1998–2001) & BalouChess engine, SPEC 015 section 6.2

Headroom Probe & Node-Handicap Scaling Curve

German term: Luft-nach-oben-Probe & Knoten-Vorgabe (Skalierungskurve)

Also searched as: Luft-nach-oben-Probe · Headroom Probe · 2x Knoten-Referenz · Diminishing Returns

Self-calibration match pitting BalouChess at 1× budget (nodes or time) against itself at 2× and 4× budget, measuring both current search scaling slope AND whether an architectural bottleneck caps further gains.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Studied systematically by Ernst Heinz (1998–2001). If doubling nodes (2× vs 1×) barely gains points, evaluation blindness is bottlenecking the engine; if 2× crushes 1× heavily, search selectivity and throughput still hold huge untapped headroom!

Algorithmic & Chess Mechanism

Requires 0 external engines (completely clean-room!) and immediately diagnoses where 2× outplays 1× inside the resulting Fehlerbuch (Verwertungsquote vs Haltequote).

Role & Maturity in BalouChess

Defined in engine, SPEC 015 section 6.2 and mandated as the preliminary check in engine, SPEC 016 section 5 before building any root-policy experiment.

Practical Effect on Search, Play & Measurement

Tells engineers quantitatively whether the next big gain lies in faster/deeper search or in richer evaluation.

Primary Literature Citation

Ernst A. Heinz, Self-Play Experiments on Diminishing Returns in Chess Search (2000/2001); BalouChess engine, SPEC 015 section 6.2 & engine, SPEC 016 section 5.

Research hypothesis Balou Lab & Methodology ★ Core Study Article

Origin: 2026 · BalouChess Research Hypotheses E11–E15 (engine, SPEC 016 section 4)

Hold Search, Hold Value & Effort Search (E11–E15)

German term: Haltesuche, Haltewert & Aufwandssuche (E11–E15)

Also searched as: Haltesuche · Haltewert · Aufwandssuche · Erwartungspunkte · E11 E12 E13 E14 E15

Four distinct BalouChess research hypotheses hosted behind RootPolicy (engine, SPEC 016): Expected Points (E11), Hold Search (E12/E13) testing hidden opponent refutations, Hold Value (E14) predicting score stability directly, and Effort Search (E15) maximizing the opponent’s refutation burden.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Directly motivated by BalouChess’s empirical Fehlerbuch study of 300 TCEC Superfinal games (balou-hebel-nachpruefung.md N3–N5): 19 of 23 unexpected opponent moves right before decisive collapses were quiet moves, and conversion inside the +0.8..+1.6 Decision Zone separated top engines far more than tactical shootouts.

Algorithmic & Chess Mechanism

Among root moves verified within delta (<= 35 cp) of lines[0]: E11 (Erwartungspunkte) ranks by calibrated P(Win) + 0.5 * P(Draw) given contempt; E12/E13 (Haltesuche) probes candidate opponent replies — crucially including high-history/advisor quiet replies (E12 unreduced reply scan, E13 Advisor-seeded replies) — to penalize moves with a hidden cliff; E14 (Haltewert) predicts whether a +1.0 eval holds 8 plies later from BALOUDAT self-play trajectories; and E15 (Aufwandssuche) prefers the candidate where the opponent possesses only 1 narrow defense rather than 5 easy natural draws.

Role & Maturity in BalouChess

Pure research hypotheses (engine, SPEC 016 section 4 & 5, not built yet): every single candidate must beat StandardRoot in an equal-clock SPRT (where its Probe cost comes out of its OWN clock!) AND beat a plain budget-equivalent main-search extension control before ever shipping.

Practical Effect on Search, Play & Measurement

Exemplifies top-player-inspired hypothesis engineering disciplined by uncompromising statistical falsification.

Primary Literature Citation

BalouChess engine, SPEC 016 section 4 (Research candidates E11 Expected Score, E12/E13 Hold Search, E14 Hold Value, E15 Effort Search, 2026).

Implemented in engine code Search & Windows ★ Core Study Article

Origin: 1973 · Hans J. Berliner

Horizon Effect

German term: Horizont-Effekt

Also searched as: Horizonteffekt · Verzögerungsopfer · Over-the-horizon tactic · Spite Check

Pathology of fixed-depth search where an engine mistakes delaying an unavoidable catastrophe past ply d (by throwing away lesser pieces or giving spite checks) for having prevented the catastrophe altogether.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Coined and analyzed in detail by Carnegie Mellon computer-chess pioneer and World Correspondence Chess Champion Hans Berliner at IJCAI 1973. Early fixed-depth engines routinely sacrificed two pawns for nothing solely to push the loss of a trapped bishop from ply 6 to ply 8 beyond their 7-ply horizon.

Algorithmic & Chess Mechanism

Two manifestations occur: the negative horizon effect (inserting delaying sacrifices/checks so a -300 cp piece loss disappears past depth d, leaving only a -100 cp pawn sacrifice visible) and the positive horizon effect (deferring a guaranteed winning capture because the engine thinks it can cash in "later", allowing the opponent to escape in real play).

Role & Maturity in BalouChess

Countered in BalouChess (crates/search, engine, SPEC 003) by combining tactical quiescence search (R9, R22) with check extensions (+1 ply when in check) and singular extensions on forced single replies, while SEE < 0 ordering prevents spite-sacrifice clutter.

Practical Effect on Search, Play & Measurement

Understanding the horizon effect explains why uniform depth is never enough: search depth must stretch dynamically along forcing lines and contract along quiet ones.

Primary Literature Citation

Hans J. Berliner, Some Necessary Conditions for a Master Chess Program, Proceedings of the 3rd International Joint Conference on Artificial Intelligence (IJCAI), 77–85, 1973.

Specified, not built yet Pruning & Extensions ★ Core Study Article

Origin: 2015 · Stockfish open research community (Joona Kiiski, Stéphane Nicolet et al., 2015–2016)

Improving Heuristic (2-Ply Evaluation Trend)

German term: Improving-Signal (2-Halbzug-Bewertungstrend)

Also searched as: Improving · Verbesserungsmerkmal · eval[ply] > eval[ply-2] · 2-Ply Trend

Boolean per-ply trend indicator (static_eval[ply] > static_eval[ply - 2]) telling pruning and reduction rules whether the side to move’s static evaluation has risen or fallen since its own previous turn 2 plies ago.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Emerged around 2015–2016 in fishtest experiments as a remarkably clean, parameter-free dynamic confidence signal that immediately improved Reverse Futility Pruning, Late Move Pruning, and Late Move Reductions simultaneously.

Algorithmic & Chess Mechanism

Each ply stores its static evaluation on the search stack (eval_stack[ply]; if in check at ply - 2, engines fall back to ply - 4). When improving == true, the active side’s plan is gaining ground: RFP uses a tighter margin (cutting off sooner) and LMP searches more quiet moves; when improving == false, the side’s previous move failed to improve the position, so LMR reduces late moves by +1 extra ply and LMP caps quiet move counts roughly in half.

Role & Maturity in BalouChess

Explicitly specified in engine, SPEC 003 section 3.3 ("Verbesserungsmerkmal: Vergleich der statischen Bewertung mit der vor 2 Halbzügen") as a cross-cutting input to RFP, LMP, and LMR.

Practical Effect on Search, Play & Measurement

Injects dynamic 2-ply momentum awareness into static leaf margins at virtually zero CPU cost (1 integer comparison on the stack).

Primary Literature Citation

Stockfish search architecture notes & Andrew Grant, Ethereal Search Documentation on the 2-ply improving flag in RFP, LMP, and LMR (2016–2022).

Specified, not built yet Evaluation & NNUE ★ Core Study Article

Origin: 2018 · Yu Nasu (2018)

Incremental Accumulator Stack (push / pop)

German term: Inkrementeller Akkumulator-Stapel (push / pop)

Also searched as: Akkumulator · Accumulator Stack · Evaluator::push · Evaluator::pop · Lazy Accumulator Updates

Preallocated per-ply array (0..EVAL_STACK_DEPTH) of i16 feature-transformer vectors synchronized 1:1 with ordinary make and unmake, so backtracking on unmake restores the previous accumulator in O(1) by decrementing a stack pointer.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Introduced by Yu Nasu (2018) and later refined with lazy/deferred evaluation updates (computing the vector delta only if a descendant node actually calls evaluate(), skipping work on instant TT-move cutoffs!).

Algorithmic & Chess Mechanism

Let W be the feature weight matrix and x_t the sparse binary board indicator at ply t. Instead of computing a_{t+1} = W * x_{t+1} + b over all <= 32 pieces, push computes a_{t+1} = a_t - sum_{removed} W[i] + sum_{added} W[j] across the 2 to 4 changed indices (unless a king move crosses a king-bucket boundary, which triggers a single-perspective refresh assisted by Finny tables). On pop, the stack index simply steps back from t + 1 to t with zero arithmetic!

Role & Maturity in BalouChess

The Evaluator stack contract (EVAL_STACK_DEPTH = 128, refresh, push BEFORE ordinary pos.make, skipping both push and pop on null moves, pop on unmake, 0 heap allocations during search) is already enforced in crates/nnue (engine, SPEC 005 R1, R2 and section 4), while the planned i16 NnueEvaluator accumulator math and lazy updates are specified in engine, SPEC 005 sections 3 and 8.

Practical Effect on Search, Play & Measurement

Reduces feature-transformer cost by roughly an order of magnitude per evaluated node and reduces unmake evaluation rollback cost to literally zero.

Primary Literature Citation

Yu Nasu, Efficiently Updatable Neural-Network-based Evaluation Functions for Computer Shogi (2018), Section 3 (Incremental Differential Calculation).

Implemented in engine code Rules, Tactics & Endgame

Origin: 1843 · Paul Morphy & Wilhelm Steinitz

Initiative, Tempo & Compensation

German term: Initiative, Tempo & Kompensation

Also searched as: Initiative · Tempo · Kompensation · Gambit · Entwicklungsvorsprung

Dynamic advantage of dictating threats move by move (initiative), measured in single-move units of development time (tempo) that can outweigh a sacrificed pawn or exchange (compensation).

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Demonstrated brilliantly by Paul Morphy (1857–1859) and Mikhail Tal; modern neural and search studies track sustained material sacrifices quantitatively.

Algorithmic & Chess Mechanism

Side-to-move bonus (tempo) and deep selective search convert dynamic piece activity into concrete threats before the defender can consolidate.

Role & Maturity in BalouChess

Quantified in BalouChess’s Fehlerbuch (engine, SPEC 015 R24) via the formal metric "voluntary material investment": sacrificing >= 1 pawn unit for >= 4 own moves while keeping the evaluation drop <= 0.3 pawns and above -1.5.

Practical Effect on Search, Play & Measurement

Explains why top engines actively invest pawns for long-term piece activity rather than playing materialistic chess.

Primary Literature Citation

Johann Löwenthal, Morphy’s Games of Chess (1860); Mikhail Tal, The Life and Games of Mikhail Tal (1976).

Implemented in engine code Rules, Tactics & Endgame

Origin: 1929 · FIDE Laws of Chess ("Dead position", Article 5.2.2)

Insufficient Material

German term: Materialmangel (Totes Remis)

Also searched as: Materialmangel · K vs K · KB vs K · KN vs K · gleichfarbige Läufer

Immediate draw when no legal sequence of moves can ever produce checkmate — specifically bare kings, king plus single minor piece, or kings with bishops purely on squares of the same color.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Codified in FIDE tournament rules as a dead position; engines carefully distinguish truly dead material (such as KB vs KB on same-color squares) from practically drawn but legally help-mateable material like KNN vs K.

Algorithmic & Chess Mechanism

Evaluated in O(1) via bitboard population counts and precomputed light/dark square masks.

Role & Maturity in BalouChess

Implemented in crates/core (engine, SPEC 001 R11): detects K vs K, K+N/B vs K, and two bishops on identical square colors (same or opposite sides) with exact positive and negative unit tests.

Practical Effect on Search, Play & Measurement

Terminates dead branches instantaneously with 0 cp instead of polluting scores with phantom piece values.

Primary Literature Citation

FIDE Laws of Chess, Article 5.2.2 (Dead Position / impossibility of checkmate by any legal sequence).

Specified, not built yet Pruning & Extensions

Origin: 1988 · John Stanback (IID, 1988) & Ed Schröder / Stockfish (IIR, 2019–2020)

Internal Iterative Reduction (IIR) & IID

German term: Interne Tiefenreduktion (IIR) & IID

Also searched as: IIR · IID · Internal Iterative Reduction · Internal Iterative Deepening

Reducing remaining depth by 1 ply (depth -= 1) whenever a deep node (depth >= 4) lacks a TT-move in the transposition table, replacing the older and more complex Internal Iterative Deepening (IID) sub-search.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

John Stanback introduced Internal Iterative Deepening (IID, running a separate shallow sub-search when tt_move == None) around 1988. Around 2019–2020, Ed Schröder (Rebel) and Stockfish proved via SPRT that simply subtracting 1 from depth (IIR) lets outer iterative deepening populate the missing TT-move on the next pass with less code and higher Elo!

Algorithmic & Chess Mechanism

Searching a high-depth subtree blind without a TT-move explodes branching because PVS’s first-move assumption breaks down; reducing depth by 1 keeps the blind pass cheap while populating Layout B for the next root iteration.

Role & Maturity in BalouChess

Specified in engine, SPEC 003 section 3.3 ("Interne Tiefenreduktion bei fehlendem Tabellenzug") as a compact, independently switchable SPRT candidate.

Practical Effect on Search, Play & Measurement

Prevents node explosions when sudden PV switches enter cold regions of the transposition table.

Primary Literature Citation

John Stanback, Zarkov / GCP Internal Iterative Deepening (1988); Ed Schröder (Rebel) & Stockfish replacement of IID by IIR (2020).

Implemented in engine code Search & Windows ★ Core Study Article

Origin: 1972 · James J. Gillogly (TECH, 1972), Slate & Atkin (Chess 4.5, 1977) & Richard E. Korf (1985)

Iterative Deepening (IDDFS)

German term: Iterative Vertiefung (Iterative Deepening)

Also searched as: Iterative Vertiefung · IDDFS · Tiefenschleife · Tiefe 1..d

Searching depths 1, 2, 3, ..., D sequentially from the root rather than jumping straight to target depth D, providing an anytime best move on clock expiry AND supercharging move ordering for every deeper iteration.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Introduced in tournament chess programs during the mid-1970s (James Gillogly’s TECH, Hans Berliner, and famously Chess 4.5 by Slate and Atkin, 1977) originally to solve tournament clock control, before programmers discovered to their astonishment that searching 1..D finished FASTER than searching D directly! Richard Korf (1985) formalized its asymptotic optimality.

Algorithmic & Chess Mechanism

In an exponential tree with effective branching factor b_eff >= 2, the sum of all shallower iterations 1 + b + b^2 + ... + b^(D-1) is only a small fraction (~1 / (b_eff - 1)) of iteration D. Yet iteration d - 1 populates the transposition table, PV move, killer tables, and damped history tables, shrinking b_eff at depth d so strongly that the total node count drops far below a blind depth-D search.

Role & Maturity in BalouChess

Implemented in crates/search (engine, SPEC 003 R1, R6, R10): depth 1 always completes legally so bestmove is non-null on every non-terminal position, each finished iteration emits a structured Progress report (depth, seldepth, nodes, pv, score), and the time controller decides between iterations whether to start depth d + 1 or stop cleanly at the soft budget.

Practical Effect on Search, Play & Measurement

Simultaneously solves real-time tournament clock management, aspiration-window centering, PV stability tracking, and best-first move ordering.

Primary Literature Citation

David J. Slate and Larry Atkin, Chess 4.5 (1977); Richard E. Korf, Depth-First Iterative-Deepening: An Optimal Admissible Tree Search, Artificial Intelligence 27(1), 97–109, 1985.

Implemented in engine code Move Ordering & History ★ Core Study Article

Origin: 1968 · Barbara Liskov (1968), Richard J. Cichelli (1973) & Slate / Atkin (1977)

Killer Move Heuristic

German term: Killer-Züge (Killer-Heuristik)

Also searched as: Killer · Killer-Züge · Killer Heuristic · Killer Slots

Storing 2 distinct quiet moves per search ply that recently caused a beta cutoff in a sibling node at the same ply, trying them immediately after winning captures (SEE >= 0) and before generating all remaining quiet moves.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Early forms appeared in Barbara Liskov’s endgame thesis (1968), Richard Cichelli (1973), and Chess 4.5 (1977), resting on the observation that many sibling branches at ply p leave the core tactical threat unchanged, so the exact same quiet refutation (such as a back-rank threat, fork setup, or defensive luft move h6) refutes many sibling tries in a row.

Algorithmic & Chess Mechanism

Each ply 0..MAX_PLY - 1 holds 2 move slots [killer_0, killer_1]. Only QUIET beta-cutoff moves enter the killer table (captures are already ranked by SEE + MVV-LVA); before inserting mv into killer_0, the engine checks mv != killer_0 so a repeated cutoff never wipes out killer_1 with a duplicate! Before yielding a killer in MovePicker, is_legal confirms the move is legal and quiet in the sibling position.

Role & Maturity in BalouChess

Implemented in crates/search (engine, SPEC 003 R8) with 2 distinct ply-local slots per worker thread (SearchState), zero global contention across planned parallel threads, and detailed explanation in Chapter 5 of the Algorithm Atlas.

Practical Effect on Search, Play & Measurement

Provides ultra-cheap O(1) quiet refutations at Cut-nodes where no tactical capture refutes the opponent’s try.

Primary Literature Citation

Richard J. Cichelli, Research Progress Report in Computer Chess, ACM SIGART Newsletter 41, 1973; David J. Slate and Larry Atkin, Chess 4.5 (1977).

Specified, not built yet Evaluation & NNUE

Origin: 2018 · Yu Nasu (HalfKP, 2018) & Gary Linscott / Stockfish contributors (HalfKAv2_hm, 2021–2023)

King Buckets & HalfKP / HalfKAv2 Features

German term: Königs-Buckets & HalfKP-/HalfKAv2-Merkmale

Also searched as: HalfKP · HalfKA · HalfKAv2_hm · King Buckets · Flügelspiegelung

Sparse first-layer feature encodings indexing piece-square placements by the friendly king’s square group (King Bucket) with horizontal a–h mirroring when the king stands on files e–h, multiplying representational capacity without slowing down non-king moves.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Yu Nasu’s original HalfKP (2018) used all 64 king squares (64 × 640 = 40,960 features per half); later chess research (HalfKAv2_hm, 2021–2023) exploited horizontal symmetry (32 mirrored king squares grouped into 8–32 buckets) to cut parameter size while speeding up training convergence.

Algorithmic & Chess Mechanism

Non-king moves stay inside the same king bucket (2–3 vector ops); only when a king steps into a DIFFERENT bucket does that single perspective recompute its accumulator (accelerated by Finny tables).

Role & Maturity in BalouChess

Explicitly specified as clean-room architecture candidates in engine, SPEC 005 section 8 (king-square groups and horizontal king-flank mirroring), not built yet.

Practical Effect on Search, Play & Measurement

Captures king-relative shelter, attack, and endgame geometry directly in the linear accumulator layer.

Primary Literature Citation

Yu Nasu (2018) on king-piece factorized inputs; Stockfish NNUE architecture notes on HalfKAv2_hm horizontal mirroring and king buckets (2021–2024).

Specified, not built yet Rules, Tactics & Endgame

Origin: 1889 · Wilhelm Steinitz & Siegbert Tarrasch

King Safety & Open Files

German term: Königssicherheit & offene Linien

Also searched as: Königssicherheit · Königsangriff · Offene Linie · Halboffene Linie · 7. Reihe

Non-linear interaction between pawn shelter integrity around the king, attacking piece concentration, and rook control of pawnless (open) or half-open files.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Formulated by World Champion Wilhelm Steinitz (1889) and Siegbert Tarrasch; in computer chess, king safety proved the hardest classical term to tune linearly because adding one extra attacker multiplies mating danger nonlinearly.

Algorithmic & Chess Mechanism

King-bucketed neural evaluators naturally capture nonlinear shelter-and-attacker interactions relative to the king’s exact square without brittle hand-coded king-danger tables — planned for future neural evaluation stages.

Role & Maturity in BalouChess

King-square bucketing and horizontal king-flank mirroring (a–h symmetry depending on whether the king stands on files a–d or e–h) are specified candidates for BalouChess’s planned NNUE architecture (engine, SPEC 005 section 8).

Practical Effect on Search, Play & Measurement

Separates sound positional sacrifices against an exposed king from premature, refuted attacks.

Primary Literature Citation

Wilhelm Steinitz, The Modern Chess Instructor (1889); Siegbert Tarrasch, Das Schachspiel (1931).

Specified, not built yet Pruning & Extensions

Origin: 2007 · Tord Romstad (Glaurung 2, 2007)

Late Move Pruning (LMP / Move Count Pruning)

German term: Spätzug-Kappung (LMP / Move-Count-Pruning)

Also searched as: LMP · Late Move Pruning · Move Count Pruning · Zuganzahl-Kappung

Skipping remaining low-history quiet moves completely at shallow non-PV nodes once the number of moves already searched exceeds a quadratic threshold (a + b * depth^2) scaled by improving.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Introduced by Tord Romstad in Glaurung 2 (2007) as a modern, move-ordering-backed revival of selective width limits strictly near the leaves.

Algorithmic & Chess Mechanism

At depth 1..3 (outside check and PV), once 3 + depth^2 (halved if !improving) best-ordered moves failed to raise alpha, move #15 or #25 in quiet history order almost never rescues the node.

Role & Maturity in BalouChess

Specified in engine, SPEC 003 section 3.3 ("Spätzug-Abschnitt") with configurable quadratic count thresholds and SPRT gate.

Practical Effect on Search, Play & Measurement

Curbs branching width in quiet leaf positions with 35–45 legal moves.

Primary Literature Citation

Tord Romstad, Glaurung 2 Move-Count Based Pruning (2007); quadratic move-count formulas in modern alpha-beta engines.

Specified, not built yet Pruning & Extensions ★ Core Study Article

Origin: 2005 · Fabien Letouzey (Fruit 2.1, 2005) & Tord Romstad (Glaurung, 2006)

Late Move Reductions (LMR)

German term: Spätzug-Reduktion (Late Move Reductions, LMR)

Also searched as: LMR · Late Move Reductions · Logarithmische Reduktionstabelle · History-LMR

Searching moves ordered late by MovePicker (move_index >= k) with a reduced zero-window depth d - 1 - R(d, i) first, immediately re-searching at full unreduced depth d - 1 whenever a reduced move unexpectedly beats alpha.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

With roots in earlier "razoring/history pruning", Fabien Letouzey revolutionized open computer chess in Fruit 2.1 (June 2005) by reducing late non-tactical moves instead of pruning them outright, and Tord Romstad (Glaurung, 2006, direct ancestor of Stockfish) coined the name Late Move Reductions and refined logarithmic depth-by-move-index tables.

Algorithmic & Chess Mechanism

A precomputed baseline table R_base(d, i) ~ a + ln(d) * ln(i) / b increases reduction logarithmically with remaining depth d and move index i. Contextual modifiers then subtract from R for promising moves (PV-node, check, killer, high damped history score, Advisor policy hint) and add to R for unpromising contexts (expected Cut-node, non-improving static eval, strongly negative history). If the reduced zero-window search beats alpha, a full-depth re-search on d - 1 restores accuracy.

Role & Maturity in BalouChess

Specified in engine, SPEC 003 section 3.3 (and engine, SPEC 010 R4 for optional HintSource reduction adjustments bounded strictly to a few plies) with dedicated SearchParams entries so base LMR and each modifier (improving, cutNode, history scaling, tactical LMR) are validated one by one via SPRT.

Practical Effect on Search, Play & Measurement

Widely regarded alongside Transposition Tables and NNUE as one of the three largest playing-strength multipliers in modern alpha-beta chess engines.

Primary Literature Citation

Fabien Letouzey, Fruit 2.1 Technical Release Notes ("History Pruning / Reductions", 2005); Tord Romstad, Introduction to Late Move Reductions (2006).

Specified, not built yet Parallelism & Hardware ★ Core Study Article

Origin: 2013 · Martin Sedlák (Cheng 4, 2013) & M. Z. / Stockfish contributors (2015–2016)

Lazy SMP (Shared-Table Parallel Search, Specified)

German term: Lazy SMP (Parallelsuche über gemeinsame Tabelle, spezifiziert)

Also searched as: Lazy SMP · SMP · Thread-Voting · Parallele Alpha-Beta-Suche

Lock-free parallel alpha-beta search where N worker threads all search from the root simultaneously with private move-ordering state, sharing ONLY the lock-free Layout B transposition table — specified for BalouChess, not built yet.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

For 25 years (1988–2014), parallel alpha-beta engines relied on intricate explicit tree-splitting protocols (YBWC, DTS) with mutex locks, master-slave handoffs, and helpful-master idle loops. Around 2013 Martin Sedlák (Cheng 4) and in 2015–2016 Stockfish proved that launching independent root searches sharing a lockless hash table ("Lazy SMP") deleted thousands of lines of synchronization code AND won substantial Elo across 4 to 256 threads!

Algorithmic & Chess Mechanism

Why don’t N threads do the exact same work N times? Because slight depth-offset staggering, distinct thread-local damped history tables, and asynchronous transposition-table writes cause threads to diverge naturally! Helper threads populate deeper bounds inside Layout B just before the main thread arrives (implicit work sharing), and at clock stop a depth-and-score thread vote selects the strongest completed root move across all workers.

Role & Maturity in BalouChess

Specified in crates/search (engine, SPEC 007 R1–R6), not built yet: Layout B (crates/tables) is already completely lock-free and torn-read-safe in Safe Rust (1..512 planned threads), Threads = 1 is guaranteed bit-identical to single-thread bench (R2), and thread scaling must pass multi-thread SPRT (R6).

Practical Effect on Search, Play & Measurement

Scales planned multi-core search cleanly from 2 laptop threads up to 512 workstation threads with zero mutex contention or deadlock risk.

Primary Literature Citation

Martin Sedlák, Lazy SMP in Cheng 4 (2013); Stockfish Lazy SMP replacement of YBWC (2015–2016) & BalouChess engine, SPEC 007.

General reference concept Advisor, MCTS & Learning

Origin: 2018 · Gary Linscott, Alexander Lyashuk & Lc0 community (2018); Monroe / Czech / BT4 Transformer research (2022–2024)

Leela Chess Zero (Lc0) & Transformer Chess Nets

German term: Leela Chess Zero (Lc0) & Transformer-Schachnetze

Also searched as: Lc0 · Leela Chess Zero · BT3 · BT4 · 64-Token Chess Transformer

Open-source distributed GPU MCTS engine (GPL-3.0) that replicated AlphaZero in 2018 and from 2022 onward pioneered 64-square self-attention Transformer architectures replacing convolutional residual blocks.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Started in early 2018 by Gary Linscott adapting Gian-Carlo Pascutto’s Leela Zero; later chess research showed that 3×3 convolutions on an 8×8 board struggle with long-range leaps, whereas 64-square attention connects any pair (a1, h8) in 1 hop.

Algorithmic & Chess Mechanism

Treats the 64 squares as 64 tokens with learned positional/geometric biases, outputting policy logits over legal moves, WDL probabilities, and moves-left estimates.

Role & Maturity in BalouChess

Strict GPL firewall (engine, SPEC 013 R1): zero Lc0 code, weights, or training data ever enter BalouChess; published academic literature on 64-token Transformers informs the clean-room architecture candidates for balou-advisor (engine, SPEC 010 section 4.2, planned, not built yet).

Practical Effect on Search, Play & Measurement

Explains why compact 64-square board Transformers are the natural modern architecture for GPU/NPU chess advisors.

Primary Literature Citation

Gary Linscott et al., Leela Chess Zero distributed AlphaZero replication (2018); attention-based 64-square chess transformers (2022–2024).

Implemented in engine code Board, Bitboards & TT

Origin: 2016 · Daniel Lemire

Lemire Fast Range Reduction (128-Bit Multiply Index)

German term: Lemire-Bereichsabbildung (Schnelle Zeilenwahl ohne Division)

Also searched as: Lemire Trick · mulhi u128 · Modulo-Ersatz · Hash-Zeilenwahl

Maps a 64-bit hash key uniformly onto an arbitrary number of transposition-table lines N via ((key as u128 * N as u128) >> 64) instead of slow integer division (key % N) or power-of-two memory waste.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Classic engines restricted Hash sizes to powers of 2 (16, 32, 64, 128 MiB) to index via bitmasks, wasting up to nearly 50 % of user-allocated RAM on sizes like 96 MiB or 192 GiB. Daniel Lemire formalized division-free 64-bit/128-bit multiply-high range mapping in 2016.

Algorithmic & Chess Mechanism

Compiles on x86-64 and ARM64 into a single hardware unsigned 64×64->128-bit MUL / UMULH instruction (~3 cycles vs ~25–40 cycles for DIV) while utilizing 100 % of any requested MiB budget.

Role & Maturity in BalouChess

Implemented in crates/tables/src/transposition.rs (engine, SPEC 004 R6).

Practical Effect on Search, Play & Measurement

Combines full MiB granularity up to 256 GiB with single-instruction indexing speed.

Primary Literature Citation

Daniel Lemire, Fast Random Integer Generation in an Interval, ACM Transactions on Modeling and Computer Simulation 29(1), 2019 (first published 2016).

Specified, not built yet Balou Lab & Methodology

Origin: 2026 · BalouChess Cyber-Balou Local Analysis Design (engine, SPEC 017 section 4.2)

Local PGN Turning-Point Scanner (Specified)

German term: Lokaler PGN-Wendepunkt-Scanner (spezifiziert)

Also searched as: Wendepunkt-Scanner · Turning-Point Scanner · StartPgnScan · WDL-Fieberkurve · Lokale PGN-Analyse

Planned 100 % browser-local game analyzer stepping ply by ply through a pasted PGN inside a Web Worker (board ... followed by think nodes=<n>), plotting an interactive evaluation fever curve and highlighting the decisive turning points.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Cloud chess sites upload user PGNs (including private tournament preparation!) to remote servers; running the planned balou-weblab.wasm locally inside the visitor’s own Web Worker guarantees zero bytes of game data ever leave the device.

Algorithmic & Chess Mechanism

Executes a sequential StartPgnScan Worker pipeline (board ... + think nodes=<n> per ply), computes single-ply win-probability swings (>= 20 % WDL delta, mirroring Verlust-Labor’s R14 criterion!), and lets the user jump straight from any turning point into deep single-position exploration.

Role & Maturity in BalouChess

Specified in engine, SPEC 017 section 4.2 (balou-weblab.wasm, planned, not shipped yet) under BalouChess’s zero-tracking privacy guarantee.

Practical Effect on Search, Play & Measurement

Combines instant visual blunder/turning-point discovery with absolute client-side data privacy.

Primary Literature Citation

BalouChess engine, SPEC 017 section 4.2 (StartPgnScan Worker sequence) and zero-upload privacy architecture (2026).

Implemented in engine code SPRT & Match Statistics ★ Core Study Article

Origin: 1945 · Abraham Wald (LLR, 1945) & Michel Van den Bergh (nElo invariance, 2018–2020)

Log-Likelihood Ratio (LLR) & Normalized Effect Size

German term: Log-Likelihood-Quotient (LLR) & normierte Effektgrösse

Also searched as: LLR · nElo · Log-Likelihood Ratio · Wald-Schranken ±2.94

Cumulative evidence accumulator LLR = sum ln(P(pair_i | H1) / P(pair_i | H0)) performing a random walk between -2.94 and +2.94, parameterized by variance-normalized effect size so SPRT bounds mean the same statistical signal across bullet, blitz, and classical draw rates.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Logistic Elo differences shrink toward zero as draw rates climb at longer time controls or balanced books, causing fixed logistic SPRT bounds [0, 5] to require vastly different sample sizes across books until Michel Van den Bergh introduced variance-normalized nElo (t-statistic scaling) in 2018–2020.

Algorithmic & Chess Mechanism

Given empirical pair score mean mu and standard deviation sigma, normalized effect scales proportional to (mu - 1.0) / sigma. At every finished pair, maximum-likelihood multinomial probabilities p_0 (under H0) and p_1 (under H1) update LLR: positive pair asymmetries (WD, WW > LD, LL) push LLR upward toward +2.94, while neutral or losing outcomes under H1 pull LLR downward toward -2.94.

Role & Maturity in BalouChess

Tracked in every fastchess SPRT protocol in engine (engine, SPEC 015 R1, R5, R6) with pentanomial variance bounds documented across verified-facts.json and the Algorithm Atlas.

Practical Effect on Search, Play & Measurement

Gives engineers a single transparent real-time number (LLR) summarizing exact statistical evidence.

Primary Literature Citation

Abraham Wald (1945); Michel Van den Bergh, Normalized Elo (nElo) for Draw-Rate-Invariant SPRT Bounds (2018–2020).

General reference concept SPRT & Match Statistics

Origin: 2005 · Rémi Coulom (Bayesian Elo / LOS, 2005)

LOS (Likelihood of Superiority) & Stopping Pitfall

German term: LOS (Überlegenheitswahrscheinlichkeit & Abbruchfalle)

Also searched as: LOS · Likelihood of Superiority · Optional Stopping · bayeselo

Posterior probability P(true_strength(B) > true_strength(A)) given a FIXED pre-agreed sample of games — valid at the end of a fixed match, yet statistically invalid as an early-stopping trigger.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Popularized in Rémi Coulom’s BayesElo (2005); before 2013, many engine authors mistakenly watched LOS live and stopped as soon as LOS > 95 %, unknowingly accepting neutral noise patches at several times the nominal 5 % error rate!

Algorithmic & Chess Mechanism

Even a zero-difference coin flip crosses a naive 95 % one-sided z-score threshold surprisingly often if monitored continuously; Wald’s SPRT corrects for continuous monitoring mathematically.

Role & Maturity in BalouChess

BalouChess uses pentanomial SPRT (engine, SPEC 015 R1) for all accept/reject decisions and reserves fixed-sample confidence intervals strictly for pre-sized ladder gauntlets.

Practical Effect on Search, Play & Measurement

Illustrates the single most important statistical lesson in empirical algorithm engineering.

Primary Literature Citation

Rémi Coulom, Whole-History Rating & BayesElo Likelihood of Superiority (2005–2008); comparison with SPRT in BalouChess engine, SPEC 015.

Specified, not built yet Balou Lab & Methodology ★ Core Study Article

Origin: 2026 · BalouChess Quality Engineering (engine, SPEC 015 R13–R16)

Loss Laboratory (Verlust-Labor Root-Cause Attribution)

German term: Verlust-Labor (Automatisierte Verlustursachen-Zerlegung)

Also searched as: Verlust-Labor · Loss Laboratory · Verlustklassen · Fehler-Wurzelursache

Active post-loss diagnostic pipeline that re-searches turning points of lost games at >= 4× node budget (and with subsystems toggled cleanly on/off) to attribute each loss unambiguously to Search, Evaluation, Time, Tablebase, or Advisor Hint.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Whereas Fehlerbuch passively summarizes PGN telemetry at zero compute cost, engineers still face a crucial ambiguity on every blunder: did the engine miss a tactic because LMR pruned too hard (Search), because even a 10× deeper search still misjudges the resulting structure (Evaluation), or because clock panic cut iteration d short (Time)? engine, SPEC 015 section 5 designed Verlust-Labor to answer that question mechanically.

Algorithmic & Chess Mechanism

For every lost game (R13), Verlust-Labor locates the decisive turning ply t* where win probability dropped by >= 20 % (R14) and runs 3 controlled probes against a deep reference (>= 4× nodes): (1) if the deep search finds a much stronger move and flips its evaluation of the game move -> Search (or Time if remaining clock was tiny / instability high); (2) if EVEN the deep search still likes the losing move right before the collapse -> Evaluation blind spot!; (3) toggling Syzygy or NoHints isolates Tablebase or Hint regressions (R15).

Role & Maturity in BalouChess

Specified in engine, SPEC 015 (R13–R16), exporting reproducible EPD/JSON regression fixtures (R16) directly into BalouChess’s test catalog — strictly separated from training sets so regression positions never leak into neural training (R16)!

Practical Effect on Search, Play & Measurement

Focuses engineering effort directly on the dominant loss bucket instead of optimizing whichever subsystem feels familiar.

Primary Literature Citation

BalouChess engine, SPEC 015 R13–R16 & Section 5 ("Verlust-Labor", automated deep-reference blunder attribution, 2026).

Implemented in engine code Board, Bitboards & TT ★ Core Study Article

Origin: 2006 · Lasse Hansen (2006) & Pradu Kannan (2007)

Magic Bitboards & Magic Rays

German term: Magic Bitboards & Magic-Strahlen

Also searched as: Magic-Strahlen · Magic Numbers · Gleiter-Angriffe · Sliding Piece Attacks · Fancy Magic

Constant-time O(1) perfect-hashing lookup for rook, bishop, and queen sliding attacks using masked inner ray occupancy multiplied by a 64-bit magic constant and right-shifted into a compact table index.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Before 2006, bitboard engines used directional loops or Robert Hyatt’s rotated bitboards (maintaining 3 extra rotated 64-bit boards on every move). In 2006, Norwegian programmer Lasse Hansen demonstrated single-multiply occupancy hashing (alongside Gerd Isenberg’s directional ideas), and in January 2007 Pradu Kannan published compact variable-shift "Fancy Magic Bitboards" that became the universal industry standard.

Algorithmic & Chess Mechanism

Outer board edges do not alter whether a sliding ray continues further, leaving at most 12 relevant blocker squares for a rook (on corners, 10–11 elsewhere) and at most 9 for a bishop. Computing ((occupancy & mask[sq]).wrapping_mul(magic[sq])) >> shift[sq] scatters those <= 12 relevant blocker bits into the top bits of a 64-bit product with constructive collisions (two blocker sets may share an index if their attack bitboards are identical!). Queen attacks are simply rook_attacks(sq, occ) | bishop_attacks(sq, occ).

Role & Maturity in BalouChess

Implemented in crates/core (engine, SPEC 001 section 8) with project-generated magic constants and zero unsafe blocks, serving move generation, check/pin detection, and SEE X-ray unveiling.

Practical Effect on Search, Play & Measurement

Delivers branchless O(1) sliding-piece attacks on every 64-bit CPU (including WebAssembly wasm32) without instruction-set lock-in.

Primary Literature Citation

Lasse Hansen, Magic Move-Bitboard Generation in Computer Chess (2006); Pradu Kannan, Magic Move-Bitboard Generation in Computer Chess, technical paper (2007).

Implemented in engine code Board, Bitboards & TT ★ Core Study Article

Origin: 1958 · Allen Newell, John C. Shaw & Herbert A. Simon (NSS, 1958); Slate & Atkin (1977)

Make/Unmake (Reversible Move Execution)

German term: Make/Unmake (Reversible Zugausführung)

Also searched as: Make/Unmake · make · unmake · Undo-Stapel · make_null · unmake_null

In-place state transition on a single Position struct during depth-first search: make(mv) applies a move and records a tiny undo record of irreversible fields, and unmake(mv) restores the exact bit-for-bit prior state upon backtracking.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Early depth-first chess programs on tiny-RAM mainframes (Newell, Shaw & Simon 1958; Greenblatt’s Mac Hack VI 1967; Chess 4.5 1977) mutated a single board in place and saved only irreversible metadata (captured piece, prior castling rights, en-passant square, halfmove clock) on a ply-indexed stack.

Algorithmic & Chess Mechanism

Piece placement changes are symmetric XOR/toggle updates on bitboards and the 64-square array, whereas irreversible fields (previous castling mask, previous en-passant square, previous halfmove counter, captured piece, and prior PositionKey) are popped from a tiny stack entry during unmake, keeping the working Position hot in L1 data cache.

Role & Maturity in BalouChess

Implemented in crates/core (engine, SPEC 001 R6, plus make_null/unmake_null for null moves) and paired in crates/search with Evaluator::push before make and Evaluator::pop on unmake (engine, SPEC 005 R4), verified by randomized property tests for bit-exact state restoration.

Practical Effect on Search, Play & Measurement

Eliminates copying multi-hundred-byte board structures at tens of thousands of nodes while maintaining a natural push/pop invariant for repetition history and incremental accumulators.

Primary Literature Citation

Allen Newell, J. C. Shaw and H. A. Simon, Chess-Playing Programs and the Problem of Complexity, IBM Journal of Research and Development 2(4), 1958; Slate & Atkin (1977).

Implemented in engine code Balou Lab & Methodology

Origin: 2026 · BalouChess engine, SPEC 015 R20 & engine, SPEC 016 section 5

Marked Evaluation Disagreement (Calibration Metric)

German term: Deutlicher Widerspruch (Kalibrierkennzahl zweier Urteile)

Also searched as: Deutlicher Widerspruch · Marked Disagreement · Urteilsdifferenz >= 0.7

Offline diagnostic comparing two independent evaluations (|eval_A - eval_B| >= 0.7 pawns) on the exact same game position against the actual game outcome to reveal which evaluator was right when they strongly disagreed.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Clarified in engine, SPEC 015 R20: during a real game an engine of course never sees its opponent’s score — yet comparing two internal judgments (CPU search vs. Advisor net, or Balou vs. deep reference after the game) pinpoints systematic blind spots!

Algorithmic & Chess Mechanism

Collects all plies with |v_1 - v_2| >= 0.7 pawns (with at least 1 score in [-2.5, +2.5]) and computes mean squared error / Brier score of both predictions against the final 1 / 0.5 / 0 result.

Role & Maturity in BalouChess

Implemented in error_book.py (engine, SPEC 015 R20) and used in engine, SPEC 010 / engine, SPEC 016 to calibrate when Advisor uncertainty or disagreement warrants deeper search.

Practical Effect on Search, Play & Measurement

Separates productive second-opinion insight from redundant agreement between two evaluators.

Primary Literature Citation

BalouChess engine, SPEC 015 R20 ("Deutlicher Widerspruch als Kalibrierkennzahl") & engine, SPEC 016 section 5.

Implemented in engine code Pruning & Extensions

Origin: 1977 · David J. Slate & Larry Atkin (Chess 4.5)

Mate Distance Pruning

German term: Mattdistanz-Abschnitt

Also searched as: Mate Distance Pruning · Mattdistanz-Pruning · Kürzestes-Matt-Fenster

Exact 3-line backward-pruning bound clamping alpha = max(alpha, -MATE + ply) and beta = min(beta, MATE - ply - 1): if the root already found a mate in 3 plies, there is zero reason to explore any branch past ply 3!

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Standard exact optimization in alpha-beta chess engines since the late 1970s.

Algorithmic & Chess Mechanism

At ply p, no position can score worse than -MATE + p (already checkmated right now) or better than MATE - p - 1 (delivering mate on the next ply); if tightened alpha >= beta, the node cuts off in O(1) with 100 % mathematical soundness.

Role & Maturity in BalouChess

Active in crates/search (engine, SPEC 003 R3) using typed SearchValue::MateIn bounds.

Practical Effect on Search, Play & Measurement

Dramatically accelerates forced checkmate searches (go mate N) at zero heuristic risk.

Primary Literature Citation

David J. Slate and Larry Atkin, Chess 4.5 (1977) on tightening [alpha, beta] by current ply distance.

Implemented in engine code Evaluation & NNUE ★ Core Study Article

Origin: 1950 · Claude E. Shannon (1950), Alan M. Turing (1953) & Slate / Atkin (1977)

Material & Piece-Square Evaluation (MaterialEvaluator)

German term: Material- & Figuren-Feld-Bewertung (MaterialEvaluator)

Also searched as: MaterialEvaluator · Piece-Square Tables · PST · Handcrafted Evaluation · HCE

Fast, deterministic classical evaluation summing canonical centipawn piece values (P, N, B, R, Q) and square-dependent positional bonuses (Piece-Square Tables), serving as BalouChess’s active evaluator today and permanent fallback oracle.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Claude Shannon (1950) and Alan Turing (1953) introduced linear weighted sums of material (1, 3, 3, 5, 9 pawns) and mobility/square centrality. From Chess 4.5 (1977) through Fruit 2.1 (2005) and Stockfish 11 (2020), handcrafted evaluation (HCE) centered on Piece-Square Tables (PST) dominated computer chess until NNUE superseded complex handcrafted terms.

Algorithmic & Chess Mechanism

Assigns centipawn weights to each piece type plus pst[piece][sq] (mirrored vertically via sq ^ 56 for Black) encouraging central knights/pawns, active bishops, 7th-rank rooks, and castled kings in middlegames versus centralized kings in endgames — maintained incrementally on push/pop or evaluated in nanoseconds via bitboards.

Role & Maturity in BalouChess

Implemented in crates/nnue (MaterialEvaluator, engine, SPEC 005 R1, R2 and R10): powers BalouChess’s verified search core today with clean geometric piece-square bonuses, guarantees evaluate returns Centipawns(0) on symmetric positions and exact sign negation on color-flipped positions, and initializes Iteration 0 self-play data generation (engine, SPEC 013 section 2.1) without needing any external engine.

Practical Effect on Search, Play & Measurement

Provides a rock-solid, zero-weight-file baseline for verifying search mechanics, WebAssembly builds, and tabula-rasa bootstrapping.

Primary Literature Citation

Claude E. Shannon, Programming a Computer for Playing Chess (1950); Alan M. Turing (1953); Tomasz Michniewski, Simplified Evaluation Function (1997).

Implemented in engine code Search & Windows ★ Core Study Article

Origin: 1913 · Ernst Zermelo (1913), John von Neumann (1928) & Claude E. Shannon (1950)

Minimax & Zero-Sum Game Tree

German term: Minimax & Nullsummen-Spielbaum

Also searched as: MinMax · Minimax · Zermelo-Satz · Von-Neumann-Minimax · Rückwärtsinduktion

Decision-theoretic foundation of deterministic two-player zero-sum games: the maximizing player chooses the move maximizing the backed-up value under the assumption that the opponent replies with the value-minimizing move.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Ernst Zermelo proved in 1913 by backward induction that finite two-player games of perfect information like chess possess a determinate game-theoretic value (forced win for White, forced draw, or forced win for Black). John von Neumann established the general Minimax Theorem in 1928, and Claude Shannon (1950) plus Alan Turing (1953) turned depth-limited heuristic Minimax into the blueprint of computer chess.

Algorithmic & Chess Mechanism

With average branching factor b ~ 35 and horizon depth d plies, plain Minimax evaluates O(b^d) leaf nodes: internal nodes at even plies compute max over child values while odd plies compute min. Because chess’s full state space (~10^44 legal positions) cannot be exhausted, practical engines cut off recursion at depth d (extended by quiescence search) and call a static evaluation function.

Role & Maturity in BalouChess

Implemented in symmetric Negamax form inside crates/search (engine, SPEC 003) AND explicitly built as an unadorned small-depth reference Minimax oracle (engine, SPEC 003 section 4) to verify in unit tests that Alpha-Beta and PVS return the exact same root score at depths 1 through 4.

Practical Effect on Search, Play & Measurement

Defines the mathematical specification of optimal adversarial lookahead against which every sound pruning algorithm is proven equivalent.

Primary Literature Citation

Ernst Zermelo, Über eine Anwendung der Mengenlehre auf die Theorie des Schachspiels (1913); John von Neumann, Zur Theorie der Gesellschaftsspiele, Mathematische Annalen 100, 1928; Claude E. Shannon (1950).

Specified, not built yet Evaluation & NNUE ★ Core Study Article

Origin: 2026 · BalouChess IP & Training Governance (engine, SPEC 013 & engine, ADR 0004)

Model Provenance Passport (Netzpass)

German term: Netzpass (Lückenloser Herkunftsnachweis eines Netzes)

Also searched as: Netzpass · webDemoRelease · Vorläufiger Netzpass · Vollständiger Netzpass · IP-Reinraum

Mandatory cryptographic and legal provenance certificate required for every planned neural weight file in BalouChess before it may enter registered tests (vorläufig), engine builds (vollständig), or the planned public Web-Lab (webDemoRelease).

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Commercial chess engines repeatedly suffered severe scandals (Rybka, Fat Fritz 2, Houdini) when weights or training evaluations were distilled from GPL engines (Stockfish, Lc0) or CC-BY-NC datasets. To make IP cleanliness mathematically auditable rather than verbal, BalouChess instituted the two-stage Netzpass in engine, SPEC 013 before training even a single net.

Algorithmic & Chess Mechanism

Every weight file is bound by its SHA-256 hash to a versioned Netzpass recording: (Stage 1 — vorläufig for registered SPRT) training commit, seed, hyperparameters, exact BALOUDAT v1 shard SHA-256 hashes, generator Balou commit, and parent net Netzpass chain all the way back to random initialization (Iteration 0), with 0 external engine calls; (Stage 2 — vollständig before embedding/shipping) winning SPRT + confirmation match reports, source-token and move-similarity checks (engine, SPEC 014 R15–R16 and R20), license scan of training tools, and human Class D sign-off — PLUS an explicit dated webDemoRelease field before any small net may ever enter the planned balou-weblab.wasm.

Role & Maturity in BalouChess

Enforced across both repositories (engine, SPEC 013 R4, engine, SPEC 017 R10, and balouchess-web docs/07-recht/herkunftsregister.md): CI rejects any unregistered weight blob or missing webDemoRelease automatically.

Practical Effect on Search, Play & Measurement

Guarantees 100 % clean-room proprietary ownership for allerate GmbH and protects tournament networks from unintentional browser exposure.

Primary Literature Citation

BalouChess engine, SPEC 013 R4 & Section 4 ("Netzpass") and web IP protection rules of allerate GmbH (2026).

General reference concept Advisor, MCTS & Learning ★ Core Study Article

Origin: 2006 · Rémi Coulom (2006) & Levente Kocsis / Csaba Szepesvári (2006)

Monte Carlo Tree Search (MCTS)

German term: Monte-Carlo-Baumsuche (MCTS)

Also searched as: MCTS · Monte-Carlo Tree Search · Coulom 2006 · Rollout & Backpropagation

Best-first asymmetric tree-building algorithm cycling through 4 phases — Selection, Expansion, Evaluation, and Backpropagation — backing up average expected outcomes (Q-values) instead of hard minimax bounds.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Monte Carlo game evaluation dates back to Bruce Abramson (1987) and Bernd Brügmann’s Go experiment (1993). In 2006, Rémi Coulom (Crazy Stone) coined Monte-Carlo Tree Search by growing an explicit search tree incrementally, transforming computer Go (b ~ 250, where alpha-beta failed) and later chess (AlphaZero, 2017).

Algorithmic & Chess Mechanism

Unlike Alpha-Beta (with minimax backup and sharp Fail-High cutoffs), MCTS keeps the entire search tree in RAM: each simulation walks down from the root choosing the child maximizing Q(s, a) + U(s, a), expands 1 new leaf s_L, evaluates v(s_L) (originally via random rollout, in modern research via a neural network), and updates visit count N and mean value Q back up to the root.

Role & Maturity in BalouChess

Studied carefully in BalouChess architecture (engine, ADR 0003, engine, SPEC 010, and engine, SPEC 016): BalouChess deliberately chooses PVS Alpha-Beta over pure MCTS because averaging Q-values in MCTS can dilute 1 narrow tactical refutation among 20 pleasant siblings ("MCTS tactical trap blindness"), whereas Balou’s planned Wissenspumpe harvests neural policy/value guidance without sacrificing minimax sharpness.

Practical Effect on Search, Play & Measurement

Essential comparison model for understanding why Alpha-Beta excels at sharp tactical refutation while MCTS excels at smooth probability aggregation.

Primary Literature Citation

Rémi Coulom, Efficient Selectivity and Backup Operators in Monte-Carlo Tree Search, 5th International Conference on Computers and Games (CG 2006), LNCS 4630, 72–83.

Implemented in engine code Balou Lab & Methodology

Origin: 2010 · Don Dailey (Sim tool, 2010); BalouChess engine, SPEC 014 R15–R16 & R20

Move & Source Similarity Checks (Clean-Room Verification)

German term: Zug- & Quelltextähnlichkeits-Prüfer (Unabhängigkeitsnachweis)

Also searched as: Zugähnlichkeits-Prüfer · Move Similarity · Don Dailey Sim · tools/similarity · tools/move_similarity

Two-part statistical and structural originality suite combining 50-token source-code window scanning (tools/similarity) with 600-position fixed-node move-agreement analysis (tools/move_similarity) calibrated against independent control-engine pairs and bootstrap confidence intervals.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Created in 2010 by Komodo co-author Don Dailey (Sim) for ICGA/TCEC originality investigations: cloned or derivative engines exhibit significantly elevated move-choice agreement with their parent compared to genuinely independent control pairs.

Algorithmic & Chess Mechanism

tools/similarity (engine, SPEC 014 R15–R16) scans normalized 50-token windows across the Rust codebase against open-source engines, while tools/move_similarity (engine, SPEC 014 R20) runs every engine at deterministic go nodes 10000 across 600 curated positions and evaluates excess agreement relative to independent control pairs via bootstrap intervals.

Role & Maturity in BalouChess

Implemented in tools/similarity and tools/move_similarity (engine, SPEC 014 R15–R16 and R20) as mandatory verification gates before major releases AND before shipping the planned balou-weblab.wasm.

Practical Effect on Search, Play & Measurement

Backs allerate GmbH’s clean-room engineering policy with an objective, third-party-reproducible statistical report.

Primary Literature Citation

Don Dailey, Move Similarity Tester (Sim, 2010) for ICGA/TCEC originality verification; BalouChess engine, SPEC 014 R15–R16 & R20.

Implemented in engine code Move Generation & Perft ★ Core Study Article

Origin: 1950 · Claude E. Shannon & Alan M. Turing (staged legal generation in Chess 4.5, 1977)

Move Generator (Strict Legality & Staged Generation)

German term: Zuggenerator (Strikte Legalität & gestufte Erzeugung)

Also searched as: Zuggen · Zuggenerator · movegen · legal_moves · legal_tactical_moves · legal_quiet_moves

Core subsystem enumerating the exact set of legal chess moves from a position into stack-allocated MoveList buffers, partitioned into tactical moves and quiet moves so early cutoffs skip generating unneeded stages.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Shannon (1950) framed move generation as the innermost loop of every chess program. Over decades two schools emerged: pseudo-legal generators (generating candidate moves first and rejecting self-checks inside make) and strictly legal bitboard generators computing check-evasion and pin masks once per node.

Algorithmic & Chess Mechanism

BalouChess’s generator computes active checkers, evasion_mask, and pinned rays upfront, guaranteeing that legal_moves, legal_tactical_moves (captures + non-capture queen promotions), and legal_quiet_moves emit strictly legal moves with zero duplicates. In addition, is_legal(mv) validates any arbitrary 16-bit table move in O(1) without generating a move list, and has_legal_move() short-circuits on the first legal move found.

Role & Maturity in BalouChess

Implemented in crates/core (engine, SPEC 001 R2–R5 and section 4) using compact 16-bit Move values and stack-resident MoveList arrays, verified against an independent mailbox reference generator, 32 standard Perft counts, and differential fuzzing against Stockfish 19 and Lynx 1.11.0.

Practical Effect on Search, Play & Measurement

Allows the staged MovePicker to try the transposition-table move before generating ANY move list at all, saving massive work at Cut-nodes.

Primary Literature Citation

Claude E. Shannon, Programming a Computer for Playing Chess, Philosophical Magazine 41(314), 1950; Slate & Atkin, Chess 4.5 (1977).

Implemented in engine code Move Ordering & History ★ Core Study Article

Origin: 1977 · David J. Slate & Larry Atkin (Chess 4.5); Jonathan Schaeffer (1989)

Move Ordering & Staged MovePicker

German term: Zugordnung & gestufter MovePicker

Also searched as: Zugordnung · MovePicker · Gestufte Zugerzeugung · First-Move Cutoff Rate

Lazy state-machine pipeline (MovePicker) that yields candidate moves stage by stage in descending likelihood of causing a beta cutoff, avoiding generating or sorting later stages whenever an early move cuts off.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Because Alpha-Beta shrinks from O(b^d) to O(b^(d/2)) ONLY when refutation moves come first, Chess 4.5 (1977) introduced staged ordering (TT-move -> winning captures -> killers -> rest), extended by Jonathan Schaeffer (1983/1989) with the History Heuristic for quiet moves.

Algorithmic & Chess Mechanism

BalouChess’s MovePicker advances through 5 strict stages: (1) TT-move validated in O(1) via is_legal without list generation; (2) tactical moves with SEE >= 0 ordered by MVV-LVA (and specified capture history); (3) up to 2 quiet Killer moves of the current ply (plus specified countermove); (4) remaining quiet moves scored by damped history (plus specified continuation history and optional Advisor hints); (5) losing captures (SEE < 0) last.

Role & Maturity in BalouChess

Implemented in crates/search (engine, SPEC 003 R8 and section 3.3), verified by stage-order unit tests (TT-move before captures, SEE >= 0 before killers, SEE < 0 after quiets), and documented in detail in Chapter 5 of the Algorithm Atlas.

Practical Effect on Search, Play & Measurement

Directly governs both alpha-beta cutoff efficiency AND Late Move Reductions (LMR), which safely reduce late moves only because early stages already captured the tactical and positional cream.

Primary Literature Citation

David J. Slate and Larry Atkin, Chess 4.5 (1977); Jonathan Schaeffer, The History Heuristic and Alpha-Beta Search Enhancements in Practice, IEEE TPAMI 11(11), 1203–1212, 1989.

Implemented in engine code Time & Protocols

Origin: 2000 · UCI tournament engines (Shredder / Fruit / Stockfish)

Move Overhead & Flag-Loss Prevention

German term: MoveOverhead & Schutz vor Zeitüberschreitung

Also searched as: MoveOverhead · Move Overhead · Zeitnot-Reserve · Null Zeitüberschreitungen

Configurable millisecond safety buffer (MoveOverhead) subtracted from the hard clock deadline on every move to absorb OS scheduling jitter, pipe I/O latency, and GUI/network lag.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Without a safety margin, an engine aiming to stop at 9.999 s out of 10.000 s routinely forfeits on time (flag loss) when the OS scheduler preempts the process for 3 ms.

Algorithmic & Chess Mechanism

Clamps hard_ms <= saturating_sub(remaining_ms, move_overhead_ms) and handles pathological inputs (wtime = 0 or negative GUI lag values) saturatingly without underflow, returning the depth-1 move immediately.

Role & Maturity in BalouChess

Implemented in crates/search (tm_margin = 20) and exposed via UCI option name Move Overhead (engine, SPEC 006 R1, R5 and engine, SPEC 002 R4), verified with zero time forfeits across the 10,000-game stability suite (verified-facts.json).

Practical Effect on Search, Play & Measurement

Eliminates preventable tournament forfeits in 1-second and incrementless bullet/blitz games.

Primary Literature Citation

BalouChess engine, SPEC 006 R1, R3, R5 (Move Overhead UCI option and flag-loss prevention).

General reference concept Search & Windows

Origin: 1995 · Aske Plaat, Jonathan Schaeffer, Wim Pijls & Arie de Bruin

MTD(f) & Pure Null-Window Search

German term: MTD(f) & reine Nullfenstersuche

Also searched as: MTD(f) · Memory-enhanced Test Driver · SSS* · Nullfenster-Bisektion

Alternative to PVS that never opens a wide [alpha, beta] window at all, instead calling repeated zero-width [gamma - 1, gamma] null-window tests from the root with a large transposition table until upper and lower bounds converge.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Introduced by Aske Plaat, Jonathan Schaeffer, Wim Pijls, and Arie de Bruin (1995/1996), proving that memory-enhanced null-window calls outperform intricate best-first algorithms like SSS*.

Algorithmic & Chess Mechanism

Uses Fail-Soft return values to step gamma toward the minimax value; however, fine-grained neural centipawn scales and aggressive path/window-dependent pruning (LMR, NMP) cause instability across repeated root re-probes, which is why modern chess engines prefer PVS + Aspiration Windows.

Role & Maturity in BalouChess

BalouChess chooses PVS + Aspiration Windows (engine, SPEC 003 R6–R7) over MTD(f) so PV-nodes remain cleanly separated from null-window scout subtrees.

Practical Effect on Search, Play & Measurement

Clarifies theoretically why PVS’s zero-width scout searches are so efficient and why PV-node separation matters in modern pruning.

Primary Literature Citation

Aske Plaat, Jonathan Schaeffer, Wim Pijls and Arie de Bruin, Best-First Fixed-Depth Minimax Algorithms, Artificial Intelligence 87(1–2), 255–293, 1996 (IJCAI 1995).

Specified, not built yet Time & Protocols

Origin: 2000 · Stefan Meyer-Kahlen (Shredder / UCI MultiPV)

MultiPV (Top-k Principal Variations)

German term: MultiPV (Mehrvarianten-Analyse)

Also searched as: MultiPV · multipv 1..k · Top-k Wurzelzüge

Analysis mode computing exact scores and principal variations for the top k distinct legal root moves at every iteration (multipv 1..k) instead of narrowing full windows around only the single best move.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Introduced in Shredder and UCI for human opening/game analysis; in normal MultiPV = 1 play, moves 2..N only receive cheap null-window failures (<= alpha), hiding their exact centipawn distance from move 1.

Algorithmic & Chess Mechanism

At iteration d, the engine runs k sequential root passes: pass j excludes the j - 1 already ranked root moves so move #j receives its own aspiration window and exact PV, then sorts lines[0..k] descending.

Role & Maturity in BalouChess

Specified for native UCI (engine, SPEC 002 R4) and the candidate list lines of the planned Wurzelregel (engine, SPEC 016 section 3.1), while intentionally omitted from the planned single-line Web-Lab protocol Version 1 (engine, SPEC 017 R3).

Practical Effect on Search, Play & Measurement

Essential for interactive study, opening preparation, and comparing close candidate moves.

Primary Literature Citation

Stefan Meyer-Kahlen, UCI MultiPV option & info multipv k output; BalouChess engine, SPEC 002 R4 & engine, SPEC 003.

Implemented in engine code Move Ordering & History

Origin: 1980 · Ken Thompson & Joe Condon (Belle hardware move sorter, 1980)

MVV-LVA (Most Valuable Victim – Least Valuable Attacker)

German term: MVV-LVA (Wertvollstes Opfer – kleinster Angreifer)

Also searched as: MVV-LVA · MVV/LVA · Schlagzug-Sortierung · PxQ vor QxP

Zero-lookahead capture ordering key (victim_value * K - attacker_value) ranking PxQ highest and QxP much lower among captures of the same victim.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Hardwired into Ken Thompson and Joe Condon’s world-champion Belle chess machine (1980/1982) because sorting by victim first and attacker second requires zero attack-map lookahead.

Algorithmic & Chess Mechanism

Pure MVV-LVA still ranks QxR (defended by a pawn, losing 400 cp!) above PxP (winning 100 cp!). Pairing MVV-LVA with see_ge(pos, mv, 0) fixes that flaw completely: SEE < 0 captures are demoted to the end while MVV-LVA orders the sound SEE >= 0 captures.

Role & Maturity in BalouChess

Implemented in crates/search (engine, SPEC 003 R8) inside Stage 2 of MovePicker alongside see_ge(pos, mv, 0).

Practical Effect on Search, Play & Measurement

Provides microsecond-fast ordering of tactical captures in both main search and quiescence search.

Primary Literature Citation

Joe H. Condon and Ken Thompson, Belle Chess Hardware, in Advances in Computer Chess 3, 45–54, 1982.

Implemented in engine code Search & Windows ★ Core Study Article

Origin: 1975 · Donald E. Knuth & Ronald W. Moore

Negamax Formulation

German term: Negamax-Formulierung

Also searched as: Negamax · -search(-beta, -alpha) · Eigenperspektive

Algebraic simplification of Minimax exploiting max(a, b) = -min(-a, -b) in zero-sum games so a single maximizing function serves both White and Black by negating scores and swapping bounds on every ply.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Popularized and analyzed rigorously by Donald Knuth and Ronald Moore in their landmark 1975 paper An Analysis of Alpha-Beta Pruning. Before Negamax, early chess programs duplicated separate MaxNode and MinNode routines, doubling bug surface in window, mate-score, and pruning code.

Algorithmic & Chess Mechanism

Every evaluation score is defined strictly from the perspective of the side to move (+100 cp always means +1 pawn for the active side). When descending to a child move, the search calls -negamax(depth - 1, -beta, -alpha): the opponent’s guaranteed lower bound -beta becomes the child’s upper ceiling, and -alpha becomes the child’s floor.

Role & Maturity in BalouChess

Used throughout crates/search, crates/values, and crates/nnue (engine, SPEC 003 and engine, SPEC 005 R1): evaluators always return side-to-move Centipawns values (evaluate(flipped_color) == -evaluate(color) on symmetric positions), while UCI output converts the root score cleanly to the protocol’s side-to-move convention (engine, SPEC 002 R8).

Practical Effect on Search, Play & Measurement

Halves search code complexity and eliminates asymmetric sign errors across pruning, extensions, and transposition-table bounds.

Primary Literature Citation

Donald E. Knuth and Ronald W. Moore, An Analysis of Alpha-Beta Pruning, Artificial Intelligence 6(4), 293–326, 1975.

Specified, not built yet Evaluation & NNUE ★ Core Study Article

Origin: 2018 · Yu Nasu (Shogi, 2018); Hisayori Noda & Stockfish 12 integration (2020)

NNUE (Incremental Integer Evaluation, Specified)

German term: NNUE (Inkrementelles Bewertungssystem, spezifiziert)

Also searched as: NNUE · inkrementelles NNUE · Yu Nasu 2018 · NnueEvaluator · 3UCE

Shallow, heavily overparameterized CPU integer evaluation architecture whose wide first layer takes ultra-sparse board features so make(mv) updates only the few changed piece weights incrementally instead of recomputing the whole first layer — specified for BalouChess, not built yet.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Published in May 2018 by Japanese researcher Yu Nasu (stylized backwards as ƎUИИ / NNUE) in computer-shogi research to achieve strong positional judgment on standard CPUs without requiring a GPU. Ported to chess by Hisayori Noda and Motohiro Isozaki in mid-2020 and merged into Stockfish 12 (September 2020), NNUE triggered the largest single leap in classical alpha-beta engine strength in decades.

Algorithmic & Chess Mechanism

On any chess board at most 32 pieces stand on 64 squares, meaning fewer than 5 % of binary piece-square inputs are active (1), and a quiet move flips only 2 inputs (1 removed, 1 added; a capture flips 3, castling flips 4). By caching the first-layer linear sum (accumulator of i16 integers for both White’s and Black’s perspectives), push updates that vector via 2–4 vector additions/subtractions, followed by tiny quantized dense layers (i8 dot products) at leaf evaluation.

Role & Maturity in BalouChess

Specified in crates/nnue (NnueEvaluator, engine, SPEC 005) and the separate balou-training pipeline (engine, SPEC 013), not built yet: today BalouChess runs MaterialEvaluator, while the Evaluator trait (refresh, push, pop, evaluate) is already wired into crates/search and no NNUE network exists yet until self-play training from scratch passes Netzpass and SPRT.

Practical Effect on Search, Play & Measurement

Unites deep pattern recognition (king safety, color complexes, dynamic compensation) with high-throughput alpha-beta tree search on ordinary single-core or future planned multi-core CPUs.

Primary Literature Citation

Yu Nasu, Efficiently Updatable Neural-Network-based Evaluation Functions for Computer Shogi, 28th World Computer Shogi Championship Technical Paper (May 2018); Hisayori Noda ("nodchip"), Stockfish-NNUE port (2020).

Specified, not built yet Advisor, MCTS & Learning ★ Core Study Article

Origin: 2026 · BalouChess Architecture (engine, SPEC 010, engine, ADR 0012 & engine, ADR 0014)

Non-Blocking CPU+GPU Knowledge Pump

German term: Niemals blockierende CPU+GPU-Wissenspumpe

Also searched as: Wissenspumpe · CPU+GPU-Wissenspumpe · niemals blockierende CPU+GPU-Wissenspumpe · Neuronaler Cache · Knowledge Pump

BalouChess’s specified asynchronous hybrid architecture where the CPU alpha-beta search NEVER waits a single microsecond for GPU/NPU inference, instead pushing uncertain positions into a priority queue and harvesting large-net policy/value hints on subsequent iterative-deepening passes.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Historically, computer chess split into two incompatible camps: microsecond CPU alpha-beta engines (NNUE) that drop throughput catastrophically if forced to wait for millisecond GPU batches, and pure GPU MCTS engines (AlphaZero / Lc0) with orders-of-magnitude fewer nodes per second. BalouChess designed the asynchronous Wissenspumpe (engine, SPEC 010, planned and not built yet) to unite both worlds cleanly across Iterative Deepening.

Algorithmic & Chess Mechanism

During iteration d, whenever a node near the root exhibits high uncertainty (d >= min_depth, narrow score gap between top moves, or aspiration swing), the CPU thread drops its compact Position + PositionKey into a bounded lock-free priority queue (try_enqueue, dropping oldest low-priority items if full — NEVER blocking!). Meanwhile, a separate balou-advisor process batches those positions on GPU/NPU and writes { best_moves, wdl, uncertainty } into a lock-free Neuronaler Cache. When iteration d + 1 or d + 2 revisits those same PositionKeys milliseconds later, the hints are waiting in cache in O(1)!

Role & Maturity in BalouChess

Specified in engine, SPEC 010 (R1–R8), not built yet, and explained in Chapter 8 of the Algorithm Atlas. Strictly gated by three iron invariants: (1) NoHints has 0 queue/cache overhead, (2) hints ONLY reorder behind TT-move and adjust reductions (R4, never setting bounds or pruning moves!), and (3) activation requires winning experiments E6 (simulated oracle) and E8 (equal total hardware budget).

Practical Effect on Search, Play & Measurement

Preserves 100 % unthrottled CPU alpha-beta tactical speed while enriching deep strategic bottlenecks with large-model guidance when a GPU/NPU is available.

Primary Literature Citation

BalouChess engine, SPEC 010 ("Wissenspumpe und Advisor") and architecture decisions engine, ADR 0012 & engine, ADR 0014 (2026).

Specified, not built yet Pruning & Extensions ★ Core Study Article

Origin: 1988 · Gordon Goetsch & Murray Campbell (1988/1990), Don Beal (1989), Christian Donninger (1993) & Omid David-Tabibi / Nathan Netanyahu (2002)

Null-Move Pruning (NMP) & Verification Search

German term: Nullzug-Abschnitt (NMP) & Verifikationssuche

Also searched as: NMP · Null-Move Pruning · Nullzug · make_null · Zugzwang-Verifikation

Forward-pruning probe that forfeits the right to move ("passes" the turn via make_null) and runs a shallow null-window search at depth d - 1 - R: if even giving the opponent 2 moves in a row still returns >= beta, the real position is almost certainly a beta cutoff.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Tested independently in the late 1980s by Gordon Goetsch & Murray Campbell (1988/1990) and Don Beal (1989), popularized by Christian Donninger’s adaptive R = 2..3 formulation in Nimzo (1993), and hardened against Zugzwang in 2002 by Omid David-Tabibi and Nathan Netanyahu via Verification Search.

Algorithmic & Chess Mechanism

Applied only at non-PV nodes when NOT in check, static_eval >= beta, consecutive null moves are forbidden, and non-pawn material remains. make_null flips side_to_move, clears any en-passant target, and updates PositionKey in O(1); if -search(d - 1 - R, -beta, -beta + 1) >= beta (with R ~ 3 + d / k + min((eval - beta) / m, c)), high-depth nodes run a reduced real-move verification search before returning the cutoff.

Role & Maturity in BalouChess

make_null and unmake_null are already implemented and property-tested in crates/core (engine, SPEC 001 R6), and full NMP with verification search and pawn-only guard is specified in engine, SPEC 003 section 3.3 behind an individual parameter switch for SPRT validation.

Practical Effect on Search, Play & Measurement

Slashes subtree sizes wherever one side already holds a clear advantage, letting the search invest saved nodes into critical contested lines.

Primary Literature Citation

Don F. Beal, Experiments with the Null Move, Advances in Computer Chess 5, 1989; Christian Donninger, Null Move and Deep Search, ICCA Journal 16(3), 1993; Omid David-Tabibi and Nathan S. Netanyahu, Verified Null-Move Pruning, ICGA Journal 25(3), 2002.

Specified, not built yet Parallelism & Hardware

Origin: 1990 · Multiprocessor virtual-memory architecture; BalouChess engine, SPEC 007 & engine, SPEC 009

NUMA Locality & Large/Huge Memory Pages

German term: NUMA-Lokalität & grosse Betriebssystem-Speicherseiten

Also searched as: NUMA · Huge Pages · Large Pages · TLB Miss · 2 MiB Pages

Backing multi-gigabyte transposition tables with 2 MiB OS Large/Huge Pages to slash CPU Translation Lookaside Buffer (TLB) misses on random hash probes, paired with per-socket local evaluation weights on multi-socket NUMA servers.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

With standard 4 KiB virtual memory pages, a 64 GiB transposition table spans 16,777,216 page-table entries — thrashing the CPU’s tiny hardware TLB on almost every random Zobrist lookup unless 2 MiB pages reduce page entries by 512×!

Algorithmic & Chess Mechanism

Requests transparent or explicit Large/Huge Pages (madvise(MADV_HUGEPAGE) on Linux, MEM_LARGE_PAGES on Windows) and falls back silently to normal 4 KiB allocation whenever OS privileges are absent (engine, SPEC 009 R4).

Role & Maturity in BalouChess

Specified in crates/hardware (engine, SPEC 009 R4) and crates/search (engine, SPEC 007 section 4, planned for workstation/server builds, not built yet).

Practical Effect on Search, Play & Measurement

Recovers substantial random-access RAM throughput on large hash sizes with graceful zero-configuration fallback.

Primary Literature Citation

BalouChess engine, SPEC 007 section 4 & engine, SPEC 009 R4 & section 2.4 (Large/Huge Pages and multi-socket NUMA).

Implemented in engine code Time & Protocols

Origin: 2004 · Fabien Letouzey (Polyglot .bin, 2004) & Stefan Pohl (UHO suites, 2021)

Opening Test Suites (UHO) & Polyglot Books

German term: Eröffnungssuiten (UHO) & Polyglot-Bücher

Also searched as: UHO · Unbalanced Human Openings · Polyglot Book · Eröffnungsbuch · Noob / Pohl Suites

Distinction between GUI play books (like Fabien Letouzey’s Polyglot .bin format) and unbalanced 6–8-move match test suites (UHO, +0.8 to +1.3 pawns) used with color reversal so two strong engines don’t draw >80 % of symmetric games from startpos.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

As top engines grew stronger, neutral openings produced >80 % draws, starving SPRT of decisive pairs until Stefan Pohl introduced Unbalanced Human Openings (UHO, 2021): pairing White+Black on a slightly White-favored exit tests BOTH conversion (Angreifer) and defense (Verteidiger) sharply!

Algorithmic & Chess Mechanism

Engine binaries themselves stay book-free so every move reflects pure engine search; the match runner (fastchess) feeds curated 8-ply opening lines in swapped-color pairs (AB and BA) from a SHA-256-pinned file.

Role & Maturity in BalouChess

Enforced in engine, SPEC 015 R3 and engine, SPEC 013 R1: balou contains zero external opening books, while SPRT suites pin balanced and unbalanced opening sets by SHA-256 and analyze them via frozen Buchrollen (R21, R27).

Practical Effect on Search, Play & Measurement

Dramatically speeds up SPRT statistical power while exposing asymmetric attacking vs. defending weaknesses.

Primary Literature Citation

Stefan Pohl, Unbalanced Human Openings (UHO) for Engine Testing (2021) — eliminating draw inflation in SPRT matches; BalouChess engine, SPEC 015 R3.

General reference concept Rules, Tactics & Endgame

Origin: 1690 · Gioachino Greco (~1620), André Danican Philidor (1749) & Marcel Duchamp / Vitaly Halberstadt (1932)

Opposition & Key Squares

German term: Opposition & Schlüsselfelder

Also searched as: Opposition · Fernopposition · Schlüsselfelder · Dreiecksmanöver

Fundamental King-and-Pawn endgame geometry where facing kings separated by an odd number of squares force the side to move to yield access to a pawn’s key promotion squares.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Analyzed by Greco (~1620) and Philidor (1749), generalized into the theory of conjugate/corresponding squares by Grigoriev, Bianchetti, and Duchamp & Halberstadt (1932).

Algorithmic & Chess Mechanism

For a non-rook pawn on the 5th rank, the three squares directly ahead on the 6th rank are key squares; occupying any of them wins regardless of who moves, whereas earlier ranks require seizing the opposition.

Role & Maturity in BalouChess

Verified implicitly via deep alpha-beta search, KPK retrograde reference data (kpk.py), and future planned NNUE king-bucket representations.

Practical Effect on Search, Play & Measurement

Turns subtle 1-tempo king maneuvers into decisive endgame wins or rock-solid draws.

Primary Literature Citation

André Danican Philidor, Analyse du jeu des Échecs (1749); Vitaly Halberstadt and Marcel Duchamp, L’opposition et les cases conjuguées sont réconciliées (1932).

Implemented in engine code SPRT & Match Statistics ★ Core Study Article

Origin: 1935 · Ronald A. Fisher (The Design of Experiments, 1935); BalouChess engine, SPEC 010 & engine, SPEC 015

Paired Experimental Arms (Arm A / Arm B & Controls)

German term: Gepaarte Versuchsarme (Arm A / Arm B & Kontrollarme)

Also searched as: Arm-A/B · Arm A · Arm B · Arm C · Arm D · AB/BA Farbtausch

Controlled experimental design comparing Arm A (baseline with the tested mechanism at its off-value) against Arm B (identical commit + 1 active mechanism) across swapped-color pairs (AB / BA) under identical hardware and clock budgets — extended to 4 arms (A..D) for Advisor overhead & noise controls.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Rooted in Ronald Fisher’s 1935 paired-block experimental methodology. In chess engine engineering, bundling multiple changes into one test or comparing unequal CPU/GPU budgets routinely masks regressions inside winning bundles; BalouChess enforces strict single-factor arm isolation across all specs.

Algorithmic & Chess Mechanism

In standard 2-arm search/eval tests (engine, SPEC 015 R2–R3), Arm A and Arm B differ in at most 1 feature switch and play every opening exit twice (A White vs B Black, then B White vs A Black) on pinned CPU cores with identical Hash, Threads, and MoveOverhead. In planned Wissenspumpe experiments (engine, SPEC 010 section 5.3), a 4-arm ablation separates content from side effects: Arm A (NoHints, zero accelerator load), Arm B (IgnoredHints, full GPU/IPC load running but hints discarded -> pure thermal/IPC overhead check!), Arm C (PermutedHints, shuffled hints -> pure noise check!), and Arm D (ActiveHints).

Role & Maturity in BalouChess

Used across engine, WP 0123, engine, WP 0151, engine, SPEC 010, engine, SPEC 015, engine, SPEC 016, AND mirrored for website visitors inside the planned Web-Lab’s deterministic A/B Split-Run (engine, SPEC 017 section 4.2, comparing Arm A and Arm B side-by-side on the exact same node budget).

Practical Effect on Search, Play & Measurement

Guarantees causal attribution: when Arm B beats Arm A (and Arm D beats A, B, and C), the gain provably comes from the algorithm’s information rather than luck or hidden resource asymmetry.

Primary Literature Citation

Ronald A. Fisher, The Design of Experiments (1935) on paired block designs; BalouChess engine, SPEC 015 R2–R3 & engine, SPEC 010 section 5.3 (Arm A..D).

Research hypothesis Advisor, MCTS & Learning

Origin: 2026 · BalouChess Research Hypothesis E9 (engine, SPEC 010 section 5.6)

Parallel Refutation Companion Searcher (Zweitsucher)

German term: Gleichzeitiger Zweitsucher (Widerlegungs-Begleitsuche)

Also searched as: Zweitsucher · Refutation Companion · Experiment E9 · Gegenzug-Warnsuche

BalouChess research hypothesis (E9) investigating whether a lightweight parallel companion searcher scanning specifically for unexpected tactical/quiet opponent refutations adds strength beyond standard Lazy SMP at equal total CPU+GPU budget.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Formulated in engine, SPEC 010 section 5.6 using the specified HintSource abstraction so alternative research roles can compete fairly against plain Lazy SMP.

Algorithmic & Chess Mechanism

Feeds refutation warnings back through the exact same specified HintSource queue without touching crates/search bounds or correctness invariants.

Role & Maturity in BalouChess

Pure research outlook (E9, engine, SPEC 010 section 5.6): must beat an additional Lazy-SMP worker thread under identical total hardware resources before ever entering defaults.

Practical Effect on Search, Play & Measurement

Highlights the modularity of the planned HintSource boundary and BalouChess’s refusal to ship unverified complexity.

Primary Literature Citation

BalouChess engine, SPEC 010 section 5.6 ("Ausblick: Gleichzeitiger Zweitsucher", Experiment E9, 2026).

Specified, not built yet Rules, Tactics & Endgame

Origin: 1749 · André Danican Philidor ("Pawns are the soul of chess")

Passed Pawn & Pawn Structure

German term: Freibauer & Bauernstruktur

Also searched as: Freibauer · Bauernstruktur · Isolani · Rückständiger Bauer · Pawn Hash

Long-term skeletal structure of the position determined by pawns; a passed pawn faces no opposing pawn on its own file or adjacent files ahead of it.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Philidor (1749) revolutionized chess understanding by identifying pawn structure as the strategic backbone of play, expanded systematically by Steinitz, Nimzowitsch, and Kmoch (1959).

Algorithmic & Chess Mechanism

Because pawns never move backward, pawn-structure features change rarely and serve as key indices for pawn correction history (pawn_key), pawn-indexed quiet move history, and neural feature buckets.

Role & Maturity in BalouChess

Pawn-structure correction history (engine, SPEC 003 R16) and pawn-indexed quiet history are specified in engine, SPEC 003 section 3.3; blocked-pawn-pair counts after move 20 are also tracked exploratorily in the Fehlerbuch (engine, SPEC 015).

Practical Effect on Search, Play & Measurement

Guides long-horizon conversion decisions where tactical calculation alone cannot distinguish healthy from crippled structures.

Primary Literature Citation

André Danican Philidor, Analyse du jeu des Échecs (London, 1749); Hans Kmoch, Pawn Power in Chess (1959).

Implemented in engine code Rules, Tactics & Endgame

Origin: 1475 · Scachs d’amor (Valencia, ~1475; modern 4-piece choice 19th century)

Pawn Promotion & Underpromotion

German term: Bauernumwandlung & Unterverwandlung

Also searched as: Umwandlung · Unterverwandlung · Springerumwandlung · a7a8q · a7a8n

Mandatory transformation of a pawn reaching the 8th/1st rank into Queen, Rook, Bishop, or Knight of the same color; choosing Rook, Bishop, or Knight is an underpromotion.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Once the powerful modern Queen replaced the medieval Ferz around 1475 in Valencia, pawn promotion became the strategic goal of almost every endgame; famous studies such as the Saavedra position (1895, Rook underpromotion avoiding stalemate) proved why engines must generate all 4 promotion pieces.

Algorithmic & Chess Mechanism

Full move generation emits 4 distinct moves per promotion target (q, r, b, n). In quiescence search, non-capture Queen promotions belong to tactical moves (legal_tactical_moves), while quiet underpromotions enter the first quiescence ply whenever they give check (such as a royal Knight fork!).

Role & Maturity in BalouChess

Implemented in crates/core (engine, SPEC 001 R5) and crates/search (engine, SPEC 003 R22), and supported on the interactive SVG board via an accessible 4-piece promotion overlay.

Practical Effect on Search, Play & Measurement

Finds knight-check forks and stalemate-avoiding rook/bishop underpromotions without inflating deep quiescence branching.

Primary Literature Citation

Castellví, Vinyoles and Fenollar, Scachs d’amor (Valencia, ~1475); FIDE Laws of Chess, Article 3.7.e.

Implemented in engine code SPRT & Match Statistics ★ Core Study Article

Origin: 2018 · Michel Van den Bergh

Pentanomial Game-Pair Model (0 to 2 Points)

German term: Pentanomiales Paarmodell (0 bis 2 Punkte)

Also searched as: Pentanomial · LL LD DD+WL WD WW · 5 Paarausgänge · Van den Bergh 2018

Statistical variance model treating each 2-game opening pair (AB + BA with swapped colors on the same book exit) as 1 atomic observation across 5 possible score outcomes (0, 0.5, 1, 1.5, 2 points) instead of 2 independent single games.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Early chess SPRTs used a trinomial (Win, Draw, Loss) formula assuming individual games were independent. Once unbalanced UHO openings became standard — where White wins 70 % from the book exit — AB and BA regularly split 1–0 and 0–1 (WL, netting 1.0 point with zero variance!), causing trinomial models to overestimate variance wildly until Belgian mathematician Michel Van den Bergh derived the exact 5-outcome pentanomial SPRT in 2018.

Algorithmic & Chess Mechanism

Across N opening pairs, observed counts [N_00, N_05, N_10, N_15, N_20] track LL (0 pts), LD (0.5 pts), DD + WL (1.0 pt), WD (1.5 pts), and WW (2.0 pts). Because symmetric white-advantage washouts (WL) land inside the neutral middle bucket 1.0 alongside double draws (DD), empirical pair variance drops sharply, cutting the number of games required to decide an SPRT by 20–40 % while maintaining exact Type-I/II error calibration!

Role & Maturity in BalouChess

Mandatory for all SPRT and calibration runs in BalouChess (engine, SPEC 015 R3 and R5) via fastchess paired opening execution and logged explicitly as all 5 bucket counts inside every Fehlerbuch report (R17).

Practical Effect on Search, Play & Measurement

Makes unbalanced UHO opening suites statistically sound and dramatically reduces compute hours per merged search patch.

Primary Literature Citation

Michel Van den Bergh, Normalized Elo and Pentanomial SPRT Variance Model for Paired Chess Openings (2018); BalouChess engine, SPEC 015 R5.

Implemented in engine code Move Generation & Perft ★ Core Study Article

Origin: 1982 · Ken Thompson & Robert Hyatt (Crafty)

Perft (Performance Test & Move-Tree Verification)

German term: Perft (Blattknoten-Zähltest des Zuggenerators)

Also searched as: Perft · perft divide · Standard-EPD-Suite · Zugfolgenzählung

Diagnostic tree walk without pruning or evaluation that counts the exact number of legal leaf move sequences at depth d, exposing even a single edge-case bug in move generation, castling, en passant, promotion, or make/unmake.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Used informally by early chess programmers (such as Ken Thompson verifying Belle’s hardware move generator against known starting-position node counts: 20, 400, 8,902, 197,281, 4,865,609, 119,060,324) and popularized under the command name perft (with divide per-root-move breakdown) by Robert Hyatt in Crafty during the mid-1990s.

Algorithmic & Chess Mechanism

At depth 0 perft returns 1; at depth d > 0 it iterates over every legal move, calls make -> perft(d - 1) -> unmake, and prints <move>: <count> per root move plus Total: <sum>. When --diff compares two engines and finds a mismatch at root move m, it automatically descends into m at depth d - 1 until it isolates the exact offending FEN at depth 1!

Role & Maturity in BalouChess

Implemented in tools/perft (engine, SPEC 014 R1–R3 and engine, SPEC 001 section 6.1): BalouChess passes 32/32 reference node counts across 6 standard tactical/endgame positions (standard.epd) and runs CI differential checks at depth 3 against Stockfish 19 and Lynx 1.11.0 with 0 deviations (documented in verified-facts.json).

Practical Effect on Search, Play & Measurement

Proves move-generator and make/unmake correctness mathematically, though (as BalouChess explicitly notes) Perft measures move generation only, not search or playing strength.

Primary Literature Citation

Robert M. Hyatt, Crafty source documentation and Chessprogramming Wiki "Perft" & "Perft Results" reference suites (1995–2026).

Specified, not built yet Board, Bitboards & TT

Origin: 2013 · Intel Haswell BMI2 ISA (2013); Zach Wegner & Stockfish contributors

PEXT Bitboards (BMI2 Parallel Bits Extract)

German term: PEXT-Bitboards (BMI2-Hardware-Bitextraktion)

Also searched as: PEXT · BMI2 · _pext_u64 · Hardware Bit Extract

Hardware x86-64 BMI2 instruction (_pext_u64) that packs masked sliding-ray blocker bits directly into contiguous low bits without a magic multiplication and shift.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Introduced with Intel Haswell (2013). Notably, AMD Zen 1 and Zen 2 CPUs (2017–2019) emulated PEXT in microcode (~18 cycles instead of 3!), making blind use of PEXT slower than Magic Bitboards until Zen 3 (2020) added native hardware execution.

Algorithmic & Chess Mechanism

Replaces (occ & mask) * magic >> shift with _pext_u64(occ, mask), requiring unsafe CPU intrinsics and fast hardware BMI2.

Role & Maturity in BalouChess

Deliberately deferred in BalouChess (engine, SPEC 001 section 8 and engine, SPEC 009 R6): crates/core enforces #![forbid(unsafe_code)] and uses pure Magic Bitboards; engine, SPEC 009 R6 forbids enabling PEXT on any CPU without a local measurement proving speedup (avoiding the Zen 2 microcode trap).

Practical Effect on Search, Play & Measurement

Illustrates why BalouChess couples hardware instructions strictly to verified local measurements rather than naive CPUID flags.

Primary Literature Citation

Intel 64 and IA-32 Architectures Software Developer’s Manual, Bit Manipulation Instruction Set 2 (PEXT), 2013.

Specified, not built yet Time & Protocols ★ Core Study Article

Origin: 1993 · Steven J. Edwards (PGN Standard, 1993–1994)

PGN (Portable Game Notation), SAN & NAGs

German term: PGN (Portable Game Notation), SAN & NAG-Symbole

Also searched as: PGN · SAN · NAG · RAV · Seven Tag Roster · $1 $2 $4

Human- and machine-readable archival format for full chess games combining bracketed metadata headers ([Event "..."], [FEN "..."]), disambiguated Standard Algebraic Notation (SAN, such as Nbd7, R1e5+), {...} comments, ( ... ) Recursive Annotation Variations (RAV), and $1..$255 Numeric Annotation Glyphs (NAG).

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Designed by Steven J. Edwards on Usenet (rec.games.chess) in 1993–1994 to rescue chess games from incompatible proprietary database formats. Unlike UCI’s coordinate e2e4 wire format, PGN’s SAN (Nf3, exd5, O-O-O#) omits the origin square unless two identical pieces can legally reach the same destination!

Algorithmic & Chess Mechanism

Parsing SAN requires maintaining full legal move generation ply by ply! For instance, if White knights stand on c3 and g1, yet Nc3 is pinned to the White king on e1 by a Black bishop on b4, then Ne2 in PGN unambiguously means Ng1-e2 because Nc3-e2 is illegal! Real-world PGNs also nest arbitrary { comments }, ; line comments, $1 (!), $2 (?), $4 (??) glyphs, and recursive ( ... ) sidelines.

Role & Maturity in BalouChess

Specified in clean-room TypeScript on the web side (balouchess-web, planned for the local Analysis Lab with zero third-party GPL libraries and zero server uploads, not built yet), while tools/match_runner in the sister engine repository already parses tournament PGNs offline for BalouChess’s Fehlerbuch and Verlust-Labor (engine, SPEC 015).

Practical Effect on Search, Play & Measurement

Lets players paste their own tournament or online games for instant, completely private local analysis.

Primary Literature Citation

Steven J. Edwards, Standard: Portable Game Notation Specification and Implementation Guide (1994).

Implemented in engine code Board, Bitboards & TT

Origin: 1950 · Claude E. Shannon & Alan M. Turing

Piece-on-Square Mailbox Array (64 Squares)

German term: Feldtabelle (64-Felder-Direktzugriff)

Also searched as: Feldtabelle · Mailbox 64 · board[sq] · Redundante Darstellung

Compact 64-byte array mapping each square 0..63 directly to the occupying piece (or empty) in O(1), complementing piece-centric bitboards.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Square-indexed arrays were the very first board representation in 1950s chess programs; Chess 4.5 combined them with bitboards so "what stands on e5?" never loops over 12 bitboards.

Algorithmic & Chess Mechanism

During capture generation and make(mv), looking up the captured victim on to_sq is a single array index board[to_sq] instead of testing 6 enemy piece bitboards.

Role & Maturity in BalouChess

Implemented in crates/core (engine, SPEC 001 R1) and verified by property tests to stay strictly synchronized with all bitboards after every move and null move.

Practical Effect on Search, Play & Measurement

Gives O(1) square lookup alongside O(1) set-wise bitboard operations.

Primary Literature Citation

Claude E. Shannon, Programming a Computer for Playing Chess (1950); hybrid bitboard + array design in Chess 4.5 (1977).

Implemented in engine code Move Generation & Perft ★ Core Study Article

Origin: 1977 · David J. Slate & Larry Atkin (Chess 4.5); Gerd Isenberg (bitboard ray algebra)

Pin Masks & Check Evasion Masks

German term: Fesselungsmasken & Schachabwehr-Masken

Also searched as: Fesselungsmaske · Pin Mask · Checkers · Evasion Mask · Zwischenfeldmaske

Precomputed per-node 64-bit geometric masks identifying checking pieces, valid block/capture squares in single check, and friendly pieces pinned along rays to their own king.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Originating in Chess 4.5 bitboard attack sets and refined in modern bitboard engines (documented extensively by Gerd Isenberg), upfront pin and check masks replaced slow trial-and-error make -> in_check -> unmake loops.

Algorithmic & Chess Mechanism

Three cases govern non-king moves: (0 checkers) unpinned pieces move freely while a pinned piece restricts its targets by & line_through(king, pinner); (1 checker) non-king pieces further intersect targets with evasion_mask = checker_sq | between(king, checker); (>= 2 checkers, double check) non-king masks collapse to 0, leaving king moves only.

Role & Maturity in BalouChess

Implemented in crates/core (engine, SPEC 001 R2–R4) and visualized live in 64-bit hex and square overlays inside BitboardPinInspector.svelte on the Algorithm Atlas.

Practical Effect on Search, Play & Measurement

Makes strictly legal move generation nearly as fast as pseudo-legal generation while eliminating illegal-move rollback overhead.

Primary Literature Citation

David J. Slate and Larry Atkin, Chess 4.5 (1977); Gerd Isenberg, Chessprogramming Wiki "Checks and Pinned Pieces (Bitboards)" (2007–2020).

Specified, not built yet Advisor, MCTS & Learning

Origin: 2016 · David Silver et al. (AlphaGo / AlphaZero, 2016–2017)

Policy Head, Value Head & Uncertainty Head

German term: Zugkopf (Policy), Wertkopf (Value) & Unsicherheitskopf

Also searched as: Policy Head · Value Head · Uncertainty · Multi-Task Chess Head

Multi-head output design on a shared representation trunk: the Policy Head ranks candidate moves (from, to, promo) before search, the Value Head predicts [P(Win), P(Draw), P(Loss)], and optional auxiliary heads estimate remaining game length or epistemic uncertainty.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

AlphaGo Zero (2017) showed in DeepMind research that sharing one trunk between policy and value acts as a powerful regularizer, outperforming separate policy and value networks.

Algorithmic & Chess Mechanism

Masking illegal moves before softmax yields clean prior probabilities over legal moves, while 3-way WDL cross-entropy preserves draw-tendency awareness lost by scalar [-1, +1] targets.

Role & Maturity in BalouChess

Specified in engine, SPEC 010 section 3.2 (Hint carrying top-k move weights, NetWdl, and uncertainty) and stored optionally in BALOUDAT v1 (engine, SPEC 012 tags 1 and 2).

Practical Effect on Search, Play & Measurement

Supplies both move-ordering guidance (Policy) and strategic win/draw/loss awareness (WDL) in a single accelerator pass.

Primary Literature Citation

David Silver et al., Mastering the Game of Go without Human Knowledge, Nature 550, 354–359, 2017 (dual policy-value trunk).

General reference concept Time & Protocols

Origin: 1977 · Chess 4.5 ("Permanent Brain", 1977) & Stefan Meyer-Kahlen (UCI stateless go ponder, 2000)

Pondering & ponderhit (UCI Reference Concept)

German term: Pondern & ponderhit (UCI-Referenzkonzept)

Also searched as: Ponder · ponderhit · bestmove ... ponder ... · Permanent Brain

Thinking ahead during the opponent’s clock turn on the predicted reply pv[1]: the GUI starts go ponder ..., and if the opponent plays the predicted move, ponderhit seamlessly switches the running search from unlimited ponder mode to live clock budgets without losing a single node!

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Called "Permanent Brain" in 1970s–1990s dedicated chess computers; UCI (2000) made pondering completely stateless by having the GUI already apply the speculative opponent move before go ponder.

Algorithmic & Chess Mechanism

During go ponder, time limits remain unarmed (the engine NEVER self-terminates early, even on forced mate!). The instant ponderhit arrives, the time controller arms (soft_ms, hard_ms) relative to elapsed time; if the opponent played a different move, the GUI sends stop followed by a fresh position + go.

Role & Maturity in BalouChess

Deliberately NOT implemented in BalouChess (engine, SPEC 002 R5 and engine, SPEC 006): Balou advertises no Ponder UCI option, emits bestmove <move> without a ponder suffix, and skips any unexpected ponder token on go safely without error, keeping engine state and test matches strictly non-ponder.

Practical Effect on Search, Play & Measurement

Clarifies a classic UCI protocol mechanism and why engine testing harnesses almost universally run with pondering disabled.

Primary Literature Citation

Stefan Meyer-Kahlen, UCI Specification (2000) go ponder and ponderhit; BalouChess engine, SPEC 002 R5 & engine, SPEC 006.

Implemented in engine code Search & Windows

Origin: 1975 · Donald E. Knuth & Ronald W. Moore (PV concept); triangular PV array in Crafty / Fruit

Principal Variation (PV)

German term: Hauptvariante (Principal Variation)

Also searched as: PV · Hauptvariante · Dreiecks-PV-Tabelle · Triangular PV Table

Sequence of optimal moves from the root (e2e4 e7e5 g1f3 ...) backing up the exact root score when both sides choose their best response at every ply.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Extracting the PV solely by walking the transposition table after search suffers from hash overwrites and truncations; engines therefore maintain an explicit triangular ply-indexed PV array during recursion.

Algorithmic & Chess Mechanism

Whenever a move at ply p raises alpha (alpha < score < beta), ply p writes [mv] followed by the child’s PV slice from ply p + 1, guaranteeing every emitted move is strictly legal in sequence.

Role & Maturity in BalouChess

Implemented in crates/search (engine, SPEC 003 R2 and R10): unit-tested so playing all moves of pv from the root never encounters an illegal move, with pv[0] always forming the legal bestmove reply (engine, SPEC 002 R8).

Practical Effect on Search, Play & Measurement

Gives players, GUIs, and diagnostic tools (X-Ray, Verlust-Labor) the concrete tactical justification behind every centipawn score.

Primary Literature Citation

Donald E. Knuth and Ronald W. Moore, An Analysis of Alpha-Beta Pruning (1975); triangular PV array implementation in classical UCI engines.

Implemented in engine code Search & Windows ★ Core Study Article

Origin: 1980 · Judea Pearl (Scout, 1980), John P. Fishburn & Raphael Finkel (PVS, 1980/1982), Murray Campbell & Tony Marsland (1983) & Alexander Reinefeld (NegaScout, 1983)

Principal Variation Search (PVS / NegaScout)

German term: Principal Variation Search (PVS / NegaScout)

Also searched as: PVS · NegaScout · Nullfenstersuche · Zero-Window Search · Scout-Suche

Refinement of Alpha-Beta that searches ONLY the first ordered move with the full [alpha, beta] window and tests every subsequent move with a razor-thin null window [alpha, alpha + 1], re-searching with a full window only on the rare surprise where a later move beats alpha.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Inspired by Judea Pearl’s Scout algorithm (1980), formulated for alpha-beta by Fishburn & Finkel (1980/1982), benchmarked as Principal Variation Search by Murray Campbell and Tony Marsland (1983), and cast into clean Negamax form as NegaScout by Alexander Reinefeld in Hamburg (1983). Today virtually every strong alpha-beta chess engine runs PVS.

Algorithmic & Chess Mechanism

Because TT-move and staged move ordering place the true best move at index 0 roughly 90 % of the time, moves i >= 1 almost always need only a cheap boolean proof (score <= alpha). A zero-width window [alpha, alpha + 1] contains zero interior values, so every single node inside the scout subtree acts as a fast Cut-node or All-node! Only if the scout test returns alpha < score < beta does PVS pay for a full [alpha, beta] re-search, populated with fresh transposition-table hints from the scout pass.

Role & Maturity in BalouChess

Implemented in crates/search (engine, SPEC 003 R7), verified against reference Minimax for exact root-score equivalence when heuristic forward prunings are switched off, and visualized step-by-step in Chapter 4 of the Algorithm Atlas (PvsWindowSimulator.svelte).

Practical Effect on Search, Play & Measurement

Shrinks non-PV subtrees dramatically whenever move ordering is strong while preserving 100 % mathematical soundness.

Primary Literature Citation

Murray S. Campbell and T. Anthony Marsland, A Comparison of Minimax Tree Search Algorithms, Artificial Intelligence 20(4), 347–367, 1983; Alexander Reinefeld, An Improvement to the Scout Tree-Search Algorithm, ICCA Journal 6(4), 1983.

Specified, not built yet Pruning & Extensions ★ Core Study Article

Origin: 1995 · Michael Buro (ProbCut, 1995) & Yngvi Björnsson / Tony Marsland (Multi-Cut, 1998)

ProbCut & Multi-Cut Pruning

German term: ProbCut & Multi-Cut (Stichproben-Abschnitt)

Also searched as: ProbCut · Multi-Cut · Stichproben-Abschnitt · Buro 1995 · Björnsson Marsland

Statistical shallow-search forward pruning: ProbCut uses a shallow search (d reduced by ~4 plies) against a raised threshold beta + margin to predict a deep beta cutoff, while Multi-Cut cuts off if at least C out of the first M moves exceed beta at reduced depth.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Invented by Michael Buro in 1995 for his Othello program Logistello, modeling deep value v_d as a linear regression a * v_s + b + noise of shallow value v_s. In 1998, Yngvi Björnsson and Tony Marsland introduced Multi-Cut specifically for tactical games like chess where 1 shallow tactical refutation might fail deeper, whereas C >= 3 independent refutations rarely ALL collapse at once.

Algorithmic & Chess Mechanism

In chess ProbCut (depth >= 5), the engine generates good tactical captures (SEE >= rbeta - static_eval) and tests each first at quiescence (qsearch) and then at shallow depth depth - 4 against rbeta = beta + probcut_margin; if a capture clears both hurdles, the deep node returns rbeta (or beta) immediately.

Role & Maturity in BalouChess

Both ProbCut ("Stichproben-Abschnitt") and singular Multi-Cut are specified in engine, SPEC 003 section 3.3 as modular SPRT candidates with independent off-switches.

Practical Effect on Search, Play & Measurement

Prunes deep tactical blowouts (depth >= 5..12) early whenever an obvious winning capture already crushes beta by a wide safety margin.

Primary Literature Citation

Michael Buro, ProbCut: An Effective Selective Extension of the Alpha-Beta Algorithm, ICCA Journal 18(2), 71–76, 1995; Yngvi Björnsson and T. Anthony Marsland, Multi-Cut Pruning in Alpha-Beta Search, CG 1998.

Research hypothesis Pruning & Extensions

Origin: 1994 · L. Victor Allis, Maarten van der Meulen & Jaap van den Herik (1994); Ayumu Nagai (df-pn, 2002)

Proof-Number Search (PNS & df-pn)

German term: Beweiszahl-Suche (Proof-Number Search, PNS)

Also searched as: PNS · df-pn · Proof-Number Search · Disproof Number · Allis 1994

AND/OR tree search tracking two integers per node — the minimum leaf count needed to prove a goal (pn) and to disprove it (dn) — always expanding the "most-proving node" where branching resistance is smallest.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Invented by Victor Allis, van der Meulen, and van den Herik in Maastricht (1994, solving Connect Four and Go-Moku) and reformulated in linear memory as depth-first proof-number search (df-pn) by Ayumu Nagai (2002) for shogi tsume solvers.

Algorithmic & Chess Mechanism

At an OR-node (attacker), pn = min(child.pn) and dn = sum(child.dn); at an AND-node (defender), pn = sum(child.pn) and dn = min(child.dn). Narrow forcing lines naturally receive small pn and are explored 30+ plies deep.

Role & Maturity in BalouChess

Directly inspires BalouChess’s research hypothesis Aufwandssuche (E15 inside Wurzelregel, engine, SPEC 016 section 4.4), which compares how many distinct defensive tasks two near-equal root moves impose on the opponent.

Practical Effect on Search, Play & Measurement

Connects exact AND/OR theorem-proving theory to practical human-like "practical difficulty" move choices.

Primary Literature Citation

L. Victor Allis, Maarten van der Meulen and H. J. van den Herik, Proof-Number Search, Artificial Intelligence 66(1), 91–124, 1994; Ayumu Nagai, Df-pn Algorithm for Searching AND/OR Trees, 2002.

Research hypothesis Rules, Tactics & Endgame

Origin: 1925 · Aaron Nimzowitsch (1925) & Alexander Kotov (1971)

Prophylaxis & Candidate Moves

German term: Prophylaxe & Kandidatenzüge

Also searched as: Prophylaxe · Kandidatenzüge · Kotow-Baum · Unerwarteter ruhiger Zug

Anticipating and neutralizing the opponent’s quiet plans before they materialize (prophylaxis), paired with disciplined selection and verification of top candidate moves.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Nimzowitsch coined prophylaxis in 1925 (refined by Tigran Petrosian and Anatoly Karpov), while Alexander Kotov (1971) formalized human candidate-move tree discipline.

Algorithmic & Chess Mechanism

Empirical analysis of 300 TCEC Superfinal games (balou-hebel-nachpruefung.md N3) revealed that 19 of 23 unexpected opponent moves preceding decisive evaluation collapses were QUIET moves rather than captures.

Role & Maturity in BalouChess

Directly motivates BalouChess’s specified Wurzelregel (engine, SPEC 016) and the research hypothesis Haltesuche (E12/E13), which explicitly probes dangerous quiet opponent tries among near-equal root candidates.

Practical Effect on Search, Play & Measurement

Bridges classical strategic mastery with BalouChess’s empirical loss-analysis findings.

Primary Literature Citation

Aaron Nimzowitsch, Mein System (1925); Alexander Kotov, Candidate-Move Tree Discipline in Master Play (1971).

Implemented in engine code Pruning & Extensions ★ Core Study Article

Origin: 1950 · Claude E. Shannon (1950), Alexander Brudno (1963) & Knuth / Moore (1975)

Pruning (Sound Backward vs. Heuristic Forward Pruning)

German term: Abschneidung (Pruning: Exakter vs. heuristischer Schnitt)

Also searched as: Prune · Pruning · Abschneiden · Vorwärtsschnitt · Backward Pruning · Forward Pruning

Umbrella term for discarding or shortening subtrees during game-tree search, divided strictly into exact backward pruning (which provably preserves the Minimax score) and risk-calibrated forward pruning (which skips or reduces unlikely branches for huge depth gains).

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Computer chess splits pruning into two eras: 1956–1985 perfected exact backward pruning (Alpha-Beta, PVS, Mate Distance Pruning), whereas 1988–present (NMP, ProbCut, Futility, LMR) conquered selective forward pruning by pairing reductions with cheap verification re-searches rather than irreversible blind move deletion.

Algorithmic & Chess Mechanism

Backward pruning cuts a node ONLY after searching at least 1 child proves score >= beta. Forward pruning acts BEFORE searching a child (or searches it at reduced depth d - R), guided by static evaluation margins (RFP, Futility, Razoring), null-move probes (NMP), shallow probes (ProbCut), or move rank (LMR, LMP, SEE). Sound guards — never pruning in check, never pruning the TT-move, and protecting mate bounds — bound error risk.

Role & Maturity in BalouChess

In crates/search (engine, SPEC 003 R12 and section 3.3), exact backward pruning (Alpha-Beta, PVS) forms the baseline, while every heuristic forward pruning has an explicit off-value in SearchParams so turning all heuristic prunings off restores 100 % exact Minimax equivalence in unit tests, and each forward pruning must win its own isolated SPRT before activation.

Practical Effect on Search, Play & Measurement

Compresses chess’s effective branching factor from ~6 (pure Alpha-Beta) down below ~2, unlocking modern 25+ ply tactical and strategic lookahead.

Primary Literature Citation

Claude E. Shannon (1950); Donald E. Knuth and Ronald W. Moore, An Analysis of Alpha-Beta Pruning (1975); Ernst A. Heinz, Scalable Search in Computer Chess (2000).

Implemented in engine code Search & Windows

Origin: 1975 · Donald E. Knuth & Ronald W. Moore (Types 1, 2, 3); Tony Marsland & Reinefeld (PV/Cut/All)

PV-Nodes, Cut-Nodes & All-Nodes

German term: Knotentypen: PV-, Cut- und All-Knoten

Also searched as: PV-Node · Cut-Node · All-Node · Typ-1/2/3-Knoten · Expected Cut Node

Fundamental taxonomy of alpha-beta tree nodes: PV-nodes (alpha < score < beta, exact value), Cut-nodes (score >= beta, lower bound from 1 refutation), and All-nodes (score <= alpha, upper bound after checking EVERY move).

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Defined by Knuth and Moore (1975) as Type 1, Type 2, and Type 3 nodes on minimal game trees and renamed PV, Cut, and All nodes by Marsland and Reinefeld in the 1980s.

Algorithmic & Chess Mechanism

Along a null-window subtree, expected Cut-nodes and All-nodes alternate ply by ply: children of an All-node are Cut-nodes, and non-first children of a PV-node start as Cut-nodes. Many aggressive prunings (NMP, ProbCut, Multi-Cut) apply exclusively outside PV-nodes, and LMR can reduce expected Cut-nodes differently.

Role & Maturity in BalouChess

Tracked directly in crates/search (is_pv and Bound::Exact / Lower / Upper in crates/tables, engine, SPEC 003 and engine, SPEC 004), with cutNode-dependent LMR adjustments cataloged in engine, SPEC 003 section 3.3.

Practical Effect on Search, Play & Measurement

Prevents destructive forward pruning along the principal variation while focusing reductions where refutations or full-width failures are expected.

Primary Literature Citation

Donald E. Knuth and Ronald W. Moore, An Analysis of Alpha-Beta Pruning, Artificial Intelligence 6(4), 1975 (Type 1, Type 2, Type 3 nodes).

Implemented in engine code Search & Windows ★ Core Study Article

Origin: 1950 · Claude E. Shannon (1950), Alan M. Turing ("dead positions", 1953) & Larry R. Harris (1975)

Quiescence Search (Tactical Horizon Resolution)

German term: Ruhesuche (Quiescence Search)

Also searched as: Ruhe · Ruhesuche · QSearch · Quiescence · Taktisches Ausrechnen

Specialized tactical continuation search started at nominal depth 0 that resolves captures, queen promotions, check evasions, and first-ply checks until the position becomes tactically quiet ("quiescent") before trusting static evaluation.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Claude Shannon (1950) warned that evaluating mid-exchange produces nonsensical blunders (such as QxP appearing to win a pawn on the final ply right before PxQ recaptures the queen!), and Alan Turing’s 1951–1953 paper engine already searched captures until reaching a "dead position". Larry Harris (1975) and Chess 4.5 (1977) refined alpha-beta quiescence search with stand-pat bounds.

Algorithmic & Chess Mechanism

When NOT in check, quiescence first evaluates stand_pat = eval(pos): if stand_pat >= beta, it cuts off immediately (because capturing is optional and the side to move can always play a quiet move); if stand_pat > alpha, alpha = stand_pat. It then searches tactical moves (legal_tactical_moves: captures + non-capture queen promotions, pruned by SEE or delta margin) plus quiet checking moves in the 1st quiescence ply (q_checks). When IN check, stand_pat is illegal — all legal check evasions are searched so checkmate and stalemate are detected accurately!

Role & Maturity in BalouChess

Implemented in crates/search (engine, SPEC 003 R9, R21, R22): probes and writes the Layout B transposition table at depth 0, honors repetition and 50-move draws, includes q_checks = 1 (catching knight/underpromotion checking forks), and degrades gracefully at ply >= MAX_PLY (128) without panicking.

Practical Effect on Search, Play & Measurement

Eliminates gross tactical horizon blunders while typically consuming half or more of all leaf visits — making fast SEE ordering and Layout B raw-eval caching crucial.

Primary Literature Citation

Claude E. Shannon (1950) on dynamic vs. quiescent leaves; Alan M. Turing, Digital Computers Applied to Games, in Faster Than Thought (1953); Larry R. Harris, The Heuristic Search and the Game of Chess, IJCAI 1975.

Specified, not built yet Pruning & Extensions ★ Core Study Article

Origin: 1999 · Ernst A. Heinz (DarkThought)

Razoring

German term: Razoring (Früher Abstieg in die Ruhesuche)

Also searched as: Razoring · Pre-Horizon QSearch Drop · Heinz 1999

Dropping directly into quiescence search (qsearch) at shallow non-PV nodes (depth <= 2..3) when static_eval + razor_margin(depth) < alpha, returning an immediate fail-low if even tactical captures in qsearch cannot rescue the position up to alpha.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Introduced as "Limited Razoring" at pre-pre-frontier nodes (depth = 3) by Ernst Heinz at MIT / Karlsruhe in 1999/2000, complementing Futility Pruning (depth = 1) and Extended Futility (depth = 2). Modern engines refine Razoring by running qsearch as an active tactical safety net before cutting off.

Algorithmic & Chess Mechanism

Unlike pure Futility Pruning (which skips quiet moves inside the move loop), modern Razoring runs BEFORE move generation when eval + margin * depth < alpha (outside check and mate scores): it calls v = qsearch(alpha, alpha + 1). If a tactical combination exists (v > alpha), normal search continues unharmed; if v <= alpha, the entire node finishes early!

Role & Maturity in BalouChess

Specified in engine, SPEC 003 section 3.3 alongside Futility and Reverse Futility Pruning with its own depth and centipawn margin parameters in SearchParams.

Practical Effect on Search, Play & Measurement

Collapses hopeless shallow All-nodes into cheap quiescence checks while preserving full tactical capture awareness.

Primary Literature Citation

Ernst A. Heinz, Limited Razoring — Fast Selective Forward Pruning, in Scalable Search in Computer Chess, Vieweg, 2000 (workshop paper 1999).

Specified, not built yet Rules, Tactics & Endgame

Origin: 1965 · Richard Bellman (1965) & Thomas Ströhlein (1970)

Retrograde Analysis

German term: Rückwärtsanalyse (Retrograde Analysis)

Also searched as: Rückwärtsanalyse · Endspiel-Generator · KPK-Löser

Exact bottom-up algorithm that enumerates all checkmates first and propagates forced wins and losses backward one ply at a time until every remaining state is proven drawn.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Proposed by Richard Bellman (1965) and first executed on a computer by Thomas Ströhlein in Munich (1970) for 3-piece and 4-piece endgames before Ken Thompson scaled it to 5 and 6 pieces.

Algorithmic & Chess Mechanism

Marks all mate-in-0 states as Lost; any predecessor with >= 1 move to a Lost state becomes Won in 1; any predecessor whose ALL legal moves lead to Won states becomes Lost; states never resolved after convergence are exact draws.

Role & Maturity in BalouChess

Already used in BalouChess research (tools/versuch/kpk.py) and specified in engine, SPEC 008 section 5 as an in-repository 3-piece and 4-piece solver with 50-move tracking for CI differential testing.

Practical Effect on Search, Play & Measurement

Provides mathematically indisputable ground truth unaffected by search depth or evaluation heuristics.

Primary Literature Citation

Richard Bellman, On the Application of Dynamic Programming to the Determination of Optimal Play in Chess and Checkers, PNAS 53(2), 1965; Thomas Ströhlein, Untersuchungen über kombinatorische Spiele, Dissertation TU München, 1970.

Specified, not built yet Pruning & Extensions ★ Core Study Article

Origin: 2000 · Ernst A. Heinz (2000) & Glaurung / Stockfish contributors (2008–2016)

Reverse Futility Pruning (Static Null-Move Pruning)

German term: Umgekehrter Aussichtslosigkeits-Abschnitt (RFP / Static Null Move)

Also searched as: RFP · Reverse Futility Pruning · Static Null Move Pruning · Beta-Futility

Pre-move beta cutoff at shallow non-PV nodes (depth <= 6..8) when static_eval - margin(depth, improving) >= beta: the position is already so far above beta that even giving up a depth-scaled safety margin leaves the side to move winning the cutoff.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Evolved as the cheap zero-search twin of Null-Move Pruning ("Static Null Move") out of Heinz’s futility framework around 2000 and refined in Glaurung / Stockfish (2008–2016) by tightening the margin whenever the improving signal is true.

Algorithmic & Chess Mechanism

Whereas normal Futility Pruning tests eval + margin <= alpha (skipping late moves at an expected All-node), Reverse Futility Pruning tests eval - margin * depth >= beta at the TOP of a shallow expected Cut-node (when not in check and beta is non-mate), returning an immediate cutoff with 0 child searches! It thus covers shallow depths where a real null move (d - 1 - R <= 0) would fall straight into quiescence.

Role & Maturity in BalouChess

Specified in engine, SPEC 003 section 3.3 ("Umgekehrter Aussichtslosigkeits-Abschnitt") using correction-adjusted static evaluation and improving-aware centipawn margins.

Practical Effect on Search, Play & Measurement

Eliminates whole shallow subtrees before move generation even begins whenever one side already stands decisively above beta.

Primary Literature Citation

Ernst A. Heinz, Scalable Search in Computer Chess (2000); Reverse Futility / Static Null-Move Pruning in Glaurung & Stockfish.

Specified, not built yet Balou Lab & Methodology ★ Core Study Article

Origin: 2026 · BalouChess Architecture (engine, SPEC 016 & engine, ADR 0019)

Root Policy (Wurzelregel Candidate Selection, Specified)

German term: Wurzelregel (RootPolicy-Kandidatenwahl, spezifiziert)

Also searched as: Wurzelregel · RootPolicy · StandardRoot · Zusatzfrage Probe

Specified post-search decision seam (RootPolicy trait) invoked once per move at the root AFTER iterative deepening finishes, allowed to choose among shortlisted near-equal candidate moves (within delta of lines[0]) using strictly bounded verification probes (<= 15 % soft budget) — never polluting crates/search or bench.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Many experimental ideas in chess AI (risk-sensitive WDL maximization, tie-breaking toward complex or resilient continuations) fail or clutter codebases when entangled inside the ultra-hot recursive inner loop. engine, ADR 0019 and engine, SPEC 016 isolated root move selection behind a clean zero-overhead trait (StandardRoot by default; specified, not built yet).

Algorithmic & Chess Mechanism

To prevent choosing a blunder whose score only looked close because of a shallow null-window failure, engine, SPEC 016 enforces 4 strict safety invariants: (1) Equal-depth candidate invariant (R2): any alternative m != lines[0] may ONLY be considered after a full-window verification at the same comparison depth d_vgl confirms score(m) >= score(lines[0]) - delta (delta <= 35 cp); (2) Mate/TB veto (R2): proven checkmates and tablebase wins are untouchable; (3) Budget cap (R3): all Probe calls share <= 15 % of soft time and stop immediately in time trouble; (4) No TT pollution: probes never overwrite exact deeper bounds.

Role & Maturity in BalouChess

Specified in engine, SPEC 016 (R1–R5), not built yet: StandardRoot simply returns lines[0] with 0 extra nodes (preserving bench bit-identically), while research policies E11..E15 live in isolated modules.

Practical Effect on Search, Play & Measurement

Creates a safe, scientifically rigorous testbed for practical tournament decision theory without risking tactical blunders.

Primary Literature Citation

BalouChess architecture decision engine, ADR 0019 and engine specification engine, SPEC 016 ("Wurzelregel: Auswahl unter Kandidatenzügen an der Wurzel", 2026).

General reference concept Board, Bitboards & TT

Origin: 1994 · Robert M. Hyatt (Crafty) & Ernst A. Heinz (DarkThought)

Rotated Bitboards

German term: Rotierte Bitboards

Also searched as: Rotated Bitboards · 45-degree bitboards · Crafty Bitboards

Pre-Magic bitboard technique maintaining 3 extra occupancy bitboards rotated by 90°, +45°, and -45° so file and diagonal blockers become contiguous 8-bit slices.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Independently developed around 1994–1995 by Robert Hyatt (Crafty) and Ernst Heinz (DarkThought) and dominant for a decade until Magic Bitboards (2006/2007) eliminated the 3 extra rotated boards.

Algorithmic & Chess Mechanism

Shifts a contiguous 6-bit or 8-bit line occupancy straight into a small lookup index, at the cost of updating 4 occupancy bitboards on every make and unmake.

Role & Maturity in BalouChess

Superseded in BalouChess by Magic Bitboards (crates/core), which operate directly on the single standard occupancy u64.

Practical Effect on Search, Play & Measurement

Paved the way from slow ray loops in early 1990s programs to modern O(1) bitboard attack lookups.

Primary Literature Citation

Robert M. Hyatt, Rotated Bitboards, a New Twist on an Old Idea, ICCA Journal 22(4), 213–222, 1999; Ernst A. Heinz, How DarkThought Plays Chess, ICCA Journal 20(3), 1997.

Specified, not built yet Parallelism & Hardware ★ Core Study Article

Origin: 1997 · CPUID Runtime Function Multiversioning; BalouChess engine, SPEC 009 (2026)

Runtime CPU Dispatch & Scalar Reference Fallback

German term: Laufzeit-CPU-Erkennung & skalarer Referenzpfad

Also searched as: Runtime Dispatch · is_x86_feature_detected · Skalarer Referenzpfad · Ein-Binary-Portabilität

Shipping a single portable binary per OS/CPU family that probes CPU capabilities once at startup (AVX-512 VNNI, AVX2, NEON, or pure Safe-Rust scalar fallback) instead of forcing users to guess between 6 fragile CPU-specific downloads.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Traditional chess engines distribute separate -bmi2, -avx2, -vnni, and -modern binaries; picking the wrong file crashes immediately with SIGILL (Illegal Instruction)! Modern function multiversioning (#[target_feature] + function-pointer selection at startup) eliminates SIGILL crashes completely.

Algorithmic & Chess Mechanism

At process initialization, balou inspects OS-confirmed CPU flags (checking BOTH CPUID support AND OS XSAVE register-state enablement!), binds the fastest verified kernel, reports the active path transparently via info string, and supports a CLI/test flag forcing the pure scalar reference path on any machine.

Role & Maturity in BalouChess

Specified in engine, SPEC 009 (R1–R6), not built yet: today the entire engine compiles in 100 % portable Safe Rust (#![forbid(unsafe_code)]), and every future hardware kernel must prove both bit-exact bench parity (R3) and measured local throughput speedup (R6).

Practical Effect on Search, Play & Measurement

Combines foolproof single-file installation for end users with peak hardware performance and deterministic CI testability.

Primary Literature Citation

Rust std::arch runtime feature detection and BalouChess engine, SPEC 009 R1–R6 (2026).

General reference concept Balou Lab & Methodology ★ Core Study Article

Origin: 2019 · Marcel Vanthoor

Rustic (Classical Rust Reference Opponent)

German term: Rustic (Klassische Rust-Referenz-Engine)

Also searched as: Rustic · Marcel Vanthoor · Rustic Alpha 3.0.6

Well-known classical non-NNUE chess engine written in Rust by Dutch developer Marcel Vanthoor (Alpha 3.0.6), serving as an upper classical-HCE external sparring rung on BalouChess’s Reference Ladder.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Started in 2019 by Marcel Vanthoor as a clean classical bitboard + tapered-PST alpha-beta engine in Rust without learned evaluation weights, gaining wide recognition in computer-chess testing lists (CCRL) for demonstrating how strong a rock-solid classical search + PST foundation can play before adding complex pruning or NNUE.

Algorithmic & Chess Mechanism

Combines Fancy Magic Bitboards, Zobrist transposition tables, PVS, quiescence search, killer/history ordering, and tapered Piece-Square Tables — making Rustic Alpha 3.0.6 an ideal apples-to-apples classical benchmark opponent before NNUE self-play nets enter the picture.

Role & Maturity in BalouChess

Pinned in the engine provenance register (GPL-3.0) on the Reference Ladder (engine, WP 0043): invoked strictly as an external stdin/stdout UCI opponent binary in fastchess calibration matches — zero Rustic source code is ever consulted or used in BalouChess (engine, ADR 0002 clean-room rule), and Rustic is never shipped.

Practical Effect on Search, Play & Measurement

Marks a clear classical milestone rung between early MaterialEvaluator search and full selective-search + NNUE stages.

Primary Literature Citation

Marcel Vanthoor, Rustic — Chess Engine Written from Scratch in Rust & "Creating a Chess Engine in Rust" documentation (2019–2024, GPL-3.0); BalouChess Reference Ladder (engine, SPEC 015 section 6).

Specified, not built yet Pruning & Extensions

Origin: 1995 · Robert M. Hyatt (QSearch SEE) & modern depth-scaled SEE pruning (Stockfish / Ethereal, 2014–2019)

SEE Pruning (Quiescence & Shallow Main Search)

German term: SEE-Abschnitt (Ruhesuche & flache Hauptsuche)

Also searched as: SEE Pruning · SEE-Abschnitt · Negative SEE Cutoff · Quiet SEE Pruning

Pruning captures in quiescence search with SEE < 0, and pruning moves at shallow main-search nodes (depth <= 6..8) whose SEE loses more material than a depth-scaled threshold (-k * depth for captures, -m * depth^2 for quiet moves onto attacked squares).

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Filtering SEE < 0 captures in quiescence became standard in the 1990s; extending see_ge to prune quiet blunders onto defended enemy squares (-m * d^2) at shallow main-search plies delivered major SPRT gains in the late 2010s.

Algorithmic & Chess Mechanism

Calls boolean pos.see_ge(mv, threshold) directly: because threshold is negative on main-search plies, minor sacrifices for compensation (-100 cp at depth 4) still survive while gross blunders (QxP losing 800 cp at depth 3) are pruned instantly.

Role & Maturity in BalouChess

see_ge is implemented in crates/core (engine, SPEC 001), and both quiescence and main-search SEE pruning are specified in engine, SPEC 003 section 3.3.

Practical Effect on Search, Play & Measurement

Prevents wasting large amounts of search effort refuting obvious piece-hang blunders on shallow plies.

Primary Literature Citation

Robert M. Hyatt, Crafty Quiescence SEE Filter (1995); depth-scaled quiet and capture SEE pruning in modern alpha-beta engines.

Implemented in engine code Search & Windows

Origin: 2000 · Stefan Meyer-Kahlen (UCI info seldepth, 2000)

Selective Depth (seldepth) & MAX_PLY Guard

German term: Selektive Tiefe (seldepth) & MAX_PLY-Schranke

Also searched as: seldepth · Selektive Tiefe · MAX_PLY · Stapeltiefe 128

Maximum root-to-leaf ply distance (seldepth) actually touched during nominal iteration depth across extensions and quiescence captures, bounded strictly by MAX_PLY = 128 preallocated stack slots.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Standardized in UCI (2000) so observers can see both the nominal iteration depth and how deeply tactical forcing lines (seldepth, often 1.5× to 2.5× nominal depth) were explored.

Algorithmic & Chess Mechanism

Every recursive search and qsearch entry updates seldepth = max(seldepth, ply). If ply >= MAX_PLY (128), the search returns a static leaf evaluation immediately instead of indexing past fixed ply stacks (killers, eval stack, PV table).

Role & Maturity in BalouChess

Implemented and unit-tested in crates/search (engine, SPEC 003 R10 and R21) and crates/nnue (EVAL_STACK_DEPTH = 128, engine, SPEC 005 section 4), and displayed in the planned Web-Lab HUD.

Practical Effect on Search, Play & Measurement

Provides transparent tactical depth telemetry while guaranteeing 0 stack overflows and 0 heap allocations in deep tactical lines.

Primary Literature Citation

Stefan Meyer-Kahlen, UCI — Universal Chess Interface Specification (November 2000), info depth ... seldepth ....

Specified, not built yet Evaluation & NNUE

Origin: 2023 · Jamie Whiting (bullet framework, MIT, 2023) & BalouChess engine, SPEC 012 / engine, SPEC 013 (2026)

Self-Play Training Pipeline & BALOUDAT v1

German term: Selbstspiel-Trainingspipeline & BALOUDAT V1

Also searched as: BALOUDAT · bullet · Selbstspiel-Generator · selfplay · Tabula-Rasa-Training

BalouChess’s clean-room self-play and training architecture: crates/dataformat (BALOUDAT v1 binary container, already implemented) paired with the specified self-play generator (tools/datagen) and separate balou-training GPU trainer (MIT bullet or PyTorch).

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Unstructured PGN text datasets complicate reproducible GPU training; structured binary containers with explicit headers, checksums, and Rust/CUDA trainers (bullet, MIT) enabled independent engines to train strong clean-room nets on single workstations.

Algorithmic & Chess Mechanism

BALOUDAT Version 1 (crates/dataformat, engine, SPEC 012 section 4.1) writes a versioned binary header (BALOUDAT + version 1) followed by records carrying canonical 6-field UTF-8 FEN strings, search evaluation, game outcome, best move, and optional tagged extensions (WDL, policy, uncertainty) with lossless round-trip verification.

Role & Maturity in BalouChess

crates/dataformat is already implemented and unit-tested (engine, SPEC 012), while self-play generation (tools/datagen) and GPU training in balou-training are specified in engine, SPEC 013, not run yet.

Practical Effect on Search, Play & Measurement

Provides end-to-end reproducibility from raw self-play move 1 to quantized NnueEvaluator weights.

Primary Literature Citation

Jamie Whiting, bullet — High-Throughput NNUE Trainer in Rust/CUDA (MIT License, 2023–2026); BalouChess engine, SPEC 012 & engine, SPEC 013.

General reference concept Search & Windows

Origin: 1950 · Claude E. Shannon

Shannon Type A vs. Type B Strategy

German term: Shannon-Typ-A- und Typ-B-Suchstrategie

Also searched as: Type A Strategy · Type B Strategy · Shannon 1950 · Brute Force vs. Selektivsuche

Claude Shannon’s foundational 1950 dichotomy between examining every legal move to a fixed depth (Type A) versus selectively searching forceful moves deeply while discarding implausible branches early (Type B).

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

1960s AI programs pursued extreme Type B forward pruning (searching only 5–7 "plausible" moves per ply) and suffered tactical blind spots when Chess 4.0 and Belle proved in the 1970s–1980s that fast Type A alpha-beta crushed brittle Type B rules. Since the 2000s (LMR, NMP, NNUE, MCTS), modern engines synthesize both: all moves remain reachable near the root, yet depths vary selectively by move quality.

Algorithmic & Chess Mechanism

Replaces hard irreversibly discarded move lists (fragile 1960s Type B) with graded depth reductions (LMR) and verification re-searches (PVS), combining Type A tactical safety with Type B exponential depth scaling.

Role & Maturity in BalouChess

BalouChess embodies this modern synthesis across crates/search (PVS + specified LMR/NMP) and its planned asynchronous Wissenspumpe (engine, SPEC 010), where neural policy/value hints guide reductions without ever hard-pruning legal moves.

Practical Effect on Search, Play & Measurement

Frames the entire 75-year intellectual arc of computer chess since 1950 in a single crystal-clear conceptual pair.

Primary Literature Citation

Claude E. Shannon, Programming a Computer for Playing Chess, Philosophical Magazine, Series 7, 41(314), 256–275, March 1950.

Specified, not built yet Parallelism & Hardware ★ Core Study Article

Origin: 1966 · Michael J. Flynn (vector taxonomy, 1966); Yu Nasu (AVX2 research kernels, 2018)

SIMD Vector Kernels (AVX2, AVX-512, NEON, simd128, Specified)

German term: SIMD-Vektorkerne (AVX2, AVX-512, NEON, simd128, spezifiziert)

Also searched as: SIMD · AVX2 · AVX-512 VNNI · ARM64 NEON · wasm32 simd128

Single-Instruction Multiple-Data vector arithmetic processing 8, 16, 32, or 64 integer lanes in 1 CPU cycle (128-bit NEON/Wasm simd128, 256-bit AVX2, 512-bit AVX-512) — specified for BalouChess’s future NnueEvaluator, not built yet.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Classified by Michael Flynn in 1966 and brought to consumer CPUs via SSE, AVX2, and ARM NEON. Yu Nasu (2018) designed NNUE layer widths (256, 512, 1024) specifically as exact multiples of 256-bit and 512-bit vector registers so planned SIMD instructions update an entire i16 accumulator in a handful of unrolled register loops.

Algorithmic & Chess Mechanism

An AVX2 256-bit register holds 16 i16 accumulator lanes at once (vpaddw / vpsubw) or 32 u8/i8 activations (vpmaddubsw followed by vpmaddwd into i32); AVX-512 VNNI (vpdpbusd) doubles width again to 64 byte products per instruction, while wasm32 simd128 processes 8 i16 or 16 i8 lanes portably in future planned browser builds.

Role & Maturity in BalouChess

Specified in engine, SPEC 005 R5–R6 and engine, SPEC 009 R2–R3 (engine, ADR 0009 #![forbid(unsafe_code)] exception policy), not built yet: unsafe planned SIMD intrinsics will be strictly quarantined in a tiny leaf module of crates/nnue, accompanied by a // SAFETY: proof comment AND randomized CI differential tests proving 100 % bit-exact equality against the Safe-Rust scalar kernel.

Practical Effect on Search, Play & Measurement

Multiplies future planned NnueEvaluator throughput by several factors without changing a single centipawn or searched node.

Primary Literature Citation

Michael J. Flynn, Very High-Speed Computing Systems, Proceedings of the IEEE 54(12), 1966; Yu Nasu (2018) on AVX2 integer evaluation kernels & BalouChess engine, SPEC 009.

Implemented in engine code Board, Bitboards & TT ★ Core Study Article

Origin: 2011 · Mihai Pătraşcu & Mikkel Thorup (building on Carter & Wegman, 1979)

Simple Tabulation Hashing (Torn-Read Guard)

German term: Tabulations-Hashing (Zerreiss-Prüfwort)

Also searched as: Tabulation Hashing · Torn Read · Zerrissener Eintrag · 16x255 Prüfwort · Patrascu Thorup

3-independent byte-table XOR checksum across all 16 payload bytes of a Layout B transposition-table slot so concurrent lock-free writes by two threads ("torn reads") are detected and rejected with 64-bit cryptographic-grade uniformity.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Introduced by Wegman and Carter (1979) and proven remarkably strong for randomized data structures by Mihai Pătraşcu and Mikkel Thorup (STOC 2011 / JACM 2012). Whereas naive key ^ data lockless hashing (Hyatt & Cozzie 2005) works directly on a 2-word 16-byte entry, a 3-word 24-byte entry needs mixing across both 64-bit data words so bit flips in meta and payload cannot cancel out.

Algorithmic & Chess Mechanism

Each of the 16 bytes of (meta, payload) indexes into its own 255-entry 64-bit random table (0 maps to 0 so zeroed empty slots verify cleanly), and their XOR is combined with the full 64-bit PositionKey into check. If Thread 1 updates meta while Thread 2 updates payload, a reader sees mixed halves whose recomputed tabulation fingerprint matches check with probability at most 2^-64.

Role & Maturity in BalouChess

Implemented in crates/tables/src/transposition/codec.rs (engine, SPEC 004 R3), unit-tested against all synthetic torn combinations of two slots in the same cache line, and interactively demonstrable in Chapter 3 of the Algorithm Atlas (TtLineInspector.svelte).

Practical Effect on Search, Play & Measurement

Delivers lock-free, #![forbid(unsafe_code)] thread safety for up to 512 planned Lazy-SMP threads without atomic 128-bit or 192-bit compare-and-swap bottlenecks.

Primary Literature Citation

Mihai Pătraşcu and Mikkel Thorup, The Power of Simple Tabulation Hashing, Journal of the ACM 59(3), Article 14, 2012 (arXiv 2011).

Specified, not built yet Balou Lab & Methodology

Origin: 2026 · BalouChess Experimental Design (engine, SPEC 010 sections 5.2 & 5.3)

Simulated Oracle Test (E6) & Permuted-Hint Control

German term: Orakel-Vorabtest (E6) & Zufallshinweis-Gegenprobe

Also searched as: Orakel-Vorabtest · Experiment E6 · PermutedHints · Arm C Rauschprobe

Two-part falsification gate for the planned Wissenspumpe: Experiment E6 simulates delayed deep hints in software BEFORE writing GPU driver code, and Arm C (PermutedHints) feeds randomly shuffled hints to verify that real hints win through genuine chess content rather than mere tree perturbation.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

In complex search heuristics, slightly perturbing LMR depths at random sometimes alters hash behavior; Arm C rules out placebo effects cleanly, while E6 saves months of GPU engineering if asynchronous delay (1–20 ms) proves unhelpful.

Algorithmic & Chess Mechanism

E6 generates hints from a deeper internal search delayed artificially by 0, 1, 5, 20 ms across iterations; Arm C keeps the exact hint distribution and frequency of Arm D while permuting move assignments across legal moves.

Role & Maturity in BalouChess

Mandatory release gates in engine, SPEC 010 sections 5.2 and 5.3 (planned, not run yet).

Practical Effect on Search, Play & Measurement

De-risks high-complexity hybrid CPU+GPU R&D before writing platform-specific accelerator bindings.

Primary Literature Citation

BalouChess engine, SPEC 010 sections 5.2 ("Simuliertes Orakel E6") & 5.3 ("Voranmeldung Arm C PermutedHints", 2026).

Specified, not built yet Pruning & Extensions ★ Core Study Article

Origin: 1988 · Thomas Anantharaman, Murray S. Campbell & Feng-hsiung Hsu (Deep Thought / Deep Blue)

Singular Extensions & Multi-Cut Singular

German term: Singuläre Verlängerungen (Singular Extensions)

Also searched as: Singular Extensions · Singuläre Verlängerung · Excluded Move Search · Deep Thought 1988

Extending the search depth of a TT-move by +1 (or +2) plies when a reduced "excluded-move" search over ALL other legal moves fails low below tt_value - margin, proving that ONLY this single move holds the position together.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Invented in 1988 by Thomas Anantharaman, Murray Campbell, and Feng-hsiung Hsu for Carnegie Mellon’s Deep Thought (and later Deep Blue), enabling hardware alpha-beta search to follow long narrow tactical forcing corridors without exploding on wide quiet positions. Revitalized in software engines by Stockfish (~2009–2010) using transposition-table bounds and excluded-move probes.

Algorithmic & Chess Mechanism

When a node at depth d >= 6..8 has an Exact or Lower TT-move stored at sufficient depth tt_depth >= d - 3, the engine runs a null-window search at half depth (d - 1) / 2 around s_beta = tt_value - k * d while temporarily excluding tt_move. Three outcomes yield rich signal: (1) score < s_beta -> tt_move is singular, extend it by +1 (or +2 if far below); (2) s_beta >= beta and score >= s_beta -> EVEN WITHOUT tt_move another move beats beta (Multi-Cut cutoff!); (3) tt_value >= beta yet another move also scores >= s_beta -> apply a -1 negative extension because tt_move is not unique.

Role & Maturity in BalouChess

Specified in engine, SPEC 003 section 3.3 ("Singuläre Verlängerungen inkl. Multi-Cut-Abschnitt und negativer Verlängerung") with strict MAX_PLY stack protection so chains of extensions can never overflow.

Practical Effect on Search, Play & Measurement

Follows narrow only-move tactical combinations many plies deeper than nominal depth while simultaneously pruning redundant multi-solution Cut-nodes.

Primary Literature Citation

Thomas Anantharaman, Murray S. Campbell and Feng-hsiung Hsu, Singular Extensions: Adding Selectivity to Alpha-Beta Search, Artificial Intelligence 43(1), 99–109, 1990 (AAAI Workshop 1988).

Implemented in engine code Rules, Tactics & Endgame

Origin: 1925 · Aaron Nimzowitsch & Edgar Colle / Max Euwe

Skewer & X-Ray Attack

German term: Spiess & Röntgenangriff

Also searched as: Spiess · Spiesse · Röntgenangriff · X-Ray Attack · Batterie

Line-piece motif where a sliding piece attacks a high-value piece in front of a second target along the same rank, file, or diagonal (skewer), or exerts latent pressure through an intervening piece during captures (X-ray).

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Systematized in classical tactical textbooks of the 1920s–1930s; in computer chess, X-ray batteries (such as Rook behind Rook or Queen behind Bishop) must be unveiled dynamically during Static Exchange Evaluation (SEE).

Algorithmic & Chess Mechanism

When an attacking piece captures onto the target square in SEE, clearing its origin bit from the occupancy bitboard immediately unmasks any collinear sliding attacker behind it via Magic Bitboards.

Role & Maturity in BalouChess

Explicitly required and tested in crates/core see_ge (engine, SPEC 001 section 5: "an attacker behind a newly cleared line counts").

Practical Effect on Search, Play & Measurement

Prevents misjudging doubled-rook and bishop-queen battery captures during move ordering and pruning.

Primary Literature Citation

Aaron Nimzowitsch, Mein System (1925); Fritz Reul, Static Exchange Evaluation with alpha-beta Approach (2010) on hidden battery attackers.

Specified, not built yet Parallelism & Hardware

Origin: 1998 · Modern superscalar alpha-beta engines (Crafty / Stockfish)

Software Cache-Line Prefetching (TT Prefetch)

German term: Speicherzeilen-Vorabladen (TT-Prefetch)

Also searched as: Prefetch · _mm_prefetch · Cache-Miss-Überlappung · RAM Latency Hiding

Issuing a non-faulting CPU cache-line prefetch hint for the new PositionKey’s 64-byte Layout B bucket immediately inside make(mv), overlapping ~70 ns of DRAM latency with pin-mask and accumulator calculations.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Random Zobrist keys miss L1–L3 cache constantly once Hash exceeds CPU cache size; issuing _mm_prefetch ~100 instructions before tt.probe() hides much of the memory stall.

Algorithmic & Chess Mechanism

Pure hardware performance hint: touches zero architectural state, never faults on invalid addresses, and leaves bench node counts 100 % unchanged.

Role & Maturity in BalouChess

Cataloged under engine, SPEC 009 hardware optimizations (Layout B already aligns every bucket cleanly to a single 64-byte cache line so 1 prefetch loads both slots!), subject to local speedup verification (engine, SPEC 009 R6).

Practical Effect on Search, Play & Measurement

Boosts nodes per second on large hash tables without altering search behavior.

Primary Literature Citation

Intel Optimization Reference Manual (PREFETCHT0) & transposition-table prefetch overlap in bitboard engines.

Implemented in engine code SPRT & Match Statistics ★ Core Study Article

Origin: 1945 · Abraham Wald (1943/1945); Gary Linscott, Rémi Coulom & Michel Van den Bergh (engine testing, 2013–2018)

SPRT (Sequential Probability Ratio Test)

German term: SPRT (Sequentieller Quotiententest)

Also searched as: SPRT · Wald SPRT · H0 vs H1 · Sequentieller Hypothesentest · elo0 elo1

Optimal sequential hypothesis test invented by Abraham Wald that updates a cumulative Log-Likelihood Ratio (LLR) after every game pair between candidate (Arm B) and baseline (Arm A), stopping the instant LLR crosses the upper acceptance boundary (H1) or lower rejection boundary (H0).

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Developed in 1943 during World War II by mathematician Abraham Wald inside Columbia University’s Statistical Research Group for industrial quality inspection (classified until June 1945; proven optimal by Wald and Jacob Wolfowitz in 1948). Adopted in 2013 by Fishtest (Gary Linscott) and refined with pentanomial pair statistics by Michel Van den Bergh (2018), SPRT ended decades of intuition-driven "200-game eyeball tests" in computer chess.

Algorithmic & Chess Mechanism

Fixed-sample tests suffer a fatal flaw if you peek after every 100 games and stop when ahead ("optional stopping" inflates Type-I false positives toward 30–50 %!). Wald’s SPRT fixes error rates (alpha, beta) upfront (typically alpha = 0.05, beta = 0.05) between null hypothesis H0: delta = elo_0 and alternative H1: delta = elo_1: boundaries sit at A = ln((1 - beta) / alpha) ~ +2.944 and B = ln(beta / (1 - alpha)) ~ -2.944. Clearly broken patches hit -2.944 in a few hundred pairs; genuine gains climb past +2.944 with bounded false-positive risk <= 5 %.

Role & Maturity in BalouChess

Implemented and calibrated in BalouChess’s match pipeline (engine, SPEC 015 R1–R12, verified by A/A null and positive handicap controls in verified-facts.json). Every Class C strength change in BalouChess MUST pass a pre-registered pentanomial wall-clock SPRT before merging.

Practical Effect on Search, Play & Measurement

Eliminates confirmation bias and statistical mirages, ensuring engine strength grows monotonically step after verified step.

Primary Literature Citation

Abraham Wald, Sequential Tests of Statistical Hypotheses, Annals of Mathematical Statistics 16(2), 117–186, 1945; Michel Van den Bergh, Pentanomial SPRT for Chess Engines (2018).

Specified, not built yet SPRT & Match Statistics

Origin: 1992 · James C. Spall (1992); Joona Kiiski (Fishtest SPSA chess tuning, 2013)

SPSA (Simultaneous Perturbation Stochastic Approximation)

German term: SPSA (Gleichzeitige stochastische Parameterabstimmung)

Also searched as: SPSA · Spall 1992 · Parameter-Tuning · SearchParams Tabelle

Gradient-free black-box optimizer tuning P search/time parameters simultaneously using ONLY 2 game-pair evaluations per step (theta + c_k * Delta vs theta - c_k * Delta along a random Rademacher ±1 vector) instead of 2 * P finite-difference matches.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Invented by Johns Hopkins applied mathematician James C. Spall in 1992 and adapted brilliantly to chess engine self-play by Joona Kiiski in 2013 by pitting theta^+ directly against theta^- in each game pair!

Algorithmic & Chess Mechanism

Draws Delta_i in {-1, +1} for all P parameters, plays a paired mini-match between theta + c_k * Delta and theta - c_k * Delta, and nudges every parameter toward the winner with decaying step sizes (a_k, c_k).

Role & Maturity in BalouChess

Prepared in crates/search (engine, SPEC 003 R13 central SearchParams table with bounds [min, max], step, and off-value) and governed by engine, SPEC 015 R11: any SPSA-tuned vector MUST beat the untuned baseline in a fresh independent confirmation SPRT before merging!

Practical Effect on Search, Play & Measurement

Tunes dozens of interacting LMR, futility, and time constants cohesively without overfitting.

Primary Literature Citation

James C. Spall, Multivariate Stochastic Approximation Using a Simultaneous Perturbation Gradient Approximation, IEEE TAC 37(3), 332–341, 1992.

Implemented in engine code Rules, Tactics & Endgame

Origin: 1807 · Jacob Sarratt (London Club standardization)

Stalemate

German term: Patt

Also searched as: Patt · Pattfalle · Remis ohne legalen Zug

Immediate draw when the side to move is NOT in check yet possesses zero legal moves.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Historically treated inconsistently across centuries (sometimes as a win, half-win, or even a loss for the stalemating player in 17th-century England) until Jacob Sarratt standardized stalemate as a draw in London around 1807–1808.

Algorithmic & Chess Mechanism

Detected whenever legal_moves is empty and in_check is false, returning Centipawns(0) in Negamax regardless of material imbalance — including inside quiescence search when a king is in check and evades or when all legal moves vanish.

Role & Maturity in BalouChess

Implemented in crates/core (has_legal_move and in_check, engine, SPEC 001 R17) and crates/search (engine, SPEC 003 R4 and R22), tested with dedicated stalemate fixtures in main search and quiescence search.

Practical Effect on Search, Play & Measurement

Essential tactical defensive resource in inferior endings and a critical correctness invariant when pruning quiet moves.

Primary Literature Citation

Jacob Henry Sarratt, A Treatise on the Game of Chess (London, 1808); FIDE Laws of Chess, Article 5.2.1.

Implemented in engine code Search & Windows

Origin: 1975 · Larry R. Harris (1975) & Don F. Beal (theoretical analysis, 1989/1990)

Stand-Pat Principle

German term: Stand-Pat-Prinzip (Freiwilliger Schlagverzicht)

Also searched as: Stand-Pat · Stand Pat · Ruhe-Unterschranke · Null-Move Observation

Using the current static evaluation as a baseline lower bound (alpha = max(alpha, static_eval)) at non-check quiescence nodes because capturing in chess is never compulsory.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Borrowed from draw poker ("standing pat" without drawing cards) and analyzed formally by Don Beal (1989/1990): without stand-pat, a capture-only tree would force the side to move into ruinous captures whenever only bad captures exist!

Algorithmic & Chess Mechanism

Assumes at least 1 quiet move maintains roughly static_eval (true almost everywhere except in check or rare pure Zugzwang). When in check, stand-pat MUST be disabled because quiet non-evasions are illegal.

Role & Maturity in BalouChess

Implemented in crates/search (engine, SPEC 003 R9 and R22), reusing the lossless 15-bit raw_eval cached inside Layout B whenever a transposition-table hit already evaluated the position.

Practical Effect on Search, Play & Measurement

Keeps quiescence search finite and compact instead of exploding across exponential chains of forced mutual captures.

Primary Literature Citation

Don F. Beal, Nature of Minimax Search, PhD Thesis / Artificial Intelligence 43(1), 85–98, 1990 (formalizing stand-pat in capture search).

General reference concept Board, Bitboards & TT

Origin: 1970 · Classical computer chess architecture trade-off

State Cloning per Move vs. Make/Unmake

German term: Zustandskopie pro Zug vs. Make/Unmake

Also searched as: Cloning Move Execution · Board Copy vs Unmake · Undo Record

Design choice between cloning the entire Position struct onto the recursion stack on every child move versus mutating a single Position in place with make and unmake.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Compact engines with ~100-byte board structs sometimes clone the struct per ply to avoid writing unmake logic, whereas engines maintaining rich state (piece arrays, repetition history stacks) favor make/unmake.

Algorithmic & Chess Mechanism

Cloning copies every bitboard and piece array even when only 2 squares change, whereas make/unmake touches only the modified squares and pops a tiny undo record.

Role & Maturity in BalouChess

BalouChess uses make and unmake with an undo record (crates/core, engine, SPEC 001 R6), paired symmetrically with Evaluator::push and pop.

Practical Effect on Search, Play & Measurement

Keeps stack traffic minimal and mirrors the incremental accumulator stack 1:1.

Primary Literature Citation

Robert M. Hyatt, Chessprogramming Wiki "Make Move" & "Unmake Move" architectural comparison.

Specified, not built yet Evaluation & NNUE ★ Core Study Article

Origin: 2023 · ciekce (Stormphrax), Patria, Andrew Grant & Stockfish contributors (2023–2024)

Static Evaluation Correction History

German term: Korrekturhistorie der statischen Bewertung

Also searched as: Korrekturhistorie · Correction History · Pawn Corrhist · Eval Adjustment

Online per-search learning table indexed by structural hashes (such as pawn-structure key) recording the systematic gap search_score - raw_static_eval so static evaluations dynamically adapt to hidden fortresses, locked chains, or king-attack bias.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

One of the most impactful alpha-beta discoveries of 2023–2024: even strong research neural networks carry systematic local biases in specific pawn structures (for instance overrating blocked material advantages or underrating slow king storms). Indexing a damped running error table by pawn_key (and later minor/major piece keys and continuation keys) yielded substantial SPRT gains across engines.

Algorithmic & Chess Mechanism

Whenever a non-singular node finishes with a reliable search bound (Exact, or Lower with score > static_eval, or Upper with score < static_eval), the table updates corr[pawn_key] += gravity(score - raw_eval). Critically, Layout B caches the unadjusted raw_eval (15-bit lossless in payload), and crates/search applies + corr[pawn_key] freshly on every probe!

Role & Maturity in BalouChess

Already prepared architecturally in Layout B (raw_eval lossless storage in crates/tables, engine, SPEC 004 R4) and specified in engine, SPEC 003 R16 and section 3.3 across pawn structure, piece groups, and previous moves.

Practical Effect on Search, Play & Measurement

Makes RFP, NMP, Futility, and Razoring dramatically more accurate in deceptive positions where raw static eval disagrees with deep search.

Primary Literature Citation

Modern alpha-beta search innovation: Pawn-hash and non-pawn Evaluation Correction History in Stormphrax, Ethereal, Alexandria, and Stockfish (2023–2025).

Implemented in engine code Move Ordering & History ★ Core Study Article

Origin: 1977 · David J. Slate & Larry Atkin (SWAP, 1977); Fritz Reul (alpha-beta SEE threshold, 2010)

Static Exchange Evaluation (SEE)

German term: Statische Abtauschbewertung (SEE)

Also searched as: SEE · see_ge · SWAP · Gute und schlechte Schlagzüge · Schwellen-SEE

Fast bitboard simulation of the optimal series of captures and recaptures on a single target square (see_ge(pos, mv, threshold)), separating winning/equal captures (SEE >= 0) from material-losing captures (SEE < 0) without expanding search nodes.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Introduced as SWAP in Chess 4.5 by Slate and Atkin (1977) using attack bitboards to resolve single-square swap-offs. In 2009–2010, Fritz Reul showed that formulating SEE as a boolean threshold decision (SEE >= t) with two-sided stand-pat early exits avoids computing exact balances when the outcome relative to t is already decided after 1 or 2 captures.

Algorithmic & Chess Mechanism

Starting with the initial capture (mv) on square sq, each side iteratively recaptures with its least valuable attacker (Pawn < Knight ~ Bishop < Rook < Queen < King), clearing that attacker’s origin bit in a local occupancy copy so sliding X-ray batteries behind it (Rook behind Rook, Queen behind Bishop) immediately join the attacker set! Because either side may stop capturing at any point (stand-pat), backward/negamax minimax over the swap list determines whether net gain meets threshold.

Role & Maturity in BalouChess

Implemented in crates/core (see_ge, engine, SPEC 001 section 5, handling promotions, en passant, and X-ray line unveiling) and used in crates/search (engine, SPEC 003 R8 and section 3.3) to split SEE >= 0 captures ahead of killers from SEE < 0 captures behind quiet moves, as well as for quiescence and main-search SEE pruning.

Practical Effect on Search, Play & Measurement

Stops hopeless sacrifices like QxP (defended by a pawn) from jumping ahead of strong quiet moves simply because MVV-LVA sees a pawn victim.

Primary Literature Citation

David J. Slate and Larry Atkin, Chess 4.5 (1977) SWAP routine; Fritz Reul, Static Exchange Evaluation with alpha-beta Approach, ICGA Journal 32(4), 2010.

Specified, not built yet Rules, Tactics & Endgame ★ Core Study Article

Origin: 2013 · Ronald de Man

Syzygy Endgame Tablebases

German term: Syzygy-Endspieltabellen

Also searched as: Syzygy · Tablebases · Endspieldatenbanken · tbhits · SyzygyPath

Compressed precomputed endgame databases storing exact Win/Draw/Loss (WDL) outcomes under the 50-move rule and Distance-to-Zeroing (DTZ) move metrics for all positions up to 6 or 7 pieces.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Endgame tablebases began with Richard Bellman (1965) applying dynamic programming to chess endgames and Ken Thompson (1970–1986) solving 4-piece and 5-piece endings via retrograde analysis at Bell Labs, followed by Eugene Nalimov (1998) introducing widely used distance-to-mate (DTM) tables. In 2013, Dutch mathematician Ronald de Man introduced Syzygy bases, splitting tables into tiny memory-mapped WDL files for tree probing and separate DTZ files for root move selection while natively encoding the 50-move rule.

Algorithmic & Chess Mechanism

Instead of storing exact mate distances (which inflate table entropy), Syzygy stores 5-valued WDL outcomes (Win, CursedWin, Draw, BlessedLoss, Loss) compressed with custom byte-pair / Rans-style Huffman blocks suitable for random-access OS page caching. Inside the search tree, WDL probes are valid strictly at halfmove clock 0 without castling rights; at the root, DTZ tables filter the legal root moves so the engine never wanders without pawn push or capture past the 50-move draw boundary.

Role & Maturity in BalouChess

Specified in crates/tables (module syzygy, engine, SPEC 008), not built yet: BalouChess separates WDL tree probing (gated by piece limit, minimum remaining depth, and halfmove clock 0) from safe DTZ root filtering (probe_root) and maps outcomes into typed SearchValue::Tb values with ply-distance adjustment. For 3-piece and 4-piece endgames, an in-repo retrograde solver serves as an independent CI differential oracle without external table files; the planned Web-Lab browser build omits tablebases.

Practical Effect on Search, Play & Measurement

Eliminates horizon blindness in simplified endings and allows the main search to prune subtrees the instant a capture or pawn advance reaches a solved piece count, converting technical advantages cleanly while defending drawn endgames without error.

Primary Literature Citation

Ronald de Man, Syzygy Bases specification and generator release (2013); building on Ken Thompson, Retrograde Analysis of Certain Endgames, ICCA Journal 9(3), 1986.

General reference concept Evaluation & NNUE

Origin: 2004 · Fabien Letouzey (Fruit, 2004/2005); Ronald Friederich (PeSTO)

Tapered Evaluation (Middlegame–Endgame Phase Interpolation)

German term: Phaseninterpolation (Tapered Evaluation)

Also searched as: Tapered Eval · Spielphase · MG/EG Interpolation · PeSTO

Smoothly blending separate Middlegame (MG) and Endgame (EG) evaluation scores by remaining non-pawn material (phase in 0..24), eliminating abrupt evaluation cliffs when pieces are traded.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Early engines switched abruptly from "middlegame mode" to "endgame mode" once queens left the board, causing erratic trades right at the threshold until Fabien Letouzey popularized smooth dual (mg, eg) packed integer pairs in Fruit (2004/2005).

Algorithmic & Chess Mechanism

Assigning phase weights (Knight = 1, Bishop = 1, Rook = 2, Queen = 4, maximum 24) lets king piece-square tables smoothly shift from corner shelter (g1/b1 in MG) to central activity (d4/e4 in EG).

Role & Maturity in BalouChess

Today MaterialEvaluator (crates/nnue) uses a single compact geometric piece-square table rather than dual MG/EG tables; game-phase specialization enters BalouChess’s planned NNUE architecture via material-count output buckets (engine, SPEC 005 section 8).

Practical Effect on Search, Play & Measurement

Teaches even lightweight classical evaluators when the king must hide and when the king must march to the center.

Primary Literature Citation

Fabien Letouzey, Fruit 2.1 Evaluation Architecture (2005) — continuous (mg * phase + eg * (MAX - phase)) / MAX interpolation.

General reference concept Balou Lab & Methodology

Origin: 2005 · Graham Banks, Ray Banks & Kirill Kryukov (CCRL, 2005); Martin Thoresen & Anton Mihailov (TCEC, 2010)

TCEC & CCRL (Computer Chess Championships & Rating Lists)

German term: TCEC & CCRL (Computerschach-Meisterschaften & Ranglisten)

Also searched as: TCEC · CCRL · Superfinal · Top Chess Engine Championship · CEGT

Independent public benchmarks of computer chess: TCEC pits top engines in long-time-control paired-opening leagues culminating in a 100-game Superfinal, while CCRL maintains standardized 40/15 and blitz rating lists across hundreds of engines.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

CCRL (2005) created reproducible multi-engine gauntlets; Martin Thoresen founded TCEC (2010), whose 100-game Superfinals on unbalanced openings became the premier laboratory of top-level engine clashes.

Algorithmic & Chess Mechanism

Pairs each curated opening twice with reversed colors and records full move-by-move eval, depth, PV, and clock telemetry.

Role & Maturity in BalouChess

Statistical methodology ONLY (strictly 0 moves/evals ever enter training!): BalouChess ran error_book.py over paired TCEC Superfinal games (balou-hebel-nachpruefung.md, Superfinals 27–29) to test which theoretical failure hypotheses survive contact with real top-level play before writing engine, SPEC 015 and engine, SPEC 016.

Practical Effect on Search, Play & Measurement

Grounded BalouChess’s research agenda in real empirical match failure modes rather than folklore.

Primary Literature Citation

CCRL — Computer Chess Rating Lists (founded 2005); TCEC — Top Chess Engine Championship (founded by Martin Thoresen, 2010); BalouChess Superfinal 27–29 empirical study (2026).

Specified, not built yet Advisor, MCTS & Learning

Origin: 2015 · Cristian Buciluă et al. (2006) & Geoffrey Hinton, Oriol Vinyals & Jeff Dean (2015)

Teacher-Student Net Distillation

German term: Lehrer-Schüler-Destillation (Wissensdestillation)

Also searched as: Distillation · Lehrer-Schüler-Training · Knowledge Distillation · Hinton 2015

Training a compact, ultra-fast CPU student model (NnueEvaluator, or an even smaller planned Web-Lab student net) on soft target evaluations generated exclusively by BalouChess’s own larger teacher model (balou-advisor).

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Coined as Knowledge Distillation by Geoffrey Hinton, Oriol Vinyals, and Jeff Dean (2015) after model-compression work by Buciluă, Caruana, and Niculescu-Mizil (2006).

Algorithmic & Chess Mechanism

Continuous WDL/centipawn targets from a deeper teacher carry far richer gradient signal about subtle positional nuances than noisy binary 0 / 0.5 / 1 game outcomes alone.

Role & Maturity in BalouChess

Specified in engine, SPEC 013 section 2.3 and R1: distillation is permitted STRICTLY from BalouChess’s own self-trained Advisor nets with complete Netzpass — distilling from Stockfish or any other external engine is unconditionally forbidden.

Practical Effect on Search, Play & Measurement

Transfers large-model positional understanding into microsecond CPU evaluation without violating clean-room IP boundaries.

Primary Literature Citation

Geoffrey Hinton, Oriol Vinyals and Jeff Dean, Distilling the Knowledge in a Deep Model, NeurIPS Deep Learning research workshop (2014/2015).

Implemented in engine code Pruning & Extensions

Origin: 1977 · Classical tournament chess search optimization (Chess 4.5 / Crafty / engine, SPEC 003)

Terminal Proof Shortcut (Forced Mate Early Stop)

German term: Endbeweis-Abkürzung (Vorzeitiger Mattbeweis)

Also searched as: Endbeweis-Abkürzung · Forced Mate Stop · Shortest Mate Proven · stop_on_terminal_iteration

Stopping iterative deepening early under clock control once iteration d proves a forced checkmate in p <= d plies, because no deeper iteration d + 1 can possibly discover an even shorter mate.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Saves precious tournament clock seconds during mating finishes while still respecting UCI go infinite and go mate contracts.

Algorithmic & Chess Mechanism

If unpruned root depth d confirms MateIn(+p) with p <= d and the search is clock-managed (NOT go infinite), banking the remaining clock time is strictly dominant.

Role & Maturity in BalouChess

Implemented in crates/search via parameter stop_on_terminal_iteration (engine, SPEC 003 section 3.3) while strictly respecting engine, SPEC 006 R6 (infinite searches never self-terminate before stop).

Practical Effect on Search, Play & Measurement

Executes proven mates crisp and fast without burning clock increment unnecessarily.

Primary Literature Citation

BalouChess engine, SPEC 003 section 3.3 ("Endbeweis-Abkürzung") and engine, SPEC 006 time-control integration.

Specified, not built yet Evaluation & NNUE

Origin: 2012 · Peter Österlund (Texel)

Texel’s Tuning Method (Logistic Sigmoid Calibration)

German term: Texel-Abstimmung (Logistische Sigmoid-Kalibrierung)

Also searched as: Texel Tuning · Sigmoid WDL Fit · Peter Österlund 2012 · Quiet Position Regression

Supervised calibration fitting centipawn evaluation weights so sigmoid(K * eval(pos)) minimizes cross-entropy or mean-squared error against observed game outcomes (1.0, 0.5, 0.0) over quiet positions.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Published by Swedish programmer Peter Österlund for his engine Texel in 2012–2014; its core loss function — blending sigmoid-mapped search score and game outcome — remains the exact training objective of modern NNUE trainers today!

Algorithmic & Chess Mechanism

Filters out tactical positions (where captures are pending) and minimizes sum (lambda * sigmoid(score / S) + (1 - lambda) * result - sigmoid(eval(pos) / S))^2 via gradient descent (AdamW).

Role & Maturity in BalouChess

Applicable to classical PST weights and directly embodied in BalouChess’s specified self-play training objective (lambda blending search score and WDL outcome in engine, SPEC 013 section 2.2).

Practical Effect on Search, Play & Measurement

Calibrates evaluation centipawns directly onto meaningful win-probability odds.

Primary Literature Citation

Peter Österlund, Texel’s Tuning Method, Chessprogramming Wiki & Texel Engine Documentation (2012–2014).

Implemented in engine code Rules, Tactics & Endgame

Origin: 1883 · London International Tournament Code (1883)

Threefold Repetition & Twofold Search Rule

German term: Dreifache Stellungswiederholung & Zweifach-Suchregel

Also searched as: Dreifachwiederholung · Wiederholungsremis · Dauerschach · Repetition

Draw rule triggered when an identical position (pieces, side to move, castling rights, and legal en-passant target) occurs 3 times in a game — and treated as a draw on the 2nd occurrence inside a search subtree.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Formalized at the 1883 London tournament to resolve perpetual checks and repetitive maneuvers. Early chess programs learned to score the 2nd occurrence inside the search path as 0 cp immediately because rational play can repeat again.

Algorithmic & Chess Mechanism

Only positions since the last irreversible move (pawn move, capture, or castling-right loss) can repeat, and only every 2nd ply shares the same side to move. Checking repetition BEFORE probing the transposition table prevents stale winning scores from masking a forced perpetual check.

Role & Maturity in BalouChess

Implemented in crates/core (engine, SPEC 001 R9) and crates/search (engine, SPEC 003 R4): BalouChess separates game-history keys before the root (requiring 3 total occurrences) from search-path keys at or below the root (drawing on 2 occurrences as Centipawns(0)), always taking precedence over cached table entries.

Practical Effect on Search, Play & Measurement

Eliminates blind spots against perpetual check saves and prevents winning sides from accidentally repeating positions.

Primary Literature Citation

London International Chess Tournament Rules (1883); FIDE Laws of Chess, Article 9.2.

Implemented in engine code Board, Bitboards & TT ★ Core Study Article

Origin: 1967 · Richard D. Greenblatt (Mac Hack VI, 1967); Robert Hyatt & Anthony Cozzie (lockless TT, 2005); Balou Layout B (2026)

Transposition Table Layout B (64-Byte Cache Line)

German term: Transpositionstabelle Layout B (64-Byte-Cachezeile)

Also searched as: Layout B · Layout-B TT · 64-Byte-Cachezeile · Transpositionstabelle · TT · Hash-Tabelle

BalouChess’s lock-free, cache-line-aligned transposition table (#[repr(C, align(64))]) packing 2 atomic 24-byte slots plus 16 alignment-reserve bytes per 64-byte CPU cache line in 100 % Safe Rust.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Richard Greenblatt introduced the first chess transposition table in Mac Hack VI (1967) to cache previously searched subtrees reached via different move orders. In 2005, Robert Hyatt and Anthony Cozzie popularized lockless shared hash tables using 64-bit XOR verification so parallel search threads never pay mutex overhead. BalouChess evaluated candidate memory layouts in engine, WP 0022 and engine, WP 0141 and selected Layout B.

Algorithmic & Chess Mechanism

Each 64-byte line fits inside a single cache transfer and holds 2 independent 24-byte (3 × AtomicU64) slots: meta (depth 16 bit, age 16 bit, bound/empty 2 bit, 22 zeroed reserved bits 34..55, and 8-bit prefilter tag8 = key & 0xff in bits 56..63), payload (16-bit best move, lossless 15-bit raw static eval up to ±16,383 cp, and 33-bit SearchValue including mate/tablebase distances), and check (64-bit tabulation-hash fingerprint XORed with the full 64-bit PositionKey).

Role & Maturity in BalouChess

Implemented in crates/tables (engine, SPEC 004, #![forbid(unsafe_code)]), scaling up to 256 GiB (1..128 MiB in the specified Web-Lab browser module), with isolated access enforced at compile time so only crates/search can write SearchValue and Bound.

Practical Effect on Search, Play & Measurement

Eliminates redundant subtree searches across transpositions and iterative deepening, supplies the high-priority TT-move for move ordering, and serves as the shared communication fabric for planned multi-core Lazy SMP without data races.

Primary Literature Citation

Richard D. Greenblatt, Donald E. Eastlake and Stephen D. Crocker, The Greenblatt Chess Program, AFIPS Fall Joint Computer Conference (1967); Robert M. Hyatt and Anthony Cozzie, The Effect of Hash Signature Collisions in a Chess Program, ICGA Journal 28(3), 2005.

Implemented in engine code Board, Bitboards & TT

Origin: 1994 · Dennis M. Breuker, Jos W. H. M. Uiterwijk & Jaap van den Herik

Transposition Table Replacement Policy (Depth & Age)

German term: Ersetzungsstrategie der Transpositionstabelle (Tiefe & Alter)

Also searched as: Ersetzungsregel · TT Replacement · Two-Tier Bucket · Suchgeneration · hashfull

Eviction policy across the 2 slots of a Layout B cache line balancing search depth (costly subtrees) against search generation age (fresh relevance) so shallow leaf entries never overwrite deep current-search roots.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Systematically benchmarked by Breuker, Uiterwijk, and van den Herik (1994, 1996), proving that multi-slot depth-plus-aging buckets strictly dominate naive always-replace or depth-only policies.

Algorithmic & Chess Mechanism

When inserting a new key into a 2-slot line, if one slot matches the key it is updated; otherwise the entry with lower combined depth/freshness priority is replaced — never evicting a slot when its sibling is simultaneously shallower AND older.

Role & Maturity in BalouChess

Implemented in crates/tables and parameterized from crates/search (engine, SPEC 004 R5 and R8, hashfull permille sampling from the active search generation).

Practical Effect on Search, Play & Measurement

Prevents table thrashing during long searches when hashfull approaches 1,000 permille.

Primary Literature Citation

D. M. Breuker, J. W. H. M. Uiterwijk and H. J. van den Herik, Replacement Schemes for Transposition Tables, ICCA Journal 17(4), 195–203, 1994.

Implemented in engine code Move Ordering & History ★ Core Study Article

Origin: 1967 · Richard D. Greenblatt (1967) & Slate / Atkin (1977)

Transposition-Table Move (TT-Move First)

German term: TT-Zug (Tabellenzug an Stelle 1)

Also searched as: TT-Zug · TT-Move · Hash Move · Tabellenzug · Bester Vorlaufzug

Best move or refutation move stored inside a Layout B transposition-table entry from an earlier shallower iteration or transposed path, tried at priority #1 BEFORE generating any move list.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Introduced in Greenblatt’s Mac Hack VI (1967) and quantified by Jonathan Schaeffer (1989) as the single strongest move-ordering signal in iterative-deepening alpha-beta search.

Algorithmic & Chess Mechanism

Even when a cached table entry’s depth is too shallow to return an immediate score cutoff, its stored 16-bit best_move was proven best (on Exact) or caused a beta cutoff (on Lower) at an earlier pass! Because a 64-bit hash collision has non-zero probability (~2^-64), the engine calls pos.is_legal(tt_move) in O(1) first; if legal and score >= beta, the node finishes with 0 calls to legal_tactical_moves or legal_quiet_moves.

Role & Maturity in BalouChess

Implemented in crates/search (engine, SPEC 003 R8 and engine, SPEC 004 R4): Layout B preserves an existing slot’s best_move when an Upper (fail-low) bound overwrites the same position without a new refutation move, and Advisor hints are strictly forbidden (engine, SPEC 010 R4) from ever displacing TT-move from rank 1.

Practical Effect on Search, Play & Measurement

Delivers immediate cutoffs on move 1 at a vast majority of re-visited Cut-nodes while skipping move generation entirely.

Primary Literature Citation

Richard D. Greenblatt et al., The Greenblatt Chess Program (1967); Jonathan Schaeffer, The History Heuristic and Alpha-Beta Search Enhancements in Practice (1989) quantifying TT-move impact.

Implemented in engine code Time & Protocols ★ Core Study Article

Origin: 2000 · Rudolf Huber & Stefan Meyer-Kahlen (Shredder, November 2000)

UCI Protocol & bestmove Contract

German term: UCI-Protokoll & bestmove-Vertrag

Also searched as: UCI · bestmove · betsmove · Universal Chess Interface · isready · readyok · uciok

Stateless line-oriented stdin/stdout text protocol connecting chess GUIs and tournament runners (fastchess, Arena, En Croissant, Fritz) to chess engines, centered on the strict contract that every go command terminates with exactly 1 legal bestmove <lan> line.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Published in November 2000 by Rudolf Huber and Shredder author Stefan Meyer-Kahlen as a clean, stateless replacement for the older stateful XBoard/CECP protocol: instead of requiring the engine to mirror GUI undo/clock state silently, UCI delegates game state to the GUI (position startpos moves ...) and synchronization to isready -> readyok.

Algorithmic & Chess Mechanism

Handshake starts with uci -> id name ..., id author ..., declared option name ... lines, and uciok. Even while a search is running on worker threads, the reader thread must remain responsive to isready (answering readyok immediately) and stop / quit. Every go search emits structured info depth ... seldepth ... score cp|mate ... nodes ... nps ... hashfull ... pv ... lines and concludes with bestmove e2e4 (often searched under common typos like betsmove), formatted in Long Algebraic Notation (e7e8q, or 0000 solely on already mated/stalemated roots).

Role & Maturity in BalouChess

Implemented in crates/protocol and bins/balou (engine, SPEC 002 R1–R13): fuzz-tested with arbitrary random text lines so unknown or truncated commands NEVER panic or hang (R6), and verified across 10,000 fastchess stability games (verified-facts.json).

Practical Effect on Search, Play & Measurement

Makes BalouChess plug-and-play compatible with every modern chess GUI, match runner, and automated SPRT harness.

Primary Literature Citation

Rudolf Huber and Stefan Meyer-Kahlen, Description of the Universal Chess Interface (UCI), November 2000; BalouChess engine, SPEC 002.

General reference concept Advisor, MCTS & Learning ★ Core Study Article

Origin: 2006 · Levente Kocsis & Csaba Szepesvári (UCT, 2006); Christopher D. Rosin (PUCT, 2011) & Silver et al. (2017)

UCT & PUCT (Upper Confidence Bounds Applied to Trees)

German term: UCT & PUCT (Obere Vertrauensschranken für Suchbäume)

Also searched as: UCT · PUCT · UCB1 · Exploration vs Exploitation · Kocsis Szepesvári 2006

Multi-armed bandit selection formulas balancing exploitation of high-scoring moves (Q(s, a)) against exploration of under-visited moves (U(s, a)), extended in PUCT with learned prior move probabilities P(s, a).

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Adapting Auer, Cesa-Bianchi, and Fischer’s UCB1 bandit bound (2002) to sequential trees, Levente Kocsis and Csaba Szepesvári published UCT at ECML 2006, proving asymptotic convergence to the minimax optimum. Christopher Rosin introduced Predictor + UCT (PUCT, 2011), which AlphaGo (2016), AlphaZero (2017), and Lc0 (2018) adopted to focus early simulations on strong policy candidates.

Algorithmic & Chess Mechanism

Classical UCT selects argmax_a [ Q(s, a) + c * sqrt(ln N(s) / N(s, a)) ], which forces visiting EVERY legal move at least once before revisiting the best move — disastrous in chess with 35 moves! PUCT replaces the exploration bonus with c_puct * P(s, a) * sqrt(N(s)) / (1 + N(s, a)): moves given tiny prior P(s, a) by the policy head stay untouched early, yet because sqrt(N(s)) grows without bound if N(s, a) stays small, every legal move is eventually explored given enough time.

Role & Maturity in BalouChess

Referenced in BalouChess research (engine, SPEC 010 and engine, SPEC 016) both to understand how balou-advisor policy priors P(s, a) rank candidate moves AND why LMR + policy-adjusted reductions achieve a faster CPU analogue of PUCT’s prior-weighted allocation.

Practical Effect on Search, Play & Measurement

Cornerstone equation of modern game AI, bridging statistical bandit theory (UCB1), Bayesian priors, and tree search.

Primary Literature Citation

Levente Kocsis and Csaba Szepesvári, Bandit Based Monte-Carlo Planning, ECML 2006, LNCS 4212, 282–293; Christopher D. Rosin, Multi-Armed Bandits with Episode Context, Annals of Mathematics and AI 61(3), 2011.

Implemented in engine code Rules, Tactics & Endgame

Origin: 2013 · Marcel van Kervinck

Upcoming Cycle Detection (Cuckoo Repetition)

German term: Kommende Wiederholung (Zyklen-Früherkennung)

Also searched as: has_upcoming_repetition · Cuckoo Hashing Repetition · van Kervinck 2013

Fast pre-move lookup using Zobrist key XOR differences of reversible piece moves to detect whether the side to move can reach a repetition draw in 1 move without generating all moves first.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Published by Marcel van Kervinck in April 2013 using a compact Cuckoo-style hash table of single-piece Zobrist XOR deltas so engines can spot 1-ply draw escapes before expensive child expansion.

Algorithmic & Chess Mechanism

XORing the current PositionKey with historical keys since the last irreversible move yields a delta that matches a precomputed reversible piece jump only if one piece could bridge both states; ray clearance and pin legality confirm whether the return move is truly legal.

Role & Maturity in BalouChess

Implemented in crates/core as Position::has_upcoming_repetition (engine, SPEC 001 R18, engine, WP 0152) from prose specification using BalouChess’s own Zobrist keys and randomized differential tests against a direct search reference (off by default until search integration passes SPRT).

Practical Effect on Search, Play & Measurement

Saves subtree expansions in defensive or maneuvering positions where an immediate repetition draw is already available.

Primary Literature Citation

Marcel N. J. van Kervinck, A fast software-based method for upcoming cycle detection in search trees (2013).

Implemented in engine code Balou Lab & Methodology

Origin: 2026 · BalouChess Web Honesty Gate (tools/check-engine-facts.mjs)

Verified Facts Registry (verified-facts.json)

German term: Verifiziertes Faktenregister (verified-facts.json)

Also searched as: verified-facts.json · check-engine-facts.mjs · Belegte Kennzahlen · Zahlen-Ehrlichkeit

Single machine-checked registry binding every quantitative statement on the BalouChess website (32 standard Perft counts, 10,000 stability games, 24-hour FEN & UCI fuzz runs, TT-move ordering SPRT, and Rust workspace test count) to an exact engine git commit, report line, verbatim quote, caveat, and confidence disclosure (engine, WP 0028 and engine, WP 0123).

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Created to enforce AGENTS.md’s iron rule against marketing fluff: if a number does not have a committed measurement report in the engine repository, CI refuses to build the website!

Algorithmic & Chess Mechanism

npm run lint runs both lint-web.mjs (blocking inline Elo/NPS numbers, unbacked superlatives, and unmarked planned features) and check-engine-facts.mjs (verifying every verified-facts.json entry’s commit hash, date, and bilingual parity).

Role & Maturity in BalouChess

Active in production CI across balouchess-web and rendered transparently on /en/ and /de/ alongside honest maturity badges.

Practical Effect on Search, Play & Measurement

Makes technical honesty an automated compile-and-lint invariant rather than a slogan.

Primary Literature Citation

BalouChess Web src/content/facts/verified-facts.json & CI verifier tools/check-engine-facts.mjs (2026).

Implemented in engine code Balou Lab & Methodology

Origin: 2026 · BalouChess Calibration Suite (engine, SPEC 015 section 6, engine, WP 0006, engine, WP 0029, engine, WP 0043)

Versioned Reference Opponent Ladder (Referenzleiter)

German term: Versionierte Referenzleiter (Externe Kalibriergegner)

Also searched as: Referenzleiter · Reference Ladder · Prechess Miguedrez JACE Tofiks Lynx

Pinned staircase of external UCI engines spanning every development stage from basic alpha-beta (Prechess, Miguedrez, BenBot, JACE) through mid-strength classical/neural engines (Tofiks, Rustic, Lynx) up to top level (Stockfish), used alongside frozen historical Balou tags.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Testing a newborn classical engine solely against full-strength Stockfish yields 0 % scores with zero statistical gradient! Building a fine-grained ~150–250-point spaced staircase (engine, WP 0029 and engine, WP 0043) gives informative 25 %–75 % match scores at every milestone.

Algorithmic & Chess Mechanism

Every opponent binary is pinned by exact version, SHA-256, single-thread UCI options, and isolated child-process execution — NEVER upgraded mid-project so historical progress curves remain strictly comparable.

Role & Maturity in BalouChess

Active in tools/match_runner (engine, SPEC 015 section 6 and R18), generating a full Fehlerbuch diagnostic at every milestone rung.

Practical Effect on Search, Play & Measurement

Tracks genuine external progress across styles while guarding against self-play echo chambers.

Primary Literature Citation

BalouChess engine, SPEC 015 section 6 ("Referenzleiter", 2026).

Implemented in engine code Balou Lab & Methodology

Origin: 2026 · BalouChess Empirical Study N4 & engine, SPEC 015 R24

Voluntary Material Investment (Positional Sacrifice Metric)

German term: Freiwillige Materialinvestition (Positionsopfer-Kennzahl)

Also searched as: Freiwillige Materialinvestition · Positionsopfer · Langfristiges Bauernopfer

Formal PGN metric detecting true long-term positional sacrifices: an engine voluntarily enters >= 1 pawn material deficit for at least 4 consecutive own moves while its own evaluation stays stable (drop <= 0.3 pawns and score > -1.5).

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Popular commentary often credits neural MCTS engines with winning primarily through unanswered romantic sacrifices; when BalouChess measured voluntary sustained material investments objectively across paired Superfinal games (N4), unexpected opponent sacrifices accounted for almost none of the losses, and modern alpha-beta engines initiated voluntary multi-move investments at least as frequently as neural MCTS engines!

Algorithmic & Chess Mechanism

Filters out forced tactical recaptures (< 4 moves duration) and desperate blunders (eval drop > 0.3 or eval <= -1.5), isolating deliberate compensation play and tracking its actual win/draw/loss payoff.

Role & Maturity in BalouChess

Implemented in tools/match_runner/error_book.py (engine, SPEC 015 R24) to track how BalouChess’s dynamic understanding evolves from MaterialEvaluator to future planned NNUE and Advisor stages.

Practical Effect on Search, Play & Measurement

Quantifies romantic/AlphaZero-style positional sacrifices in cold, reproducible tournament numbers.

Primary Literature Citation

BalouChess study balou-hebel-nachpruefung.md N4 & engine specification engine, SPEC 015 R24 ("Freiwillige Materialinvestition").

Specified, not built yet Time & Protocols

Origin: 2019 · Bytecode Alliance / Mozilla WASI Standard (Lin Clark & Dan Gohman, 2019)

WASI Preview 1 Browser Sandbox (wasm32-wasip1)

German term: WASI-Preview-1-Sandbox im Browser (wasm32-wasip1)

Also searched as: WASI · wasm32-wasip1 · WebAssembly Sandbox · Zero-Syscall Shim

Compiling Rust’s standard library directly to wasm32-wasip1 without wasm-bindgen glue bloat, driving the planned balou-weblab.wasm inside a capability-denied TypeScript WASI shim (~150 lines) with zero filesystem or network syscalls.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Standardized in 2019 by the Bytecode Alliance as a capability-based POSIX subset (fd_read, fd_write, clock_time_get, proc_exit, random_get). Choosing wasm32-wasip1 avoids pulling wasm-bindgen/js-sys npm dependencies into either repository!

Algorithmic & Chess Mechanism

Grants ONLY stdin (fd 0), stdout (fd 1), stderr (fd 2), read-only /balou/stop file-size inspection (fd_filestat_get in Stage A isolated mode), monotonic clock, and random_get, importing strictly wasi_snapshot_preview1 with zero sock_* network syscalls.

Role & Maturity in BalouChess

Core workspace crates (crates/core, crates/values, crates/tables, crates/nnue, crates/search) are portable pure Safe Rust, while the planned bins/balou-weblab WASI binary and its TypeScript Worker host are specified in engine, SPEC 017 (not built yet).

Practical Effect on Search, Play & Measurement

Provides airtight browser sandboxing and identical CLI/browser testability of one exact .wasm artifact.

Primary Literature Citation

Lin Clark and Dan Gohman, Standardizing WASI: A System Interface to Run WebAssembly Outside the Web (March 2019); BalouChess engine, ADR 0024 & engine, SPEC 017.

Specified, not built yet Rules, Tactics & Endgame ★ Core Study Article

Origin: 2013 · Ronald de Man

WDL & DTZ (Win/Draw/Loss & Distance to Zeroing)

German term: WDL & DTZ (Gewinn/Remis/Verlust & Nullsetz-Distanz)

Also searched as: WDL · DTZ · DTZ50 · DTM · UCI_ShowWDL · TablebaseWdl

Two distinct ways to summarize position outcomes: WDL expresses win, draw, and loss outcomes (exact in tablebases or calibrated probabilities in search/networks), whereas DTZ counts plies until the next capture, pawn move, or mate resets the 50-move clock.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Classical endgame databases by Ken Thompson and Eugene Nalimov stored Distance to Mate (DTM), which forced engines to find the shortest mate but ignored whether intermediate phases violated the 50-move rule and required large storage footprints. Ronald de Man replaced DTM in 2013 with the pair WDL + DTZ50, shrinking 6-piece tables dramatically so WDL fits in RAM during deep parallel search.

Algorithmic & Chess Mechanism

In tablebases, WDL classifies every position at halfmove clock 0 into 5 discrete classes, while DTZ measures how many plies optimal play needs to reach the next irreversible transition (pawn move or capture) that resets the halfmove counter to 0. Separately, in evaluation and UCI output (UCI_ShowWDL), WDL denotes a continuous 3-tuple of probabilities summing to 1.0 calibrated from centipawn scores and game ply.

Role & Maturity in BalouChess

In BalouChess (engine, SPEC 005, engine, SPEC 008, and schnittstellen.md), type safety strictly separates exact tablebase outcomes (TablebaseWdl inside SearchValue::Tb) from probabilistic network estimates (NetWdl inside Estimate) at compile time: a compile_fail test guarantees NetWdl can never enter the transposition table as an exact search bound.

Practical Effect on Search, Play & Measurement

Prevents catastrophic contamination between exact retrograde proofs and statistical win-probability estimates while enabling 50-move-safe endgame conversion.

Primary Literature Citation

Ronald de Man, Syzygy WDL and DTZ50 format documentation (2013); UCI_ShowWDL extension in modern UCI interfaces.

Specified, not built yet Time & Protocols ★ Core Study Article

Origin: 2026 · BalouChess Web & Engine Architecture (engine, SPEC 017 & engine, ADR 0024)

Web-Lab Line Protocol v1 (WASI Worker Protocol, Specified)

German term: Web-Lab-Zeilenprotokoll V1 (WASI-Worker-Protokoll, spezifiziert)

Also searched as: balou-weblab.wasm · web-lab · hello · think · xray

Deliberately non-UCI stdin/stdout ASCII line protocol Version 1 (hello, sync, set, new-game, board, legal-moves, params, think, xray, bye) specified for the planned balou-weblab.wasm browser command module.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Shipping a drop-in UCI tournament binary directly in the browser would allow trivial embedding into third-party UCI GUIs. In engine, ADR 0024 and engine, SPEC 017, BalouChess therefore specified a dedicated bins/balou-weblab crate (#![forbid(unsafe_code)], 1 thread, hash capped to 1..128 MiB, default 16 MiB) speaking its own Version 1 line format (specified, not built yet).

Algorithmic & Chess Mechanism

Running inside a planned Web Worker over pure wasi_snapshot_preview1 (fd_read/fd_write, zero sock_* or custom host imports), hello reports engine protocol=1 edition=web-lab ... and limit threads=1 hash-min=1 hash-max=128 hash-default=16 followed by hello-end; board and legal-moves manage positions; set and params expose tunable search parameters; think (depth=, nodes=, fixed-ms=, white-ms=, black-ms=, until-stop, only=) streams report lines (including qnodes) and ends with done move=<move>; xray outputs 128 quiet-history lines; and any UCI command like uci or go returns error unknown-command.

Role & Maturity in BalouChess

Specified symmetrically in engine, SPEC 017 (R1–R12) and in balouchess-web, not shipped yet: zero .wasm bytes exist in public/ until engine, WP 0157, similarity verification, license notices, and Web-Lab terms of use are signed off (Class D).

Practical Effect on Search, Play & Measurement

Enables genuine, zero-server browser exploration of BalouChess’s real search algorithms while protecting the commercial native edition.

Primary Literature Citation

BalouChess engine, SPEC 017 ("Web-Lab Edition, bins/balou-weblab") and planned Web-Lab Worker contract (2026).

General reference concept Board, Bitboards & TT

Origin: 1967 · Richard Greenblatt (10×12 Mailbox) & John Stanback / Bruce Moreland (0x88)

0x88 & 10×12 Mailbox Board Representations

German term: 0x88- und 10×12-Postfach-Darstellung

Also searched as: 0x88 · Mailbox · 10x12 · 12x10 · Off-board test

Historical array-based board layouts before 64-bit CPUs, using sentinel border squares (10×12) or bitmask coordinate tricks (index & 0x88) to detect off-board rays.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Dominated 8-bit microcomputers and 32-bit engines (Fruit, Rebel, Hiarcs) before 64-bit hardware made bitboards superior.

Algorithmic & Chess Mechanism

In 0x88, an 8×16 array (128 cells) places real squares where bit 3 and bit 7 are both 0; any step off the board sets (sq & 0x88) != 0 in 1 instruction.

Role & Maturity in BalouChess

BalouChess uses 64-bit bitboards + Magic Bitboards in production code (crates/core) and uses a simple square-by-square reference generator only as a differential test oracle (engine, SPEC 001 section 5).

Practical Effect on Search, Play & Measurement

Historically important stepping stone and crystal-clear reference model for testing optimized bitboard code.

Primary Literature Citation

Richard Greenblatt et al., Mac Hack VI (1967); Bruce Moreland, Programming Topics: 0x88 Move Generation (1998).

Specified, not built yet Time & Protocols

Origin: 2026 · BalouChess Cyber-Balou HUD & SearchObserver Design

X-Ray Search Telemetry & Structured Events

German term: X-Ray-Suchtelemetrie & strukturierter Ereignisstrom

Also searched as: X-Ray · SearchObserver · TT-Hit-Quote · First-Move-Cutoff-Quote · Suchtelemetrie

Read-only search diagnostics exposing per-iteration depth, seldepth, nodes, quiescence-node share qnodes, hashfull, bounds, principal variation, and the 128-row quiet-move history matrix (xray-history) in the planned Cyber-Balou HUD without altering a single searched node.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Most browser chess demos show only a static evaluation bar; BalouChess’s Cyber-Balou HUD was designed so students and engineers can watch how changing a search parameter immediately alters tree shape and cutoff rates.

Algorithmic & Chess Mechanism

Emitted once per completed depth (Progress callback in crates/search), throttled to 60 fps (requestAnimationFrame) on the UI side so telemetry rendering never drops frame rates.

Role & Maturity in BalouChess

Iteration reporting is already implemented in crates/search, while the read-only xray feature (qnodes in report and 128 xray-history lines with bit-identical bench signature) is specified in engine, SPEC 017 R12 (planned, not built yet).

Practical Effect on Search, Play & Measurement

Turns an invisible search black box into an interactive computer-science laboratory.

Primary Literature Citation

BalouChess architecture interfaces schnittstellen.md (SearchObserver) & engine specification engine, SPEC 017 R12 (xray feature: qnodes and xray-history).

General reference concept Time & Protocols

Origin: 1991 · Tim Mann (XBoard / GNU Chess interface, 1991–1994)

XBoard / WinBoard Protocol (CECP)

German term: XBoard-/WinBoard-Protokoll (CECP)

Also searched as: XBoard · WinBoard · CECP · Chess Engine Communication Protocol

Stateful predecessor to UCI in which the engine itself had to maintain ongoing game state, clocks, takebacks (undo/remove), and alternating force/play modes across moves.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Created by Tim Mann in the early 1990s around GNU Chess and dominant throughout the 1990s before Stefan Meyer-Kahlen’s stateless UCI (2000) became the universal standard.

Algorithmic & Chess Mechanism

Stateful synchronization makes crash recovery and fuzz robustness far harder because any desynchronized undo or force command corrupts subsequent moves.

Role & Maturity in BalouChess

Explicitly excluded by engine, ADR 0004: BalouChess implements ONLY stateless UCI (crates/protocol) plus the planned Web-Lab protocol (engine, SPEC 017).

Practical Effect on Search, Play & Measurement

Keeps crates/protocol small, stateless, and thoroughly fuzz-verifiable.

Primary Literature Citation

Tim Mann, Chess Engine Communication Protocol (CECP), 1994; architectural comparison in BalouChess engine, ADR 0004.

General reference concept Parallelism & Hardware

Origin: 1990 · Rainer Feldmann, Peter Mysliwietz & Burkhard Monien (YBWC, 1990); Jean-Christophe Weill (ABDADA, 1996)

YBWC & ABDADA (Precursors to Lazy SMP)

German term: YBWC & ABDADA (Vorläufer von Lazy SMP)

Also searched as: YBWC · ABDADA · Young Brothers Wait Concept · Feldmann 1990 · Weill 1996

Classic parallel alpha-beta algorithms before Lazy SMP: YBWC forbids searching sibling moves in parallel until the eldest brother (move 0) finishes establishing alpha, while ABDADA marks currently active moves inside the transposition table to defer duplicate work.

Read historical origin, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Invented by Rainer Feldmann’s Zugzwang team in Paderborn (YBWC, 1990) and Jean-Christophe Weill (ABDADA, 1996). YBWC powered Crafty, Fruit, and Stockfish 1–6 until Lazy SMP superseded explicit split-point locks in 2015–2016.

Algorithmic & Chess Mechanism

Explicit split-point synchronization suffers heavy lock overhead once selective LMR/pruning shrinks subtrees to microseconds, whereas Lazy SMP communicates purely via lock-free cache lines.

Role & Maturity in BalouChess

BalouChess deliberately selects Lazy SMP (engine, SPEC 007, planned, not built yet) over YBWC to preserve #![forbid(unsafe_code)] simplicity and lock-free scaling.

Practical Effect on Search, Play & Measurement

Explains why "simpler and lock-free" beat "intricate work-stealing" in parallel chess search.

Primary Literature Citation

Rainer Feldmann, Spielbaumsuche mit massiv parallelen Systemen, Dissertation Univ. Paderborn (1993, YBWC 1990); Jean-Christophe Weill, The ABDADA Distributed Minimax Search Algorithm, ACM CSC 1996.

Implemented in engine code Board, Bitboards & TT ★ Core Study Article

Origin: 1970 · Albert L. Zobrist

Zobrist Hashing (64-Bit PositionKey)

German term: Zobrist-Hashing (64-Bit-PositionKey)

Also searched as: Zobrist · PositionKey · Zobrist-XOR · Stellungsschlüssel · Hash-Schlüssel

Incremental 64-bit board fingerprinting via bitwise XOR (^) of fixed pseudorandom numbers for every piece-square pair, side to move, castling right, and legally capturable en-passant file.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

Published by Albert Lindsey Zobrist at the University of Wisconsin in 1969/1970 (originally demonstrated on Go and chess). Because XOR is associative, commutative, and self-inverse (x ^ k ^ k = x), Zobrist hashing made transposition tables practically cost-free to maintain during tree search.

Algorithmic & Chess Mechanism

When a piece moves from e2 to e4, instead of hashing all 64 squares from scratch, make executes key ^= PIECE_SQ[wP][e2] ^ PIECE_SQ[wP][e4] ^ SIDE_KEY, updating the 64-bit hash in 3 register operations. Two move sequences reaching the exact same board state via transposition (1. d4 Nf6 2. c4 vs 1. c4 Nf6 2. d4) converge on the identical u64 key regardless of move order.

Role & Maturity in BalouChess

Implemented in crates/core (PositionKey, engine, SPEC 001 R7–R8): uses fixed, deterministic pseudorandom constants so every position yields the exact same 64-bit key across Windows, Linux, macOS, x86-64, ARM64, and wasm32, hashing en passant strictly when a legal en-passant capture exists.

Practical Effect on Search, Play & Measurement

Powers O(1) transposition-table indexing, repetition detection, upcoming-cycle lookups, and cross-platform search determinism.

Primary Literature Citation

Albert L. Zobrist, A New Hashing Method with Application for Game Playing, Technical Report #88, University of Wisconsin (1969) and Communications of the ACM 13(11), 647–653, 1970.

Specified, not built yet Rules, Tactics & Endgame ★ Core Study Article

Origin: 1858 · Max Lange & Aaron Nimzowitsch

Zugzwang

German term: Zugzwang

Also searched as: Move compulsion · Null-Move-Blindheit · Zugpflicht

A position in which the obligation to make a legal move weakens one’s own position: passing the turn would maintain the balance or win, whereas every legal move concedes crucial ground.

Read full study article: history, mechanism, BalouChess usage & impact

Historical Origin & First Publication

German chess literature used the term Zugzwang by the mid-19th century (Max Lange, 1858), and Emanuel Lasker and Aaron Nimzowitsch (Mein System, 1925, including the famous "Immortal Zugzwang Game" Sämisch–Nimzowitsch, Copenhagen 1923) elevated it into a cornerstone of endgame and middlegame strategy. In computer chess, Zugzwang became the primary failure mode of Null-Move Pruning in the early 1990s.

Algorithmic & Chess Mechanism

In King-and-Pawn endings and reciprocally mined squares (trebuchet, triangulation, opposition), the side to move must abandon a key defensive square. Because Null-Move Pruning assumes that making a real move is at least as good as passing ("null move hypothesis"), an unguarded null-move check will falsely prune winning or drawing lines whenever Zugzwang violates that assumption.

Role & Maturity in BalouChess

In BalouChess (engine, SPEC 003, section 3.3), Null-Move Pruning is specified with verification search and a candidate pawn-only guard (disabling null moves when only kings and pawns remain for the side to move), each gated by an individual parameter switch and SPRT.

Practical Effect on Search, Play & Measurement

Accurate Zugzwang handling preserves tactical and endgame soundness while allowing aggressive null-move tree reductions in piece-rich middlegames.

Primary Literature Citation

Max Lange, Deutsche Schachzeitung (1858); Aaron Nimzowitsch, Mein System (1925); Christian Donninger, Null Move and Deep Search, ICCA Journal 16(3), 1993.