-
Notifications
You must be signed in to change notification settings - Fork 193
feat(ErdosProblems/1105): anti-Ramsey numbers for cycles and paths #1578
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
Conversation
This file introduces the Erdős Problem 1105, detailing conjectures related to anti-Ramsey numbers for cycles and paths. It includes definitions for edge coloring, rainbow subgraphs, and the anti-Ramsey number, along with theorems related to these conjectures.
| SimpleGraph.fromRel fun i j => i.val + 1 = j.val ∨ j.val + 1 = i.val | ||
|
|
||
| /-- An edge coloring of a simple graph `G` with color type `α`. -/ | ||
| def EdgeColoring (G : SimpleGraph V) (α : Type*) := G.edgeSet → α |
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.
Note: this exists in upstream Mathlib as SimpleGraph.EdgeLabeling
|
|
||
| /-- The anti-Ramsey number AR(n, H) is the maximum number of colors in which the edges of Kₙ | ||
| can be colored without creating a rainbow copy of H. -/ | ||
| noncomputable def antiRamseyNumber (n : ℕ) (H : SimpleGraph W) : ℕ := |
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 this would be a good definition to have in ForMathlib.
Co-authored-by: Paul Lezeau <[email protected]>
|
Should I move antiRamseyNumber def to ForMathlib? @YaelDillies @mo271 |
|
Yes please! |
This file introduces the Erdős Problem 1105, detailing conjectures related to anti-Ramsey numbers for cycles and paths. It includes definitions for edge coloring, rainbow subgraphs, and the anti-Ramsey number, along with theorems related to these conjectures.