Skip to content

Commit

Permalink
mathcomp 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
thery committed Nov 3, 2023
1 parent 5f62a7e commit 2dd258b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 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,7 +17,7 @@ jobs:
strategy:
matrix:
image:
- 'mathcomp/mathcomp:1.17.0-coq-8.17'
- 'mathcomp/mathcomp:2.1.0-coq-8.18'
fail-fast: false
steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ idealfP
- License: [MIT License](LICENSE)
- Compatible Coq versions: 8.17 or later
- Additional dependencies:
- [MathComp ssreflect 1.17 or later](https://math-comp.github.io)
- [MathComp algebra 1.17 or later](https://math-comp.github.io)
- [MathComp Multinomials 1.6.0 or later](https://github.com/math-comp/multinomials)
- [MathComp ssreflect 2.1 or later](https://math-comp.github.io)
- [MathComp algebra 2.1 or later](https://math-comp.github.io)
- [MathComp Multinomials 2.1.0 or later](https://github.com/math-comp/multinomials)
- Coq namespace: `grobner`
- Related publication(s): none

Expand Down
6 changes: 3 additions & 3 deletions coq-grobner.opam
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ build: [make "-j%{jobs}%"]
install: [make "install"]
depends: [
"coq" {(>= "8.17")}
"coq-mathcomp-ssreflect" {(>= "1.17.0")}
"coq-mathcomp-algebra" {(>= "1.17.0")}
"coq-mathcomp-multinomials" {(>= "1.6.0")}
"coq-mathcomp-ssreflect" {(>= "2.1.0")}
"coq-mathcomp-algebra" {(>= "2.1.0")}
"coq-mathcomp-multinomials" {(>= "2.1.0")}
]

tags: [
Expand Down
2 changes: 1 addition & 1 deletion grobner.v
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ Proof. by rewrite /spoly subrr if_same. Qed.
Lemma spoly_sym p q : spoly p q = - (spoly q p).
Proof.
rewrite /spoly [_ * p]mulrC; case: (_ == _); first by rewrite oppr0.
by rewrite opprB [mlcm _ (mlead p)]mlcmC.
by rewrite [mlcm _ (mlead p)]mlcmC [RHS]opprB.
Qed.

Lemma ideal_spoly p q : ideal L p -> ideal L q -> ideal L (spoly p q).
Expand Down
14 changes: 7 additions & 7 deletions meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,22 +60,22 @@ supported_coq_versions:
dependencies:
- opam:
name: coq-mathcomp-ssreflect
version: '{(>= "1.17.0")}'
version: '{(>= "2.1.0")}'
description: |-
[MathComp ssreflect 1.17 or later](https://math-comp.github.io)
[MathComp ssreflect 2.1 or later](https://math-comp.github.io)
- opam:
name: coq-mathcomp-algebra
version: '{(>= "1.17.0")}'
version: '{(>= "2.1.0")}'
description: |-
[MathComp algebra 1.17 or later](https://math-comp.github.io)
[MathComp algebra 2.1 or later](https://math-comp.github.io)
- opam:
name: coq-mathcomp-multinomials
version: '{(>= "1.6.0")}'
version: '{(>= "2.1.0")}'
description: |-
[MathComp Multinomials 1.6.0 or later](https://github.com/math-comp/multinomials)
[MathComp Multinomials 2.1.0 or later](https://github.com/math-comp/multinomials)
tested_coq_opam_versions:
- version: '1.17.0-coq-8.17'
- version: '2.1.0-coq-8.18'
repo: 'mathcomp/mathcomp'

namespace: grobner
Expand Down

0 comments on commit 2dd258b

Please sign in to comment.