1 (* Copyright (C) 2002, HELM Team.
3 * This file is part of HELM, an Hypertextual, Electronic
4 * Library of Mathematics, developed at the Computer Science
5 * Department, University of Bologna, Italy.
7 * HELM is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
12 * HELM is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with HELM; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
22 * For details, see the HELM World-Wide-Web page,
23 * http://cs.unibo.it/helm/.
26 (**** useful only to implement tactics similar to apply ****)
28 val generalize_exp_named_subst_with_fresh_metas :
32 (UriManager.uri * Cic.term) list ->
34 Cic.term Cic.explicit_named_substitution *
35 Cic.term Cic.explicit_named_substitution
40 (Cic.context -> Cic.term -> Cic.term) ->
41 (Cic.term * Cic.context * Cic.term) list ->
42 (Cic.term * Cic.context * Cic.term) list *
43 (Cic.term * Cic.context * Cic.term) list
45 (* Not primitive, but useful for elim *)
47 exception AllSelectedTermsMustBeConvertible;;
50 ?mk_fresh_name_callback:ProofEngineTypes.mk_fresh_name_type ->
51 ProofEngineTypes.lazy_pattern ->
52 ProofEngineTypes.tactic
54 (* not a real tactic *)
55 val apply_tac_verbose :
57 ProofEngineTypes.proof * int ->
58 (Cic.term -> Cic.term) * (ProofEngineTypes.proof * int list)
60 (* the proof status has a subst now, and apply_tac honors it *)
62 term: Cic.term -> ProofEngineTypes.tactic
63 val applyP_tac: (* apply for procedural reconstruction *)
64 term: Cic.term -> ProofEngineTypes.tactic
66 term: Cic.term -> ProofEngineTypes.tactic
69 ?mk_fresh_name_callback:ProofEngineTypes.mk_fresh_name_type -> unit ->
70 ProofEngineTypes.tactic
72 ?mk_fresh_name_callback:ProofEngineTypes.mk_fresh_name_type ->
74 ProofEngineTypes.tactic
76 ?mk_fresh_name_callback:ProofEngineTypes.mk_fresh_name_type ->
78 ProofEngineTypes.tactic
80 val elim_intros_simpl_tac:
81 ?mk_fresh_name_callback:ProofEngineTypes.mk_fresh_name_type ->
82 ?depth:int -> ?using:Cic.term ->
83 ?pattern:ProofEngineTypes.lazy_pattern -> Cic.term ->
84 ProofEngineTypes.tactic
86 ?mk_fresh_name_callback:ProofEngineTypes.mk_fresh_name_type ->
87 ?depth:int -> ?using:Cic.term ->
88 ?pattern:ProofEngineTypes.lazy_pattern -> Cic.term ->
89 ProofEngineTypes.tactic
93 ?mk_fresh_name_callback:ProofEngineTypes.mk_fresh_name_type ->
94 ?pattern:ProofEngineTypes.lazy_pattern -> Cic.term ->
95 ProofEngineTypes.tactic
99 val mk_predicate_for_elim:
100 context:Cic.context -> metasenv:Cic.metasenv -> subst:Cic.substitution ->
101 ugraph:CicUniv.universe_graph -> goal:Cic.term ->
102 arg:Cic.term -> using:Cic.term -> cpattern:Cic.term -> args_no:int ->
103 Cic.metasenv * Cic.substitution * Cic.term * Cic.term * Cic.term list