Minimal k-prolific permutations for every odd k

3 of 5 main results in Lean (60%); 1 written proof (even-k torus-separated characterization, Proposition 1); 1 deterministic enumeration check (k ≤ 8, Proposition 2); 1 open conjecture (even-k exact count for k ≥ 10, excluded from claim-share denominators) · AI-generated and directed by Tyler B. Hughes · 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; and 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.

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.

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. A computer search of all 12! = 479,001,600 orders finds only these two with every distance at least 5.

For even k the strips of the last 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.

  • Two diamonds miss each other exactly when their centres are 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
  • The diamond of radius m
  • 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 distance at least d
  • 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.

    theorem MinimalProlific.isValidOdd_iff_spheres_disjoint {m : ℕ} (w : Equiv.Perm (Fin (n_odd m))) :
      IsValidOdd m w ↔ ∀ (i j : Fin (n_odd m)), i ≠ j → Disjoint (leeSphere m (plotPoint w i)) (leeSphere m (plotPoint w j))
  • A covered cell
  • The reverse
  • The complement
  • The inverse
  • The quarter turn
  • 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.

    theorem MinimalProlific.claim1_supports_partition {m : ℕ} (hm : 1 ≤ m) {w : Equiv.Perm (Fin (n_odd m))} (hw : IsValidOdd m w) :
      univ.biUnion (oddSupport m hm w) = centralSet m ∧ Set.univ.PairwiseDisjoint (oddSupport m hm w)
  • 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.

    theorem MinimalProlific.colCover_card_of_mem_centralSet {m : ℕ} (hm : 1 ≤ m) {w : Equiv.Perm (Fin (n_odd m))} (hw : IsValidOdd m w) {x : ℤ} (hx : x ∈ centralSet m) :
      (colCover m w x).card = N_odd m
  • 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².

    theorem MinimalProlific.sum_card_oddSupport {m : ℕ} (hm : 1 ≤ m) (w : Equiv.Perm (Fin (n_odd m))) :
      ∑ s, (oddSupport m hm w s).card = 2 * m ^ 2
  • 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.

    theorem MinimalProlific.holesInCol_card_central {m : ℕ} (hm : 1 ≤ m) {w : Equiv.Perm (Fin (n_odd m))} (hw : IsValidOdd m w) {x : ℤ} (hx : x ∈ centralSet m) :
      ↑(holesInCol m w x).card = overhang m hm w x - 1

Where the uncovered cells must be

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. The side column m + 1 − s has s² − 1 holes. Every cell whose row and column are both in the middle is covered. In a middle column the holes sit at one end, at the bottom if a top tent covers that column and at the top if a bottom tent does.

  • 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.

    theorem MinimalProlific.claim4_central_box_covered {m : ℕ} (hm : 1 ≤ m) {w : Equiv.Perm (Fin (n_odd m))} (hw : IsValidOdd m w) {x : ℤ} {y : ℤ} (hx : x ∈ centralSet m) (hy : y ∈ centralSet m) :
      isCovered m w (x, y)
  • 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.

    theorem MinimalProlific.corner_sphere_isHole {m : ℕ} (hm : 1 ≤ m) {w : Equiv.Perm (Fin (n_odd m))} (hw : IsValidOdd m w) {q : ℤ × ℤ} {corner : ℤ × ℤ} (hcorner : corner = (0, 0) ∨ corner = (↑(N_odd m), 0) ∨ corner = (0, ↑(N_odd m)) ∨ corner = (↑(N_odd m), ↑(N_odd m))) (hq1 : 1 ≤ q.1) (hq2 : q.1 ≤ ↑(n_odd m)) (hq3 : 1 ≤ q.2) (hq4 : q.2 ≤ ↑(n_odd m)) (hsph : q ∈ leeSphere m corner) :
      isHole m w q
  • 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.

    theorem MinimalProlific.claim2_left_side_col_holes {m : ℕ} (hm : 1 ≤ m) {w : Equiv.Perm (Fin (n_odd m))} (hw : IsValidOdd m w) {s : ℕ} (hs1 : 1 ≤ s) (hsm : s ≤ m) :
      (holesInCol m w (↑m + 1 - ↑s)).card = s ^ 2 - 1
  • 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.

    theorem MinimalProlific.claim3_corners {m : ℕ} (hm : 1 ≤ m) {w : Equiv.Perm (Fin (n_odd m))} (hw : IsValidOdd m w) :
      ((↑m, ↑m + 1) ∈ plotSet w ↔ (↑m + 1, ↑m) ∉ plotSet w) ∧
      ((↑m, ↑m + 1) ∈ plotSet w ∨ (↑m + 1, ↑m) ∈ plotSet w) ∧
        ((↑(N_odd m) - ↑m, ↑m + 1) ∈ plotSet w ↔ (↑(N_odd m) - ↑m - 1, ↑m) ∉ plotSet w) ∧
          ((↑(N_odd m) - ↑m, ↑m + 1) ∈ plotSet w ∨ (↑(N_odd m) - ↑m - 1, ↑m) ∈ plotSet w) ∧
            ((↑m, ↑(N_odd m) - ↑m - 1) ∈ plotSet w ↔ (↑m + 1, ↑(N_odd m) - ↑m) ∉ plotSet w) ∧
              ((↑m, ↑(N_odd m) - ↑m - 1) ∈ plotSet w ∨ (↑m + 1, ↑(N_odd m) - ↑m) ∈ plotSet w) ∧
                ((↑(N_odd m) - ↑m, ↑(N_odd m) - ↑m - 1) ∈ plotSet w ↔ (↑(N_odd m) - ↑m - 1, ↑(N_odd m) - ↑m) ∉ plotSet w) ∧
                  ((↑(N_odd m) - ↑m, ↑(N_odd m) - ↑m - 1) ∈ plotSet w ∨ (↑(N_odd m) - ↑m - 1, ↑(N_odd m) - ↑m) ∈ plotSet w)
  • 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.

    theorem MinimalProlific.claim3a_corner_square_00 {m : ℕ} (hm : 1 ≤ m) {w : Equiv.Perm (Fin (n_odd m))} (hw : IsValidOdd m w) {x : ℤ} {y : ℤ} (hx1 : 1 ≤ x) (hxm : x ≤ ↑m) (hy1 : 1 ≤ y) (hym : y ≤ ↑m) :
      isHole m w (x, y) ↔ 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.

    theorem MinimalProlific.claim5_central_col_holes {m : ℕ} (hm : 1 ≤ m) {w : Equiv.Perm (Fin (n_odd m))} (hw : IsValidOdd m w) {x : ℤ} (hx : x ∈ centralSet m) :
      (isTopCol m hm w x → holesInCol m w x = Icc 1 (overhang m hm w x - 1)) ∧
      (isBotCol m hm w x → holesInCol m w x = Icc (↑(N_odd m) - (overhang m hm w x - 1)) ↑(n_odd m))

Wrapping the square into a tiling

Add the point (0, 0) to the n points 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.

    theorem MinimalProlific.claim6_torus_tiling {m : ℕ} (hm : 1 ≤ m) {w : Equiv.Perm (Fin (n_odd m))} (hw : IsValidOdd m w) :
      IsLeeTiling m (torusCenters m w) ∧ (0, 0) ∈ torusCenters m w
  • 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.

    theorem MinimalProlific.torusCenters_cover_fundamental {m : ℕ} (hm : 1 ≤ m) {w : Equiv.Perm (Fin (n_odd m))} (hw : IsValidOdd m w) {x : ℤ} {y : ℤ} (hx0 : 0 ≤ x) (hxn : x ≤ ↑(n_odd m)) (hy0 : 0 ≤ y) (hyn : y ≤ ↑(n_odd m)) :
      ∃ c ∈ torusCenters m w, (x, y) ∈ leeSphere m c

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 Λ⁻.

  • The only tilings through (0, 0) are Λ⁺ and Λ⁻

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

    theorem MinimalProlific.claim7_lee_tiling_classification (m : ℕ) (hm : 1 ≤ m) (T : Set (ℤ × ℤ)) (hT : IsLeeTiling m T) (hO : (0, 0) ∈ T) :
      T = LambdaPlus m ∨ T = LambdaMinus m
  • A test for Λ⁺

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

    theorem MinimalProlific.mem_LambdaPlus_iff_dvd (m : ℕ) (z : ℤ × ℤ) :
      z ∈ LambdaPlus m ↔ ↑(N_odd m) ∣ z.2 - ↑(d_odd m) * z.1
  • A test for Λ⁻

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

    theorem MinimalProlific.mem_LambdaMinus_iff_dvd (m : ℕ) (z : ℤ × ℤ) :
      z ∈ LambdaMinus m ↔ ↑(N_odd m) ∣ z.2 + ↑(d_odd m) * z.1
  • Λ⁺ is a tiling

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

    theorem MinimalProlific.LambdaPlus_isLeeTiling {m : ℕ} (hm : 1 ≤ m) :
      IsLeeTiling m (LambdaPlus m)
  • 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).

    theorem MinimalProlific.tiling_start {m : ℕ} (hm : 1 ≤ m) {T : Set (ℤ × ℤ)} (hT : IsLeeTiling m T) (hO : (0, 0) ∈ T) :
      e2 m ∈ T ∨ (↑m, ↑m + 1) ∈ T
  • 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.

    theorem MinimalProlific.lambdaPlus_subset_of_isFull {m : ℕ} (hm : 1 ≤ m) {T : Set (ℤ × ℤ)} (hT : IsLeeTiling m T) (hfO : IsFull m T (0, 0)) :
      LambdaPlus m ⊆ T

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.

    theorem MinimalProlific.sigmaPlus_isValidOdd {m : ℕ} (hm : 1 ≤ m) :
      IsValidOdd m (sigmaPlus m)
  • σ⁻ obeys the rule

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

    theorem MinimalProlific.sigmaMinus_isValidOdd {m : ℕ} (hm : 1 ≤ m) :
      IsValidOdd m (sigmaMinus m)
  • 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 σ⁺ and σ⁻

    For m ≥ 1, a permutation of 1 to 2m² + 2m obeys the rule for distance 2m + 1 exactly when it is σ⁺ or σ⁻.

  • For m ≥ 1, exactly two permutations obey the rule

    For m ≥ 1, exactly 2 permutations of 1 to 2m² + 2m obey the rule for distance 2m + 1.

  • The symmetries of the square swap σ⁺ and σ⁻

    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

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

  • Two strip points are 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.