package logtk
Module Proof.Result
type t = resulttype 'a tc = 'a result_tctype inst_subst = (term, term) Var.Subst.tA mapping used during instantiation, to map pre-instantiation variables to post-instantiation terms
val make_tc :
of_exn:(exn -> 'a option) ->
to_exn:('a -> exn) ->
compare:('a -> 'a -> int) ->
to_form:(ctx:Term.Conv.ctx -> 'a -> form) ->
?to_form_subst:
(ctx:Term.Conv.ctx -> Subst.Projection.t -> 'a -> form * inst_subst) ->
pp_in:(Output_format.t -> 'a CCFormat.printer) ->
?name:('a -> string) ->
?is_stmt:bool ->
?is_dead_cl:(unit -> bool) ->
?flavor:('a -> flavor) ->
unit ->
'a tcMake a result typeclass, for considering values of type 'a as proof results.
include Interfaces.ORD with type t := t
include Interfaces.EQ with type t := t
val pp_in : Output_format.t -> t CCFormat.printerval pp : t CCFormat.printerval is_stmt : t -> boolval is_dead_cl : t -> unit -> boolval to_form : ?ctx:Term.Conv.ctx -> t -> formval to_form_subst :
?ctx:Term.Conv.ctx ->
Subst.Projection.t ->
t ->
form * inst_substinstantiated form + bindings for vars
val name : t -> string option