diff options
author | Yen-Sheng Ho <ysho@berkeley.edu> | 2017-02-19 16:09:59 -0800 |
---|---|---|
committer | Yen-Sheng Ho <ysho@berkeley.edu> | 2017-02-19 16:09:59 -0800 |
commit | 1a66a5823a37123c099e63cb94bba1fd844487d1 (patch) | |
tree | dd148402e1439e687f581233248f40edf9db154e /src/proof/pdr | |
parent | 2d1792040a8c09a12d70413ceb99bd11bb145c2b (diff) | |
download | abc-1a66a5823a37123c099e63cb94bba1fd844487d1.tar.gz abc-1a66a5823a37123c099e63cb94bba1fd844487d1.tar.bz2 abc-1a66a5823a37123c099e63cb94bba1fd844487d1.zip |
working on pdr with wla
Diffstat (limited to 'src/proof/pdr')
-rw-r--r-- | src/proof/pdr/pdrIncr.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/proof/pdr/pdrIncr.c b/src/proof/pdr/pdrIncr.c index 4f66eeb4..9f7dfd90 100644 --- a/src/proof/pdr/pdrIncr.c +++ b/src/proof/pdr/pdrIncr.c @@ -81,14 +81,16 @@ int IPdr_ManCheckClauses( Pdr_Man_t * p ) { Pdr_Set_t * pCubeK; Vec_Ptr_t * vArrayK; - int j, k, RetValue, kMax = Vec_PtrSize(p->vSolvers)-1; + int j, k, RetValue, kMax = Vec_PtrSize(p->vSolvers); int iStartFrame = 1; + int counter = 0; Vec_VecForEachLevelStartStop( p->vClauses, vArrayK, k, iStartFrame, kMax ) { Vec_PtrForEachEntry( Pdr_Set_t *, vArrayK, pCubeK, j ) { - RetValue = Pdr_ManCheckCube( p, k, pCubeK, NULL, 0, 0, 1 ); + ++counter; + RetValue = Pdr_ManCheckCube( p, k - 1, pCubeK, NULL, 0, 0, 1 ); if ( !RetValue ) { printf( "Cube[%d][%d] not inductive!\n", k, j ); @@ -97,6 +99,7 @@ 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; } |