We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if at = length s then count else f_seq_count_eq' s (at + 1) (count+1)
could take (i:nat{i< or <= length s}) and (i +1) as a sign to try a (decreases length s - i) in the termination proof.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
let rec f_seq_count_eq' (s:seq nat) (at: nat{at <= length s}) (count: nat):
Tot (n:nat{n = length s - at + count})
(decreases length s - at)
if at = length s
then count
else f_seq_count_eq' s (at + 1) (count+1)
could take (i:nat{i< or <= length s}) and (i +1) as a sign to
try a (decreases length s - i) in the termination proof.
The text was updated successfully, but these errors were encountered: