Answers.Body: <p>You probably are running it at a shallow depth. My old version of Stockfish recognizes that there is a mate when it gets to depth 32.</p>
  <p>There are tablebases available, which engines like Stockfish can use, that have chess solved for 7 or fewer pieces. The instance of Stockfish you're using probably just doesn't use them. (The 7 man tablebase is something like 18.4 terabytes in size; if you're running this locally I'm guessing you don't have the space for it.)</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-01-07T04:40:37.867Z
Answers.LastActivityDate: 2024-01-07T04:40:37.867Z
Answers.UserDisplayName: D M
Body: <p>In this position (W resigned) with only a pawn and a rook remaining Stockfish should have resolved the game and say &quot;Mate in xx&quot; (with perfect play).</p>
  <p>However Stockfish is said to have resolved any game having less than 7 pieces, but it &quot;only&quot; evaluates to -28.</p>
  <p><a href="https://i.sstatic.net/Iy0h6.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Iy0h6.png" alt="enter image description here" /></a></p>
  <p>Stockfish is smart but I doubt it knowing that I'm still able to blunder my R at this time :)</p>
  <p>I don't see any way for W to draw here, though.</p>
  
Tags: <checkmate><stockfish><draw><evaluation><blunder>
Title: Why does Stockfish only gives -28 to a game with only a W pawn and a B rook remaining, while it should be resolved in perfect play?
ThreadText: # Why does Stockfish only gives -28 to a game with only a W pawn and a B rook remaining, while it should be resolved in perfect play?
  
  (Asked by: username_0 on 2024-01-07)
  
  In this position (W resigned) with only a pawn and a rook remaining Stockfish should have resolved the game and say "Mate in xx" (with perfect play).
  
  However Stockfish is said to have resolved any game having less than 7 pieces, but it "only" evaluates to -28.
  
  [![enter image description here](https://i.sstatic.net/Iy0h6.png)](https://i.sstatic.net/Iy0h6.png)
  
  Stockfish is smart but I doubt it knowing that I'm still able to blunder my R at this time :)
  
  I don't see any way for W to draw here, though.
  
  **Tags:** checkmate, stockfish, draw, evaluation, blunder
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-01-07. Score: 4 | Accepted answer
  
  You probably are running it at a shallow depth. My old version of Stockfish recognizes that there is a mate when it gets to depth 32.
  
  There are tablebases available, which engines like Stockfish can use, that have chess solved for 7 or fewer pieces. The instance of Stockfish you're using probably just doesn't use them. (The 7 man tablebase is something like 18.4 terabytes in size; if you're running this locally I'm guessing you don't have the space for it.)
  
  
  ---
  
  