aboutsummaryrefslogtreecommitdiff
path: root/mathcomp
diff options
context:
space:
mode:
authorCyril Cohen2017-11-27 14:36:14 +0100
committerCyril Cohen2017-11-27 14:36:14 +0100
commit848bcdb47a7e8d8da0e1cd5530a3feadcac93ede (patch)
tree2b14639e324dda7a465202860fbcb668ae767463 /mathcomp
parentea271b82db4a090ea4d3939baba814d2d077513d (diff)
following @ggonthier remark.
Diffstat (limited to 'mathcomp')
-rw-r--r--mathcomp/algebra/ssralg.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/mathcomp/algebra/ssralg.v b/mathcomp/algebra/ssralg.v
index 8ae63b8..859bb1d 100644
--- a/mathcomp/algebra/ssralg.v
+++ b/mathcomp/algebra/ssralg.v
@@ -735,7 +735,7 @@ Proof. by move=> x y; rewrite -[y in LHS]opprK opprB addrC. Qed.
Lemma addrKA z x y : (x + z) - (z + y) = x - y.
Proof. by rewrite opprD addrA addrK. Qed.
-Lemma subrKA z x y : (x - z) + (z - y) = x - y.
+Lemma subrKA z x y : (x - z) + (z + y) = x + y.
Proof. by rewrite addrA addrNK. Qed.
Lemma subr0_eq x y : x - y = 0 -> x = y.