Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Clue geometry of four by four SudoQ

Abstract

Clue-fixing isometries force a repeated ray in every SudoQ unit.

Vectors belong to EuclideanSpace over Complex with four coordinates. Rows and columns use zero-based Fin indices. A clue fixes its literal vector; equality of solutions compares each entry up to a unit complex phase. Four orthonormal vectors in this space form an orthonormal basis.

Definition 1.1 (Block coordinates).

Formalization. D5/S3/Quantum/LatinSquares/SudoQClueGeometry.blockCell (✓ std3).

Source. Repository-derived.

Commentary.

For block b and offset k, the cell has coordinates 2b.1+k.1 and 2b.2+k.2. Each coordinate uses Mathlib’s finProdFinEquiv on the corresponding block index and offset.

Definition 1.2 (SudoQ constraints).

Formalization. D5/S3/Quantum/LatinSquares/SudoQClueGeometry.IsSudoQ (✓ std3).

Citation. J. Paczos, M. Wierzbiński, G. Rajchel-Mieldzioć, A. Burchardt, K. Życzkowski (2021). Genuinely quantum SudoQ and its cardinality. DOI: 10.1103/PhysRevA.104.042423. URL: https://arxiv.org/abs/2106.02967v2.

Commentary.

Definition 7, page 3: “A quantum Sudoku (SudoQ) is an QLS with additional constraints that each of the disjoint blocks of size forms an orthonormal basis.” Definition 2, page 2: “A quantum Latin square (QLS) is an array of vectors from -dimensional Hilbert space , arranged in such a way that each row and column forms an orthonormal basis of .” Here the Sudoku parameter is N=2, and the Latin square dimension is four. All four rows, four columns and four disjoint blocks are quantified.

Definition 1.3 (A completion with prescribed clues).

Formalization. D5/S3/Quantum/LatinSquares/SudoQClueGeometry.IsSolution (✓ std3).

Citation. J. Paczos, M. Wierzbiński, G. Rajchel-Mieldzioć, A. Burchardt, K. Życzkowski (2021). Genuinely quantum SudoQ and its cardinality. DOI: 10.1103/PhysRevA.104.042423. URL: https://arxiv.org/abs/2106.02967v2.

Commentary.

Definition 8, page 3: “A quantum grid is a SudoQ grid whose some entries can be blank.” Definition 9, page 3: “A quantum grid is called solvable if it has at least one solution.” C is precisely the set of nonblank cells, as in the six-clue example after Definition 9. v prescribes their vectors, and G is a completion. Values of v outside C are unrestricted.

Definition 1.4 (Entrywise equality as rays).

Formalization. D5/S3/Quantum/LatinSquares/SudoQClueGeometry.SameRays (✓ std3).

Citation. J. Paczos, M. Wierzbiński, G. Rajchel-Mieldzioć, A. Burchardt, K. Życzkowski (2021). Genuinely quantum SudoQ and its cardinality. DOI: 10.1103/PhysRevA.104.042423. URL: https://arxiv.org/abs/2106.02967v2.

Commentary.

Definition 5, page 2: “The cardinality c of a QLS is the number of its vectors distinct up to a global phase.” Each entry may have its own unit phase z. This is the ray convention used when comparing solutions.

Definition 1.5 (Unique solvability).

Formalization. D5/S3/Quantum/LatinSquares/SudoQClueGeometry.UniquelySolvable (✓ std3).

Citation. J. Paczos, M. Wierzbiński, G. Rajchel-Mieldzioć, A. Burchardt, K. Życzkowski (2021). Genuinely quantum SudoQ and its cardinality. DOI: 10.1103/PhysRevA.104.042423. URL: https://arxiv.org/abs/2106.02967v2.

Commentary.

Definition 10, page 3: “A quantum grid is called uniquely solvable if it has a unique solution.” The existential quantifier requires a completion; every other completion agrees with it as rays. It does not require literal equality of phase representatives.

Definition 1.6 (Two vectors on the same normalized ray).

Formalization. D5/S3/Quantum/LatinSquares/SudoQClueGeometry.RayEq (✓ std3).

Citation. J. Paczos, M. Wierzbiński, G. Rajchel-Mieldzioć, A. Burchardt, K. Życzkowski (2021). Genuinely quantum SudoQ and its cardinality. DOI: 10.1103/PhysRevA.104.042423. URL: https://arxiv.org/abs/2106.02967v2.

Commentary.

Definition 5, page 2: “The cardinality c of a QLS is the number of its vectors distinct up to a global phase.” RayEq makes the unit-phase relation explicit for a single pair of vectors.

Definition 1.7 (A ray occurring once in every unit).

Formalization. D5/S3/Quantum/LatinSquares/SudoQClueGeometry.HasRepeatedRay (✓ std3).

Source. Repository-derived.

Commentary.

The ray of w occurs exactly once in every row, column and block. The uniqueness quantifiers range over all four positions of each unit.

Theorem 1.8 (Symmetry of ray equality).

Proof. Machine-checked in Lean as D5/S3/Quantum/LatinSquares/SudoQClueGeometry.symm (✓ std3). ∎

Source. Repository-derived.

Commentary.

Inverting the unit phase reverses ray equality.

Theorem 1.9 (Transitivity of ray equality).

Proof. Machine-checked in Lean as D5/S3/Quantum/LatinSquares/SudoQClueGeometry.trans (✓ std3). ∎

Source. Repository-derived.

Commentary.

Multiplying the unit phases composes ray equality.

Theorem 1.10 (A scalar between unit vectors is a unit phase).

Proof. Machine-checked in Lean as D5/S3/Quantum/LatinSquares/SudoQClueGeometry.rayEq_of_smul (✓ std3). ∎

Source. Repository-derived.

Commentary.

Equality of the norms forces the scalar to have norm one.

Theorem 1.11 (An orthogonal vector is a different ray).

Proof. Machine-checked in Lean as D5/S3/Quantum/LatinSquares/SudoQClueGeometry.not_rayEq_of_orthogonal (✓ std3). ∎

Source. Repository-derived.

Commentary.

A unit vector cannot be orthogonal to a unit-phase multiple of itself.

Theorem 1.12 (Reflexivity of ray equality).

Proof. Machine-checked in Lean as D5/S3/Quantum/LatinSquares/SudoQClueGeometry.refl (✓ std3). ∎

Source. Repository-derived.

Commentary.

The phase one fixes every vector.

Theorem 1.13 (Ray equality preserves norm).

Proof. Machine-checked in Lean as D5/S3/Quantum/LatinSquares/SudoQClueGeometry.norm (✓ std3). ∎

Source. Repository-derived.

Commentary.

Multiplication by a unit complex phase preserves norm.

Theorem 1.14 (Orthogonality is unchanged in the left ray).

Proof. Machine-checked in Lean as D5/S3/Quantum/LatinSquares/SudoQClueGeometry.inner_left_iff (✓ std3). ∎

Source. Repository-derived.

Commentary.

Conjugate linearity and the nonzero unit phase preserve a zero inner product.

Theorem 1.15 (Orthogonality is unchanged in the right ray).

Proof. Machine-checked in Lean as D5/S3/Quantum/LatinSquares/SudoQClueGeometry.inner_right_iff (✓ std3). ∎

Source. Repository-derived.

Commentary.

Linearity and the nonzero unit phase preserve a zero inner product.

Theorem 1.16 (Unique solvability would force a repeated ray).

Proof. Machine-checked in Lean as D5/S3/Quantum/LatinSquares/SudoQClueGeometry.unique_implies_repeated_ray (✓ std3). ∎

Source. Repository-derived.

Commentary.

Let S be the complex span of the clue vectors. At most three clues make S a proper subspace. Reflection in S fixes the clues. If all solutions agree as rays, each entry lies in S or its orthogonal complement. Swapping two orthogonal basis vectors in that complement also fixes the clues and changes a ray, so the complement must be one-dimensional. Its unit ray then occurs exactly once in every orthonormal row, column and block.

References