Characterization of Label-Connected Multigraphs
Lax630294.Characterization · concepts/Lax630294/Characterization.lean · lax-630294
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Let be a finite multigraph. Then is a yes-instance of Gossiping (label-connected) if and only if at least one of the following holds:
- has at most one vertex;
- is a -graph;
- is an -graph.
Concept map
In the paper
- page 5 of this submission's paper
Lean source view on GitHub
| 1 | import Lax630294.Gossiping |
| 2 | import Lax630294.TGraph |
| 3 | import Lax630294.MGraph |
| 4 | |
| 5 | /-! |
| 6 | --- |
| 7 | title: Characterization of Label-Connected Multigraphs |
| 8 | type: theorem |
| 9 | --- |
| 10 | |
| 11 | Let `G` be a finite multigraph. Then `G` is a yes-instance of Gossiping |
| 12 | (label-connected) if and only if at least one of the following holds: |
| 13 | |
| 14 | 1. `G` has at most one vertex; |
| 15 | 2. `G` is a `T`-graph; |
| 16 | 3. `G` is an `M`-graph. |
| 17 | |
| 18 | # Formalization notes |
| 19 | |
| 20 | Multigraphs are Mathlib's `Graph α β`; finiteness of the vertex set and of the |
| 21 | edge set is assumed. The definitions of label-connectedness, `T`-graphs and |
| 22 | `M`-graphs are those of the concepts `Gossiping`, `TGraph` and `MGraph`. Loops are |
| 23 | allowed in `G`; they play no role on either side of the equivalence. |
| 24 | -/ |
| 25 | |
| 26 | namespace Lax630294.Characterization |
| 27 | |
| 28 | open Graph Lax630294.Gossiping Lax630294.TGraph Lax630294.MGraph |
| 29 | |
| 30 | universe u v |
| 31 | |
| 32 | /-- A finite multigraph is label-connected if and only if it has at most one vertex, |
| 33 | is a `T`-graph, or is an `M`-graph. -/ |
| 34 | axiom isLabelConnected_iff {α : Type u} {β : Type v} (G : Graph α β) |
| 35 | (hV : V(G).Finite) (hE : E(G).Finite) : |
| 36 | IsLabelConnected G ↔ V(G).Subsingleton ∨ IsTGraph G ∨ IsMGraph G |
| 37 | |
| 38 | end Lax630294.Characterization |
| 39 |
Formalization notes
Multigraphs are Mathlib's ; finiteness of the vertex set and of the edge set is assumed. The definitions of label-connectedness, -graphs and -graphs are those of the concepts , and . Loops are allowed in ; they play no role on either side of the equivalence.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments