Problem
Consider an grid of unit squares. We place axis-aligned rectangular tiles (sides on grid lines), with no overlaps. We want exactly one uncovered unit square in each row and in each column.
Let be the minimum number of tiles required.
The specific instance is .
Summary of results
Explicit construction (odd ): For , there is a placement of uncovered squares and a tiling using tiles. In particular,
General lower bound: For every , This uses a rank argument: each rectangle is a rank- - matrix, and the - matrix obtained by deleting a permutation matrix from the all-ones matrix has rank .
Conjecture (supported by brute force for ): In particular, conjecturally .
This note provides a fully explicit tiling achieving tiles for , and a rigorous lower bound .
A -tile construction for odd
Let .
Uncovered squares
Index rows and columns by .
Declare the uncovered squares to be
- for :
- for :
Equivalently, the uncovered columns (as a sequence by row) are This is a permutation of , so we indeed have exactly one uncovered square in each row and each column.
Tiles
We now cover every remaining square by the following rectangles (all indices inclusive):
(A) Central rectangles: tiles
For each , place the rectangle This is an rectangle.
(B) Top staircase: tiles
For each , place the rectangle This is a rectangle.
(C) Bottom staircase: tiles
For each , place the rectangle This is a rectangle.
(D) A right vertical strip: tile
Place This is an rectangle.
(E) A final top-right block: tile
Place This is an rectangle.
Tile count
The total number of rectangles is So for , we obtain
Coverage and disjointness (sketch)
One checks directly that:
- None of the above rectangles contains an uncovered square (each row’s uncovered column is chosen to lie outside the column-interval of any rectangle that includes that row).
- The rectangles are pairwise disjoint because their row/column intervals are arranged in a staircase fashion.
- Every covered square belongs to exactly one of the rectangles above.
For verification, I also wrote a brute-force checker for small ; it confirms that this family is a valid partition of the covered region for .
A general lower bound via matrix rank
Represent the grid as an - matrix where iff the unit square is covered.
Since exactly one square per row and per column is uncovered, there is a permutation of such that where is the all-ones matrix and is the permutation matrix with .
Each rectangle tile equals an indicator matrix of the form where are interval-indicator vectors. In particular, every tile has real rank .
If the tiling uses rectangles, then so Hence .
Finally, for one has (equivalently, is invertible). A quick proof: if , then . Let so . Thus and hence . Then , so and since , hence .
Therefore and In particular .
Lean formalization (rank of )
As evidence for the rank method in a clean special case (the diagonal matching), I formalized in Lean the statement that for the matrix has rank .
File: TilesRank.lean (compiles).
import Mathlib.LinearAlgebra.Matrix.Rank
open scoped BigOperators
namespace TilesRank
open Matrix Module
/-- The all-ones matrix. -/
noncomputable def allOnes (n : ℕ) : Matrix (Fin n) (Fin n) ℚ := fun _ _ => 1
/-- The matrix $J-I$, i.e. $1$ off-diagonal and $0$ on the diagonal. -/
noncomputable def offDiagOnes (n : ℕ) : Matrix (Fin n) (Fin n) ℚ := allOnes n - 1
lemma allOnes_mulVec {n : ℕ} (v : Fin n → ℚ) :
allOnes n *ᵥ v = fun _ : Fin n => ∑ j : Fin n, v j := by
classical
ext i
-- For the all-ones matrix, every row is the constant-`1` vector.
simpa [allOnes, Matrix.mulVec] using (one_dotProduct (v := v) : (1 : Fin n → ℚ) ⬝ᵥ v = _)
/-- For $n \neq 1$, the linear map given by multiplying by $J-I$ has trivial kernel. -/
theorem ker_offDiagOnes_mulVecLin_eq_bot {n : ℕ} (hn : n ≠ 1) :
LinearMap.ker (offDiagOnes n).mulVecLin = ⊥ := by
classical
-- Use the characterization `ker = ⊥ ↔ ∀ v, f v = 0 → v = 0`.
refine LinearMap.ker_eq_bot'.mpr ?_
intro v hv
-- Let `s` be the sum of the coordinates of `v`.
let s : ℚ := ∑ j : Fin n, v j
have hvi : ∀ i : Fin n, v i = s := by
intro i
have hi : ((offDiagOnes n) *ᵥ v) i = 0 := by
simpa [Matrix.mulVecLin_apply] using congrFun hv i
have hi' : s - v i = 0 := by
-- Expand `(J - I) * v = J*v - v`.
simpa [offDiagOnes, Matrix.sub_mulVec, allOnes_mulVec, Matrix.one_mulVec, s] using hi
exact (sub_eq_zero.mp hi').symm
have hs : s = (n : ℚ) * s := by
-- Rewrite the sum defining `s` using `hvi`.
have hsum : (∑ j : Fin n, v j) = ∑ _j : Fin n, s := by
-- unfold the `Fintype` sum to `Finset.univ.sum`
show (Finset.univ.sum fun j : Fin n => v j) = Finset.univ.sum (fun _j : Fin n => s)
refine Finset.sum_congr rfl ?_
intro j hj
simpa using hvi j
-- Now compute the constant sum.
have hconst : (∑ _j : Fin n, s) = (n : ℚ) * s := by
-- `∑ _j, s = (Fintype.card (Fin n)) • s = n • s = (n:ℚ) * s`.
calc
(∑ _j : Fin n, s) = (Fintype.card (Fin n) : ℕ) • s := by
simpa using
(Finset.sum_const (a := s) (s := (Finset.univ : Finset (Fin n))))
_ = (n : ℚ) * s := by
simp [Fintype.card_fin, nsmul_eq_mul]
-- Combine.
simpa [s] using hsum.trans hconst
have hs0 : s = 0 := by
have hs' : (n : ℚ) * s - s = 0 := by
simpa using congrArg (fun t => (n : ℚ) * s - t) hs
have hs'' : ((n : ℚ) - 1) * s = 0 := by
simpa [sub_mul, one_mul] using hs'
have hn' : ((n : ℚ) - 1) ≠ 0 := by
have : (n : ℚ) ≠ (1 : ℚ) := by
exact_mod_cast hn
exact sub_ne_zero.mpr this
exact (mul_eq_zero.mp hs'').resolve_left hn'
ext i
simp [hvi i, hs0]
/-- For $n \neq 1$, the rank of the matrix $J-I$ is $n$. -/
theorem rank_offDiagOnes {n : ℕ} (hn : n ≠ 1) :
(offDiagOnes n).rank = n := by
classical
have hinj : Function.Injective (offDiagOnes n).mulVecLin := by
-- `ker = ⊥` implies injective.
exact LinearMap.ker_eq_bot.mp (ker_offDiagOnes_mulVecLin_eq_bot (n := n) hn)
-- rank is the `finrank` of the range
simpa [Matrix.rank, LinearMap.finrank_range_of_inj hinj, finrank_pi, Fintype.card_fin]
end TilesRank
Compilation output:
$ lake env lean TilesRank.lean
TilesRank.lean:55:10: warning: try 'simp' instead of 'simpa'
TilesRank.lean:84:2: warning: try 'simp' instead of 'simpa'
What remains
The construction shows , while the rank argument yields .
Based on exhaustive search for small , I conjecture the true minimum is and more generally .
A full proof of the matching lower bound remains open in this note.