Skip to content

feat(Combinatorics/SimpleGraph/Coloring): add lemmas about coloring and maps#37598

Open
IvanRenison wants to merge 5 commits intoleanprover-community:masterfrom
IvanRenison:Iso.chromaticNumber_eq
Open

feat(Combinatorics/SimpleGraph/Coloring): add lemmas about coloring and maps#37598
IvanRenison wants to merge 5 commits intoleanprover-community:masterfrom
IvanRenison:Iso.chromaticNumber_eq

Conversation

@IvanRenison
Copy link
Copy Markdown
Collaborator

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

PR summary 6a7332dd00

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ Coloring.ofHom
+ Hom.chromaticNumber_le
+ Iso.chromaticNumber_eq
+ Iso.colorable_iff
+ Iso.coloringEquiv
+ homCongr

You can run this locally as follows
## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/reporting/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions github-actions bot added the t-combinatorics Combinatorics label Apr 3, 2026
Copy link
Copy Markdown
Contributor

@b-mehta b-mehta left a comment

Choose a reason for hiding this comment

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

Thanks!

bors d+

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Apr 3, 2026

✌️ IvanRenison can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@mathlib-triage mathlib-triage bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Apr 3, 2026
@b-mehta
Copy link
Copy Markdown
Contributor

b-mehta commented Apr 3, 2026

bors d-

Since Snir's suggestions are wise

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Apr 3, 2026

🚫 All delegations have been removed from this PR. To re-add a delegation, reply with bors d+ (to delegate the PR author) or bors d=list,of,github,usernames to delegate multiple users.

@b-mehta b-mehta self-assigned this Apr 3, 2026
@mathlib-triage mathlib-triage bot removed the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Apr 3, 2026
@IvanRenison IvanRenison changed the title feat(Combinatorics/SimpleGraph/Coloring): add lemmas about coloring, homomorphisms and isomorphisms feat(Combinatorics/SimpleGraph/Coloring): add lemmas about coloring and maps Apr 3, 2026
@IvanRenison IvanRenison requested a review from b-mehta April 4, 2026 18:16
Comment on lines +626 to +627
/-- Equivalence of homomorphisms induced by isomorphisms of graphs. -/
def homCongr (f' : G'' ≃g G''') : G →g G'' ≃ G' →g G''' := RelIso.relHomCongr f f'
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I'm not sure if having this is a good idea, or if we should use the RelIso version directly. What do you think?

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

Labels

t-combinatorics Combinatorics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants