Answers.Body: <p>Since this position has less than 6 pieces, the full checkmating line can be produced with the <a href="https://www.shredderchess.com/online/endgame-database.html" rel="nofollow noreferrer">Shredder's online 6 piece DTM tablespace.</a> Here is the full checkmating line that I obtained by playing through it.</p>
  <pre><code>[FEN &quot;8/5p2/5k2/8/3K2p1/6P1/8/8 w - - 0 1&quot;]
  
  1. Kd5 Kf5 2. Kd4 Ke6 3. Ke4 f5+ 4. Kf4 Kf6 5. Ke3 Ke5 6. Kd3 f4 7. Ke2 f3+ 8. Ke1 f2+ 9. Kxf2 Kd4 10. Ke2 Ke4 11. Kf2 Kd3 12. Kf1 Ke3 13. Kg2 Ke2 14. Kg1 Kf3 15. Kh2 Kf2 16. Kh1 Kxg3 17. Kg1 Kh3 18. Kf2 Kh2 19. Ke2 g3 20. Kd2 g2 21. Kd3 g1=Q 22. Kc4 Qe1 23. Kc5 Kg3 24. Kb5 Qc3 25. Kb6 Kf4 26. Ka6 Qb3 27. Ka5 Ke4 28. Ka6 Kd5 29. Ka5 Kc5 30. Ka6 Qb6#
  </code></pre>
  <p>One of Black's tactics that you missed is the move 3... f5+. According to the tablebase this is the only winning move for Black. As such, if you miss it you miss the entire win. Another factor is that Black's f pawn causes is able to force the White king away from their pawn. Blacks king is then able to triangulate with their extra space and squeeze White out. White cannot take the Black pawn or else it is simply a faster loss.</p>
  <p>Although, I will note, Shredders seems to blip out on move four and mislabels Kf5 as Kf4. This must be some unknown bug.</p>
  <p><a href="https://i.sstatic.net/PgJ2z.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/PgJ2z.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-07-07T03:37:32.887Z
Answers.LastActivityDate: 2021-07-07T03:43:52.523Z
Answers.LastEditDate: 2021-07-07T03:43:52.523Z
Answers.UserDisplayName: Rewan Demontay
Body: <p>After solving the puzzle while I was analyzing this endgame, I was just surprised to see stockfish evaluates this position as equal.
  <a href="https://i.sstatic.net/dS7aX.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/dS7aX.png" alt="Stockfish analysis with move number" /></a></p>
  <p>After Ke4, Ke6 (Opposition); Kf4, and f5 -- I can't find out any idea for white to stop black from queening (assuming that black didn't blunder).</p>
  <p>Do I miss some tactics here?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-07-06T04:35:03.800Z
Comments.Text: Stockfish gives me -25.2. The tablebase in the Lichess app says it's a win for black.
Comments.UserDisplayName: Brian McCutchon
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-07-06T06:20:41.613Z
Comments.Text: Yeah, it should give. Don't know why it's acting weirdly :(
Comments.UserDisplayName: Amlan Saha Kundu
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-07-06T09:38:04.370Z
Comments.Text: Not sure whats going on there, but running that position on lichess analysis with depth 53 gives -60, so it surely is a win for black. Also it suggests me Kd5 instead of Ke4.
  https://lichess.org/analysis/8/5p2/5k2/8/3K2p1/6P1/8/8_w_-_-_0_1
Comments.UserDisplayName: Isac
Tags: <engines><analysis><endgame><stockfish>
Title: Why does Stockfish evaluate this position as equal?
ThreadText: # Why does Stockfish evaluate this position as equal?
  
  (Asked by: username_0 on 2021-07-06)
  
  After solving the puzzle while I was analyzing this endgame, I was just surprised to see stockfish evaluates this position as equal.
  [![Stockfish analysis with move number](https://i.sstatic.net/dS7aX.png)](https://i.sstatic.net/dS7aX.png)
  
  After Ke4, Ke6 (Opposition); Kf4, and f5 -- I can't find out any idea for white to stop black from queening (assuming that black didn't blunder).
  
  Do I miss some tactics here?
  
  **Tags:** engines, analysis, endgame, stockfish
  
  > **Comments:**
  > **username_1**: Stockfish gives me -25.2. The tablebase in the Lichess app says it's a win for black.  
  > **username_0**: Yeah, it should give. Don't know why it's acting weirdly :(  
  > **username_2**: Not sure whats going on there, but running that position on lichess analysis with depth 53 gives -60, so it surely is a win for black. Also it suggests me Kd5 instead of Ke4. https://lichess.org/analysis/8/5p2/5k2/8/3K2p1/6P1/8/8_w_-_-_0_1  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2021-07-07. Score: 4
  
  Since this position has less than 6 pieces, the full checkmating line can be produced with the [Shredder's online 6 piece DTM tablespace.](https://www.shredderchess.com/online/endgame-database.html) Here is the full checkmating line that I obtained by playing through it.
  
  ```
  [FEN "8/5p2/5k2/8/3K2p1/6P1/8/8 w - - 0 1"]
  
  1. Kd5 Kf5 2. Kd4 Ke6 3. Ke4 f5+ 4. Kf4 Kf6 5. Ke3 Ke5 6. Kd3 f4 7. Ke2 f3+ 8. Ke1 f2+ 9. Kxf2 Kd4 10. Ke2 Ke4 11. Kf2 Kd3 12. Kf1 Ke3 13. Kg2 Ke2 14. Kg1 Kf3 15. Kh2 Kf2 16. Kh1 Kxg3 17. Kg1 Kh3 18. Kf2 Kh2 19. Ke2 g3 20. Kd2 g2 21. Kd3 g1=Q 22. Kc4 Qe1 23. Kc5 Kg3 24. Kb5 Qc3 25. Kb6 Kf4 26. Ka6 Qb3 27. Ka5 Ke4 28. Ka6 Kd5 29. Ka5 Kc5 30. Ka6 Qb6#
  
  ```
  
  One of Black's tactics that you missed is the move 3... f5+. According to the tablebase this is the only winning move for Black. As such, if you miss it you miss the entire win. Another factor is that Black's f pawn causes is able to force the White king away from their pawn. Blacks king is then able to triangulate with their extra space and squeeze White out. White cannot take the Black pawn or else it is simply a faster loss.
  
  Although, I will note, Shredders seems to blip out on move four and mislabels Kf5 as Kf4. This must be some unknown bug.
  
  [![enter image description here](https://i.sstatic.net/PgJ2z.png)](https://i.sstatic.net/PgJ2z.png)
  
  
  ---
  
  