(************************************************************************) (* * 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) *) (************************************************************************)
(* diff options *)
(** Name of Diffs option *) val opt_name : stringlist
(** Returns true if the diffs option is "on" or "removed" *) val show_diffs : unit -> bool
(** Returns true if the diffs option is "removed" *) val show_removed : unit -> bool
(** controls whether color output is enabled *) val write_color_enabled : bool -> unit
(** true indicates that color output is enabled *) val color_enabled : unit -> bool
type diffOpt = DiffOff | DiffOn | DiffRemoved
val string_to_diffs : string -> diffOpt
type goal
val make_goal : Environ.env -> Evd.evar_map -> Evar.t -> goal
(** Computes the diff between the goals of two Proofs and returns thehighlightedlistsofhypothesesandconclusions.
The'short'flagskipscomputingthediffsofthehypotheses,whichallowsthe SubgoalsXMLcommandtofetchjusttheconclusionofagoal.Thisisuseful, forexample,whenanIDEonlyneedstodisplaythenumberofadmittedgoalsor previewthenextunsolvedgoal.
*) val diff_goal : ?short:bool -> ?og_s:goal -> goal -> Pp.t list * Pp.t
(** Convert a string to a list of token strings using the lexer *) val tokenize_string : string -> stringlist
(** Computes diffs for a single conclusion *) val diff_concl : ?og_s:goal -> goal -> Pp.t
type goal_map
(** Generates a map from [np] to [op] that maps changed goals to their prior forms.Themapdoesn'tincludeentriesforunchangedgoals;unchangedgoals willhavethesamegoalidinbothversions.
[op]and[np]mustbefromthesameproofdocumentand[op]mustbeforastate
before [np]. *) val make_goal_map : Proof.t -> Proof.t -> goal_map
val map_goal : Evar.t -> goal_map -> goal option
(* Exposed for unit test, don't use these otherwise *) (* output channel for the test log file *) val log_out_ch : out_channel ref
type hyp_info = {
idents: stringlist;
rhs_pp: Pp.t;
}
val diff_hyps : stringlistlist -> hyp_info CString.Map.t -> stringlistlist -> hyp_info CString.Map.t -> Pp.t list
val diff_proofs : diff_opt:diffOpt -> ?old:Proof.t -> Proof.t -> Pp.t
val notify_proof_diff_failure : string -> unit
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.9 Sekunden
(vorverarbeitet am 2026-09-27)
¤
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.