Chapter 12 Instructor Notes: Attack and Defense
Chapter text · Case study 1 · Case study 2 · Exercises · Quiz · Key takeaways
Learning objectives
The chapter has no numbered objectives list. Its hook sets out the programme: "We will derive the four classical conditions for an attack and test them on real games; learn the defender's toolkit from Lasker and Petrosian, and from a 2026 game…; measure, in more than 200,000 real games, how much a development lead is worth at each level; and count how often the side that is clearly worse… still saves the game." As outcomes, students should be able to:
- State the four conditions for an attack (development lead, local superiority, open lines, weakened shelter) and explain the tempo arithmetic behind them.
- Explain why most attacking assets are temporary, and use the development-lead data to show how their value falls with level.
- Judge when a sacrifice converts static assets into dynamic ones (Praggnanandhaa–Carlsen).
- Name and apply the defender's five tools: trade the key attacker, close lines, bring defenders or the king, return material, counterattack.
- Explain why the counterattack is the strongest defence: "whose attack is faster?"
- Describe dynamic equilibrium and why compensation must be kept moving.
- Read the "stable −2" save-rate data and draw a practical lesson about bad positions.
- Explain why shallow engine evaluations are unreliable in dynamic positions.
- (Developer) Build
outpost/dynamics.py: attack conditions, static vs dynamic factors, defensive-resource classifier, episode detectors.
Timing plan
75-minute session
| Minutes | Activity | Notes |
|---|---|---|
| 0–8 | Hook: Tal–Petrosian after 20...Qc5, "take the rook?" | 21.Qh7+ +0.80 vs 21.Nxa8 0.00 |
| 8–20 | 12.1 four conditions; Tal–Tringov | Count conditions after 12...dxe5 |
| 20–30 | 12.2 data: is a development lead worth anything? | Score above expectation by band |
| 30–45 | 12.4–12.5 defender's toolkit; Steinitz–Lasker board demo | Small-group activity uses 32...Qh5+ |
| 45–58 | 12.7 data demo: stable −2 save rates | "Worse is not lost" |
| 58–70 | Small-group activity (discussion guide) | |
| 70–75 | Exit ticket or Learning check-in prompt |
3-hour block
| Minutes | Activity | Notes |
|---|---|---|
| 0–15 | Hook and 12.1 | |
| 15–40 | Tal–Tringov played through; condition count | |
| 40–55 | 12.2 development-lead data; 12.3 Praggnanandhaa–Carlsen depth ladder | |
| 55–85 | 12.4 Steinitz–Lasker and Abdusattorov–Gukesh (Prague 2026) | Tools 5 and 1 |
| 85–95 | Break | |
| 95–115 | 12.5 Tal–Petrosian in full; opposite-side castling data | |
| 115–135 | 12.6–12.8: compensation episodes, depth study | Analyst pairs |
| 135–155 | Case Study 1 (Assaubayeva–Lagno, a race in time trouble) | |
| 155–175 | Learning check-in and Tier 3 debate | |
| 175–180 | Exit ticket |
Key numbers and games
| Item | Value as quoted | Where |
|---|---|---|
| Tal–Petrosian, Candidates 1959 r26 (hook) | after 20...Qc5: 21.Qh7+ +0.80 (d24); 21.Nxa8 +0.00 (d24); perpetual 21...Nd2+ 22.Ke2 Bg4+ 23.Kd3 Qc4+ 24.Ke3 Qc5+ | Hook, 12.5 |
| Tal–Petrosian earlier | 12.Bxe6 +0.90 (d24); 13...Ndf6 +1.04 vs game 13...Nxg3 +2.54 (d24); after 16...Rf6, 17.Qc7! +2.64 (d24) vs game 17.Nc7+ +1.00 (d20) | 12.5 |
| Tal–Tringov, Amsterdam 1964 | after 12...dxe5: development lead +4, three of four conditions, +6.53 (d24); after 14...Nd7 #5 (d20) | 12.1, Key takeaways |
| Development lead ≥ 2 after move 12 | leader above expectation: Lichess +6.5 (<1200) → +2.7 (2400+); OTB +7.2 → +0.5; share of games 26.2% (<1200 Lichess) vs 13.6% (2400+) | 12.2, Key takeaways table |
| By speed | Lichess rapid +7.3 vs bullet +2.8 | 12.2, Exercise D4 |
| Praggnanandhaa–Carlsen, Norway Chess 2026 r5 | after 14...Rxc3: d8 −0.18, d12 +0.04, d16 +0.25, d20 +0.26, d24 +0.26 | 12.3, Key takeaway 3 |
| Steinitz–Lasker, St Petersburg 1895/96 | +1.58 after 16...Kf8 (d20); +4.94 after 26...Qxh2 (d20); after 32...Qh5+: 33.Kd3 +5.14, 33.Kf1 +5.14, 33.Kd2 +4.40, game 33.f3 +0.15 (d24) | 12.4 |
| Abdusattorov–Gukesh, Prague 2026 | at move 32 −2.92 (d24); after 32...b5: 33.Bxe6 −0.80 vs 33.Bb3 −2.85 (d24) | 12.4, Key takeaway 4 |
| Opposite-side castling (OTB) | draw rate 19.4% (n = 30,629) vs 26.8% same-side (n = 219,796); White 53.4% vs 53.0%; long-castling side 51.9% (+1.3 adj) | 12.5 |
| Compensation episodes | 11.7% blitz, 11.6% rapid, 13.4% OTB classical games; balanced comp side +6.8 pts online, −0.5 OTB classical | 12.6, Key takeaway 6 |
| Still balanced 20 plies later | blitz 37.0%, rapid 34.0%, OTB 58.3% | 12.6 |
| Stable −2 save rate | Lichess blitz <1200 31.4% [30.0–32.9] (won 29.5, drew 1.9) → 2400+ 24.6%; OTB classical 2400+ 16.8% [15.3–18.4] (won 3.1, drew 13.6) | 12.7 |
| Games reaching a stable −2 | online about 95%; OTB 94.3% (<1200) → 58.3% (2400+) | 12.7 |
| Double swings | blitz 21.1%, rapid 22.4%, OTB 9.1% | Case Study 2 |
| Depth study (60 + 60 OTB positions) | median depth-8 error vs depth 20: 51 cp (compensation) vs 13 cp (level); verdict class changes 15.0% vs 8.3% | 12.8, Key takeaway 8 |
| Lena (composite) | trailed first in 95 games, saved 27.4% [19.4–37.1]; 1400–1599 rapid population 26.7% | 12.9 |
| Assaubayeva–Lagno, Women's Candidates 2026 r12 | after 35.Qf4: 35...Bc6 −3.77 (d24), game 35...Rfd8 +0.17 (d20); after 38...Bc6: 39.e7 +5.99 (d24), 39.Qf7+ 0.00 (d20) | Case Study 1 |
Threshold concepts and likely misconceptions
No formal threshold callout appears in this chapter, but one idea reorganises how students see the middlegame: dynamic advantages are temporary, so the side that holds them must keep creating threats, and the side facing them must make the attacker answer. Tal's 21.Nxa8 and Steinitz's 33.f3 are both moves that spent a tempo on something static at the wrong moment.
Likely misconceptions:
- "More pieces near the king means the attack works." Tal–Petrosian: queen and two knights against a nearly bare king, and the natural capture draws. Ask "whose attack is faster?"
- "A development lead wins." At OTB 2400+ it is worth +0.5 points above expectation. Strong defenders neutralise it in time.
- "Defence means passivity." The chapter calls the counterattack the strongest of the five tools. Lasker's queen raid (26...Qxh2, 27...Qf4, 29...Qxf3) is the model.
- "At −2 the game is over." Between one in six and one in three trailing sides saved the game at every level measured. Lena's "I was −2, so I resigned" (Exercise A8) is the misconception in the chapter's own words.
- "Keep the queens on when attacking." Tal's 17.Qc7 (offering the queen trade, +2.64) was stronger than the attacking 17.Nc7+.
- "A quick engine check settles a sharp position." Depth 8 errs by a median 51 cp in compensation positions; the depth ladder for Carlsen's ...Rxc3 runs from −0.18 to +0.26.
- "Long castling is more dangerous." The side that castled queenside in opposite-castling OTB games scored 51.9%, no measurable penalty.
How the four tracks use this chapter
- ♟️ Improver: 12.1, 12.4, 12.5 and 12.9, every 📋 box, and the decision checklist in the Chapter Summary. The 12.9 advice at 1200 is defensive: trade the most dangerous piece, find a counter-threat, keep the game complicated.
- 📊 Analyst: 12.2, 12.6, 12.7 and 12.8: development leads by band, dynamic compensation in 10,160 real games, comebacks from a stable −2, and depth sensitivity. The "limits" paragraphs matter: Lichess evals come from analysed games, relay evals vary in depth, and the "ALL" rows of band-stratified samples are not population estimates.
- 🏆 Competitor: 12.3–12.5 and Case Study 1 (Assaubayeva–Lagno, a race decided in time trouble). Exercise D5 puts Grace in Tringov's shoes.
- 💻 Developer:
outpost/dynamics.py(it imports Chapter 4'sking_safety): attack conditions, static and dynamic factors,defensive_resources, and the stable −2 and compensation episode detectors.
Running the code
| Script | What it shows | Data needed |
|---|---|---|
01_development_lead.py |
Development lead at ply 24 by band, fig 01 | Lichess sample (119,918 balanced games), broadcast OTB (94,333) |
02_game_scan.py |
One replay pass over 83,476 eval-carrying games; writes ch12_scan.csv.gz |
Lichess analysed games, broadcast relay evals |
03_find_games.py |
Game selection screens (development lead ≥ 3 wins; ≥ 2500 comebacks) | Master and broadcast games, engine |
04_comebacks.py |
Stable −2 save rates, deficit type, phase; figs 02–03 | Output of 02 |
05_compensation.py |
Compensation episodes, fate after 20 plies, volatility; fig 04 | Output of 02 |
06_engine_depth.py |
60 compensation vs 60 level positions at d8/12/16/20; fig 05 | Broadcast positions, engine |
07_annotated_games.py |
Five games, 17 diagrams, eval graphs | Master and broadcast games, engine |
08_exercise_positions.py |
Seven exercise positions | Engine |
case_study_01.py, case_study_02.py |
Assaubayeva–Lagno; anatomy of a save | Broadcast game; output of 02 |
project_checkpoint.py |
Demo of outpost.dynamics, including Lena's composite games |
Persona games |
Runtime notes from the chapter's own run: 01 about 2 minutes; 02 about 4 minutes; 03 about 5 minutes cold; 04, 05 and case_study_02.py seconds (they read the scan file); 06 about 2 minutes cold; 07 about 5 minutes cold; 08 and case_study_01.py about 4 minutes cold; project_checkpoint.py about 30 seconds. Run 02_game_scan.py before 04, 05 and case_study_02.py. Expected output: the stable −2 band table in 12.7 and the development-lead table in 12.2. The toolkit returns nine rating bands; the chapter merges <1000 and 1000–1199 into "<1200" with a helper in ch12_common.py.
In-class demos
Board demo
Steinitz–Lasker after 32...Qh5+ (FEN 5k1r/4b2p/4Qpp1/7q/2BR4/8/PP2KP2/8 w - - 6 33). Give the context: Steinitz has been "winning" for twenty moves, and Lasker's queen has been raiding (26...Qxh2, 27...Qf4, 29...Qxf3). Ask for White's move with a one-minute limit. Most will block with 33.f3, as Steinitz did (+0.15 at depth 24). Reveal 33.Kd3 (+5.14): walk the king towards the queenside where the queen can't follow with checks, and meet 33...Qf5+ with a queen trade that splits Black's kingside pawns. After the game's 33.f3 Qe5+ 34.Qxe5 fxe5, the queens came off on Black's terms. Five pawns gone in one move. Lesson: a defender who keeps creating threats gives the attacker chances to go wrong.
Data demo
Project the 12.7 band table. Ask: "If you are two pawns down by the engine for two full moves, what share of the time do you still draw or win?" Collect guesses, then reveal: 31.4% in Lichess blitz below 1200, 24.6% at 2400+, 16.8% in OTB classical at 2400+. Then point to the won/drew split: online saves are mostly wins (29.5% won, 1.9% drew below 1200), top OTB saves mostly draws (3.1% won, 13.6% drew). Finish with the Lena composite line from 12.9 (27.4% saved, n = 95) to show how a student compares their own games with the population.
Exercise guidance
- Improver: A1–A10 (A8 is Lena's resignation question), M4, the Learning check-in.
- Analyst: C1, C2 (save rate by colour), C4 (compensation detector thresholds), C6, C7, D4.
- Competitor: the Part B positions (Olafsson–Petrosian 37.Qf5 +4.84 vs 37.Rd5 +0.12; Vaishali–Tan Zhongyi 37...Ra3 −0.42 vs 37...Ra1 +5.21; Pranesh–Gukesh 30.Qb3 +4.28 vs 30.Qc2 0.00, and others), D1, D3, D5.
- Developer: C3 (add depth 24 to the depth study), C5, E1, E3 (your own dynamics profile).
Common wrong answers:
- A6: "true". A depth-8 number in a sacrificial position is the least reliable evaluation in the chapter.
- A7: "because strong players don't get development leads". They do (13.6% of Lichess 2400+ games); they neutralise them.
- A3: listing the tools without ranking the counterattack as most active.
- Vaishali–Tan Zhongyi: students choose the active-looking 37...Ra1 (+5.21). The defensive 37...Ra3 (−0.42) is the move.
- A9: explaining Tal–Petrosian with material ("White wins the exchange"). The answer is tempo: 21.Nxa8 lets Black's checks arrive first.
Assessment ideas
- Quiz: 21 questions, including Q19 on the difference between the chapter's stable −2 and the looser "winner was ever losing" measure.
- Defence journal: students apply the Learning check-in's four questions to their last three clearly-worse games and write one paragraph on which of the five tools they used and which they missed.
- Condition count: give three attacking positions from the chapter; students score each on the four conditions before seeing the engine verdict, then explain any mismatch.
- Analyst report: "Is a development lead worth anything at my level?" using the 12.2 table and Exercise C1, with explicit caveats about pools (Lichess vs FIDE) and analysed-game samples.
- Developer: run E3 and submit a dynamics profile with save rate, a Wilson interval and the comparable population band.