remove_common_factors

proveit.numbers.remove_common_factors(expr_A, expr_B)[source]

Return the portion of expr_A that remains after removing the factors that are in common with expr_B. Canonical forms are used to determine which factors are in common, but the returned portion of expr_A will be kept in its original form.