val safe_basename_of_global : Names.GlobRef.t -> Names.Id.tval warning_axioms : unit -> unitval warning_opaques : bool -> unitval warning_ambiguous_name : ?loc:Loc.t -> (Libnames.qualid * Names.ModPath.t * Names.GlobRef.t) -> unitval warning_id : string -> unitval error_axiom_scheme : Names.GlobRef.t -> int -> 'aval error_constant : Names.GlobRef.t -> 'aval error_inductive : Names.GlobRef.t -> 'aval error_nb_cons : unit -> 'aval error_module_clash : Names.ModPath.t -> Names.ModPath.t -> 'aval error_no_module_expr : Names.ModPath.t -> 'aval error_singleton_become_prop : Names.Id.t -> Names.GlobRef.t option -> 'aval error_unknown_module : Libnames.qualid -> 'aval error_scheme : unit -> 'aval error_not_visible : Names.GlobRef.t -> 'aval error_MPfile_as_mod : Names.ModPath.t -> bool -> 'aval check_inside_module : unit -> unitval check_inside_section : unit -> unitval check_loaded_modfile : Names.ModPath.t -> unitval msg_of_implicit : Miniml.kill_reason -> stringval err_or_warn_remaining_implicit : Miniml.kill_reason -> unitval info_file : string -> unitval occur_kn_in_ref : Names.MutInd.t -> Names.GlobRef.t -> boolval repr_of_r : Names.GlobRef.t -> Names.ModPath.t * Names.Label.tval modpath_of_r : Names.GlobRef.t -> Names.ModPath.tval label_of_r : Names.GlobRef.t -> Names.Label.tval base_mp : Names.ModPath.t -> Names.ModPath.tval is_modfile : Names.ModPath.t -> boolval string_of_modfile : Names.ModPath.t -> stringval file_of_modfile : Names.ModPath.t -> stringval is_toplevel : Names.ModPath.t -> boolval at_toplevel : Names.ModPath.t -> boolval mp_length : Names.ModPath.t -> intval prefixes_mp : Names.ModPath.t -> Names.MPset.tval common_prefix_from_list : Names.ModPath.t -> Names.ModPath.t list -> Names.ModPath.t optionval get_nth_label_mp : int -> Names.ModPath.t -> Names.Label.tval labels_of_ref : Names.GlobRef.t -> Names.ModPath.t * Names.Label.t listval add_typedef : Names.Constant.t -> Opaqueproof.opaque Declarations.constant_body -> Miniml.ml_type -> unitval lookup_typedef : Names.Constant.t -> Opaqueproof.opaque Declarations.constant_body -> Miniml.ml_type optionval add_cst_type : Names.Constant.t -> Opaqueproof.opaque Declarations.constant_body -> Miniml.ml_schema -> unitval lookup_cst_type : Names.Constant.t -> Opaqueproof.opaque Declarations.constant_body -> Miniml.ml_schema optionval add_ind : Names.MutInd.t -> Declarations.mutual_inductive_body -> Miniml.ml_ind -> unitval lookup_ind : Names.MutInd.t -> Declarations.mutual_inductive_body -> Miniml.ml_ind optionval add_inductive_kind : Names.MutInd.t -> Miniml.inductive_kind -> unitval is_coinductive : Names.GlobRef.t -> boolval is_coinductive_type : Miniml.ml_type -> boolval get_record_fields : Names.GlobRef.t -> Names.GlobRef.t option listval record_fields_of_type : Miniml.ml_type -> Names.GlobRef.t option listval add_recursors : Environ.env -> Names.MutInd.t -> unitval is_recursor : Names.GlobRef.t -> boolval add_projection : int -> Names.Constant.t -> Names.inductive -> unitval is_projection : Names.GlobRef.t -> boolval projection_arity : Names.GlobRef.t -> intval projection_info : Names.GlobRef.t -> Names.inductive * intval add_info_axiom : Names.GlobRef.t -> unitval remove_info_axiom : Names.GlobRef.t -> unitval add_log_axiom : Names.GlobRef.t -> unitval add_opaque : Names.GlobRef.t -> unitval remove_opaque : Names.GlobRef.t -> unitval reset_tables : unit -> unitval access_opaque : unit -> boolval auto_inline : unit -> boolval type_expand : unit -> boolval keep_singleton : unit -> bool
type opt_flag = {opt_kill_dum : bool; |
opt_fix_fun : bool; |
opt_case_iot : bool; |
opt_case_idr : bool; |
opt_case_idg : bool; |
opt_case_cst : bool; |
opt_case_fun : bool; |
opt_case_app : bool; |
opt_let_app : bool; |
opt_lin_let : bool; |
opt_lin_beta : bool; |
}
val optims : unit -> opt_flagval conservative_types : unit -> bool
type lang = | Ocaml |
| Haskell |
| Scheme |
| JSON |
val lang : unit -> langval set_modular : bool -> unitval modular : unit -> boolval set_library : bool -> unitval library : unit -> boolval set_extrcompute : bool -> unitval is_extrcompute : unit -> boolval to_inline : Names.GlobRef.t -> boolval to_keep : Names.GlobRef.t -> boolval implicits_of_global : Names.GlobRef.t -> Int.Set.tval type_scheme_nb_args_hook : (Environ.env -> Constr.t -> int) Hook.tval is_custom : Names.GlobRef.t -> boolval is_inline_custom : Names.GlobRef.t -> boolval find_custom : Names.GlobRef.t -> stringval find_type_custom : Names.GlobRef.t -> string list * stringval is_custom_match : Miniml.ml_branch array -> boolval find_custom_match : Miniml.ml_branch array -> string
type int_or_id =