package ortac-qcheck-stm

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Cfg = Config
val ty_default : Ppxlib.core_type_desc
val res_default : Ident.t
val list_append : Ppxlib.expression list -> Ppxlib.expression
val may_raise_exception : Ir.value -> bool
val subst_core_type : (string * Ppxlib.core_type) list -> Ppxlib.core_type -> Ppxlib.core_type
val subst_term : (Gospel.Tterm.Ident.t * 'a) list -> ?out_of_scope:Gospel.Tterm.Ident.t list -> gos_t:Gospel.Symbols.Ident.t list -> ?old_lz:bool -> old_t:(Gospel.Symbols.Ident.t * Gospel.Symbols.Ident.t) list -> ?new_lz:bool -> new_t:(Gospel.Symbols.Ident.t * Gospel.Symbols.Ident.t) list -> Gospel.Tterm.term -> Gospel.Tterm.term Reserr.reserr

subst_term state ~gos_t ?old_lz ~old_t ?new_lz ~new_t trm will substitute occurrences in gos_t with the associcated values from new_t or old_t depending on whether the occurrence appears above or under the old operator, adding a Lazy.force if the corresponding xxx_lz is true (defaults to false). gos_t must always be in a position in which it is applied to one of its model fields. Calling subst_term with new_t and old_t as the empty list will check that the term does not contain gos_t

val str_of_ident : Ident.t -> string
val longident_loc_of_ident : Ident.t -> Ppxlib.longident Ppxlib.loc
val exp_of_core_type : ?use_small:bool -> (string * Ppxlib.core_type) list -> Astlib.Ast_414.Parsetree.core_type -> Astlib.Ast_500.Parsetree.expression Reserr.reserr
val next_state_case : (Gospel.Tterm.Ident.t * 'a) list -> Cfg.t -> Ident.t -> int -> Ir.value -> (int list * Astlib.Ast_500.Parsetree.case) Reserr.reserr
val postcond_case : Cfg.t -> (Gospel.Tterm.Ident.t * 'a) list -> (Gospel.Symbols.Ident.t * Ir.term list) option -> int list -> Ident.t -> Ident.t -> Ir.value -> Astlib.Ast_500.Parsetree.case Reserr.reserr
val get_max_suts : Ir.t -> int
val sut_module : Cfg.t -> Ppxlib_ast.Ast.structure
val sut_defs : Ir.t -> Ppxlib_ast.Ast.structure_item list
val state_defs : Ir.t -> Ppxlib_ast.Ast.structure_item list
val ghost_functions : Cfg.t -> Gospel.Tast.function_ list -> (Cfg.t * Ppxlib.structure_item list) Reserr.reserr
val gen_tuple_ty : int list -> Astlib.Ast_500.Parsetree.structure_item
val gen_tuple_constr : int list -> Astlib.Ast_500.Parsetree.structure_item
val integer_ty_ext : Ppxlib_ast.Ast.structure_item list
val pp_ortac_cmd_case : Cfg.t -> string -> string -> Ir.value -> Astlib.Ast_500.Parsetree.case Reserr.reserr
val sut_stm_ty_defs : Cfg.t -> Ir.t -> Ppxlib_ast.Ast.structure
OCaml

Innovation. Community. Security.