(************************************************************************) (* * The Rocq Prover / The Rocq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* <O___,, * (see version control and CREDITS file for authors & dates) *) (* \VV/ **************************************************************) (* // * This file is distributed under the terms of the *) (* * GNU Lesser General Public License Version 2.1 *) (* * (see LICENSE file for the text of the license) *) (************************************************************************)
open Names open Constr open Environ open Pattern open Evd open Glob_term open Ltac_pretype open Notation_term
(** These are the entry points for printing terms, context, tac, ... *)
(** Same, but resilient to [Nametab] errors. Prints fully-qualified nameswhen[shortest_qualid_of_global]hasfailed.Prints"??"
in case of remaining issues (such as reference not in env). *)
val safe_pr_constr_env : env -> evar_map -> constr -> Pp.t val safe_pr_lconstr_env : env -> evar_map -> constr -> Pp.t val safe_extern_wrapper : (env -> evar_map -> 'a -> 'b) -> env -> evar_map -> 'a -> 'b option
Inefficient on large contexts due to name generation. *) val universe_binders_with_opt_names : UVars.AbstractContext.t ->
(GlobRef.t * UnivNames.full_name_list) option -> UnivNames.universe_binders * UnivNames.rev_binders
(** Printing global references using names as short as possible *)
val pr_global_env : Id.Set.t -> GlobRef.t -> Pp.t val pr_global : GlobRef.t -> Pp.t
val pr_constant : env -> Constant.t -> Pp.t val pr_existential_key : env -> evar_map -> Evar.t -> Pp.t val pr_existential : env -> evar_map -> existential -> Pp.t val pr_constructor : env -> constructor -> Pp.t val pr_inductive : env -> inductive -> Pp.t val pr_evaluable_reference : Evaluable.t -> Pp.t
val pr_pconstant : env -> evar_map -> pconstant -> Pp.t val pr_pinductive : env -> evar_map -> pinductive -> Pp.t val pr_pconstructor : env -> evar_map -> pconstructor -> Pp.t
val pr_notation_interpretation_env : env -> evar_map -> glob_constr -> Pp.t val pr_notation_interpretation : glob_constr -> Pp.t
(** Contexts *)
(** Display compact contexts of goals (simple hyps on the same line) *) val set_compact_context : bool -> unit val get_compact_context : unit -> bool
val pr_context_unlimited : env -> evar_map -> Pp.t val pr_ne_context_of : Pp.t -> env -> evar_map -> Pp.t
val pr_named_decl : env -> evar_map -> Constr.named_declaration -> Pp.t val pr_compacted_decl : env -> evar_map -> Constr.compacted_declaration -> Pp.t val pr_rel_decl : env -> evar_map -> Constr.rel_declaration -> Pp.t
val pr_enamed_decl : env -> evar_map -> EConstr.named_declaration -> Pp.t val pr_ecompacted_decl : env -> evar_map -> EConstr.compacted_declaration -> Pp.t val pr_erel_decl : env -> evar_map -> EConstr.rel_declaration -> Pp.t
val pr_named_context : env -> evar_map -> Constr.named_context -> Pp.t val pr_named_context_of : env -> evar_map -> Pp.t val pr_rel_context : env -> evar_map -> Constr.rel_context -> Pp.t val pr_rel_context_of : env -> evar_map -> Pp.t val pr_context_of : env -> evar_map -> Pp.t
(** Predicates *)
val pr_predicate : ('a -> Pp.t) -> (bool * 'a list) -> Pp.t val pr_cpred : Cpred.t -> Pp.t val pr_idpred : Id.Pred.t -> Pp.t val pr_prpred : PRpred.t -> Pp.t val pr_transparent_state : TransparentState.t -> Pp.t
(** Proofs, these functions obey [Hyps Limit] and [Compact contexts]. *)
(** [pr_open_subgoals ~quiet ?diffs proof] shows the context for [proof] as used by, for example, coqtop. Thefirstactivegoalisprintedwithallitsantecedentsandtheconclusion.Theotheractivegoalsonlyshowtheir conclusions.If[diffs]is[Someoproof],highlightthedifferencesbetweentheoldproof[oproof],and[proof].[quiet] disablesprintingmessagesasFeedback.
*) val pr_open_subgoals : ?quiet:bool -> ?diffs:Proof.t option -> Proof.t -> Pp.t val pr_nth_open_subgoal : proof:Proof.t -> int -> Pp.t val pr_evar : evar_map -> (Evar.t * undefined evar_info) -> Pp.t val pr_evars_int : evar_map -> shelf:Evar.t list -> given_up:Evar.t list -> int -> undefined evar_info Evar.Map.t -> Pp.t val pr_ne_evar_set : Pp.t -> Pp.t -> evar_map ->
Evar.Set.t -> Pp.t
(** Declarations for the "Print Assumption" command *) type axiom =
| Constant of Constant.t (* An axiom or a constant. *)
| Positive of MutInd.t (* A mutually inductive definition which has been assumed positive. *)
| Guarded of GlobRef.t (* a constant whose (co)fixpoints have been assumed to be guarded *)
| TypeInType of GlobRef.t (* a constant which relies on type in type *)
| UIP of MutInd.t (* An inductive using the special reduction rule. *)
type context_object =
| Variable of Id.t (* A section variable or a Let definition *)
| Axiom of axiom * (Label.t * Constr.rel_context * types) list
| Opaque of Constant.t (* An opaque constant. *)
| Transparent of Constant.t
val pr_goal_by_id : proof:Proof.t -> Id.t -> Pp.t val pr_goal_emacs : proof:Proof.t option -> int -> int -> Pp.t
val pr_typing_flags : Declarations.typing_flags -> Pp.t
(** Tells if goal name should be printed, i.e., either "Printing Goal Names" flag is activated,
or the evar was given a name. *) val print_goal_name : evar_map -> Evar.t -> bool
module Debug : sig
val pr_goal : Proofview.Goal.t -> Pp.t
end (** Debug printers *)
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.10Bemerkung:
(vorverarbeitet am 2026-09-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.