Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/ebmc/k_induction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,22 @@ property_checker_resultt k_induction(
// copy
auto properties_copy = properties;

// Are there any properties suitable for k-induction?
// Fail early if not.
if(!k_inductiont::have_supported_property(properties.properties))
{
for(auto &property : properties_copy.properties)
{
if(
!property.is_assumed() && !property.is_disabled() &&
!property.is_proved())
{
property.unsupported("unsupported by k-induction");
}
}
return property_checker_resultt{properties_copy};
}

k_inductiont(
k, transition_system, properties_copy, solver_factory, message_handler)();

Expand Down
Loading