Inert sets and the Lie algebra associated to a group