Skip to content

Commit

Permalink
upgrade to Dune-Coq 0.8, record dependency on Hierarchy Builder (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
palmskog authored Jun 25, 2023
1 parent 7e6035a commit e3a3165
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ decidability results and closure properties of regular languages.
- Compatible Coq versions: 8.16 or later (use releases for other Coq versions)
- Additional dependencies:
- [MathComp](https://math-comp.github.io) 2.0 or later (`ssreflect` suffices)
- [Hierarchy Builder](https://github.com/math-comp/hierarchy-builder) 1.4.0 or later
- Coq namespace: `RegLang`
- Related publication(s):
- [Regular Language Representations in the Constructive Type Theory of Coq](https://hal.archives-ouvertes.fr/hal-01832031/document) doi:[10.1007/s10817-018-9460-x](https://doi.org/10.1007/s10817-018-9460-x)
Expand Down
3 changes: 2 additions & 1 deletion coq-reglang.opam
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ decidability results and closure properties of regular languages."""

build: ["dune" "build" "-p" name "-j" jobs]
depends: [
"dune" {>= "2.5"}
"dune" {>= "3.8.1"}
"coq" {>= "8.16"}
"coq-mathcomp-ssreflect" {>= "2.0"}
"coq-hierarchy-builder" {>= "1.4.0"}
]

tags: [
Expand Down
4 changes: 2 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
(lang dune 2.5)
(using coq 0.2)
(lang dune 3.8)
(using coq 0.8)
(name reglang)
5 changes: 5 additions & 0 deletions meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ dependencies:
version: '{>= "2.0"}'
description: |-
[MathComp](https://math-comp.github.io) 2.0 or later (`ssreflect` suffices)
- opam:
name: coq-hierarchy-builder
version: '{>= "1.4.0"}'
description: |-
[Hierarchy Builder](https://github.com/math-comp/hierarchy-builder) 1.4.0 or later
tested_coq_opam_versions:
- version: 'coq-dev'
Expand Down
3 changes: 2 additions & 1 deletion theories/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
(name RegLang)
(package coq-reglang)
(synopsis "Representations of regular languages (i.e., regexps, various types of automata, and WS1S) with equivalence proofs, in Coq and MathComp")
(flags :standard -w -notation-overridden -w -duplicate-clear -w -notation-incompatible-format -w -deprecated-instance-without-locality -w -redundant-canonical-projection))
(flags :standard -w -notation-overridden -w -duplicate-clear -w -redundant-canonical-projection)
(theories mathcomp.ssreflect HB elpi))
1 change: 0 additions & 1 deletion theories/misc.v
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
(* Authors: Christian Doczkal and Jan-Oliver Kaiser *)
(* Distributed under the terms of CeCILL-B. *)
Require Import mathcomp.ssreflect.ssreflect.
From mathcomp Require Import all_ssreflect.

Set Default Proof Using "Type".
Expand Down

0 comments on commit e3a3165

Please sign in to comment.