Debian Codegraph @

plugins/ltac/g_eqdecide.mlg

raw
1 (************************************************************************)
2 (* * The Rocq Prover / The Rocq Development Team *)
3 (* v * Copyright INRIA, CNRS and contributors *)
4 (* <O___,, * (see version control and CREDITS file for authors & dates) *)
5 (* \VV/ **************************************************************)
6 (* // * This file is distributed under the terms of the *)
7 (* * GNU Lesser General Public License Version 2.1 *)
8 (* * (see LICENSE file for the text of the license) *)
9 (************************************************************************)
10
11 (************************************************************************)
12 (* EqDecide *)
13 (* A tactic for deciding propositional equality on inductive types *)
14 (* by Eduardo Gimenez *)
15 (************************************************************************)
16
17 {
18
19 open Eqdecide
20 open Stdarg
21
22 }
23
24 DECLARE PLUGIN "rocq-runtime.plugins.ltac"
25
26 TACTIC EXTEND decide_equality
27 | [ "decide" "equality" ] -> { decideEqualityGoal }
28 END
29
30 TACTIC EXTEND compare
31 | [ "compare" constr(c1) constr(c2) ] -> { compare c1 c2 }
32 END