| 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 | open Names |
| 12 | open Locus |
| 13 | open EConstr |
| 14 | |
| 15 | (** {6 Generalize tactics. } *) |
| 16 | |
| 17 | val revert : Id.t list -> unit Proofview.tactic |
| 18 | |
| 19 | val bring_hyps : named_context -> unit Proofview.tactic |
| 20 | |
| 21 | val generalize : constr list -> unit Proofview.tactic |
| 22 | val generalize_gen : (constr Locus.with_occurrences * Name.t) list -> unit Proofview.tactic |
| 23 | |
| 24 | val new_generalize_gen : ((occurrences * constr) * Name.t) list -> unit Proofview.tactic |
| 25 | |
| 26 | val generalize_dep : ?with_let:bool (** Don't lose let bindings *) -> constr -> unit Proofview.tactic |
| 27 | |
| 28 | val abstract_generalize : ?generalize_vars:bool -> ?force_dep:bool -> Id.t -> unit Proofview.tactic |