-
Notifications
You must be signed in to change notification settings - Fork 193
feat(ErdosProblems): 1096 #1379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
callesonne
left a comment
There was a problem hiding this 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.
| def Sums (q : ℝ) : Set ℝ := | ||
| { s | ∃ S : Finset ℕ, s = ∑ i ∈ S, q ^ i } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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.
| ∃ ε > 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) := |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ∃ ε > 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) := |
| # Erdős Problem 1096 | ||
| *Reference:* [erdosproblems.com/1096](https://www.erdosproblems.com/1096) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # 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) |
|
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 |
closes #1295