mmt Vs. Ovyron (G4 D5 BG2)

Discussion of computer chess matches and engine tournaments.

Moderators: hgm, Rebel, chrisw

User avatar
Ovyron
Posts: 4556
Joined: Tue Jul 03, 2007 4:30 am

Re: mmt Vs. Ovyron (G4 D5 BG2)

Post by Ovyron »

Zenmastur wrote: Tue Feb 18, 2020 10:53 amIsn't that what the quote means to you?
Guess I accepted a deal without understanding it properly. Oh well, I suppose having to be within 4 moves kind of balances out Zullil's hints of it being "at least 28"...
I'm not sure why you did that. I wouldn't have. But that just proves my point.
Not really, finding the fastest mate is a mechanical procedure that even a monkey could be trained to do in any hardware, you don't need to sit at the root to wait for high depth, and my methods to aim for these positions to beat opponents or avoid them so opponents don't beat me have nothing to do with grinding a mate in 20 to a mate in 9 in some line (because I'd just play the mate in 20 in the real game.)

I'm following a series of steps that guarantees I'll get there eventually, and will also have my engine telling me instantly the fastest mating move found in any position in the tree (not that that'll ever be useful :P ). If it didn't work, I wouldn't have been able to solve that ...Ke6 position to mate, and it is not different from your root position, except that your root has a much larger tree (I underestimated black's defensive resources and how moves like Bd8 giving away the Bishop for nothing delays mate for 1 move - this has nothing to do with positions where what's in question is if they're won or drawn, or how difficult is for the opponent to find the right moves, where my method would excel at in my hardware - unless mmt or you draw 1.g4. On your root position my method screams "IT IS WON! JUST MOVE RH8+ ALREADY!!" and ask to to leave a recursion that doesn't exist, because I could have moved and won this position in some 49 moves long time ago.)

I'm now going to split my resources and use 2 cores for your challenge and the other 2 for my games. I want to thank mmt for his patience and for not making me jump through hoops to attack his 1.g4 :mrgreen:
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: mmt Vs. Ovyron (G4 D5 BG2)

Post by zullil »

Ovyron wrote: Tue Feb 18, 2020 11:17 am ... If it didn't work, I wouldn't have been able to solve that ...Ke6 position to mate ...
OK, what do you have for the position after ...Ke6? White to move and mate in how many moves?
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: mmt Vs. Ovyron (G4 D5 BG2)

Post by zullil »

zullil wrote: Tue Feb 18, 2020 2:12 am
Zenmastur wrote: Tue Feb 18, 2020 1:41 am
Ovyron wrote: Mon Feb 17, 2020 10:34 pm Now I feel like a cheater :P
I guess I should have put a time limit on it, but at the time I didn't envision it taking nearly this long. I wouldn't worry about cheating too much. Unless they start giving you moves I'm good with it. Zullil's mate is probably wrong anyway. :D :D :D
...
Regards,

Zenmastur
As I said, I did nothing. If mate-in-29 is wrong then Stockfish is to blame. :wink:

Mate-in-28 now, by the way...
Stockfish-dev has held at mate-in-28 for eleven hours now. Depth 100. Will be curious to learn what others have gotten by carefully "guiding" an engine.
Uri Blass
Posts: 10314
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: mmt Vs. Ovyron (G4 D5 BG2)

Post by Uri Blass »

Ovyron wrote: Tue Feb 18, 2020 11:17 am
Zenmastur wrote: Tue Feb 18, 2020 10:53 amIsn't that what the quote means to you?
Guess I accepted a deal without understanding it properly. Oh well, I suppose having to be within 4 moves kind of balances out Zullil's hints of it being "at least 28"...
I'm not sure why you did that. I wouldn't have. But that just proves my point.
Not really, finding the fastest mate is a mechanical procedure that even a monkey could be trained to do in any hardware, you don't need to sit at the root to wait for high depth, and my methods to aim for these positions to beat opponents or avoid them so opponents don't beat me have nothing to do with grinding a mate in 20 to a mate in 9 in some line (because I'd just play the mate in 20 in the real game.)

I'm following a series of steps that guarantees I'll get there eventually, and will also have my engine telling me instantly the fastest mating move found in any position in the tree (not that that'll ever be useful :P ). If it didn't work, I wouldn't have been able to solve that ...Ke6 position to mate, and it is not different from your root position, except that your root has a much larger tree (I underestimated black's defensive resources and how moves like Bd8 giving away the Bishop for nothing delays mate for 1 move - this has nothing to do with positions where what's in question is if they're won or drawn, or how difficult is for the opponent to find the right moves, where my method would excel at in my hardware - unless mmt or you draw 1.g4. On your root position my method screams "IT IS WON! JUST MOVE RH8+ ALREADY!!" and ask to to leave a recursion that doesn't exist, because I could have moved and won this position in some 49 moves long time ago.)

I'm now going to split my resources and use 2 cores for your challenge and the other 2 for my games. I want to thank mmt for his patience and for not making me jump through hoops to attack his 1.g4 :mrgreen:
I disagree that finding the fastest mate is mechanical procedure that even a monkey could be trained to do in any hardware.

I do not see how you find practically the fastest mate that is different than finding a forced mate and I am surprised reading that
1.Rh8+ is mate in 28

Edit:Assuming
1.Rh8+ Kf7 2.Rf1+ Qf5 3.Rxf5+ Kg6 is the best line I could get only mate in 29 for white after Kg6 that mean mate in 32 for white and
you should analyze also 2...Qf6 or 3...Ke6

Maybe with a lot of going backward and forward I could get a faster mate but I doubt if I can get mate in 28 in a reasonable time assuming this is correct.
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: mmt Vs. Ovyron (G4 D5 BG2)

Post by zullil »

Uri Blass wrote: Tue Feb 18, 2020 2:44 pm

Maybe with a lot of going backward and forward I could get a faster mate but I doubt if I can get mate in 28 in a reasonable time assuming this is correct.
I am not claiming minimality or even correctness. :D I'm simply reporting what Stockfish-dev showed when last I looked.

The search is using a 64 GB hash table. At the moment, my machine has only 128 GB of RAM. More would be very helpful.
jp
Posts: 1470
Joined: Mon Apr 23, 2018 7:54 am

Re: mmt Vs. Ovyron (G4 D5 BG2)

Post by jp »

How exactly will we then be sure Zenmastur's solution is correct?

I assume he has a PV along with the number, but... (e.g. did he guide an engine until the engine made an announcement?)
zullil wrote: Tue Feb 18, 2020 3:42 pm I am not claiming minimality or even correctness. :D I'm simply reporting what Stockfish-dev showed when last I looked.
Well it comes back to whether SF mate announcements can be trusted.

The comment in the code Ovyron quoted elsewhere does suggest that that's the intention (check every defence before announcing).
Does anyone here have any comments on the actual code?
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: mmt Vs. Ovyron (G4 D5 BG2)

Post by zullil »

jp wrote: Tue Feb 18, 2020 3:51 pm How exactly will we then be sure Zenmastur's solution is correct?

I assume he has a PV along with the number, but... (e.g. did he guide an engine until the engine made an announcement?)
zullil wrote: Tue Feb 18, 2020 3:42 pm I am not claiming minimality or even correctness. :D I'm simply reporting what Stockfish-dev showed when last I looked.
Well it comes back to whether SF mate announcements can be trusted.

The comment in the code Ovyron quoted elsewhere does suggest that that's the intention of that piece of code.
Given that Stockfish is not a mate-prover, and uses all sorts of prunings/reductions rather than a full alpha-beta search, my initial reaction is that I don't see how Stockfish can provide proof of anything. But I'm hardly an expert on Stockfish.
jp
Posts: 1470
Joined: Mon Apr 23, 2018 7:54 am

Re: mmt Vs. Ovyron (G4 D5 BG2)

Post by jp »

zullil wrote: Tue Feb 18, 2020 4:01 pm Given that Stockfish is not a mate-prover, and uses all sorts of prunings/reductions rather than a full alpha-beta search, my initial reaction is that I don't see how Stockfish can provide proof of anything. But I'm hardly an expert on Stockfish.
Well, the comment on that bit of code (//....) suggests that the code switches off all defensive pruning before it'll make a mate announcement (but not offensive pruning, so it won't guarantee minimality, as we know anyway). Whether the code actually does that is not so easy to see.

Look at e.g. http://talkchess.com/forum3/viewtopic.p ... 62#p829562.
User avatar
Ovyron
Posts: 4556
Joined: Tue Jul 03, 2007 4:30 am

Re: mmt Vs. Ovyron (G4 D5 BG2)

Post by Ovyron »

zullil wrote: Tue Feb 18, 2020 12:37 pm OK, what do you have for the position after ...Ke6? White to move and mate in how many moves?
That's the "secret" part of the progress 8-)
Uri Blass wrote: Tue Feb 18, 2020 2:44 pmI disagree that finding the fastest mate is mechanical procedure that even a monkey could be trained to do in any hardware.

I do not see how you find practically the fastest mate that is different than finding a forced mate and I am surprised reading that
1.Rh8+ is mate in 28

Edit:Assuming
1.Rh8+ Kf7 2.Rf1+ Qf5 3.Rxf5+ Kg6 is the best line I could get only mate in 29 for white after Kg6 that mean mate in 32 for white and
you should analyze also 2...Qf6 or 3...Ke6
Note: The part about saying "any hardware" means that I claim better hardware would not help us find it, because it's constructed from white moves the engine doesn't see, not even at high depth, so you could as well find them and play them without better hardware. Well, if it's a mate in 28 Zullil sitting at the root and waiting for depth 100 would prove me wrong, but if it's a mate in 26 I'd ask Zullil what would he need to do to find it? And then, why didn't he go and do that instead of waiting for the engine to solve it at the root?

Anyway, all the white lines that mate that I've seen could be improved, which is the hard part of the challenge (at what point do you stop improving them?) it's possible your mate in 29 hangs from a position that you have as a mate in 23 but where the engine will not see the white move that mates in 9 unless you force it. But to find it the trained monkey just needs to go and force it. Note this isn't hard, it's usually a4, b4 or c4, or some pawn push that the engine doesn't want to examine by herself, or a move that protects a piece instead of moving it when attacked to allow the pawn push to be moved later.

A key point is that you should ignore black's material instead of making moves to capture it, go for promotion instead (you create a path for a pawn that is unstoppable == faster mate, you take a turn to capture an unprotected pawn == slower mate), for instance, there's positions where black plays g5 to attack a Bishop and Stockfish thinks the best is to capture the unprotected pawn, but the fastest mating move is to play Be5 to keep the black king blocked and unable to stop a white pawn, what I'm seeing is that Stockfish is led by materialism (and checks...) when finding mates and that leads it astray from fastest line.

The only hard part is that there's so many lines to check :shock:
jp wrote: Tue Feb 18, 2020 3:51 pm How exactly will we then be sure Zenmastur's solution is correct?
His claim, not mine. We don't care if it's a mate in 24 if Zenmastur can only find a mate in 25, because we have defined the fastest he can find as "reality".

Wouldn't it be really cool if I come back with a mate faster than Zenmastur? :D I don't think that's possible as it'd require me to find a move that mates faster in his line, presumably he has already been exhaustive about white moves that could have mated faster, so I'd need some nonsensical move that Zen didn't check (I've seen them, but always for irrelevant lines where black had a much better defense prior, so this might be impossible.)
jp wrote: Tue Feb 18, 2020 4:18 pm Well, the comment on that bit of code (//....) suggests that the code switches off all defensive pruning before it'll make a mate announcement (but not offensive pruning, so it won't guarantee minimality, as we know anyway).
Yes, if Stockfish shows a mate in N, then it can guarantee maximality.

...

UNLESS THERE'S A BUG

Ironically, a few days after my post it was found that VALUE_MATE_IN_MAX_PLY had a bug (which is used on the relevant code), so who knows if the bug would have caused Stockfish to report a mate that was faster than reality? This "it could be a bug in there that ruins everything" stuff is always there and unavoidable, so who can really guarantee anything?
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: mmt Vs. Ovyron (G4 D5 BG2)

Post by zullil »

Ovyron wrote: Tue Feb 18, 2020 5:12 pm
zullil wrote: Tue Feb 18, 2020 12:37 pm OK, what do you have for the position after ...Ke6? White to move and mate in how many moves?
That's the "secret" part of the progress 8-)

You make thousands of verbose posts, yet rarely can answer simple questions. I won't bother asking why secrecy is needed ...