Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
KTLA Study
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
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
KTLA Study
Commits
af68c6da
Commit
af68c6da
authored
Feb 15, 2022
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9766e715
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
0 deletions
+39
-0
Route.cfg
Route.cfg
+24
-0
Route.tla
Route.tla
+15
-0
No files found.
Route.cfg
View file @
af68c6da
SPECIFICATION
Spec
INVARIANT
TypeOK
Inv
Terminated_then_PathsOK
PROPERTY
Eventually_Terminated
CONSTANT NoRoute = NoRoute
CONSTANT Inf = Inf
\* --------
CONSTANTS
r = r
n1 = n1
n2 = n2
CONSTANT root = r
CONSTANT Nodes = {r, n1, n2}
CONSTANT Edges = {{r,n1}, {n1,n2}}
Route.tla
View file @
af68c6da
(*
-------- CONFIG Route ---------
CONSTANT NoRoute = ZZZNoRoute
CONSTANT Inf = ZZZInf
=================
*)
------------------------------- MODULE Route -------------------------------
------------------------------- MODULE Route -------------------------------
EXTENDS Integers, FiniteSets, Sequences
EXTENDS Integers, FiniteSets, Sequences
...
@@ -236,4 +245,10 @@ SumSet(S) == IF S = {} THEN 0
...
@@ -236,4 +245,10 @@ SumSet(S) == IF S = {} THEN 0
IN y + SumSet(S \ {y})
IN y + SumSet(S \ {y})
------
Eventually_Terminated == <>Terminated
Terminated_then_PathsOK == Terminated => PathsOK
=============================================================================
=============================================================================
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