Release of Rocq 9.3.0

We are happy to announce that Rocq 9.3.0 has been released. The main changes are:

  • Require Dune version 3.21.0 to support the rocq.theory stanza
  • New notion of Rocq package and installation layout supported by a new command-line option -package DEP that automatically adds the correct -Q options for DEP and its transitive dependencies. For backwards compatibility, the old installation scheme targeting the coq/user-contrib directory is kept (see also the --rocq-package option of rocq makefile)
  • New syntactic sugar {| t with n := v |} to provide default values for omitted fields in a record value
  • New OCaml-inspired @@ and |> notations in Ltac2
  • New syntactic sugar for match with one interesting case: if g is c then t else e stands for match g with c => t | _ => e end
  • New syntactic sugars & T for anonymous binders (_ : T) and of T & ... & T for anonymous binders in constructors, enabling Variant t := C1 of a & b & c | C2 x y of P x & Q y.
  • SSReflect rewrite tactic renamed into rw, the old name is still available via Import ssreflect
  • New AllocLimit command and alloc_limit tactic to enforce allocation limits during execution
  • Extended generation of eliminators to handle nesting with Primitive Arrays
  • New Alectryon Markdown backend for rocq doc
  • Fixed confusion between section variables and goal hypotheses with the same name, which made clearing section variables very buggy

See the changelog Recent changes for more information.


Installation Instructions

The base compiler can be installed as an opam switch with the following commands:

opam update
opam switch create 4.14.2
opam install rocq-prover rocq-core=9.3.0

The source code for the release is also directly available on: