Let $\Sigma\_{g}$ be a closed oriented surface of genus $g$, Goldman defined a Lie algebra structure on the free module generated by the free homotopy
classes of loops on $\Sigma\_{g}$. Roughly speaking, the Lie bracket is defined via intersection and concatenation of loops. In detail, see his paper [*Invariant functions on Lie groups and Hamiltonian flows of surface group representations*](http://www2.math.umd.edu/~wmg/InvariantFunctions.pdf) . 


I want to know that are there any formulas to compute this Lie bracket for small nonzero $g$? For example, what is the Goldman Lie algebra of torus? Any help or any references would be very appreciated.



Formula for Goldman Lie bracket of surface
I would recommend looking at the work of [Moira Chas](http://www.math.stonybrook.edu/~moira/) to start.


Here are two interesting papers of hers to read: 


*[The Goldman bracket and the intersection of curves on surfaces.](http://charvarworkshop.wdfiles.com/local--files/references/Chas-Almora.pdf)*


*[Combinatorial Lie bialgebras of curves on surfaces](https://arxiv.org/pdf/math/0105178.pdf)*


She even has an app on her website that computes the bracket for you: [Goldman Bracket.](http://www.math.stonybrook.edu/~moira/NewApps/bracket/)


**How to use the app:** in the first box you input the relation defining the surface group (so for a torus abAB or a pair-of-pants abc). The next two boxes are for words in the surface group representing (free) homotopy classes of closed curves. For the syntax, lower case letters like a,b,c are for generators of the surface group and capital letters like A,B,C are for the inverses of a,b,c, respectively. I believe the app expects cyclically reduced words.


