Skip to content

Commit

Permalink
release 0.7.1 (#144)
Browse files Browse the repository at this point in the history
* release 0.7.1
  • Loading branch information
affeldt-aist authored Oct 25, 2024
1 parent af25d2c commit 5f0b2e6
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
strategy:
matrix:
image:
- 'mathcomp/mathcomp:2.2.0-coq-8.18'
- 'mathcomp/mathcomp:2.2.0-coq-8.19'
- 'mathcomp/mathcomp:2.2.0-coq-8.20'
fail-fast: false
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ in several examples of monadic equational reasoning.
- Celestine Sauvage
- Kazunari Tanaka
- License: [LGPL-2.1-or-later](LICENSE)
- Compatible Coq versions: Coq 8.18-8.19
- Compatible Coq versions: Coq 8.19-8.20
- Additional dependencies:
- [MathComp ssreflect](https://math-comp.github.io)
- [MathComp fingroup](https://math-comp.github.io)
Expand Down
8 changes: 4 additions & 4 deletions coq-monae.opam
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ description: """
This Coq library contains a hierarchy of monads with their laws used
in several examples of monadic equational reasoning."""

build: [make "-j%{jobs}%"]
build: [make "-j%{jobs}%" ]
install: [make "install_full"]
depends: [
"coq" { (>= "8.18" & < "8.20~") | (= "dev") }
"coq" { (>= "8.19" & < "8.21~") | (= "dev") }
"coq-mathcomp-ssreflect" { (>= "2.2.0") | (= "dev") }
"coq-mathcomp-fingroup" { (>= "2.2.0") | (= "dev") }
"coq-mathcomp-algebra" { (>= "2.2.0") | (= "dev") }
"coq-mathcomp-solvable" { (>= "2.2.0") | (= "dev") }
"coq-mathcomp-field" { (>= "2.2.0") | (= "dev") }
"coq-mathcomp-analysis" { (>= "1.2.0")}
"coq-infotheo" { >= "0.7.2"}
"coq-mathcomp-analysis" { (>= "1.5.0")}
"coq-infotheo" { >= "0.7.3"}
"coq-paramcoq" { >= "1.1.3" & < "1.2~" }
"coq-hierarchy-builder" { >= "1.5.0" }
"coq-equations" { >= "1.3" & < "1.4~" }
Expand Down
12 changes: 6 additions & 6 deletions meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ license:
file: LICENSE

supported_coq_versions:
text: Coq 8.18-8.19
opam: '{ (>= "8.18" & < "8.20~") | (= "dev") }'
text: Coq 8.19-8.20
opam: '{ (>= "8.19" & < "8.21~") | (= "dev") }'

tested_coq_opam_versions:
- version: '2.2.0-coq-8.18'
repo: 'mathcomp/mathcomp'
- version: '2.2.0-coq-8.19'
repo: 'mathcomp/mathcomp'
- version: '2.2.0-coq-8.20'
repo: 'mathcomp/mathcomp'

dependencies:
- opam:
Expand Down Expand Up @@ -72,12 +72,12 @@ dependencies:
[MathComp field](https://math-comp.github.io)
- opam:
name: coq-mathcomp-analysis
version: '{ (>= "1.2.0")}'
version: '{ (>= "1.5.0")}'
description: |-
[MathComp analysis](https://github.com/math-comp/analysis)
- opam:
name: coq-infotheo
version: '{ >= "0.7.2"}'
version: '{ >= "0.7.3"}'
description: |-
[Infotheo](https://github.com/affeldt-aist/infotheo)
- opam:
Expand Down
7 changes: 3 additions & 4 deletions theories/core/hierarchy.v
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ From HB Require Import structures.
(* plusMonad == preplusMonad + commutativity and idempotence *)
(* altCIMonad == altMonad + commutativity + idempotence *)
(* nondetMonad == failMonad + altMonad *)
(* nondetCIMonad == failMOnad + altCIMonad *)
(* nondetCIMonad == failMonad + altCIMonad *)
(* exceptMonad == failMonad + catch *)
(* *)
(* Control monads (wip): *)
Expand Down Expand Up @@ -115,7 +115,6 @@ Reserved Notation "f (o) g" (at level 11).
Reserved Notation "m >> f" (at level 49).
Reserved Notation "'fmap' f" (at level 4).
Reserved Notation "x '[~]' y" (at level 50).
Reserved Notation "mx <| p |> my" (format "mx <| p |> my", at level 49).

Notation "f ~~> g" := (forall A, f A -> g A)
(at level 51, only parsing) : monae_scope.
Expand Down Expand Up @@ -1092,8 +1091,8 @@ HB.mixin Structure isML_universe (ml_type : Type) := {
#[short(type=ML_universe)]
HB.structure Definition ML_UNIVERSE := {ml_type of isML_universe ml_type & Equality ml_type}.

HB.mixin Record isMonadTypedStore (MLU : ML_universe) (N : monad) (locT : eqType)
(M : UU0 -> UU0) of Monad M := {
HB.mixin Record isMonadTypedStore (MLU : ML_universe) (N : monad)
(locT : eqType) (M : UU0 -> UU0) of Monad M := {
cnew : forall {T : MLU}, coq_type N T -> M (loc locT T) ;
cget : forall {T}, loc locT T -> M (coq_type N T) ;
cput : forall {T}, loc locT T -> coq_type N T -> M unit ;
Expand Down

0 comments on commit 5f0b2e6

Please sign in to comment.