| 1 |
2021-03-10 Steven Eker <eker2@eker10> |
| 2 |
|
| 3 |
* SMT_RewriteSequenceSearch.cc |
| 4 |
(SMT_RewriteSequenceSearch::SMT_RewriteSequenceSearch): use |
| 5 |
range-based for loop |
| 6 |
(SMT_RewriteSequenceSearch::markReachableNodes): use range-based |
| 7 |
for loop (2 places) |
| 8 |
(SMT_RewriteSequenceSearch::~SMT_RewriteSequenceSearch): use |
| 9 |
range-based for loop |
| 10 |
(SMT_RewriteSequenceSearch::checkMatchConstraint): use range-based |
| 11 |
for loop |
| 12 |
(SMT_RewriteSequenceSearch::makeConstraintFromCondition): use |
| 13 |
range-based for loop |
| 14 |
|
| 15 |
* SMT_RewriteSearchState.cc |
| 16 |
(SMT_RewriteSearchState::nextSolution): use range-based for loop |
| 17 |
(2 places) |
| 18 |
(SMT_RewriteSearchState::instantiateCondition): use range-based |
| 19 |
for loop |
| 20 |
|
| 21 |
===================================Maude135=========================================== |
| 22 |
|
| 23 |
2017-06-23 Steven Eker <[email protected]> |
| 24 |
|
| 25 |
* SMT_RewriteSequenceSearch.cc (SMT_RewriteSequenceSearch): don't |
| 26 |
initialize data member searchType |
| 27 |
|
| 28 |
* SMT_RewriteSequenceSearch.hh (SimpleRootContainer): deleted data |
| 29 |
member searchType |
| 30 |
|
| 31 |
===================================Maude114=========================================== |
| 32 |
|
| 33 |
2017-04-06 Steven Eker <[email protected]> |
| 34 |
|
| 35 |
* SMT_RewriteSequenceSearch.cc (findNextState): increment rule rewrite |
| 36 |
count after we have a successful rewrite modulo SMT. |
| 37 |
|
| 38 |
===================================Maude112a=========================================== |
| 39 |
|
| 40 |
2017-03-16 Steven Eker <[email protected]> |
| 41 |
|
| 42 |
* SMT_RewriteSequenceSearch.hh (SimpleRootContainer): getRootContext() -> |
| 43 |
getContext() decl |
| 44 |
(getRootContext): becomes getContext() |
| 45 |
|
| 46 |
===================================Maude112=========================================== |
| 47 |
|
| 48 |
2017-02-16 Steven Eker <[email protected]> |
| 49 |
|
| 50 |
* SMT_RewriteSequenceSearch.hh (getStateRule): added |
| 51 |
|
| 52 |
* SMT_RewriteSequenceSearch.cc (makeNewState): initialize rule member |
| 53 |
of state correctly |
| 54 |
|
| 55 |
* SMT_RewriteSearchState.hh (getRule): added |
| 56 |
|
| 57 |
* SMT_RewriteSequenceSearch.cc (findNextState): use assertDag() rather |
| 58 |
than checkDag() for the initial state, to fix a bug where we were not |
| 59 |
checking the consistancy of the condition with the match constraint in |
| 60 |
the initial state. |
| 61 |
(findNextState): check for stateToExplore >= 0; we now create the initial |
| 62 |
SMT_RewriteSearchState here, so we can clear anything asserted while |
| 63 |
matching the initial state |
| 64 |
(SMT_RewriteSequenceSearch): don't create initial SMT_RewriteSearchState; |
| 65 |
stateToExplore = -1 |
| 66 |
|
| 67 |
===================================Maude111b=========================================== |
| 68 |
|
| 69 |
2016-05-17 Steven Eker <[email protected]> |
| 70 |
|
| 71 |
* SMT_RewriteSequenceSearch.cc (makeConstraintFromCondition): call normalize() |
| 72 |
on fragment |
| 73 |
|
| 74 |
===================================Maude110=========================================== |
| 75 |
|
| 76 |
2014-10-29 Steven Eker <[email protected]> |
| 77 |
|
| 78 |
* SMT_RewriteSearchState.cc (findNextRewrite): call |
| 79 |
tracePreRuleRewrite(), traceAbort(), traceAbort() |
| 80 |
(findNextRewrite): call getTraceStatus() |
| 81 |
|
| 82 |
* SMT_RewriteSequenceSearch.cc (~SMT_RewriteSequenceSearch): delete |
| 83 |
context stored in State struct |
| 84 |
(SMT_RewriteSequenceSearch): delete condition once we've make the |
| 85 |
dag |
| 86 |
(~SMT_RewriteSequenceSearch): delete engine |
| 87 |
|
| 88 |
* SMT_RewriteSequenceSearch.hh (getRootContext): added |
| 89 |
|
| 90 |
2014-10-27 Steven Eker <[email protected]> |
| 91 |
|
| 92 |
* SMT_RewriteSequenceSearch.hh (getMaxVariableNumber): added |
| 93 |
|
| 94 |
* SMT_RewriteSequenceSearch.cc (makeNewState): initialize search |
| 95 |
to 0 so we don't have an issue deleting object |
| 96 |
|
| 97 |
* SMT_RewriteSearchState.cc (checkConsistancy): switch the order |
| 98 |
conjuncting constraint and condition so new stuff goes to the end |
| 99 |
|
| 100 |
2014-10-24 Steven Eker <[email protected]> |
| 101 |
|
| 102 |
* SMT_RewriteSequenceSearch.cc (findNextState): respect |
| 103 |
needToTryInitialState and maxDepth |
| 104 |
(SMT_RewriteSequenceSearch): compute sort of initial state |
| 105 |
|
| 106 |
* SMT_RewriteSequenceSearch.hh (SimpleRootContainer): added data |
| 107 |
member needToTryInitialState |
| 108 |
|
| 109 |
* SMT_RewriteSequenceSearch.cc (SMT_RewriteSequenceSearch): force |
| 110 |
maxDepth to 1 for searchType ONE_STEP |
| 111 |
(SMT_RewriteSequenceSearch): initialize needToTryInitialState |
| 112 |
|
| 113 |
2014-10-23 Steven Eker <[email protected]> |
| 114 |
|
| 115 |
* SMT_RewriteSequenceSearch.cc (checkMatchConstraint): fix bug |
| 116 |
where we weren't checking checkDag() result against |
| 117 |
SMT_EngineWrapper::SAT |
| 118 |
|
| 119 |
* SMT_RewriteSequenceSearch.hh (getSMT_VarIndices): added |
| 120 |
|
| 121 |
* SMT_RewriteSequenceSearch.cc (checkMatchConstraint): rewritten |
| 122 |
(markReachableNodes): mark finalConstraint rather than |
| 123 |
matchConstraint |
| 124 |
(SMT_RewriteSequenceSearch): init finalConstraint rather than |
| 125 |
matchConstraint |
| 126 |
(SMT_RewriteSequenceSearch): call findSMT_Variables() |
| 127 |
|
| 128 |
* SMT_RewriteSequenceSearch.hh (SimpleRootContainer): replaced |
| 129 |
data member match constraint with data member finalConstraint |
| 130 |
(getMatchConstraint): becomes getFinalConstraint() |
| 131 |
|
| 132 |
* SMT_RewriteSequenceSearch.cc (findSMT_Variables): added |
| 133 |
|
| 134 |
* SMT_RewriteSequenceSearch.hh (SimpleRootContainer): deleted data |
| 135 |
member goal |
| 136 |
(SimpleRootContainer): added typedef SMT_VarDags, data members |
| 137 |
smtVarIndices, smtVarDags |
| 138 |
(SimpleRootContainer): added decl for findSMT_Variables() |
| 139 |
|
| 140 |
* SMT_RewriteSequenceSearch.cc (makeConstraintFromCondition): added |
| 141 |
(~SMT_RewriteSequenceSearch): don't delete goal |
| 142 |
|
| 143 |
* SMT_RewriteSequenceSearch.hh (SimpleRootContainer): derive from |
| 144 |
class Pattern |
| 145 |
(SimpleRootContainer): updated ctor |
| 146 |
|
| 147 |
2014-10-22 Steven Eker <[email protected]> |
| 148 |
|
| 149 |
* SMT_RewriteSequenceSearch.hh (getSubstitution) |
| 150 |
(getMatchConstraint, getCurrentStateNumber): added |
| 151 |
|
| 152 |
2014-10-21 Steven Eker <[email protected]> |
| 153 |
|
| 154 |
* SMT_RewriteSequenceSearch.hh (SimpleRootContainer): added data |
| 155 |
member matchConstraint |
| 156 |
(SimpleRootContainer): added decls for findNextMatch() and |
| 157 |
checkMatchConstraint() |
| 158 |
(SimpleRootContainer): added datat member newStateNr |
| 159 |
|
| 160 |
* SMT_RewriteSequenceSearch.cc (checkMatchConstraint): added |
| 161 |
(findNextMatch): added |
| 162 |
(markReachableNodes): protect matchConstraint |
| 163 |
(SMT_RewriteSequenceSearch): initialize matchConstraint |
| 164 |
|
| 165 |
* SMT_RewriteSequenceSearch.hh (SimpleRootContainer): added data |
| 166 |
member matchState |
| 167 |
|
| 168 |
* SMT_RewriteSequenceSearch.cc (SMT_RewriteSequenceSearch): handle goal |
| 169 |
(~SMT_RewriteSequenceSearch): delete goal |
| 170 |
(SMT_RewriteSequenceSearch): init matchState |
| 171 |
(~SMT_RewriteSequenceSearch): delete matchState |
| 172 |
|
| 173 |
* SMT_RewriteSequenceSearch.hh (SimpleRootContainer): added data |
| 174 |
member goal; updated decl for ctor |
| 175 |
|
| 176 |
* SMT_EngineWrapper.hh (S): added declarations for push() and |
| 177 |
pop() |
| 178 |
|
| 179 |
* SMT_RewriteSearchState.cc (findNextRewrite): pop old SMT state |
| 180 |
(checkConsistancy): use push() and pop() |
| 181 |
|
| 182 |
2014-10-17 Steven Eker <[email protected]> |
| 183 |
|
| 184 |
* SMT_RewriteSearchState.hh (SimpleRootContainer): deleted data |
| 185 |
members pairingSymbol, nextPair; added data members newState and |
| 186 |
newConstraint |
| 187 |
|
| 188 |
* SMT_RewriteSequenceSearch.hh (getState): used to be getStatePair() |
| 189 |
|
| 190 |
* SMT_RewriteSequenceSearch.cc (makeNewState): use getNewState() |
| 191 |
and getNewConstraint() |
| 192 |
(findNextState): pass constraint to SMT_RewriteSearchState() |
| 193 |
|
| 194 |
* SMT_RewriteSequenceSearch.hh (SimpleRootContainer): deleted data |
| 195 |
member initial |
| 196 |
|
| 197 |
* SMT_RewriteSequenceSearch.cc (SMT_RewriteSequenceSearch): take |
| 198 |
and init constraint |
| 199 |
(SMT_RewriteSequenceSearch): initialize constraint field of State |
| 200 |
object |
| 201 |
(markReachableNodes): added |
| 202 |
(SMT_RewriteSequenceSearch): pass constraint to |
| 203 |
SMT_RewriteSearchState(); don't init initial and constraint data |
| 204 |
members after all |
| 205 |
|
| 206 |
* SMT_RewriteSequenceSearch.hh (SequenceSearch): added constraint |
| 207 |
field to struct State |
| 208 |
(SimpleRootContainer): derive from SimpleRootContainer |
| 209 |
(SimpleRootContainer): added decl for markReachableNodes() |
| 210 |
(SimpleRootContainer): updated decl for ctor |
| 211 |
(getConstraint): added |
| 212 |
|
| 213 |
* SMT_RewriteSearchState.hh (getNewPair): deleted |
| 214 |
(getNewState, getNewConstraint): added |
| 215 |
|
| 216 |
* SMT_RewriteSearchState.cc (SMT_RewriteSearchState): |
| 217 |
take/initialize constraint |
| 218 |
(markReachableNodes): mark constaint |
| 219 |
(checkAndConvertState): simplified |
| 220 |
(markReachableNodes): mark newConstraint, newState |
| 221 |
(SMT_RewriteSearchState): initialize newState and newConstraint |
| 222 |
(SMT_RewriteSearchState): don't mention nextPair |
| 223 |
(markReachableNodes): don't mention nextPair |
| 224 |
|
| 225 |
* SMT_RewriteSearchState.hh (SimpleRootContainer): updated decl |
| 226 |
for ctor; made constraint const |
| 227 |
|
| 228 |
2014-10-15 Steven Eker <[email protected]> |
| 229 |
|
| 230 |
* SMT_RewriteSequenceSearch.cc (findNextState): fix bug where we |
| 231 |
were using wrong state object inside loop |
| 232 |
|
| 233 |
* SMT_RewriteSequenceSearch.hh (getStateParent): added |
| 234 |
|
| 235 |
* SMT_RewriteSequenceSearch.cc (makeNewState): use pr variable |
| 236 |
|
| 237 |
* SMT_RewriteSequenceSearch.hh: added |
| 238 |
|
| 239 |
2014-10-14 Steven Eker <[email protected]> |
| 240 |
|
| 241 |
* SMT_RewriteSequenceSearch.cc (SMT_RewriteSequenceSearch): |
| 242 |
swapped argument order on account of defaults |
| 243 |
|
| 244 |
* SMT_RewriteSequenceSearch.hh (SequenceSearch): updated decl for |
| 245 |
ctor |
| 246 |
|
| 247 |
* SMT.hh: added class SMT_RewriteSequenceSearch |
| 248 |
|
| 249 |
2014-10-03 Steven Eker <[email protected]> |
| 250 |
|
| 251 |
* SMT_RewriteSequenceSearch.hh (SequenceSearch): added decl for |
| 252 |
makeNewState() |
| 253 |
|
| 254 |
* SMT_RewriteSequenceSearch.cc (findNextState): implemented |
| 255 |
(makeNewState): added |
| 256 |
|
| 257 |
* SMT_EngineWrapper.hh (S): added decl for clearAssertions() |
| 258 |
|
| 259 |
2014-10-01 Steven Eker <[email protected]> |
| 260 |
|
| 261 |
* SMT_RewriteSequenceSearch.cc: created |
| 262 |
|
| 263 |
* SMT_RewriteSequenceSearch.hh: created |
| 264 |
|
| 265 |
2014-09-29 Steven Eker <[email protected]> |
| 266 |
|
| 267 |
* SMT_RewriteSearchState.cc (SMT_RewriteSearchState): take engine |
| 268 |
as a pointer |
| 269 |
(SMT_RewriteSearchState): engine is now a pointer |
| 270 |
(checkConsistancy): engine is now a pointer |
| 271 |
(checkAndConvertState): engine is now a pointer |
| 272 |
|
| 273 |
* SMT_RewriteSearchState.hh (SimpleRootContainer): made engine |
| 274 |
into a constant pointer rather than a reference |
| 275 |
(SimpleRootContainer): updated decl for ctor |
| 276 |
|
| 277 |
* SMT_RewriteSearchState.cc: SMT_VariableManager -> |
| 278 |
SMT_EngineWrapper; variableManger -> engine throughout |
| 279 |
|
| 280 |
* SMT_RewriteSearchState.hh (SimpleRootContainer): |
| 281 |
SMT_VariableManager -> SMT_EngineWrapper; variableManger -> engine |
| 282 |
|
| 283 |
* SMT_Symbol.hh: removed CVC4 specific stuff |
| 284 |
|
| 285 |
* SMT_NumberSymbol.hh (SMT_Base): removed CVC4 specific stuff |
| 286 |
|
| 287 |
* SMT.hh: SMT_EngineWrapper replaces SMT_VariableManager |
| 288 |
|
| 289 |
* SMT_EngineWrapper.hh (S): renamed from SMT_VariableManager |
| 290 |
|
| 291 |
===================================Maude105=========================================== |
| 292 |
|
| 293 |
2014-09-26 Steven Eker <[email protected]> |
| 294 |
|
| 295 |
* SMT_RewriteSearchState.cc (checkConsistancy): call |
| 296 |
okToCollectGarbage() |
| 297 |
|
| 298 |
* SMT_RewriteSearchState.hh (SimpleRootContainer): added decl for |
| 299 |
markReachableNodes() |
| 300 |
|
| 301 |
* SMT_RewriteSearchState.cc (SMT_RewriteSearchState): init nextPair |
| 302 |
(markReachableNodes): added |
| 303 |
|
| 304 |
* SMT_RewriteSearchState.hh (SimpleRootContainer): private |
| 305 |
derivation from SimpleRootContainer |
| 306 |
|
| 307 |
* SMT_RewriteSearchState.cc (SMT_RewriteSearchState): flags |
| 308 |
replaces deleteContext |
| 309 |
(SMT_RewriteSearchState): honor GC_ENGINE and GC_CONTEXT |
| 310 |
|
| 311 |
* SMT_RewriteSearchState.hh (getNextVariableNumber): becomes |
| 312 |
getMaxVariableNumber() |
| 313 |
(CacheableState): added enum Flags |
| 314 |
(CacheableState): updated decl for ctor |
| 315 |
(CacheableState): flags replaces deleteContext |
| 316 |
|
| 317 |
* SMT_RewriteSearchState.cc (SMT_RewriteSearchState): |
| 318 |
firstVariableNumber becomes avoidVariableNumber |
| 319 |
(checkConsistancy): firstVariableNumber becomes |
| 320 |
avoidVariableNumber; increment newVariableNumber before using |
| 321 |
rather than after |
| 322 |
|
| 323 |
* SMT_RewriteSearchState.hh (CacheableState): firstVariableNumber |
| 324 |
becomes avoidVariableNumber |
| 325 |
|
| 326 |
* SMT_RewriteSearchState.cc (SMT_RewriteSearchState): take |
| 327 |
mpz_class object by reference to avoid wasted copy |
| 328 |
|
| 329 |
* SMT_RewriteSearchState.hh (getNextVariableNumber): return value |
| 330 |
by reference to avoid wasted copy |
| 331 |
(CacheableState): updated decl for ctor |
| 332 |
|
| 333 |
2014-09-25 Steven Eker <[email protected]> |
| 334 |
|
| 335 |
* SMT_VariableManager.hh (S): updated decl for makeFreshVariable() |
| 336 |
|
| 337 |
* SMT_RewriteSearchState.hh (getNextVariableNumber): return |
| 338 |
mpz_class |
| 339 |
(CacheableState): newVariableNumber becomes an mpz_class |
| 340 |
|
| 341 |
* SMT_RewriteSearchState.cc (SMT_RewriteSearchState): |
| 342 |
firstVariableNumber arg becomes an mpz_class |
| 343 |
|
| 344 |
* SMT_RewriteSearchState.hh (getContext): added |
| 345 |
(CacheableState): data member firstVariableNumber becomes an |
| 346 |
mpz_class |
| 347 |
(CacheableState): update decl for ctor |
| 348 |
|
| 349 |
2014-09-24 Steven Eker <[email protected]> |
| 350 |
|
| 351 |
* SMT_RewriteSearchState.cc (SMT_RewriteSearchState): handle |
| 352 |
deleteContext arg |
| 353 |
(~SMT_RewriteSearchState): delete context if requested |
| 354 |
|
| 355 |
* SMT_RewriteSearchState.hh (CacheableState): added data member |
| 356 |
deleteContext; updated ctor decl |
| 357 |
|
| 358 |
2014-09-23 Steven Eker <[email protected]> |
| 359 |
|
| 360 |
* SMT_RewriteSearchState.hh (CacheableState): derive from |
| 361 |
Cacheable state as a temporary measure so that we can cache object |
| 362 |
of this class in the metalevel |
| 363 |
|
| 364 |
2014-09-19 Steven Eker <[email protected]> |
| 365 |
|
| 366 |
* SMT_RewriteSearchState.cc (checkConsistancy) |
| 367 |
(SMT_RewriteSearchState): VariableIndex -> VariableNumber |
| 368 |
|
| 369 |
* SMT_RewriteSearchState.hh (S): use VariableNumber rather than |
| 370 |
VariableIndex for fresh variable naming scheme since variable |
| 371 |
index refers to index in substitution |
| 372 |
(getNextVariableNumber): added |
| 373 |
|
| 374 |
* SMT_RewriteSearchState.cc (checkConsistancy): newVariableIndex |
| 375 |
now belongs to the object |
| 376 |
|
| 377 |
* SMT_RewriteSearchState.hh (S): added data member |
| 378 |
firstVariableIndex; updated decl for ctor |
| 379 |
|
| 380 |
* SMT_RewriteSearchState.cc (SMT_RewriteSearchState): handle |
| 381 |
firstVariableIndex argument |
| 382 |
(checkConsistancy): use firstVariableIndex |
| 383 |
|
| 384 |
* SMT_RewriteSearchState.hh (S): added data member boundToFresh |
| 385 |
|
| 386 |
* SMT_RewriteSearchState.cc (nextSolution): clear boundToFresh |
| 387 |
variables before starting a new solution and after a failed |
| 388 |
consistancy check |
| 389 |
(checkConsistancy): keep track of variables that were bound to |
| 390 |
fresh variables |
| 391 |
|
| 392 |
2014-09-12 Steven Eker <[email protected]> |
| 393 |
|
| 394 |
* SMT_Symbol.cc (makeRationalConstant, dagToCVC4): deleted |
| 395 |
|
| 396 |
* SMT_Symbol.hh (SMT_Base): strip CVC4 specific stuff |
| 397 |
|
| 398 |
* SMT_Symbol.cc (attachData): need to handle unary minus specially |
| 399 |
because it has the same hook data as binary minus |
| 400 |
|
| 401 |
* SMT_VariableManager.hh (S): don't derive from ExprManager |
| 402 |
|
| 403 |
* SMT_Symbol.cc (attachData): use operatorNames |
| 404 |
(getDataAttachments): use operatorNames |
| 405 |
(fillOutSMT_Info): use new op names |
| 406 |
|
| 407 |
2014-09-11 Steven Eker <[email protected]> |
| 408 |
|
| 409 |
* SMT_Symbol.hh (getOperator): added |
| 410 |
(SMT_Base): added enum OPERATORS |
| 411 |
|
| 412 |
2014-09-09 Steven Eker <[email protected]> |
| 413 |
|
| 414 |
* SMT_RewriteSearchState.hh (S): deleted data member smtEngine |
| 415 |
|
| 416 |
* SMT_RewriteSearchState.cc (checkAndConvertState): rewritten |
| 417 |
using assertDag() |
| 418 |
(checkConsistancy): rewritten using checkDag() |
| 419 |
(SMT_RewriteSearchState): don't init smtEngine |
| 420 |
(~SMT_RewriteSearchState): don't delete smtEngine |
| 421 |
|
| 422 |
2014-09-08 Steven Eker <[email protected]> |
| 423 |
|
| 424 |
* SMT_VariableManager.hh (ExprManager): added enum Result and |
| 425 |
declarations for assertDag() and checkDag() |
| 426 |
|
| 427 |
2014-09-03 Steven Eker <[email protected]> |
| 428 |
|
| 429 |
* SMT_RewriteSearchState.cc (findNextRewrite): fixed bug where we |
| 430 |
were trying nextSolution() after solve() had failed; clarified |
| 431 |
comments |
| 432 |
(checkConsistancy): call computeTrueSort() on nextPair so it gets |
| 433 |
normalized |
| 434 |
(checkAndConvertState): fix bug where we allowing unsat |
| 435 |
constraints to proceed |
| 436 |
(checkAndConvertState): call computeTrueSort() here for |
| 437 |
cleanliness |
| 438 |
(findNextRewrite): no need to call computeTrueSort() here |
| 439 |
(checkAndConvertState): don't rely on result from assertFormula() |
| 440 |
since it doesn't do a full solve and may return unknown in trivial |
| 441 |
cases |
| 442 |
|
| 443 |
2014-09-02 Steven Eker <[email protected]> |
| 444 |
|
| 445 |
* SMT_RewriteSearchState.cc (checkConsistancy): update comments |
| 446 |
|
| 447 |
2014-08-15 Steven Eker <[email protected]> |
| 448 |
|
| 449 |
* SMT_RewriteSearchState.cc (checkConsistancy): handle condition |
| 450 |
optimized away case |
| 451 |
|
| 452 |
* SMT_Info.cc (setEqualityOperator): fix bug where we were looking |
| 453 |
at range component rather than domain component |
| 454 |
|
| 455 |
* SMT_RewriteSearchState.cc (checkConsistancy): use |
| 456 |
instantiateCondition() |
| 457 |
|
| 458 |
* SMT_RewriteSearchState.hh (S): added decl for |
| 459 |
instantiateCondition() |
| 460 |
|
| 461 |
* SMT_RewriteSearchState.cc (instantiateCondition): created |
| 462 |
|
| 463 |
* SMT_Info.hh (SMT_Info): initialize trueSymbol |
| 464 |
(S): added typedef EqualityOperatorMap, data member |
| 465 |
equalityOperatorMap, and decls for setEqualityOperator() and |
| 466 |
getEqualityOperator() |
| 467 |
|
| 468 |
* SMT_Info.cc: created |
| 469 |
|
| 470 |
* SMT_Symbol.cc (getDataAttachments): new hook syntax |
| 471 |
(dagToCVC4): new hook syntax |
| 472 |
(fillOutSMT_Info): call setEqualityOperator() |
| 473 |
|
| 474 |
* SMT_RewriteSearchState.cc (checkConsistancy): eliminate true |
| 475 |
clause when the is something else to put in its place |
| 476 |
|
| 477 |
* SMT_Symbol.cc (fillOutSMT_Info): call setTrueSymbol() |
| 478 |
|
| 479 |
* SMT_Info.hh (setTrueSymbol, getTrueSymbol): added |
| 480 |
(S): added data member trueSymbol |
| 481 |
|
| 482 |
* SMT_Symbol.cc (dagToCVC4): fix divisibility case |
| 483 |
(dagToCVC4): give up on divisibility for the moment |
| 484 |
|
| 485 |
2014-08-14 Steven Eker <[email protected]> |
| 486 |
|
| 487 |
* SMT_RewriteSearchState.cc (findNextRewrite): call |
| 488 |
computeTrueSort() |
| 489 |
(checkConsistancy): create new pair correctly when there is no |
| 490 |
rule condition |
| 491 |
(findNextRewrite): pass true rather than false the first time we |
| 492 |
call solve() |
| 493 |
|
| 494 |
2014-08-13 Steven Eker <[email protected]> |
| 495 |
|
| 496 |
* SMT_RewriteSearchState.cc (findNextRewrite, nextSolution): added |
| 497 |
debugging code |
| 498 |
(checkAndConvertState): fix bug where we were not allowing BOOLEAN |
| 499 |
constraints! |
| 500 |
|
| 501 |
* SMT_RewriteSearchState.hh (getNewPair): added |
| 502 |
|
| 503 |
2014-08-12 Steven Eker <[email protected]> |
| 504 |
|
| 505 |
* SMT_Base.hh (S): make fillOutSMT_Info() abstract |
| 506 |
|
| 507 |
* SMT_RewriteSearchState.cc (SMT_RewriteSearchState): make smtInfo |
| 508 |
const |
| 509 |
|
| 510 |
* SMT_Symbol.cc (dagToCVC4): use SMT_Info |
| 511 |
|
| 512 |
2014-08-11 Steven Eker <[email protected]> |
| 513 |
|
| 514 |
* SMT_RewriteSearchState.hh (S): updated decl for ctor |
| 515 |
|
| 516 |
* SMT_Symbol.hh (SMT_Base): updated decl for dagToCVC4() |
| 517 |
|
| 518 |
* SMT_Info.hh (SMT_Info): added |
| 519 |
|
| 520 |
* SMT_RewriteSearchState.hh (S): SMT_Info replaces sortMap |
| 521 |
|
| 522 |
* SMT_RewriteSearchState.cc: use SMT_Info in place of sortMap |
| 523 |
thoughout |
| 524 |
|
| 525 |
* SMT_Symbol.cc (dagToCVC4): use SMT_Info |
| 526 |
|
| 527 |
* SMT_Info.hh (setType): return SMT_Type |
| 528 |
|
| 529 |
* SMT_Symbol.cc (fillOutSMT_Info): replaces fillOutSortMap(); |
| 530 |
handle setting conjunction operator |
| 531 |
|
| 532 |
* SMT_Symbol.hh (SMT_Base): fillOutSMT_Info() replaces |
| 533 |
fillOutSortMap() |
| 534 |
|
| 535 |
* SMT_Base.hh (S): delete enum SMT_Type and typedef |
| 536 |
SortIndexToSMT_TypeMap |
| 537 |
|
| 538 |
* SMT_NumberSymbol.cc (fillOutSMT_Info): added |
| 539 |
(fillOutSortMap): deleted |
| 540 |
|
| 541 |
* SMT_NumberSymbol.hh (SMT_Base): fillOutSMT_Info() replaces |
| 542 |
fillOutSortMap() |
| 543 |
|
| 544 |
* SMT_Base.hh (S): fillOutSMT_Info() replaces fillOutSortMap() |
| 545 |
|
| 546 |
* SMT.hh: added class SMT_Info |
| 547 |
|
| 548 |
2014-08-08 Steven Eker <[email protected]> |
| 549 |
|
| 550 |
* SMT_Info.hh: created |
| 551 |
|
| 552 |
2014-08-07 Steven Eker <[email protected]> |
| 553 |
|
| 554 |
* SMT_RewriteSearchState.cc (checkAndConvertState): use pairSymbol |
| 555 |
(checkConsistancy): do sat check and next pair construction |
| 556 |
|
| 557 |
* SMT_RewriteSearchState.hh (S): added data members pairingSymbol |
| 558 |
and nextPair |
| 559 |
|
| 560 |
2014-08-06 Steven Eker <[email protected]> |
| 561 |
|
| 562 |
* SMT_RewriteSearchState.hh (S): added data member currentRule |
| 563 |
|
| 564 |
* SMT_RewriteSearchState.cc (checkConsistancy): partly fleshed out |
| 565 |
stub |
| 566 |
(checkConsistancy, findNextRewrite): use data member currentRule |
| 567 |
|
| 568 |
* SMT_RewriteSearchState.hh (S): added data member constraint |
| 569 |
|
| 570 |
2014-08-05 Steven Eker <[email protected]> |
| 571 |
|
| 572 |
* SMT_RewriteSearchState.cc (nextSolution): added |
| 573 |
(checkConsistancy): added stub |
| 574 |
(findNextRewrite): use nextSolution and checkConsistancy() |
| 575 |
|
| 576 |
2014-08-01 Steven Eker <[email protected]> |
| 577 |
|
| 578 |
* SMT_RewriteSearchState.cc (findNextRewrite): fleshed out stub |
| 579 |
|
| 580 |
* SMT_RewriteSearchState.hh (S): added data member state; added |
| 581 |
decl for ~SMT_RewriteSearchState() |
| 582 |
|
| 583 |
* SMT_RewriteSearchState.cc (~SMT_RewriteSearchState): added |
| 584 |
|
| 585 |
* SMT_RewriteSearchState.hh (S): added data members ruleIndex and |
| 586 |
matchingSubproblem |
| 587 |
|
| 588 |
2014-07-31 Steven Eker <[email protected]> |
| 589 |
|
| 590 |
* SMT_RewriteSearchState.hh: use SMT_VariableManager |
| 591 |
|
| 592 |
* SMT.hh: added class SMT_RewriteSearchState |
| 593 |
|
| 594 |
* SMT_RewriteSearchState.cc: rewritten to use SMT_VariableManager |
| 595 |
|
| 596 |
* SMT_Symbol.hh (SMT_Base): deleted decl for old version of |
| 597 |
dagToCVC4() |
| 598 |
|
| 599 |
* SMT_Symbol.cc (dagToCVC4): deleted out old version |
| 600 |
|
| 601 |
2014-07-28 Steven Eker <[email protected]> |
| 602 |
|
| 603 |
* SMT_VariableManager.hh (ExprManager): removed commented out |
| 604 |
stuff; added comment |
| 605 |
|
| 606 |
2014-07-24 Steven Eker <[email protected]> |
| 607 |
|
| 608 |
* SMT_Symbol.cc (dagToCVC4): added SMT_VariableManager based version |
| 609 |
|
| 610 |
* SMT_VariableManager.hh: created |
| 611 |
|
| 612 |
2014-07-21 Steven Eker <[email protected]> |
| 613 |
|
| 614 |
* SMT_RewriteSearchState.hh: created |
| 615 |
|
| 616 |
* SMT_RewriteSearchState.cc: created |
| 617 |
|
| 618 |
===================================Maude104=========================================== |
| 619 |
|
| 620 |
2014-06-04 Steven Eker <[email protected]> |
| 621 |
|
| 622 |
* SMT_Symbol.cc (dagToCVC4): tidy up warnings |
| 623 |
|
| 624 |
2014-06-03 Steven Eker <[email protected]> |
| 625 |
|
| 626 |
* SMT_NumberSymbol.cc (fillOutSortMap): use getRangeSort() (2 places) |
| 627 |
|
| 628 |
* SMT_Symbol.cc (fillOutSortMap): use getRangeSort() |
| 629 |
|
| 630 |
2014-05-20 Steven Eker <[email protected]> |
| 631 |
|
| 632 |
* SMT.hh: created |
| 633 |
|
| 634 |
* SMT_NumberSymbol.cc (termify): implemented |
| 635 |
|
| 636 |
2014-05-14 Steven Eker <[email protected]> |
| 637 |
|
| 638 |
* SMT_NumberDagNode.hh: fix bad #ifdef |
| 639 |
|
| 640 |
2014-05-12 Steven Eker <[email protected]> |
| 641 |
|
| 642 |
* SMT_NumberTerm.cc: created |
| 643 |
|
| 644 |
* SMT_Symbol.hh (SMT_Base): deleted decl for makeIntegerConstant() |
| 645 |
|
| 646 |
* SMT_Symbol.cc (makeIntegerConstant): deleted - mkConst() doesn't |
| 647 |
actually support Integer objects despite documentation to the |
| 648 |
contrary |
| 649 |
(dagToCVC4): simplified - all numbers are treated as rationals at |
| 650 |
CVC4 API |
| 651 |
|
| 652 |
* SMT_Symbol.hh (SMT_Base): added decls for makeIntegerConstant(), |
| 653 |
makeRationalConstant() |
| 654 |
|
| 655 |
* SMT_Symbol.cc (makeIntegerConstant, makeRationalConstant): added stubs |
| 656 |
(makeRationalConstant): use makeIntegerConstant(), makeRationalConstant() |
| 657 |
|
| 658 |
2014-05-09 Steven Eker <[email protected]> |
| 659 |
|
| 660 |
* SMT_Symbol.cc (dagToCVC4): handle integer and real constants |
| 661 |
|
| 662 |
* SMT_NumberDagNode.hh: created |
| 663 |
|
| 664 |
* SMT_NumberDagNode.cc: created |
| 665 |
|
| 666 |
2014-05-08 Steven Eker <[email protected]> |
| 667 |
|
| 668 |
* SMT_NumberTerm.hh: created |
| 669 |
|
| 670 |
* SMT_NumberSymbol.cc: created |
| 671 |
|
| 672 |
* SMT_NumberSymbol.hh: created |
| 673 |
|
| 674 |
2014-05-07 Steven Eker <[email protected]> |
| 675 |
|
| 676 |
* SMT_Symbol.cc (dagToCVC4): updated recursive call |
| 677 |
(dagToCVC4): added remaining integer and real ops |
| 678 |
(dagToCVC4): use IFF for Boolean equality |
| 679 |
|
| 680 |
* SMT_Symbol.hh (SMT_Base): updated decl for dagToCVC4() |
| 681 |
|
| 682 |
* SMT_Symbol.cc (dagToCVC4): take sort map |
| 683 |
|
| 684 |
2014-05-06 Steven Eker <[email protected]> |
| 685 |
|
| 686 |
* SMT_Symbol.cc (dagToCVC4): added some arithmetic operators |
| 687 |
|
| 688 |
* SMT_Symbol.hh (SMT_Base): derive from SMT_Base |
| 689 |
|
| 690 |
* SMT_Base.hh (S): created |
| 691 |
|
| 692 |
* SMT_Symbol.cc (fillOutSortMap): added |
| 693 |
|
| 694 |
2014-05-05 Steven Eker <[email protected]> |
| 695 |
|
| 696 |
* SMT_Symbol.cc (getDataAttachments): use 3 letter codes; added |
| 697 |
remaining operators |
| 698 |
(dagToCVC4): use 3 letter codes |
| 699 |
(attachData): use BIND_OP3 |
| 700 |
|
| 701 |
2014-05-02 Steven Eker <[email protected]> |
| 702 |
|
| 703 |
* SMT_Symbol.cc (dagToCVC4): added true and false cases |
| 704 |
(dagToCVC4): added xor, implies |
| 705 |
(getDataAttachments): added xor, implies |
| 706 |
|
| 707 |
2014-04-30 Steven Eker <[email protected]> |
| 708 |
|
| 709 |
* SMT_Symbol.hh (FreeSymbol): updated decl for dagToCVC4() |
| 710 |
|
| 711 |
* SMT_Symbol.cc (dagToCVC4): take Vector of SMT variables |
| 712 |
|
| 713 |
2014-04-28 Steven Eker <[email protected]> |
| 714 |
|
| 715 |
* SMT_Symbol.hh (FreeSymbol): added decl for dagToCVC4() |
| 716 |
|
| 717 |
* SMT_Symbol.cc (dagToCVC4): added |
| 718 |
|
| 719 |
2014-04-25 Steven Eker <[email protected]> |
| 720 |
|
| 721 |
* SMT_Symbol.cc: created |
| 722 |
|
| 723 |
* SMT_Symbol.hh: created |
| 724 |
|
| 725 |
===================================Maude103=========================================== |