If there is a traffic accident, either the cyclist or the driver violates the traffic rules. 
If there is a traffic accident, either the pedestrian or the driver violates the traffic rules. Therefore, if the pedestrian violates the traffic rules, the driver does not violate the traffic rules.
 if the cyclist does not violate the traffic rules, the driver violates the traffic rules.