aboutsummaryrefslogtreecommitdiff
path: root/mathcomp
diff options
context:
space:
mode:
authorCyril Cohen2020-09-29 12:57:16 +0200
committerGitHub2020-09-29 12:57:16 +0200
commit5fc83c2c7610f7034e5c0e92b18093deb340995d (patch)
treed6a6fab72b34624a197adf20913fcc935d218427 /mathcomp
parent7a34bf388b368b450f20a7e10e5a3076370d2d52 (diff)
parent04fbe5e3bb858f0931cfe0b1d9722a8d872ada50 (diff)
Merge pull request #600 from pi8027/mid_in_itv
Generalize some interval lemmas
Diffstat (limited to 'mathcomp')
-rw-r--r--mathcomp/algebra/interval.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/mathcomp/algebra/interval.v b/mathcomp/algebra/interval.v
index d6ea076..067a457 100644
--- a/mathcomp/algebra/interval.v
+++ b/mathcomp/algebra/interval.v
@@ -582,7 +582,7 @@ Import GRing.Theory Num.Theory.
Section IntervalNumDomain.
-Variable R : numFieldType.
+Variable R : numDomainType.
Implicit Types x : R.
Lemma mem0_itvcc_xNx x : (0 \in `[- x, x]) = (0 <= x).
@@ -614,7 +614,7 @@ End IntervalNumDomain.
Section IntervalField.
-Variable R : realFieldType.
+Variable R : numFieldType.
Local Notation mid x y := ((x + y) / 2%:R).