'K-connectivity reflective, symmetric, transitive
I have to prove the following:
In a directed graph if there are k distinct paths (which don't use the same edges) from vector x to y and also there are k distinct paths(which don't use the same edges) from vector y to x we symbolize it like this: x ≡𝑘 y and we call them k-connected vectors.
I have to prove that this relation is reflective, symmetric, and transitive.
Also, does anything change if the paths use distinct vectors and edge all together?
Solution 1:[1]
Reflexive property:
If you consider k the number of distinct (not using the same edges) loops containing node x, then for every x, we have some k that holds x ?? x.
Symmetric property:
(x ?? y) means:
(there are k distinct paths from x to y.) and (there are k distinct paths from y to x.)
(y ?? x) means:
(there are k distinct paths from y to x.) and (there are k distinct paths from x to y.)
So because of the symmetry of Logical Conjuction, (x ?? y) implies (y ?? x) and vice versa.
Transitive property:
Suppose we have (x ?? y) and (y ?? x)
the first implies that (there are k distinct paths from x to y; we name them
a_1toa_kin arbitrary order) and (there are k distinct paths from y to x; we name thema'_1toa'_k).the second implies that (there are k distinct paths from y to z; we name them
b_1tob_kin arbitrary order) and (there are k distinct paths from z to y; we name themb'_1tob'_k).we can construct
c_1from concatenatinga_1andb_1becausea_1ends at y andb_1starts at y. soc_1is a path from x to z. this way we can buildc_2toc_ktoo. for any i and j,c_iandc_jdon't have same edges, because their parts (a_ianda_jandb_iandb_j) don't share the same edges. so there are k distinct paths from x to z.the same way we can construct
c'_1toc'_kfroma'_1toa'_kandb'_1tob'_k. so there are k distinct paths from z to x.So we can imply that (x ?? z).
The proof holds if paths don't share vectors too. Because that implies, they don't share edges which is an assumption for this proof.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Nima Afshar |
