Commit 7587224
Fix IsReduced for KnuthBendixRewritingSystem
`IsReduced` did not work for KnuthBendixRewritingSystems, because it used
`Rules` to obtain the rules of a rewriting system which are stored as
`IsLetterAssocWordRep`, and then tried reducing words using a kernel function
that assumes list access is possible for such words (which it is not).
Use TzRules instead which converts rules to lists of integers.1 parent 46a5fc8 commit 7587224
1 file changed
Lines changed: 6 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
| 504 | + | |
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | | - | |
| 509 | + | |
| 510 | + | |
510 | 511 | | |
511 | | - | |
| 512 | + | |
512 | 513 | | |
513 | | - | |
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
| 520 | + | |
| 521 | + | |
524 | 522 | | |
525 | 523 | | |
526 | | - | |
527 | 524 | | |
528 | | - | |
529 | 525 | | |
530 | | - | |
531 | 526 | | |
532 | 527 | | |
533 | 528 | | |
| |||
0 commit comments