2 ||M|| This file is part of HELM, an Hypertextual, Electronic
3 ||A|| Library of Mathematics, developed at the Computer Science
4 ||T|| Department, University of Bologna, Italy.
6 ||T|| HELM is free software; you can redistribute it and/or
7 ||A|| modify it under the terms of the GNU General Public License
8 \ / version 2 or (at your option) any later version.
9 \ / This software is distributed as is, NO WARRANTY.
10 V_______________________________________________________________ *)
12 (* $Id: nCic.ml 9058 2008-10-13 17:42:30Z tassi $ *)
14 val dot_tac: 's NTacStatus.tactic
15 val branch_tac: 's NTacStatus.tactic
16 val shift_tac: 's NTacStatus.tactic
17 val pos_tac: int list -> 's NTacStatus.tactic
18 val case_tac: string -> 's NTacStatus.tactic
19 val wildcard_tac: 's NTacStatus.tactic
20 val merge_tac: 's NTacStatus.tactic
21 val focus_tac: int list -> 's NTacStatus.tactic
22 val unfocus_tac: 's NTacStatus.tactic
23 val skip_tac: 's NTacStatus.tactic
24 val try_tac: 's NTacStatus.tactic -> 's NTacStatus.tactic
25 val repeat_tac: NTacStatus.tac_status NTacStatus.tactic -> 's NTacStatus.tactic
27 val compare_statuses : past:#NTacStatus.lowtac_status -> present:#NTacStatus.lowtac_status -> int list * int list
30 NTacStatus.lowtac_status NTacStatus.lowtactic -> 's NTacStatus.tactic
31 val exec : ((int * Continuationals.Stack.switch) list * 'a list * 'b list *
33 list NTacStatus.status NTacStatus.tactic ->
34 (#NTacStatus.lowtac_status as 's) -> Continuationals.goal -> 's
35 val block_tac: 's NTacStatus.tactic list -> 's NTacStatus.tactic
37 val apply_tac: NTacStatus.tactic_term -> 's NTacStatus.tactic
38 val assumption_tac: 's NTacStatus.tactic
40 where:NTacStatus.tactic_pattern -> with_what:NTacStatus.tactic_term ->
42 val cut_tac: NTacStatus.tactic_term -> 's NTacStatus.tactic
44 what:NTacStatus.tactic_term -> where:NTacStatus.tactic_pattern ->
46 val intro_tac: string -> 's NTacStatus.tactic
48 what:NTacStatus.tactic_term -> where:NTacStatus.tactic_pattern ->
50 val case1_tac: string -> 's NTacStatus.tactic
51 val lapply_tac: NTacStatus.tactic_term -> 's NTacStatus.tactic
53 dir:[ `LeftToRight | `RightToLeft ] ->
54 what:NTacStatus.tactic_term -> where:NTacStatus.tactic_pattern ->
56 val generalize_tac : where:NTacStatus.tactic_pattern -> 's NTacStatus.tactic
57 val clear_tac : string list -> 's NTacStatus.tactic
59 reduction:[ `Normalize of bool | `Whd of bool ] ->
60 where:NTacStatus.tactic_pattern -> 's NTacStatus.tactic
62 where:NTacStatus.tactic_pattern ->
63 what: NTacStatus.tactic_term ->
64 string -> 's NTacStatus.tactic
66 ((string * [`Decl of NTacStatus.tactic_term | `Def of NTacStatus.tactic_term * NTacStatus.tactic_term]) list * NTacStatus.tactic_term) list ->
70 ?num:int -> args:NTacStatus.tactic_term list -> 's NTacStatus.tactic
73 (((int * Continuationals.Stack.switch) list * 'a list * 'b list *
75 list NTacStatus.status ->
76 (< auto_cache : NCicLibrary.automation_cache;
77 eq_cache : NCicLibrary.unit_eq_cache;
78 coerc_db : NCicCoercion.db; dump : NCicLibrary.obj list;
79 lstatus : LexiconEngine.lexicon_status; obj : NCic.obj;
80 set_coerc_db : NCicCoercion.db -> 'c;
81 set_coercion_status : 'd. (#NCicCoercion.g_status as 'd) -> 'c;
82 set_uhint_db : NCicUnifHint.db -> 'c;
83 set_unifhint_status : 'e. (#NCicUnifHint.g_status as 'e) -> 'c;
84 timestamp : NCicLibrary.timestamp; uhint_db : NCicUnifHint.db; .. >
86 (#NTacStatus.tac_status as 'f) -> 'f
90 val ref_of_indtyinfo : indtyinfo -> NReference.reference
92 val analyze_indty_tac :
93 what:NTacStatus.tactic_term ->
94 indtyinfo option ref -> (#NTacStatus.tac_status as 'a) -> 'a
97 val find_in_context : 'a -> ('a * 'b) list -> int