Some formulae related to Hamilton-Jacobi equations of eikonal type