Lars Vandenbergh's CubeZone

Speedcubing taken one step further

News

Validation and fixing mistakes

I was in the process of generating scrambles for the worst cases for dual color neutral XCross and came to the conclusion that I had made a mistake in the code that sets up all the required cases for doing the original study. Needless to say that this discovery was an unpleasant surprise.

The mistake in the code revolved around fixing the permutation parity of the entire cube. Since we are involving every single corner and edge of the cube, we need to ensure that the permutation parity of the edges and corners are either both even or both odd. There was code in place to make this happen using a lookup table but due to the hugely parallel nature of CUDA kernels, the odd and even permutations got mixed up sometimes and so half of the scrambles being analyzed were actually illegal scrambles with two pieces swapped.

I had to rethink the strategy a bit such that each block of threads accessing the same shared memory would be garantueed to have the same permutation parity. That way a block of threads would explore either only even permutations or only odd permutations, hence eliminating the risk of any mix ups.

This was a bit of a wake up call and prompted me to invest more time into validating the correctness of the analysis. I made a version that is able to output the cube states being analyzed in ACube format, along with the solution lenghts for XCross. With this output I can than verify the correctness of the result using other online tools such as ACube.js, or18's solver and CsTimer.

Obviously I can't practically verify all 2.8 quintillion scrambles like this, not even in an automated way, but I was able to verify a decent sample of the worst cases where each XCross on either white or yellow is 10 moves.

Here's an example of such a worst case scramble:

Scramble: B2 F2 L2 B2 F2 D R U' R2 B' L F' L2 U R' F' L' R2 D2 L
Optimal XCross on white: F D R B' R2 B2 U B' U2 R'
Optimal XCross on yellow: F R L U2 D2 B U F L D'
Cube visualization by <scramble-display>

I redid the whole calculation for dual color neutral XCross and updated the histogram on the XCross study page. The differences are so tiny that it hardly changes the end result: the weighted average is 6.99 moves instead of 6.98 moves.

In the meantime, I've worked on a framework for analyzing color neutral XCross that takes advantage of rotations and mirrors to significantly reduce the amount of compute that is required. The amount of unique scrambles to be explored using this method will be 901,694,525,936,762,880, a reduction by a factor of almost 48 compared to naively exploring all 43,252,003,274,489,856,000 states of the cube.

(23rd August 2026)

Dual color neutral XCross study

After 172 hours of number crunching, I have generated the move count stats for dual color neutral XCross solving.

This is by far the most challenging move count study I've ever done and required analyzing 2,833,536,722,455,756,800 unique scrambles. That's 2.8 x 1018 or 2.8 quintillion. Using symmetries, I was then able to extroplate the results to all 43,252,003,274,489,856,000 states of the cube and calculate the correct statistical distribution and average.

The costs for the compute power was obviously a tad higher compared to last time but nothing extraordinary. However, if you want to support my work, buy me a coffee!

The code for doing the analysis for full color neutral XCross is in the works. Because there is no color bias at all, I'll be able to take full advantage of the symmetries of the cube and reduce the amount of computations by about a factor of 3 compared to dual color neutral.

(3rd August 2026)

Pseudo XCross study

The analysis for pseudo extended cross is complete. The results have been added to the extended cross study page.

I'm currently working on an analysis for double extended cross (cross + 2 F2 pairs) and already have some early results, but I'm going to park this project for a while until after Euro 2026 in Arnhem.

I'm still finding several new ways to make the code that computes the results even faster. The record for computing the histogram for all cases for XCross on any of 4 F2L pairs now stands at 3 minutes. I achieved this on a rented GPU pod with 8 RTX 5090 graphics cards, which cost me a total of 1.02 dollars in rent.

I think I can start dreaming about doing dual color neutral and full color neutral variants of the studies.

(12th July 2026)

XCross study updated

I've corrected some minor mistakes in the extended cross study and have also added the results for Quarter Turn Metric, both for a fixed pair and for any of 4 pairs on a fixed cross color.

I'm getting the hang of writing CUDA kernels and can now run the analysis in 90 minutes on a GeForce RTX 3080. This opens the door for generating other interesting stats.

My main point of focus now will be a move count analysis for pseudo extended cross.

(9th July 2026)

New XCross study posted

I'm currently working on another optimal move count study, this time for the extended cross (cross + 1 F2L pair combined). The results for solving the extended cross on a fixed cross color combined with either a fixed pair or any pair of choice (i.e. 1 of 4 possibile pairs) are already complete for face turn metric and can be found on the XCross study page.

This analysis posed a few new challenges since it involves checking over 700 times the amount of cube states compared to the color neutral cross study. The latter study I first did in 2008 and took weeks to calculate with the help of several people from the cubing community who borrowed their CPU time.

I'm still experimenting with various approaches using NodeJS workers, multithreaded C++ and CUDA. I think the CUDA implementation has the most potential as it was able to calculate the average in just over a day and the full histogram in 10 days.

I was quite new to GPU accelerated computing when I started this project and I hope I can improve on the current framework I have to be able to do more move count studies, maybe even ones that require even more cube states to explore than the 690+ trillion states I had to check for the extended cross on a fixed cross color.

(3rd July 2026)

Cross study updated

Many people have asked me over the years what the scrambles are for the 8 move crosses based on my cross study. Unfortunately, the way the computer study was done back in 2008 didn't allow recuperating the cube states for the worst possible crosses afterwards.

The last few weeks I've been working on a full reimplementation of the code that generated these results and I'm happy to say that the all the results are consistent and I get the exact same stats.

Now that I have something that runs the whole analysis on a modern machine and finishes in 2-3 days, I was finally customize it to also generate the scrambles for the worst cases. The cross study page has been updated accordingly and now links to the scrambles for each cross solving method (fixed, opposite and color neutral).

Here are the direct links to the scrambles as well:

(26th May 2026)

ImageCube and ImageRevenge scripts fixed

The PHP scripts for ImageCube and ImageRevenge have been fixed for modern PHP versions and are now hosted on cubezone.be again.

(2nd January 2026)

News archive