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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 226

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Is there an entire non-linear function ff such that, for all x∈Rx\in\mathbb{R}, xx is rational if and only if f(x)f(x) is?

Barth and Schneider [BaSc70] proved the stronger result for countable dense subsets of R\mathbb{R}.

Subjects:Complex Variables (math.CV)
MSC classes:30
Tags:question, formal_proof
Cite as:NS.01386 [math.CV] · NS.01386v1 for this version
Declaration:Erdos226.erdos_226
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:42ca7029973757d695e3edd9282275d54819be4aa7af2b9d3bd9dd9df7e6442c
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/226.lean

Formal statement

theorem erdos_226 :
    ∃ F : ℂ → ℂ, Differentiable ℂ F ∧ (∀ x : ℝ, (F x).im = 0) ∧
      (∀ g : AffineMap ℝ ℝ ℝ, (fun x : ℝ => (F x).re) ≠ g) ∧
      PreservesRationality (fun x : ℝ => (F x).re)
Show the full Challenge.lean (59 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 226

*References:*
- [erdosproblems.com/226](https://www.erdosproblems.com/226)
- [BaSc70] Barth, K. F. and Schneider, W. J., *Entire functions mapping
  countable dense subsets of the reals onto each other monotonically*.
  J. London Math. Soc. (2) (1970), 620--626.
- [BaSc71] Barth, K. F. and Schneider, W. J., *Entire functions mapping
  arbitrary countable dense sets and their complements onto each other*.
  J. London Math. Soc. (2) (1971/72), 482--488.
- [Ha74] Hayman, W. K., *Research problems in function theory: new problems*.
  (1974), 155--180.
-/

@[expose] public section

namespace Erdos226

/-- A real function preserves rationality. -/
def PreservesRationality (f : ℝ → ℝ) : Prop :=
  ∀ x : ℝ, x ∈ Set.range ((↑) : ℚ → ℝ) ↔ f x ∈ Set.range ((↑) : ℚ → ℝ)

set_option linter.style.formal_proof_palomar false in
/--
Is there an entire non-linear function $f$ such that, for all $x\in\mathbb{R}$, $x$ is rational if and only if $f(x)$ is?

Barth and Schneider [BaSc70] proved the stronger result for countable dense subsets of
$\mathbb{R}$.
-/
@[category research solved, question, AMS 30,
  formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos226.lean"]
theorem erdos_226 :
    ∃ F : ℂ → ℂ, Differentiable ℂ F ∧ (∀ x : ℝ, (F x).im = 0) ∧
      (∀ g : AffineMap ℝ ℝ ℝ, (fun x : ℝ => (F x).re) ≠ g) ∧
      PreservesRationality (fun x : ℝ => (F x).re) := by
  sorry

end Erdos226

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

nosorry fetch erdos-226
nosorry submit erdos-226 nosorry/erdos-226/Solution.lean --wait

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.