@@ -43,7 +43,7 @@ class goto_checkt
43
43
enable_float_overflow_check=_options.get_bool_option (" float-overflow-check" );
44
44
enable_simplify=_options.get_bool_option (" simplify" );
45
45
enable_nan_check=_options.get_bool_option (" nan-check" );
46
- generate_all_claims =_options.get_bool_option (" all-claims " );
46
+ retain_trivial =_options.get_bool_option (" retain-trivial " );
47
47
enable_assert_to_assume=_options.get_bool_option (" assert-to-assume" );
48
48
enable_assertions=_options.get_bool_option (" assertions" );
49
49
enable_assumptions=_options.get_bool_option (" assumptions" );
@@ -111,7 +111,7 @@ class goto_checkt
111
111
bool enable_float_overflow_check;
112
112
bool enable_simplify;
113
113
bool enable_nan_check;
114
- bool generate_all_claims ;
114
+ bool retain_trivial ;
115
115
bool enable_assert_to_assume;
116
116
bool enable_assertions;
117
117
bool enable_assumptions;
@@ -1207,7 +1207,8 @@ void goto_checkt::add_guarded_claim(
1207
1207
if (enable_simplify)
1208
1208
simplify (expr, ns);
1209
1209
1210
- if (!generate_all_claims && expr.is_true ())
1210
+ // throw away trivial properties?
1211
+ if (!retain_trivial && expr.is_true ())
1211
1212
return ;
1212
1213
1213
1214
// add the guard
@@ -1446,7 +1447,7 @@ void goto_checkt::goto_check(goto_functiont &goto_function)
1446
1447
// we clear all recorded assertions if
1447
1448
// 1) we want to generate all assertions or
1448
1449
// 2) the instruction is a branch target
1449
- if (generate_all_claims ||
1450
+ if (retain_trivial ||
1450
1451
i.is_target ())
1451
1452
assertions.clear ();
1452
1453
0 commit comments