Left to Solve
Problems / MathOverflow (not formalized)

A non-self-intersecting unit side length polygon in a unit square has odd number of sides unless it is the square itself

Open, not yet stated in LeanMathOverflow (not formalized)CombinatoricsConvex & Discrete Geometrydifficulty56/100

Statement

This is the same question as here in SE.

I have a conjecture, it is like this:

Suppose there is a non-self-intersecting polygon lies inside a closed square of length . The polygon has every side length of . Suppose the polygon is not the boundary of the unit square (i.e. a square frame.) Prove or disprove that the number of sides of the polygon is an odd number.

I have pondered this problem for quite a while. What I have tried is this: Suppose the unit square is dissected into four quadrants, like . Therefore, we want to prove that the line segments that go through the quadrants diagonally ( to , or to ) is odd number. To prove this, I want to prove the intermediate steps:

(1) We don't have both kinds of diagonals. That is, no edges from to and to .

Update (from comments:) we may need to use the fact that it is a polygon. Generally If we place the segments in a good way, there can be two segments such that one segment has end points in regions , , And the other can have the segment has endpoint in regions , . For example, the segment connects …

Posed by JetfiRex · co.combinatorics, discrete-geometry

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-481323.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-481323.lean

import Mathlib

/-!
# A non-self-intersecting unit side length polygon in a unit square has odd number of sides unless it is the square itself

Source: https://mathoverflow.net/questions/481323
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_481323

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

theorem main : sorry := by
  sorry

end OMA.S_mo_481323