Skip to content

Commit

Permalink
Improve documentation of TermOrder
Browse files Browse the repository at this point in the history
Co-authored-by: Manuel Blatt <[email protected]>
  • Loading branch information
rihi and blattm authored Sep 20, 2023
1 parent 4f318ec commit 1c06528
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
class TermOrder(SimplificationRule):
"""
Swap constants of commutative operations to the right.
This stage is important because other stages expect constants to be on the right side.
Associativity is not exploited, i.e. nested operations of the same type are not considered.
- `c + e -> e + c`
- `c * e -> e * c`
Expand Down

0 comments on commit 1c06528

Please sign in to comment.