Skip to content
Snippets Groups Projects
Commit 69dbb1a2 authored by Sebastian Krings's avatar Sebastian Krings
Browse files

if no counter-example is found by the disprover, return a reasoner failure...

if no counter-example is found by the disprover, return a reasoner failure instead of modifying the proof tree (to act more like pp does)
parent ae65b9b4
Branches
Tags
No related merge requests found
......@@ -117,10 +117,9 @@ public class DisproverReasoner implements IReasoner {
IAntecedent ante = ProverFactory.makeAntecedent(goal);
if (counterExample.timeoutOccured()) {
if (counterExample.timeoutOccured())
return ProverFactory.reasonerFailure(this, input,
"Timeout occurred (ProB)");
}
if (!counterExample.counterExampleFound() && counterExample.isProof())
return ProverFactory.makeProofRule(this, input, sequent.goal(),
......@@ -128,14 +127,13 @@ public class DisproverReasoner implements IReasoner {
"ProB (all cases checked)");
if (!counterExample.counterExampleFound())
return ProverFactory.makeProofRule(this, input, null, null,
IConfidence.DISCHARGED_MAX,
"No Counter-Example found (ProB)", ante);
return ProverFactory
.reasonerFailure(this, input,
"No Counter-Example found (ProB), but there might exist one");
return ProverFactory.makeProofRule(this, input, null, null,
IConfidence.PENDING,
"Counter-Example: " + counterExample.toString(), ante);
}
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment