From 208a0f7bfa5249f9795e6e225f309cbe715c0fad Mon Sep 17 00:00:00 2001 From: Samuel Mimram Date: Tue, 21 Nov 2006 21:38:49 +0000 Subject: Imported Upstream version 8.1~gamma --- tactics/decl_proof_instr.mli | 118 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 tactics/decl_proof_instr.mli (limited to 'tactics/decl_proof_instr.mli') diff --git a/tactics/decl_proof_instr.mli b/tactics/decl_proof_instr.mli new file mode 100644 index 00000000..ba8dc7b6 --- /dev/null +++ b/tactics/decl_proof_instr.mli @@ -0,0 +1,118 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* unit +val return_from_tactic_mode: unit -> unit + +val register_automation_tac: tactic -> unit + +val automation_tac : tactic + +val daimon_subtree: pftreestate -> pftreestate + +val do_instr: Decl_expr.raw_proof_instr -> pftreestate -> pftreestate +val proof_instr: Decl_expr.raw_proof_instr -> unit + +val tcl_change_info : Decl_mode.pm_info -> tactic + +val mark_proof_tree_as_done : Proof_type.proof_tree -> Proof_type.proof_tree + +val mark_as_done : pftreestate -> pftreestate + +val execute_cases : bool -> + Names.name -> + Decl_mode.per_info -> + (Term.constr -> Proof_type.tactic) -> + (Names.Idset.elt * (Term.constr option * bool * Term.constr list) list) + list -> + Decl_mode.split_tree -> Proof_type.tactic + +val tree_of_pats : + Environ.env -> + Names.Idset.elt * int -> + Rawterm.cases_pattern list list -> Decl_mode.split_tree +val add_branch : + Environ.env -> + Names.Idset.elt * int -> + Rawterm.cases_pattern list list -> + Decl_mode.split_tree -> Decl_mode.split_tree +val append_branch : + Environ.env -> + Names.Idset.elt * int -> + int -> + Rawterm.cases_pattern list list -> + int -> + (Names.Idset.t * Decl_mode.split_tree) option -> + (Names.Idset.t * Decl_mode.split_tree) option + +val append_tree : Environ.env -> + Names.Idset.elt * int -> + int -> + Rawterm.cases_pattern list list -> + Decl_mode.split_tree -> Decl_mode.split_tree + +val build_dep_clause : Term.types Decl_expr.statement list -> + Decl_expr.proof_pattern -> + Decl_mode.per_info -> + (Term.types Decl_expr.statement, Term.types Decl_expr.or_thesis) + Decl_expr.hyp list -> Proof_type.goal Tacmach.sigma -> Term.types + +val register_dep_subcase : + Names.identifier * int -> + Environ.env -> + Decl_mode.per_info -> + Rawterm.cases_pattern -> Decl_mode.elim_kind -> Decl_mode.elim_kind + +val thesis_for : Term.constr -> + Term.constr -> Decl_mode.per_info -> Environ.env -> Term.constr + +val close_previous_case : pftreestate -> pftreestate + +val test_fun : string -> unit + + +val pop_stacks : + (Names.identifier * + (Term.constr option * bool * Term.constr list) list) list -> + bool * + (Names.identifier * + (Term.constr option * bool * Term.constr list) list) list + + +val push_head : Term.constr -> + bool -> + Names.Idset.t -> + (Names.identifier * + (Term.constr option * bool * Term.constr list) list) list -> + (Names.identifier * + (Term.constr option * bool * Term.constr list) list) list + +val push_arg : Term.constr -> + (Names.identifier * + (Term.constr option * bool * Term.constr list) list) list -> + (Names.identifier * + (Term.constr option * bool * Term.constr list) list) list + +val hrec_for: + Names.identifier -> + Names.identifier -> + Decl_mode.per_info -> Proof_type.goal Tacmach.sigma -> Term.constr option + +val consider_match : + bool -> + Names.Idset.elt list -> + Names.Idset.elt list -> + (Term.types Decl_expr.statement, Term.types) Decl_expr.hyp list -> + Proof_type.tactic -- cgit v1.2.3