ModelElementManpulation of sets of equations and model elements (equations, assertions, assumptions, guarantees, node calls). Make the link between TransSys-level equations and Lustre model elements.
Represents an equation of the transition system. It is not specific to the 'equation' model elements of the source lustre program (any model element can be represented by this 'equation' type). Intuitively, a ts_equation corresponds to a conjunct of the transition system. However, some conjuncts might be grouped together if they are related.
Represents a set of equations at the level of the transition system. The equations are separated by scope. The equations inside are not localized (i.e. they are not mapped to the initial Lustre model). This type can be used when manipulating sets of equations: many operations are implemented (cores can be filtered, you can get an activation litteral or state variable for each equation, etc.)
val term_of_ts_eq : init:bool -> closed:bool -> ts_equation -> Term.tval get_actlits_of_scope : core -> Scope.t -> UfSymbol.t listval get_ts_equation_of_actlit : core -> UfSymbol.t -> ts_equationval get_sv_of_actlit : core -> UfSymbol.t -> StateVar.tval eq_of_actlit_sv : core -> ?with_act:bool -> UfSymbol.t -> ts_equationval eq_of_actlit_uf : core -> ?with_act:bool -> UfSymbol.t -> ts_equationval core_size : core -> intval pick_element_of_core : core -> (Scope.t * UfSymbol.t * core) optionval empty_core : coreval add_new_ts_equation_to_core : Scope.t -> ts_equation -> core -> coreval add_from_other_core : core -> Scope.t -> UfSymbol.t -> core -> coreval remove_from_core : UfSymbol.t -> core -> coreval filter_core : UfSymbol.t list -> core -> coreval filter_core_svs : StateVar.t list -> core -> coreRepresents an equation at the level of the transition system together with localisation data that relates it to the original Lustre model.
Represents a set of localized equations (model_element). The equations are separated by scope. This type can be used to store a set of equations together with their localization data and to perform some basic manipulations such as filtering the equations by Lustre category. However, the type core should be prefered for manipulations at the level of the transition system.
val equal_model_elements : model_element -> model_element -> boolval get_model_elements_of_scope : loc_core -> Scope.t -> model_element listval loc_core_size : loc_core -> intval get_positions_of_model_element : model_element -> Lib.position listval ts_equation_to_model_element :
'a InputSystem.t ->
ts_equation ->
model_elementval core_to_loc_core : 'a InputSystem.t -> core -> loc_coreval empty_loc_core : loc_coreval add_to_loc_core :
?check_already_exists:bool ->
Scope.t ->
model_element ->
loc_core ->
loc_coreval remove_from_loc_core : Scope.t -> model_element -> loc_core -> loc_coreval is_model_element_in_categories :
model_element ->
bool ->
category list ->
boolval full_loc_core_for_sys :
'a InputSystem.t ->
TransSys.t ->
only_top_level:bool ->
loc_coreval loc_core_to_print_data :
'a InputSystem.t ->
TransSys.t ->
string ->
float option ->
loc_core ->
core_print_dataval attach_counterexample_to_print_data :
core_print_data ->
(StateVar.t * Model.value list) list ->
core_print_dataval attach_property_to_print_data :
core_print_data ->
Property.t ->
core_print_dataval attach_approx_to_print_data : core_print_data -> bool -> core_print_dataval pp_print_core_data :
'a InputSystem.t ->
Analysis.param ->
TransSys.t ->
Stdlib.Format.formatter ->
core_print_data ->
unitval pp_print_core_data_xml :
?tag:string ->
'a InputSystem.t ->
Analysis.param ->
TransSys.t ->
Stdlib.Format.formatter ->
core_print_data ->
unitval pp_print_core_data_json :
'a InputSystem.t ->
Analysis.param ->
TransSys.t ->
Stdlib.Format.formatter ->
core_print_data ->
unitval pp_print_no_solution :
unknown:bool ->
Stdlib.Format.formatter ->
Property.t ->
unitval pp_print_no_solution_xml :
string ->
unknown:bool ->
Stdlib.Format.formatter ->
Property.t ->
unitval pp_print_no_solution_json :
string ->
unknown:bool ->
Stdlib.Format.formatter ->
Property.t ->
unitval all_wa_names_of_loc_core : loc_core -> string list