Formal methods to comply with rules of the road in autonomous driving: State of the art and grand challenges. (June 2023)