This 'n' that

Talk about improving your game, resources you like, games you played, etc.
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: This 'n' that

Post by Bill Spight »

jlt wrote:Tic-Tac-Toe is very hard for a go player, because you always try to capture opponent's stones.
Pente, anyone? ;)
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: This 'n' that

Post by Bill Spight »

In his new book, Rational Endgame ( viewtopic.php?f=17&t=16567 ), Antti Tormanen does without the terms, sente and gote. (Edit: Correction. Tormanen uses sente but not gote or reverse sente.) Those hoary terms are hoary because they are useful, but, like most words, they also have accrued different meanings, and that can cause confusion. Can we really do without them?

Well, we can. I am reminded of when I first began exploring the endgame. I realized that a theory of the endgame could be built using only final scores. OC, the bots do that, but their theory is based upon errors. Can we do that assuming correct play? Sure. Here is a simple example.
Click Here To Show Diagram Code
[go]$$B Black to play and win
$$ . . . X X X X O O O O O O . .
$$ . . . X O O b . X X X . O . .
$$ . . X X X X O O O O O O O . .
$$ . . X O O O a X . O . . . . .
$$ . . X . X X X O O O . . . . .
$$ . . X X X . . . . . . . . . .[/go]
Play takes place only inside the corridors. All outside stones are alive. Should Black play at "a", or at "b"?

OC, this is easy enough to read out. :)
Click Here To Show Diagram Code
[go]$$B Black to play and win
$$ . . . X X X X O O O O O O . .
$$ . . . X O O 2 . X X X . O . .
$$ . . X X X X O O O O O O O . .
$$ . . X O O O 1 X . O . . . . .
$$ . . X . X X X O O O . . . . .
$$ . . X X X . . . . . . . . . .[/go]
If Black plays at "a" White plays at "b". White wins by 1 pt.
Click Here To Show Diagram Code
[go]$$B Black to play and win
$$ . . . X X X X O O O O O O . .
$$ . . . X O O 1 3 X X X . O . .
$$ . . X X X X O O O O O O O . .
$$ . . X O O O 2 X . O . . . . .
$$ . . X . X X X O O O . . . . .
$$ . . X X X . . . . . . . . . .[/go]
If Black plays at "b" White plays at "a", and then Black connects to get the last play. Black wins by 1 pt.

So where is the theory? Using CGT notation we can write position "a" as {7 | -3} (ignoring dame). And we can write position "b" as { 4 | -3 || -8}. The theory for a position with these two types of plays is to compare particular score differences for each position. For "a" it is the difference between 7 (after one Black play) and -3 (after one White play), which is 10. For "b" it is the difference between 4 (after two Black plays) and -8 (after one White play), which is 12. 12 > 10, so Black should play at "b". We do not have to worry about whether "b" is sente or not. That does not matter. Suppose that "b" was {8 | -3 || -4}. It would obviously be sente, and since {8 | -3} is hotter than {7 | -3} we should play "b". But that comparison is superfluous, since the rule tells us to play "b", anyway. To read the position out we would have to take {8 | -3} into account, but the rule tells us what to play without having to read the position out. That's what the theory gets us. :)

Obviously, the theory so far is about comparing these specific types of plays. We can avoid reading the position out, but there will be many rules to memorize. However, these rules will tell us what correct play is.

What about the standard theory? "a" is obviously gote, with a count of 2; each play gains 5 pts. "b" is less obviously gote. It has a count of -3¾; each play gains 4¼ pts. The position after Black plays has a count of +½, and each play gains 3½ pts. Standard theory tells us that we should normally play the move that gains the most. In this case that would be wrong. Standard theory also tells us that getting the last play before a drop in temperature could provide an exception to playing the hottest move. The drop of 3½ pts. is a big clue. But standard theory does not guarantee making the correct play.
Last edited by Bill Spight on Tue Apr 30, 2019 10:03 am, edited 1 time in total.
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
User avatar
Knotwilg
Oza
Posts: 2432
Joined: Fri Jan 14, 2011 6:53 am
Rank: KGS 2d OGS 1d Fox 4d
GD Posts: 0
KGS: Artevelde
OGS: Knotwilg
Online playing schedule: UTC 18:00 - 22:00
Location: Ghent, Belgium
Has thanked: 360 times
Been thanked: 1021 times
Contact:

Re: This 'n' that

Post by Knotwilg »

Bill, would you mind explaining a few CGT basics underneath this post of yours?

1) And we can write position "b" as { 4 | -3 || -8}.
-- where does the "-3" come from?
2)
The theory for a position with these two types of plays is to compare particular score differences for each position. For "a" it is the difference between 7 (after one Black play) and -3 (after one White play), which is 10. For "b" it is the difference between 4 (after two Black plays) and -8 (after one White play), which is 12. 12 > 10, so Black should play at "b".
-- Why does it not matter here that the "4" is reached after two Black plays?
3)
We do not have to worry about whether "b" is sente or not. That does not matter. Suppose that "b" was {8 | -3 || -4}. It would obviously be sente,
-- Why does it make sense to suppose that "b" was {8 | -3 || -4}?
-- And why is that then obviously sente?
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: This 'n' that

Post by Bill Spight »

Knotwilg wrote:Bill, would you mind explaining a few CGT basics underneath this post of yours?

1) And we can write position "b" as { 4 | -3 || -8}.
-- where does the "-3" come from?
After Black plays and White replies, the local score is 4 pts. for Black minus 7 pts. for White, or -3. In { 4 | -3 || -8} 4 is the result after two Black plays, -3 is the result after one Black play and one White reply, and -8 is the result after one White play.
2)
The theory for a position with these two types of plays is to compare particular score differences for each position. For "a" it is the difference between 7 (after one Black play) and -3 (after one White play), which is 10. For "b" it is the difference between 4 (after two Black plays) and -8 (after one White play), which is 12. 12 > 10, so Black should play at "b".
-- Why does it not matter here that the "4" is reached after two Black plays?
Oh, it does matter. The theory assumes that if Black plays first in "b" White will reply in "a", and then Black will make a second play in "b". If we rely upon the theory instead of reading the play out, we do not have to check whether White will reply in "b" instead of "a". :)
3)
We do not have to worry about whether "b" is sente or not. That does not matter. Suppose that "b" was {8 | -3 || -4}. It would obviously be sente,
-- Why does it make sense to suppose that "b" was {8 | -3 || -4}?
To show that the theory gives the same answer in that case.
-- And why is that then obviously sente?
Because a play in {8 | -3} is bigger than a play in {7 | -3}.
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: This 'n' that

Post by Bill Spight »

Now let's switch sides. :)
Click Here To Show Diagram Code
[go]$$W White to play and win
$$ . . . X X X X O O O O O . .
$$ . . . X O O . X X . X O . .
$$ . . X X X X O O O O O O . .
$$ . . X O O O . X . O . . . .
$$ . . X O X X X O O O . . . .
$$ . . X X X . . . . . . . . .[/go]
Click Here To Show Diagram Code
[go]$$W White to play and win
$$ . . . X X X X O O O O O . .
$$ . . . X O O 1 X X . X O . .
$$ . . X X X X O O O O O O . .
$$ . . X O O O 2 X . O . . . .
$$ . . X O X X X O O O . . . .
$$ . . X X X . . . . . . . . . .[/go]
If White plays in "b" Black replies in "a" and wins by 1 pt.
Click Here To Show Diagram Code
[go]$$W White to play and win
$$ . . . X X X X O O O O O . .
$$ . . . X O O 2 X X 3 X O . .
$$ . . X X X X O O O O O O . .
$$ . . X O O O 1 X . O . . . .
$$ . . X O X X X O O O . . . .
$$ . . X X X . . . . . . . . . .[/go]
If White plays in "b" Black replies in "b", then White gets the last play in "b" and wins by 1 pt.

We may write "a" as {8 | -3} and "b" as {4 | 2 || -7}. Since White plays first the relevant score difference in "b" is 2 - ( -7) = 9. That is 2 pts. less than the score difference in "a", so White plays in "a".

Edit: I think it best to continue this on this page.

In this example "a" is a gote with a count of 2½ and each move gains 5½. "b" is also gote with a count of -2 and each play gains 5. The standard theory helps White to make the right choice. However, the comparison is not with 3 - (-7) = 10, where 3 is the count after Black plays, but with 2 - (-7) = 9, where 2 is the score after Black plays and White replies. This theory treats {{ A | B} | C}, where A > B > C, as sente when White is to play and as gote when Black is to play (when the only other play is a single gote). Obviously, with this theory we cannot call that position sente or gote.
Last edited by Bill Spight on Tue Apr 30, 2019 8:11 am, edited 1 time in total.
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
User avatar
Knotwilg
Oza
Posts: 2432
Joined: Fri Jan 14, 2011 6:53 am
Rank: KGS 2d OGS 1d Fox 4d
GD Posts: 0
KGS: Artevelde
OGS: Knotwilg
Online playing schedule: UTC 18:00 - 22:00
Location: Ghent, Belgium
Has thanked: 360 times
Been thanked: 1021 times
Contact:

Re: This 'n' that

Post by Knotwilg »

I understand everything you write, except the "suppose that "b" was {8 | -3 || -4}"

The CGT means Black plays two moves and gets 8, Black plays White replies -3, White plays -4. Where in the diagram are these moves?
Or is {8 | -3 || -4} some kind of reversal of { 4 | -3 || -8}, from White's perspective? Then shouldn't -3 be 3?
dfan
Gosei
Posts: 1598
Joined: Wed Apr 21, 2010 8:49 am
Rank: AGA 2k Fox 3d
GD Posts: 61
KGS: dfan
Has thanked: 891 times
Been thanked: 534 times
Contact:

Re: This 'n' that

Post by dfan »

Bill Spight wrote:In his new book, Rational Endgame ( viewtopic.php?f=17&t=16567 ), Antti Tormanen does without the terms, sente and gote.
For better or worse, he does not do without the term sente; according to my PDF search the word is found on 40 of the book's 126 pages. I do not see gote, though.
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: This 'n' that

Post by Bill Spight »

dfan wrote:
Bill Spight wrote:In his new book, Rational Endgame ( viewtopic.php?f=17&t=16567 ), Antti Tormanen does without the terms, sente and gote.
For better or worse, he does not do without the term sente; according to my PDF search the word is found on 40 of the book's 126 pages. I do not see gote, though.
Thanks for the correction. Sorry, I misremembered his and my email exchange. It is reverse sente that he leaves out. If he uses sente, then he can simply regard non-sente plays and sequences as gain making without labeling them further. And if he labels some positions as sente, then the others are simply unlabeled non-sente positions.

Edit: I wonder how he defines sente, however. Even CGT, which uses (or used to use) the terms, equitable and excitable, regards equitable positions as more basic. Without gote positions and plays you do not have sente positions and plays.
Last edited by Bill Spight on Tue Apr 30, 2019 7:45 am, edited 1 time in total.
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: This 'n' that

Post by Bill Spight »

Knotwilg wrote:I understand everything you write, except the "suppose that "b" was {8 | -3 || -4}"

The CGT means Black plays two moves and gets 8, Black plays White replies -3, White plays -4. Where in the diagram are these moves?
Or is {8 | -3 || -4} some kind of reversal of { 4 | -3 || -8}, from White's perspective? Then shouldn't -3 be 3?
Sorry for not being clear. :(

{8 | -3 || -4} is the same as {{8 | -3} | -4}. White to play moves to -4; Black to play moves to {8 | -3}, which, I trust, makes sense.

If you reverse the colors of the stones, {4 | -3 || -8} becomes { 8 || 3 | -4}. The ||s indicate non-scored positions with followers to the left for Black options and to the right for White options. { | -3} represents a position where White can move to a positions worth -3, while Black has no move. We don't really need to represent such positions. One possibility would be a completely surrounded White group with 4 one point eyes. White to play can fill one of the eyes and Black has no play.
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
User avatar
Knotwilg
Oza
Posts: 2432
Joined: Fri Jan 14, 2011 6:53 am
Rank: KGS 2d OGS 1d Fox 4d
GD Posts: 0
KGS: Artevelde
OGS: Knotwilg
Online playing schedule: UTC 18:00 - 22:00
Location: Ghent, Belgium
Has thanked: 360 times
Been thanked: 1021 times
Contact:

Re: This 'n' that

Post by Knotwilg »

Bill Spight wrote: {8 | -3 || -4} is the same as {{8 | -3} | -4}.
That I understand :)
Bill Spight wrote: White to play moves to -4; Black to play moves to {8 | -3}, which, I trust, makes sense.
It's that bit, which, unfortunately, doesn't. Let me show the diagram for "b" again.
Click Here To Show Diagram Code
[go]$$B b diagram
$$ . . . X X X X O O O O O O . .
$$ . . . X O O b . X X X . O . .
$$ . . X X X X O O O O O O O . .
$$ . . X O O O . X . O . . . . .
$$ . . X . X X X O O O . . . . .
$$ . . X X X . . . . . . . . . .[/go]
A White play here gives White 8 points, so it "moves" to -8. A Black play moves to 4 | (4-7)=-3
But we had that already.

I just don't get what "suppose b is {8 | -3 || -4}" means in relation to diagram "b". I see no White move leading to 4 points, nor a Black move leading to a {8|-3} postion. I must be blind :(
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: This 'n' that

Post by Bill Spight »

Knotwilg wrote:
Bill Spight wrote: {8 | -3 || -4} is the same as {{8 | -3} | -4}.
That I understand :)
Bill Spight wrote: White to play moves to -4; Black to play moves to {8 | -3}, which, I trust, makes sense.
It's that bit, which, unfortunately, doesn't. Let me show the diagram for "b" again.
Click Here To Show Diagram Code
[go]$$B b diagram
$$ . . . X X X X O O O O O O . .
$$ . . . X O O b . X X X . O . .
$$ . . X X X X O O O O O O O . .
$$ . . X O O O . X . O . . . . .
$$ . . X . X X X O O O . . . . .
$$ . . X X X . . . . . . . . . .[/go]
A White play here gives White 8 points, so it "moves" to -8. A Black play moves to 4 | (4-7)=-3
But we had that already.

I just don't get what "suppose b is {8 | -3 || -4}" means in relation to diagram "b". I see no White move leading to 4 points, nor a Black move leading to a {8|-3} postion. I must be blind :(
Sorry. I meant, suppose that b were a different position with those values, not the one in the diagram. The comparison would still be 12 pts. vs. 10 pts.
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: This 'n' that

Post by Bill Spight »

Here is another small problem with a position we do not call reverse sente. ;)
Click Here To Show Diagram Code
[go]$$W White to play and win
$$ . . . . . . . . . . .
$$ , . . X X X X . . . .
$$ . . . X . . X O O O .
$$ . X X X X O O O X O .
$$ . X . O O . . X X O .
$$ . X X X X X O O O O .
$$ . . X O O O . . O . .
$$ , . X X X X X O O O .
$$ . . X O O O . X X O .
$$ . . X X X X O O O O .
$$ . . . . . . . . . . .[/go]
No komi. All play and scoring is only in corridors. The framing stones are alive.

Enjoy. :)
Last edited by Bill Spight on Thu May 02, 2019 11:35 am, edited 1 time in total.
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
User avatar
Knotwilg
Oza
Posts: 2432
Joined: Fri Jan 14, 2011 6:53 am
Rank: KGS 2d OGS 1d Fox 4d
GD Posts: 0
KGS: Artevelde
OGS: Knotwilg
Online playing schedule: UTC 18:00 - 22:00
Location: Ghent, Belgium
Has thanked: 360 times
Been thanked: 1021 times
Contact:

Re: This 'n' that

Post by Knotwilg »

I know how to play and win, but not based on CGT
1|0 = 1
5|-1||-7 = (5+1)/2 + 7 = 10
6|-1 = 7
6|-4 = 10

I can't distinguish between b or d here, while I can see I need b to win.
b = -7
d = 6
c = -1
a = 1
Bill Spight
Honinbo
Posts: 10905
Joined: Wed Apr 21, 2010 1:24 pm
Has thanked: 3651 times
Been thanked: 3373 times

Re: This 'n' that

Post by Bill Spight »

Knotwilg wrote:I know how to play and win, but not based on CGT
1|0 = 1
5|-1||-7 = (5+1)/2 + 7 = 10
6|-1 = 7
6|-4 = 10

I can't distinguish between b or d here, while I can see I need b to win.
b = -7
d = 6
c = -1
a = 1
The little theory I am illustrating could be considered part of CGT. These corridors are combinatorial games, and it is a theory. ;) I suppose that your final figures are the result of reading out the board with alternating play.
The Adkins Principle:
At some point, doesn't thinking have to go on?
— Winona Adkins

Visualize whirled peas.

Everything with love. Stay safe.
Kirby
Honinbo
Posts: 9553
Joined: Wed Feb 24, 2010 6:04 pm
GD Posts: 0
KGS: Kirby
Tygem: 커비라고해
Has thanked: 1583 times
Been thanked: 1707 times

Re: This 'n' that

Post by Kirby »

New to this, but trying out the formula you gave:
Click Here To Show Diagram Code
[go]$$W White to play and win
$$ . . . . . . . . . . .
$$ , . . X X X X . . . .
$$ . . . X . a X O O O .
$$ . X X X X O O O X O .
$$ . X . O O b . X X O .
$$ . X X X X X O O O O .
$$ . . X O O O c . O . .
$$ , . X X X X X O O O .
$$ . . X O O O d X X O .
$$ . . X X X X O O O O .
$$ . . . . . . . . . . .[/go]
a: {1 | 0} => 1 (1-0)
b: {5 | -1 || -7} => 12 (5 - (-7))
c: {6 | -1} => 7 (6 - (-1))
d: {6 | -4} => 10

So the order to play is in order of those values: b, d, c, a.

That'd give:
Click Here To Show Diagram Code
[go]$$W White to play and win
$$ . . . . . . . . . . .
$$ , . . X X X X . . . .
$$ . . . X . 4 X O O O .
$$ . X X X X O O O X O .
$$ . X . O O 1 . X X O .
$$ . X X X X X O O O O .
$$ . . X O O O 3 . O . .
$$ , . X X X X X O O O .
$$ . . X O O O 2 X X O .
$$ . . X X X X O O O O .
$$ . . . . . . . . . . .[/go]
So black gets 7 more points from the outside, white gets 8.

But doesn't white still lose? White has 4 points on the outside already, and black has 8 points already, so white needed to get 5 more points. From the whole board, it's black +3?
Click Here To Show Diagram Code
[go]$$W White to play and win
$$ . . . . . . . . . . .
$$ , C C X X X X C C C .
$$ . C C X . 4 X O O O .
$$ . X X X X O O O X O .
$$ . X . O O 1 . X X O .
$$ . X X X X X O O O O .
$$ . C X O O O 3 . O C .
$$ , C X X X X X O O O .
$$ . C X O O O 2 X X O .
$$ . C X X X X O O O O .
$$ . . . . . . . . . . .[/go]

Or are we only counting points on the inside of the shape?
be immersed
Post Reply