-
Notifications
You must be signed in to change notification settings - Fork 224
feat(ErdosProblems): 884 #1248
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?
feat(ErdosProblems): 884 #1248
Changes from 6 commits
3052802
8525c36
cc4212f
439971c
c5defc2
2069319
530aa3d
3a6abde
d3087b9
e1c7706
35e3ddd
001dd69
432cab4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,86 @@ | ||||||
| /- | ||||||
| Copyright 2025 The Formal Conjectures Authors. | ||||||
|
|
||||||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||||||
| you may not use this file except in compliance with the License. | ||||||
| You may obtain a copy of the License at | ||||||
|
|
||||||
| https://www.apache.org/licenses/LICENSE-2.0 | ||||||
|
|
||||||
| Unless required by applicable law or agreed to in writing, software | ||||||
| distributed under the License is distributed on an "AS IS" BASIS, | ||||||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||||
| See the License for the specific language governing permissions and | ||||||
| limitations under the License. | ||||||
| -/ | ||||||
|
|
||||||
| import FormalConjectures.Util.ProblemImports | ||||||
| import FormalConjectures.Wikipedia.HardyLittlewood | ||||||
|
|
||||||
| /-! | ||||||
| # Erdős Problem 884 | ||||||
|
|
||||||
| *References:* | ||||||
| - [erdosproblems.com/884](https://www.erdosproblems.com/884) | ||||||
| - [Tao25](https://terrytao.wordpress.com/wp-content/uploads/2025/09/erdos-884.pdf) | ||||||
| -/ | ||||||
|
|
||||||
|
|
||||||
|
|
||||||
| namespace Erdos884 | ||||||
|
|
||||||
| /-- | ||||||
| `divisors_increasing n` is the increasingly ordered list of divisors of `n`. | ||||||
| By convention, we set `divisors_increasing 0 = ∅`. | ||||||
| As a `Finset`, this is the same as `Nat.divisors` | ||||||
| -/ | ||||||
| abbrev divisors_increasing (n : ℕ) : List ℕ := (List.range (n + 1)).filter (· ∣ n) | ||||||
kesslermaximilian marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| noncomputable abbrev sum_inv_of_divisor_pair_differences (n : ℕ) : ℚ := | ||||||
mo271 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| ∑ j : Fin n.divisors.card, ∑ i : Fin j, | ||||||
| (1 : ℚ) / (Nat.nth (· ∣ n) j - Nat.nth (· ∣ n) i ) | ||||||
|
|
||||||
| noncomputable abbrev sum_inv_of_consecutive_divisors (n : ℕ) : ℚ := | ||||||
mo271 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| ∑ i : Fin (n.divisors.card - 1), | ||||||
| (1 : ℚ) / (Nat.nth (· ∣ n) (i + 1) - Nat.nth (· ∣ n) i) | ||||||
|
|
||||||
| /-- | ||||||
| Statement of Erdos conjecture 884. See `erdos_884` for the problem asking whether this is true. | ||||||
| -/ | ||||||
mo271 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
| def erdos_884_stmt : Prop := | ||||||
|
||||||
| def erdos_884_stmt : Prop := | |
| def Erdos884 : Prop := |
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.
@Paul-Lez but this gives a duplicated name space?
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.
It does so, indeed. The thing is just that I want to separate the statement as just a definition, and then have both the conjecture and the conditional disproof by Tao as two statements.
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.
Good point - perhaps Erdos884Prop in that case?
Uh oh!
There was an error while loading. Please reload this page.