Zulip Chat Archive
Stream: Is there code for X?
Topic: Brooks' theorem
Shuhao Song (Jul 31 2024 at 15:06):
It was mentioned in this thread #narrow/stream/113489-new-members/topic/Graph.20theory.20project, but I'm not sure if it has been formalized yet.
Yaël Dillies (Jul 31 2024 at 15:20):
Oh someone at my workshop in Aalto yesterday is wanting to formalise it. It's definitely not formalised yet.
Shuhao Song (Jul 31 2024 at 15:32):
And how about the Bondy–Chvátal theorem about Hamiltonian path? If it was not formalized yet, I would like to start the project.
Yaël Dillies (Jul 31 2024 at 16:04):
Never heard anyone claiming to work on it, but you never know :shrug:
Shuhao Song (Aug 03 2024 at 14:45):
After 3 days of work it finished, and it contains Dirac's theorem and Ore's theorem as corollary. https://github.com/meow-sister/mathlib4
Shuhao Song (Aug 03 2024 at 14:46):
Note that the code is really messy. I'd like to do some cleanup later.
Shuhao Song (Aug 03 2024 at 14:59):
The formalization of Ore's theorem was not correct initially, and it was fixed now.
Yaël Dillies (Aug 03 2024 at 15:27):
Please PR!
Shuhao Song (Aug 03 2024 at 23:26):
Yaël Dillies said:
Please PR!
How can I "ask for write permission to a non-master branch" according to https://leanprover-community.github.io/contribute/index.html?
Shuhao Song (Aug 03 2024 at 23:42):
Note that the code needs cleaning up. It contains many parts: some theorems about List
, some theorems about Walk
, the definition and properties of the fixed point of function when and is a finite partial-ordered set.
Shuhao Song (Aug 03 2024 at 23:44):
Sorry for English grammar errors.
Yaël Dillies (Aug 03 2024 at 23:57):
The preliminary lemmas should be separate PRs. You can ask github permission here. I am excited :smile:
Shuhao Song (Aug 04 2024 at 01:14):
Are there some automated tools to naming a theorem? I have lemmas called lm1
, lm2
, lm4
and so on...
Shuhao Song (Aug 04 2024 at 01:14):
Maybe GPT could help, it works well on pure language tasks. It writes better English than me :)
Rida Hamadani (Aug 04 2024 at 08:24):
Shuhao Song (Aug 04 2024 at 14:07):
Yaël Dillies said:
The preliminary lemmas should be separate PRs. You can ask github permission here. I am excited :smile:
See https://github.com/leanprover-community/mathlib4/compare/master...meow-sister:mathlib4:master, there would be 4 PRs: one for lemmas about List
, one for lemmas about Walk
, one for lemmas about iterations of function with , and one for main theorems.
Yaël Dillies (Aug 04 2024 at 14:07):
Sounds great!
Shuhao Song (Aug 07 2024 at 03:31):
https://github.com/leanprover-community/mathlib4/tree/meow-sister/BondyChvatal
Shuhao Song (Aug 12 2024 at 08:12):
@Yaël Dillies The pull request: https://github.com/leanprover-community/mathlib4/pull/15720.
Yaël Dillies (Aug 12 2024 at 08:15):
Ah you didn't read properly the contribution guidelines. You should not open PRs from forks, but from the Sorry, I can't readmathlib4
repo itself.
Last updated: May 02 2025 at 03:31 UTC