Show HN: Swapple, a little daily puzzle on linear reversible circuit synthesis
1–10 of 36 posts
Re: Show HN: Swapple, a little daily puzzle on linear reversible circuit synthesis
#2Re: Show HN: Swapple, a little daily puzzle on linear reversible circuit synthesis
#3Re: Show HN: Swapple, a little daily puzzle on linear reversible circuit synthesis
#4I found the instructions pretty confusing because you're not actually moving anything. You're combining the first selected row/column with the second selected row/column and replacing the second with the result of the combination.
Re: Show HN: Swapple, a little daily puzzle on linear reversible circuit synthesis
#5Re: Show HN: Swapple, a little daily puzzle on linear reversible circuit synthesis
#6Oof, it's brutally hard!
Re: Show HN: Swapple, a little daily puzzle on linear reversible circuit synthesis
#7Reminds me of the row-echelon form algorithm we learned in algebra!
Re: Show HN: Swapple, a little daily puzzle on linear reversible circuit synthesis
#8...Some time later... This is quite hard!
I think thinking about this puzzle as Gaussian elimination is not helpful!
I think the controls would work better if you dragged the row/column onto the one want to change.
Re: Show HN: Swapple, a little daily puzzle on linear reversible circuit synthesis
#9However I'm sure there is a diverting puzzle game in here somewhere. I wonder if you used narrative language and symbolism unrelated to linear reversible circuit synthesis (but kept whatever mechanic is important) an average player might be able to grasp it more easily?
Re: Show HN: Swapple, a little daily puzzle on linear reversible circuit synthesis
#10A (non-optimal, but straightforward) procedure for doing so is like so: First, use Gaussian elimination row-wise to put any matrix into reduced row echelon form. One can now use Gaussian elimination column-wise to transform the matrix into a 2x2 block matrix whose upper-left block is an identity matrix (of size corresponding to the rank) and whose other blocks are zero. Since all moves are invertible, any two matrices of the same rank are thus connected via the same such block matrix.
In general, it is necessary to use both row and column moves. However, if both matrices are square with full rank (as in today's puzzle), one can just use row moves (or just as well, just use column moves), using just Gaussian elimination. More generally, one can just use row moves iff both matrices have the same row space, and similarly for columns.