Chapter 7 Exercises — Prophylaxis and Restriction

Difficulty: ⭐ concept check · ⭐⭐ apply at the board · ⭐⭐⭐ analysis and judgment · ⭐⭐⭐⭐ open-ended project.

All engine numbers are Stockfish 19 from the book's cached analysis, written from White's point of view in pawns. Positions in Part B come from real games in the book's data snapshot: anonymous Lichess players are identified only by rating, and over-the-board players in the broadcast data only by FIDE rating.


Part A — Concepts ⭐

A1. Define prophylaxis in one sentence, and give the two kinds of prophylactic move described in Section 7.1.

Answer

Prophylaxis is preventing, or making harmless, something the opponent wants to do before they can do it. The two kinds are threat prevention (stopping a concrete short-term threat, like the hook's Ba3 skewer) and plan prevention (making a long-term idea such as a pawn break pointless or impossible, like Nimzowitsch's ...b4 against e2–e4).

A2. What exactly does the null-move test compute? Name the two numbers it produces.

Answer

It lets the side to move pass (a null move on a copy of the board) and asks Stockfish for the opponent's best move in that imaginary position. It produces the threat move and the threat size: the mover's win % in the real position minus the mover's win % after the pass.

A3. Give three situations in which the null-move test gives a misleading answer, and say why.

Answer

(1) In check — passing is illegal, so the test is undefined. (2) In the middle of an exchange — passing lets the opponent keep or retreat their capturing piece, so the test shows a huge "threat" that only means "recapture". (3) In zugzwang — moving is a disadvantage, so a pass looks good for the mover and the test assumption (having the move is an asset) breaks.

A4. Distinguish restriction, blockade and overprotection.

Answer

Restriction reduces the opponent's useful moves (squares and breaks). Blockade stops a pawn by putting a piece on the square in front of it. Overprotection defends a key point more times than it is attacked, so the defenders are already in place before the attack arrives.

A5. Why is a prophylactic move not "a wasted tempo" even though it does not advance your own plan?

Answer

Because a prevented plan costs the opponent more than one tempo: their pieces were arranged for that plan and must be regrouped. One move that kills a plan prepared over several moves is a favourable trade — and when the prophylactic move also improves your own piece, it costs nothing at all.

A6. In the book's sample of Lichess middlegame positions, what share of Stockfish 19's best moves were quiet, and how often did humans find the exact best move when it was quiet versus forcing?

Answer

Quiet in 64.3% (62.6–65.9) of 3,200 Lichess positions (68.8% of 600 OTB classical positions). Found best: 27.6% when the best move was quiet versus 61.4% when it was forcing (Lichess); 40.0% versus 69.0% (OTB classical). Depth 16.

A7. Why is "the engine's best move is quiet" not the same claim as "the engine's best move is prophylactic"?

Answer

A quiet move can be an attacking or developing move with no preventive purpose. Prophylaxis requires an opponent idea to stop. The null-move test is needed to find positions where there is something to prevent — and then whether the move stopped it.

A8. Explain the difference between zugzwang and total restriction using the final position of Saemisch–Nimzowitsch, Copenhagen 1923.

Answer

In strict zugzwang a pass would be better than every legal move. In the final position Stockfish 19 rates a pass at −7.71 (depth 18) while 26.a3 and 26.Bc1 score about −6.3 to −6.7, so White would not gain by passing — it is lost either way. But 21 of 27 legal moves are worse than a pass and 8 lose at once: that is total restriction, which humans loosely call zugzwang.

A9. What is prophylaxis by counter-attack? Why does it still count as prophylaxis?

Answer

Instead of blocking the opponent's idea, you create a counter-threat that arrives first, so the idea becomes too slow or too costly (Gukesh's 18...c5 against e5). It counts as prophylaxis because the move was chosen because of the opponent's plan: without the threat of e5, Black would not have needed to strike at d4 at that moment.

A10. Section 7.6 reports that an ignored threat led to a mistake or blunder 51.6% of the time on Lichess but only 14.3% in OTB classical games. Give two reasons this does not mean OTB players are "better at choosing which threats to ignore".

Answer

(1) Different populations and rating scales: the OTB games are FIDE-rated classical games and the Lichess ones mostly online blitz and rapid; skill, time and stakes all differ. (2) Small samples: only 28 OTB threat positions were "ignored", so the 14.3% has a wide interval. (Also: the kinds of positions reached may differ, e.g. more quiet manoeuvring positions in classical OTB play.)


Part B — Positions ⭐⭐

For each position: first ask the null-move question (what would the opponent play if it were their move?), then choose your move. Solutions were checked with Stockfish 19 (depths stated); the code is code/06_exercise_positions.py.

B1. Find the tactic (before you prevent anything). Lichess rapid, White 1212 vs Black 1286. Black to move.

Exercise B1: Black to move

♟️ Position: White Kc1, Qa6, Rd1, Rh1, Bb2, Bg2, Nd2, Ng3, pawns c3 e3 h3 d4 b5; Black Kg8, Qd8, Ra8, Rf8, Bd7, Nf6, Nb8, pawns d5 h6 a7 c7 f7 g7 — Black to move. FEN: rn1q1rk1/p1pb1pp1/Q4n1p/1P1p4/3P4/2P1P1NP/1B1N2B1/2KR3R b - - 2 19

White's idea, by the null-move test, is Qb7 (a threat of 84.1 win-% points at depth 16). What should Black play?

Solution

19...Nxa6! — the white queen on a6 is simply hanging to the b8-knight. Stockfish 19 rates it −7.80 (depth 16); the position before the move is −7.56 (−7.90 at depth 20). The game went 19...Qe8?, a blunder (win-% drop 80.1): after it the eval is +4.91 and White's Qb7 follows. The lesson is the order of questions: What does my opponent want? comes after Can I just take something? The enormous "threat" here is an artefact of a position where the opponent's queen is en prise — exactly the null-move trap described in Section 7.2.

B2. Analyze this position. Lichess rapid, White 1866 vs Black 1854. Black to move.

Exercise B2: Black to move

♟️ Position: White Kh1, Qd1, Ra1, Re1, Bc1, Bc2, Nb1, Nd4, pawns b2 f2 g2 h2 a3 c3 e4; Black Kg8, Qd8, Ra8, Re8, Bc5, Bd7, Nc6, Nf6, pawns a6 d6 h6 b7 c7 f7 g7 — Black to move. FEN: r2qr1k1/1ppb1pp1/p1np1n1p/2b5/3NP3/P1P5/1PB2PPP/RNBQR2K b - - 1 12

What does White want? What does the kind of move White wants tell you?

Solution

If Black passes, White plays f3 (depth 16; at depth 20 the engine prefers the similar h3) — a defensive pawn move, worth 22.9 win-% points to White (24.9 at depth 20). When your opponent's most urgent wish is a defensive move, it usually means you already have a threat. Black is clearly better (−3.64 at depth 16) because of the pressure on f2 and the d4-knight. Stockfish's top moves all keep that pressure: 12...Ng4 (−4.88), 12...Bxd4 (−4.60), 12...d5 (−1.59). The game went 12...Bg4?, a blunder (win-% drop 30.9), and after 13.f3 the position was +0.18. Prophylactic thinking works both ways: it tells you when the opponent is the one who needs a tempo.

B3. Build the plan — protect your outpost. Lichess blitz, White 2645 vs Black 2707. White to move.

Exercise B3: White to move

♟️ Position: White Kg1, Qg4, Ra1, Rf1, Bc1, Ne6, pawns a2 b2 c2 g2 h2 d3 e4; Black Ke8, Qd7, Ra8, Rh8, Nc6, Ng6, pawns e5 b6 d6 b7 c7 g7 h7 — White to move. FEN: r3k2r/1ppq2pp/1pnpN1n1/4p3/4P1Q1/3P4/PPP3PP/R1B2RK1 w kq - 2 14

The white knight on e6 is a monster. What does Black want to do about it, and how should White prevent it?

Solution

If White passes, Black plays ...Nd8! (line Nd8 Nxc7+ Qxc7 Be3 Qc8), challenging the e6-knight; it has no safe retreat, so White must give it up for a pawn. Threat size 43.1 win-% points at depth 16 (39.9 at depth 20). Stockfish's choice is 14.Qf5 (+0.47), adding a defender to e6 so that ...Nd8 no longer wins anything; 14.h3 and 14.Qh3 (−0.10, −0.30) are next. The game went 14.Be3?, a blunder (win-% drop 35.0): 14...Nd8 15.Nxc7+ Qxc7 and the eval reads −2.94. Even at 2600+ (Lichess), in blitz, an outpost knight can be lost to a one-move retreat-and-challenge idea.

B4. Blockade. OTB classical (broadcast), White FIDE 2496 vs Black FIDE 2458. Black to move.

Exercise B4: Black to move

♟️ Position: White Kg1, Qe2, Rd1, Rf1, Bd3, Ne5, pawns a2 f2 g2 h2 d6; Black Kg8, Qc5, Rc8, Rf8, Bb7, Nf6, pawns b6 a7 f7 g7 h7 — Black to move. FEN: 2r2rk1/pb3ppp/1p1P1n2/2q1N3/8/3B4/P3QPPP/3R1RK1 b - - 1 20

White's passed d-pawn wants to move. Which rook move handles it — 20...Rcd8 or 20...Rce8?

Solution

If Black passes, White plays d7 (threat 29.0 win-% points at depth 16, 26.6 at depth 20), hitting the c8-rook and heading for d8. 20...Rce8 is Stockfish's first choice (0.00 at depth 16): after it, d7 attacks a rook that can simply take it or step aside, and the pawn advance would cost White 42.53 win-% points. The natural-looking blockade 20...Rcd8? was played in the game and is a mistake by our classification (win-% drop 15.5): after it d7 is still White's best move (+1.66), because the pawn on d7 cuts the d8-rook off and supports a later Nc6 or Bf5 idea — the engine line is d7 Bd5 Bf5 g6 Bh3. A blockader must stand in front of the pawn on a square the pawn cannot reach with gain of tempo; here d7 comes with tempo-free support. Nimzowitsch's blockade is about the right square, not any square in front.

B5. Analyze this position — count the restriction. Karpov–Unzicker, Nice Olympiad 1974, after 26...Qe7. White to move.

Exercise B5: White to move; Black's restricted pieces shaded

♟️ Position: White Kg1, Qd2, Ra1, Ra2, Bc2, Ba7, Nf3, Ng3, pawns f2 g2 c3 h3 b4 e4 d5; Black Kg8, Qe7, Ra8, Rc8, Bd7, Bf8, Nb7, Nc7, pawns c4 b5 e5 d6 g6 f7 h7 — White to move. FEN: r1r2bk1/Bnnbqp1p/3p2p1/1p1Pp3/1Pp1P3/2P2NNP/R1BQ1PP1/R5K1 w - - 8 27

Without an engine: which Black pieces have almost no safe moves? Where should White's play happen next?

Solution

restricted_pieces() flags six Black pieces with at most one safe move after 27...Be8 (the position one move later), and in this position the shaded squares show the rooks on a8 and c8, the b7-knight and the d7-bishop. The queenside is frozen — the a-file is blocked by the a7-bishop and the b5 and c4 pawns are fixed. So White's play belongs on the other wing: Karpov regrouped (27.Bb1, 28.Ne2, 29.Nh2) and broke with 30.f4 and 31.f5. Stockfish 19 rates the position after 26...Qe7 at about +1.5 at depth 16 (27.Bd1 +1.51, 27.Nh2 +1.49).

B6. Endgame technique — find the least-bad move. Saemisch–Nimzowitsch, Copenhagen 1923, final position. White to move.

Exercise B6: White to move

♟️ Position: White Kh1, Qe3, Re1, Rg1, Bd2, Bg2, Nb1, pawns a2 b2 g3 h3 d4; Black Kg8, Qd7, Rf2, Rf5, Bd3, Bd6, pawns b4 e4 d5 a6 e6 h6 g7 — White to move. FEN: 6k1/3q2p1/p2bp2p/3p1r2/1p1Pp3/3bQ1PP/PP1B1rB1/1N2R1RK w - - 0 26

Name three White moves that lose immediately and two that "only" leave White lost.

Solution

Stockfish 19 (MultiPV over all 27 moves, depth 18): 26.Qxh6 gxh6, 26.Qg5 hxg5, 26.Qf3 exf3, 26.Qxe4 dxe4, 26.Bxe4 Bxe4+, 26.Bf3 R5xf3, 26.Re2 Rxe2 and 26.Qe2 Bxe2 all reach the −10.00 clip. The least bad are 26.a3 (−6.33) and 26.Bc1 (−6.66); a pass would score −7.71. White is lost in every line; the point of the exercise is that most "normal" moves lose material at once — that is what restriction looks like.

B7. Build the plan — remove the support of a break. Fedoseev–Gukesh, Tata Steel Masters 2026 (broadcast data; FIDE 2705 vs 2754). Black to move on move 25. (This position is also discussed in Case Study 1 — try it before reading that.)

Exercise B7: Black to move

♟️ Position: White Kg1, Qc2, Rf1, Rb5, Bc1, Be2, Ng3, pawns g2 h2 a3 f3; Black Kg8, Qf6, Rc8, Re8, Bg7, Nc5, pawns c3 a5 d5 g6 f7 h7 — Black to move. FEN: 2r1r1k1/5pbp/5qp1/pRnp4/8/P1p2PN1/2Q1B1PP/2B2RK1 b - - 1 25

(The arrows on the diagram give away the answer — cover them first.) What does White want, which White piece supports it, and how can Black attack that piece?

Solution

White wants f4 (line f4 Qc6 f5 d4 Rxc5), a threat of 15.6 win-% points at depth 20 (the eval would go from −1.34 to +0.38). The g3-knight supports the kingside play. 25...h5! (Stockfish 19's first choice at depth 20, −0.98; next 25...Qc6 −0.34) threatens ...h4, kicking the knight; the game went 26.Rd1 h4 27.Nh1, with the knight stranded on h1. Same pattern as Nimzowitsch's ...b4 against Nc3: attack the piece that supports the break.

B8. Find the only move. Same game, move 29, after 28...Nd4 29.R5xd4. Black to move.

Exercise B8: Black to move

♟️ Position: White Kg1, Qc2, Rd1, Rd4, Bc1, Be2, Nh1, pawns g2 h2 a3 f3; Black Kg8, Qf6, Rc8, Re8, Bg7, pawns c3 h4 a5 g6 f7 — Black to move. FEN: 2r1r1k1/5pb1/5qp1/p7/3R3p/P1p2P2/2Q1B1PP/2BR2KN b - - 0 29

Black has just given up a knight. What is White threatening, and which queen move stops it and wins material back?

Solution

If Black passes, Rg4 (line Rg4 Rcd8 Nf2 Rxd1+ Qxd1) swings the eval from −0.97 to +7.30 at depth 20 — the rook joins the c2-queen's diagonal against g6. 29...Qb6! is the only move (−0.86 at depth 20; next best 29...Qf5 +6.82 and 29...Qxd4+ +7.02): the queen on b6 pins the d4-rook against the king on g1 along b6–c5–d4–e3–f2–g1, so Rg4 is impossible, and ...Bxd4 is coming. The game went 30.Kf1 Bxd4.


Part C — Data & Code ⭐⭐–⭐⭐⭐

C1. Database research ⭐⭐. Extend code/01_quiet_moves.py to split the "found best | quiet" rate by the type of quiet move (pawn move, piece advance, retreat, sideways, castling, king move) for each Lichess band. Input: data/reference/quiet_moves_sample.csv. Expected output: a table with one row per band and one column per quiet type (rate and n). Which quiet type improves most with rating? Report n for every cell and do not interpret cells with n < 30.

C2. Engine analysis ⭐⭐. Run px.scan_game() on all of Karpov's moves in Karpov–Unzicker (game_id 48725) at depth 16. Expected output: a DataFrame with one row per White move. How many moves are flagged prophylactic? List them with their threat move and threat size, and check each by eye: is it real prophylaxis, or an artefact (an exchange in progress, a piece simply moved away)?

C3. Database research ⭐⭐⭐. In code/02_threat_awareness.py the "ignored" definition compares the threat move with the engine's best reply after the move played. Write an alternative definition — "the threat move, played after the human's move, still gains at least 10 win-% points for the opponent" — and recompute the ignored rates by band. Expected output: the same table as in Section 7.6 with the new definition and Wilson intervals. Which definition do you prefer, and why?

C4. Engine analysis ⭐⭐⭐. The quiet-situation subset has only 52–63 Lichess positions per band. Draw 200 more quiet middlegame positions per band from cd.lichess_eval_games() (balanced games, one position per game, seed 2026), run the null-move test at depth 14 with at most 4 worker processes, and re-estimate the ignored rate. Expected output: band, n, ignored %, 95% interval. Does a band trend appear with the larger sample? (Budget: keep the run under ~5 minutes; say so if you lower the depth.)

C5. Restriction metric ⭐⭐. Apply px.restriction_profile() to five decisive master games of your choice from cd.master_games("Petrosian"). Expected output: one chart per game with both sides' safe mobility. Does the loser's safe mobility fall before the engine evaluation turns decisive? Quantify "before" (e.g. the ply at which the loser's safe mobility first stays below 10 for five plies vs the ply at which the eval first exceeds ±2.00).

C6. Zugzwang finder ⭐⭐⭐. Using px.zugzwang_test(), scan the endgame positions (book phase definition) of 50 OTB classical broadcast games and report positions with a positive gap of at least 5 win-% points. Expected output: game, ply, FEN, best move, gap. Verify any position with ≤ 7 pieces with cd.tablebase(fen) before you call it zugzwang.


Part D — Judgment & Transfer ⭐⭐⭐

D1. A 1200-rated club player asks you whether to read My System to improve. Using this chapter's data (the ignored-threat rates and their cost by band), argue what kind of prophylaxis they should practise first, and why.

Guidance

Start from the data: at 1200–1399 on Lichess, quiet threats were left as the opponent's best reply 36.1% of the time (n = 61, wide interval), and ignored threats became mistakes or blunders in about six cases out of ten. The first need is threat prevention — the three-question check — not plan prevention. My System is a fine book, but its plan-level ideas pay off once one-move threats are reliably seen.

D2. At 2400+ on Lichess, an ignored threat was a mistake or blunder 32.1% of the time; below 1200, 58.1%. Give two different explanations for this difference, and say what data would separate them.

Guidance

(a) Strong players ignore threats deliberately when their own play is faster — the threats they allow are cheaper. (b) Strong players defend better after allowing a threat, so the same threat costs less. To separate them, compare the win-% cost of the threat move itself (the null-move threat size) for ignored threats at each level: if 2400+ players ignore smaller threats, (a) is supported; if they ignore similar threats but lose less afterwards, (b) is.

D3. Stockfish preferred 27.Bd1 to Karpov's 27.Bb1 (depth 16 and depth 24). Should a 2000-rated player studying this game copy the engine's move or Karpov's? Argue both sides, using the idea that restriction is "forgiving".

Guidance

For the engine's move: it is objectively more precise (27.Bd1 is Stockfish's first choice at depths 16 and 24; at depth 16 the eval after 27.Bb1 was +0.63 against +1.51 for 27.Bd1), and copying precise moves trains calculation. For Karpov's: the regrouping plan behind Bb1 is easier for a human to understand and repeat, and the opponent's lack of counterplay means the small loss of precision costs little. A sensible answer: learn Karpov's plan, then check the engine for a more precise route.

D4. OTB classical players ignored quiet threats 12.1% of the time; Lichess players 26.8%. List three reasons the comparison is not a clean measurement of "the effect of the clock", using what you know about the two data sources.

D5. Your opponent in a blitz game has a slow plan (a pawn break that needs four moves of preparation) while you have a fast attack. When is prophylaxis the wrong choice? Use the "compare speeds" guard from Section 7.8.


Part M — Mixed / Interleaved ⭐⭐–⭐⭐⭐

M1 (Chapters 2 and 7). Take the Carlsbad structure of Chapter 2. Write down White's typical plan and Black's typical plan, then for each side name one prophylactic move that slows the other side's plan. Check one of them in a real game from cd.master_games() with px.candidates().

M2 (Chapters 3 and 7). In Karpov–Unzicker, the a7-bishop was a "good" piece by Chapter 3's criteria only in a special sense: it had almost no moves itself. Discuss whether piece activity (Chapter 3) should be measured by a piece's own mobility or by the mobility it removes from the opponent. Compute both for the a7-bishop at ply 47.

M3 (Chapters 4 and 7). King safety (Chapter 4) is often a matter of prophylaxis: moves like h3 or Kh1 made before any attack. Find one such move in a game of your choice and measure, with the null-move test, the threat it removed.

M4 (Chapters 5 and 7). Using structures.space() from Chapter 5 and px.safe_mobility(), plot both sides' space count and safe mobility through Karpov–Unzicker. Does the space count lead or lag the restriction count?

M5 (Chapters 6 and 7). In Saemisch–Nimzowitsch, Black gave a knight for two pawns (21...Rxf2). Using Chapter 6's material framework, explain why restriction can be worth more than a piece, and find the ply at which the engine evaluation first favoured Black by more than 2 pawns.


Part E — Research & Extension ⭐⭐⭐⭐

E1. A prophylaxis profile of world champions. Using px.scan_game() at depth 14, scan 20 classical wins each of Petrosian, Karpov, Tal and Carlsen from cd.master_games() (moves 11–40 only, at most 4 worker processes). Report, per player, the share of their moves flagged prophylactic, with Wilson intervals and the number of moves scanned. Is Petrosian measurably more prophylactic than Tal? Discuss selection effects (opponents, eras, which games are in the collections).

E2. Teaching tool. Build a small quiz generator: from code/ch07_threat_responses.csv, select quiet-situation positions where the threat was ignored, and produce a printable sheet of diagrams with the question "What does your opponent want?" and an answer key from px.explain(). Test it on a club group and record how many threats they find with and without the null-move question asked aloud.

E3. Beyond one move. The null-move test only sees what the opponent can do with one free move. Design and implement a "two-pass" version (the mover passes twice) and discuss what it finds that the one-pass version misses — for example, Black's ...Rxa2 idea in Karpov–Unzicker before 24.Ba7. What new artefacts does it introduce?