Gravar-mail: On the generation of equational dynamic logics for weighted imperative programs