I installed Rocq using Homebrew by brew install rocq as Install the Rocq Prover
And I also installed mathcomp by brew install math-comp.
Then, I compile the following file “example.v“ by rocq c example.v, but error occurred.
From mathcomp
Require Import all_boot.
Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.
(* ********************* *)
Definition double_add1 (n:nat) := n * 2 + 1.
Lemma double_add1_odd : forall n, odd (double_add1 n).
Proof. by elim =>[|n]//=->. Qed.
Error message
File "./example.v", line 1, characters 0-43:
Error:
Findlib error: ppx_deriving.runtime not found in:
/usr/local/lib/ocaml/coq/../rocq-runtime/..
/usr/local/lib/ocaml
Is not “ppx_deriving.runtime” included in Rocq or mathcomp from Homebrew?