Skip to content

Conversation

@Vivekgupta008
Copy link

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.

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.
@github-actions github-actions bot added the erdos-problems Erdős Problems label Jan 9, 2026
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 → α
Copy link
Member

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) : ℕ :=
Copy link
Member

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.

@YaelDillies YaelDillies changed the title Add Erdős Problem 1105 with conjectures and definitions feat(ErdosProblems/1105): anti-Ramsey numbers for cycles and paths Jan 9, 2026
@YaelDillies YaelDillies added ams-05: Combinatorics awaiting-author The author should answer a question or perform changes. Reply when done. labels Jan 9, 2026
@Vivekgupta008
Copy link
Author

Vivekgupta008 commented Jan 9, 2026

Should I move antiRamseyNumber def to ForMathlib? @YaelDillies @mo271

@YaelDillies
Copy link
Collaborator

Yes please!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ams-05: Combinatorics awaiting-author The author should answer a question or perform changes. Reply when done. erdos-problems Erdős Problems

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants