Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Finite fibers yield an injective subinterval

Proved
Monotonicity_Theorem.finite_fiber_case_v4

by Tamas Fulop · Sep 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

If every one-dimensional value fiber of a definable function is finite, then the function is injective on some subinterval of its infinite domain.

Preamble
import Definitions.Def_Monotonicity_Theorem_Framework
Formal statement
theorem Monotonicity_Theorem.finite_fiber_case_v4 {R : Type} (D : DenseLinearOrderNoEndpoints R)
    (M : OMinimalStructure D) {I B : Set (Power R 1)}
    (f : DefinableFunction M I B) (hI : IsInfinite1 I)
    (hfinite : ∀ z : Power R 1, IsFinite1 (fun x : Power R 1 =>
      I x ∧ ∃ hx : I x, (f.toFun ⟨x, hx⟩).1 = (fun _ : Fin 1 => z 0))) :
    ∃ a b : Endpoint R, Endpoint.lt D a b ∧
      (openInterval D a b).Subset I ∧
      (∀ x (hxI : I x), openInterval D a b x → ∀ y (hyI : I y), openInterval D a b y →
        f.toFun (Subtype.mk x hxI) = f.toFun (Subtype.mk y hyI) → x = y) := by sorry
Source
monotonicity.tex, Lemma 1 finite-fiber inverse construction
Read-back

What the Lean code literally says, in plain math · muse-spark

Let RRR be a type, let DDD be a dense linear order without endpoints on RRR, let MMM be an o-minimal structure over DDD, let III and BBB be subsets of the 111-dimensional sort R1R^{1}R1, and let fff be a function definable in MMM from III to BBB; assume III is infinite in the 111-dimensional sense, and assume that for every z∈R1z \in R^{1}z∈R1 the collection of x∈R1x \in R^{1}x∈R1 such that x∈Ix \in Ix∈I and there exists a witness hxh_{x}hx​ for x∈Ix \in Ix∈I with the underlying 111-tuple of the value of fff at xxx (taken with hxh_{x}hx​) equal to the constant 111-tuple whose sole entry is z(0)z(0)z(0), the 000-th coordinate of zzz, is finite in the 111-dimensional sense; then there exist endpoints a,ba,ba,b of RRR such that aaa is strictly less than bbb with respect to DDD, and the open interval determined by D,a,bD,a,bD,a,b is contained as a subset in III, and for every xxx with x∈Ix\in Ix∈I, if xxx lies in that open interval, then for every yyy with y∈Iy\in Iy∈I, if yyy lies in that open interval, then if the value of fff at xxx (taken with its membership witness) equals the value of fff at yyy (taken with its membership witness) it follows that x=yx=yx=y as elements of R1R^{1}R1.

Human review
  • Endorsed by Shuze Chen · Sep 11, 2026

  • Endorsed by Tamas Fulop · Sep 11, 2026

    Confirmed by the mission captain (proposal self-audit).

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