Skip to content

Conversation

@ruskaruma
Copy link
Contributor

This PR adds the formal statement for Erdős Problem 567 (Issue #796) and refactors the sizeRamsey definition for code reuse.

Changes

New Files

  • ForMathlib/Combinatorics/SimpleGraph/SizeRamsey.lean: Shared definitions for sizeRamsey and IsRamseySizeLinear
  • ErdosProblems/567.lean: Formalization of Problem 567

Modified Files

  • ErdosProblems/566.lean: Updated to import shared sizeRamsey from ForMathlib

Problem Statement

Let $G$ be either $Q_3$ (3-cube), $K_{3,3}$, or $H_5$ ($C_5$ with two vertex-disjoint chords). Is $G$ Ramsey size linear?

Implementation Details

  • Q3: 3-dimensional hypercube (8 vertices, 12 edges)
  • K33: Complete bipartite graph (6 vertices, 9 edges)
  • H5: Cycle $C_5$ with chords {0,2} and {1,3} (5 vertices, 7 edges)

Follows the sizeRamsey definition established in #1567.

Closes #796

@github-actions github-actions bot added the erdos-problems Erdős Problems label Jan 8, 2026
@ruskaruma
Copy link
Contributor Author

Quick question before the review:

I have defined the H5 constructively as C5 with chords {0,2} and {1,3}. The problem statement mentions that it can also be described as K4 with one edge subdivided (K4*). Should I add a comment or lemma noting these are isomorphic, or is the current definition sufficient?

@YaelDillies
Copy link
Collaborator

A comment is certainly enough. The subdivision definition is much more complicated than your current one

@YaelDillies YaelDillies added ams-05: Combinatorics awaiting-author The author should answer a question or perform changes. Reply when done. labels Jan 9, 2026
@ruskaruma
Copy link
Contributor Author

A comment is certainly enough. The subdivision definition is much more complicated than your current one

Got it. Thanks.

@ruskaruma ruskaruma requested a review from YaelDillies January 9, 2026 19:29
Copy link
Collaborator

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@YaelDillies YaelDillies enabled auto-merge (squash) January 9, 2026 19:38
@YaelDillies YaelDillies removed the awaiting-author The author should answer a question or perform changes. Reply when done. label Jan 9, 2026
@ruskaruma
Copy link
Contributor Author

Thanks!

Thankyou so much for the help on this one.

@YaelDillies YaelDillies merged commit 2d387cc into google-deepmind:main Jan 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Erdős Problem 567

2 participants