On the safety of the masonry arch. Different formulations from the history of structural mechanics