Skip to content

Conversation

@anhhuyalex
Copy link
Contributor

closes #1295

@YaelDillies YaelDillies changed the title feat(ErdosProblems): 1096 (google-deepmind#1295) feat(ErdosProblems): 1096 Dec 17, 2025
Copy link
Collaborator

@callesonne callesonne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Here are some initial comments. I would suggest that maybe you actually rewrite the theorem to use Nat.nth as quantifying over these sequences x. This would mean that Sums also needs to be rewritten to IsSum as a map from to Prop.

Comment on lines +29 to +30
def Sums (q : ℝ) : Set ℝ :=
{ s | ∃ S : Finset ℕ, s = ∑ i ∈ S, q ^ i }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def Sums (q : ℝ) : Set ℝ :=
{ s | ∃ S : Finset ℕ, s = ∑ i ∈ S, q ^ i }
def Sums (q : ℝ) : Set ℝ := { ∑ i ∈ S, q ^ i | S : Finset ℕ }

Here is a more compact way of writing this.

Comment on lines +40 to +42
∃ ε > 0, ∀ q, 1 < q → q < 1 + ε →
∀ x : ℕ → ℝ, StrictMono x → Set.range x = Sums q →
Tendsto (fun k => x (k + 1) - x k) atTop (nhds 0) ↔ answer(sorry) :=
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
∃ ε > 0, ∀ q, 1 < q → q < 1 + ε →
∀ x : ℕ → ℝ, StrictMono x → Set.range x = Sums q →
Tendsto (fun k => x (k + 1) - x k) atTop (nhds 0) ↔ answer(sorry) :=
(∃ ε > 0, ∀ q, 1 < q → q < 1 + ε →
∀ x : ℕ → ℝ, StrictMono x → Set.range x = Sums q →
Tendsto (fun k => x (k + 1) - x k) atTop (𝓝 0)) ↔ answer(sorry) :=

Comment on lines +20 to +21
# Erdős Problem 1096
*Reference:* [erdosproblems.com/1096](https://www.erdosproblems.com/1096)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Erdős Problem 1096
*Reference:* [erdosproblems.com/1096](https://www.erdosproblems.com/1096)
# Erdős Problem 1096
*Reference:* [erdosproblems.com/1096](https://www.erdosproblems.com/1096)

@callesonne callesonne added the awaiting-author The author should answer a question or perform changes. Reply when done. label Dec 18, 2025
@anhhuyalex
Copy link
Contributor Author

Thank you for your comments @callesonne ! After reading the docs, Nat.nth looks like it finds the n-th natural number satisfying p. But x is a sequence of real numbers. I couldn't find a similar definition in mathlib (e.g. Real.nth) that finds the n-th real number satisfying p. Should I try defining that in this commit ?

@callesonne
Copy link
Collaborator

Thank you for your comments @callesonne ! After reading the docs, Nat.nth looks like it finds the n-th natural number satisfying p. But x is a sequence of real numbers. I couldn't find a similar definition in mathlib (e.g. Real.nth) that finds the n-th real number satisfying p. Should I try defining that in this commit ?

Ahh no you are right, I got it mixed up. Then I think only my above comments need to be addressed (ignoring the one about Nat.nth!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-author The author should answer a question or perform changes. Reply when done.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Erdős Problem 1096

2 participants