Minimal k-prolific permutations for every odd k

AI-generated · No human mathematician has yet refereed the proof.

Draw an order w of 1 to n as the points (i, w(i)). For every m ≥ 1, Lean proves that exactly two orders of 1 to 2m² + 2m keep every two points at least 2m + 1 grid steps apart, counting steps across plus steps up.

For every m ≥ 1, with n = 2m² + 2m and N = n + 1, a permutation w of 1 to n has every two of its points (i, w(i)) at taxicab distance at least 2m + 1 exactly when w(i) ≡ (2m + 1)i (mod N) for every i or w(i) ≡ −(2m + 1)i (mod N) for every i, so exactly 2 permutations qualify, each the reverse, the complement and the inverse of the other and each unchanged by a quarter turn; every tiling of the plane by taxicab diamonds of radius m with a centre at (0, 0) is one of two explicit lattices; for every r ≥ 2 at least 2(r − 1)! permutations of 1 to 2r² − 1 keep every two points at taxicab distance at least 2r; and for every r ≥ 2 exactly 2(r − 1)! permutations of 1 to 2r² − 1 are torus-separated, meaning that their points and (0, 0), copied by every whole multiple of 2r² across and up, are all at taxicab distance at least 2r from each other: those whose points lie on one sheared strip pattern, and their reverses.

A permutation is k-prolific when deleting any k of its entries, in all the possible ways, always leaves different patterns. Bevan, Homberger and Tenner (2018) showed that this happens exactly when every two points of its plot are at taxicab distance at least k + 2, found the smallest length that allows it, and conjectured (Conjecture 5.1) that for odd k only their modular permutation and its mirror images reach it. Lean proves the taxicab form of that answer for every odd k = 2m − 1.

Diamond tilings give exactly two minimal k-prolific permutations for odd k; strips give a lower bound for even k

Walkthrough: 3 of 5 main results in Lean; 1 rests in part on Bevan, Homberger and Tenner, and 1 on deterministic enumeration (k ≤ 8)

Two theorems of Bevan, Homberger and Tenner, assumed outside Lean, turn the breadth statements Lean proves into statements about minimal k-prolific permutations; the known tiling rigidity is re-proved in Lean.

Published inputs

  • Bevan, Homberger & Tenner (2018) (Assumed outside Lean): Proved k-prolific permutations are exactly those with every two plot points at taxicab distance ≥ k + 2.
  • Bevan, Homberger & Tenner (2018) (Assumed outside Lean): Proved the smallest length of a k-prolific permutation is ⌈k²/2 + 2k + 1⌉.
  • Flahive & Bose (2013) (Re-proved in Lean): Proved, for every radius, that a tiling of the plane by diamonds (Lee spheres) with a centre at the origin has one of two mirror-image centre sets.

What this paper adds

  • Lee-tiling rigidity & strip lower bound: Diamond tilings force exactly two odd-k permutations; Strip construction for even k = 2r − 2
  • Even-k torus classification: Torus-separated plots for even k
  • Exact counts up to k = 8: Complete enumeration for k ≤ 8

Odd k has exactly 2 minimal prolific permutations; even k has ≥ 2(k/2)!

Every odd k = 2m − 1 admits exactly two minimal k-prolific permutations, whereas every even k = 2r − 2 ≥ 2 admits at least 2(r − 1)! = 2(k/2)!.

3 of 5 main results proved in Lean with no outside input: the diamond-tiling classification (Lemma 3), the even-k lower bound (Theorem 2) and the even-k torus classification (Proposition 4). Theorem 1 rests in part on two theorems of Bevan, Homberger and Tenner, which are not in Lean: Lean proves its taxicab-breadth classification, and its last sentence, about minimal k-prolific permutations, uses those two theorems. So does the k-prolific reading of Theorem 2. The fifth, the exact counts for k ≤ 8 (Proposition 5), is a computer enumeration.

Listed as open in the paper

  • Whether the exact count for even k equals 2(k/2)! for all k ≥ 10 remains open.

Adjacent prior work (not used as inputs)

  • van Dam et al. (2007) (proofs and the rest unread); Hegarty (2013); Blackburn–Homberger–Winkler (2019): van Dam et al. found the smallest length ⌈k²/2 + 2k + 1⌉ earlier, for maximin Latin hypercube designs, and stated constructions that reach it; Hegarty's tables list exactly one symmetric pair of permutations at each of the lengths 4 and 12, the cases k = 1 and k = 3; Blackburn, Homberger and Winkler settled another conjecture of Bevan, Homberger and Tenner.
  • Horak & Kim (2018); Zhang & Zhou (2026): Related work on Lee-sphere tilings and coverings: a survey of the Golomb–Welch conjecture, and a local covering theorem.

The two smallest cases

Take m = 1, so k = 1, n = 4, the distance must be at least 3, and N = 5. Multiplying i = 1, 2, 3, 4 by 3 and keeping the remainder on division by 5 gives 3, 1, 4, 2, so w = 3142. Its points are (1, 3), (2, 1), (3, 4) and (4, 2), and the six distances between them are 3, 3, 4, 4, 3 and 3. Multiplying by −3 instead gives 2413. A search of all 24 permutations of 1 to 4 finds no others.

Each point carries a diamond of the cells within m steps of it. For m = 1 a diamond has 5 cells, and in general 2m² + 2m + 1 = N cells. Two diamonds overlap exactly when their centres are fewer than 2m + 1 steps apart, so the rule says the n diamonds never overlap.

For m = 2, n = 12 and N = 13. Multiplying by 5 gives 5 10 2 7 12 4 9 1 6 11 3 8, and multiplying by −5 gives 8 3 11 6 1 9 4 12 7 2 10 5, the same list read backwards. An exhaustive computer search, over the 12! = 479,001,600 possible orders, finds only these two with every distance at least 5.

For even k the strips of the sixth chapter give at least 2 permutations of 1 to 7 with distance at least 4, and at least 4 of 1 to 17 with distance at least 6; searches find exactly 2 and 4.

Points, distances and diamonds

Position i of a permutation w gives the point (i, w(i)), counted from 1, and the taxicab distance between two points adds the horizontal and the vertical gap. Around each point lies a diamond of the cells within m steps, which has 2m² + 2m + 1 cells. Two diamonds are disjoint exactly when their centres are at least 2m + 1 apart, so the rule on w says the diamonds of its points never overlap. Reversing, complementing, inverting or turning w by a quarter keeps the rule. Lean holds some of these pieces twice, and this is why. Lean states the theorems in a separate statement file, with its own copy of the definitions, so that what is claimed can be checked without reading any proof; the library proves them. Where a piece is in both files, the library's copy is marked as the library's.

  • Two diamonds miss each other exactly when their centres are at least 2m + 1 apart

    For every m and all centres p and q, the diamonds of radius m around p and q share no cell exactly when the taxicab distance from p to q is at least 2m + 1.

    theorem MinimalProlific.sphere_disjoint_iff (m : ℕ) (p : ℤ × ℤ) (q : ℤ × ℤ) :
      Disjoint (leeSphere m p) (leeSphere m q) ↔ 2 * ↑m + 1 ≤ taxicabDist p q
  • Taxicab distance, in the library
  • The diamond of radius m, in the library
  • A diamond has 2m² + 2m + 1 cells

    For every m and every centre, the diamond of radius m has exactly 2m² + 2m + 1 cells.

    theorem MinimalProlific.card_leeSphereFinset (m : ℕ) (p : ℤ × ℤ) :
      (leeSphereFinset m p).card = 2 * m ^ 2 + 2 * m + 1
  • The point of a position
  • Every two points at least d apart, in the library
  • The rule for odd k
  • The diamond size N
  • The length n
  • The distance d
  • The rule means the diamonds never overlap

    w obeys the rule for odd k exactly when the diamonds of radius m around any two different points of w share no cell.

  • A covered cell
  • The reverse, in the library
  • The complement, in the library
  • The inverse, in the library
  • The quarter turn, in the library
  • All eight symmetries keep the rule

    If w obeys the rule for d, so does its image under any of the eight symmetries of the square.

    theorem MinimalProlific.isValidPerm_applySymPerm {n : ℕ} {d : ℕ} (g : SquareSym) {w : Equiv.Perm (Fin n)} (hw : IsValidPerm d w) :
      IsValidPerm d (applySymPerm g w)

The tents fill the middle columns exactly

Fix a permutation of n = 2m² + 2m that obeys the rule, and look at one of the 2m² middle columns, from m + 1 to n − m. The diamonds cover exactly N = n + 1 of its cells, one more than the column holds inside the square, so some diamond pokes out above or below. Only the points in the top m or bottom m rows can poke out, and the one in the t-th row from an edge pokes out over 2(m − t) − 1 columns, counting t from 0. These 2m tents add up to 2m² columns, so they cover the middle columns once each.

  • When w obeys the rule, the tents cover the middle columns once each

    For m ≥ 1, if w obeys the rule, the 2m tents together span exactly the middle columns, and no two tents share a column.

  • The covered cells of a column
  • When w obeys the rule, a middle column has N covered cells

    For m ≥ 1, if w obeys the rule, every middle column has exactly N covered cells, inside and outside the square.

  • The middle columns
  • The column of the point in row n − t
  • The column of the point in row 1 + t
  • How far a tent pokes out
  • The columns of a top tent
  • The columns of a bottom tent
  • The tents span 2m² columns in all

    For m ≥ 1, the widths of the 2m tents add up to 2m².

  • When w obeys the rule, a middle column has one hole fewer than it pokes out

    For m ≥ 1, if w obeys the rule, a middle column x has exactly (the overhang at x) − 1 holes.

Holes, and wrapping the square into a tiling

A cell of the square that no diamond covers is a hole. Every cell of the square within m steps of a corner point such as (0, 0), just outside the square, is a hole, and in the corner square from (1, 1) to (m, m) these are the only holes; in a middle column the holes sit at the end away from its tent. Now add the point (0, 0) and copy the square N steps left, right, up and down, again and again. The holes of each copy are filled exactly by the tents that poke out of its neighbours, so the diamonds around all the copied points cover the plane without overlap: a tiling by diamonds of radius m with a centre at (0, 0).

  • When w obeys the rule, the wrapped points tile the plane

    For m ≥ 1, if w obeys the rule, the wrapped centres form a tiling by diamonds of radius m, and (0, 0) is one of them.

  • When w obeys the rule, every cell in the middle is covered

    For m ≥ 1, if w obeys the rule, every cell (x, y) whose column x and row y are both middle numbers is covered.

  • When w obeys the rule, the corner diamonds are holes

    For m ≥ 1, if w obeys the rule, every cell of the square within m of one of the four corners (0, 0), (N, 0), (0, N), (N, N) is a hole.

  • When w obeys the rule, side column m + 1 − s has s² − 1 holes

    For m ≥ 1, if w obeys the rule, then for 1 ≤ s ≤ m column m + 1 − s has exactly s² − 1 holes.

  • For m ≥ 1, when w obeys the rule, exactly one of two cells at each corner is a point

    For m ≥ 1, if w obeys the rule, then exactly one of (m, m + 1) and (m + 1, m) is a point of w, and likewise for the matching pair of cells at each of the other three corners.

  • The holes in the corner square

    For m ≥ 1, if w obeys the rule and 1 ≤ x, y ≤ m, the cell (x, y) is a hole exactly when x + y ≤ m.

  • When w obeys the rule, in a middle column the holes sit at one end

    For m ≥ 1, if w obeys the rule and x is a middle column, then: if x is of top type its holes are the rows 1 to (the overhang at x) − 1, and if x is of bottom type they are the rows N − ((the overhang at x) − 1) to n.

  • When w obeys the rule, the wrapped diamonds cover the square

    For m ≥ 1, if w obeys the rule, every cell (x, y) with 0 ≤ x, y ≤ n lies in the diamond of some wrapped centre.

Only two tilings have a centre at (0, 0)

Let e₁ = (m + 1, m) and e₂ = (−m, m + 1). The diamonds around Λ⁺, all sums of whole multiples of e₁ and e₂, tile the plane; its mirror image is Λ⁻. In any tiling with a centre at (0, 0), the cell (0, m + 1) must be covered, which forces a centre at e₂ or at its mirror (m, m + 1). A centre at e₂ forces centres at all four neighbours ±e₁, ±e₂, and step by step all of Λ⁺; a tiling cannot hold anything more, so it is Λ⁺. The mirror case gives Λ⁻.

  • Every diamond tiling through (0, 0) is Λ⁺ or Λ⁻, in the library

    For m ≥ 1, every tiling of the plane by diamonds of radius m with a centre at (0, 0) is Λ⁺ or Λ⁻. The library's copy, word for word the same as the statement file's.

  • A test for Λ⁺

    For every m, a point (x, y) lies in Λ⁺ exactly when N divides y − (2m + 1)x.

  • A test for Λ⁻

    For every m, a point (x, y) lies in Λ⁻ exactly when N divides y + (2m + 1)x.

  • Λ⁺ is a tiling

    For m ≥ 1, the diamonds of radius m around the points of Λ⁺ tile the plane.

  • A centre at e₂ or at its mirror

    For m ≥ 1, a tiling with a centre at (0, 0) has a centre at e₂ = (−m, m + 1) or at (m, m + 1).

  • One neighbour forces the next

    For m ≥ 1 and a centre c of a tiling: a centre at c + e₂ forces one at c + e₁, a centre at c − e₁ forces one at c + e₂, a centre at c − e₂ forces one at c − e₁, and a centre at c + e₁ forces one at c − e₂.

  • A full (0, 0) gives all of Λ⁺

    For m ≥ 1, if (0, 0) and its four neighbours are centres of a tiling, every point of Λ⁺ is a centre.

Exactly two permutations, for every odd k

A point (x, y) lies in Λ⁺ exactly when N divides y − (2m + 1)x, and in Λ⁻ exactly when N divides y + (2m + 1)x. So, for m ≥ 1, the points of a permutation that obeys the rule satisfy w(i) ≡ (2m + 1)i for every i, or w(i) ≡ −(2m + 1)i for every i, modulo N. Both of these permutations do obey it, they differ, each is the reverse, the complement and the inverse of the other, and a quarter turn leaves each unchanged.

  • The rule holds exactly for the two modular permutations

    For m ≥ 1, a permutation w of 1 to 2m² + 2m has every two points at taxicab distance at least 2m + 1 exactly when w(i) ≡ (2m + 1)i for every i, or w(i) ≡ −(2m + 1)i for every i, modulo 2m² + 2m + 1.

    theorem MinimalProlificChallenge.odd_minimal_prolific_classification (m : ℕ) (hm : 1 ≤ m) (w : Equiv.Perm (Fin (2 * m ^ 2 + 2 * m))) :
      HasBreadthAtLeast (2 * m + 1) w ↔ IsSigmaPlus m w ∨ IsSigmaMinus m w
  • For m ≥ 1, exactly two permutations of 1 to 2m² + 2m obey the rule

    For m ≥ 1, exactly 2 permutations of 1 to 2m² + 2m have every two points at taxicab distance at least 2m + 1.

    theorem MinimalProlificChallenge.odd_minimal_prolific_card_eq_two (m : ℕ) (hm : 1 ≤ m) :
      Nat.card { w // HasBreadthAtLeast (2 * m + 1) w } = 2
  • The two permutations are mirror images of each other

    For m ≥ 1, there are w₁ satisfying the σ⁺ congruence and w₂ satisfying the σ⁻ congruence with w₁ ≠ w₂, such that the reverse, the complement and the inverse of w₁ are all w₂, and a quarter turn leaves w₁ and w₂ unchanged.

    theorem MinimalProlificChallenge.odd_minimal_prolific_dihedral_orbit (m : ℕ) (hm : 1 ≤ m) :
      ∃ w₁ w₂,
      IsSigmaPlus m w₁ ∧
        IsSigmaMinus m w₂ ∧
          w₁ ≠ w₂ ∧
            permReverse w₁ = w₂ ∧ permComplement w₁ = w₂ ∧ permInverse w₁ = w₂ ∧ permRot90 w₁ = w₁ ∧ permRot90 w₂ = w₂
  • Every diamond tiling through (0, 0) is Λ⁺ or Λ⁻

    For m ≥ 1, every tiling of the plane by diamonds of radius m with a centre at (0, 0) is Λ⁺ or Λ⁻.

    theorem MinimalProlificChallenge.lee_tiling_classification (m : ℕ) (hm : 1 ≤ m) (T : Set (ℤ × ℤ)) (hT : IsLeeTiling m T) (hO : (0, 0) ∈ T) :
      T = LambdaPlus m ∨ T = LambdaMinus m
  • Every two points at least d apart
  • Being σ⁺
  • Being σ⁻
  • The permutation σ⁺
  • The permutation σ⁻
  • σ⁺ obeys the rule

    For m ≥ 1, every two points of σ⁺ are at taxicab distance at least 2m + 1.

  • σ⁻ obeys the rule

    For m ≥ 1, every two points of σ⁻ are at taxicab distance at least 2m + 1.

  • A permutation that obeys the rule is σ⁺ or σ⁻

    For m ≥ 1, every permutation of 1 to 2m² + 2m whose points are pairwise at least 2m + 1 apart is σ⁺ or σ⁻.

  • The rule holds exactly for the two modular permutations, in the library

    The library's copy, which names the two permutations σ⁺ and σ⁻ instead of their congruences.

  • For m ≥ 1, exactly two permutations of 1 to 2m² + 2m obey the rule, in the library

    The library's copy, with the size of the square and the rule in the library's own definitions.

  • Each symmetry of the square sends σ⁺ and σ⁻ to σ⁺ or σ⁻; one sends σ⁺ to σ⁻

    For m ≥ 1, σ⁺ ≠ σ⁻; the reverse, the complement and the inverse of σ⁺ are σ⁻; a quarter turn leaves each unchanged; each of the eight symmetries of the square sends each of them to σ⁺ or σ⁻; and some symmetry sends σ⁺ to σ⁻.

Strips give 2(r − 1)! permutations for even k

For even k = 2r − 2 ≥ 2, so r ≥ 2, take the length 2r² − 1 and the distance 2r. Choose any order of 1 to r − 1, which gives shifts λ₀ = 0, λ₁, …, λᵣ₋₁, and place points at i(r, −r) + λᵢ(1, 1) + j(r, r) for all whole numbers i and j, with λ repeating every r. Any two of these points are at least 2r apart, and the pattern repeats every N = 2r² steps, so the points inside the square form a permutation that obeys the rule. Different orders, and the mirror images, give 2(r − 1)! different permutations.

  • For r ≥ 2, at least 2(r − 1)! permutations for even k

    For r ≥ 2, at least 2(r − 1)! permutations of 1 to 2r² − 1 have every two points at taxicab distance at least 2r.

    theorem MinimalProlificChallenge.even_strip_lower_bound (r : ℕ) (hr : 2 ≤ r) :
      2 * (r - 1).factorial ≤ Nat.card { w // HasBreadthAtLeast (2 * r) w }
  • For r ≥ 2, at least 2(r − 1)! permutations for even k, in the library

    The library's copy, with the size of the square and the rule in the library's own definitions.

  • Two strip points are at least 2r apart

    For r ≥ 1 and any shifts, the strip points for two different pairs (i, j) are at taxicab distance at least 2r.

  • The pattern repeats every N

    For r ≥ 1, moving a point of the strip pattern by a·N across and b·N up gives a point of the pattern.

  • The strip permutation obeys the rule

    For r ≥ 2 and every order π, every two points of the strip permutation are at least 2r apart.

  • The strip permutations are all different

    For r ≥ 2, different choices of order and mirror give different permutations.

Exactly 2(r − 1)! torus-separated permutations for even k

For r ≥ 2, a permutation of 1 to 2r² − 1 is torus-separated when its points and (0, 0), copied by every whole multiple of N = 2r² across and up, are all at least 2r apart. In turned coordinates u = x + y and v = x − y the taxicab distance is the larger of the two gaps, and for a torus-separated permutation the squares of side 2r placed at its turned centres tile the plane. Every tiling of the grid by equal squares repeats across or repeats up: in one case the points lie on a sheared strip pattern, and in the other the points of the reversed permutation do. Every strip permutation and every mirrored one is torus-separated, so there are exactly 2(r − 1)! torus-separated permutations.

  • Torus-separated means on one strip pattern, directly or reversed

    For r ≥ 2, a permutation w of 1 to 2r² − 1 is torus-separated exactly when its points lie on one strip pattern or the points of its reverse do.

    theorem MinimalProlificChallenge.even_torus_separated_classification (r : ℕ) (hr : 2 ≤ r) (w : Equiv.Perm (Fin (2 * r ^ 2 - 1))) :
      IsEvenTorusSeparated r w ↔ IsEvenStripPerm r w ∨ IsEvenStripPermMirror r w
  • For r ≥ 2, exactly 2(r − 1)! torus-separated permutations

    For r ≥ 2, exactly 2(r − 1)! permutations of 1 to 2r² − 1 are torus-separated.

    theorem MinimalProlificChallenge.even_torus_separated_card (r : ℕ) (hr : 2 ≤ r) :
      Nat.card { w // IsEvenTorusSeparated r w } = 2 * (r - 1).factorial
Short

Watch on YouTube ↗