I am passing through Logical foundations course and is facing the following errors:
Strings undefined
Lists.v, code:
Definition manual_grade_for_rev_injective : option (nat*string) := None.
Response:
Error: The reference string was not found in the current environment.
After I add Require Import String.
to the beginning of the file, the error disappears. But why do I need to do it? I thought, that the course must work as is.
Warnings error
Code:
Set Warnings "-notation-overridden,-parsing".
Response:
Error: There is no option Warnings.
I couldn't fix it.
Empty list "[]" symbol undefined error
In file Logic.v
Lemma in_not_nil :
forall A (x : A) (l : list A), In x l -> l <> [].
Error for []:
Syntax error: [constr:operconstr] expected after '<>' (in [constr:operconstr]).
I couldn't fix it.
What's wrong? Please, help.