Commit a54a32b2 authored by Taddeus Kroes's avatar Taddeus Kroes

Added some rules to IMPLICIT list.

parent 71bff3f3
...@@ -4,7 +4,8 @@ from .numerics import reduce_fraction_constants ...@@ -4,7 +4,8 @@ from .numerics import reduce_fraction_constants
from .logarithmic import factor_in_exponent_multiplicant, \ from .logarithmic import factor_in_exponent_multiplicant, \
factor_out_exponent, raised_base factor_out_exponent, raised_base
from .derivatives import chain_rule from .derivatives import chain_rule
from .negation import double_negation from .negation import double_negation, negated_factor, negated_nominator, \
negated_denominator
# Functions to move to the beginning of the possibilities list. Pairs of within # Functions to move to the beginning of the possibilities list. Pairs of within
# the list itself are compared by their position in the list: lower in the list # the list itself are compared by their position in the list: lower in the list
...@@ -45,5 +46,8 @@ LOW = dict([(h, i) for i, h in enumerate(LOW)]) ...@@ -45,5 +46,8 @@ LOW = dict([(h, i) for i, h in enumerate(LOW)])
# List of implicit rules. Implicit rules are condidererd trivial and are # List of implicit rules. Implicit rules are condidererd trivial and are
# therefore not printed in verbose rewrite_all mode # therefore not printed in verbose rewrite_all mode
IMPLICIT_RULES = [ IMPLICIT_RULES = [
negated_factor,
double_negation, double_negation,
negated_nominator,
negated_denominator,
] ]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment