X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fng_tactics%2FnTactics.mli;h=6fb14f7b82b2e3c61c91e14ee99712a3473a8e7b;hb=68b4f2490c12139c03760b39895619e63b0f38c9;hp=bfa965391088cf484d82e5f73786618ca263e4eb;hpb=aab0401db0bedd941da96a32acd600af3fbe42e7;p=helm.git diff --git a/matita/components/ng_tactics/nTactics.mli b/matita/components/ng_tactics/nTactics.mli index bfa965391..6fb14f7b8 100644 --- a/matita/components/ng_tactics/nTactics.mli +++ b/matita/components/ng_tactics/nTactics.mli @@ -13,6 +13,7 @@ val print_tac: bool -> string -> 's NTacStatus.tactic +val id_tac: 's NTacStatus.tactic val dot_tac: 's NTacStatus.tactic val branch_tac: ?force:bool -> 's NTacStatus.tactic val shift_tac: 's NTacStatus.tactic @@ -23,7 +24,7 @@ val merge_tac: 's NTacStatus.tactic val focus_tac: int list -> 's NTacStatus.tactic val unfocus_tac: 's NTacStatus.tactic val skip_tac: 's NTacStatus.tactic -val try_tac: 's NTacStatus.tactic -> 's NTacStatus.tactic +val try_tac: NTacStatus.tac_status NTacStatus.tactic -> 's NTacStatus.tactic val repeat_tac: NTacStatus.tac_status NTacStatus.tactic -> 's NTacStatus.tactic val compare_statuses : past:#NTacStatus.lowtac_status -> present:#NTacStatus.lowtac_status -> int list * int list @@ -54,6 +55,7 @@ val rewrite_tac: dir:[ `LeftToRight | `RightToLeft ] -> what:NTacStatus.tactic_term -> where:NTacStatus.tactic_pattern -> 's NTacStatus.tactic +val generalize0_tac : NotationPt.term list -> 's NTacStatus.tactic val generalize_tac : where:NTacStatus.tactic_pattern -> 's NTacStatus.tactic val clear_tac : string list -> 's NTacStatus.tactic val reduce_tac: @@ -68,13 +70,20 @@ val assert_tac: 's NTacStatus.tactic val constructor_tac : - ?num:int -> args:NTacStatus.tactic_term list -> 's NTacStatus.tactic + ?num:int -> args:NTacStatus.tactic_term list -> 's NTacStatus.tactic -val atomic_tac : - (NTacStatus.tac_status -> 'c #NTacStatus.status) -> - (#NTacStatus.tac_status as 'f) -> 'f +val atomic_tac : NTacStatus.tac_status NTacStatus.tactic -> 's NTacStatus.tactic + (*(NTacStatus.tac_status -> 'c #NTacStatus.status) -> + (#NTacStatus.tac_status as 'f) -> 'f*) -type indtyinfo +(* type indtyinfo *) +type indtyinfo = { + rightno: int; + leftno: int; + consno: int; + reference: NReference.reference; + cl: NCic.constructor list; + } val ref_of_indtyinfo : indtyinfo -> NReference.reference @@ -88,3 +97,7 @@ val find_in_context : 'a -> ('a * 'b) list -> int val inversion_tac: what:NTacStatus.tactic_term -> where:NTacStatus.tactic_pattern -> 's NTacStatus.tactic + +val exact_tac: NTacStatus.tactic_term -> 's NTacStatus.tactic +val first_tac: 's NTacStatus.tactic list -> 's NTacStatus.tactic +val sort_of_goal_tac: NCic.term ref -> 's NTacStatus.tactic