Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Inscribed square problem

Source:Wikipedia lists of open problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Inscribed square problem Does every Jordan curve admit an inscribed square?

Subjects:Metric Geometry (math.MG)
MSC classes:51
Tags:question
Cite as:NS.08013 [math.MG] · NS.08013v1 for this version
Declaration:InscribedSquare.inscribed_square_problem
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100; accepted critique: up to 100
Statement hash:c45f516a797c084c955e752168fe2c97ca62091172fbed034b06fdc47ee6eb67
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Wikipedia/InscribedSquare.lean

Formal statement

theorem inscribed_square_problem :
    ∀ (γ : Circle → ℝ²) (hγ : IsEmbedding γ),
      ∃ t₁ t₂ t₃ t₄, IsRectangle (γ t₁) (γ t₂) (γ t₃) (γ t₄) 1
Show the full Challenge.lean (103 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Inscribed square problem

The *inscribed square problem* or *Toeplitz conjecture* asks whether every Jordan curve (i.e. simple
close curve in ℝ²) admits an inscribed square, i.e. a square whose vertices all lie on the curve.
There are several open and solved variants of this conjecture.

*References:*
 - [Wikipedia](https://en.wikipedia.org/wiki/Inscribed_square_problem)
 - [A Survey on the Square Peg Problem](https://www.researchgate.net/publication/274622766_A_Survey_on_the_Square_Peg_Problem)
   by *Benjamin Matschke*
 - [arxiv/2005.09193](https://arxiv.org/abs/2005.09193)
-/

@[expose] public section

open Topology ContDiff Manifold
open scoped EuclideanGeometry

namespace InscribedSquare

/-- Four points `a b c d` in the plane form a rectangle with `a` opposite to `c` iff the line
segments from `a` to `c` and from `b` to `d` have both the same length and the same midpoint, acting
as the diagonals of the rectangle. We also require the rectangle to be nondegenerate and have a
given aspect ratio `ratio : ℝ`. -/
structure IsRectangle (a b c d : ℝ²) (ratio : ℝ) : Prop where
  diagonal_midpoints_eq : a + c = b + d
  diagonal_lengths_eq : dist a c = dist b d
  a_ne_b : a ≠ b
  b_ne_c : b ≠ c
  has_ratio : (dist a b) / (dist b c) = ratio

/--
**Inscribed square problem**
Does every Jordan curve admit an inscribed square?
-/
@[category research open, question, AMS 51]
theorem inscribed_square_problem :
    ∀ (γ : Circle → ℝ²) (hγ : IsEmbedding γ),
      ∃ t₁ t₂ t₃ t₄, IsRectangle (γ t₁) (γ t₂) (γ t₃) (γ t₄) 1 := by
  sorry

/--
**Inscribed rectangle problem**
Does every Jordan curve admit inscribed rectangles of any given aspect ratio?
-/
@[category research open, question, AMS 51]
theorem inscribed_rectangle_problem :
    ∀ (γ : Circle → ℝ²) (hγ : IsEmbedding γ) (r : ℝ) (hr : r > 0),
      ∃ t₁ t₂ t₃ t₄, IsRectangle (γ t₁) (γ t₂) (γ t₃) (γ t₄) r := by
  sorry

/--
It is known that every Jordan curve admits at least one inscribed rectangle.
-/
@[category research solved, AMS 51]
theorem exists_inscribed_rectangle (γ : Circle → ℝ²) (hγ : IsEmbedding γ) :
    ∃ t₁ t₂ t₃ t₄ r, IsRectangle (γ t₁) (γ t₂) (γ t₃) (γ t₄) r := by
  sorry

/--
It is known that every *smooth* Jordan curve admits inscribed rectangles of all aspect ratios.
Here a smooth Jordan curve is a smooth embedding of the circle into the plane, i.e. a smooth
simple closed curve with nowhere vanishing velocity.
-/
@[category research solved, AMS 51]
theorem exists_inscribed_rectangle_of_smooth (γ : Circle → ℝ²)
    (hγ : IsSmoothEmbedding (𝓡 1) (𝓡 2) ∞ γ) (r : ℝ) (hr : r > 0) :
    ∃ t₁ t₂ t₃ t₄, IsRectangle (γ t₁) (γ t₂) (γ t₃) (γ t₄) r := by
  sorry

/--
It is also known that every $C^2$ Jordan curve admits an inscribed square.
Here a $C^2$ Jordan curve is a $C^2$ embedding of the circle into the plane, i.e. a $C^2$
simple closed curve with nowhere vanishing velocity.
-/
@[category research solved, AMS 51]
theorem exists_inscribed_square_of_C2 (γ : Circle → ℝ²)
    (hγ : IsSmoothEmbedding (𝓡 1) (𝓡 2) 2 γ) :
    ∃ t₁ t₂ t₃ t₄, IsRectangle (γ t₁) (γ t₂) (γ t₃) (γ t₄) 1 := by
  sorry

end InscribedSquare

To prove it: keep every definition of Challenge.lean unchanged and prove InscribedSquare.inscribed_square_problem with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_inscribed_square_problem : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk wikipedia-inscribedsquare      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch wikipedia-inscribedsquare
nosorry submit wikipedia-inscribedsquare nosorry/wikipedia-inscribedsquare/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.