diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2018-07-02 16:14:05 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2018-07-02 19:59:11 +0200 |
commit | 682368d0b8a4211dbeba8c2423f53d0448fd7d71 (patch) | |
tree | a5bd080be015e010e6a54340ec77e7c4571665ef /plugins/cc/g_congruence.mlg | |
parent | 5b70748b082b9ca33c72d62e076b61ed1e073b8a (diff) |
Moving various ml4 files to mlg.
Diffstat (limited to 'plugins/cc/g_congruence.mlg')
-rw-r--r-- | plugins/cc/g_congruence.mlg | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/plugins/cc/g_congruence.mlg b/plugins/cc/g_congruence.mlg new file mode 100644 index 000000000..685059294 --- /dev/null +++ b/plugins/cc/g_congruence.mlg @@ -0,0 +1,33 @@ +(************************************************************************) +(* * 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) *) +(************************************************************************) + +{ + +open Ltac_plugin +open Cctac +open Stdarg + +} + +DECLARE PLUGIN "cc_plugin" + +(* Tactic registration *) + +TACTIC EXTEND cc +| [ "congruence" ] -> { congruence_tac 1000 [] } +| [ "congruence" integer(n) ] -> { congruence_tac n [] } +| [ "congruence" "with" ne_constr_list(l) ] -> { congruence_tac 1000 l } + |[ "congruence" integer(n) "with" ne_constr_list(l) ] -> + { congruence_tac n l } +END + +TACTIC EXTEND f_equal +| [ "f_equal" ] -> { f_equal } +END |