Module Cc_plugin__Ccalgo
type pa_constructor={cnode : int;arity : int;args : int list;}type pa_fun={fsym : int;fnargs : int;}
module PacMap : CSig.MapS with type key = pa_constructortype cinfo={ci_constr : Constr.pconstructor;ci_arity : int;ci_nhyps : int;}type term=|Symb of Constr.constr|Product of Sorts.t * Sorts.t|Eps of Names.Id.t|Appli of term * term|Constructor of cinfo
module Constrhash : Stdlib.Hashtbl.S with type Constrhash.key = Constr.constrtype ccpattern=|PApp of term * ccpattern list|PVar of inttype rule=|Congruence|Axiom of Constr.constr * bool|Injection of int * pa_constructor * int * pa_constructor * inttype from=|Goal|Hyp of Constr.constr|HeqG of Constr.constr|HeqnH of Constr.constr * Constr.constrtype 'a eq={lhs : int;rhs : int;rule : 'a;}type equality= rule eqtype disequality= from eqtype patt_kind=|Normal|Trivial of Constr.types|Creates_variablestype quant_eq={qe_hyp_id : Names.Id.t;qe_pol : bool;qe_nvars : int;qe_lhs : ccpattern;qe_lhs_valid : patt_kind;qe_rhs : ccpattern;qe_rhs_valid : patt_kind;}type inductive_status=|Unknown|Partial of pa_constructor|Partial_applied|Total of int * pa_constructortype representative={mutable weight : int;mutable lfathers : Int.Set.t;mutable fathers : Int.Set.t;mutable inductive_status : inductive_status;class_type : Constr.types;mutable functions : Int.Set.t PafMap.t;}type cl=|Rep of representative|Eqto of int * equalitytype vertex=|Leaf|Node of int * inttype node={mutable clas : cl;mutable cpath : int;mutable constructors : int PacMap.t;vertex : vertex;term : term;}type forest={mutable max_size : int;mutable size : int;mutable map : node array;axioms : (term * term) Constrhash.t;mutable epsilons : pa_constructor list;syms : int Termhash.t;}type statetype explanation=|Discrimination of int * pa_constructor * int * pa_constructor|Contradiction of disequality|Incompletetype matching_problem
val term_equal : term -> term -> boolval constr_of_term : term -> Constr.constrval debug : (unit -> Pp.t) -> unitval forest : state -> forestval axioms : forest -> (term * term) Constrhash.tval epsilons : forest -> pa_constructor listval empty : int -> Goal.goal Evd.sigma -> stateval add_term : state -> term -> intval add_equality : state -> Constr.constr -> term -> term -> unitval add_disequality : state -> from -> term -> term -> unitval add_quant : state -> Names.Id.t -> bool -> (int * patt_kind * ccpattern * patt_kind * ccpattern) -> unitval tail_pac : pa_constructor -> pa_constructorval find : forest -> int -> intval find_oldest_pac : forest -> int -> pa_constructor -> intval term : forest -> int -> termval get_constructor_info : forest -> int -> cinfoval subterms : forest -> int -> int * intval join_path : forest -> int -> int -> ((int * int) * equality) list * ((int * int) * equality) listval execute : bool -> state -> explanation optionval pr_idx_term : Environ.env -> Evd.evar_map -> forest -> int -> Pp.t