-
Notifications
You must be signed in to change notification settings - Fork 81
feat: Add statements for degree sequences in triangle-free graphs #343
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
base: main
Are you sure you want to change the base?
feat: Add statements for degree sequences in triangle-free graphs #343
Conversation
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.
Nice work! Two very minor comments - I'll take another look at the maths tomorrow.
|
||
variable (d : ℕ → ℕ) (n k r : ℕ) | ||
|
||
/-- **Lemma 1 (a)** -/ |
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 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 : ℕ) |
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.
Here the paper also assumes that d
is nondecreasing, that all terms are positive and that no three terms are equal.
def degreeSequenceCompact (G : SimpleGraph α) [DecidableRel G.Adj] : Prop := | ||
IsCompactSequence fun k => (degreeSequence G).getD k 0 |
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.
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.
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.
2ba0365
to
eaa6e78
Compare
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.