mathematical verification of correctness and