(************************************************************************) (* * The Rocq Prover / The Rocq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* Evd.evar_map -> Redexpr.raw_red_expr option -> Constrexpr.constr_expr -> Pp.t (** Vernac Translation into the Vernac DSL *) val translate_vernac : ?loc:Loc.t -> atts:Attributes.vernac_flags -> Synterp.vernac_entry -> Vernactypes.typed_vernac (** Vernacular require command, used by the command line *) val vernac_require : intern:Library.Intern.t -> Libnames.qualid option -> Vernacexpr.export_with_cats option -> (Libnames.qualid * Vernacexpr.import_filter_expr) list -> unit (** Interp phase of the require command *) val vernac_require_interp : Library.library_t list -> Names.DirPath.t list -> Vernacexpr.export_with_cats option -> (Libnames.qualid * Vernacexpr.import_filter_expr) list -> unit (** Miscellaneous stuff *) val command_focus : unit Proof.focus_kind (** pre-processing and validation of VernacInductive *) module Preprocessed_Mind_decl : sig type flags = ComInductive.flags type record = { flags : flags; udecl : Constrexpr.cumul_univ_decl_expr option; primitive_proj : bool; kind : Vernacexpr.inductive_kind; records : Record.Ast.t list; } type inductive = { flags : flags; udecl : Constrexpr.cumul_univ_decl_expr option; typing_flags : Declarations.typing_flags option; private_ind : bool; uniform : ComInductive.uniform_inductive_flag; inductives : (Vernacexpr.one_inductive_expr * Vernacexpr.notation_declaration list) list; } type t = | Record of record | Inductive of inductive end val preprocess_inductive_decl : atts:Attributes.vernac_flags -> Vernacexpr.inductive_kind -> (Vernacexpr.inductive_expr * Vernacexpr.notation_declaration list) list -> Preprocessed_Mind_decl.t module DefAttributes : sig type t = { hooks : Declare.Hook.t list ; scope : Locality.definition_scope; locality : bool option; poly : PolyFlags.t; program : bool; user_warns : Globnames.extended_global_reference UserWarn.with_qf option; canonical_instance : bool; typing_flags : Declarations.typing_flags option; using : Vernacexpr.section_subset_expr option; reversible : bool; clearbody: bool option; } module Observer : Summary.OBSERVABLE with type value = unit Declare.Hook.g list Attributes.attribute val def_attributes : t Attributes.attribute end val show_goal : Vernacexpr.goal_reference -> Proof.t -> Proof.t option option -> Pp.t