Simple-graph representation of a simple multigraph
Lax683916.MultigraphRepresentation · concepts/Lax683916/MultigraphRepresentation.lean · lax-683916
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Every simple loopless multigraph is a simple graph up to simultaneous isomorphism of its actual vertex and edge sets. Incidence is preserved: an edge has endpoints and precisely when its image is the unordered edge joining the images of and .
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
Lean source view on GitHub
| 1 | import Lax683916.MultigraphIsomorphism |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Simple-graph representation of a simple multigraph |
| 6 | type: theorem |
| 7 | --- |
| 8 | Every simple loopless multigraph is a simple graph up to simultaneous |
| 9 | isomorphism of its actual vertex and edge sets. Incidence is preserved: an |
| 10 | edge has endpoints `u` and `v` precisely when its image is the unordered edge |
| 11 | joining the images of `u` and `v`. |
| 12 | |
| 13 | # Formalization notes |
| 14 | |
| 15 | The isomorphism notion is supplied by the companion definition concept. |
| 16 | Mathlib's `Graph.Simple` already includes looplessness and uniqueness of an |
| 17 | edge with given endpoints. The theorem chooses `G.vertexSet` as its canonical |
| 18 | simple-graph carrier; the isomorphism definition also permits subsequent |
| 19 | changes of vertex type. |
| 20 | -/ |
| 21 | |
| 22 | namespace Lax683916.MultigraphRepresentation |
| 23 | |
| 24 | open Lax683916.MultigraphIsomorphism |
| 25 | |
| 26 | universe u v |
| 27 | |
| 28 | /-- Every simple multigraph is isomorphic to a simple graph on its actual vertex set. -/ |
| 29 | axiom exists_simpleGraph_representation {α : Type u} {β : Type v} |
| 30 | (G : Graph α β) [G.Simple] : |
| 31 | ∃ H : SimpleGraph G.vertexSet, Nonempty (IsomorphicToSimpleGraph G H) |
| 32 | |
| 33 | end Lax683916.MultigraphRepresentation |
| 34 |
Formalization notes
The isomorphism notion is supplied by the companion definition concept. Mathlib's already includes looplessness and uniqueness of an edge with given endpoints. The theorem chooses as its canonical simple-graph carrier; the isomorphism definition also permits subsequent changes of vertex type.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments