Geometric functional equations for polylogarithms