Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LARA
inox
Commits
279dcc2b
Commit
279dcc2b
authored
13 years ago
by
Philippe Suter
Browse files
Options
Downloads
Patches
Plain Diff
Will work on this at some point maybe... His VCs look trivial to
Z3(+BAPA?).
parent
7bfb552f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testcases/malkis/Hardest.scala
+32
-0
32 additions, 0 deletions
testcases/malkis/Hardest.scala
with
32 additions
and
0 deletions
testcases/malkis/Hardest.scala
0 → 100644
+
32
−
0
View file @
279dcc2b
import
scala.collection.immutable.Set
object
Hardest
{
def
vc
(
thread
:
Set
[
Int
],
thread_A
:
Set
[
Int
],
thread_A_2
:
Set
[
Int
],
thread_B_3
:
Set
[
Int
],
thread_C_2
:
Set
[
Int
],
thread_count
:
Int
,
thread_count_2
:
Int
,
thread_t
:
Int
,
thread_t_1
:
Int
,
nulll
:
Int
)
:
Boolean
=
{
require
(
thread_B_3
.
contains
(
thread_t_1
)
&&
(
thread_C_2
==
Set
.
empty
[
Int
]
||
0
==
0
)
&&
(
thread_B_3
**
thread_C_2
)
==
Set
.
empty
[
Int
]
&&
(
thread_A_2
**
thread_C_2
)
==
Set
.
empty
[
Int
]
&&
(
thread_A_2
**
thread_B_3
)
==
Set
.
empty
[
Int
]
&&
((
thread_A_2
++
thread_B_3
++
thread_C_2
)
subsetOf
thread
)
&&
(
thread_A_2
.
size
<=
0
)
&&
!
thread
.
contains
(
nulll
)
&&
(
thread_A
subsetOf
thread
)
&&
(
thread_A
.
size
<=
thread_count
)
&&
thread
.
contains
(
thread_t
)
)
((
thread_A_2
++
(
thread_B_3
--
Set
(
thread_t_1
)))
++
(
thread_C_2
++
Set
(
thread_t_1
)))
subsetOf
thread
}
ensuring
(
res
=>
res
)
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment