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
36e65536
Commit
36e65536
authored
12 years ago
by
Régis Blanc
Browse files
Options
Downloads
Patches
Plain Diff
some TODO we should not forget
parent
60269746
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
src/main/scala/leon/solvers/z3/FairZ3Solver.scala
+2
-2
2 additions, 2 deletions
src/main/scala/leon/solvers/z3/FairZ3Solver.scala
with
2 additions
and
2 deletions
src/main/scala/leon/solvers/z3/FairZ3Solver.scala
+
2
−
2
View file @
36e65536
...
@@ -433,7 +433,7 @@ class FairZ3Solver(context : LeonContext) extends Solver(context) with AbstractZ
...
@@ -433,7 +433,7 @@ class FairZ3Solver(context : LeonContext) extends Solver(context) with AbstractZ
reporter
.
info
(
"UNSAT BECAUSE: "
+
core
.
mkString
(
" AND "
))
reporter
.
info
(
"UNSAT BECAUSE: "
+
core
.
mkString
(
" AND "
))
if
(!
forceStop
)
{
if
(!
forceStop
)
{
if
(
Settings
.
luckyTest
&&
false
)
{
if
(
Settings
.
luckyTest
&&
false
)
{
//TODO: something with false
// we need the model to perform the additional test
// we need the model to perform the additional test
reporter
.
info
(
" - Running search without blocked literals (w/ lucky test)"
)
reporter
.
info
(
" - Running search without blocked literals (w/ lucky test)"
)
}
else
{
}
else
{
...
@@ -450,7 +450,7 @@ class FairZ3Solver(context : LeonContext) extends Solver(context) with AbstractZ
...
@@ -450,7 +450,7 @@ class FairZ3Solver(context : LeonContext) extends Solver(context) with AbstractZ
foundAnswer
(
Some
(
false
),
core
=
z3CoreToCore
(
solver
.
getUnsatCore
))
foundAnswer
(
Some
(
false
),
core
=
z3CoreToCore
(
solver
.
getUnsatCore
))
case
Some
(
true
)
=>
case
Some
(
true
)
=>
//reporter.info("SAT WITHOUT Blockers")
//reporter.info("SAT WITHOUT Blockers")
if
(
Settings
.
luckyTest
&&
!
forceStop
)
{
if
(
Settings
.
luckyTest
&&
!
forceStop
)
{
//TODO: still with the above "false"
// we might have been lucky :D
// we might have been lucky :D
luckyTime
.
start
luckyTime
.
start
val
(
wereWeLucky
,
cleanModel
)
=
validateAndDeleteModel
(
solver
.
getModel
,
entireFormula
,
varsInVC
)
val
(
wereWeLucky
,
cleanModel
)
=
validateAndDeleteModel
(
solver
.
getModel
,
entireFormula
,
varsInVC
)
...
...
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