Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
This drops support for mathcomp 2.1 and 2.2
  • Loading branch information
proux01 committed Feb 28, 2025
1 parent be97429 commit 6a38308
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 16 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/docker-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
strategy:
matrix:
image:
- 'mathcomp/mathcomp:2.1.0-coq-8.18'
- 'mathcomp/mathcomp:2.2.0-coq-8.18'
- 'mathcomp/mathcomp:2.2.0-coq-8.19'
- 'mathcomp/mathcomp:2.3.0-coq-8.18'
- 'mathcomp/mathcomp:2.3.0-coq-8.19'
- 'mathcomp/mathcomp:2.3.0-coq-8.20'
- 'mathcomp/mathcomp-dev:coq-8.19'
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 @@ order theory of real closed field, through quantifier elimination.
- License: [CeCILL-B](CECILL-B)
- Compatible Coq versions: Coq 8.18 or later
- Additional dependencies:
- [MathComp ssreflect 2.1 or later](https://math-comp.github.io)
- [MathComp ssreflect 2.3 or later](https://math-comp.github.io)
- [MathComp algebra](https://math-comp.github.io)
- [MathComp field](https://math-comp.github.io)
- [MathComp bigenough 1.0.0 or later](https://github.com/math-comp/bigenough)
Expand Down
2 changes: 1 addition & 1 deletion coq-mathcomp-real-closed.opam
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ install: [make "install"]
depends: [
("coq" {>= "8.18" & < "8.21~"}
| "rocq-core" { (>= "9.0" & < "9.1~") | (= "dev") })
"coq-mathcomp-ssreflect" {>= "2.1"}
"coq-mathcomp-ssreflect" {>= "2.3"}
"coq-mathcomp-algebra"
"coq-mathcomp-field"
"coq-mathcomp-bigenough" {>= "1.0.0"}
Expand Down
10 changes: 3 additions & 7 deletions meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ supported_coq_versions:
opam: '{>= "8.18"}'

tested_coq_opam_versions:
- version: '2.1.0-coq-8.18'
repo: 'mathcomp/mathcomp'
- version: '2.2.0-coq-8.18'
repo: 'mathcomp/mathcomp'
- version: '2.2.0-coq-8.19'
- version: '2.3.0-coq-8.18'
repo: 'mathcomp/mathcomp'
- version: '2.3.0-coq-8.19'
repo: 'mathcomp/mathcomp'
Expand All @@ -65,9 +61,9 @@ tested_coq_opam_versions:
dependencies:
- opam:
name: coq-mathcomp-ssreflect
version: '{>= "2.1"}'
version: '{>= "2.3"}'
description: |-
[MathComp ssreflect 2.1 or later](https://math-comp.github.io)
[MathComp ssreflect 2.3 or later](https://math-comp.github.io)
- opam:
name: coq-mathcomp-algebra
description: |-
Expand Down
6 changes: 2 additions & 4 deletions theories/cauchyreals.v
Original file line number Diff line number Diff line change
Expand Up @@ -1558,8 +1558,7 @@ Qed.

Definition horner2_creal (p : {poly {poly F}}) (x y : creal) :=
CReal (horner2_crealP p x y).
Notation "p .[ x , y ]" := (horner2_creal p x y)
(at level 2, left associativity) : creal_scope.
Notation "p .[ x , y ]" := (horner2_creal p x y) : creal_scope.

Lemma root_monic_from_neq0 (p : {poly F}) (x : creal) :
p.[x] == 0 -> ((lead_coef p) ^-1 *: p).[x] == 0.
Expand Down Expand Up @@ -1662,8 +1661,7 @@ Notation "x * y" := (mul_creal x y) : creal_scope.
Notation "x_neq0 ^-1" := (inv_creal x_neq0) : creal_scope.
Notation "x / y_neq0" := (x * (y_neq0 ^-1))%CR : creal_scope.
Notation "p .[ x ]" := (horner_creal p x) : creal_scope.
Notation "p .[ x , y ]" := (horner2_creal p x y)
(at level 2, left associativity) : creal_scope.
Notation "p .[ x , y ]" := (horner2_creal p x y) : creal_scope.
Notation "x ^+ n" := (exp_creal x n) : creal_scope.

Notation "`| x |" := (norm_creal x) : creal_scope.
Expand Down

0 comments on commit 6a38308

Please sign in to comment.