Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Curve classes for the square peg problem

Definition
SquarePeg_classes

by LG · Nov 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

geometryjordan-curvetopology

Regularity and symmetry classes of plane curves used in the partial results. IsConvexCurve(C)\mathrm{IsConvexCurve}(C)IsConvexCurve(C): CCC is the boundary of a compact convex set with non-empty interior. IsSmoothCurve(C)\mathrm{IsSmoothCurve}(C)IsSmoothCurve(C): CCC is the image of a regular C∞C^\inftyC∞ 1-periodic parametrization injective on [0,1)[0,1)[0,1) (a smooth embedded circle). IsLocallyMonotone(C)\mathrm{IsLocallyMonotone}(C)IsLocallyMonotone(C): near each point some linear functional is injective on CCC (Stromquist's condition, equivalently locally a graph over a line). IsLineSymmetric\mathrm{IsLineSymmetric}IsLineSymmetric / IsPointSymmetric\mathrm{IsPointSymmetric}IsPointSymmetric: invariance under reflection in a line / point-reflection about a point.

Definition code
import Mathlib
import Definitions.Def_SchoenfliesPlaneCore

open Schoenflies Set

namespace SquarePeg

/-- A convex curve: the boundary of a compact convex set with non-empty interior. -/
def IsConvexCurve (C : Set Plane) : Prop :=
  ∃ K : Set Plane, Convex ℝ K ∧ IsCompact K ∧ (interior K).Nonempty ∧ C = frontier K

/-- A smooth Jordan curve: the image of a regular C^∞ 1-periodic parametrization
that is injective on [0,1). -/
def IsSmoothCurve (C : Set Plane) : Prop :=
  ∃ f : ℝ → Plane, ContDiff ℝ ⊤ f ∧ (∀ t, f (t + 1) = f t) ∧
    InjOn f (Ico 0 1) ∧ (∀ t, deriv f t ≠ 0) ∧ f '' Icc 0 1 = C

/-- Stromquist's locally monotone condition: near each of its points the curve is
injectively projected by some linear functional (locally a graph over a line). -/
def IsLocallyMonotone (C : Set Plane) : Prop :=
  ∀ p ∈ C, ∃ U : Set Plane, IsOpen U ∧ p ∈ U ∧
    ∃ ℓ : Plane →ₗ[ℝ] ℝ, InjOn ℓ (C ∩ U)

/-- Symmetric across some line (reflection invariance). -/
def IsLineSymmetric (C : Set Plane) : Prop :=
  ∃ a u : Plane, ‖u‖ = 1 ∧
    ∀ p ∈ C, a + ((2 * inner ℝ (p - a) u) • u - (p - a)) ∈ C

/-- Symmetric about some point (point-reflection invariance). -/
def IsPointSymmetric (C : Set Plane) : Prop :=
  ∃ z : Plane, ∀ p ∈ C, 2 • z - p ∈ C

end SquarePeg
Source
Convex: Emch, Amer. J. Math. 35 (1913) 407-412; Fenn, Bull. LMS 2 (1970) 73-76. Smooth: Greene-Lobb, arXiv:2005.09193 and arXiv:2011.05216. Locally monotone: Stromquist, Mathematika 36 (1989) 187-197, definition as in Matschke survey Theorem 2. Symmetric: Nielsen-Wright, Geom. Dedicata 56 (1995) 285-297.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me