You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can write something like this in the check file:
lemma
"Submission.x = x"
quickcheck [expect = no_counterexample]
sorry
Then the submission will be rejected if quickcheck finds a counterexample.
If we just want to deduct something from the score for this kind of error, I do not see a way to do it currently, however.
For that one would have to wrap up quickcheck in a fake tactic that fails if a counterexample is found
or else “proves” the goal with an oracle that is not sorry (“a good sorry”).
The text was updated successfully, but these errors were encountered:
We can write something like this in the check file:
lemma
"Submission.x = x"
quickcheck [expect = no_counterexample]
sorry
Then the submission will be rejected if quickcheck finds a counterexample.
If we just want to deduct something from the score for this kind of error, I do not see a way to do it currently, however.
For that one would have to wrap up quickcheck in a fake tactic that fails if a counterexample is found
or else “proves” the goal with an oracle that is not sorry (“a good sorry”).
The text was updated successfully, but these errors were encountered: