Debian Codegraph @

src/CUI_Theory/ChangeLog

raw
1 2024-03-05 Steven Eker <eker@pup>
2
3 * CUI_Term.cc (CUI_Term::arguments): made const
4
5 * CUI_Term.hh (class CUI_Term): made arguments() const
6
7 ===================================Maude158===========================================
8
9 2024-01-16 Steven Eker <eker@pup>
10
11 * CUI_Symbol.cc (CUI_Symbol::stackArguments): handle
12 respectUnstackable argument
13
14 * CUI_Symbol.hh (class CUI_Symbol): updated decl for stackArguments()
15
16 ===================================Maude156===========================================
17
18 2023-07-24 Steven Eker <eker@pup>
19
20 * CUI_Symbol.cc (CUI_Symbol::determineGround): added
21
22 * CUI_Symbol.hh (class CUI_Symbol): added decl for determineGround()
23
24 ===================================Maude151===========================================
25
26 2020-12-11 Steven Eker <eker2@eker10>
27
28 * CUI_DagNode.cc (CUI_DagNode::instantiate2): take and pass
29 maintainInvariants flag; only normalize and compute sort for
30 ground dag if maintainInvariants == true
31 (CUI_DagNode::instantiateWithReplacement): pass maintainInvariants
32 = false to instantiate()
33 (CUI_DagNode::instantiateWithCopies2): pass maintainInvariants =
34 false to instantiate()
35
36 * CUI_DagNode.hh (class CUI_DagNode): updated decl for
37 instantiate2()
38
39 ===================================Maude132===========================================
40
41 2020-09-28 Steven Eker <eker2@eker10>
42
43 * CUI_UnificationSubproblem.cc
44 (CUI_UnificationSubproblem::markReachableNodes): use range-based
45 for loop
46
47 * CUI_UnificationSubproblem2.cc
48 (CUI_UnificationSubproblem2::markReachableNodes): use range-based
49 for loop
50
51 2020-09-25 Steven Eker <eker2@eker10>
52
53 * CUI_UnificationSubproblem2.cc
54 (CUI_UnificationSubproblem2::addUnification): optimize f(...) =?
55 f(...) case where there are equal arguments
56
57 * CUI_UnificationSubproblem2.hh (class
58 CUI_UnificationSubproblem2): added decl for equivalent()
59
60 * CUI_UnificationSubproblem2.cc
61 (CUI_UnificationSubproblem2::addUnification): use
62 equivalentToGroundDag(), leftCollapse(), rightCollapse() to
63 optimize degenerate cases
64 (CUI_UnificationSubproblem2::equivalent): added
65
66 * CUI_UnificationSubproblem2.hh
67 (CUI_UnificationSubproblem2::equivalentToGroundDag): added
68
69 * CUI_UnificationSubproblem2.cc (CUI_UnificationSubproblem2::leftCollapse)
70 (CUI_UnificationSubproblem2::rightCollapse): added Asserts() that
71 we don't see an identity as a argument
72
73 2020-09-24 Steven Eker <eker2@eker10>
74
75 * CUI_UnificationSubproblem2.hh (class
76 CUI_UnificationSubproblem2): added decls for leftCollapse(),
77 rightCollapse()
78
79 * CUI_UnificationSubproblem2.cc (CUI_UnificationSubproblem2::leftCollapse)
80 (CUI_UnificationSubproblem2::rightCollapse): added
81
82 2020-09-23 Steven Eker <eker2@eker10>
83
84 * CUI_UnificationSubproblem2.cc
85 (CUI_UnificationSubproblem2::Problem::tryAlternative): use
86 indirectOccursCheck() in RHS_VARIABLE_TAKES_ALL case - this fixes
87 some nontermination bugs
88 (CUI_UnificationSubproblem2::Problem::tryAlternative): added
89 explanation for why we need indirectOccursCheck() here
90
91 * CUI_DagNode.hh (class CUI_DagNode): added decl for
92 indirectOccursCheck()
93
94 * CUI_DagNode.cc (CUI_DagNode::indirectOccursCheck): added
95
96 ===================================Maude131===========================================
97
98 2020-09-22 Steven Eker <eker2@eker10>
99
100 * CUI_UnificationSubproblem2.cc
101 (CUI_UnificationSubproblem2::addUnification)
102 (CUI_UnificationSubproblem2::Problem::tryAlternative): #ifdef out
103 debugging code
104
105 2020-09-21 Steven Eker <eker2@eker10>
106
107 * CUI_UnificationSubproblem2.cc
108 (CUI_UnificationSubproblem2::addUnification): rearrange if
109 statement for better efficiency and to make the intent clear
110
111 * CUI_DagNode.cc (CUI_DagNode::makePurifiedVersion): fixed bug:
112 only compare arguments and switch them if symbol is actually
113 commutative
114
115 ===================================Maude130===========================================
116
117 2020-05-20 Steven Eker <eker2@eker10>
118
119 * CUI_UnificationSubproblem.hh: symmetric changes
120
121 * CUI_UnificationSubproblem2.hh: deleted default ctor now
122 that we have a default ctor for Vector<> that doesn't require
123 a default ctor for the element type; add comment to copy ctor
124 to explain why it does what it does
125
126 2020-05-19 Steven Eker <eker2@eker10>
127
128 * CUI_UnificationSubproblem2.cc
129 (CUI_UnificationSubproblem2::Problem::tryAlternative): fix bug
130 where we were using r (the original variable) rather than r2 (the
131 representative variable) in 3 places; fix comment: occur checks
132 aren't strictly necessary here
133
134 2020-05-18 Steven Eker <eker2@eker10>
135
136 * CUI_UnificationSubproblem2.cc
137 (CUI_UnificationSubproblem2::Problem::tryAlternative): don't do
138 sort computation for identity element here
139 (CUI_UnificationSubproblem2::Problem::tryAlternative): deleted
140 commented out return false
141 (CUI_UnificationSubproblem2::Problem::tryAlternative): replace
142 can't happen comment with CantHappen()
143 (CUI_UnificationSubproblem2::solve): replaced commented out cout
144 with DebugInfo()
145
146 * CUI_Symbol.cc (CUI_Symbol::makeUnificationSubproblem): do sort
147 computation for identity element here
148
149 * CUI_UnificationSubproblem2.cc
150 (CUI_UnificationSubproblem2::addUnification): replace commented
151 out cout with DebugEnter()
152
153 2020-05-14 Steven Eker <eker2@eker10>
154
155 * CUI_UnificationSubproblem.cc
156 (CUI_UnificationSubproblem::addUnification): updated Assert();
157 turned commented out cerr into DebugEnter()
158 (CUI_UnificationSubproblem::solve): turned commented out couts
159 into DebugInfo()s
160
161 * CUI_DagNode.cc (CUI_DagNode::computeSolvedFormCommutativeCase):
162 code cleaning and fix out-of-date comments
163
164 2020-05-13 Steven Eker <eker2@eker10>
165
166 * CUI_DagNode.cc (CUI_DagNode::computeSolvedForm2): use
167 DebugEnter()
168 (CUI_DagNode::computeSolvedForm2): updated comments
169 (CUI_DagNode::computeSolvedForm2): rearranged inner if statement
170 (CUI_DagNode::computeSolvedForm2): deleted large amount of
171 commented out code
172 (CUI_DagNode::makePurifiedVersion): cleaned up and expanded
173 comments
174
175 ===================================Maude128a===========================================
176
177 2019-11-11 Steven Eker <eker@mu>
178
179 * CUI_DagNode.cc (computeBaseSortForGroundSubterms): no early termination
180 in UNIMPLEMENTED case
181
182 * CUI_UnificationSubproblem2.cc (tryAlternative): pass false to
183 warnAboutUnimplemented arg (4 places)
184
185 * CUI_DagNode.cc (computeBaseSortForGroundSubterms): take and pass
186 warnAboutUnimplemented
187
188 * CUI_DagNode.hh (DagNode): updated decl for
189 computeBaseSortForGroundSubterms()
190
191 ===================================Maude125===========================================
192
193 2017-02-23 Steven Eker <[email protected]>
194
195 * CUI_DagNode.cc (instantiateWithCopies2): ifdef'd out ground flag and
196 sort computation code
197
198 2017-02-21 Steven Eker <[email protected]>
199
200 * CUI_DagNode.hh (DagNode): updated decl for instantiateWithReplacement()
201
202 * CUI_DagNode.cc (instantiateWithReplacement): support lazy contexts
203
204 2017-02-17 Steven Eker <[email protected]>
205
206 * CUI_DagNode.hh (DagNode): deleted decl for stackArguments()
207
208 * CUI_DagNode.cc (stackArguments): deleted
209
210 * CUI_Symbol.hh (BinarySymbol): updated decl for stackArguments()
211
212 * CUI_Symbol.cc (stackArguments): support respectFrozen and eagerContext
213 arguments
214
215 ===================================Maude111b===========================================
216
217 2016-11-10 Steven Eker <[email protected]>
218
219 * CUI_DagNode.hh (DagNode): added decl for copyAll2()
220
221 * CUI_DagNode.cc (copyAll2): added
222
223 ===================================Maude111===========================================
224
225 2016-03-24 Steven Eker <[email protected]>
226
227 * CUI_Symbol.hh (BinarySymbol): added decl for computeGeneralizedSort2()
228
229 * CUI_Symbol.cc (computeGeneralizedSort2): added
230
231 ===================================Maude110===========================================
232
233 2015-08-05 Steven Eker <[email protected]>
234
235 * CUI_Symbol.hh (BinarySymbol): added declaration for
236 unificationPriority()
237
238 * CUI_Symbol.cc (unificationPriority): added
239
240 2015-07-30 Steven Eker <[email protected]>
241
242 * CUI_DagNode.cc (computeBaseSortForGroundSubterms): call
243 setGround() in ground case
244
245 ===================================Maude108===========================================
246
247 2013-03-01 Steven Eker <[email protected]>
248
249 * CUI_DagNode.cc (makePurifiedVersion): code cleaning
250 (computeSolvedForm2): use makePurifiedVersion() rather that using
251 in line code
252
253 2012-12-21 Steven Eker <[email protected]>
254
255 * CUI_UnificationSubproblem2.cc (tryAlternative): added occur checks
256
257 * CUI_DagNode.cc (computeBaseSortForGroundSubterms): handle left
258 and right identities
259 (computeSolvedFormCommutativeCase): don't try to deal with the
260 identity case because there is the possibility that a collapse to
261 a lower sort will require non-minimal unsorted unifiers
262 (computeSolvedForm2): handle identity case
263
264 * CUI_Symbol.cc (canResolveTheoryClash): added
265
266 * CUI_Symbol.hh (BinarySymbol): added decl for
267 canResolveTheoryClash()
268
269 * CUI_Symbol.cc (makeUnificationSubproblem): make
270 CUI_UnificationSubproblem2() in identity case
271
272 * CUI_UnificationSubproblem2.hh: created
273
274 * CUI_UnificationSubproblem2.cc: created
275
276 * CUI_DagNode.hh (DagNode): added decl for makePurifiedVersion()
277
278 * CUI_DagNode.cc (makePurifiedVersion): added
279
280 2012-12-19 Steven Eker <[email protected]>
281
282 * CUI_DagNode.cc (computeSolvedFormCommutativeCase): added
283 (computeSolvedForm2): use computeSolvedFormCommutativeCase()
284
285 * CUI_DagNode.hh (DagNode): added decl for
286 computeSolvedFormCommutativeCase()
287
288 ===================================Maude96c===========================================
289
290 2012-04-13 Steven Eker <[email protected]>
291
292 * CUI_DagNode.hh (DagNode): updated decl for
293 instantiateWithReplacement(); added decl for instantiateWithCopies2()
294
295 * CUI_DagNode.cc (instantiateWithReplacement): rewritten to use
296 instantiateWithCopies() on eager positions
297 (instantiateWithCopies2): added
298
299 2012-03-29 Steven Eker <[email protected]>
300
301 * CUI_Symbol.hh (BinarySymbol): added declaration for termify
302
303 * CUI_Symbol.cc (termify): added
304
305 ===================================Maude96===========================================
306
307 2011-11-22 Steven Eker <eker@rho>
308
309 * CUI_UnificationSubproblem.cc (CUI_UnificationSubproblem::solve): use restoreFromClone()
310 to make sure sort and dagnode information for fresh variables created on the path we
311 just backtrack from are properly cleared from our UnificationContext (2 places)
312
313 2010-12-09 Steven Eker <eker@rho>
314
315 * CUI_Symbol.cc (CUI_Symbol::postOpDeclarationPass): don't call
316 rightIdentitySortCheck() if we are commutative
317
318 ===================================Maude95b===========================================
319
320 2010-10-19 Steven Eker <eker@rho>
321
322 * CUI_Symbol.cc (CUI_Symbol::makeCanonicalCopyEagerUptoReduced):
323 becomes makeCanonicalCopy() with a change of semantics
324
325 * CUI_Symbol.hh (class CUI_Symbol):
326 makeCanonicalCopyEagerUptoReduced() -> makeCanonicalCopy()
327
328 ===================================Maude95a===========================================
329
330 2010-09-29 Steven Eker <eker@rho>
331
332 * CUI_Symbol.cc (CUI_Symbol::makeCanonicalCopyEagerUptoReduced):
333 simplify now that we are only passed unreduced nodes; use
334 getCanonicalCopyEagerUptoReduced()
335
336 * CUI_Symbol.hh (class CUI_Symbol): added decl for
337 makeCanonicalCopyEagerUptoReduced()
338
339 * CUI_Symbol.cc: added
340
341 2010-08-18 Steven Eker <eker@rho>
342
343 * CUI_DagNode.cc (CUI_DagNode::nonVariableSize): deleted
344
345 * CUI_DagNode.hh (class CUI_DagNode): deleted decl for
346 nonVariableSize()
347
348 ===================================Maude95===========================================
349
350 2010-08-12 Steven Eker <eker@rho>
351
352 * CUI_DagNode.cc (CUI_DagNode::computeSolvedForm2): use
353 computeSolvedForm() rather than unificationBind() to ensure we
354 don't bind the abstraction variable to an impure term
355 (CUI_DagNode::computeSolvedForm2): use equalt() rather than == for
356 comparing arguments during purification
357
358 2010-08-10 Steven Eker <eker@rho>
359
360 * CUI_DagNode.cc (CUI_DagNode::computeSolvedForm2): handle binding
361 of variables, purification and local occurs check
362
363 2010-08-03 Steven Eker <eker@rho>
364
365 * CUI_UnificationSubproblem.hh (class CUI_UnificationSubproblem):
366 updated decl for addUnification()
367
368 * CUI_UnificationSubproblem.cc
369 (CUI_UnificationSubproblem::addUnification): take marked arg
370
371 2010-07-29 Steven Eker <eker@rho>
372
373 * CUI_UnificationSubproblem.cc
374 (CUI_UnificationSubproblem::addUnification): take solution argument
375
376 * CUI_UnificationSubproblem.hh (class CUI_UnificationSubproblem):
377 updated decl for addUnification()
378
379 ===================================Maude94a===========================================
380
381 2010-06-30 Steven Eker <eker@rho>
382
383 * CUI_DagNode.cc (CUI_DagNode::computeSolvedForm2): use
384 resolveTheoryClash()
385
386 2009-12-22 Steven Eker <[email protected]>
387
388 * CUI_DagNode.cc (stackArguments): fixed nasty bug where we were
389 checking the first argument unstackable flag when deciding whether
390 we should stack the second argument
391
392 2009-12-02 Steven Eker <[email protected]>
393
394 * CUI_Symbol.hh (class CUI_Symbol): added decl for makeCanonical()
395
396 * CUI_Symbol.cc (makeCanonical): added
397
398 ===================================Maude92b===========================================
399
400 2009-07-30 Steven Eker <[email protected]>
401
402 * CUI_Matcher.cc (freeMatch): fix critical bug where pointer to
403 subproblem returned via sp0 was being lost without the subproblem
404 being deleted if the second Subpattern::match() called failed
405 (id0CollapseMatch, id1CollapseMatch, idemCollapseMatch): fix
406 symmetric bugs
407
408 2008-12-22 Steven Eker <[email protected]>
409
410 * CUI_Symbol.cc (computeGeneralizedSort): new getSortFunction()
411 convention
412
413 ===================================Maude92===========================================
414
415 2008-03-23 Steven Eker <[email protected]>
416
417 * CUI_DagNode.cc (computeSolvedForm2): deleted commented out old
418 version
419
420 * CUI_DagNode.hh (class CUI_DagNode): deleted commented out old
421 decl for computeSolvedForm2()
422
423 ===================================Maude90a===========================================
424
425 2008-02-12 Steven Eker <[email protected]>
426
427 * CUI_UnificationSubproblem.cc (solve): implemented
428
429 * CUI_UnificationSubproblem.hh (class CUI_UnificationSubproblem):
430 problems becomes a Vector<Problem>; delete ProblemList
431 (class CUI_UnificationSubproblem): lhs, rhs of Problem become
432 CUI_DagNode*
433
434 2008-02-11 Steven Eker <[email protected]>
435
436 * CUI_UnificationSubproblem.cc: created
437
438 * CUI_UnificationSubproblem.hh: created
439
440 * CUI_Symbol.cc (makeUnificationSubproblem): added
441
442 * CUI_Symbol.hh (class CUI_Symbol): added decl for
443 makeUnificationSubproblem()
444
445 * CUI_DagNode.cc (computeSolvedForm2): implemented stub
446
447 2008-02-08 Steven Eker <[email protected]>
448
449 * CUI_DagNode.cc (computeSolvedForm2): Substitution ->
450 UnificationContext
451
452 * CUI_DagNode.hh (class CUI_DagNode): updated decl for
453 computeSolvedForm2()
454
455 2008-02-05 Steven Eker <[email protected]>
456
457 * CUI_DagNode.cc (computeSolvedForm2): converted to stub
458
459 * CUI_DagNode.hh (class CUI_DagNode): updated decl for
460 computeSolvedForm2()
461
462 2008-01-17 Steven Eker <[email protected]>
463
464 * CUI_DagNode.cc (computeSolvedForm2): don't pass nrBindings to
465 SolvedFormSubproblemDisjunction
466
467 ===================================Maude90===========================================
468
469 2008-01-11 Steven Eker <[email protected]>
470
471 * CUI_DagNode.cc (computeSolvedForm2): add missing
472 subproblems.add() in reverse order only case
473
474 ===================================Maude89j===========================================
475
476 2007-11-12 Steven Eker <[email protected]>
477
478 * CUI_DagNode.cc (instantiate2): check ground flags of arguments;
479 set ground flag in new node if necessary
480 (instantiate2): call normalizeAtTop() rather than just assuming we
481 have a C symbol
482
483 2007-11-05 Steven Eker <[email protected]>
484
485 * CUI_DagNode.cc (stackArguments): optimize by not stacking equal
486 arguments in the comm case
487
488 2007-11-01 Steven Eker <[email protected]>
489
490 * CUI_DagNode.cc (indexVariables2): added
491 (instantiateWithReplacement): added
492
493 * CUI_DagNode.hh (class CUI_DagNode): added decls for
494 indexVariables2() and instantiateWithReplacement()
495
496 * CUI_DagNode.cc (instantiate2): updated
497
498 * CUI_DagNode.hh (class CUI_DagNode): updated decl for instantiate2()
499
500 ===================================Maude89h===========================================
501
502 2007-08-24 Steven Eker <[email protected]>
503
504 * CUI_DagNode.cc (computeBaseSortForGroundSubterms): reimplemented
505
506 * CUI_DagNode.hh (class CUI_DagNode): updated decl for
507 computeBaseSortForGroundSubterms()
508
509 2007-08-23 Steven Eker <[email protected]>
510
511 * CUI_DagNode.cc (computeSolvedForm): becomes computeSolvedForm2()
512
513 * CUI_DagNode.hh (class CUI_DagNode): computeSolvedForm() ->
514 computeSolvedForm2()
515
516 ===================================Maude89g===========================================
517
518 2007-08-07 Steven Eker <[email protected]>
519
520 * CUI_DagNode.hh (class CUI_DagNode): updated decl for
521 computeSolvedForm()
522
523 * CUI_DagNode.cc (computeSolvedForm): added extensionInfo argument
524
525 ===================================Maude89f===========================================
526
527 2007-03-16 Steven Eker <[email protected]>
528
529 * CUI_DagNode.cc (unify, occurs2): deleted
530
531 * CUI_DagNode.hh (class CUI_DagNode): deleted decls for unify()
532 and occurs2()
533
534 2007-03-15 Steven Eker <[email protected]>
535
536 * CUI_DagNode.cc (computeSolvedForm): clear local substitutions
537
538 * CUI_Symbol.cc (computeGeneralizedSort): pass realToBdd by ref
539
540 * CUI_Symbol.hh (class CUI_Symbol): fix computeGeneralizedSort()
541 decl
542
543 ===================================Maude89a===========================================
544
545 2007-03-05 Steven Eker <[email protected]>
546
547 * CUI_DagNode.cc (nonVariableSize): return mpz_class
548
549 * CUI_DagNode.hh (class CUI_DagNode): nonVariableSize() now
550 returns mpz_class
551
552 2007-03-02 Steven Eker <[email protected]>
553
554 * CUI_DagNode.cc (computeSolvedForm): use merge(); don't copy
555 parent substitution
556 (computeSolvedForm): use class SolvedFormSubproblemDisjunction
557
558 2007-03-01 Steven Eker <[email protected]>
559
560 * CUI_DagNode.cc (nonVariableSize, insertVariables2): added
561 (computeSolvedForm): added
562
563 * CUI_DagNode.hh (class CUI_DagNode): added decls for
564 computeSolvedForm(), nonVariableSize() and insertVariables2()
565
566 ===================================Maude89===========================================
567
568 2007-02-09 Steven Eker <[email protected]>
569
570 * CUI_DagNode.cc (instantiate2): normalize wrt to comm
571 (instantiate2): simplify
572
573 2007-02-07 Steven Eker <[email protected]>
574
575 * CUI_DagNode.cc (unify): rewritten using
576 UnificationSubproblemDisjunction and unificationDifference()
577 (unify): check for symmetry; get unifications in the reverse
578 order correct
579
580 2007-02-06 Steven Eker <[email protected]>
581
582 * CUI_DagNode.cc (occurs2): added
583 (instantiate2): added
584 (computeBaseSortForGroundSubterms): added
585 (unify): added
586
587 * CUI_DagNode.hh (class CUI_DagNode): added decls for unify(),
588 computeBaseSortForGroundSubterms(), instantiate2(), occurs2()
589
590 2007-02-05 Steven Eker <[email protected]>
591
592 * CUI_Symbol.cc (computeGeneralizedSort): added
593
594 * CUI_Symbol.hh (class CUI_Symbol): added decl for
595 computeGeneralizedSort()
596
597 ===================================Maude88f===========================================
598
599 2005-07-28 Steven Eker <[email protected]>
600
601 * CUI_Term.cc (CUI_Term): force symbol arg to be a CUI_Symbol
602 (deepCopy2): handle translation to non-CUI_Symbol
603
604 * CUI_Term.hh (class CUI_Term): updated decl for SymbolMap* ctor
605
606 2005-06-24 Steven Eker <[email protected]>
607
608 * CUI_Term.hh (class CUI_Term): updated decls for SymbolMap* ctor
609 and deepCopy2()
610
611 * CUI_Term.cc (deepCopy2): rewritten
612 (CUI_Term): SymbolMap* rewritten
613
614 ===================================Maude86b===========================================
615
616 2003-08-29 Steven Eker <[email protected]>
617
618 * CUI_Symbol.cc (eqRewrite): use applyReplaceNoOwise()
619 (memoStrategy): use applyReplaceNoOwise()
620
621 ===================================Maude82===========================================
622
623 2003-05-01 Steven Eker <[email protected]>
624
625 * CUI_DagNode.cc (overwriteWithClone): use copySetRewritingFlags()
626 (makeClone): copySetRewritingFlags()
627
628 ===================================Maude80===========================================
629
630 2003-02-25 Steven Eker <[email protected]>
631
632 * CUI_Term.cc: removed #pragma
633 (CUI_Term): updated Assert()
634
635 * CUI_Term.hh: removed #pragma
636
637 * CUI_Symbol.cc: removed #pragma
638 (eqRewrite): updated Assert()
639 (computeBaseSort): updated Assert()s
640 (normalizeAndComputeTrueSort): updated Assert()
641
642 * CUI_Symbol.hh: removed #pragma
643
644 * CUI_RhsAutomaton.cc: removed #pragma
645
646 * CUI_RhsAutomaton.hh: removed #pragma
647
648 * CUI_Matcher.cc (match): updated Assert()
649
650 * CUI_LhsCompiler.cc (compileLhs2): updated Assert()
651
652 * CUI_LhsAutomaton.cc: removed #pragma
653
654 * CUI_LhsAutomaton.hh: removed #pragma
655
656 * CUI_DagNode.cc: removed #pragma
657 (copyWithReplacement): updated Assert() (both versions)
658
659 * CUI_DagNode.hh: removed #pragma
660 (getArgument): updated Assert()
661
662 * CUI_DagArgumentIterator.cc: removed #pragma
663 (argument): updated Assert()
664 (next): updated Assert()
665
666 * CUI_DagArgumentIterator.hh: removed #pragma
667
668 * CUI_ArgumentIterator.cc: removed #pragma
669 (argument): updated Assert()
670 (next): updated Assert()
671
672 * CUI_ArgumentIterator.hh: removed #pragma
673
674 ===================================Maude79===========================================
675
676 2003-01-31 Steven Eker <[email protected]>
677
678 * CUI_Term.cc (analyseCollapses): becomes analyseCollapses2()
679
680 * CUI_Term.hh (class CUI_Term): analyseCollapses() ->
681 analyseCollapses2()
682
683 ===================================Maude78===========================================
684
685 2002-10-16 Steven Eker <[email protected]>
686
687 * CUI_Symbol.cc (postOpDeclarationPass): becomes
688 postOpDeclarationPass() since sort tables arem't computed at
689 postInterSymbolPass time
690
691 * CUI_Symbol.hh (class CUI_Symbol): postInterSymbolPass() ->
692 postOpDeclarationPass()
693
694 2002-10-08 Steven Eker <[email protected]>
695
696 * CUI_Symbol.hh (class CUI_Symbol): added decl for setFrozen()
697
698 * CUI_Symbol.cc (setFrozen): added
699
700 2002-10-04 Steven Eker <[email protected]>
701
702 * CUI_DagNode.hh (class CUI_DagNode): updated decl for complex
703 version of copyWithReplacement()
704
705 * CUI_DagNode.cc (copyWithReplacement): complex version: handle
706 the case where we only want to replace one arg
707
708 * CUI_Symbol.cc (stackArguments): only stack args that aren't
709 frozen or unstackable
710
711 2002-10-03 Steven Eker <[email protected]>
712
713 * CUI_DagNode.hh (class CUI_DagNode): updated decl for stackArguments()
714
715 * CUI_DagNode.cc (stackArguments): handle respectFrozen argument
716
717 ===================================Maude76==================================================
718
719 2002-08-02 Steven Eker <[email protected]>
720
721 * CUI_Term.cc (compileRhs2): added code to flag the last use of
722 each source
723
724 ===================================Maude74==================================================
725
726 2002-04-24 Steven Eker <[email protected]>
727
728 * CUI_RhsAutomaton.cc (dump): don't bother incrementing
729 indentLevel (since we don't have subautomata to output)
730
731 ===================================Maude72==================================================
732
733 2002-01-29 Steven Eker <[email protected]>
734
735 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): added friend decl
736 for PatternType << function
737
738 ===================================Maude70==================================================
739
740 2001-04-03 Steven Eker <[email protected]>
741
742 * CUI_DagNode.hh (class CUI_DagNode): added decl for
743 Vector<RedexPosition> version of copyWithReplacement()
744
745 * CUI_DagNode.cc (copyWithReplacement): added
746 (Vector<RedexPosition> version)
747
748 ===================================Engine66==================================================
749
750 2001-03-08 Steven Eker <[email protected]>
751
752 * CUI_Symbol.hh (class CUI_Symbol): added decl for stackArguments()
753
754 * CUI_Symbol.cc (stackArguments): added
755
756 ===================================Engine65==================================================
757
758 2001-01-26 Steven Eker <[email protected]>
759
760 * CUI_DagNode.hh (class CUI_DagNode): updated markArguments() decl
761 and make it private
762
763 * CUI_DagNode.cc (markArguments): rewritten with new semantics
764
765 ===================================Engine64==================================================
766
767 2000-08-04 Steven Eker <[email protected]>
768
769 * CUI_Symbol.cc (eqRewrite): greatly simplified now that we
770 no longer treat last strategy zero specially when term is in the
771 error sort
772 (memoStrategy): ditto
773
774 2000-07-31 Steven Eker <[email protected]>
775
776 * CUI_Symbol.cc (computeBaseSort): don't handle union sorts
777
778 ===================================Engine60==================================================
779
780 2000-07-28 Steven Eker <[email protected]>
781
782 * CUI_RhsAutomaton.hh (class CUI_RhsAutomaton): added decl for
783 remapIndices()
784
785 * CUI_RhsAutomaton.cc (remapIndices): added
786
787 2000-07-26 Steven Eker <[email protected]>
788
789 * CUI_LhsCompiler.cc (compileLhs2): use getNrProtectedVariables()
790 instead of nrVariables()
791
792 * CUI_Term.cc (compileRhs2): use makeConstructionIndex() instead of
793 allocateIndex()
794
795 2000-07-25 Steven Eker <[email protected]>
796
797 * CUI_Term.cc (findAvailableTerms): don't insert ground terms into
798 availableTerms since we can't do left->right sharing on them
799
800 * CUI_RhsAutomaton.cc (construct): don't call buildAliens()
801 (replace): don't call buildAliens()
802 (dump): don't call buildAliens()
803
804 * CUI_Term.hh (class CUI_Term): deleted decls for compileRhs() and
805 findIndex()
806
807 * CUI_Term.cc (compileRhs): deleted
808 (findIndex): deleted
809
810 ===================================Engine60==================================================
811
812 2000-07-12 Steven Eker <[email protected]>
813
814 * CUI_Term.cc (findAvailableTerms): added
815 (compileRhs2): added
816
817 * CUI_Term.hh (class CUI_Term): added decls for
818 findAvailableTerms() and compileRhs2()
819
820 ===================================Engine59==================================================
821
822 2000-07-05 Steven Eker <[email protected]>
823
824 * CUI_LhsCompiler.cc (compileLhs): becomes compileLhs2()
825
826 * CUI_Term.hh: compileLhs() -> compileLhs2()
827
828 2000-06-26 Steven Eker <[email protected]>
829
830 * CUI_Term.cc (findIndex): modifiedIndex() -> getModifiedIndex()
831
832 * CUI_LhsAutomaton.cc (addSubpattern): index() -> getIndex()
833 (addSubpattern): lookupSort() -> getSort()
834
835 ===================================Engine58==================================================
836
837 2000-03-30 Steven Eker <[email protected]>
838
839 * CUI_LhsAutomaton.cc (addSubpattern): need to make topAutomaton
840 for subpattern1 if matchAtTop and IDEM_COLLAPSE; previously we
841 only did this for subpattern0 in the IDEM_COLLAPSE case unless
842 ther was a ID0_COLLAPSE; non-existant topAutomaton cause seg fault
843
844 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): added added
845 comments to clarify enum Flags
846
847 * CUI_Term.hh (class CUI_Term): added comments to clarify flags
848
849 * CUI_LhsAutomaton.hh (match): moved comment inside of "if (matchAtTop)"
850
851 2000-03-17 Steven Eker <[email protected]>
852
853 * CUI_Term.cc (dump): ifdef'd
854
855 * CUI_Term.hh (class CUI_Term): use NO_COPYING() macro; ifdef'd
856 dump() decls
857
858 * CUI_RhsAutomaton.cc (dump): ifdef'd
859
860 * CUI_RhsAutomaton.hh (class CUI_RhsAutomaton): use NO_COPYING()
861 macro; ifdef'd dump() decls
862
863 * CUI_LhsAutomaton.cc (dump): ifdef'd (both versions)
864
865 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): use NO_COPYING()
866 macro; ifdef'd dump() decls
867
868 * CUI_Symbol.cc (eqRewrite): AdvisoryCheck() -> IssueAdvisory()
869 (memoStrategy): AdvisoryCheck() -> IssueAdvisory()
870
871 ===================================Engine56==================================================
872
873 1999-11-03 Steven Eker <[email protected]>
874
875 * CUI_Symbol.hh (class CUI_Symbol): added decl for memoStrategy()
876
877 * CUI_Symbol.cc (eqRewrite): set seenZero if we see a zero!
878 (eqRewrite): use memoStrategy() in the memo case
879 (memoStrategy): added
880
881 1999-10-29 Steven Eker <[email protected]>
882
883 * CUI_Symbol.cc (CUI_Symbol): use new BinarySymbol conventions
884
885 ===================================Engine53==================================================
886
887 1999-10-26 Steven Eker <[email protected]>
888
889 * CUI_LhsAutomaton.cc (addSubpattern): VariableTerm::dynamicCast()
890 -> dynamic_cast<VariableTerm*>()
891
892 * CUI_LhsCompiler.cc (compileLhs): VariableTerm::dynamicCast() ->
893 dynamic_cast<VariableTerm*>() (*4)
894
895 * CUI_Term.cc (findIndex): VariableTerm::dynamicCast() ->
896 dynamic_cast<VariableTerm*>()
897
898 * CUI_Symbol.cc (CUI_Symbol): added memoFlag arg
899
900 * CUI_Symbol.hh (class CUI_Symbol): added memoFlag arg to ctor
901 decl
902
903 1999-10-19 Steven Eker <[email protected]>
904
905 * CUI_DagNode.cc (getHashValue): added
906
907 * CUI_DagNode.hh (class CUI_DagNode): added data member hashCache
908 (class CUI_DagNode): added decl for getHashValue()
909
910 ===================================Engine52==================================================
911
912 1999-05-12 Steven Eker <[email protected]>
913
914 * CUI_Symbol.hh (class CUI_Symbol): computeTrueSort() ->
915 normalizeAndComputeTrueSort()
916
917 * CUI_Symbol.cc (computeTrueSort): become
918 normalizeAndComputeTrueSort()
919 (normalizeAndComputeTrueSort): use fastComputeTrueSort()
920
921 ===================================Engine49==================================================
922
923 Fri Nov 6 16:24:35 1998 Steven Eker <[email protected]>
924
925 * CUI_Term.cc (deepCopy): -> deepCopy2()
926
927 * CUI_Term.hh: deepCopy() -> deepCopy2()
928
929 ===================================Engine43==================================================
930
931 Thu Oct 8 14:24:30 1998 Steven Eker <[email protected]>
932
933 * CUI_Term.cc (compareArguments): inserted const
934
935 ===================================Engine41==================================================
936
937 Fri Sep 18 15:04:48 1998 Steven Eker <[email protected]>
938
939 * CUI_Symbol.cc (computeBaseSort): rewritten using setSortIndex(),
940 traverse(), lookupSortIndex()
941
942 * CUI_DagNode.cc (overwriteWithClone): use setSortIndex()
943 (makeClone): use setSortIndex()
944
945 Wed Sep 9 11:49:29 1998 Steven Eker <[email protected]>
946
947 * CUI_Symbol.cc (compileOpDeclarations): do
948 commutativeSortCompletion() before Symbol::compileOpDeclarations()
949 due to new implementation
950
951 ===================================Engine40==================================================
952
953 Tue Jul 21 10:29:54 1998 Steven Eker <[email protected]>
954
955 * CUI_Term.hh (class CUI_Term): added decl for new ctor
956
957 * CUI_Term.cc: added new ctor
958 (deepCopy): added
959
960 * CUI_Term.hh (class CUI_Term): added decl for deepCopy()
961
962 ===================================Engine39==================================================
963
964 Wed Jun 10 14:39:56 1998 Steven Eker <[email protected]>
965
966 * CUI_Symbol.hh (class CUI_Symbol): added decl for postInterSymbolPass()
967
968 * CUI_Symbol.cc (compileOpDeclarations): no longer do identity
969 stuff here
970 (postInterSymbolPass): added to do identity stuff
971
972 * CUI_Term.hh (class CUI_Term): updated normalize() decl
973
974 * CUI_Term.cc (normalize): don't use earlyGetIdentity()
975 (normalize): compute changed flag
976
977 * CUI_LhsAutomaton.cc: IntSet -> NatSet
978
979 * CUI_Term.cc: IntSet -> NatSet
980
981 * CUI_LhsCompiler.cc: IntSet -> NatSet
982
983 * CUI_Term.hh: IntSet -> NatSet
984
985 ===================================Engine38==================================================
986
987 Wed Jun 3 16:37:10 1998 Steven Eker <[email protected]>
988
989 * CUI_Term.cc (normalize): use earlyGetIdentity()
990
991 ===================================Engine37==================================================
992
993 Fri Feb 20 17:33:46 1998 Steven Eker <[email protected]>
994
995 * CUI_DagNode.cc (stackArguments): only stack arguments that are
996 not flagged as unstackable
997
998 ===================================Engine36==================================================
999
1000 Thu Feb 12 14:40:08 1998 Steven Eker <[email protected]>
1001
1002 * CUI_LhsAutomaton.cc (~CUI_LhsAutomaton): added
1003 (CUI_LhsAutomaton): clear all automata pointers at outset to allow
1004 for safe destruction at any time.
1005 (addSubpattern): no need to clear automata pointers here
1006
1007 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): added decl for
1008 ~CUI_LhsAutomaton()
1009
1010 * CUI_Term.cc (normalize): compare() == 0 changed to equal() (2 places)
1011
1012 * CUI_Matcher.cc (match): compare() != 0 changed to !equal()
1013 (idemCollapseMatch): compare() == 0 changed to equal()
1014 (id1CollapseMatch): compare() == 0 changed to equal()
1015
1016 * CUI_LhsCompiler.cc (analyseConstraintPropagation):compare() == 0
1017 changed to equal()
1018 (compileLhs): compare() == 0 changed to equal()
1019
1020 * CUI_DagNode.cc (normalizeAtTop): compare() == 0 changed to
1021 equal() (2 places)
1022
1023 * CUI_LhsAutomaton.hh (match): compare() == 0 changed to equal()
1024 (2 places)
1025
1026 =============================Engine35========================================================
1027
1028 Tue Dec 23 13:27:27 1997 Steven Eker <[email protected]>
1029
1030 * CUI_LhsCompiler.cc (compileLhs): use greedySafe()
1031
1032 Wed Dec 10 16:44:50 1997 Steven Eker <[email protected]>
1033
1034 * CUI_LhsAutomaton.cc (addSubpattern): added a real ugly hack to
1035 prevent first topAutomaton being compiled for greedy matching in
1036 idem case because even if variables are not shared between
1037 subterms, extension is.
1038
1039 Fri Dec 5 14:45:23 1997 Steven Eker <[email protected]>
1040
1041 * CUI_Symbol.cc (compileOpDeclarations): call
1042 leftIdentitySortCheck(), rightIdentitySortCheck() and
1043 idempotentSortCheck() if needed
1044
1045 Thu Dec 4 10:43:15 1997 Steven Eker <[email protected]>
1046
1047 * CUI_Matcher.cc (id1CollapseMatch): only exclude the case where
1048 the subject (portion of subject) matched is our identity if
1049 ID0_COLLAPSE; otherwise we miss matches if we only have a right
1050 identity
1051
1052 * CUI_Symbol.cc (CUI_Symbol): deleted inert arg
1053
1054 * CUI_Symbol.hh (class CUI_Symbol): deleted inert arg from ctor
1055 decl
1056
1057 * CUI_LhsAutomaton.cc (dump): removed extra \t
1058 (Subpattern::dump): print ground alien correctly
1059
1060 * CUI_LhsCompiler.cc (compileLhs): make flags an int to avoid
1061 conversion from `int' to `enum CUI_LhsAutomaton::Flags warning
1062
1063 Wed Dec 3 11:14:09 1997 Steven Eker <[email protected]>
1064
1065 * CUI_LhsCompiler.cc (compileLhs): heavily rewritten to use flags
1066 and handle non-comm case; also comm case optimized in that we set
1067 forward and reverse flags to avoid checking other possibility in
1068 the case where the subterms are stable and have different top symbols
1069
1070 * CUI_Matcher.cc: commMatch() -> freeMatch() throughout
1071
1072 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): commMatch() -> freeMatch()
1073
1074 * CUI_LhsAutomaton.cc (CUI_LhsAutomaton): rewritten to use Flags
1075 (addSubpattern): rewritten to use Flags
1076 (operator<<): added (Flags version)
1077 (dump): now print flags
1078
1079 * CUI_Matcher.cc (match): rewritten to use Flags
1080
1081 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): deleted idempotent
1082 and subpatternsDistinct data memebers
1083 (class CUI_LhsAutomaton): redesigned around new enum Flags
1084
1085 * CUI_Matcher.cc (match): use forward, reverse and conditional
1086 reverse flags to handle non-commutative case
1087
1088 * CUI_LhsCompiler.cc (analyseConstraintPropagation): handle
1089 non-commutative case
1090
1091 Tue Dec 2 10:24:34 1997 Steven Eker <[email protected]>
1092
1093 * CUI_DagNode.cc (copyEagerUptoReduced2): rewritten to deal with
1094 non-permutative strategies
1095 (normalizeAtTop): rewritten to handle non-commutative case
1096 (collapseTo): rewritten to deal with non-permutative strategies
1097
1098 * CUI_Symbol.hh (comm): added
1099 (leftId): added
1100 (rightId): added
1101 (idem): updated
1102
1103 * CUI_Term.cc (normalize): rewritten to handle non-commutative case
1104 (findEagerVariables): rewritten to deal with non-permutative strategies
1105 (markEagerArguments): rewritten to deal with non-permutative strategies
1106 (analyseCollapses): deal with seperate left and right identity axioms
1107
1108 * CUI_Symbol.cc (CUI_Symbol): take axioms arg; call setStrategy()
1109 if not commutative
1110 (eqRewrite): rewritten to deal with non-permutative strategies
1111
1112 * CUI_Symbol.hh (class CUI_Symbol): idemFlag data member deleted,
1113 axioms data memeber added, enum Axioms added,
1114 ctor decl now take Axioms arg
1115
1116 Mon Dec 1 12:34:48 1997 Steven Eker <[email protected]>
1117
1118 * CUI_DagNode.cc (copyEagerUptoReduced2): use getPermuteStrategy();
1119 PermuteSymbol -> BinarySymbol
1120 (collapseTo): use getPermuteStrategy();
1121 PermuteSymbol -> BinarySymbol
1122
1123 * CUI_Term.cc (findEagerVariables): use getPermuteStrategy();
1124 PermuteSymbol -> BinarySymbol (*3)
1125 (markEagerArguments): use getPermuteStrategy();
1126 PermuteSymbol -> BinarySymbol
1127
1128 * CUI_Symbol.cc (CUI_Symbol): PermuteSymbol -> BinarySymbol; call
1129 setPermuteStrategy()
1130 (eqRewrite): use getPermuteStrategy() (*3)
1131
1132 * CUI_Symbol.hh (class CUI_Symbol): PermuteSymbol -> BinarySymbol
1133
1134 Tue Nov 25 10:20:05 1997 Steven Eker <[email protected]>
1135
1136 * CUI_LhsAutomaton.cc (dump): implemented
1137
1138 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): updated dump() decl
1139 (class CUI_LhsAutomaton): unionized struct Subpattern
1140 (class CUI_LhsAutomaton): added decl for Subpattern::dump()
1141
1142 * CUI_RhsAutomaton.cc (buildAliens): deleted
1143 (dump): implemented
1144
1145 * CUI_RhsAutomaton.hh (addAlien): deleted
1146 (class CUI_RhsAutomaton): deleted decls for buildAliens(),
1147 addAlien(); deleted data member aliens; update decl for
1148 dump()
1149
1150 =============================Engine33========================================================
1151
1152 Tue Nov 18 16:36:36 1997 Steven Eker <[email protected]>
1153
1154 * CUI_Term.cc (dumpArguments): deleted
1155 (dump): added
1156
1157 * CUI_Term.hh (class CUI_Term): deleted decls for
1158 compileLhsNonCollapse(), compileLhsCollapse() and addSubterm()
1159 (class CUI_Term): dumpArguments() decl now passes
1160 variableInfo by ref; removed const; switch varableInfo,
1161 indentLevel args
1162 (class CUI_Term): dumpArguments() decl becomes dump()
1163
1164 * CUI_LhsCompiler.cc (compileLhs): incorporate
1165 compileLhsNonCollapse() and compileLhsCollapse() since these are
1166 now very similar
1167 (compileLhsNonCollapse): deleted
1168 (compileLhsCollapse): deleted
1169
1170 =============================Engine32========================================================
1171
1172 Tue Nov 11 10:22:20 1997 Steven Eker <[email protected]>
1173
1174 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): removed comment
1175 that id1CollapsePossible implies subpatternsDistinct as we no
1176 longer ensure this; we don't generate repeated solutions since if
1177 we have a collapse and the subpatterns are identical then (1) we
1178 are not idempotent and (2) the only thing we could match by
1179 collapse is identity and this case is caught in id1CollapseMatch()
1180
1181 * CUI_LhsAutomaton.cc (addSubpattern): in the variable case we
1182 need to insert variable into boundUniquely if we are in the
1183 uniqueBranch situation
1184
1185 * CUI_Theory.hh: deleted forward decl for class CUI_Subproblem
1186
1187 * CUI_DagNode.hh (class CUI_DagNode): revoke friendship for class
1188 CUI_Subproblem since this class won't be created
1189
1190 * CUI_LhsCompiler.cc (compileLhsCollapse): pass greedy to ctor;
1191 removed call to complete()
1192 (compileLhsCollapse): take greedy into spl calculation
1193 (compileLhsNonCollapse): pass greedy to ctor; removed call to
1194 complete()
1195 (compileLhsNonCollapse): use addSubpattern() in place of addSubterm()
1196 (addSubterm): deleted
1197
1198 * CUI_LhsAutomaton.cc (operator<<): added
1199
1200 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): greedyMatchOK data
1201 member becomes const
1202
1203 * CUI_LhsAutomaton.cc (complete): deleted
1204 (CUI_LhsAutomaton): added greedyMatchOK arg
1205
1206 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): boundUniquely arg
1207 to addSubpattern() no longer const
1208 (class CUI_LhsAutomaton): ctor takes greedyMatchOK arg
1209 (class CUI_LhsAutomaton): deleted decl for complete()
1210 (class CUI_LhsAutomaton): UNSET -> UNDEFINED
1211
1212 * CUI_LhsAutomaton.cc (addGroundAlien): deleted
1213 (addTopVariable): deleted
1214 (addNonGroundAlien): deleted
1215 (addSubpattern): now handle uniqueBranch case
1216
1217 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): deleted decls for
1218 addGroundAlien(), addTopVariable(), addNonGroundAlien()
1219
1220 * CUI_Matcher.cc (id1CollapseMatch): reject matches where subject
1221 (or in extension case matched portion) is our identity since these
1222 solutionns will have already been found on the id0Collapse branch
1223 (idemCollapseMatch): (non-ex) reject matches where subject is our
1224 identity
1225 (idemCollapseMatch): (ex) add EqualitySubproblem to reject matches
1226 where matched portion is our identity
1227
1228 Mon Nov 10 11:59:54 1997 Steven Eker <[email protected]>
1229
1230 * CUI_LhsCompiler.cc (compileLhsCollapse): use addSubpattern()
1231
1232 * CUI_LhsAutomaton.cc (addSubpattern): added
1233
1234 * CUI_Term.hh (class CUI_Term): added decls for
1235 compileLhsNonCollapse() and compileLhsCollapse()
1236
1237 * CUI_LhsCompiler.cc (compileLhs): main code split off into
1238 compileLhsCollapse() and compileLhsNonCollapse()
1239 (compileLhsNonCollapse): created
1240 (addSubterm): standard automata are always compiled with
1241 matchAtTop = false
1242 (compileLhsCollapse): added
1243
1244 Fri Nov 7 10:01:16 1997 Steven Eker <[email protected]>
1245
1246 * CUI_LhsCompiler.cc (compileLhs): if one subterm is variable and
1247 other is not match variable last to improve substitution
1248 (addSubterm): in variable case when we have unique branch, update boundUniquely
1249
1250 * CUI_Matcher.cc (match): fixed bug where we were passing solution
1251 rather than local to simpler matching functions
1252
1253 * CUI_Term.cc (normalize): set hash value in the case we don't collapse
1254
1255 * CUI_LhsAutomaton.cc (addNonGroundAlien): added
1256 (addTopVariable): added
1257 (addGroundAlien): added
1258
1259 * CUI_Term.hh (class CUI_Term): added decl for addSubterm()
1260
1261 * CUI_LhsCompiler.cc (analyseConstraintPropagation): check for
1262 ground() before testing for willGroundOutMatch()
1263 (addSubterm): added
1264 (compileLhs): rewritten
1265
1266 Thu Nov 6 10:30:42 1997 Steven Eker <[email protected]>
1267
1268 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): added decls for
1269 ctor and complete()
1270
1271 * CUI_LhsAutomaton.cc (complete): added
1272 (CUI_LhsAutomaton): added
1273
1274 * CUI_LhsCompiler.cc (betterToReverseOrder): moved here from CUI_Term.cc
1275 (analyseConstraintPropagation): moved here from CUI_Term.cc
1276 (compileLhs): moved here from CUI_Term.cc
1277
1278 * CUI_Term.cc (insertAbstractionVariables): deleted
1279
1280 * CUI_Term.hh (class CUI_Term): deleted decl for
1281 insertAbstractionVariables()
1282
1283 * CUI_Matcher.cc (idemCollapseMatch): ExtensionMatchSubproblem()
1284 needs nrVariables arg
1285 (match): handle non-collapse failure efficiently
1286
1287 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): deleted
1288 abstractionVariable data member
1289
1290 * CUI_Matcher.cc (idemCollapseMatch): (non-ext version) rewritten to use new
1291 Subpattern::match(); now deals correctly with matchAtTop case when
1292 there is no extension
1293 (idemCollapseMatch): (ext version) deleted null subproblem special
1294 case; since our new extensionInfo convention allows us to return
1295 both a subproblem and valid extensionInfo we don't need this case;
1296 The speed up of handling this special case is marginal since we
1297 must be at top we will not lose any constraint propagation by
1298 delaying second subterm match until solve phase. BTW this case
1299 should be very rare anyway. Use class ExtensionMatchSubproblem an
1300 avoid the need for abstraction variables.
1301 (match): simplified by using ?: within if()
1302
1303 Wed Nov 5 09:56:45 1997 Steven Eker <[email protected]>
1304
1305 * CUI_Matcher.cc (id0CollapseMatch): rewritten to use new
1306 Subpattern::match()
1307 (id1CollapseMatch): made symmetric with id0CollapseMatch()
1308
1309 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): added matchAtTop
1310 and extensionInfo args to Subpattern::match()
1311 (match): added matchAtTop and extensionInfo args
1312
1313 * CUI_Matcher.cc (match): removed uniqueBranch code from from
1314 collapse cases
1315
1316 * CUI_Term.cc (analyseConstraintPropagation): simplified and bug
1317 fixed; don't bother with analysis in collapse cases; take
1318 honorGroundOutMatch into account; make sure that subterms are match
1319 idependent before calling betterToReverseOrder(); treat subterms
1320 the same as a special case
1321 (betterToReverseOrder): remove test for collapse since this will
1322 be done in caller
1323
1324 * CUI_Matcher.cc (match): rewritten to use uniqueBranch
1325
1326 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): extAutomaton ->
1327 topAutomaton since we may need to clone subject when matching at top.
1328
1329 * CUI_Matcher.cc (id0CollapseMatch): rewritten to make use of the
1330 fact that identity dags are now safe from garbage collection and
1331 aboid the need for an abstraction variable
1332 (id1CollapseMatch): added; symmetric with id0CollapseMatch()
1333
1334 * CUI_Term.hh (class CUI_Term): added decls for
1335 betterToReverseOrder(), id0CollapsePossible and id1CollapsePossible
1336
1337 * CUI_Term.cc (analyseCollapses): use Term::commonSymbols(); set
1338 idemCollapsePossible
1339 (analyseCollapses): set id0CollapsePossible and id1CollapsePossible
1340 (betterToReverseOrder): added
1341 (analyseConstraintPropagation): implemented
1342
1343 * CUI_Term.hh (class CUI_Term): added data member idemCollapsePossible
1344
1345 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): added uniqueBranch
1346 and collapsePossible data members
1347
1348 Tue Nov 4 17:13:59 1997 Steven Eker <[email protected]>
1349
1350 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): added idempotent
1351 and matchAtTop data members
1352
1353 * CUI_Matcher.cc (match): in non collapse case don't try 2nd
1354 possibility if subpatterns are the same or subject subterms are
1355 the same.
1356
1357 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): added
1358 subpatternsDistinct data member
1359
1360 Mon Nov 3 12:02:21 1997 Steven Eker <[email protected]>
1361
1362 * CUI_LhsAutomaton.cc: created
1363
1364 * CUI_LhsAutomaton.hh (class CUI_LhsAutomaton): created
1365
1366 * CUI_Matcher.cc: greatly simplified from rought draft using
1367 DisjunctiveSubproblemAccumulator
1368
1369 =============================Engine31========================================================
1370
1371 Tue Oct 21 12:36:47 1997 Steven Eker <[email protected]>
1372
1373 * CUI_Term.cc (dagify2): switched decl to new convention
1374
1375 * CUI_Term.hh (class CUI_Term): switched dagify2() decl to new convention
1376
1377 Fri Oct 17 10:37:12 1997 Steven Eker <[email protected]>
1378
1379 * CUI_ArgumentIterator.hh (CUI_ArgumentIterator): initialize
1380 position to 0, not 2
1381
1382 * CUI_Term.cc (normalize): fixed bug in 2nd id collapse case
1383
1384 * CUI_DagNode.cc (normalizeAtTop): fixed bug in 2nd id collapse case
1385
1386 * CUI_Term.cc: created
1387
1388 * CUI_ArgumentIterator.hh (class CUI_ArgumentIterator): created
1389
1390 * CUI_ArgumentIterator.cc: created
1391
1392 * CUI_RhsAutomaton.cc: created
1393
1394 * CUI_RhsAutomaton.hh (class CUI_RhsAutomaton): created
1395
1396 * CUI_Term.hh: created
1397
1398 Thu Oct 16 17:33:23 1997 Steven Eker <[email protected]>
1399
1400 * CUI_Symbol.hh (idem): added
1401 (class CUI_Symbol): added decl for idem()
1402
1403 * CUI_DagNode.hh (class CUI_DagNode): added decl for collapseTo()
1404
1405 * CUI_DagNode.cc (collapseTo): added
1406
1407 * CUI_DagArgumentIterator.cc: created
1408
1409 * CUI_DagArgumentIterator.hh (class CUI_DagArgumentIterator): created
1410
1411 * CUI_DagNode.cc: created
1412
1413 * CUI_DagNode.hh (class CUI_DagNode): created
1414
1415 * CUI_Symbol.cc: created
1416
1417 * CUI_Symbol.hh (class CUI_Symbol): created
1418