Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
25ecc3d4
Commit
25ecc3d4
authored
Feb 19, 2017
by
Yen-Sheng Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed a tricky bug: property should not be assumed true in the last frame
parent
1a66a582
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
src/proof/pdr/pdrIncr.c
+8
-4
No files found.
src/proof/pdr/pdrIncr.c
View file @
25ecc3d4
...
...
@@ -99,7 +99,6 @@ int IPdr_ManCheckClauses( Pdr_Man_t * p )
assert
(
RetValue
==
1
);
}
}
printf
(
"XXX: Pass check clauses! %d frames and %d clauses checked
\n
"
,
k
,
counter
);
return
1
;
}
...
...
@@ -149,7 +148,7 @@ Vec_Vec_t * IPdr_ManSaveClauses( Pdr_Man_t * p, int fDropLast )
SeeAlso []
***********************************************************************/
sat_solver
*
IPdr_ManSetSolver
(
Pdr_Man_t
*
p
,
int
k
)
sat_solver
*
IPdr_ManSetSolver
(
Pdr_Man_t
*
p
,
int
k
,
int
nTotal
)
{
sat_solver
*
pSat
;
Vec_Ptr_t
*
vArrayK
;
...
...
@@ -165,7 +164,12 @@ sat_solver * IPdr_ManSetSolver( Pdr_Man_t * p, int k )
Vec_IntPush
(
p
->
vActVars
,
0
);
// set the property output
Pdr_ManSetPropertyOutput
(
p
,
k
);
if
(
k
<
nTotal
-
1
)
Pdr_ManSetPropertyOutput
(
p
,
k
);
if
(
k
==
0
)
return
pSat
;
// add the clauses
Vec_VecForEachLevelStart
(
p
->
vClauses
,
vArrayK
,
i
,
k
)
Vec_PtrForEachEntry
(
Pdr_Set_t
*
,
vArrayK
,
pCube
,
j
)
...
...
@@ -194,7 +198,7 @@ int IPdr_ManRestore( Pdr_Man_t * p, Vec_Vec_t * vClauses )
p
->
vClauses
=
vClauses
;
for
(
i
=
0
;
i
<
Vec_VecSize
(
p
->
vClauses
);
++
i
)
IPdr_ManSetSolver
(
p
,
i
);
IPdr_ManSetSolver
(
p
,
i
,
Vec_VecSize
(
p
->
vClauses
)
);
return
0
;
}
...
...
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