Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Finite fibers over an infinite domain give infinite image

Proved
Monotonicity_Theorem.infinite_image_of_finite_fibers

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

If every value fiber of a definable function is finite but the domain is infinite, then the image is infinite. Otherwise a finite image listing combined with finite fiber listings would list the whole domain. This feeds the interval-extraction step of the Lemma 1 finite-fiber case.

Preamble
import Definitions.Def_Monotonicity_Theorem_Framework
Formal statement
theorem Monotonicity_Theorem.infinite_image_of_finite_fibers {R : Type} (D : DenseLinearOrderNoEndpoints R)
    (M : OMinimalStructure D) {I B : Set (Power R 1)}
    (f : DefinableFunction M I B) (hI : IsInfinite1 I)
    (hfinite : forall z : Power R 1, IsFinite1 (fun x : Power R 1 =>
      I x /\ exists hx : I x, (f.toFun (Subtype.mk x hx)).1 = (fun _ : Fin 1 => z 0))) :
    IsInfinite1 (fun y : Power R 1 => exists x : Power R 1, exists hx : I x,
      (f.toFun (Subtype.mk x hx)).1 = y) := by sorry
Source
monotonicity.tex, Lemma 1 finite-fiber step; supporting infinitude lemma
Read-back

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

Let RRR be a type, let DDD endow RRR with a dense linear order with no endpoints, let MMM be an o-minimal structure over DDD, let I,B⊆R1I,B\subseteq R^{1}I,B⊆R1 be subsets of 111-tuples over RRR, and let fff be a definable function in MMM from III to BBB, with underlying map sending a pair ⟨x,h⟩\langle x,h\rangle⟨x,h⟩ with x∈R1x\in R^{1}x∈R1 and hhh a witness that x∈Ix\in Ix∈I to a pair in BBB whose underlying R1R^{1}R1-point is denoted f‾(x,h)\overline{f}(x,h)f​(x,h); assume III is infinite in the 111-dimensional sense, and assume that for every z∈R1z\in R^{1}z∈R1 the set {x∈R1∣x∈I and there exists a witness h that x∈I with f‾(x,h)=cz}\{x\in R^{1}\mid x\in I \text{ and there exists a witness }h\text{ that }x\in I\text{ with }\overline{f}(x,h)=c_{z}\}{x∈R1∣x∈I and there exists a witness h that x∈I with f​(x,h)=cz​}, where cz∈R1c_{z}\in R^{1}cz​∈R1 is the constant 111-tuple cz(i)=z(0)c_{z}(i)=z(0)cz​(i)=z(0) for all iii in the singleton index set with distinguished element 000, is finite in the 111-dimensional sense, the first conjunct x∈Ix\in Ix∈I being redundant given the existential over hhh, and allowing a priori empty III, empty BBB, and empty fibers with zzz ranging over all of R1R^{1}R1 whether attained or not; then the set {y∈R1∣there exist x∈R1 and a witness h that x∈I with f‾(x,h)=y}\{y\in R^{1}\mid \text{there exist }x\in R^{1}\text{ and a witness }h\text{ that }x\in I\text{ with }\overline{f}(x,h)=y\}{y∈R1∣there exist x∈R1 and a witness h that x∈I with f​(x,h)=y}, i.e. the image-point set of fff, is infinite in the 111-dimensional sense.

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