Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NIWO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Christian Müller
NIWO
Commits
9987dadf
Commit
9987dadf
authored
Feb 20, 2019
by
Christian Müller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
withB
parent
0965fd1e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
4 deletions
+28
-4
examples/tests/conference_linear_small.spec
examples/tests/conference_linear_small.spec
+4
-2
examples/tests/conference_linear_small_withB.spec
examples/tests/conference_linear_small_withB.spec
+22
-0
src/main/scala/de/tum/workflows/MainInvariantsInference.scala
...main/scala/de/tum/workflows/MainInvariantsInference.scala
+2
-2
No files found.
examples/tests/conference_linear_small.spec
View file @
9987dadf
...
...
@@ -2,10 +2,12 @@ Workflow
forallmay x:X,p:P
True -> Conf += (x,p)
forallmay x:x,p:P
¬Conf(x,p) -> Assign += (x,p)
forall x:X,p:P,r:R
(
¬ Conf
(x,p) ∧ O(x,p,r)) -> Read += (x,p,r)
(
Assign
(x,p) ∧ O(x,p,r)) -> Read += (x,p,r)
forallmay y:X,x:X,p:P
(
¬ Conf(x,p) ∧ ¬ Conf
(y,p)) -> Comm += (x,y,p)
(
Assign(x,p) ∧ Assign
(y,p)) -> Comm += (x,y,p)
Declassify
...
...
examples/tests/conference_linear_small_withB.spec
0 → 100644
View file @
9987dadf
Workflow
forallmay x:X,p:P
True -> Conf += (x,p)
forall x:x,p:P
B(x,p) -> Assign += (x,p)
forall x:X,p:P,r:R
(Assign(x,p) ∧ O(x,p,r)) -> Read += (x,p,r)
forallmay y:X,x:X,p:P
(Assign(x,p) ∧ Assign(y,p)) -> Comm += (x,y,p)
Declassify
O(x:X,p:P,r:R): ¬ Conf(xt:X,p:P)
Target
Comm(xt:X, yt:X, pt:P)
Causality
a:X
src/main/scala/de/tum/workflows/MainInvariantsInference.scala
View file @
9987dadf
...
...
@@ -36,7 +36,7 @@ object MainInvariantsInference extends App with LazyLogging {
val
inv
=
invariant
(
spec
)
// val (res, graph, labels, t) = InvariantChecker.checkInvariantFPHeadLabel(spec, inv, props)
val
res
=
Utils
.
check
(
"tests/conference_linear_small"
,
"elimB"
,
inv
,
props
)
val
res
=
Utils
.
check
(
name
,
"elimB"
,
inv
,
props
)
}
...
...
@@ -62,7 +62,7 @@ object MainInvariantsInference extends App with LazyLogging {
// clear()
// generateExample("nonomitting/conference")
generateExample
(
"tests/conference_linear_small"
,
1
)
generateExample
(
"tests/conference_linear_small
_withB
"
,
1
)
// generateExample("nonomitting/conference_linear", 2)
// generateExample("tests/loopexampleNoOracle")
// generateAllExamples()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment