Skip to content

Commit

Permalink
Disabled automatic and-elimination in manual mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
robby-phd committed Mar 20, 2024
1 parent f29f25b commit 69ae3d9
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions shared/src/main/scala/org/sireum/logika/plugin/AutoPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -379,14 +379,16 @@ object AutoPlugin {
return logika.evalRegularStepClaimRtCheck(smt2, cache, F, state, step.claim, step.id.posOpt, reporter)
case _ =>
}
for (pc <- normPathConditions.elements) {
AutoPlugin.detectInPc(logika.th, claimNorm, step.claim, conjuncts(pc), pathConditions) match {
case Some(acceptMsg) =>
if (logika.config.detailedInfo) {
reporter.inform(pos, Logika.Reporter.Info.Kind.Verified, acceptMsg.render)
}
return logika.evalRegularStepClaimRtCheck(smt2, cache, F, state, step.claim, step.id.posOpt, reporter)
case _ =>
if (logika.config.isAuto) {
for (pc <- normPathConditions.elements) {
AutoPlugin.detectInPc(logika.th, claimNorm, step.claim, conjuncts(pc), pathConditions) match {
case Some(acceptMsg) =>
if (logika.config.detailedInfo) {
reporter.inform(pos, Logika.Reporter.Info.Kind.Verified, acceptMsg.render)
}
return logika.evalRegularStepClaimRtCheck(smt2, cache, F, state, step.claim, step.id.posOpt, reporter)
case _ =>
}
}
}
reporter.error(posOpt, Logika.kind,
Expand Down

0 comments on commit 69ae3d9

Please sign in to comment.