Skip to content

Conversation

henrykmichalewski
Copy link
Member

This commit introduces the formal statements (definitions, lemmas, and theorems) from the paper "Degree sequences in triangle-free graphs" by P. Erdős, S. Fajtlowicz, and W. Staton.

The work was published in Discrete Mathematics, Volume 92, Issues 1–3, in November 1991, pages 85-88.

The paper answers one of the Graffiti conjectures. Graffiti conjectures appeared in this repository in the directory FormalConjectures/WrittenOnTheWallII.

Copy link
Member

@Paul-Lez Paul-Lez left a comment

Choose a reason for hiding this comment

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

Nice work! Two very minor comments - I'll take another look at the maths tomorrow.


variable (d : ℕ → ℕ) (n k r : ℕ)

/-- **Lemma 1 (a)** -/
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 it will be helpful to also have an informal version of this lemma in the docstring (and similarly for the ones below)


section lemmas

variable (d : ℕ → ℕ) (n k r : ℕ)
Copy link
Member

Choose a reason for hiding this comment

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

Here the paper also assumes that d is nondecreasing, that all terms are positive and that no three terms are equal.

Comment on lines +118 to +114
def degreeSequenceCompact (G : SimpleGraph α) [DecidableRel G.Adj] : Prop :=
IsCompactSequence fun k => (degreeSequence G).getD k 0
Copy link
Member

Choose a reason for hiding this comment

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

Here you'll run into trouble because the compactness is only meant to hold for small k (for large k, you will have d_{k+2} - d_k = 0). One way out of this would be to define an IsCompactSequenceOn predicate, which takes as extra parameter a set, and states that the sequence is compact for inputs from that set.

henrykmichalewski and others added 6 commits July 26, 2025 10:03
This commit introduces the formal statements (definitions, lemmas, and theorems) from the paper "Degree sequences in triangle-free graphs" by P. Erdős, S. Fajtlowicz, and W. Staton.

The work was published in Discrete Mathematics, Volume 92, Issues 1–3, in November 1991, pages 85-88. This initial commit lays the groundwork for the formal proofs of the paper's results.

The paper answers of the Grafitti conjectures. Grafitti conjectures apperead in this repository in the directory FormalConjectures/WrittenOnTheWallII.
@henrykmichalewski henrykmichalewski force-pushed the erdos-graffiti-conjecture branch from 2ba0365 to eaa6e78 Compare July 26, 2025 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants