compute_covered_values_for_expression(ExprToEvaluate,LTLGuard,MaxTypeCard,TotalNrOfValuesFound,
list([list(['Nr'|AllColHeaders])|LResult])) :-
parse_expression_raw_or_atom_with_prob_ids(ExprToEvaluate,TypedExpr),
translate:translate_bexpression_with_limit(TypedExpr,100,Str),
get_bexpression_column_template(TypedExpr,Values,ColHeaders,Columns),
append(ColHeaders,['Occurences', 'Witness ID'],AllColHeaders),
get_texpr_type(TypedExpr,ExprType),
(max_cardinality(ExprType,MaxTypeCard) -> true ; MaxTypeCard='??'),
state_space:get_state_space_stats(NrNodes,_,_),
format('Computing all values in initialised states (of ~w states in total) for expression: ~w [Max.Card=~w]~n',[NrNodes,Str,MaxTypeCard]),
construct_projection_pred_for_typed_expr(TypedExpr,ProjPred),
add_ltl_ap_guard(LTLGuard,ProjPred,FullProjPred),
reduce_states(FullProjPred,false),
format('Collecting values~n',[]),
findall(list(StrVals),covered_values(StrVals,Values,Columns),Result),
sort(Result,SResult),
add_line_numbers(SResult,LResult,TotalNrOfValuesFound).