Multigraph representation of a simple graph
Lax683916.SimpleGraphMultigraphRepresentation · concepts/Lax683916/SimpleGraphMultigraphRepresentation.lean · lax-683916
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Every simple graph has a simple loopless multigraph representation with the same vertices. The actual edges of the multigraph correspond bijectively to the unordered edges of the simple graph, and the correspondence preserves endpoints.
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: Multigraph representation of a simple graph |
| 6 | type: theorem |
| 7 | --- |
| 8 | Every simple graph has a simple loopless multigraph representation with the |
| 9 | same vertices. The actual edges of the multigraph correspond bijectively to |
| 10 | the unordered edges of the simple graph, and the correspondence preserves |
| 11 | endpoints. |
| 12 | |
| 13 | # Formalization notes |
| 14 | |
| 15 | The statement gives one multigraph witness together with its simplicity and |
| 16 | the vertex-and-edge isomorphism. Its edge type is the canonical type `Sym2 V` |
| 17 | of all unordered vertex pairs; only graph edges belong to its actual edge |
| 18 | set. This is the converse of the multigraph-to-simple-graph representation |
| 19 | theorem. |
| 20 | -/ |
| 21 | |
| 22 | namespace Lax683916.SimpleGraphMultigraphRepresentation |
| 23 | |
| 24 | open Lax683916.MultigraphIsomorphism |
| 25 | |
| 26 | universe u |
| 27 | |
| 28 | /-- Every simple graph is represented by a simple multigraph on its vertices. -/ |
| 29 | axiom exists_multigraph_representation {V : Type u} (H : SimpleGraph V) : |
| 30 | ∃ G : Graph V (Sym2 V), G.Simple ∧ Nonempty (IsomorphicToSimpleGraph G H) |
| 31 | |
| 32 | end Lax683916.SimpleGraphMultigraphRepresentation |
| 33 |
Formalization notes
The statement gives one multigraph witness together with its simplicity and the vertex-and-edge isomorphism. Its edge type is the canonical type of all unordered vertex pairs; only graph edges belong to its actual edge set. This is the converse of the multigraph-to-simple-graph representation theorem.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments