Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A continuous real function avoiding a coset of a lattice stays in one period window

Proved
FiniteEnergyPlane.exists_int_forall_mem_Ioo_of_forall_ne

by Mazecto · Nov 2, 2026 · Mathlib 0df444a (Lean v4.33.1)

conley-zehnder-indextopologywinding-numbers

Let XXX be a nonempty preconnected topological space, let f:X→Rf:X\to\mathbb{R}f:X→R be continuous, and let c∈Rc\in\mathbb{R}c∈R and L>0L>0L>0. If f(x)≠c+mLf(x)\neq c+mLf(x)=c+mL for every x∈Xx\in Xx∈X and every m∈Zm\in\mathbb{Z}m∈Z, then there is m∈Zm\in\mathbb{Z}m∈Z with

c+mL<f(x)<c+(m+1)Lfor all x∈X.c+mL<f(x)<c+(m+1)L\quad\text{for all }x\in X.c+mL<f(x)<c+(m+1)Lfor all x∈X.

This confines continuous angle functions, such as lifts of arguments, to a single window of one period.

Preamble
import Mathlib.Topology.Algebra.Order.Floor
import Mathlib.Topology.Instances.Real.Lemmas
import Mathlib.Topology.Order.IntermediateValue
import Mathlib.Algebra.Order.Floor.Ring
Formal statement
namespace FiniteEnergyPlane

/-- A continuous real function on a nonempty preconnected space that never takes a value in the
coset `c + Lℤ` (`L > 0`) takes all its values in a single interval `(c + mL, c + (m + 1)L)`. -/
theorem exists_int_forall_mem_Ioo_of_forall_ne {X : Type*} [TopologicalSpace X]
    [PreconnectedSpace X] [Nonempty X] (f : X → ℝ) (hf : Continuous f) (c L : ℝ) (hL : 0 < L)
    (h : ∀ x, ∀ m : ℤ, f x ≠ c + m * L) :
    ∃ m : ℤ, ∀ x, c + m * L < f x ∧ f x < c + (m + 1) * L := by
  sorry

end FiniteEnergyPlane
Source
Auxiliary lemma for J. Gutt, Ann. Fac. Sci. Toulouse Math. 23 (2014), arXiv:1307.7239, Section 2, and U. Hryniewicz, J. Symplectic Geom. 12 (2014), arXiv:1105.2077, Section 2.1.1

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