First of all apologies if this sounds like a stupid question to some. I read a month ago a presentation about how graphs could be endowed with addition and multiplication in some interesting ways and I can't find anything about it by googling, so I am resorting to your knowledge. Basically, and out of my memory so I might be wrong, starting from $G = (E,V), G' = (E',V')$ :
- addition was simply $G + G' = (E + E', V + V')$, with obvious meanings for edges and vertices addition (union of sets)
- multiplication was $G \times G' = (E + E' + V \times V', V + V')$. Basically, for each vertex $v$ of $V$, for any vertex $v'$ in $V'$, you add $(v, v')$ edge to $G + G'$.
- also if I remember well there was some distributivity law, maybe a(b+c) = ab + ac + bc
Does that ring any bell to anybody? Sorry again for the shallowness of the question. I am looking for the name of that particular algebra so I can google it and find more about it.
Finally found it back!! It is fairly recent work, dating around 5-10 years ago. So, the addition and multiplication are as defined in the question. However the distributivity law I mentioned does not hold but the standard distributivity laws do, i.e. $a(b+c) = ab + ac$. And the algebra is called Algebra of Parameterised Graphs with a corresponding Haskell package.
The multiplication can also be called
connectorsequenceand be noted as $\rightarrow$. The addition operation can also be calledoverlay. Denoting the empty graph by $\epsilon$ :Properties of overlay:
Properties of sequence:
Other properties: