-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* State- refactor * fmt-fix
- Loading branch information
Showing
23 changed files
with
441 additions
and
458 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
tla-bmcmt/src/main/scala/at/forsyte/apalache/tla/bmcmt/rules/vmt/FormulaRule.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
package at.forsyte.apalache.tla.bmcmt.rules.vmt | ||
|
||
import at.forsyte.apalache.tla.lir.TlaEx | ||
import at.forsyte.apalache.tla.lir.formulas.Term | ||
|
||
/** | ||
* FormulaRule is analogous to RewritingRule, except that it produces a Term translation directly. It is side-effect | ||
* free, instead of mutating the arena and solver context. | ||
* FormulaRule is analogous to RewritingRule, except that it produces a Term translation directly, while possibly | ||
* discharging declarations. It is side-effect free, instead of mutating the arena and solver context. | ||
* | ||
* @author | ||
* Jure Kukovec | ||
*/ | ||
trait FormulaRule { | ||
def isApplicable(ex: TlaEx): Boolean | ||
|
||
def apply(ex: TlaEx): Term | ||
def apply(ex: TlaEx): TermBuilderT | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.