-
Notifications
You must be signed in to change notification settings - Fork 209
feat(OEIS): A087719 #1894
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(OEIS): A087719 #1894
Conversation
Co-authored-by: Paul Lezeau <paul.lezeau@gmail.com>
| rw [a, Nat.find_eq_iff] | ||
| refine ⟨by decide, ?_⟩ | ||
| intro m hm | ||
| interval_cases m <;> decide |
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.
| rw [a, Nat.find_eq_iff] | |
| refine ⟨by decide, ?_⟩ | |
| intro m hm | |
| interval_cases m <;> decide | |
| unfold a | |
| norm_num +decide only [Nat.find_eq_iff] |
same for the other analogous proofs
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.
I'm currently trying to steer Claude for a proof of the main theorem. I guess, if this succeeds then this PR is no longer of interest?
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.
Okay, I have an ungolfed 500-line proof which eventually will be published as preprint on zenodo. What to do with this PR?
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.
Fantastic, this is great! Let's keep the PR and merge it when ready, no problem that is not contains a research solved theorem instead of a research open conjecture. I propose to
- create an intermediary commit, adding the unfolfed 500-line proof
- delete that proof in the next commit and use our new
formally solvedtag to link to the commit with the ungolfed proof: feat(Util): add formally solved here option to the category tag #1851 - then update the docstring/references section once the preprint is out!
Nice to hear that writing up the proof formally lead to its solution, even before it was added to our repo!
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.
I'm however not sure about the research label, exactly because this was proved by LLM. I'm not publishing because of its importance, but just to have a DOI to refer to.
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.
There have been some examples recently of research problems, i.e. problems that were mentioned in a research paper, which have been solved with the help of AI.
If you think this is rather high school level or graduate or whatever, we can just use this label.
Perhaps we should expand our way to track formal proofs to all categories then. But as long as we don't have this it is also fine to provide the link to the proof in the docstring.
In any case, I think it is still nice to have this conjecture/theorem in our repo, thanks for making the effort formalising it.
Also: perhaps we can also add the mentioned generating function from this OEIS entry.
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.
The g.f. simply reflects the formula. However, to add it would need some power series machinery, which I was planning to add for years already.
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.
yeah, that makes sense. Perhaps the proof become easier using the g.f.
But it is also fine not to add it here.
I had thought everything is already in Mathlib, to at least state the power series identity? Using
PowerSeries.coeff ℤ or whatever. What machinery is missing?
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.
I think it's more the combinatorial proofs that benefit from a g.f. What is missing are the lemmas to prove a power series of a rational function (like the g.f. here) have coefficients of form
Resolves #1460.
Conjectures associated with A087719
Define$\varsigma(n)$ the smallest prime factor of $n$ ($a_n$ be the least$k \le a_n$ with $k > \varsigma(k)^n$ exceeds the count$k \le \varsigma(k)^n$ .
Nat.minFac). Letnumber such that the count of numbers
of numbers with
The conjecture states that$a_n = 3^n + 3 \cdot 2^n + 6$ for $n \ge 1$ .
References: oeis.org/A087719
Note: I'm using Claude + Opus for supervised formalization tasks. Claude has no permission to use git on my machine.