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.theorystanza - New notion of Rocq package and installation layout supported by a new command-line option
-package DEPthat automatically adds the correct-Qoptions forDEPand its transitive dependencies. For backwards compatibility, the old installation scheme targeting thecoq/user-contribdirectory is kept (see also the--rocq-packageoption ofrocq 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
matchwith one interesting case:if g is c then t else estands formatch g with c => t | _ => e end - New syntactic sugars
& Tfor anonymous binders(_ : T)andof T & ... & Tfor anonymous binders in constructors, enablingVariant t := C1 of a & b & c | C2 x y of P x & Q y. - SSReflect
rewritetactic renamed intorw, the old name is still available viaImport ssreflect - New
AllocLimitcommand andalloc_limittactic 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: