aboutsummaryrefslogtreecommitdiff
path: root/src/Algebra.v
diff options
context:
space:
mode:
authorGravatar Jason Gross <jagro@google.com>2016-06-28 14:28:02 -0700
committerGravatar Jason Gross <jagro@google.com>2016-06-28 14:28:02 -0700
commit7884ee594837ce388c2b56466861fc6d3a8e2f40 (patch)
tree15b0c29ed85c1b72f4f9aa71c2e10dee588e3d39 /src/Algebra.v
parent0829afd3f8ad8619869c42cdea6bb9efd06187eb (diff)
No more anomalies from super_nsatz, hopefully
Diffstat (limited to 'src/Algebra.v')
-rw-r--r--src/Algebra.v2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Algebra.v b/src/Algebra.v
index d0f4e62cc..eca1b2bb1 100644
--- a/src/Algebra.v
+++ b/src/Algebra.v
@@ -1008,6 +1008,8 @@ Ltac nsatz_inequality_to_equality :=
end.
(** Handles inequalities and fractions *)
Ltac super_nsatz :=
+ (* [nsatz] gives anomalies on duplicate hypotheses, so we strip them *)
+ clear_algebraic_duplicates;
prensatz_contradict;
(* Each goal left over by [prensatz_contradict] is separate (and
there might not be any), so we handle them all separately *)