Chapter 10 Instructor Notes: Calculation
Chapter text · Case study 1 · Case study 2 · Exercises · Quiz · Key takeaways
Learning objectives
The chapter states its aims in the hook ("You will learn what calculation is (and what it is not), how to choose candidate moves, why the order 'checks, captures, threats' works — and where it fails — and how to build and prune a calculation tree") rather than as a numbered list. As outcomes, students should be able to:
- Distinguish calculation from evaluation and pattern recognition, and define candidate move, variation and calculation tree.
- Explain the size of the problem (the full-width tree) and why humans must search selectively (Shannon's "type B").
- Apply Kotov's rule: list candidates before calculating.
- Run the checks → captures → threats scan, and explain why it is an order, not a filter.
- Calculate to a quiet position before evaluating, and recognise the horizon effect in humans and engines.
- Run the defender's scan (blunder check) before releasing a piece.
- Read the chapter's data on forcing moves, puzzle difficulty and missed mates, with its caveats.
- (Developer) Build
outpost/calc.py: move classifier, forcing scan, tree counters, exact mate prover and engine-checked tree.
Timing plan
75-minute session
| Minutes | Activity | Notes |
|---|---|---|
| 0–10 | Hook: Byrne–Fischer before 17...Be6, students list candidates | Reveal: Be6 was 11th of 13 forcing moves |
| 10–22 | 10.1: the size of the tree; Kotov's method | 1,368 positions at two plies, ~1.86 million at four |
| 22–35 | 10.2–10.3: the scan and what the data says about it | Scan rank table; "order, not a filter" |
| 35–50 | 10.5 board demo: Polgar–Mamedyarov, the quiet 16.e6 | Evaluate all six checks first |
| 50–62 | 10.7 defender's scan: Carlsen's three king moves | 20-second timed exercise |
| 62–70 | 10.8 data demo: who keeps a forced mate? | |
| 70–75 | Exit ticket |
3-hour block
| Minutes | Activity | Notes |
|---|---|---|
| 0–15 | Hook and candidate-listing exercise | |
| 15–40 | 10.1–10.3, with the tree-growth and puzzle tables | |
| 40–65 | 10.4 Byrne–Fischer windmill, played through blindfold-style from the 19.Kg1 diagram | Visualisation practice |
| 65–85 | 10.5 Polgar–Mamedyarov tree | Students draw a Kotov tree on paper |
| 85–95 | Break | |
| 95–115 | 10.6 depth and horizon; Case Study 1 (Makhnev–Grischuk) | 46.g6 was the engine's own choice at shallow depth |
| 115–135 | 10.7 both 2026 games, then the "attacking move" pitfall | |
| 135–155 | Exercises B1–B8 as timed stations | |
| 155–175 | Discussion questions, Tier 3 | |
| 175–180 | Exit ticket |
Key numbers and games
| Item | Value as quoted | Where |
|---|---|---|
| Branching factor | 30.7 legal moves (Lichess) / 30.9 (OTB); 33.9 / 35.7 in the middlegame | 10.1 |
| Full-width tree (28 OTB middlegames) | mean 36 / 1,368 / 49,248 / 1,855,398 positions at plies 1–4 | 10.1 |
| Forcing moves per middlegame position | about 34–36 legal, about 6 forcing; no check available in 52.2% (Lichess) / 56.5% (OTB) | 10.2, Key takeaway 3 |
| Replies after a check | mean 3.4, median 3; after a capture 36.8 | 10.2, Key takeaway 3 |
| Scan rank (9,000 puzzles) | solution in forcing list 91.2%; first 43.4%; top 3 73.7%; top 5 82.8%; 2200+ puzzles in list 73.9% | 10.3 |
| Engine's best move is quiet | 64.3% of 3,200 Lichess middlegame positions (d16); humans found it 61.4% when forcing, 27.6% when quiet | 10.3 |
| Puzzle first-move type | quiet-first two-move puzzles median 1842 vs check-first 1159 | 10.3, Key takeaway 5 |
| Forcing share of solution moves | 84.1% (two-move solutions) → 53.0% (six-move) | Key takeaway 5 |
| Puzzle difficulty by length | median 909 / 1332 / 1730 / 2040 / 2234 for 1–5 moves | Key takeaways table, 10.9 |
| Byrne–Fischer, New York 1956 | before 17...Be6: 51 legal moves, 13 forcing; Be6 −3.05 (d18) / −2.66 (d24); 17...Nb5 +1.03; 17...Qb5 +5.95; 17...Qa6 +6.79 (d18) | Hook, 10.4 |
| Polgar–Mamedyarov, Bled 2002 | 12.Nxf7 +0.77 (d18) / +1.00 (d24); after 12...Kxf7 only 13.Qf3+ holds (+1.13); after 15...Ke7 all six checks lose; 16.e6 +5.68 (d18) / +6.73 (d24) | 10.5 |
| Carlsen–Praggnanandhaa, Norway Chess 2026 r15 | after 47...Qc3+: 48.Ke2 0.00; 48.Kf2 #-5; 48.Kf4 #-10 (d18) / #-7 (d24); exact proof mate in 7; clock 0:23 | 10.7 |
| Abdusattorov–Gukesh, Tata Steel 2026 r6 | level (0.00 d24) before 36...Rg5?; then 37.Qxf6+ +10.90 (d18) / +16.25 (d24) | 10.7 |
| Mate kept, Lichess | mate in 1: 78.7% [77.8–79.5]; mate in 3: 70.7%; by band 59.6% (<1000) → 73.0% (2400+) | 10.8 |
| Mate kept, OTB classical | mate in 1: 90.4%; mate in 2: 91.0%; mate in 3: 86.8% | 10.8 |
| Checks find mates | 68.2% of mate-keeping moves were checks; 25.8% of misses | 10.8 |
| Checks-only mate search | solves 99.3% of mate-in-2 and 96.6% of mate-in-3 puzzles | Case Study 2 |
| Makhnev–Grischuk, rapid 2026 | 46.Qg6+ 0.00; game's 46.g6? #-9 (d18); seven consecutive checks; 46.g6 was SF19's first choice at depths 1–3 and 5–6 | Case Study 1, 10.6 |
Threshold concepts and likely misconceptions
The chapter has no formal threshold callout, but two ideas behave like threshold concepts and are worth naming in class:
- "You cannot search the tree; you choose a path through it." Once students see 1.86 million positions at four plies, "calculate more" stops being useful advice and "calculate the right three or four lines" replaces it.
- "The scan is an order, not a filter." Checks first because they are cheap to calculate, not because good moves are usually checks. The engine's best move is quiet in 64.3% of sampled middlegame positions.
Likely misconceptions:
- "Checks first" means "play checks." In Polgar–Mamedyarov after 15...Ke7, all six checks lose; the quiet 16.e6 wins.
- "Captures are forcing because the opponent has few legal replies." After a capture the opponent averaged 36.8 legal replies. Captures are forcing by the position (recapture or lose material), not by the rules.
- "Strong players don't miss mates." Lichess 2400+ players kept a forced mate on their first opportunity 73.0% of the time.
- "An engine mate score is the shortest mate." #-10 at depth 18 vs #-7 at depth 24 for 48.Kf4; the exact search proved seven moves.
- Calculating the reply you hope for. At each defender node, ask for their best reply. Never restrict the defender.
- "Attacking moves are safe." 48.Kf4 and 36...Rg5 both felt purposeful; the blunder check gets skipped after moves with an obvious point.
How the four tracks use this chapter
- ♟️ Improver: 10.1–10.3 and 10.9, every 📋 Try it without moving the pieces. The two habits: the checks-captures-threats scan and the blunder check from 10.7. The Lena/Dev dialogue in 10.9 frames it: "Two scans every move."
- 📊 Analyst: 10.2, 10.3 and 10.8: forcing-move counts in 6,000 positions, tree growth, 120,000 puzzles, forced mates in 80,000 Lichess and 60,000 OTB games. Insist on the caveats: Lichess games with server evals were analysed on request; broadcast evals are relay evals, "indicative".
- 🏆 Competitor: 10.4–10.7: Fischer, Polgar, and the two 2026 games. Predict each move before reading.
- 💻 Developer:
outpost/calc.py. Read 10.2–10.3 first for the definitions the code implements (the book's threat rule, the scan order, the AND–OR mate prover that never restricts the defender).
Running the code
| Script | What it shows | Data needed |
|---|---|---|
01_branching.py |
Forcing-move counts on 6,000 positions; tree growth on 28 OTB middlegames | positions_sample, broadcast games |
02_puzzles.py |
First-move kind × rating/length on 120,000 puzzles; scan rank on 9,000 | Lichess puzzle database |
03_missed_mates.py |
First forced-mate opportunity kept? | 80,000 Lichess analysed games + 60,000 OTB classical |
04_mate_search.py |
Checks-only / checks+captures / full-width mate search on 1,000 mate-in-2 + 1,000 mate-in-3 puzzles | Puzzle database |
05_classic_games.py |
Byrne–Fischer, Polgar–Mamedyarov, Kotov tree figure | Master games, engine cache |
06_modern_games.py |
Carlsen–Praggnanandhaa, Abdusattorov–Gukesh, including the mate proof | Broadcast games |
07_depth.py |
Evaluation after five critical moves at depths 1–22 | Engine cache |
08_exercise_positions.py |
Exercise puzzles, engine + mate search + tablebase verified | Puzzles, tablebase cache |
09_reply_counts.py |
Legal replies by move kind, 2,000 middlegames | positions_sample |
case_study_01.py, case_study_02.py, project_checkpoint.py |
Makhnev–Grischuk analysis; mate solver; calc.py demo |
As above |
Runtime notes from the chapter's own run: 01_branching.py about 2 minutes, 02_puzzles.py about 3, 03_missed_mates.py about 2.5, 04_mate_search.py about 3. In 06_modern_games.py the exact proof after 48.Kf4 searches 496,542 positions in 56 seconds (after 48.Kf2: 13,791 positions, 2 seconds). Engine evaluations are cached, so reruns of the game scripts are fast. Expected output: the tree-growth line ("mean 36, 1,368, 49,248, 1,855,398"), the scan-rank band table, and the mate-kept tables in 10.8.
In-class demos
Board demo
Polgar–Mamedyarov after 15...Ke7 (FEN r2q1b1r/2p1k1pp/p1n5/1pnbPQ2/3p4/1BP5/PP1N1PPP/R1B2RK1 w - - 6 16). Have the class list White's checks (six: Qxf8+, Qf7+, Qd7+, Qf6+, Qe6+, Qg5+) and evaluate each in turn. Most give the queen away; the best of them, 16.Qg5+, is −4.14. Then ask: "What does the position need?" Reveal 16.e6! (+5.68 d18 / +6.73 d24). Walk through why: e5 empties, and if 16...Bxe6 the d5-bishop has left the fifth rank, so 17.Qxc5+ takes the knight with check. Name it as clearance plus deflection, which links back to Chapter 9.
Data demo
Project the 10.8 Lichess "mate in 1" row: 78.7% kept. Ask students to guess first. Then show the rating-band table (59.6% below 1000 to 73.0% at 2400+) and the OTB classical row (90.4%). Ask: is the difference rating or clock? Point to Lichess classical (73.7%) vs blitz (68.1%) and the flat OTB bands (75.7% under 1800 to 78.0% at 2400+ over all distances). Close with 68.2% vs 25.8%: checks find mates.
Exercise guidance
- Improver: A1–A8, B1, B2, B5, B7; D3 (a five-second procedure).
- Analyst: C1, C3 (missed mates by clock), D4, D5, E2.
- Competitor: B3, B4, B6, B8 (the endgame and long-line positions), D1, D2, M1–M4.
- Developer: C2, C4, C6 (a threat rule with exchanges), E1, E3 (a human-style search).
Common wrong answers:
- B1 (OKURd): students stop at the queen checks or grab 31.Rxf6??, which allows mate in 3 for Black. The answer, 31.Rg5+!, is the eighth move in the scan. Finish the list.
- B2 (L2fAB): the three queen checks look natural; the winner is the first capture, 31.Qxe7!, removing the overloaded defender.
- B3 (TE70m) and B6 (UxObL): students take the forcing move (66...Kxf5? +4.57; 56...c2+? +8.42). Both lose; the quiet moves win.
- B4 (OiKNX): students look for a forcing move. There is none; 51.Kf4! is the only winning move of seven (tablebase, distance to mate 43).
- B5 (MEuaB): stopping after 18.Qxc7 and concluding the queen is lost. The intermezzo 18...Nxf3+ is the point.
- A6: answering "true" to "if no forcing move works, there's no tactic". Quiet first moves exist (OsxxV, 44...Bf4!).
Assessment ideas
- Quiz: 20 questions (11 multiple choice, 5 true/false, 3 short answer, 1 position).
- Tree on paper: give a position from Part B and ask for a written Kotov tree: candidates listed first, every defender reply considered at each node, each branch ending in a quiet position with a one-line evaluation. Grade the structure as much as the answer.
- Timed defender's scan: show five positions after a move and give 20 seconds each to list the opponent's checks and captures. Use Carlsen's three king moves as the model.
- Data write-up (Analyst): "Is calculation mostly rating or mostly time?" One page using the 10.8 tables, with at least one caveat about how the samples were drawn.
- Developer: extend
mate_searchper C4, or implement C6, with a short validation table.