Commit 2025-04-19 03:18 323f7812

View on Github →

feat(SimpleGraph): eccentricity, radius, and center (#23932) This PR defines the eccentricity of a vertex, the radius, and the center of a simple graph, and provides an API for them. They are placed in the Diam.lean file because they are closely related and have a similar API. Also this PR redefines SimpleGraph.ediam in terms of eccentricity, which shortens some of its proofs.

Estimated changes

added theorem SimpleGraph.center_bot
added theorem SimpleGraph.center_top
added theorem SimpleGraph.eccent_bot
added theorem SimpleGraph.eccent_def
added theorem SimpleGraph.eccent_top
added theorem SimpleGraph.radius_bot
added theorem SimpleGraph.radius_top