Left to Solve
Problems / MathOverflow (not formalized)

Partition a square into sub-rectangles with restrictions

Open, not yet stated in LeanMathOverflow (not formalized)Combinatoricsdifficulty55/100

Statement

Is there an algorithm to generate all partitions of given square by using vertical and horizontal lines into sub-rectangles under the following restrictions:

1- No vertical line crosses any horizontal line and vice versa.

2- Each vertical line touches exactly three horizontal lines and each horizontal line touches exactly three vertical lines.

3- No internal line touchs both boundary lines.

Here is an example when

P.S. It appears that those partitions have connection to many different combinatorial structures. Such partitions are similar to Tatami tilings. Also, it seems that these partitions are related to planar straight-line drawing of cubic planar bipartite graphs where horizontal lines represent the vertices of and vertical lines represent the vertices of .

What algorithms are known which take a cubic planar bipartite graph and produce the corresponding restricted square partition?

I am also interested in any references that survey related combinatorial structures.

Posed by Mohammad Al-Turkistany · co.combinatorics, computer-science

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-64942.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-64942.lean

import Mathlib

/-!
# Partition a square into sub-rectangles with restrictions

Source: https://mathoverflow.net/questions/64942
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_64942

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_64942