Gokyo Shumyo, Section 1, Problem 85 / Solution

123456
Main line

1 threatens to connect along the upper side (see variations). Then he threatens to make a living shape with 3, forcing 4. Follows the awkward play at 5, needed to prevent a deadly bulky five. White must capture to prevent a lively bent four.

7
Main line (continued)

7 recaptures, recreating an earlier board position. This is called "eternal life". The game ends with no result under Japanese (and Korean) rules. On the other hand, this repeating play is prohibited under many rulesets which employ the superko rule. Black has to find a threat before he may play 7, just like in a ko fight. See the superko article for details.

3456789
Variation at 4

What if White makes the Bulky five nonetheless. Isn't this ko? No, it isn't: Black has two outside liberties, enabling him to atari all White's stones. If White connects at the marked spot with 8 instead, she creates a living 7 point eyespace inside Black's group.

1234567
Variation at 2

If White prevents the situation at the side, Black connects along the upper side this way or ...

12345ab
Variation at 2

... this way, making miai of a and b.