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
105648bf
Commit
105648bf
authored
Sep 16, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding switch to enable reuse of proof-obligations in the last timeframe.
parent
2ba12a76
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
src/base/abci/abc.c
+5
-1
src/proof/pdr/pdr.h
+1
-0
src/proof/pdr/pdrCore.c
+1
-1
No files found.
src/base/abci/abc.c
View file @
105648bf
...
...
@@ -23622,7 +23622,7 @@ int Abc_CommandPdr( Abc_Frame_t * pAbc, int argc, char ** argv )
int
c
;
Pdr_ManSetDefaultParams
(
pPars
);
Extra_UtilGetoptReset
();
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"MFCRTHGaxrmsdgvwzh"
)
)
!=
EOF
)
while
(
(
c
=
Extra_UtilGetopt
(
argc
,
argv
,
"MFCRTHGaxrms
p
dgvwzh"
)
)
!=
EOF
)
{
switch
(
c
)
{
...
...
@@ -23718,6 +23718,9 @@ int Abc_CommandPdr( Abc_Frame_t * pAbc, int argc, char ** argv )
case
's'
:
pPars
->
fShortest
^=
1
;
break
;
case
'p'
:
pPars
->
fReuseProofOblig
^=
1
;
break
;
case
'd'
:
pPars
->
fDumpInv
^=
1
;
break
;
...
...
@@ -23781,6 +23784,7 @@ usage:
Abc_Print
(
-
2
,
"
\t
-r : toggle using more effort in generalization [default = %s]
\n
"
,
pPars
->
fTwoRounds
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-m : toggle using monolythic CNF computation [default = %s]
\n
"
,
pPars
->
fMonoCnf
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-s : toggle creating only shortest counter-examples [default = %s]
\n
"
,
pPars
->
fShortest
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-p : toggle using proof-obligations from the last timeframe [default = %s]
\n
"
,
pPars
->
fReuseProofOblig
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-d : toggle dumping inductive invariant [default = %s]
\n
"
,
pPars
->
fDumpInv
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-g : toggle skipping expensive generalization step [default = %s]
\n
"
,
pPars
->
fSkipGeneral
?
"yes"
:
"no"
);
Abc_Print
(
-
2
,
"
\t
-v : toggle printing optimization summary [default = %s]
\n
"
,
pPars
->
fVerbose
?
"yes"
:
"no"
);
src/proof/pdr/pdr.h
View file @
105648bf
...
...
@@ -52,6 +52,7 @@ struct Pdr_Par_t_
int
fMonoCnf
;
// monolythic CNF
int
fDumpInv
;
// dump inductive invariant
int
fShortest
;
// forces bug traces to be shortest
int
fReuseProofOblig
;
// reuses proof-obligationgs in the last timeframe
int
fSkipGeneral
;
// skips expensive generalization step
int
fVerbose
;
// verbose output`
int
fVeryVerbose
;
// very verbose output
...
...
src/proof/pdr/pdrCore.c
View file @
105648bf
...
...
@@ -525,7 +525,7 @@ int Pdr_ManBlockCube( Pdr_Man_t * p, Pdr_Set_t * pCube )
for
(
i
=
1
;
i
<=
k
;
i
++
)
Pdr_ManSolverAddClause
(
p
,
i
,
pCubeMin
);
// schedule proof obligation
if
(
!
p
->
pPars
->
fShortest
)
if
(
(
k
<
kMax
||
p
->
pPars
->
fReuseProofOblig
)
&&
!
p
->
pPars
->
fShortest
)
{
pThis
->
iFrame
=
k
+
1
;
pThis
->
prio
=
Prio
--
;
...
...
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