Fuzzy weakest precondition and algorithm specification