feat(Combinatorics/SimpleGraph/StarGraph): define star graphs#38027
feat(Combinatorics/SimpleGraph/StarGraph): define star graphs#380278e7 wants to merge 14 commits intoleanprover-community:masterfrom
Conversation
Welcome new contributor!Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests. We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the If you haven't already done so, please come to https://leanprover.zulipchat.com/, introduce yourself, and mention your new PR. Thank you again for joining our community. |
PR summary 8e3c989104Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
Please mark the review comments 'resolved' once you've addressed them so the next reviewer doesn't think they're still open. |
Co-authored-by: Vlad Tsyrklevich <vlad902@gmail.com>
IvanRenison
left a comment
There was a problem hiding this comment.
I like the idea!
Maybe we should have StarGraph in a separate graph
Co-authored-by: Snir Broshi <26556598+SnirBroshi@users.noreply.github.com>
Co-authored-by: Iván Renison <85908989+IvanRenison@users.noreply.github.com>
There was a problem hiding this comment.
I think Star.lean would be a better name based on this (to not repeat "Graph"), but I'm not sure.
(unless we want to define a Star (SimpleGraph V) operation, but I don't think we do)
There was a problem hiding this comment.
I think starGraph is better since star is already in Mathlib/Algebra/Notation, and other specific types of graphs have the -graph suffix, such as lineGraph and pathGraph.
Add a new definition
starGraphand several key lemmas. Star graphs are a trivial class of tree, often used in constructive proofs regarding trees.All lemmas are hand written first, then golfed with the help of Claude Code.