diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2017-06-14 18:45:06 +0200 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2017-06-14 18:45:06 +0200 |
commit | 54063fcda793ca8179047ff2a2c9863891a97acd (patch) | |
tree | f56d4df99c1bf8bd746ff4bc040567c80732be2e /theories | |
parent | 5f3954b8d919a8fd89ce2332261698f41bc33550 (diff) | |
parent | a526ef890f614e130a8afc032d427c81fd8e6442 (diff) |
Merge PR#753: Fix bug 5026 (the stdlib shouldn't define inconsistent notations).
Diffstat (limited to 'theories')
-rw-r--r-- | theories/QArith/Qcabs.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theories/QArith/Qcabs.v b/theories/QArith/Qcabs.v index c0ababfff..e433ecffa 100644 --- a/theories/QArith/Qcabs.v +++ b/theories/QArith/Qcabs.v @@ -22,7 +22,7 @@ Lemma Qcabs_canon (x : Q) : Qred x = x -> Qred (Qabs x) = Qabs x. Proof. intros H; now rewrite (Qred_abs x), H. Qed. Definition Qcabs (x:Qc) : Qc := {| canon := Qcabs_canon x (canon x) |}. -Notation "[ q ]" := (Qcabs q) (q at next level, format "[ q ]") : Qc_scope. +Notation "[ q ]" := (Qcabs q) : Qc_scope. Ltac Qc_unfolds := unfold Qcabs, Qcminus, Qcopp, Qcplus, Qcmult, Qcle, Q2Qc, this. |