diff options
author | 2018-07-05 11:58:25 +0200 | |
---|---|---|
committer | 2018-07-05 11:58:25 +0200 | |
commit | 7413f8532879c64e05ee0e8ca16693d74fe84ab9 (patch) | |
tree | cbba113dc8270223e0c2762eb78b4bc737bb4f63 /plugins/ltac/g_eqdecide.mlg | |
parent | 90a4afc3742b31fc6ebbbbe4b5383663f65a5788 (diff) | |
parent | 1d6b4a6728066d0e684a4f996b6077018b79a620 (diff) |
Merge PR #7979: TACTIC EXTEND in coqpp
Diffstat (limited to 'plugins/ltac/g_eqdecide.mlg')
-rw-r--r-- | plugins/ltac/g_eqdecide.mlg | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/plugins/ltac/g_eqdecide.mlg b/plugins/ltac/g_eqdecide.mlg new file mode 100644 index 000000000..e57afe3e3 --- /dev/null +++ b/plugins/ltac/g_eqdecide.mlg @@ -0,0 +1,32 @@ +(************************************************************************) +(* * The Coq Proof Assistant / The Coq Development Team *) +(* v * INRIA, CNRS and contributors - Copyright 1999-2018 *) +(* <O___,, * (see CREDITS file for the list of authors) *) +(* \VV/ **************************************************************) +(* // * This file is distributed under the terms of the *) +(* * GNU Lesser General Public License Version 2.1 *) +(* * (see LICENSE file for the text of the license) *) +(************************************************************************) + +(************************************************************************) +(* EqDecide *) +(* A tactic for deciding propositional equality on inductive types *) +(* by Eduardo Gimenez *) +(************************************************************************) + +{ + +open Eqdecide +open Stdarg + +} + +DECLARE PLUGIN "ltac_plugin" + +TACTIC EXTEND decide_equality +| [ "decide" "equality" ] -> { decideEqualityGoal } +END + +TACTIC EXTEND compare +| [ "compare" constr(c1) constr(c2) ] -> { compare c1 c2 } +END |