Created
September 13, 2019 19:29
-
-
Save certik/4d8e6f36ab9e3846c9ccaf2a99e25106 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from sympy import * | |
from matchpy import * | |
from sympy.integrals.rubi.utility_function import * | |
from sympy.integrals.rubi.constraints import * | |
# from sympy.integrals.rubi.symbol import * | |
from matchpy.matching.many_to_one import CommutativeMatcher | |
from collections import deque | |
from matchpy.utils import VariableWithCount | |
from multiset import Multiset | |
class CommutativeMatcher2209(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({1: 1}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
2: (2, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
3: (3, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]), | |
4: (4, Multiset({2: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
5: (5, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
6: (6, Multiset({3: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
7: (7, Multiset({4: 1}), [ | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2209._instance is None: | |
CommutativeMatcher2209._instance = CommutativeMatcher2209() | |
return CommutativeMatcher2209._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2208 | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2210 | |
if len(subjects) >= 1: | |
tmp2 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp2) | |
except ValueError: | |
pass | |
else: | |
# State 2211 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
subjects.appendleft(tmp2) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.2_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2298 | |
if len(subjects) >= 1: | |
tmp5 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp5) | |
except ValueError: | |
pass | |
else: | |
# State 2299 | |
if len(subjects) == 0: | |
# 1: v**n | |
yield 1, subst2 | |
subjects.appendleft(tmp5) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.2_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2684 | |
if len(subjects) >= 1: | |
tmp8 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp8) | |
except ValueError: | |
pass | |
else: | |
# State 2685 | |
if len(subjects) == 0: | |
# 4: x**r | |
yield 4, subst2 | |
subjects.appendleft(tmp8) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp10 = subjects.popleft() | |
subjects11 = deque(tmp10._args) | |
# State 2212 | |
if len(subjects11) >= 1: | |
tmp12 = subjects11.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.1', tmp12) | |
except ValueError: | |
pass | |
else: | |
# State 2213 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2214 | |
if len(subjects11) == 0: | |
# State 2215 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
if len(subjects11) >= 1: | |
tmp15 = subjects11.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', tmp15) | |
except ValueError: | |
pass | |
else: | |
# State 2214 | |
if len(subjects11) == 0: | |
# State 2215 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
subjects11.appendleft(tmp15) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2300 | |
if len(subjects11) == 0: | |
# State 2301 | |
if len(subjects) == 0: | |
# 1: v**n | |
yield 1, subst2 | |
if len(subjects11) >= 1: | |
tmp18 = subjects11.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_1', tmp18) | |
except ValueError: | |
pass | |
else: | |
# State 2300 | |
if len(subjects11) == 0: | |
# State 2301 | |
if len(subjects) == 0: | |
# 1: v**n | |
yield 1, subst2 | |
subjects11.appendleft(tmp18) | |
if len(subjects11) >= 1: | |
tmp20 = subjects11.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', tmp20) | |
except ValueError: | |
pass | |
else: | |
# State 2630 | |
if len(subjects11) == 0: | |
# State 2631 | |
if len(subjects) == 0: | |
# 3: x**j | |
yield 3, subst2 | |
subjects11.appendleft(tmp20) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2686 | |
if len(subjects11) == 0: | |
# State 2687 | |
if len(subjects) == 0: | |
# 4: x**r | |
yield 4, subst2 | |
if len(subjects11) >= 1: | |
tmp23 = subjects11.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_2', tmp23) | |
except ValueError: | |
pass | |
else: | |
# State 2686 | |
if len(subjects11) == 0: | |
# State 2687 | |
if len(subjects) == 0: | |
# 4: x**r | |
yield 4, subst2 | |
subjects11.appendleft(tmp23) | |
if len(subjects11) >= 1 and subjects11[0] == 2: | |
tmp25 = subjects11.popleft() | |
# State 2587 | |
if len(subjects11) == 0: | |
# State 2588 | |
if len(subjects) == 0: | |
# 2: x**2 | |
yield 2, subst1 | |
subjects11.appendleft(tmp25) | |
subjects11.appendleft(tmp12) | |
subjects.appendleft(tmp10) | |
return | |
yield | |
class CommutativeMatcher2200(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
1: (1, Multiset({1: 1, 2: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
2: (2, Multiset({1: 1, 3: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
3: (3, Multiset({4: 1, 2: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
4: (4, Multiset({5: 1, 6: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
5: (5, Multiset({7: 1, 8: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
6: (6, Multiset({9: 1, 10: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
7: (7, Multiset({11: 1, 12: 1}), [ | |
]), | |
8: (8, Multiset({13: 1, 14: 1, 15: 1}), [ | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Add | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2200._instance is None: | |
CommutativeMatcher2200._instance = CommutativeMatcher2200() | |
return CommutativeMatcher2200._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2199 | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2201 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2202 | |
if len(subjects) >= 1: | |
tmp3 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.1', tmp3) | |
except ValueError: | |
pass | |
else: | |
# State 2203 | |
if len(subjects) == 0: | |
# 0: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 0, subst3 | |
# 1: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) | |
yield 1, subst3 | |
# 4: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f9(c)) | |
yield 4, subst3 | |
# 11: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f49(q, p)) | |
yield 11, subst3 | |
# 13: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f49(q, p)) and (cons_f51(r, p)) | |
yield 13, subst3 | |
subjects.appendleft(tmp3) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp5 = subjects.popleft() | |
subjects6 = deque(tmp5._args) | |
# State 2204 | |
if len(subjects6) >= 1: | |
tmp7 = subjects6.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp7) | |
except ValueError: | |
pass | |
else: | |
# State 2205 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2206 | |
if len(subjects6) == 0: | |
# State 2207 | |
if len(subjects) == 0: | |
# 0: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 0, subst3 | |
# 1: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) | |
yield 1, subst3 | |
# 4: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f9(c)) | |
yield 4, subst3 | |
# 11: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f49(q, p)) | |
yield 11, subst3 | |
# 13: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f49(q, p)) and (cons_f51(r, p)) | |
yield 13, subst3 | |
if len(subjects6) >= 1: | |
tmp10 = subjects6.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2', tmp10) | |
except ValueError: | |
pass | |
else: | |
# State 2206 | |
if len(subjects6) == 0: | |
# State 2207 | |
if len(subjects) == 0: | |
# 0: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 0, subst3 | |
# 1: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) | |
yield 1, subst3 | |
# 4: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f9(c)) | |
yield 4, subst3 | |
# 11: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f49(q, p)) | |
yield 11, subst3 | |
# 13: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f49(q, p)) and (cons_f51(r, p)) | |
yield 13, subst3 | |
subjects6.appendleft(tmp10) | |
if len(subjects6) >= 1: | |
tmp12 = subjects6.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2', tmp12) | |
except ValueError: | |
pass | |
else: | |
# State 2628 | |
if len(subjects6) == 0: | |
# State 2629 | |
if len(subjects) == 0: | |
# 10: d*x**j /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f46(n2, n)) and (cons_f45(b, a, c)) | |
yield 10, subst3 | |
subjects6.appendleft(tmp12) | |
if len(subjects6) >= 1 and subjects6[0] == 2: | |
tmp14 = subjects6.popleft() | |
# State 2585 | |
if len(subjects6) == 0: | |
# State 2586 | |
if len(subjects) == 0: | |
# 7: c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f45(b, a, c)) | |
yield 7, subst2 | |
subjects6.appendleft(tmp14) | |
subjects6.appendleft(tmp7) | |
subjects.appendleft(tmp5) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2291 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2292 | |
if len(subjects) >= 1: | |
tmp17 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.1', tmp17) | |
except ValueError: | |
pass | |
else: | |
# State 2293 | |
if len(subjects) == 0: | |
# 2: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) | |
yield 2, subst3 | |
# 3: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f8(b)) | |
yield 3, subst3 | |
# 9: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f46(n2, n)) and (cons_f45(b, a, c)) | |
yield 9, subst3 | |
# 12: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f49(q, p)) | |
yield 12, subst3 | |
# 14: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f49(q, p)) | |
yield 14, subst3 | |
subjects.appendleft(tmp17) | |
if len(subjects) >= 1: | |
tmp19 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp19) | |
except ValueError: | |
pass | |
else: | |
# State 2380 | |
if len(subjects) == 0: | |
# 5: v*a /; (cons_f2(a, x)) and (cons_f10(x, v)) | |
yield 5, subst2 | |
subjects.appendleft(tmp19) | |
if len(subjects) >= 1: | |
tmp21 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp21) | |
except ValueError: | |
pass | |
else: | |
# State 2590 | |
if len(subjects) == 0: | |
# 8: b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f45(b, a, c)) | |
yield 8, subst2 | |
subjects.appendleft(tmp21) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp23 = subjects.popleft() | |
subjects24 = deque(tmp23._args) | |
# State 2294 | |
if len(subjects24) >= 1: | |
tmp25 = subjects24.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp25) | |
except ValueError: | |
pass | |
else: | |
# State 2295 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2296 | |
if len(subjects24) == 0: | |
# State 2297 | |
if len(subjects) == 0: | |
# 2: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) | |
yield 2, subst3 | |
# 3: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f8(b)) | |
yield 3, subst3 | |
# 9: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f46(n2, n)) and (cons_f45(b, a, c)) | |
yield 9, subst3 | |
# 12: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f49(q, p)) | |
yield 12, subst3 | |
# 14: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f49(q, p)) | |
yield 14, subst3 | |
if len(subjects24) >= 1: | |
tmp28 = subjects24.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_1', tmp28) | |
except ValueError: | |
pass | |
else: | |
# State 2296 | |
if len(subjects24) == 0: | |
# State 2297 | |
if len(subjects) == 0: | |
# 2: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) | |
yield 2, subst3 | |
# 3: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f8(b)) | |
yield 3, subst3 | |
# 9: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f46(n2, n)) and (cons_f45(b, a, c)) | |
yield 9, subst3 | |
# 12: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f49(q, p)) | |
yield 12, subst3 | |
# 14: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f49(q, p)) | |
yield 14, subst3 | |
subjects24.appendleft(tmp28) | |
subjects24.appendleft(tmp25) | |
subjects.appendleft(tmp23) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2382 | |
if len(subjects) >= 1: | |
tmp31 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp31) | |
except ValueError: | |
pass | |
else: | |
# State 2383 | |
if len(subjects) == 0: | |
# 6: v*b /; (cons_f3(b, x)) and (cons_f10(x, v)) | |
yield 6, subst2 | |
subjects.appendleft(tmp31) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2678 | |
if len(subjects) >= 1: | |
tmp34 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.1', tmp34) | |
except ValueError: | |
pass | |
else: | |
# State 2679 | |
if len(subjects) == 0: | |
# 15: c*x**r /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f51(r, p)) | |
yield 15, subst3 | |
subjects.appendleft(tmp34) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp36 = subjects.popleft() | |
subjects37 = deque(tmp36._args) | |
# State 2680 | |
if len(subjects37) >= 1: | |
tmp38 = subjects37.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp38) | |
except ValueError: | |
pass | |
else: | |
# State 2681 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2682 | |
if len(subjects37) == 0: | |
# State 2683 | |
if len(subjects) == 0: | |
# 15: c*x**r /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f51(r, p)) | |
yield 15, subst3 | |
if len(subjects37) >= 1: | |
tmp41 = subjects37.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_2', tmp41) | |
except ValueError: | |
pass | |
else: | |
# State 2682 | |
if len(subjects37) == 0: | |
# State 2683 | |
if len(subjects) == 0: | |
# 15: c*x**r /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f51(r, p)) | |
yield 15, subst3 | |
subjects37.appendleft(tmp41) | |
subjects37.appendleft(tmp38) | |
subjects.appendleft(tmp36) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp43 = subjects.popleft() | |
associative1 = tmp43 | |
associative_type1 = type(tmp43) | |
subjects44 = deque(tmp43._args) | |
matcher = CommutativeMatcher2209.get() | |
tmp45 = subjects44 | |
subjects44 = [] | |
for s in tmp45: | |
matcher.add_subject(s) | |
for pattern_index, subst1 in matcher.match(tmp45, subst0): | |
if pattern_index == 0: | |
# State 2216 | |
if len(subjects) == 0: | |
# 0: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 0, subst1 | |
# 1: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) | |
yield 1, subst1 | |
# 4: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f9(c)) | |
yield 4, subst1 | |
# 11: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f49(q, p)) | |
yield 11, subst1 | |
# 13: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f49(q, p)) and (cons_f51(r, p)) | |
yield 13, subst1 | |
if pattern_index == 1: | |
# State 2302 | |
if len(subjects) == 0: | |
# 2: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) | |
yield 2, subst1 | |
# 3: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f8(b)) | |
yield 3, subst1 | |
# 9: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f46(n2, n)) and (cons_f45(b, a, c)) | |
yield 9, subst1 | |
# 12: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f49(q, p)) | |
yield 12, subst1 | |
# 14: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f49(q, p)) | |
yield 14, subst1 | |
if pattern_index == 2: | |
# State 2381 | |
if len(subjects) == 0: | |
# 5: v*a /; (cons_f2(a, x)) and (cons_f10(x, v)) | |
yield 5, subst1 | |
if pattern_index == 3: | |
# State 2384 | |
if len(subjects) == 0: | |
# 6: v*b /; (cons_f3(b, x)) and (cons_f10(x, v)) | |
yield 6, subst1 | |
if pattern_index == 4: | |
# State 2589 | |
if len(subjects) == 0: | |
# 7: c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f45(b, a, c)) | |
yield 7, subst1 | |
if pattern_index == 5: | |
# State 2591 | |
if len(subjects) == 0: | |
# 8: b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f45(b, a, c)) | |
yield 8, subst1 | |
if pattern_index == 6: | |
# State 2632 | |
if len(subjects) == 0: | |
# 10: d*x**j /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f46(n2, n)) and (cons_f45(b, a, c)) | |
yield 10, subst1 | |
if pattern_index == 7: | |
# State 2688 | |
if len(subjects) == 0: | |
# 15: c*x**r /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f51(r, p)) | |
yield 15, subst1 | |
subjects.appendleft(tmp43) | |
return | |
yield | |
class CommutativeMatcher2231(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({1: 1}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
2: (2, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
3: (3, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]), | |
4: (4, Multiset({2: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
5: (5, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
6: (6, Multiset({3: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
7: (7, Multiset({4: 1}), [ | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2231._instance is None: | |
CommutativeMatcher2231._instance = CommutativeMatcher2231() | |
return CommutativeMatcher2231._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2230 | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2232 | |
if len(subjects) >= 1: | |
tmp2 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp2) | |
except ValueError: | |
pass | |
else: | |
# State 2233 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
subjects.appendleft(tmp2) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.2_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2313 | |
if len(subjects) >= 1: | |
tmp5 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp5) | |
except ValueError: | |
pass | |
else: | |
# State 2314 | |
if len(subjects) == 0: | |
# 1: v**n | |
yield 1, subst2 | |
subjects.appendleft(tmp5) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.2_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2698 | |
if len(subjects) >= 1: | |
tmp8 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp8) | |
except ValueError: | |
pass | |
else: | |
# State 2699 | |
if len(subjects) == 0: | |
# 4: x**r | |
yield 4, subst2 | |
subjects.appendleft(tmp8) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp10 = subjects.popleft() | |
subjects11 = deque(tmp10._args) | |
# State 2234 | |
if len(subjects11) >= 1: | |
tmp12 = subjects11.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.1', tmp12) | |
except ValueError: | |
pass | |
else: | |
# State 2235 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2236 | |
if len(subjects11) == 0: | |
# State 2237 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
if len(subjects11) >= 1: | |
tmp15 = subjects11.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', tmp15) | |
except ValueError: | |
pass | |
else: | |
# State 2236 | |
if len(subjects11) == 0: | |
# State 2237 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
subjects11.appendleft(tmp15) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2315 | |
if len(subjects11) == 0: | |
# State 2316 | |
if len(subjects) == 0: | |
# 1: v**n | |
yield 1, subst2 | |
if len(subjects11) >= 1: | |
tmp18 = subjects11.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_1', tmp18) | |
except ValueError: | |
pass | |
else: | |
# State 2315 | |
if len(subjects11) == 0: | |
# State 2316 | |
if len(subjects) == 0: | |
# 1: v**n | |
yield 1, subst2 | |
subjects11.appendleft(tmp18) | |
if len(subjects11) >= 1: | |
tmp20 = subjects11.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', tmp20) | |
except ValueError: | |
pass | |
else: | |
# State 2638 | |
if len(subjects11) == 0: | |
# State 2639 | |
if len(subjects) == 0: | |
# 3: x**j | |
yield 3, subst2 | |
subjects11.appendleft(tmp20) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2700 | |
if len(subjects11) == 0: | |
# State 2701 | |
if len(subjects) == 0: | |
# 4: x**r | |
yield 4, subst2 | |
if len(subjects11) >= 1: | |
tmp23 = subjects11.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_2', tmp23) | |
except ValueError: | |
pass | |
else: | |
# State 2700 | |
if len(subjects11) == 0: | |
# State 2701 | |
if len(subjects) == 0: | |
# 4: x**r | |
yield 4, subst2 | |
subjects11.appendleft(tmp23) | |
if len(subjects11) >= 1 and subjects11[0] == 2: | |
tmp25 = subjects11.popleft() | |
# State 2597 | |
if len(subjects11) == 0: | |
# State 2598 | |
if len(subjects) == 0: | |
# 2: x**2 | |
yield 2, subst1 | |
subjects11.appendleft(tmp25) | |
subjects11.appendleft(tmp12) | |
subjects.appendleft(tmp10) | |
return | |
yield | |
class CommutativeMatcher2222(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
1: (1, Multiset({1: 1, 2: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
2: (2, Multiset({1: 1, 3: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
3: (3, Multiset({4: 1, 2: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
4: (4, Multiset({5: 1, 6: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
5: (5, Multiset({7: 1, 8: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
6: (6, Multiset({9: 1, 10: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
7: (7, Multiset({11: 1, 12: 1}), [ | |
]), | |
8: (8, Multiset({13: 1, 14: 1, 15: 1}), [ | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Add | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2222._instance is None: | |
CommutativeMatcher2222._instance = CommutativeMatcher2222() | |
return CommutativeMatcher2222._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2221 | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2223 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2224 | |
if len(subjects) >= 1: | |
tmp3 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.1', tmp3) | |
except ValueError: | |
pass | |
else: | |
# State 2225 | |
if len(subjects) == 0: | |
# 0: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 0, subst3 | |
# 1: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) | |
yield 1, subst3 | |
# 4: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f9(c)) | |
yield 4, subst3 | |
# 11: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f49(q, p)) | |
yield 11, subst3 | |
# 13: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f49(q, p)) and (cons_f51(r, p)) | |
yield 13, subst3 | |
subjects.appendleft(tmp3) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp5 = subjects.popleft() | |
subjects6 = deque(tmp5._args) | |
# State 2226 | |
if len(subjects6) >= 1: | |
tmp7 = subjects6.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp7) | |
except ValueError: | |
pass | |
else: | |
# State 2227 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2228 | |
if len(subjects6) == 0: | |
# State 2229 | |
if len(subjects) == 0: | |
# 0: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 0, subst3 | |
# 1: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) | |
yield 1, subst3 | |
# 4: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f9(c)) | |
yield 4, subst3 | |
# 11: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f49(q, p)) | |
yield 11, subst3 | |
# 13: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f49(q, p)) and (cons_f51(r, p)) | |
yield 13, subst3 | |
if len(subjects6) >= 1: | |
tmp10 = subjects6.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2', tmp10) | |
except ValueError: | |
pass | |
else: | |
# State 2228 | |
if len(subjects6) == 0: | |
# State 2229 | |
if len(subjects) == 0: | |
# 0: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 0, subst3 | |
# 1: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) | |
yield 1, subst3 | |
# 4: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f9(c)) | |
yield 4, subst3 | |
# 11: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f49(q, p)) | |
yield 11, subst3 | |
# 13: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f49(q, p)) and (cons_f51(r, p)) | |
yield 13, subst3 | |
subjects6.appendleft(tmp10) | |
if len(subjects6) >= 1: | |
tmp12 = subjects6.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2', tmp12) | |
except ValueError: | |
pass | |
else: | |
# State 2636 | |
if len(subjects6) == 0: | |
# State 2637 | |
if len(subjects) == 0: | |
# 10: d*x**j /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f46(n2, n)) and (cons_f45(b, a, c)) | |
yield 10, subst3 | |
subjects6.appendleft(tmp12) | |
if len(subjects6) >= 1 and subjects6[0] == 2: | |
tmp14 = subjects6.popleft() | |
# State 2595 | |
if len(subjects6) == 0: | |
# State 2596 | |
if len(subjects) == 0: | |
# 7: c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f45(b, a, c)) | |
yield 7, subst2 | |
subjects6.appendleft(tmp14) | |
subjects6.appendleft(tmp7) | |
subjects.appendleft(tmp5) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2306 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2307 | |
if len(subjects) >= 1: | |
tmp17 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.1', tmp17) | |
except ValueError: | |
pass | |
else: | |
# State 2308 | |
if len(subjects) == 0: | |
# 2: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) | |
yield 2, subst3 | |
# 3: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f8(b)) | |
yield 3, subst3 | |
# 9: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f46(n2, n)) and (cons_f45(b, a, c)) | |
yield 9, subst3 | |
# 12: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f49(q, p)) | |
yield 12, subst3 | |
# 14: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f49(q, p)) | |
yield 14, subst3 | |
subjects.appendleft(tmp17) | |
if len(subjects) >= 1: | |
tmp19 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp19) | |
except ValueError: | |
pass | |
else: | |
# State 2388 | |
if len(subjects) == 0: | |
# 5: v*a /; (cons_f2(a, x)) and (cons_f10(x, v)) | |
yield 5, subst2 | |
subjects.appendleft(tmp19) | |
if len(subjects) >= 1: | |
tmp21 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp21) | |
except ValueError: | |
pass | |
else: | |
# State 2600 | |
if len(subjects) == 0: | |
# 8: b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f45(b, a, c)) | |
yield 8, subst2 | |
subjects.appendleft(tmp21) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp23 = subjects.popleft() | |
subjects24 = deque(tmp23._args) | |
# State 2309 | |
if len(subjects24) >= 1: | |
tmp25 = subjects24.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp25) | |
except ValueError: | |
pass | |
else: | |
# State 2310 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2311 | |
if len(subjects24) == 0: | |
# State 2312 | |
if len(subjects) == 0: | |
# 2: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) | |
yield 2, subst3 | |
# 3: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f8(b)) | |
yield 3, subst3 | |
# 9: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f46(n2, n)) and (cons_f45(b, a, c)) | |
yield 9, subst3 | |
# 12: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f49(q, p)) | |
yield 12, subst3 | |
# 14: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f49(q, p)) | |
yield 14, subst3 | |
if len(subjects24) >= 1: | |
tmp28 = subjects24.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_1', tmp28) | |
except ValueError: | |
pass | |
else: | |
# State 2311 | |
if len(subjects24) == 0: | |
# State 2312 | |
if len(subjects) == 0: | |
# 2: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) | |
yield 2, subst3 | |
# 3: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f8(b)) | |
yield 3, subst3 | |
# 9: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f46(n2, n)) and (cons_f45(b, a, c)) | |
yield 9, subst3 | |
# 12: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f49(q, p)) | |
yield 12, subst3 | |
# 14: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f49(q, p)) | |
yield 14, subst3 | |
subjects24.appendleft(tmp28) | |
subjects24.appendleft(tmp25) | |
subjects.appendleft(tmp23) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2390 | |
if len(subjects) >= 1: | |
tmp31 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp31) | |
except ValueError: | |
pass | |
else: | |
# State 2391 | |
if len(subjects) == 0: | |
# 6: v*b /; (cons_f3(b, x)) and (cons_f10(x, v)) | |
yield 6, subst2 | |
subjects.appendleft(tmp31) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2692 | |
if len(subjects) >= 1: | |
tmp34 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.1', tmp34) | |
except ValueError: | |
pass | |
else: | |
# State 2693 | |
if len(subjects) == 0: | |
# 15: c*x**r /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f51(r, p)) | |
yield 15, subst3 | |
subjects.appendleft(tmp34) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp36 = subjects.popleft() | |
subjects37 = deque(tmp36._args) | |
# State 2694 | |
if len(subjects37) >= 1: | |
tmp38 = subjects37.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp38) | |
except ValueError: | |
pass | |
else: | |
# State 2695 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2696 | |
if len(subjects37) == 0: | |
# State 2697 | |
if len(subjects) == 0: | |
# 15: c*x**r /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f51(r, p)) | |
yield 15, subst3 | |
if len(subjects37) >= 1: | |
tmp41 = subjects37.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_2', tmp41) | |
except ValueError: | |
pass | |
else: | |
# State 2696 | |
if len(subjects37) == 0: | |
# State 2697 | |
if len(subjects) == 0: | |
# 15: c*x**r /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f51(r, p)) | |
yield 15, subst3 | |
subjects37.appendleft(tmp41) | |
subjects37.appendleft(tmp38) | |
subjects.appendleft(tmp36) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp43 = subjects.popleft() | |
associative1 = tmp43 | |
associative_type1 = type(tmp43) | |
subjects44 = deque(tmp43._args) | |
matcher = CommutativeMatcher2231.get() | |
tmp45 = subjects44 | |
subjects44 = [] | |
for s in tmp45: | |
matcher.add_subject(s) | |
for pattern_index, subst1 in matcher.match(tmp45, subst0): | |
if pattern_index == 0: | |
# State 2238 | |
if len(subjects) == 0: | |
# 0: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 0, subst1 | |
# 1: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) | |
yield 1, subst1 | |
# 4: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f9(c)) | |
yield 4, subst1 | |
# 11: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f49(q, p)) | |
yield 11, subst1 | |
# 13: b*v**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f49(q, p)) and (cons_f51(r, p)) | |
yield 13, subst1 | |
if pattern_index == 1: | |
# State 2317 | |
if len(subjects) == 0: | |
# 2: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) | |
yield 2, subst1 | |
# 3: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f8(b)) | |
yield 3, subst1 | |
# 9: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f46(n2, n)) and (cons_f45(b, a, c)) | |
yield 9, subst1 | |
# 12: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f49(q, p)) | |
yield 12, subst1 | |
# 14: b*v**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f49(q, p)) | |
yield 14, subst1 | |
if pattern_index == 2: | |
# State 2389 | |
if len(subjects) == 0: | |
# 5: v*a /; (cons_f2(a, x)) and (cons_f10(x, v)) | |
yield 5, subst1 | |
if pattern_index == 3: | |
# State 2392 | |
if len(subjects) == 0: | |
# 6: v*b /; (cons_f3(b, x)) and (cons_f10(x, v)) | |
yield 6, subst1 | |
if pattern_index == 4: | |
# State 2599 | |
if len(subjects) == 0: | |
# 7: c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f45(b, a, c)) | |
yield 7, subst1 | |
if pattern_index == 5: | |
# State 2601 | |
if len(subjects) == 0: | |
# 8: b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f45(b, a, c)) | |
yield 8, subst1 | |
if pattern_index == 6: | |
# State 2640 | |
if len(subjects) == 0: | |
# 10: d*x**j /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f46(n2, n)) and (cons_f45(b, a, c)) | |
yield 10, subst1 | |
if pattern_index == 7: | |
# State 2702 | |
if len(subjects) == 0: | |
# 15: c*x**r /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f51(r, p)) | |
yield 15, subst1 | |
subjects.appendleft(tmp43) | |
return | |
yield | |
class CommutativeMatcher2257(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({1: 1}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
2: (2, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
3: (3, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]), | |
4: (4, Multiset({2: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
5: (5, Multiset({3: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
6: (6, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
7: (7, Multiset({4: 1}), [ | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]), | |
8: (8, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_3', 1, 1, S(1)), Mul) | |
]), | |
9: (9, Multiset({5: 1}), [ | |
(VariableWithCount('i2.2.1.0_4', 1, 1, S(1)), Mul) | |
]), | |
10: (10, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_5', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2257._instance is None: | |
CommutativeMatcher2257._instance = CommutativeMatcher2257() | |
return CommutativeMatcher2257._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2256 | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2258 | |
if len(subjects) >= 1: | |
tmp2 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp2) | |
except ValueError: | |
pass | |
else: | |
# State 2259 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
subjects.appendleft(tmp2) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.2_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2330 | |
if len(subjects) >= 1: | |
tmp5 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp5) | |
except ValueError: | |
pass | |
else: | |
# State 2331 | |
if len(subjects) == 0: | |
# 1: v**n | |
yield 1, subst2 | |
subjects.appendleft(tmp5) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.2_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2714 | |
if len(subjects) >= 1: | |
tmp8 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp8) | |
except ValueError: | |
pass | |
else: | |
# State 2715 | |
if len(subjects) == 0: | |
# 4: x**r | |
yield 4, subst2 | |
subjects.appendleft(tmp8) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp10 = subjects.popleft() | |
subjects11 = deque(tmp10._args) | |
# State 2260 | |
if len(subjects11) >= 1: | |
tmp12 = subjects11.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.1', tmp12) | |
except ValueError: | |
pass | |
else: | |
# State 2261 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2262 | |
if len(subjects11) == 0: | |
# State 2263 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
if len(subjects11) >= 1: | |
tmp15 = subjects11.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', tmp15) | |
except ValueError: | |
pass | |
else: | |
# State 2262 | |
if len(subjects11) == 0: | |
# State 2263 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
subjects11.appendleft(tmp15) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2332 | |
if len(subjects11) == 0: | |
# State 2333 | |
if len(subjects) == 0: | |
# 1: v**n | |
yield 1, subst2 | |
if len(subjects11) >= 1: | |
tmp18 = subjects11.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_1', tmp18) | |
except ValueError: | |
pass | |
else: | |
# State 2332 | |
if len(subjects11) == 0: | |
# State 2333 | |
if len(subjects) == 0: | |
# 1: v**n | |
yield 1, subst2 | |
subjects11.appendleft(tmp18) | |
if len(subjects11) >= 1: | |
tmp20 = subjects11.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', tmp20) | |
except ValueError: | |
pass | |
else: | |
# State 2570 | |
if len(subjects11) == 0: | |
# State 2571 | |
if len(subjects) == 0: | |
# 2: x**j | |
yield 2, subst2 | |
subjects11.appendleft(tmp20) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2716 | |
if len(subjects11) == 0: | |
# State 2717 | |
if len(subjects) == 0: | |
# 4: x**r | |
yield 4, subst2 | |
if len(subjects11) >= 1: | |
tmp23 = subjects11.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_2', tmp23) | |
except ValueError: | |
pass | |
else: | |
# State 2716 | |
if len(subjects11) == 0: | |
# State 2717 | |
if len(subjects) == 0: | |
# 4: x**r | |
yield 4, subst2 | |
subjects11.appendleft(tmp23) | |
if len(subjects11) >= 1 and subjects11[0] == 2: | |
tmp25 = subjects11.popleft() | |
# State 2609 | |
if len(subjects11) == 0: | |
# State 2610 | |
if len(subjects) == 0: | |
# 3: x**2 | |
yield 3, subst1 | |
subjects11.appendleft(tmp25) | |
subjects11.appendleft(tmp12) | |
if len(subjects11) >= 1: | |
tmp26 = subjects11.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0', tmp26) | |
except ValueError: | |
pass | |
else: | |
# State 5470 | |
if len(subjects11) >= 1 and subjects11[0] == 2: | |
tmp28 = subjects11.popleft() | |
# State 5471 | |
if len(subjects11) == 0: | |
# State 5472 | |
if len(subjects) == 0: | |
# 5: v**2 | |
yield 5, subst1 | |
subjects11.appendleft(tmp28) | |
subjects11.appendleft(tmp26) | |
subjects.appendleft(tmp10) | |
return | |
yield | |
class CommutativeMatcher2248(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
1: (1, Multiset({0: 1, 1: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
2: (2, Multiset({0: 1, 1: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
3: (3, Multiset({2: 1, 3: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
4: (4, Multiset({2: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
5: (5, Multiset({4: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
6: (6, Multiset({5: 1, 6: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
7: (7, Multiset({1: 1, 4: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
8: (8, Multiset({5: 1, 6: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
9: (9, Multiset({0: 1, 1: 1}), [ | |
]), | |
10: (10, Multiset({0: 1, 1: 1, 7: 1}), [ | |
]), | |
11: (11, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
12: (12, Multiset({2: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
13: (13, Multiset({3: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Add) | |
]), | |
14: (14, Multiset({3: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, S(0)), Add) | |
]), | |
15: (15, Multiset({8: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
16: (16, Multiset({5: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
17: (17, Multiset({6: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, S(0)), Add) | |
]), | |
18: (18, Multiset({5: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
19: (19, Multiset({9: 1, 10: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
20: (20, Multiset({6: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Add) | |
]), | |
21: (21, Multiset({5: 1, 6: 1}), [ | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Add | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2248._instance is None: | |
CommutativeMatcher2248._instance = CommutativeMatcher2248() | |
return CommutativeMatcher2248._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2247 | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2249 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2250 | |
if len(subjects) >= 1: | |
tmp3 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.1', tmp3) | |
except ValueError: | |
pass | |
else: | |
# State 2251 | |
if len(subjects) == 0: | |
# 0: b*v**m | |
yield 0, subst3 | |
subjects.appendleft(tmp3) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp5 = subjects.popleft() | |
subjects6 = deque(tmp5._args) | |
# State 2252 | |
if len(subjects6) >= 1: | |
tmp7 = subjects6.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp7) | |
except ValueError: | |
pass | |
else: | |
# State 2253 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2254 | |
if len(subjects6) == 0: | |
# State 2255 | |
if len(subjects) == 0: | |
# 0: b*v**m | |
yield 0, subst3 | |
if len(subjects6) >= 1: | |
tmp10 = subjects6.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2', tmp10) | |
except ValueError: | |
pass | |
else: | |
# State 2254 | |
if len(subjects6) == 0: | |
# State 2255 | |
if len(subjects) == 0: | |
# 0: b*v**m | |
yield 0, subst3 | |
subjects6.appendleft(tmp10) | |
if len(subjects6) >= 1: | |
tmp12 = subjects6.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2', tmp12) | |
except ValueError: | |
pass | |
else: | |
# State 2568 | |
if len(subjects6) == 0: | |
# State 2569 | |
if len(subjects) == 0: | |
# 4: d*x**j | |
yield 4, subst3 | |
subjects6.appendleft(tmp12) | |
if len(subjects6) >= 1 and subjects6[0] == 2: | |
tmp14 = subjects6.popleft() | |
# State 2607 | |
if len(subjects6) == 0: | |
# State 2608 | |
if len(subjects) == 0: | |
# 5: c*x**2 | |
yield 5, subst2 | |
subjects6.appendleft(tmp14) | |
subjects6.appendleft(tmp7) | |
subjects.appendleft(tmp5) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2323 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2324 | |
if len(subjects) >= 1: | |
tmp17 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.1', tmp17) | |
except ValueError: | |
pass | |
else: | |
# State 2325 | |
if len(subjects) == 0: | |
# 1: b*v**n | |
yield 1, subst3 | |
subjects.appendleft(tmp17) | |
if len(subjects) >= 1: | |
tmp19 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp19) | |
except ValueError: | |
pass | |
else: | |
# State 2398 | |
if len(subjects) == 0: | |
# 2: v*a | |
yield 2, subst2 | |
subjects.appendleft(tmp19) | |
if len(subjects) >= 1: | |
tmp21 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp21) | |
except ValueError: | |
pass | |
else: | |
# State 2612 | |
if len(subjects) == 0: | |
# 6: b*x | |
yield 6, subst2 | |
subjects.appendleft(tmp21) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp23 = subjects.popleft() | |
subjects24 = deque(tmp23._args) | |
# State 2326 | |
if len(subjects24) >= 1: | |
tmp25 = subjects24.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp25) | |
except ValueError: | |
pass | |
else: | |
# State 2327 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2328 | |
if len(subjects24) == 0: | |
# State 2329 | |
if len(subjects) == 0: | |
# 1: b*v**n | |
yield 1, subst3 | |
if len(subjects24) >= 1: | |
tmp28 = subjects24.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_1', tmp28) | |
except ValueError: | |
pass | |
else: | |
# State 2328 | |
if len(subjects24) == 0: | |
# State 2329 | |
if len(subjects) == 0: | |
# 1: b*v**n | |
yield 1, subst3 | |
subjects24.appendleft(tmp28) | |
subjects24.appendleft(tmp25) | |
subjects.appendleft(tmp23) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2400 | |
if len(subjects) >= 1: | |
tmp31 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp31) | |
except ValueError: | |
pass | |
else: | |
# State 2401 | |
if len(subjects) == 0: | |
# 3: v*b | |
yield 3, subst2 | |
subjects.appendleft(tmp31) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2708 | |
if len(subjects) >= 1: | |
tmp34 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.1', tmp34) | |
except ValueError: | |
pass | |
else: | |
# State 2709 | |
if len(subjects) == 0: | |
# 7: c*x**r | |
yield 7, subst3 | |
subjects.appendleft(tmp34) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp36 = subjects.popleft() | |
subjects37 = deque(tmp36._args) | |
# State 2710 | |
if len(subjects37) >= 1: | |
tmp38 = subjects37.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp38) | |
except ValueError: | |
pass | |
else: | |
# State 2711 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2712 | |
if len(subjects37) == 0: | |
# State 2713 | |
if len(subjects) == 0: | |
# 7: c*x**r | |
yield 7, subst3 | |
if len(subjects37) >= 1: | |
tmp41 = subjects37.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_2', tmp41) | |
except ValueError: | |
pass | |
else: | |
# State 2712 | |
if len(subjects37) == 0: | |
# State 2713 | |
if len(subjects) == 0: | |
# 7: c*x**r | |
yield 7, subst3 | |
subjects37.appendleft(tmp41) | |
subjects37.appendleft(tmp38) | |
subjects.appendleft(tmp36) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_3', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3314 | |
if len(subjects) >= 1: | |
tmp44 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp44) | |
except ValueError: | |
pass | |
else: | |
# State 3315 | |
if len(subjects) == 0: | |
# 8: x*f | |
yield 8, subst2 | |
subjects.appendleft(tmp44) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_4', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 5465 | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp47 = subjects.popleft() | |
subjects48 = deque(tmp47._args) | |
# State 5466 | |
if len(subjects48) >= 1: | |
tmp49 = subjects48.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp49) | |
except ValueError: | |
pass | |
else: | |
# State 5467 | |
if len(subjects48) >= 1 and subjects48[0] == 2: | |
tmp51 = subjects48.popleft() | |
# State 5468 | |
if len(subjects48) == 0: | |
# State 5469 | |
if len(subjects) == 0: | |
# 9: v**2*f | |
yield 9, subst2 | |
subjects48.appendleft(tmp51) | |
subjects48.appendleft(tmp49) | |
subjects.appendleft(tmp47) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_5', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 5474 | |
if len(subjects) >= 1: | |
tmp53 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp53) | |
except ValueError: | |
pass | |
else: | |
# State 5475 | |
if len(subjects) == 0: | |
# 10: x*e | |
yield 10, subst2 | |
subjects.appendleft(tmp53) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp55 = subjects.popleft() | |
associative1 = tmp55 | |
associative_type1 = type(tmp55) | |
subjects56 = deque(tmp55._args) | |
matcher = CommutativeMatcher2257.get() | |
tmp57 = subjects56 | |
subjects56 = [] | |
for s in tmp57: | |
matcher.add_subject(s) | |
for pattern_index, subst1 in matcher.match(tmp57, subst0): | |
if pattern_index == 0: | |
# State 2264 | |
if len(subjects) == 0: | |
# 0: b*v**m | |
yield 0, subst1 | |
if pattern_index == 1: | |
# State 2334 | |
if len(subjects) == 0: | |
# 1: b*v**n | |
yield 1, subst1 | |
if pattern_index == 2: | |
# State 2399 | |
if len(subjects) == 0: | |
# 2: v*a | |
yield 2, subst1 | |
if pattern_index == 3: | |
# State 2402 | |
if len(subjects) == 0: | |
# 3: v*b | |
yield 3, subst1 | |
if pattern_index == 4: | |
# State 2572 | |
if len(subjects) == 0: | |
# 4: d*x**j | |
yield 4, subst1 | |
if pattern_index == 5: | |
# State 2611 | |
if len(subjects) == 0: | |
# 5: c*x**2 | |
yield 5, subst1 | |
if pattern_index == 6: | |
# State 2613 | |
if len(subjects) == 0: | |
# 6: b*x | |
yield 6, subst1 | |
if pattern_index == 7: | |
# State 2718 | |
if len(subjects) == 0: | |
# 7: c*x**r | |
yield 7, subst1 | |
if pattern_index == 8: | |
# State 3316 | |
if len(subjects) == 0: | |
# 8: x*f | |
yield 8, subst1 | |
if pattern_index == 9: | |
# State 5473 | |
if len(subjects) == 0: | |
# 9: v**2*f | |
yield 9, subst1 | |
if pattern_index == 10: | |
# State 5476 | |
if len(subjects) == 0: | |
# 10: x*e | |
yield 10, subst1 | |
subjects.appendleft(tmp55) | |
return | |
yield | |
class CommutativeMatcher2776(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
2: (2, Multiset({1: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2776._instance is None: | |
CommutativeMatcher2776._instance = CommutativeMatcher2776() | |
return CommutativeMatcher2776._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2775 | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2777 | |
if len(subjects) >= 1: | |
tmp2 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp2) | |
except ValueError: | |
pass | |
else: | |
# State 2778 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
subjects.appendleft(tmp2) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp4 = subjects.popleft() | |
subjects5 = deque(tmp4._args) | |
# State 2779 | |
if len(subjects5) >= 1: | |
tmp6 = subjects5.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.1', tmp6) | |
except ValueError: | |
pass | |
else: | |
# State 2780 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2781 | |
if len(subjects5) == 0: | |
# State 2782 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
if len(subjects5) >= 1: | |
tmp9 = subjects5.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', tmp9) | |
except ValueError: | |
pass | |
else: | |
# State 2781 | |
if len(subjects5) == 0: | |
# State 2782 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
subjects5.appendleft(tmp9) | |
if len(subjects5) >= 1 and subjects5[0] == 2: | |
tmp11 = subjects5.popleft() | |
# State 5031 | |
if len(subjects5) == 0: | |
# State 5032 | |
if len(subjects) == 0: | |
# 1: x**2 | |
yield 1, subst1 | |
subjects5.appendleft(tmp11) | |
subjects5.appendleft(tmp6) | |
subjects.appendleft(tmp4) | |
return | |
yield | |
class CommutativeMatcher3238(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher3238._instance is None: | |
CommutativeMatcher3238._instance = CommutativeMatcher3238() | |
return CommutativeMatcher3238._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 3237 | |
return | |
yield | |
class CommutativeMatcher3312(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_3', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher3312._instance is None: | |
CommutativeMatcher3312._instance = CommutativeMatcher3312() | |
return CommutativeMatcher3312._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 3311 | |
return | |
yield | |
class CommutativeMatcher3192(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.0_1', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher3192._instance is None: | |
CommutativeMatcher3192._instance = CommutativeMatcher3192() | |
return CommutativeMatcher3192._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 3191 | |
return | |
yield | |
class CommutativeMatcher2982(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
2: (2, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2982._instance is None: | |
CommutativeMatcher2982._instance = CommutativeMatcher2982() | |
return CommutativeMatcher2982._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2981 | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp1 = subjects.popleft() | |
subjects2 = deque(tmp1._args) | |
# State 5504 | |
if len(subjects2) >= 1: | |
tmp3 = subjects2.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.1', tmp3) | |
except ValueError: | |
pass | |
else: | |
# State 5505 | |
if len(subjects2) >= 1 and subjects2[0] == 2: | |
tmp5 = subjects2.popleft() | |
# State 5506 | |
if len(subjects2) == 0: | |
# State 5507 | |
if len(subjects) == 0: | |
# 0: x**2 | |
yield 0, subst1 | |
subjects2.appendleft(tmp5) | |
subjects2.appendleft(tmp3) | |
subjects.appendleft(tmp1) | |
return | |
yield | |
class CommutativeMatcher3251(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_3', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
2: (2, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher3251._instance is None: | |
CommutativeMatcher3251._instance = CommutativeMatcher3251() | |
return CommutativeMatcher3251._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 3250 | |
return | |
yield | |
class CommutativeMatcher2499(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
2: (2, Multiset({}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
3: (3, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_3', 1, 1, S(1)), Mul) | |
]), | |
4: (4, Multiset({1: 1}), [ | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]), | |
5: (5, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
6: (6, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
7: (7, Multiset({2: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
8: (8, Multiset({3: 1}), [ | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]), | |
9: (9, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_3', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
10: (10, Multiset({3: 1}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2499._instance is None: | |
CommutativeMatcher2499._instance = CommutativeMatcher2499() | |
return CommutativeMatcher2499._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2498 | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.2_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2554 | |
if len(subjects) >= 1: | |
tmp2 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp2) | |
except ValueError: | |
pass | |
else: | |
# State 2555 | |
if len(subjects) == 0: | |
# 0: v**n | |
yield 0, subst2 | |
subjects.appendleft(tmp2) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp4 = subjects.popleft() | |
subjects5 = deque(tmp4._args) | |
# State 2556 | |
if len(subjects5) >= 1: | |
tmp6 = subjects5.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.1', tmp6) | |
except ValueError: | |
pass | |
else: | |
# State 2557 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2558 | |
if len(subjects5) == 0: | |
# State 2559 | |
if len(subjects) == 0: | |
# 0: v**n | |
yield 0, subst2 | |
if len(subjects5) >= 1: | |
tmp9 = subjects5.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_1', tmp9) | |
except ValueError: | |
pass | |
else: | |
# State 2558 | |
if len(subjects5) == 0: | |
# State 2559 | |
if len(subjects) == 0: | |
# 0: v**n | |
yield 0, subst2 | |
subjects5.appendleft(tmp9) | |
if len(subjects5) >= 1 and subjects5[0] == 2: | |
tmp11 = subjects5.popleft() | |
# State 5229 | |
if len(subjects5) == 0: | |
# State 5230 | |
if len(subjects) == 0: | |
# 3: x**2 | |
yield 3, subst1 | |
subjects5.appendleft(tmp11) | |
subjects5.appendleft(tmp6) | |
if len(subjects5) >= 1: | |
tmp12 = subjects5.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0', tmp12) | |
except ValueError: | |
pass | |
else: | |
# State 3997 | |
if len(subjects5) >= 1 and subjects5[0] == 2: | |
tmp14 = subjects5.popleft() | |
# State 3998 | |
if len(subjects5) == 0: | |
# State 3999 | |
if len(subjects) == 0: | |
# 1: v**2 | |
yield 1, subst1 | |
subjects5.appendleft(tmp14) | |
subjects5.appendleft(tmp12) | |
if len(subjects5) >= 1: | |
tmp15 = subjects5.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.0', tmp15) | |
except ValueError: | |
pass | |
else: | |
# State 5187 | |
if len(subjects5) >= 1 and subjects5[0] == 2: | |
tmp17 = subjects5.popleft() | |
# State 5188 | |
if len(subjects5) == 0: | |
# State 5189 | |
if len(subjects) == 0: | |
# 2: v**2 | |
yield 2, subst1 | |
subjects5.appendleft(tmp17) | |
subjects5.appendleft(tmp15) | |
subjects.appendleft(tmp4) | |
return | |
yield | |
class CommutativeMatcher2495(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Add) | |
]), | |
1: (1, Multiset({1: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Add) | |
]), | |
2: (2, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, S(0)), Add) | |
]), | |
3: (3, Multiset({2: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, None), Add) | |
]), | |
4: (4, Multiset({3: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
5: (5, Multiset({2: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
6: (6, Multiset({4: 1, 3: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, S(0)), Add) | |
]), | |
7: (7, Multiset({5: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Add) | |
]), | |
8: (8, Multiset({4: 1, 3: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Add) | |
]), | |
9: (9, Multiset({5: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, S(0)), Add) | |
]), | |
10: (10, Multiset({6: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
11: (11, Multiset({7: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, None), Add) | |
]), | |
12: (12, Multiset({8: 1, 9: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Add) | |
]), | |
13: (13, Multiset({8: 1, 9: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, S(0)), Add) | |
]), | |
14: (14, Multiset({10: 1, 6: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, S(0)), Add) | |
]), | |
15: (15, Multiset({8: 1, 9: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
16: (16, Multiset({8: 1, 9: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, None), Add) | |
]), | |
17: (17, Multiset({10: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, S(0)), Add) | |
]), | |
18: (18, Multiset({6: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, None), Add) | |
]), | |
19: (19, Multiset({8: 1, 9: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
20: (20, Multiset({10: 1, 6: 1}), [ | |
]), | |
21: (21, Multiset({10: 1, 6: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Add) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Add | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2495._instance is None: | |
CommutativeMatcher2495._instance = CommutativeMatcher2495() | |
return CommutativeMatcher2495._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2494 | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2496 | |
if len(subjects) >= 1: | |
tmp2 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp2) | |
except ValueError: | |
pass | |
else: | |
# State 2497 | |
if len(subjects) == 0: | |
# 0: v*b | |
yield 0, subst2 | |
subjects.appendleft(tmp2) | |
if len(subjects) >= 1: | |
tmp4 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp4) | |
except ValueError: | |
pass | |
else: | |
# State 4628 | |
if len(subjects) == 0: | |
# 6: e*x | |
yield 6, subst2 | |
subjects.appendleft(tmp4) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp6 = subjects.popleft() | |
subjects7 = deque(tmp6._args) | |
# State 3993 | |
if len(subjects7) >= 1: | |
tmp8 = subjects7.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp8) | |
except ValueError: | |
pass | |
else: | |
# State 3994 | |
if len(subjects7) >= 1 and subjects7[0] == 2: | |
tmp10 = subjects7.popleft() | |
# State 3995 | |
if len(subjects7) == 0: | |
# State 3996 | |
if len(subjects) == 0: | |
# 4: v**2*c | |
yield 4, subst2 | |
subjects7.appendleft(tmp10) | |
subjects7.appendleft(tmp8) | |
if len(subjects7) >= 1: | |
tmp11 = subjects7.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp11) | |
except ValueError: | |
pass | |
else: | |
# State 5226 | |
if len(subjects7) >= 1 and subjects7[0] == 2: | |
tmp13 = subjects7.popleft() | |
# State 5227 | |
if len(subjects7) == 0: | |
# State 5228 | |
if len(subjects) == 0: | |
# 8: f*x**2 | |
yield 8, subst2 | |
subjects7.appendleft(tmp13) | |
subjects7.appendleft(tmp11) | |
subjects.appendleft(tmp6) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2547 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2548 | |
if len(subjects) >= 1: | |
tmp16 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.1', tmp16) | |
except ValueError: | |
pass | |
else: | |
# State 2549 | |
if len(subjects) == 0: | |
# 1: b*v**n | |
yield 1, subst3 | |
subjects.appendleft(tmp16) | |
if len(subjects) >= 1: | |
tmp18 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp18) | |
except ValueError: | |
pass | |
else: | |
# State 4012 | |
if len(subjects) == 0: | |
# 5: b*x | |
yield 5, subst2 | |
subjects.appendleft(tmp18) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp20 = subjects.popleft() | |
subjects21 = deque(tmp20._args) | |
# State 2550 | |
if len(subjects21) >= 1: | |
tmp22 = subjects21.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp22) | |
except ValueError: | |
pass | |
else: | |
# State 2551 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2552 | |
if len(subjects21) == 0: | |
# State 2553 | |
if len(subjects) == 0: | |
# 1: b*v**n | |
yield 1, subst3 | |
if len(subjects21) >= 1: | |
tmp25 = subjects21.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_1', tmp25) | |
except ValueError: | |
pass | |
else: | |
# State 2552 | |
if len(subjects21) == 0: | |
# State 2553 | |
if len(subjects) == 0: | |
# 1: b*v**n | |
yield 1, subst3 | |
subjects21.appendleft(tmp25) | |
if len(subjects21) >= 1 and subjects21[0] == 2: | |
tmp27 = subjects21.popleft() | |
# State 5319 | |
if len(subjects21) == 0: | |
# State 5320 | |
if len(subjects) == 0: | |
# 10: c*x**2 | |
yield 10, subst2 | |
subjects21.appendleft(tmp27) | |
subjects21.appendleft(tmp22) | |
subjects.appendleft(tmp20) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3198 | |
if len(subjects) >= 1: | |
tmp29 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0', tmp29) | |
except ValueError: | |
pass | |
else: | |
# State 3199 | |
if len(subjects) == 0: | |
# 2: x*d | |
yield 2, subst2 | |
subjects.appendleft(tmp29) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp31 = subjects.popleft() | |
subjects32 = deque(tmp31._args) | |
# State 5183 | |
if len(subjects32) >= 1: | |
tmp33 = subjects32.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0', tmp33) | |
except ValueError: | |
pass | |
else: | |
# State 5184 | |
if len(subjects32) >= 1 and subjects32[0] == 2: | |
tmp35 = subjects32.popleft() | |
# State 5185 | |
if len(subjects32) == 0: | |
# State 5186 | |
if len(subjects) == 0: | |
# 7: v**2*c | |
yield 7, subst2 | |
subjects32.appendleft(tmp35) | |
subjects32.appendleft(tmp33) | |
subjects.appendleft(tmp31) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_3', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3253 | |
if len(subjects) >= 1: | |
tmp37 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp37) | |
except ValueError: | |
pass | |
else: | |
# State 3254 | |
if len(subjects) == 0: | |
# 3: x*f | |
yield 3, subst2 | |
subjects.appendleft(tmp37) | |
if len(subjects) >= 1: | |
tmp39 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp39) | |
except ValueError: | |
pass | |
else: | |
# State 5232 | |
if len(subjects) == 0: | |
# 9: e*x | |
yield 9, subst2 | |
subjects.appendleft(tmp39) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp41 = subjects.popleft() | |
associative1 = tmp41 | |
associative_type1 = type(tmp41) | |
subjects42 = deque(tmp41._args) | |
matcher = CommutativeMatcher2499.get() | |
tmp43 = subjects42 | |
subjects42 = [] | |
for s in tmp43: | |
matcher.add_subject(s) | |
for pattern_index, subst1 in matcher.match(tmp43, subst0): | |
if pattern_index == 0: | |
# State 2500 | |
if len(subjects) == 0: | |
# 0: v*b | |
yield 0, subst1 | |
if pattern_index == 1: | |
# State 2560 | |
if len(subjects) == 0: | |
# 1: b*v**n | |
yield 1, subst1 | |
if pattern_index == 2: | |
# State 3200 | |
if len(subjects) == 0: | |
# 2: x*d | |
yield 2, subst1 | |
if pattern_index == 3: | |
# State 3255 | |
if len(subjects) == 0: | |
# 3: x*f | |
yield 3, subst1 | |
if pattern_index == 4: | |
# State 4000 | |
if len(subjects) == 0: | |
# 4: v**2*c | |
yield 4, subst1 | |
if pattern_index == 5: | |
# State 4013 | |
if len(subjects) == 0: | |
# 5: b*x | |
yield 5, subst1 | |
if pattern_index == 6: | |
# State 4629 | |
if len(subjects) == 0: | |
# 6: e*x | |
yield 6, subst1 | |
if pattern_index == 7: | |
# State 5190 | |
if len(subjects) == 0: | |
# 7: v**2*c | |
yield 7, subst1 | |
if pattern_index == 8: | |
# State 5231 | |
if len(subjects) == 0: | |
# 8: f*x**2 | |
yield 8, subst1 | |
if pattern_index == 9: | |
# State 5233 | |
if len(subjects) == 0: | |
# 9: e*x | |
yield 9, subst1 | |
if pattern_index == 10: | |
# State 5321 | |
if len(subjects) == 0: | |
# 10: c*x**2 | |
yield 10, subst1 | |
subjects.appendleft(tmp41) | |
return | |
yield | |
class CommutativeMatcher3148(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_3', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
2: (2, Multiset({}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher3148._instance is None: | |
CommutativeMatcher3148._instance = CommutativeMatcher3148() | |
return CommutativeMatcher3148._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 3147 | |
return | |
yield | |
class CommutativeMatcher3284(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher3284._instance is None: | |
CommutativeMatcher3284._instance = CommutativeMatcher3284() | |
return CommutativeMatcher3284._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 3283 | |
return | |
yield | |
class CommutativeMatcher3155(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_3', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
2: (2, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.1.0_3', 1, 1, S(1)), Mul) | |
]), | |
3: (3, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_4', 1, 1, S(1)), Mul) | |
]), | |
4: (4, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
5: (5, Multiset({}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]), | |
6: (6, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.1.0_4', 1, 1, S(1)), Mul) | |
]), | |
7: (7, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_5', 1, 1, S(1)), Mul) | |
]), | |
8: (8, Multiset({1: 1}), [ | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]), | |
9: (9, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_3', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher3155._instance is None: | |
CommutativeMatcher3155._instance = CommutativeMatcher3155() | |
return CommutativeMatcher3155._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 3154 | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp1 = subjects.popleft() | |
subjects2 = deque(tmp1._args) | |
# State 4536 | |
if len(subjects2) >= 1: | |
tmp3 = subjects2.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0', tmp3) | |
except ValueError: | |
pass | |
else: | |
# State 4537 | |
if len(subjects2) >= 1 and subjects2[0] == 2: | |
tmp5 = subjects2.popleft() | |
# State 4538 | |
if len(subjects2) == 0: | |
# State 4539 | |
if len(subjects) == 0: | |
# 0: v**2 | |
yield 0, subst1 | |
subjects2.appendleft(tmp5) | |
subjects2.appendleft(tmp3) | |
if len(subjects2) >= 1: | |
tmp6 = subjects2.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.1', tmp6) | |
except ValueError: | |
pass | |
else: | |
# State 5796 | |
if len(subjects2) >= 1 and subjects2[0] == 2: | |
tmp8 = subjects2.popleft() | |
# State 5797 | |
if len(subjects2) == 0: | |
# State 5798 | |
if len(subjects) == 0: | |
# 1: x**2 | |
yield 1, subst1 | |
subjects2.appendleft(tmp8) | |
subjects2.appendleft(tmp6) | |
subjects.appendleft(tmp1) | |
return | |
yield | |
class CommutativeMatcher3151(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
1: (1, Multiset({1: 1}), [ | |
(VariableWithCount('i2.2.0_3', 1, 1, S(0)), Add) | |
]), | |
2: (2, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, None), Add) | |
]), | |
3: (3, Multiset({2: 1, 3: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
4: (4, Multiset({4: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
5: (5, Multiset({5: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
6: (6, Multiset({4: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, None), Add) | |
]), | |
7: (7, Multiset({2: 1, 3: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, None), Add) | |
]), | |
8: (8, Multiset({6: 1, 7: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, None), Add) | |
]), | |
9: (9, Multiset({6: 1, 7: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
10: (10, Multiset({8: 1, 9: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Add | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher3151._instance is None: | |
CommutativeMatcher3151._instance = CommutativeMatcher3151() | |
return CommutativeMatcher3151._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 3150 | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_3', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3152 | |
if len(subjects) >= 1: | |
tmp2 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp2) | |
except ValueError: | |
pass | |
else: | |
# State 3153 | |
if len(subjects) == 0: | |
# 0: x*f | |
yield 0, subst2 | |
subjects.appendleft(tmp2) | |
if len(subjects) >= 1: | |
tmp4 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp4) | |
except ValueError: | |
pass | |
else: | |
# State 5800 | |
if len(subjects) == 0: | |
# 9: e*x | |
yield 9, subst2 | |
subjects.appendleft(tmp4) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp6 = subjects.popleft() | |
subjects7 = deque(tmp6._args) | |
# State 4532 | |
if len(subjects7) >= 1: | |
tmp8 = subjects7.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp8) | |
except ValueError: | |
pass | |
else: | |
# State 4533 | |
if len(subjects7) >= 1 and subjects7[0] == 2: | |
tmp10 = subjects7.popleft() | |
# State 4534 | |
if len(subjects7) == 0: | |
# State 4535 | |
if len(subjects) == 0: | |
# 2: v**2*c | |
yield 2, subst2 | |
subjects7.appendleft(tmp10) | |
subjects7.appendleft(tmp8) | |
subjects.appendleft(tmp6) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3286 | |
if len(subjects) >= 1: | |
tmp12 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0', tmp12) | |
except ValueError: | |
pass | |
else: | |
# State 3287 | |
if len(subjects) == 0: | |
# 1: x*d | |
yield 1, subst2 | |
subjects.appendleft(tmp12) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_4', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 4541 | |
if len(subjects) >= 1: | |
tmp15 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp15) | |
except ValueError: | |
pass | |
else: | |
# State 4542 | |
if len(subjects) == 0: | |
# 3: x*h | |
yield 3, subst2 | |
subjects.appendleft(tmp15) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp17 = subjects.popleft() | |
subjects18 = deque(tmp17._args) | |
# State 5430 | |
if len(subjects18) >= 1: | |
tmp19 = subjects18.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp19) | |
except ValueError: | |
pass | |
else: | |
# State 5431 | |
if len(subjects18) >= 1 and subjects18[0] == 2: | |
tmp21 = subjects18.popleft() | |
# State 5432 | |
if len(subjects18) == 0: | |
# State 5433 | |
if len(subjects) == 0: | |
# 6: v**2*f | |
yield 6, subst2 | |
subjects18.appendleft(tmp21) | |
subjects18.appendleft(tmp19) | |
subjects.appendleft(tmp17) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 4553 | |
if len(subjects) >= 1: | |
tmp23 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp23) | |
except ValueError: | |
pass | |
else: | |
# State 4554 | |
if len(subjects) == 0: | |
# 4: e*x | |
yield 4, subst2 | |
subjects.appendleft(tmp23) | |
if len(subjects) >= 1: | |
tmp25 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0', tmp25) | |
except ValueError: | |
pass | |
else: | |
# State 4769 | |
if len(subjects) == 0: | |
# 5: x*g | |
yield 5, subst2 | |
subjects.appendleft(tmp25) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp27 = subjects.popleft() | |
subjects28 = deque(tmp27._args) | |
# State 5792 | |
if len(subjects28) >= 1: | |
tmp29 = subjects28.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp29) | |
except ValueError: | |
pass | |
else: | |
# State 5793 | |
if len(subjects28) >= 1 and subjects28[0] == 2: | |
tmp31 = subjects28.popleft() | |
# State 5794 | |
if len(subjects28) == 0: | |
# State 5795 | |
if len(subjects) == 0: | |
# 8: f*x**2 | |
yield 8, subst2 | |
subjects28.appendleft(tmp31) | |
subjects28.appendleft(tmp29) | |
subjects.appendleft(tmp27) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_5', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 5435 | |
if len(subjects) >= 1: | |
tmp33 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp33) | |
except ValueError: | |
pass | |
else: | |
# State 5436 | |
if len(subjects) == 0: | |
# 7: x*e | |
yield 7, subst2 | |
subjects.appendleft(tmp33) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp35 = subjects.popleft() | |
associative1 = tmp35 | |
associative_type1 = type(tmp35) | |
subjects36 = deque(tmp35._args) | |
matcher = CommutativeMatcher3155.get() | |
tmp37 = subjects36 | |
subjects36 = [] | |
for s in tmp37: | |
matcher.add_subject(s) | |
for pattern_index, subst1 in matcher.match(tmp37, subst0): | |
if pattern_index == 0: | |
# State 3156 | |
if len(subjects) == 0: | |
# 0: x*f | |
yield 0, subst1 | |
if pattern_index == 1: | |
# State 3288 | |
if len(subjects) == 0: | |
# 1: x*d | |
yield 1, subst1 | |
if pattern_index == 2: | |
# State 4540 | |
if len(subjects) == 0: | |
# 2: v**2*c | |
yield 2, subst1 | |
if pattern_index == 3: | |
# State 4543 | |
if len(subjects) == 0: | |
# 3: x*h | |
yield 3, subst1 | |
if pattern_index == 4: | |
# State 4555 | |
if len(subjects) == 0: | |
# 4: e*x | |
yield 4, subst1 | |
if pattern_index == 5: | |
# State 4770 | |
if len(subjects) == 0: | |
# 5: x*g | |
yield 5, subst1 | |
if pattern_index == 6: | |
# State 5434 | |
if len(subjects) == 0: | |
# 6: v**2*f | |
yield 6, subst1 | |
if pattern_index == 7: | |
# State 5437 | |
if len(subjects) == 0: | |
# 7: x*e | |
yield 7, subst1 | |
if pattern_index == 8: | |
# State 5799 | |
if len(subjects) == 0: | |
# 8: f*x**2 | |
yield 8, subst1 | |
if pattern_index == 9: | |
# State 5801 | |
if len(subjects) == 0: | |
# 9: e*x | |
yield 9, subst1 | |
subjects.appendleft(tmp35) | |
return | |
yield | |
class CommutativeMatcher3181(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.1.1.0', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul) | |
]), | |
1: (1, Multiset({}), [ | |
(VariableWithCount('i2.1.1.0', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
2: (2, Multiset({0: 1}), [ | |
(VariableWithCount('i2.1.1.0', 1, 1, S(1)), Mul) | |
]), | |
3: (3, Multiset({1: 1}), [ | |
(VariableWithCount('i2.1.1.0', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher3181._instance is None: | |
CommutativeMatcher3181._instance = CommutativeMatcher3181() | |
return CommutativeMatcher3181._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 3180 | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp1 = subjects.popleft() | |
subjects2 = deque(tmp1._args) | |
# State 5572 | |
if len(subjects2) >= 1: | |
tmp3 = subjects2.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.1', tmp3) | |
except ValueError: | |
pass | |
else: | |
# State 5573 | |
if len(subjects2) >= 1 and subjects2[0] == 2: | |
tmp5 = subjects2.popleft() | |
# State 5574 | |
if len(subjects2) == 0: | |
# State 5575 | |
if len(subjects) == 0: | |
# 0: x**2 | |
yield 0, subst1 | |
subjects2.appendleft(tmp5) | |
subjects2.appendleft(tmp3) | |
if len(subjects2) >= 1: | |
tmp6 = subjects2.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0', tmp6) | |
except ValueError: | |
pass | |
else: | |
# State 5590 | |
if len(subjects2) >= 1 and subjects2[0] == 2: | |
tmp8 = subjects2.popleft() | |
# State 5591 | |
if len(subjects2) == 0: | |
# State 5592 | |
if len(subjects) == 0: | |
# 1: v**2 | |
yield 1, subst1 | |
subjects2.appendleft(tmp8) | |
subjects2.appendleft(tmp6) | |
subjects.appendleft(tmp1) | |
return | |
yield | |
class CommutativeMatcher3566(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.1.1.0_1', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul) | |
]), | |
1: (1, Multiset({}), [ | |
(VariableWithCount('i2.1.1.0_1', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher3566._instance is None: | |
CommutativeMatcher3566._instance = CommutativeMatcher3566() | |
return CommutativeMatcher3566._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 3565 | |
return | |
yield | |
class CommutativeMatcher3726(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_4', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher3726._instance is None: | |
CommutativeMatcher3726._instance = CommutativeMatcher3726() | |
return CommutativeMatcher3726._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 3725 | |
return | |
yield | |
class CommutativeMatcher3733(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_4', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.1.0_4', 1, 1, S(1)), Mul) | |
]), | |
2: (2, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_5', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher3733._instance is None: | |
CommutativeMatcher3733._instance = CommutativeMatcher3733() | |
return CommutativeMatcher3733._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 3732 | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp1 = subjects.popleft() | |
subjects2 = deque(tmp1._args) | |
# State 5825 | |
if len(subjects2) >= 1: | |
tmp3 = subjects2.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0', tmp3) | |
except ValueError: | |
pass | |
else: | |
# State 5826 | |
if len(subjects2) >= 1 and subjects2[0] == 2: | |
tmp5 = subjects2.popleft() | |
# State 5827 | |
if len(subjects2) == 0: | |
# State 5828 | |
if len(subjects) == 0: | |
# 0: v**2 | |
yield 0, subst1 | |
subjects2.appendleft(tmp5) | |
subjects2.appendleft(tmp3) | |
subjects.appendleft(tmp1) | |
return | |
yield | |
class CommutativeMatcher3729(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.0_3', 1, 1, S(0)), Add) | |
]), | |
1: (1, Multiset({1: 1, 2: 1}), [ | |
(VariableWithCount('i2.2.0_3', 1, 1, S(0)), Add) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Add | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher3729._instance is None: | |
CommutativeMatcher3729._instance = CommutativeMatcher3729() | |
return CommutativeMatcher3729._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 3728 | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_4', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3730 | |
if len(subjects) >= 1: | |
tmp2 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp2) | |
except ValueError: | |
pass | |
else: | |
# State 3731 | |
if len(subjects) == 0: | |
# 0: x*h | |
yield 0, subst2 | |
subjects.appendleft(tmp2) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp4 = subjects.popleft() | |
subjects5 = deque(tmp4._args) | |
# State 5821 | |
if len(subjects5) >= 1: | |
tmp6 = subjects5.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp6) | |
except ValueError: | |
pass | |
else: | |
# State 5822 | |
if len(subjects5) >= 1 and subjects5[0] == 2: | |
tmp8 = subjects5.popleft() | |
# State 5823 | |
if len(subjects5) == 0: | |
# State 5824 | |
if len(subjects) == 0: | |
# 1: v**2*f | |
yield 1, subst2 | |
subjects5.appendleft(tmp8) | |
subjects5.appendleft(tmp6) | |
subjects.appendleft(tmp4) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_5', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 5830 | |
if len(subjects) >= 1: | |
tmp10 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp10) | |
except ValueError: | |
pass | |
else: | |
# State 5831 | |
if len(subjects) == 0: | |
# 2: x*e | |
yield 2, subst2 | |
subjects.appendleft(tmp10) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp12 = subjects.popleft() | |
associative1 = tmp12 | |
associative_type1 = type(tmp12) | |
subjects13 = deque(tmp12._args) | |
matcher = CommutativeMatcher3733.get() | |
tmp14 = subjects13 | |
subjects13 = [] | |
for s in tmp14: | |
matcher.add_subject(s) | |
for pattern_index, subst1 in matcher.match(tmp14, subst0): | |
if pattern_index == 0: | |
# State 3734 | |
if len(subjects) == 0: | |
# 0: x*h | |
yield 0, subst1 | |
if pattern_index == 1: | |
# State 5829 | |
if len(subjects) == 0: | |
# 1: v**2*f | |
yield 1, subst1 | |
if pattern_index == 2: | |
# State 5832 | |
if len(subjects) == 0: | |
# 2: x*e | |
yield 2, subst1 | |
subjects.appendleft(tmp12) | |
return | |
yield | |
class CommutativeMatcher2277(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({1: 1}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
2: (2, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
3: (3, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]), | |
4: (4, Multiset({2: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
5: (5, Multiset({3: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
6: (6, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
7: (7, Multiset({4: 1}), [ | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]), | |
8: (8, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
9: (9, Multiset({}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
10: (10, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_3', 1, 1, S(1)), Mul) | |
]), | |
11: (11, Multiset({}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
12: (12, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_4', 1, 1, S(1)), Mul) | |
]), | |
13: (13, Multiset({5: 1}), [ | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]), | |
14: (14, Multiset({6: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
15: (15, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
16: (16, Multiset({7: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
17: (17, Multiset({}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
18: (18, Multiset({5: 1}), [ | |
(VariableWithCount('i2.2.1.0_3', 1, 1, S(1)), Mul) | |
]), | |
19: (19, Multiset({}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]), | |
20: (20, Multiset({6: 1}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
21: (21, Multiset({3: 1}), [ | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]), | |
22: (22, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_3', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
23: (23, Multiset({3: 1}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
24: (24, Multiset({5: 1}), [ | |
(VariableWithCount('i2.2.1.0_4', 1, 1, S(1)), Mul) | |
]), | |
25: (25, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_5', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2277._instance is None: | |
CommutativeMatcher2277._instance = CommutativeMatcher2277() | |
return CommutativeMatcher2277._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2276 | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2278 | |
if len(subjects) >= 1: | |
tmp2 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp2) | |
except ValueError: | |
pass | |
else: | |
# State 2279 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
subjects.appendleft(tmp2) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.2_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2343 | |
if len(subjects) >= 1: | |
tmp5 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp5) | |
except ValueError: | |
pass | |
else: | |
# State 2344 | |
if len(subjects) == 0: | |
# 1: v**n | |
yield 1, subst2 | |
subjects.appendleft(tmp5) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.2_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2726 | |
if len(subjects) >= 1: | |
tmp8 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp8) | |
except ValueError: | |
pass | |
else: | |
# State 2727 | |
if len(subjects) == 0: | |
# 4: x**r | |
yield 4, subst2 | |
subjects.appendleft(tmp8) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp10 = subjects.popleft() | |
subjects11 = deque(tmp10._args) | |
# State 2280 | |
if len(subjects11) >= 1: | |
tmp12 = subjects11.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.1', tmp12) | |
except ValueError: | |
pass | |
else: | |
# State 2281 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2282 | |
if len(subjects11) == 0: | |
# State 2283 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
if len(subjects11) >= 1: | |
tmp15 = subjects11.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', tmp15) | |
except ValueError: | |
pass | |
else: | |
# State 2282 | |
if len(subjects11) == 0: | |
# State 2283 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
subjects11.appendleft(tmp15) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2345 | |
if len(subjects11) == 0: | |
# State 2346 | |
if len(subjects) == 0: | |
# 1: v**n | |
yield 1, subst2 | |
if len(subjects11) >= 1: | |
tmp18 = subjects11.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_1', tmp18) | |
except ValueError: | |
pass | |
else: | |
# State 2345 | |
if len(subjects11) == 0: | |
# State 2346 | |
if len(subjects) == 0: | |
# 1: v**n | |
yield 1, subst2 | |
subjects11.appendleft(tmp18) | |
if len(subjects11) >= 1: | |
tmp20 = subjects11.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', tmp20) | |
except ValueError: | |
pass | |
else: | |
# State 2576 | |
if len(subjects11) == 0: | |
# State 2577 | |
if len(subjects) == 0: | |
# 2: x**j | |
yield 2, subst2 | |
subjects11.appendleft(tmp20) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2728 | |
if len(subjects11) == 0: | |
# State 2729 | |
if len(subjects) == 0: | |
# 4: x**r | |
yield 4, subst2 | |
if len(subjects11) >= 1: | |
tmp23 = subjects11.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_2', tmp23) | |
except ValueError: | |
pass | |
else: | |
# State 2728 | |
if len(subjects11) == 0: | |
# State 2729 | |
if len(subjects) == 0: | |
# 4: x**r | |
yield 4, subst2 | |
subjects11.appendleft(tmp23) | |
if len(subjects11) >= 1 and subjects11[0] == 2: | |
tmp25 = subjects11.popleft() | |
# State 2617 | |
if len(subjects11) == 0: | |
# State 2618 | |
if len(subjects) == 0: | |
# 3: x**2 | |
yield 3, subst1 | |
subjects11.appendleft(tmp25) | |
subjects11.appendleft(tmp12) | |
if len(subjects11) >= 1: | |
tmp26 = subjects11.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0', tmp26) | |
except ValueError: | |
pass | |
else: | |
# State 3917 | |
if len(subjects11) >= 1 and subjects11[0] == 2: | |
tmp28 = subjects11.popleft() | |
# State 3918 | |
if len(subjects11) == 0: | |
# State 3919 | |
if len(subjects) == 0: | |
# 5: v**2 | |
yield 5, subst1 | |
subjects11.appendleft(tmp28) | |
subjects11.appendleft(tmp26) | |
if len(subjects11) >= 1: | |
tmp29 = subjects11.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.0', tmp29) | |
except ValueError: | |
pass | |
else: | |
# State 4118 | |
if len(subjects11) >= 1 and subjects11[0] == 2: | |
tmp31 = subjects11.popleft() | |
# State 4119 | |
if len(subjects11) == 0: | |
# State 4120 | |
if len(subjects) == 0: | |
# 6: v**2 | |
yield 6, subst1 | |
subjects11.appendleft(tmp31) | |
subjects11.appendleft(tmp29) | |
if len(subjects11) >= 1: | |
tmp32 = subjects11.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.0_1', tmp32) | |
except ValueError: | |
pass | |
else: | |
# State 4311 | |
if len(subjects11) >= 1 and subjects11[0] == 2: | |
tmp34 = subjects11.popleft() | |
# State 4312 | |
if len(subjects11) == 0: | |
# State 4313 | |
if len(subjects) == 0: | |
# 7: x**2 | |
yield 7, subst1 | |
subjects11.appendleft(tmp34) | |
subjects11.appendleft(tmp32) | |
subjects.appendleft(tmp10) | |
return | |
yield | |
class CommutativeMatcher2268(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
1: (1, Multiset({0: 1, 1: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
2: (2, Multiset({0: 1, 1: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
3: (3, Multiset({2: 1, 3: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
4: (4, Multiset({2: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
5: (5, Multiset({3: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Add) | |
]), | |
6: (6, Multiset({1: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Add) | |
]), | |
7: (7, Multiset({4: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
8: (8, Multiset({5: 1, 6: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
9: (9, Multiset({1: 1, 4: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
10: (10, Multiset({5: 1, 6: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
11: (11, Multiset({0: 1, 1: 1}), [ | |
]), | |
12: (12, Multiset({0: 1, 1: 1, 7: 1}), [ | |
]), | |
13: (13, Multiset({8: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Add) | |
]), | |
14: (14, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
15: (15, Multiset({2: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
16: (16, Multiset({3: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, S(0)), Add) | |
]), | |
17: (17, Multiset({9: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, None), Add) | |
]), | |
18: (18, Multiset({10: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
19: (19, Multiset({9: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
20: (20, Multiset({11: 1}), [ | |
(VariableWithCount('i2.2.0_3', 1, 1, S(0)), Add) | |
]), | |
21: (21, Multiset({11: 1}), [ | |
(VariableWithCount('i2.2.0_3', 1, 1, None), Add) | |
]), | |
22: (22, Multiset({10: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, None), Add) | |
]), | |
23: (23, Multiset({12: 1}), [ | |
(VariableWithCount('i2.2.0_3', 1, 1, S(0)), Add) | |
]), | |
24: (24, Multiset({13: 1, 10: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Add) | |
]), | |
25: (25, Multiset({13: 1, 10: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, S(0)), Add) | |
]), | |
26: (26, Multiset({5: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Add) | |
]), | |
27: (27, Multiset({6: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Add) | |
]), | |
28: (28, Multiset({14: 1, 11: 1}), [ | |
]), | |
29: (29, Multiset({5: 1, 6: 1}), [ | |
]), | |
30: (30, Multiset({15: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
31: (31, Multiset({16: 1, 17: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, None), Add) | |
]), | |
32: (32, Multiset({6: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, S(0)), Add) | |
]), | |
33: (33, Multiset({18: 1, 12: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
34: (34, Multiset({15: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
35: (35, Multiset({19: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
36: (36, Multiset({14: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, None), Add) | |
]), | |
37: (37, Multiset({16: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, None), Add) | |
]), | |
38: (38, Multiset({5: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
39: (39, Multiset({15: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, None), Add) | |
]), | |
40: (40, Multiset({20: 1, 19: 1}), [ | |
(VariableWithCount('i2.2.0_3', 1, 1, None), Add) | |
]), | |
41: (41, Multiset({18: 1, 12: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, None), Add) | |
]), | |
42: (42, Multiset({21: 1, 22: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Add) | |
]), | |
43: (43, Multiset({23: 1, 15: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Add) | |
]), | |
44: (44, Multiset({21: 1, 22: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, S(0)), Add) | |
]), | |
45: (45, Multiset({23: 1, 15: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, S(0)), Add) | |
]), | |
46: (46, Multiset({24: 1, 25: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, None), Add) | |
]), | |
47: (47, Multiset({21: 1, 22: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, None), Add) | |
]), | |
48: (48, Multiset({24: 1, 25: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
49: (49, Multiset({21: 1, 22: 1}), [ | |
(VariableWithCount('i2.2.0_2', 1, 1, S(0)), Add) | |
]), | |
50: (50, Multiset({23: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, S(0)), Add) | |
]), | |
51: (51, Multiset({21: 1, 22: 1}), [ | |
(VariableWithCount('i2.2.0', 1, 1, S(0)), Add) | |
]), | |
52: (52, Multiset({23: 1, 15: 1}), [ | |
]), | |
53: (53, Multiset({23: 1}), [ | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Add) | |
]), | |
54: (54, Multiset({24: 1, 25: 1}), [ | |
(VariableWithCount('i2.2.0_3', 1, 1, S(0)), Add) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Add | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2268._instance is None: | |
CommutativeMatcher2268._instance = CommutativeMatcher2268() | |
return CommutativeMatcher2268._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2267 | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2269 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2270 | |
if len(subjects) >= 1: | |
tmp3 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.1', tmp3) | |
except ValueError: | |
pass | |
else: | |
# State 2271 | |
if len(subjects) == 0: | |
# 0: b*v**m | |
yield 0, subst3 | |
subjects.appendleft(tmp3) | |
if len(subjects) >= 1: | |
tmp5 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0', tmp5) | |
except ValueError: | |
pass | |
else: | |
# State 3114 | |
if len(subjects) == 0: | |
# 9: x*d | |
yield 9, subst2 | |
subjects.appendleft(tmp5) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp7 = subjects.popleft() | |
subjects8 = deque(tmp7._args) | |
# State 2272 | |
if len(subjects8) >= 1: | |
tmp9 = subjects8.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp9) | |
except ValueError: | |
pass | |
else: | |
# State 2273 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2274 | |
if len(subjects8) == 0: | |
# State 2275 | |
if len(subjects) == 0: | |
# 0: b*v**m | |
yield 0, subst3 | |
if len(subjects8) >= 1: | |
tmp12 = subjects8.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2', tmp12) | |
except ValueError: | |
pass | |
else: | |
# State 2274 | |
if len(subjects8) == 0: | |
# State 2275 | |
if len(subjects) == 0: | |
# 0: b*v**m | |
yield 0, subst3 | |
subjects8.appendleft(tmp12) | |
if len(subjects8) >= 1: | |
tmp14 = subjects8.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2', tmp14) | |
except ValueError: | |
pass | |
else: | |
# State 2574 | |
if len(subjects8) == 0: | |
# State 2575 | |
if len(subjects) == 0: | |
# 4: d*x**j | |
yield 4, subst3 | |
subjects8.appendleft(tmp14) | |
if len(subjects8) >= 1 and subjects8[0] == 2: | |
tmp16 = subjects8.popleft() | |
# State 2615 | |
if len(subjects8) == 0: | |
# State 2616 | |
if len(subjects) == 0: | |
# 5: c*x**2 | |
yield 5, subst2 | |
subjects8.appendleft(tmp16) | |
subjects8.appendleft(tmp9) | |
if len(subjects8) >= 1: | |
tmp17 = subjects8.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0', tmp17) | |
except ValueError: | |
pass | |
else: | |
# State 4115 | |
if len(subjects8) >= 1 and subjects8[0] == 2: | |
tmp19 = subjects8.popleft() | |
# State 4116 | |
if len(subjects8) == 0: | |
# State 4117 | |
if len(subjects) == 0: | |
# 14: v**2*c | |
yield 14, subst2 | |
subjects8.appendleft(tmp19) | |
subjects8.appendleft(tmp17) | |
if len(subjects8) >= 1: | |
tmp20 = subjects8.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0_1', tmp20) | |
except ValueError: | |
pass | |
else: | |
# State 4308 | |
if len(subjects8) >= 1 and subjects8[0] == 2: | |
tmp22 = subjects8.popleft() | |
# State 4309 | |
if len(subjects8) == 0: | |
# State 4310 | |
if len(subjects) == 0: | |
# 16: x**2*c | |
yield 16, subst2 | |
subjects8.appendleft(tmp22) | |
subjects8.appendleft(tmp20) | |
subjects.appendleft(tmp7) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2336 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2337 | |
if len(subjects) >= 1: | |
tmp25 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.1', tmp25) | |
except ValueError: | |
pass | |
else: | |
# State 2338 | |
if len(subjects) == 0: | |
# 1: b*v**n | |
yield 1, subst3 | |
subjects.appendleft(tmp25) | |
if len(subjects) >= 1: | |
tmp27 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp27) | |
except ValueError: | |
pass | |
else: | |
# State 2404 | |
if len(subjects) == 0: | |
# 2: v*a | |
yield 2, subst2 | |
subjects.appendleft(tmp27) | |
if len(subjects) >= 1: | |
tmp29 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp29) | |
except ValueError: | |
pass | |
else: | |
# State 2620 | |
if len(subjects) == 0: | |
# 6: b*x | |
yield 6, subst2 | |
subjects.appendleft(tmp29) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2756 | |
if len(subjects) >= 1: | |
tmp32 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.1', tmp32) | |
except ValueError: | |
pass | |
else: | |
# State 2757 | |
if len(subjects) == 0: | |
# 8: b2*v**m | |
yield 8, subst3 | |
subjects.appendleft(tmp32) | |
if len(subjects) >= 1: | |
tmp34 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0', tmp34) | |
except ValueError: | |
pass | |
else: | |
# State 3300 | |
if len(subjects) == 0: | |
# 11: x*d | |
yield 11, subst2 | |
subjects.appendleft(tmp34) | |
if len(subjects) >= 1: | |
tmp36 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0_1', tmp36) | |
except ValueError: | |
pass | |
else: | |
# State 4315 | |
if len(subjects) == 0: | |
# 17: x*b | |
yield 17, subst2 | |
subjects.appendleft(tmp36) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp38 = subjects.popleft() | |
subjects39 = deque(tmp38._args) | |
# State 2339 | |
if len(subjects39) >= 1: | |
tmp40 = subjects39.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp40) | |
except ValueError: | |
pass | |
else: | |
# State 2340 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2341 | |
if len(subjects39) == 0: | |
# State 2342 | |
if len(subjects) == 0: | |
# 1: b*v**n | |
yield 1, subst3 | |
if len(subjects39) >= 1: | |
tmp43 = subjects39.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_1', tmp43) | |
except ValueError: | |
pass | |
else: | |
# State 2341 | |
if len(subjects39) == 0: | |
# State 2342 | |
if len(subjects) == 0: | |
# 1: b*v**n | |
yield 1, subst3 | |
subjects39.appendleft(tmp43) | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2758 | |
if len(subjects39) == 0: | |
# State 2759 | |
if len(subjects) == 0: | |
# 8: b2*v**m | |
yield 8, subst3 | |
if len(subjects39) >= 1: | |
tmp46 = subjects39.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2', tmp46) | |
except ValueError: | |
pass | |
else: | |
# State 2758 | |
if len(subjects39) == 0: | |
# State 2759 | |
if len(subjects) == 0: | |
# 8: b2*v**m | |
yield 8, subst3 | |
subjects39.appendleft(tmp46) | |
if len(subjects39) >= 1 and subjects39[0] == 2: | |
tmp48 = subjects39.popleft() | |
# State 5252 | |
if len(subjects39) == 0: | |
# State 5253 | |
if len(subjects) == 0: | |
# 23: c*x**2 | |
yield 23, subst2 | |
subjects39.appendleft(tmp48) | |
subjects39.appendleft(tmp40) | |
if len(subjects39) >= 1: | |
tmp49 = subjects39.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0', tmp49) | |
except ValueError: | |
pass | |
else: | |
# State 5137 | |
if len(subjects39) >= 1 and subjects39[0] == 2: | |
tmp51 = subjects39.popleft() | |
# State 5138 | |
if len(subjects39) == 0: | |
# State 5139 | |
if len(subjects) == 0: | |
# 20: v**2*c | |
yield 20, subst2 | |
subjects39.appendleft(tmp51) | |
subjects39.appendleft(tmp49) | |
subjects.appendleft(tmp38) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2406 | |
if len(subjects) >= 1: | |
tmp53 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp53) | |
except ValueError: | |
pass | |
else: | |
# State 2407 | |
if len(subjects) == 0: | |
# 3: v*b | |
yield 3, subst2 | |
subjects.appendleft(tmp53) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2720 | |
if len(subjects) >= 1: | |
tmp56 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.1', tmp56) | |
except ValueError: | |
pass | |
else: | |
# State 2721 | |
if len(subjects) == 0: | |
# 7: c*x**r | |
yield 7, subst3 | |
subjects.appendleft(tmp56) | |
if len(subjects) >= 1: | |
tmp58 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp58) | |
except ValueError: | |
pass | |
else: | |
# State 4290 | |
if len(subjects) == 0: | |
# 15: e*x | |
yield 15, subst2 | |
subjects.appendleft(tmp58) | |
if len(subjects) >= 1: | |
tmp60 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0', tmp60) | |
except ValueError: | |
pass | |
else: | |
# State 4778 | |
if len(subjects) == 0: | |
# 19: x*g | |
yield 19, subst2 | |
subjects.appendleft(tmp60) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp62 = subjects.popleft() | |
subjects63 = deque(tmp62._args) | |
# State 2722 | |
if len(subjects63) >= 1: | |
tmp64 = subjects63.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp64) | |
except ValueError: | |
pass | |
else: | |
# State 2723 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2724 | |
if len(subjects63) == 0: | |
# State 2725 | |
if len(subjects) == 0: | |
# 7: c*x**r | |
yield 7, subst3 | |
if len(subjects63) >= 1: | |
tmp67 = subjects63.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.2_2', tmp67) | |
except ValueError: | |
pass | |
else: | |
# State 2724 | |
if len(subjects63) == 0: | |
# State 2725 | |
if len(subjects) == 0: | |
# 7: c*x**r | |
yield 7, subst3 | |
subjects63.appendleft(tmp67) | |
if len(subjects63) >= 1 and subjects63[0] == 2: | |
tmp69 = subjects63.popleft() | |
# State 5235 | |
if len(subjects63) == 0: | |
# State 5236 | |
if len(subjects) == 0: | |
# 21: f*x**2 | |
yield 21, subst2 | |
subjects63.appendleft(tmp69) | |
subjects63.appendleft(tmp64) | |
if len(subjects63) >= 1: | |
tmp70 = subjects63.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp70) | |
except ValueError: | |
pass | |
else: | |
# State 3914 | |
if len(subjects63) >= 1 and subjects63[0] == 2: | |
tmp72 = subjects63.popleft() | |
# State 3915 | |
if len(subjects63) == 0: | |
# State 3916 | |
if len(subjects) == 0: | |
# 13: v**2*c | |
yield 13, subst2 | |
subjects63.appendleft(tmp72) | |
subjects63.appendleft(tmp70) | |
subjects.appendleft(tmp62) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_3', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3168 | |
if len(subjects) >= 1: | |
tmp74 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp74) | |
except ValueError: | |
pass | |
else: | |
# State 3169 | |
if len(subjects) == 0: | |
# 10: x*f | |
yield 10, subst2 | |
subjects.appendleft(tmp74) | |
if len(subjects) >= 1: | |
tmp76 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp76) | |
except ValueError: | |
pass | |
else: | |
# State 5238 | |
if len(subjects) == 0: | |
# 22: e*x | |
yield 22, subst2 | |
subjects.appendleft(tmp76) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp78 = subjects.popleft() | |
subjects79 = deque(tmp78._args) | |
# State 4521 | |
if len(subjects79) >= 1: | |
tmp80 = subjects79.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp80) | |
except ValueError: | |
pass | |
else: | |
# State 4522 | |
if len(subjects79) >= 1 and subjects79[0] == 2: | |
tmp82 = subjects79.popleft() | |
# State 4523 | |
if len(subjects79) == 0: | |
# State 4524 | |
if len(subjects) == 0: | |
# 18: v**2*c | |
yield 18, subst2 | |
subjects79.appendleft(tmp82) | |
subjects79.appendleft(tmp80) | |
subjects.appendleft(tmp78) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_4', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3631 | |
if len(subjects) >= 1: | |
tmp84 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp84) | |
except ValueError: | |
pass | |
else: | |
# State 3632 | |
if len(subjects) == 0: | |
# 12: x*h | |
yield 12, subst2 | |
subjects.appendleft(tmp84) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp86 = subjects.popleft() | |
subjects87 = deque(tmp86._args) | |
# State 5439 | |
if len(subjects87) >= 1: | |
tmp88 = subjects87.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp88) | |
except ValueError: | |
pass | |
else: | |
# State 5440 | |
if len(subjects87) >= 1 and subjects87[0] == 2: | |
tmp90 = subjects87.popleft() | |
# State 5441 | |
if len(subjects87) == 0: | |
# State 5442 | |
if len(subjects) == 0: | |
# 24: v**2*f | |
yield 24, subst2 | |
subjects87.appendleft(tmp90) | |
subjects87.appendleft(tmp88) | |
subjects.appendleft(tmp86) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0_5', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 5444 | |
if len(subjects) >= 1: | |
tmp92 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp92) | |
except ValueError: | |
pass | |
else: | |
# State 5445 | |
if len(subjects) == 0: | |
# 25: x*e | |
yield 25, subst2 | |
subjects.appendleft(tmp92) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp94 = subjects.popleft() | |
associative1 = tmp94 | |
associative_type1 = type(tmp94) | |
subjects95 = deque(tmp94._args) | |
matcher = CommutativeMatcher2277.get() | |
tmp96 = subjects95 | |
subjects95 = [] | |
for s in tmp96: | |
matcher.add_subject(s) | |
for pattern_index, subst1 in matcher.match(tmp96, subst0): | |
if pattern_index == 0: | |
# State 2284 | |
if len(subjects) == 0: | |
# 0: b*v**m | |
yield 0, subst1 | |
if pattern_index == 1: | |
# State 2347 | |
if len(subjects) == 0: | |
# 1: b*v**n | |
yield 1, subst1 | |
if pattern_index == 2: | |
# State 2405 | |
if len(subjects) == 0: | |
# 2: v*a | |
yield 2, subst1 | |
if pattern_index == 3: | |
# State 2408 | |
if len(subjects) == 0: | |
# 3: v*b | |
yield 3, subst1 | |
if pattern_index == 4: | |
# State 2578 | |
if len(subjects) == 0: | |
# 4: d*x**j | |
yield 4, subst1 | |
if pattern_index == 5: | |
# State 2619 | |
if len(subjects) == 0: | |
# 5: c*x**2 | |
yield 5, subst1 | |
if pattern_index == 6: | |
# State 2621 | |
if len(subjects) == 0: | |
# 6: b*x | |
yield 6, subst1 | |
if pattern_index == 7: | |
# State 2730 | |
if len(subjects) == 0: | |
# 7: c*x**r | |
yield 7, subst1 | |
if pattern_index == 8: | |
# State 2760 | |
if len(subjects) == 0: | |
# 8: b2*v**m | |
yield 8, subst1 | |
if pattern_index == 9: | |
# State 3115 | |
if len(subjects) == 0: | |
# 9: x*d | |
yield 9, subst1 | |
if pattern_index == 10: | |
# State 3170 | |
if len(subjects) == 0: | |
# 10: x*f | |
yield 10, subst1 | |
if pattern_index == 11: | |
# State 3301 | |
if len(subjects) == 0: | |
# 11: x*d | |
yield 11, subst1 | |
if pattern_index == 12: | |
# State 3633 | |
if len(subjects) == 0: | |
# 12: x*h | |
yield 12, subst1 | |
if pattern_index == 13: | |
# State 3920 | |
if len(subjects) == 0: | |
# 13: v**2*c | |
yield 13, subst1 | |
if pattern_index == 14: | |
# State 4121 | |
if len(subjects) == 0: | |
# 14: v**2*c | |
yield 14, subst1 | |
if pattern_index == 15: | |
# State 4291 | |
if len(subjects) == 0: | |
# 15: e*x | |
yield 15, subst1 | |
if pattern_index == 16: | |
# State 4314 | |
if len(subjects) == 0: | |
# 16: x**2*c | |
yield 16, subst1 | |
if pattern_index == 17: | |
# State 4316 | |
if len(subjects) == 0: | |
# 17: x*b | |
yield 17, subst1 | |
if pattern_index == 18: | |
# State 4525 | |
if len(subjects) == 0: | |
# 18: v**2*c | |
yield 18, subst1 | |
if pattern_index == 19: | |
# State 4779 | |
if len(subjects) == 0: | |
# 19: x*g | |
yield 19, subst1 | |
if pattern_index == 20: | |
# State 5140 | |
if len(subjects) == 0: | |
# 20: v**2*c | |
yield 20, subst1 | |
if pattern_index == 21: | |
# State 5237 | |
if len(subjects) == 0: | |
# 21: f*x**2 | |
yield 21, subst1 | |
if pattern_index == 22: | |
# State 5239 | |
if len(subjects) == 0: | |
# 22: e*x | |
yield 22, subst1 | |
if pattern_index == 23: | |
# State 5254 | |
if len(subjects) == 0: | |
# 23: c*x**2 | |
yield 23, subst1 | |
if pattern_index == 24: | |
# State 5443 | |
if len(subjects) == 0: | |
# 24: v**2*f | |
yield 24, subst1 | |
if pattern_index == 25: | |
# State 5446 | |
if len(subjects) == 0: | |
# 25: x*e | |
yield 25, subst1 | |
subjects.appendleft(tmp94) | |
return | |
yield | |
class CommutativeMatcher2798(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
2: (2, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
3: (3, Multiset({1: 1}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2798._instance is None: | |
CommutativeMatcher2798._instance = CommutativeMatcher2798() | |
return CommutativeMatcher2798._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2797 | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2799 | |
if len(subjects) >= 1: | |
tmp2 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp2) | |
except ValueError: | |
pass | |
else: | |
# State 2800 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
subjects.appendleft(tmp2) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp4 = subjects.popleft() | |
subjects5 = deque(tmp4._args) | |
# State 2801 | |
if len(subjects5) >= 1: | |
tmp6 = subjects5.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.1', tmp6) | |
except ValueError: | |
pass | |
else: | |
# State 2802 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2803 | |
if len(subjects5) == 0: | |
# State 2804 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
if len(subjects5) >= 1: | |
tmp9 = subjects5.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.2', tmp9) | |
except ValueError: | |
pass | |
else: | |
# State 2803 | |
if len(subjects5) == 0: | |
# State 2804 | |
if len(subjects) == 0: | |
# 0: v**m | |
yield 0, subst2 | |
subjects5.appendleft(tmp9) | |
if len(subjects5) >= 1 and subjects5[0] == 2: | |
tmp11 = subjects5.popleft() | |
# State 5039 | |
if len(subjects5) == 0: | |
# State 5040 | |
if len(subjects) == 0: | |
# 1: x**2 | |
yield 1, subst1 | |
subjects5.appendleft(tmp11) | |
subjects5.appendleft(tmp6) | |
subjects.appendleft(tmp4) | |
return | |
yield | |
class CommutativeMatcher2903(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
2: (2, Multiset({0: 1}), [ | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2903._instance is None: | |
CommutativeMatcher2903._instance = CommutativeMatcher2903() | |
return CommutativeMatcher2903._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2902 | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp1 = subjects.popleft() | |
subjects2 = deque(tmp1._args) | |
# State 5516 | |
if len(subjects2) >= 1: | |
tmp3 = subjects2.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.1', tmp3) | |
except ValueError: | |
pass | |
else: | |
# State 5517 | |
if len(subjects2) >= 1 and subjects2[0] == 2: | |
tmp5 = subjects2.popleft() | |
# State 5518 | |
if len(subjects2) == 0: | |
# State 5519 | |
if len(subjects) == 0: | |
# 0: x**2 | |
yield 0, subst1 | |
subjects2.appendleft(tmp5) | |
subjects2.appendleft(tmp3) | |
subjects.appendleft(tmp1) | |
return | |
yield | |
class CommutativeMatcher3164(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_3', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0', 1, 1, S(1)), Mul) | |
]), | |
2: (2, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
3: (3, Multiset({}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_2', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher3164._instance is None: | |
CommutativeMatcher3164._instance = CommutativeMatcher3164() | |
return CommutativeMatcher3164._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 3163 | |
return | |
yield | |
class CommutativeMatcher3296(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({}), [ | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.1.0_4', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher3296._instance is None: | |
CommutativeMatcher3296._instance = CommutativeMatcher3296() | |
return CommutativeMatcher3296._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 3295 | |
return | |
yield | |
class CommutativeMatcher2452(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Mul) | |
]), | |
1: (1, Multiset({}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.0_1', 1, 1, S(1)), Mul) | |
]), | |
2: (2, Multiset({}), [ | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.2.0_2', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2452._instance is None: | |
CommutativeMatcher2452._instance = CommutativeMatcher2452() | |
return CommutativeMatcher2452._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2451 | |
return | |
yield | |
class CommutativeMatcher2434(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({}), [ | |
(VariableWithCount('i2.1.1.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.1.1.0_1', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({0: 1}), [ | |
(VariableWithCount('i2.1.1.0', 1, 1, S(1)), Mul) | |
]), | |
2: (2, Multiset({}), [ | |
(VariableWithCount('i2.1.1.0_1', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul) | |
]), | |
3: (3, Multiset({1: 1}), [ | |
(VariableWithCount('i2.1.1.0', 1, 1, S(1)), Mul) | |
]), | |
4: (4, Multiset({}), [ | |
(VariableWithCount('i2.1.1.0_1', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul) | |
]), | |
5: (5, Multiset({}), [ | |
(VariableWithCount('i2.1.1.0', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
6: (6, Multiset({}), [ | |
(VariableWithCount('i2.1.1.0', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.0', 1, 1, None), Mul) | |
]), | |
7: (7, Multiset({}), [ | |
(VariableWithCount('i2.1.1.0', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.0', 1, 1, None), Mul) | |
]), | |
8: (8, Multiset({}), [ | |
(VariableWithCount('i2.1.1.0_1', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
9: (9, Multiset({}), [ | |
(VariableWithCount('i2.1.1.0', 1, 1, S(1)), Mul), | |
(VariableWithCount('i2.2.0_1', 1, 1, None), Mul) | |
]), | |
10: (10, Multiset({2: 1}), [ | |
(VariableWithCount('i2.1.1.0', 1, 1, S(1)), Mul) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2434._instance is None: | |
CommutativeMatcher2434._instance = CommutativeMatcher2434() | |
return CommutativeMatcher2434._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2433 | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp1 = subjects.popleft() | |
subjects2 = deque(tmp1._args) | |
# State 2523 | |
if len(subjects2) >= 1: | |
tmp3 = subjects2.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.0', tmp3) | |
except ValueError: | |
pass | |
else: | |
# State 2524 | |
if len(subjects2) >= 1 and subjects2[0] == 2: | |
tmp5 = subjects2.popleft() | |
# State 2525 | |
if len(subjects2) == 0: | |
# State 2526 | |
if len(subjects) == 0: | |
# 0: v**2 | |
yield 0, subst1 | |
subjects2.appendleft(tmp5) | |
subjects2.appendleft(tmp3) | |
if len(subjects2) >= 1: | |
tmp6 = subjects2.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.0', tmp6) | |
except ValueError: | |
pass | |
else: | |
# State 2537 | |
if len(subjects2) >= 1 and subjects2[0] == 2: | |
tmp8 = subjects2.popleft() | |
# State 2538 | |
if len(subjects2) == 0: | |
# State 2539 | |
if len(subjects) == 0: | |
# 1: v**2 | |
yield 1, subst1 | |
subjects2.appendleft(tmp8) | |
subjects2.appendleft(tmp6) | |
if len(subjects2) >= 1: | |
tmp9 = subjects2.popleft() | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2.1.1', tmp9) | |
except ValueError: | |
pass | |
else: | |
# State 5264 | |
if len(subjects2) >= 1 and subjects2[0] == 2: | |
tmp11 = subjects2.popleft() | |
# State 5265 | |
if len(subjects2) == 0: | |
# State 5266 | |
if len(subjects) == 0: | |
# 2: x**2 | |
yield 2, subst1 | |
subjects2.appendleft(tmp11) | |
subjects2.appendleft(tmp9) | |
subjects.appendleft(tmp1) | |
return | |
yield | |
class CommutativeMatcher2430(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({0: 1}), [ | |
(VariableWithCount('i2.1.0', 1, 1, None), Add) | |
]), | |
1: (1, Multiset({1: 1, 2: 1}), [ | |
]), | |
2: (2, Multiset({3: 1, 4: 1}), [ | |
(VariableWithCount('i2.1.0', 1, 1, S(0)), Add) | |
]), | |
3: (3, Multiset({5: 1}), [ | |
(VariableWithCount('i2.1.0', 1, 1, None), Add) | |
]), | |
4: (4, Multiset({6: 1}), [ | |
(VariableWithCount('i2.1.0', 1, 1, S(0)), Add) | |
]), | |
5: (5, Multiset({7: 1}), [ | |
(VariableWithCount('i2.1.0', 1, 1, None), Add) | |
]), | |
6: (6, Multiset({4: 1}), [ | |
(VariableWithCount('i2.1.0_1', 1, 1, S(0)), Add) | |
]), | |
7: (7, Multiset({6: 1}), [ | |
(VariableWithCount('i2.1.0', 1, 1, None), Add) | |
]), | |
8: (8, Multiset({5: 1}), [ | |
(VariableWithCount('i2.1.0', 1, 1, S(0)), Add) | |
]), | |
9: (9, Multiset({8: 1}), [ | |
(VariableWithCount('i2.1.0_1', 1, 1, S(0)), Add) | |
]), | |
10: (10, Multiset({9: 1}), [ | |
(VariableWithCount('i2.1.0', 1, 1, None), Add) | |
]), | |
11: (11, Multiset({3: 1}), [ | |
(VariableWithCount('i2.1.0', 1, 1, None), Add) | |
]), | |
12: (12, Multiset({10: 1, 8: 1}), [ | |
(VariableWithCount('i2.1.0', 1, 1, None), Add) | |
]), | |
13: (13, Multiset({10: 1}), [ | |
(VariableWithCount('i2.1.0', 1, 1, None), Add) | |
]), | |
14: (14, Multiset({10: 1, 8: 1}), [ | |
(VariableWithCount('i2.1.0', 1, 1, S(0)), Add) | |
]), | |
15: (15, Multiset({10: 1}), [ | |
(VariableWithCount('i2.1.0', 1, 1, S(0)), Add) | |
]), | |
16: (16, Multiset({3: 1}), [ | |
(VariableWithCount('i2.1.0', 1, 1, S(0)), Add) | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Add | |
max_optional_count = 1 | |
anonymous_patterns = set() | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2430._instance is None: | |
CommutativeMatcher2430._instance = CommutativeMatcher2430() | |
return CommutativeMatcher2430._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2429 | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.1.1.0_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2431 | |
if len(subjects) >= 1: | |
tmp2 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.1.1.0', tmp2) | |
except ValueError: | |
pass | |
else: | |
# State 2432 | |
if len(subjects) == 0: | |
# 0: x*c | |
yield 0, subst2 | |
subjects.appendleft(tmp2) | |
if len(subjects) >= 1: | |
tmp4 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0', tmp4) | |
except ValueError: | |
pass | |
else: | |
# State 2528 | |
if len(subjects) == 0: | |
# 2: b*v | |
yield 2, subst2 | |
subjects.appendleft(tmp4) | |
if len(subjects) >= 1: | |
tmp6 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp6) | |
except ValueError: | |
pass | |
else: | |
# State 2541 | |
if len(subjects) == 0: | |
# 4: B*v | |
yield 4, subst2 | |
subjects.appendleft(tmp6) | |
if len(subjects) >= 1: | |
tmp8 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp8) | |
except ValueError: | |
pass | |
else: | |
# State 4839 | |
if len(subjects) == 0: | |
# 8: g*x | |
yield 8, subst2 | |
subjects.appendleft(tmp8) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.1.1.0', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2518 | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp11 = subjects.popleft() | |
subjects12 = deque(tmp11._args) | |
# State 2519 | |
if len(subjects12) >= 1: | |
tmp13 = subjects12.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0', tmp13) | |
except ValueError: | |
pass | |
else: | |
# State 2520 | |
if len(subjects12) >= 1 and subjects12[0] == 2: | |
tmp15 = subjects12.popleft() | |
# State 2521 | |
if len(subjects12) == 0: | |
# State 2522 | |
if len(subjects) == 0: | |
# 1: c*v**2 | |
yield 1, subst2 | |
subjects12.appendleft(tmp15) | |
subjects12.appendleft(tmp13) | |
if len(subjects12) >= 1: | |
tmp16 = subjects12.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp16) | |
except ValueError: | |
pass | |
else: | |
# State 2534 | |
if len(subjects12) >= 1 and subjects12[0] == 2: | |
tmp18 = subjects12.popleft() | |
# State 2535 | |
if len(subjects12) == 0: | |
# State 2536 | |
if len(subjects) == 0: | |
# 3: C*v**2 | |
yield 3, subst2 | |
subjects12.appendleft(tmp18) | |
subjects12.appendleft(tmp16) | |
if len(subjects12) >= 1: | |
tmp19 = subjects12.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp19) | |
except ValueError: | |
pass | |
else: | |
# State 5261 | |
if len(subjects12) >= 1 and subjects12[0] == 2: | |
tmp21 = subjects12.popleft() | |
# State 5262 | |
if len(subjects12) == 0: | |
# State 5263 | |
if len(subjects) == 0: | |
# 10: c*x**2 | |
yield 10, subst2 | |
subjects12.appendleft(tmp21) | |
subjects12.appendleft(tmp19) | |
subjects.appendleft(tmp11) | |
if len(subjects) >= 1: | |
tmp22 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp22) | |
except ValueError: | |
pass | |
else: | |
# State 2657 | |
if len(subjects) == 0: | |
# 5: e*x | |
yield 5, subst2 | |
subjects.appendleft(tmp22) | |
if len(subjects) >= 1: | |
tmp24 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.0', tmp24) | |
except ValueError: | |
pass | |
else: | |
# State 3183 | |
if len(subjects) == 0: | |
# 6: b*x | |
yield 6, subst2 | |
subjects.appendleft(tmp24) | |
if len(subjects) >= 1: | |
tmp26 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0', tmp26) | |
except ValueError: | |
pass | |
else: | |
# State 3204 | |
if len(subjects) == 0: | |
# 7: b*x | |
yield 7, subst2 | |
subjects.appendleft(tmp26) | |
if len(subjects) >= 1: | |
tmp28 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0_1', tmp28) | |
except ValueError: | |
pass | |
else: | |
# State 4988 | |
if len(subjects) == 0: | |
# 9: g*x | |
yield 9, subst2 | |
subjects.appendleft(tmp28) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp30 = subjects.popleft() | |
associative1 = tmp30 | |
associative_type1 = type(tmp30) | |
subjects31 = deque(tmp30._args) | |
matcher = CommutativeMatcher2434.get() | |
tmp32 = subjects31 | |
subjects31 = [] | |
for s in tmp32: | |
matcher.add_subject(s) | |
for pattern_index, subst1 in matcher.match(tmp32, subst0): | |
if pattern_index == 0: | |
# State 2435 | |
if len(subjects) == 0: | |
# 0: x*c | |
yield 0, subst1 | |
if pattern_index == 1: | |
# State 2527 | |
if len(subjects) == 0: | |
# 1: c*v**2 | |
yield 1, subst1 | |
if pattern_index == 2: | |
# State 2529 | |
if len(subjects) == 0: | |
# 2: b*v | |
yield 2, subst1 | |
if pattern_index == 3: | |
# State 2540 | |
if len(subjects) == 0: | |
# 3: C*v**2 | |
yield 3, subst1 | |
if pattern_index == 4: | |
# State 2542 | |
if len(subjects) == 0: | |
# 4: B*v | |
yield 4, subst1 | |
if pattern_index == 5: | |
# State 2658 | |
if len(subjects) == 0: | |
# 5: e*x | |
yield 5, subst1 | |
if pattern_index == 6: | |
# State 3184 | |
if len(subjects) == 0: | |
# 6: b*x | |
yield 6, subst1 | |
if pattern_index == 7: | |
# State 3205 | |
if len(subjects) == 0: | |
# 7: b*x | |
yield 7, subst1 | |
if pattern_index == 8: | |
# State 4840 | |
if len(subjects) == 0: | |
# 8: g*x | |
yield 8, subst1 | |
if pattern_index == 9: | |
# State 4989 | |
if len(subjects) == 0: | |
# 9: g*x | |
yield 9, subst1 | |
if pattern_index == 10: | |
# State 5267 | |
if len(subjects) == 0: | |
# 10: c*x**2 | |
yield 10, subst1 | |
subjects.appendleft(tmp30) | |
return | |
yield | |
class CommutativeMatcher2245(CommutativeMatcher): | |
_instance = None | |
patterns = { | |
0: (0, Multiset({0: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
1: (1, Multiset({1: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
2: (2, Multiset({2: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
3: (3, Multiset({3: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
4: (4, Multiset({4: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
5: (5, Multiset({5: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
6: (6, Multiset({6: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, None), Mul) | |
]), | |
7: (7, Multiset({7: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, None), Mul) | |
]), | |
8: (8, Multiset({8: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.0_1', 1, 1, None), Mul) | |
]), | |
9: (9, Multiset({}), [ | |
(VariableWithCount('i2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.0_1', 1, 1, None), Mul) | |
]), | |
10: (10, Multiset({9: 1, 10: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
11: (11, Multiset({11: 1, 12: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
12: (12, Multiset({11: 1, 13: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
13: (13, Multiset({11: 1, 14: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
14: (14, Multiset({15: 1, 16: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
15: (15, Multiset({17: 1, 18: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
16: (16, Multiset({19: 1, 20: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
17: (17, Multiset({21: 1, 22: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
18: (18, Multiset({23: 1, 24: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
19: (19, Multiset({25: 1, 26: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
20: (20, Multiset({27: 1, 28: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
21: (21, Multiset({29: 1, 30: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
22: (22, Multiset({31: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
23: (23, Multiset({32: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
24: (24, Multiset({33: 1, 34: 1}), [ | |
]), | |
25: (25, Multiset({35: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
26: (26, Multiset({36: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
27: (27, Multiset({37: 1, 38: 1}), [ | |
]), | |
28: (28, Multiset({39: 1, 40: 1}), [ | |
]), | |
29: (29, Multiset({41: 1, 42: 1, 43: 1}), [ | |
]), | |
30: (30, Multiset({44: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, None), Mul) | |
]), | |
31: (31, Multiset({45: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, None), Mul) | |
]), | |
32: (32, Multiset({46: 1, 47: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, S(1)), Mul) | |
]), | |
33: (33, Multiset({48: 1}), [ | |
(VariableWithCount('i2.0', 1, 1, None), Mul), | |
(VariableWithCount('i2.0_1', 1, 1, S(1)), Mul) | |
]), | |
34: (34, Multiset({49: 1, 50: 1}), [ | |
]), | |
35: (35, Multiset({51: 1, 52: 1}), [ | |
]), | |
36: (36, Multiset({53: 1, 54: 1}), [ | |
]), | |
37: (37, Multiset({55: 1, 56: 1}), [ | |
]), | |
38: (38, Multiset({57: 1, 58: 1}), [ | |
]), | |
39: (39, Multiset({59: 1, 60: 1}), [ | |
]), | |
40: (40, Multiset({61: 1, 62: 1}), [ | |
]), | |
41: (41, Multiset({63: 1, 64: 1}), [ | |
]), | |
42: (42, Multiset({65: 1, 66: 1}), [ | |
]), | |
43: (43, Multiset({67: 1, 68: 1}), [ | |
]), | |
44: (44, Multiset({69: 1, 70: 1}), [ | |
]), | |
45: (45, Multiset({71: 1, 70: 1}), [ | |
]), | |
46: (46, Multiset({72: 1, 73: 1}), [ | |
]), | |
47: (47, Multiset({74: 1, 75: 1}), [ | |
]), | |
48: (48, Multiset({76: 1, 77: 1}), [ | |
]), | |
49: (49, Multiset({78: 1, 79: 1}), [ | |
]), | |
50: (50, Multiset({51: 1, 80: 1}), [ | |
]), | |
51: (51, Multiset({51: 1, 81: 1}), [ | |
]), | |
52: (52, Multiset({82: 1, 83: 1}), [ | |
]), | |
53: (53, Multiset({84: 1, 85: 1}), [ | |
]), | |
54: (54, Multiset({82: 1, 86: 1}), [ | |
]), | |
55: (55, Multiset({84: 1, 87: 1}), [ | |
]), | |
56: (56, Multiset({51: 1, 88: 1}), [ | |
]), | |
57: (57, Multiset({89: 1, 90: 1}), [ | |
]), | |
58: (58, Multiset({91: 1, 92: 1}), [ | |
]), | |
59: (59, Multiset({93: 1, 94: 1}), [ | |
]), | |
60: (60, Multiset({95: 1, 96: 1}), [ | |
]), | |
61: (61, Multiset({97: 1, 98: 1}), [ | |
]), | |
62: (62, Multiset({99: 1, 100: 1}), [ | |
]), | |
63: (63, Multiset({101: 1, 102: 1}), [ | |
]), | |
64: (64, Multiset({103: 1, 104: 1}), [ | |
]), | |
65: (65, Multiset({105: 1, 106: 1}), [ | |
]), | |
66: (66, Multiset({107: 1, 108: 1}), [ | |
]), | |
67: (67, Multiset({109: 1, 110: 1}), [ | |
]), | |
68: (68, Multiset({111: 1, 112: 1}), [ | |
]), | |
69: (69, Multiset({113: 1, 114: 1}), [ | |
]), | |
70: (70, Multiset({115: 1, 116: 1}), [ | |
]), | |
71: (71, Multiset({117: 1, 118: 1}), [ | |
]), | |
72: (72, Multiset({119: 1, 120: 1}), [ | |
]), | |
73: (73, Multiset({121: 1, 122: 1}), [ | |
]), | |
74: (74, Multiset({123: 1, 124: 1}), [ | |
]), | |
75: (75, Multiset({125: 1, 126: 1}), [ | |
]), | |
76: (76, Multiset({127: 1, 128: 1}), [ | |
]), | |
77: (77, Multiset({129: 1, 130: 1}), [ | |
]), | |
78: (78, Multiset({131: 1, 132: 1}), [ | |
]), | |
79: (79, Multiset({133: 1, 134: 1}), [ | |
]), | |
80: (80, Multiset({135: 1, 136: 1, 137: 1}), [ | |
]), | |
81: (81, Multiset({138: 1, 139: 1, 140: 1}), [ | |
]), | |
82: (82, Multiset({141: 1, 142: 1, 143: 1}), [ | |
]), | |
83: (83, Multiset({144: 1, 145: 1, 146: 1}), [ | |
]), | |
84: (84, Multiset({147: 1, 148: 1, 149: 1}), [ | |
]), | |
85: (85, Multiset({150: 1, 151: 1, 152: 1}), [ | |
]), | |
86: (86, Multiset({153: 1, 154: 1, 155: 1}), [ | |
]), | |
87: (87, Multiset({156: 1, 157: 1, 152: 1}), [ | |
]), | |
88: (88, Multiset({156: 1, 158: 1, 152: 1}), [ | |
]), | |
89: (89, Multiset({159: 1, 160: 1, 161: 1}), [ | |
]), | |
90: (90, Multiset({162: 1, 163: 1, 164: 1}), [ | |
]), | |
91: (91, Multiset({165: 1, 166: 1, 167: 1}), [ | |
]), | |
92: (92, Multiset({165: 1, 166: 1, 168: 1}), [ | |
]), | |
93: (93, Multiset({165: 1, 166: 1, 169: 1}), [ | |
]), | |
94: (94, Multiset({165: 1, 166: 1, 170: 1}), [ | |
]), | |
95: (95, Multiset({171: 1, 172: 1, 173: 1}), [ | |
]), | |
96: (96, Multiset({165: 1, 174: 1, 175: 1}), [ | |
]), | |
97: (97, Multiset({176: 1, 177: 1, 178: 1}), [ | |
]), | |
98: (98, Multiset({179: 1, 180: 1, 181: 1}), [ | |
]), | |
99: (99, Multiset({179: 1, 182: 1, 183: 1}), [ | |
]), | |
100: (100, Multiset({184: 1, 185: 1, 186: 1}), [ | |
]), | |
101: (101, Multiset({187: 1, 188: 1, 189: 1}), [ | |
]), | |
102: (102, Multiset({190: 1, 191: 1, 192: 1}), [ | |
]), | |
103: (103, Multiset({193: 1, 194: 1, 195: 1}), [ | |
]), | |
104: (104, Multiset({196: 1, 197: 1, 198: 1}), [ | |
]), | |
105: (105, Multiset({199: 1, 200: 1, 201: 1}), [ | |
]), | |
106: (106, Multiset({202: 1, 203: 1, 204: 1}), [ | |
]), | |
107: (107, Multiset({205: 1, 206: 1, 207: 1}), [ | |
]), | |
108: (108, Multiset({205: 1, 208: 1, 207: 1}), [ | |
]), | |
109: (109, Multiset({209: 1, 210: 1, 211: 1}), [ | |
]), | |
110: (110, Multiset({212: 1, 213: 1, 214: 1}), [ | |
]), | |
111: (111, Multiset({215: 1, 216: 1, 217: 1}), [ | |
]), | |
112: (112, Multiset({218: 1, 219: 1, 220: 1}), [ | |
]), | |
113: (113, Multiset({221: 1, 222: 1, 223: 1}), [ | |
]), | |
114: (114, Multiset({224: 1, 225: 1, 226: 1}), [ | |
]), | |
115: (115, Multiset({165: 1, 227: 1, 228: 1}), [ | |
]), | |
116: (116, Multiset({165: 1, 229: 1, 230: 1}), [ | |
]), | |
117: (117, Multiset({165: 1, 227: 1, 231: 1}), [ | |
]), | |
118: (118, Multiset({165: 1, 229: 1, 232: 1}), [ | |
]), | |
119: (119, Multiset({233: 1, 234: 1, 235: 1}), [ | |
]), | |
120: (120, Multiset({236: 1, 237: 1, 235: 1}), [ | |
]), | |
121: (121, Multiset({238: 1, 239: 1, 240: 1}), [ | |
]), | |
122: (122, Multiset({241: 1, 242: 1, 243: 1}), [ | |
]), | |
123: (123, Multiset({244: 1, 245: 1, 246: 1}), [ | |
]), | |
124: (124, Multiset({247: 1, 248: 1, 249: 1}), [ | |
]), | |
125: (125, Multiset({250: 1, 251: 1, 252: 1}), [ | |
]), | |
126: (126, Multiset({238: 1, 253: 1, 254: 1}), [ | |
]), | |
127: (127, Multiset({255: 1, 256: 1, 257: 1}), [ | |
]), | |
128: (128, Multiset({258: 1, 259: 1, 260: 1}), [ | |
]), | |
129: (129, Multiset({261: 1, 262: 1, 263: 1}), [ | |
]), | |
130: (130, Multiset({264: 1, 265: 1, 266: 1}), [ | |
]), | |
131: (131, Multiset({267: 1, 265: 1, 266: 1}), [ | |
]), | |
132: (132, Multiset({268: 1, 269: 1, 270: 1}), [ | |
]), | |
133: (133, Multiset({268: 1, 271: 1, 272: 1}), [ | |
]), | |
134: (134, Multiset({273: 1, 274: 1, 275: 1}), [ | |
]), | |
135: (135, Multiset({276: 1, 277: 1, 278: 1}), [ | |
]), | |
136: (136, Multiset({279: 1, 280: 1, 281: 1}), [ | |
]), | |
137: (137, Multiset({282: 1, 283: 1, 284: 1}), [ | |
]), | |
138: (138, Multiset({285: 1, 286: 1, 287: 1}), [ | |
]), | |
139: (139, Multiset({288: 1, 289: 1, 290: 1}), [ | |
]), | |
140: (140, Multiset({291: 1, 292: 1, 293: 1}), [ | |
]), | |
141: (141, Multiset({288: 1, 294: 1, 295: 1}), [ | |
]), | |
142: (142, Multiset({296: 1, 297: 1, 298: 1}), [ | |
]), | |
143: (143, Multiset({299: 1, 300: 1, 301: 1}), [ | |
]), | |
144: (144, Multiset({302: 1, 303: 1, 304: 1}), [ | |
]), | |
145: (145, Multiset({305: 1, 306: 1, 307: 1}), [ | |
]), | |
146: (146, Multiset({308: 1, 309: 1, 310: 1}), [ | |
]), | |
147: (147, Multiset({311: 1, 312: 1, 313: 1}), [ | |
]), | |
148: (148, Multiset({314: 1, 315: 1, 316: 1, 317: 1}), [ | |
]), | |
149: (149, Multiset({318: 1, 319: 1, 320: 1, 321: 1}), [ | |
]), | |
150: (150, Multiset({322: 1, 323: 1, 316: 1, 317: 1}), [ | |
]), | |
151: (151, Multiset({324: 1, 325: 1, 320: 1, 321: 1}), [ | |
]), | |
152: (152, Multiset({326: 1, 327: 1, 320: 1, 321: 1}), [ | |
]), | |
153: (153, Multiset({328: 1, 329: 1, 320: 1, 321: 1}), [ | |
]), | |
154: (154, Multiset({330: 1, 331: 1, 332: 1, 333: 1}), [ | |
]), | |
155: (155, Multiset({334: 1, 335: 1, 336: 1, 337: 1}), [ | |
]), | |
156: (156, Multiset({338: 1, 339: 1, 340: 1, 337: 1}), [ | |
]), | |
157: (157, Multiset({341: 1, 342: 1, 343: 1, 344: 1}), [ | |
]), | |
158: (158, Multiset({345: 1, 346: 1, 347: 1, 344: 1}), [ | |
]), | |
159: (159, Multiset({348: 1, 349: 1, 350: 1, 344: 1}), [ | |
]), | |
160: (160, Multiset({351: 1, 352: 1, 353: 1, 344: 1}), [ | |
]), | |
161: (161, Multiset({354: 1, 355: 1, 356: 1, 344: 1}), [ | |
]), | |
162: (162, Multiset({357: 1, 358: 1, 359: 1, 360: 1}), [ | |
]), | |
163: (163, Multiset({361: 1, 362: 1, 363: 1, 364: 1}), [ | |
]), | |
164: (164, Multiset({365: 1, 366: 1, 367: 1, 368: 1}), [ | |
]), | |
165: (165, Multiset({369: 1, 370: 1, 371: 1, 372: 1}), [ | |
]), | |
166: (166, Multiset({373: 1, 374: 1, 375: 1, 376: 1}), [ | |
]), | |
167: (167, Multiset({377: 1, 378: 1, 379: 1, 380: 1}), [ | |
]), | |
168: (168, Multiset({381: 1, 382: 1, 383: 1, 384: 1}), [ | |
]), | |
169: (169, Multiset({377: 1, 378: 1, 385: 1, 386: 1}), [ | |
]), | |
170: (170, Multiset({387: 1, 378: 1, 379: 1, 380: 1}), [ | |
]), | |
171: (171, Multiset({388: 1, 389: 1, 379: 1, 380: 1}), [ | |
]), | |
172: (172, Multiset({390: 1, 378: 1, 379: 1, 380: 1}), [ | |
]), | |
173: (173, Multiset({388: 1, 378: 1, 379: 1, 380: 1}), [ | |
]), | |
174: (174, Multiset({390: 1, 389: 1, 379: 1, 380: 1}), [ | |
]), | |
175: (175, Multiset({391: 1, 378: 1, 379: 1, 380: 1}), [ | |
]), | |
176: (176, Multiset({392: 1, 393: 1, 394: 1, 395: 1}), [ | |
]), | |
177: (177, Multiset({396: 1, 397: 1, 398: 1, 399: 1}), [ | |
]), | |
178: (178, Multiset({400: 1, 401: 1, 402: 1, 403: 1}), [ | |
]), | |
179: (179, Multiset({311: 1, 312: 1, 404: 1, 405: 1}), [ | |
]), | |
180: (180, Multiset({406: 1, 407: 1}), [ | |
]), | |
181: (181, Multiset({408: 1, 409: 1}), [ | |
]), | |
182: (182, Multiset({410: 1, 411: 1}), [ | |
]), | |
183: (183, Multiset({412: 1, 413: 1}), [ | |
]), | |
184: (184, Multiset({414: 1, 415: 1}), [ | |
]), | |
185: (185, Multiset({416: 1, 417: 1}), [ | |
]), | |
186: (186, Multiset({414: 1, 418: 1}), [ | |
]), | |
187: (187, Multiset({419: 1, 420: 1}), [ | |
]), | |
188: (188, Multiset({421: 1, 422: 1}), [ | |
]), | |
189: (189, Multiset({423: 1, 424: 1}), [ | |
]), | |
190: (190, Multiset({425: 1, 426: 1}), [ | |
]), | |
191: (191, Multiset({427: 1, 428: 1}), [ | |
]), | |
192: (192, Multiset({429: 1, 430: 1}), [ | |
]), | |
193: (193, Multiset({431: 1, 430: 1}), [ | |
]), | |
194: (194, Multiset({432: 1, 433: 1}), [ | |
]), | |
195: (195, Multiset({434: 1, 435: 1}), [ | |
]), | |
196: (196, Multiset({436: 1, 437: 1}), [ | |
]), | |
197: (197, Multiset({438: 1, 439: 1}), [ | |
]), | |
198: (198, Multiset({440: 1, 441: 1}), [ | |
]), | |
199: (199, Multiset({442: 1, 443: 1}), [ | |
]), | |
200: (200, Multiset({444: 1, 445: 1}), [ | |
]), | |
201: (201, Multiset({446: 1, 447: 1}), [ | |
]), | |
202: (202, Multiset({448: 1, 449: 1}), [ | |
]), | |
203: (203, Multiset({450: 1, 451: 1}), [ | |
]), | |
204: (204, Multiset({452: 1, 453: 1}), [ | |
]), | |
205: (205, Multiset({454: 1, 455: 1}), [ | |
]), | |
206: (206, Multiset({456: 1, 457: 1}), [ | |
]), | |
207: (207, Multiset({458: 1, 459: 1}), [ | |
]), | |
208: (208, Multiset({460: 1, 461: 1}), [ | |
]), | |
209: (209, Multiset({462: 1, 463: 1}), [ | |
]), | |
210: (210, Multiset({464: 1, 465: 1}), [ | |
]), | |
211: (211, Multiset({466: 1, 467: 1}), [ | |
]), | |
212: (212, Multiset({468: 1, 469: 1}), [ | |
]), | |
213: (213, Multiset({470: 1, 471: 1}), [ | |
]), | |
214: (214, Multiset({472: 1, 473: 1}), [ | |
]), | |
215: (215, Multiset({474: 1, 475: 1}), [ | |
]), | |
216: (216, Multiset({476: 1, 477: 1}), [ | |
]), | |
217: (217, Multiset({478: 1, 479: 1}), [ | |
]), | |
218: (218, Multiset({480: 1, 481: 1}), [ | |
]), | |
219: (219, Multiset({482: 1, 483: 1}), [ | |
]), | |
220: (220, Multiset({484: 1, 481: 1}), [ | |
]), | |
221: (221, Multiset({482: 1, 485: 1}), [ | |
]), | |
222: (222, Multiset({486: 1, 487: 1}), [ | |
]), | |
223: (223, Multiset({488: 1, 489: 1}), [ | |
]), | |
224: (224, Multiset({490: 1, 491: 1}), [ | |
]), | |
225: (225, Multiset({492: 1, 493: 1}), [ | |
]), | |
226: (226, Multiset({494: 1, 495: 1}), [ | |
]), | |
227: (227, Multiset({496: 1, 497: 1}), [ | |
]), | |
228: (228, Multiset({440: 1, 498: 1}), [ | |
]), | |
229: (229, Multiset({499: 1, 500: 1}), [ | |
]), | |
230: (230, Multiset({501: 1, 502: 1}), [ | |
]), | |
231: (231, Multiset({503: 1, 504: 1}), [ | |
]), | |
232: (232, Multiset({505: 1, 506: 1}), [ | |
]), | |
233: (233, Multiset({507: 1, 508: 1}), [ | |
]), | |
234: (234, Multiset({509: 1, 510: 1}), [ | |
]), | |
235: (235, Multiset({511: 1, 512: 1}), [ | |
]), | |
236: (236, Multiset({513: 1, 514: 1}), [ | |
]), | |
237: (237, Multiset({501: 1, 515: 1}), [ | |
]), | |
238: (238, Multiset({516: 1, 517: 1}), [ | |
]), | |
239: (239, Multiset({518: 1, 517: 1}), [ | |
]), | |
240: (240, Multiset({519: 1, 515: 1}), [ | |
]), | |
241: (241, Multiset({520: 1, 521: 1}), [ | |
]), | |
242: (242, Multiset({522: 1, 523: 1}), [ | |
]), | |
243: (243, Multiset({524: 1, 525: 1}), [ | |
]), | |
244: (244, Multiset({526: 1, 527: 1}), [ | |
]), | |
245: (245, Multiset({528: 1, 529: 1}), [ | |
]), | |
246: (246, Multiset({530: 1, 531: 1}), [ | |
]), | |
247: (247, Multiset({532: 1, 533: 1}), [ | |
]), | |
248: (248, Multiset({534: 1, 531: 1}), [ | |
]), | |
249: (249, Multiset({535: 1, 533: 1}), [ | |
]), | |
250: (250, Multiset({536: 1, 537: 1}), [ | |
]), | |
251: (251, Multiset({538: 1, 539: 1}), [ | |
]), | |
252: (252, Multiset({540: 1, 537: 1}), [ | |
]), | |
253: (253, Multiset({538: 1, 541: 1}), [ | |
]), | |
254: (254, Multiset({542: 1, 537: 1}), [ | |
]), | |
255: (255, Multiset({538: 1, 543: 1}), [ | |
]), | |
256: (256, Multiset({544: 1, 537: 1}), [ | |
]), | |
257: (257, Multiset({538: 1, 545: 1}), [ | |
]), | |
258: (258, Multiset({546: 1, 537: 1}), [ | |
]), | |
259: (259, Multiset({538: 1, 547: 1}), [ | |
]), | |
260: (260, Multiset({548: 1, 549: 1}), [ | |
]), | |
261: (261, Multiset({550: 1, 551: 1}), [ | |
]), | |
262: (262, Multiset({552: 1, 549: 1}), [ | |
]), | |
263: (263, Multiset({550: 1, 553: 1}), [ | |
]), | |
264: (264, Multiset({554: 1, 531: 1}), [ | |
]), | |
265: (265, Multiset({555: 1, 533: 1}), [ | |
]), | |
266: (266, Multiset({556: 1, 531: 1}), [ | |
]), | |
267: (267, Multiset({557: 1, 533: 1}), [ | |
]), | |
268: (268, Multiset({558: 1, 559: 1}), [ | |
]), | |
269: (269, Multiset({560: 1, 561: 1}), [ | |
]), | |
270: (270, Multiset({562: 1, 563: 1}), [ | |
]), | |
271: (271, Multiset({564: 1, 565: 1}), [ | |
]), | |
272: (272, Multiset({566: 1, 565: 1}), [ | |
]), | |
273: (273, Multiset({567: 1, 568: 1}), [ | |
]), | |
274: (274, Multiset({569: 1, 570: 1}), [ | |
]), | |
275: (275, Multiset({571: 1, 572: 1}), [ | |
]), | |
276: (276, Multiset({573: 1, 574: 1}), [ | |
]), | |
277: (277, Multiset({575: 1, 576: 1}), [ | |
]), | |
278: (278, Multiset({577: 1, 578: 1}), [ | |
]), | |
279: (279, Multiset({575: 1, 579: 1}), [ | |
]), | |
280: (280, Multiset({580: 1, 578: 1}), [ | |
]), | |
281: (281, Multiset({581: 1, 582: 1}), [ | |
]), | |
282: (282, Multiset({583: 1, 584: 1}), [ | |
]), | |
283: (283, Multiset({585: 1, 586: 1}), [ | |
]), | |
284: (284, Multiset({587: 1, 588: 1}), [ | |
]), | |
285: (285, Multiset({589: 1, 590: 1}), [ | |
]), | |
286: (286, Multiset({591: 1, 592: 1}), [ | |
]), | |
287: (287, Multiset({589: 1, 593: 1}), [ | |
]), | |
288: (288, Multiset({594: 1, 592: 1}), [ | |
]), | |
289: (289, Multiset({595: 1, 596: 1}), [ | |
]), | |
290: (290, Multiset({597: 1, 598: 1}), [ | |
]), | |
291: (291, Multiset({599: 1, 600: 1}), [ | |
]), | |
292: (292, Multiset({601: 1, 602: 1}), [ | |
]), | |
293: (293, Multiset({603: 1, 604: 1}), [ | |
]), | |
294: (294, Multiset({605: 1, 606: 1}), [ | |
]), | |
295: (295, Multiset({607: 1, 608: 1}), [ | |
]), | |
296: (296, Multiset({609: 1, 610: 1}), [ | |
]), | |
297: (297, Multiset({611: 1, 612: 1}), [ | |
]), | |
298: (298, Multiset({613: 1, 614: 1}), [ | |
]), | |
299: (299, Multiset({615: 1, 616: 1}), [ | |
]), | |
300: (300, Multiset({617: 1, 618: 1}), [ | |
]), | |
301: (301, Multiset({619: 1, 620: 1}), [ | |
]), | |
302: (302, Multiset({621: 1, 622: 1}), [ | |
]), | |
303: (303, Multiset({623: 1, 624: 1}), [ | |
]), | |
304: (304, Multiset({625: 1, 626: 1}), [ | |
]), | |
305: (305, Multiset({627: 1, 628: 1}), [ | |
]), | |
306: (306, Multiset({629: 1, 630: 1}), [ | |
]), | |
307: (307, Multiset({631: 1, 545: 1}), [ | |
]), | |
308: (308, Multiset({632: 1, 545: 1}), [ | |
]), | |
309: (309, Multiset({633: 1, 634: 1}), [ | |
]), | |
310: (310, Multiset({633: 1, 635: 1}), [ | |
]), | |
311: (311, Multiset({636: 1, 637: 1}), [ | |
]), | |
312: (312, Multiset({638: 1, 639: 1}), [ | |
]), | |
313: (313, Multiset({640: 1, 641: 1}), [ | |
]), | |
314: (314, Multiset({642: 1, 643: 1}), [ | |
]), | |
315: (315, Multiset({644: 1, 637: 1}), [ | |
]), | |
316: (316, Multiset({645: 1, 646: 1}), [ | |
]), | |
317: (317, Multiset({647: 1, 648: 1}), [ | |
]), | |
318: (318, Multiset({649: 1, 650: 1, 651: 1}), [ | |
]), | |
319: (319, Multiset({652: 1, 653: 1, 654: 1}), [ | |
]), | |
320: (320, Multiset({655: 1, 656: 1, 657: 1}), [ | |
]), | |
321: (321, Multiset({658: 1, 659: 1, 660: 1}), [ | |
]), | |
322: (322, Multiset({661: 1, 662: 1, 654: 1}), [ | |
]), | |
323: (323, Multiset({663: 1, 664: 1, 665: 1}), [ | |
]), | |
324: (324, Multiset({666: 1, 667: 1, 665: 1}), [ | |
]), | |
325: (325, Multiset({668: 1, 669: 1, 665: 1}), [ | |
]), | |
326: (326, Multiset({670: 1, 671: 1, 657: 1}), [ | |
]), | |
327: (327, Multiset({672: 1, 673: 1, 674: 1}), [ | |
]), | |
328: (328, Multiset({675: 1, 676: 1, 677: 1}), [ | |
]), | |
329: (329, Multiset({678: 1, 679: 1, 680: 1}), [ | |
]), | |
330: (330, Multiset({681: 1, 682: 1, 683: 1}), [ | |
]), | |
331: (331, Multiset({684: 1, 685: 1, 686: 1}), [ | |
]), | |
332: (332, Multiset({687: 1, 688: 1, 689: 1}), [ | |
]), | |
333: (333, Multiset({690: 1, 691: 1, 692: 1}), [ | |
]), | |
334: (334, Multiset({693: 1, 694: 1, 695: 1}), [ | |
]), | |
335: (335, Multiset({696: 1, 697: 1, 698: 1}), [ | |
]), | |
336: (336, Multiset({699: 1, 700: 1, 701: 1}), [ | |
]), | |
337: (337, Multiset({702: 1, 703: 1, 704: 1}), [ | |
]), | |
338: (338, Multiset({705: 1, 706: 1, 707: 1}), [ | |
]), | |
339: (339, Multiset({708: 1, 709: 1, 710: 1}), [ | |
]), | |
340: (340, Multiset({711: 1, 712: 1, 713: 1}), [ | |
]), | |
341: (341, Multiset({714: 1, 715: 1, 716: 1}), [ | |
]), | |
342: (342, Multiset({717: 1, 718: 1, 719: 1}), [ | |
]), | |
343: (343, Multiset({720: 1, 721: 1, 716: 1}), [ | |
]), | |
344: (344, Multiset({722: 1, 723: 1, 719: 1}), [ | |
]), | |
345: (345, Multiset({724: 1, 725: 1, 716: 1}), [ | |
]), | |
346: (346, Multiset({726: 1, 727: 1, 719: 1}), [ | |
]), | |
347: (347, Multiset({728: 1, 729: 1, 730: 1}), [ | |
]), | |
348: (348, Multiset({731: 1, 732: 1, 733: 1}), [ | |
]), | |
349: (349, Multiset({734: 1, 735: 1, 736: 1}), [ | |
]), | |
350: (350, Multiset({737: 1, 738: 1, 739: 1}), [ | |
]), | |
351: (351, Multiset({740: 1, 741: 1, 742: 1}), [ | |
]), | |
352: (352, Multiset({743: 1, 744: 1, 745: 1}), [ | |
]), | |
353: (353, Multiset({740: 1, 746: 1, 742: 1}), [ | |
]), | |
354: (354, Multiset({743: 1, 744: 1, 747: 1}), [ | |
]), | |
355: (355, Multiset({748: 1, 749: 1, 750: 1}), [ | |
]), | |
356: (356, Multiset({751: 1, 752: 1, 753: 1}), [ | |
]), | |
357: (357, Multiset({754: 1, 755: 1, 756: 1}), [ | |
]), | |
358: (358, Multiset({751: 1, 757: 1, 758: 1}), [ | |
]), | |
359: (359, Multiset({759: 1, 760: 1, 761: 1}), [ | |
]), | |
360: (360, Multiset({762: 1, 763: 1, 764: 1}), [ | |
]), | |
361: (361, Multiset({765: 1, 766: 1, 767: 1}), [ | |
]), | |
362: (362, Multiset({768: 1, 769: 1, 770: 1}), [ | |
]), | |
363: (363, Multiset({759: 1, 771: 1, 772: 1}), [ | |
]), | |
364: (364, Multiset({773: 1, 763: 1, 774: 1}), [ | |
]), | |
365: (365, Multiset({775: 1, 776: 1, 777: 1}), [ | |
]), | |
366: (366, Multiset({778: 1, 779: 1, 780: 1}), [ | |
]), | |
367: (367, Multiset({781: 1, 782: 1, 783: 1}), [ | |
]), | |
368: (368, Multiset({784: 1, 785: 1, 786: 1}), [ | |
]), | |
369: (369, Multiset({787: 1, 788: 1, 789: 1}), [ | |
]), | |
370: (370, Multiset({790: 1, 791: 1, 792: 1}), [ | |
]), | |
371: (371, Multiset({793: 1, 794: 1, 795: 1}), [ | |
]), | |
372: (372, Multiset({796: 1, 797: 1, 798: 1}), [ | |
]), | |
373: (373, Multiset({799: 1, 800: 1, 801: 1}), [ | |
]), | |
374: (374, Multiset({802: 1, 803: 1, 804: 1}), [ | |
]), | |
375: (375, Multiset({805: 1, 788: 1, 806: 1}), [ | |
]), | |
376: (376, Multiset({807: 1, 808: 1, 792: 1}), [ | |
]), | |
377: (377, Multiset({809: 1, 810: 1, 811: 1}), [ | |
]), | |
378: (378, Multiset({812: 1, 813: 1, 814: 1}), [ | |
]), | |
379: (379, Multiset({815: 1, 816: 1, 817: 1}), [ | |
]), | |
380: (380, Multiset({818: 1, 819: 1, 820: 1}), [ | |
]), | |
381: (381, Multiset({821: 1, 822: 1, 823: 1}), [ | |
]), | |
382: (382, Multiset({824: 1, 825: 1, 826: 1}), [ | |
]), | |
383: (383, Multiset({827: 1, 828: 1, 829: 1}), [ | |
]), | |
384: (384, Multiset({830: 1, 831: 1, 832: 1}), [ | |
]), | |
385: (385, Multiset({833: 1, 834: 1, 835: 1}), [ | |
]), | |
386: (386, Multiset({836: 1, 837: 1, 838: 1}), [ | |
]), | |
387: (387, Multiset({839: 1, 840: 1, 695: 1}), [ | |
]), | |
388: (388, Multiset({841: 1, 691: 1, 842: 1}), [ | |
]), | |
389: (389, Multiset({843: 1, 844: 1, 695: 1}), [ | |
]), | |
390: (390, Multiset({845: 1, 846: 1, 847: 1}), [ | |
]), | |
391: (391, Multiset({848: 1, 849: 1, 850: 1}), [ | |
]), | |
392: (392, Multiset({851: 1, 852: 1, 710: 1}), [ | |
]), | |
393: (393, Multiset({853: 1, 854: 1, 713: 1}), [ | |
]), | |
394: (394, Multiset({855: 1, 856: 1, 857: 1}), [ | |
]), | |
395: (395, Multiset({858: 1, 859: 1, 860: 1}), [ | |
]), | |
396: (396, Multiset({861: 1, 862: 1, 710: 1}), [ | |
]), | |
397: (397, Multiset({863: 1, 864: 1, 713: 1}), [ | |
]), | |
398: (398, Multiset({865: 1, 866: 1, 716: 1}), [ | |
]), | |
399: (399, Multiset({867: 1, 868: 1, 719: 1}), [ | |
]), | |
400: (400, Multiset({869: 1, 870: 1, 871: 1}), [ | |
]), | |
401: (401, Multiset({872: 1, 873: 1, 874: 1}), [ | |
]), | |
402: (402, Multiset({875: 1, 876: 1, 877: 1}), [ | |
]), | |
403: (403, Multiset({878: 1, 879: 1, 880: 1}), [ | |
]), | |
404: (404, Multiset({881: 1, 882: 1, 883: 1}), [ | |
]), | |
405: (405, Multiset({884: 1, 885: 1, 886: 1}), [ | |
]), | |
406: (406, Multiset({887: 1, 888: 1, 889: 1}), [ | |
]), | |
407: (407, Multiset({890: 1, 891: 1, 892: 1}), [ | |
]), | |
408: (408, Multiset({893: 1, 894: 1, 710: 1}), [ | |
]), | |
409: (409, Multiset({895: 1, 896: 1, 713: 1}), [ | |
]), | |
410: (410, Multiset({897: 1, 898: 1, 847: 1}), [ | |
]), | |
411: (411, Multiset({899: 1, 900: 1, 901: 1}), [ | |
]), | |
412: (412, Multiset({902: 1, 903: 1, 847: 1}), [ | |
]), | |
413: (413, Multiset({904: 1, 905: 1, 901: 1}), [ | |
]), | |
414: (414, Multiset({906: 1, 907: 1, 908: 1}), [ | |
]), | |
415: (415, Multiset({909: 1, 910: 1, 911: 1}), [ | |
]), | |
416: (416, Multiset({912: 1, 913: 1, 914: 1}), [ | |
]), | |
417: (417, Multiset({915: 1, 916: 1, 917: 1}), [ | |
]), | |
418: (418, Multiset({918: 1, 919: 1, 847: 1}), [ | |
]), | |
419: (419, Multiset({920: 1, 921: 1, 713: 1}), [ | |
]), | |
420: (420, Multiset({922: 1, 852: 1, 710: 1}), [ | |
]), | |
421: (421, Multiset({853: 1, 923: 1, 713: 1}), [ | |
]), | |
422: (422, Multiset({924: 1, 852: 1, 710: 1}), [ | |
]), | |
423: (423, Multiset({853: 1, 925: 1, 713: 1}), [ | |
]), | |
424: (424, Multiset({926: 1, 852: 1, 710: 1}), [ | |
]), | |
425: (425, Multiset({853: 1, 927: 1, 713: 1}), [ | |
]), | |
426: (426, Multiset({928: 1, 929: 1, 847: 1}), [ | |
]), | |
427: (427, Multiset({930: 1, 931: 1, 932: 1}), [ | |
]), | |
428: (428, Multiset({933: 1, 852: 1, 710: 1}), [ | |
]), | |
429: (429, Multiset({853: 1, 934: 1, 713: 1}), [ | |
]), | |
430: (430, Multiset({935: 1, 936: 1, 937: 1}), [ | |
]), | |
431: (431, Multiset({938: 1, 939: 1, 940: 1}), [ | |
]), | |
432: (432, Multiset({941: 1, 942: 1, 943: 1}), [ | |
]), | |
433: (433, Multiset({944: 1, 945: 1, 946: 1}), [ | |
]), | |
434: (434, Multiset({947: 1, 948: 1, 716: 1}), [ | |
]), | |
435: (435, Multiset({949: 1, 950: 1, 719: 1}), [ | |
]), | |
436: (436, Multiset({951: 1, 952: 1, 953: 1}), [ | |
]), | |
437: (437, Multiset({954: 1, 955: 1, 956: 1}), [ | |
]), | |
438: (438, Multiset({957: 1, 958: 1, 959: 1}), [ | |
]), | |
439: (439, Multiset({960: 1, 961: 1, 962: 1}), [ | |
]), | |
440: (440, Multiset({963: 1, 964: 1, 965: 1}), [ | |
]), | |
441: (441, Multiset({966: 1, 967: 1, 716: 1}), [ | |
]), | |
442: (442, Multiset({968: 1, 969: 1, 719: 1}), [ | |
]), | |
443: (443, Multiset({970: 1, 971: 1, 972: 1}), [ | |
]), | |
444: (444, Multiset({973: 1, 974: 1, 975: 1}), [ | |
]), | |
445: (445, Multiset({976: 1, 794: 1, 977: 1}), [ | |
]), | |
446: (446, Multiset({978: 1, 979: 1, 798: 1}), [ | |
]), | |
447: (447, Multiset({980: 1, 981: 1, 982: 1}), [ | |
]), | |
448: (448, Multiset({983: 1, 984: 1, 985: 1}), [ | |
]), | |
449: (449, Multiset({986: 1, 987: 1, 988: 1}), [ | |
]), | |
450: (450, Multiset({989: 1, 990: 1, 991: 1}), [ | |
]), | |
451: (451, Multiset({992: 1, 993: 1, 988: 1}), [ | |
]), | |
452: (452, Multiset({994: 1, 995: 1, 996: 1}), [ | |
]), | |
453: (453, Multiset({997: 1, 998: 1, 999: 1}), [ | |
]), | |
454: (454, Multiset({1000: 1, 1001: 1, 1002: 1}), [ | |
]), | |
455: (455, Multiset({1003: 1, 1004: 1, 1005: 1}), [ | |
]), | |
456: (456, Multiset({1006: 1, 1007: 1, 1008: 1}), [ | |
]), | |
457: (457, Multiset({1003: 1, 1009: 1, 1005: 1}), [ | |
]), | |
458: (458, Multiset({1006: 1, 1007: 1, 1010: 1}), [ | |
]), | |
459: (459, Multiset({1003: 1, 1011: 1, 1005: 1}), [ | |
]), | |
460: (460, Multiset({1006: 1, 1007: 1, 1012: 1}), [ | |
]), | |
461: (461, Multiset({1013: 1, 1014: 1, 1005: 1}), [ | |
]), | |
462: (462, Multiset({1015: 1, 1016: 1, 1017: 1}), [ | |
]), | |
463: (463, Multiset({1018: 1, 1019: 1, 1020: 1}), [ | |
]), | |
464: (464, Multiset({1021: 1, 1022: 1, 1023: 1}), [ | |
]), | |
465: (465, Multiset({1024: 1, 1025: 1, 1026: 1}), [ | |
]), | |
466: (466, Multiset({1027: 1, 1028: 1, 1029: 1}), [ | |
]), | |
467: (467, Multiset({1030: 1, 1031: 1, 1032: 1}), [ | |
]), | |
468: (468, Multiset({976: 1, 1033: 1, 1034: 1}), [ | |
]), | |
469: (469, Multiset({1035: 1, 979: 1, 1036: 1}), [ | |
]), | |
470: (470, Multiset({976: 1, 1037: 1, 1038: 1}), [ | |
]), | |
471: (471, Multiset({1039: 1, 979: 1, 1040: 1}), [ | |
]), | |
472: (472, Multiset({976: 1, 1041: 1, 1042: 1}), [ | |
]), | |
473: (473, Multiset({1043: 1, 979: 1, 1044: 1}), [ | |
]), | |
474: (474, Multiset({976: 1, 1045: 1, 1042: 1}), [ | |
]), | |
475: (475, Multiset({1043: 1, 979: 1, 1046: 1}), [ | |
]), | |
476: (476, Multiset({1047: 1, 1041: 1, 1042: 1}), [ | |
]), | |
477: (477, Multiset({1043: 1, 1048: 1, 1044: 1}), [ | |
]), | |
478: (478, Multiset({1049: 1, 1050: 1, 1051: 1}), [ | |
]), | |
479: (479, Multiset({1049: 1, 1050: 1, 1052: 1}), [ | |
]), | |
480: (480, Multiset({1053: 1, 1054: 1, 1055: 1}), [ | |
]), | |
481: (481, Multiset({1056: 1, 1057: 1, 1058: 1}), [ | |
]), | |
482: (482, Multiset({1059: 1, 1060: 1, 1061: 1}), [ | |
]), | |
483: (483, Multiset({1062: 1, 1063: 1, 1064: 1}), [ | |
]), | |
484: (484, Multiset({645: 1, 1065: 1, 1066: 1}), [ | |
]), | |
485: (485, Multiset({647: 1, 648: 1, 1067: 1}), [ | |
]), | |
486: (486, Multiset({1068: 1, 1069: 1}), [ | |
]), | |
487: (487, Multiset({1070: 1, 1071: 1}), [ | |
]), | |
488: (488, Multiset({1072: 1, 1073: 1}), [ | |
]), | |
489: (489, Multiset({1074: 1, 1075: 1}), [ | |
]), | |
490: (490, Multiset({1076: 1, 1077: 1}), [ | |
]), | |
491: (491, Multiset({1078: 1, 1079: 1}), [ | |
]), | |
492: (492, Multiset({1080: 1, 1081: 1}), [ | |
]), | |
493: (493, Multiset({1082: 1, 1083: 1}), [ | |
]), | |
494: (494, Multiset({1084: 1, 1085: 1}), [ | |
]), | |
495: (495, Multiset({1086: 1, 1087: 1}), [ | |
]), | |
496: (496, Multiset({1088: 1, 1089: 1}), [ | |
]), | |
497: (497, Multiset({1090: 1, 1091: 1}), [ | |
]), | |
498: (498, Multiset({1092: 1, 1093: 1}), [ | |
]), | |
499: (499, Multiset({1094: 1, 1095: 1}), [ | |
]), | |
500: (500, Multiset({1096: 1, 1097: 1}), [ | |
]), | |
501: (501, Multiset({1098: 1, 1099: 1}), [ | |
]), | |
502: (502, Multiset({1100: 1, 1101: 1}), [ | |
]), | |
503: (503, Multiset({1102: 1, 1103: 1}), [ | |
]), | |
504: (504, Multiset({1104: 1, 1105: 1}), [ | |
]), | |
505: (505, Multiset({1106: 1, 1107: 1}), [ | |
]), | |
506: (506, Multiset({1108: 1, 1109: 1}), [ | |
]), | |
507: (507, Multiset({1110: 1, 1111: 1}), [ | |
]), | |
508: (508, Multiset({1112: 1, 1113: 1}), [ | |
]), | |
509: (509, Multiset({1114: 1, 1115: 1}), [ | |
]), | |
510: (510, Multiset({1116: 1, 1117: 1}), [ | |
]), | |
511: (511, Multiset({1118: 1, 1119: 1}), [ | |
]), | |
512: (512, Multiset({1120: 1, 1121: 1}), [ | |
]), | |
513: (513, Multiset({1122: 1, 1123: 1}), [ | |
]), | |
514: (514, Multiset({1124: 1, 1125: 1}), [ | |
]), | |
515: (515, Multiset({1126: 1, 1127: 1}), [ | |
]), | |
516: (516, Multiset({1128: 1, 1129: 1}), [ | |
]), | |
517: (517, Multiset({1130: 1, 1125: 1}), [ | |
]), | |
518: (518, Multiset({1131: 1, 1127: 1}), [ | |
]), | |
519: (519, Multiset({1132: 1, 1133: 1}), [ | |
]), | |
520: (520, Multiset({1134: 1, 1135: 1}), [ | |
]), | |
521: (521, Multiset({1136: 1, 1137: 1}), [ | |
]), | |
522: (522, Multiset({1138: 1, 1139: 1}), [ | |
]), | |
523: (523, Multiset({1140: 1, 1141: 1}), [ | |
]), | |
524: (524, Multiset({1128: 1, 1142: 1}), [ | |
]), | |
525: (525, Multiset({1143: 1, 1144: 1}), [ | |
]), | |
526: (526, Multiset({1145: 1, 1146: 1}), [ | |
]), | |
527: (527, Multiset({1147: 1, 1148: 1}), [ | |
]), | |
528: (528, Multiset({1149: 1, 1150: 1}), [ | |
]), | |
529: (529, Multiset({1151: 1, 1152: 1, 1153: 1}), [ | |
]), | |
530: (530, Multiset({1154: 1, 1155: 1, 1156: 1}), [ | |
]), | |
531: (531, Multiset({1157: 1, 1158: 1, 1159: 1}), [ | |
]), | |
532: (532, Multiset({1160: 1, 1161: 1, 1162: 1}), [ | |
]), | |
533: (533, Multiset({1163: 1, 1164: 1, 1165: 1}), [ | |
]), | |
534: (534, Multiset({1166: 1, 1167: 1, 1168: 1}), [ | |
]), | |
535: (535, Multiset({1169: 1, 1170: 1, 1171: 1}), [ | |
]), | |
536: (536, Multiset({1172: 1, 1173: 1, 1174: 1}), [ | |
]), | |
537: (537, Multiset({1175: 1, 1176: 1, 1177: 1}), [ | |
]), | |
538: (538, Multiset({1178: 1, 1179: 1, 1180: 1}), [ | |
]), | |
539: (539, Multiset({1181: 1, 1182: 1, 1183: 1}), [ | |
]), | |
540: (540, Multiset({1184: 1, 1185: 1, 1186: 1}), [ | |
]), | |
541: (541, Multiset({1187: 1, 1188: 1, 1189: 1}), [ | |
]), | |
542: (542, Multiset({1190: 1, 1191: 1, 1192: 1}), [ | |
]), | |
543: (543, Multiset({1193: 1, 1194: 1, 1195: 1}), [ | |
]), | |
544: (544, Multiset({1196: 1, 1197: 1, 1198: 1}), [ | |
]), | |
545: (545, Multiset({1199: 1, 1200: 1, 1201: 1}), [ | |
]), | |
546: (546, Multiset({1202: 1, 1203: 1, 1204: 1}), [ | |
]), | |
547: (547, Multiset({1205: 1, 1206: 1, 1207: 1}), [ | |
]), | |
548: (548, Multiset({1208: 1, 1209: 1, 1210: 1}), [ | |
]), | |
549: (549, Multiset({1211: 1, 1212: 1, 1213: 1}), [ | |
]), | |
550: (550, Multiset({1214: 1, 1215: 1, 1216: 1}), [ | |
]), | |
551: (551, Multiset({1217: 1, 1218: 1, 1219: 1}), [ | |
]), | |
552: (552, Multiset({1220: 1, 1221: 1, 1222: 1}), [ | |
]), | |
553: (553, Multiset({1223: 1, 1224: 1, 1225: 1}), [ | |
]), | |
554: (554, Multiset({1226: 1, 1227: 1, 1216: 1}), [ | |
]), | |
555: (555, Multiset({1228: 1, 1229: 1, 1219: 1}), [ | |
]), | |
556: (556, Multiset({1230: 1, 1231: 1, 1222: 1}), [ | |
]), | |
557: (557, Multiset({1232: 1, 1233: 1, 1225: 1}), [ | |
]), | |
558: (558, Multiset({1234: 1, 1235: 1, 1192: 1}), [ | |
]), | |
559: (559, Multiset({1236: 1, 1237: 1, 1195: 1}), [ | |
]), | |
560: (560, Multiset({1238: 1, 1239: 1, 1240: 1}), [ | |
]), | |
561: (561, Multiset({1241: 1, 1242: 1, 1201: 1}), [ | |
]), | |
562: (562, Multiset({1243: 1, 1244: 1, 1245: 1}), [ | |
]), | |
563: (563, Multiset({1246: 1, 1247: 1, 1248: 1}), [ | |
]), | |
564: (564, Multiset({1249: 1, 1250: 1, 1251: 1}), [ | |
]), | |
565: (565, Multiset({1252: 1, 1253: 1, 1254: 1}), [ | |
]), | |
566: (566, Multiset({1255: 1, 1256: 1, 1245: 1}), [ | |
]), | |
567: (567, Multiset({1257: 1, 1258: 1, 1248: 1}), [ | |
]), | |
568: (568, Multiset({1259: 1, 1260: 1, 1261: 1}), [ | |
]), | |
569: (569, Multiset({1262: 1, 1263: 1, 1264: 1}), [ | |
]), | |
570: (570, Multiset({1265: 1, 1266: 1, 1267: 1}), [ | |
]), | |
571: (571, Multiset({1268: 1, 1269: 1, 1270: 1}), [ | |
]), | |
572: (572, Multiset({1271: 1, 1272: 1, 1267: 1}), [ | |
]), | |
573: (573, Multiset({1273: 1, 1274: 1, 1270: 1}), [ | |
]), | |
574: (574, Multiset({1275: 1, 1276: 1, 1277: 1}), [ | |
]), | |
575: (575, Multiset({1278: 1, 1279: 1, 1280: 1}), [ | |
]), | |
576: (576, Multiset({1281: 1, 1282: 1, 1283: 1}), [ | |
]), | |
577: (577, Multiset({1284: 1, 1285: 1, 1286: 1}), [ | |
]), | |
578: (578, Multiset({1287: 1, 1288: 1, 1280: 1}), [ | |
]), | |
579: (579, Multiset({1289: 1, 1290: 1, 1283: 1}), [ | |
]), | |
580: (580, Multiset({1291: 1, 1292: 1, 1286: 1}), [ | |
]), | |
581: (581, Multiset({1293: 1, 1294: 1, 1295: 1}), [ | |
]), | |
582: (582, Multiset({1296: 1, 1297: 1, 1298: 1}), [ | |
]), | |
583: (583, Multiset({1299: 1, 1300: 1, 1301: 1}), [ | |
]), | |
584: (584, Multiset({1302: 1, 1300: 1, 1301: 1}), [ | |
]), | |
585: (585, Multiset({1303: 1, 1304: 1, 1305: 1}), [ | |
]), | |
586: (586, Multiset({1303: 1, 1306: 1, 1307: 1}), [ | |
]), | |
587: (587, Multiset({1308: 1, 1309: 1}), [ | |
(VariableWithCount('i2.2.1.1', 1, 1, None), Mul) | |
]), | |
588: (588, Multiset({1310: 1, 1311: 1, 1312: 1}), [ | |
]), | |
589: (589, Multiset({1310: 1, 1313: 1, 1314: 1}), [ | |
]), | |
590: (590, Multiset({1315: 1, 1316: 1, 1317: 1}), [ | |
]), | |
591: (591, Multiset({1318: 1, 1319: 1, 1320: 1}), [ | |
]), | |
592: (592, Multiset({1321: 1, 1322: 1, 1323: 1}), [ | |
]), | |
593: (593, Multiset({1324: 1, 1325: 1, 1267: 1}), [ | |
]), | |
594: (594, Multiset({1326: 1, 1327: 1, 1270: 1}), [ | |
]), | |
595: (595, Multiset({1328: 1, 1329: 1, 1277: 1}), [ | |
]), | |
596: (596, Multiset({1330: 1, 1331: 1, 1267: 1}), [ | |
]), | |
597: (597, Multiset({1332: 1, 1327: 1, 1270: 1}), [ | |
]), | |
598: (598, Multiset({1328: 1, 1333: 1, 1277: 1}), [ | |
]), | |
599: (599, Multiset({1334: 1, 1335: 1, 1267: 1}), [ | |
]), | |
600: (600, Multiset({1328: 1, 1336: 1, 1277: 1}), [ | |
]), | |
601: (601, Multiset({1337: 1, 1338: 1, 1339: 1}), [ | |
]), | |
602: (602, Multiset({1340: 1, 1341: 1, 1342: 1}), [ | |
]), | |
603: (603, Multiset({1343: 1, 1338: 1, 1344: 1}), [ | |
]), | |
604: (604, Multiset({1345: 1, 1341: 1, 1342: 1}), [ | |
]), | |
605: (605, Multiset({1346: 1, 1347: 1, 1348: 1}), [ | |
]), | |
606: (606, Multiset({1349: 1, 1350: 1, 1351: 1}), [ | |
]), | |
607: (607, Multiset({1352: 1, 1353: 1, 1354: 1}), [ | |
]), | |
608: (608, Multiset({1149: 1, 1355: 1, 1356: 1}), [ | |
]), | |
609: (609, Multiset({1357: 1, 1358: 1, 1359: 1}), [ | |
]), | |
610: (610, Multiset({1360: 1, 1361: 1, 1362: 1, 1363: 1}), [ | |
]), | |
611: (611, Multiset({1364: 1, 1365: 1, 1362: 1, 1366: 1}), [ | |
]), | |
612: (612, Multiset({1367: 1, 1368: 1, 1362: 1, 1363: 1}), [ | |
]), | |
613: (613, Multiset({1369: 1, 1370: 1, 1371: 1}), [ | |
]), | |
614: (614, Multiset({1372: 1, 1373: 1, 1374: 1}), [ | |
]), | |
615: (615, Multiset({1375: 1, 1376: 1, 1377: 1}), [ | |
]), | |
616: (616, Multiset({1378: 1, 1379: 1, 1380: 1}), [ | |
]), | |
617: (617, Multiset({1381: 1, 1382: 1, 1377: 1}), [ | |
]), | |
618: (618, Multiset({1383: 1, 1384: 1, 1380: 1}), [ | |
]), | |
619: (619, Multiset({1385: 1, 1386: 1, 1387: 1}), [ | |
]), | |
620: (620, Multiset({1388: 1, 1389: 1, 1390: 1}), [ | |
]), | |
621: (621, Multiset({1391: 1, 1392: 1, 1393: 1}), [ | |
]), | |
622: (622, Multiset({1394: 1, 1395: 1, 1396: 1}), [ | |
]), | |
623: (623, Multiset({1397: 1, 1398: 1, 1399: 1}), [ | |
]), | |
624: (624, Multiset({1400: 1, 1401: 1, 1402: 1}), [ | |
]), | |
625: (625, Multiset({1403: 1, 1404: 1, 1393: 1}), [ | |
]), | |
626: (626, Multiset({1405: 1, 1406: 1, 1396: 1}), [ | |
]), | |
627: (627, Multiset({1407: 1, 1408: 1, 1399: 1}), [ | |
]), | |
628: (628, Multiset({1409: 1, 1410: 1, 1402: 1}), [ | |
]), | |
629: (629, Multiset({1411: 1, 1412: 1, 1413: 1}), [ | |
]), | |
630: (630, Multiset({1414: 1, 1415: 1, 1416: 1}), [ | |
]), | |
631: (631, Multiset({1417: 1, 1418: 1, 1419: 1}), [ | |
]), | |
632: (632, Multiset({1420: 1, 1421: 1, 1422: 1}), [ | |
]), | |
633: (633, Multiset({1423: 1, 1424: 1, 1425: 1}), [ | |
]), | |
634: (634, Multiset({1426: 1, 1427: 1, 1428: 1}), [ | |
]), | |
635: (635, Multiset({1429: 1, 1430: 1, 1431: 1}), [ | |
]), | |
636: (636, Multiset({1432: 1, 1433: 1, 1434: 1}), [ | |
]), | |
637: (637, Multiset({1435: 1, 1436: 1, 1419: 1}), [ | |
]), | |
638: (638, Multiset({1437: 1, 1438: 1, 1422: 1}), [ | |
]), | |
639: (639, Multiset({1439: 1, 1440: 1, 1425: 1}), [ | |
]), | |
640: (640, Multiset({1441: 1, 1442: 1, 1428: 1}), [ | |
]), | |
641: (641, Multiset({1443: 1, 1444: 1, 1431: 1}), [ | |
]), | |
642: (642, Multiset({1445: 1, 1446: 1, 1434: 1}), [ | |
]), | |
643: (643, Multiset({1447: 1, 1448: 1, 1449: 1}), [ | |
]), | |
644: (644, Multiset({1450: 1, 1451: 1, 1452: 1}), [ | |
]), | |
645: (645, Multiset({1453: 1, 1454: 1, 1455: 1}), [ | |
]), | |
646: (646, Multiset({1456: 1, 1457: 1, 1458: 1}), [ | |
]), | |
647: (647, Multiset({1459: 1, 1460: 1, 1393: 1}), [ | |
]), | |
648: (648, Multiset({1461: 1, 1462: 1, 1396: 1}), [ | |
]), | |
649: (649, Multiset({1463: 1, 1464: 1, 1399: 1}), [ | |
]), | |
650: (650, Multiset({1465: 1, 1466: 1, 1402: 1}), [ | |
]), | |
651: (651, Multiset({1467: 1, 1468: 1, 1413: 1}), [ | |
]), | |
652: (652, Multiset({1469: 1, 1470: 1, 1416: 1}), [ | |
]), | |
653: (653, Multiset({1471: 1, 1472: 1, 1473: 1}), [ | |
]), | |
654: (654, Multiset({1474: 1, 1475: 1, 1476: 1}), [ | |
]), | |
655: (655, Multiset({1477: 1, 1478: 1, 1479: 1}), [ | |
]), | |
656: (656, Multiset({1480: 1, 1481: 1, 1482: 1}), [ | |
]), | |
657: (657, Multiset({1147: 1, 1148: 1, 1483: 1}), [ | |
]), | |
658: (658, Multiset({1147: 1, 1148: 1, 1484: 1}), [ | |
]), | |
659: (659, Multiset({1147: 1, 1148: 1, 1485: 1}), [ | |
]), | |
660: (660, Multiset({1149: 1, 1150: 1, 1483: 1}), [ | |
]), | |
661: (661, Multiset({1149: 1, 1150: 1, 1484: 1}), [ | |
]), | |
662: (662, Multiset({1149: 1, 1150: 1, 1485: 1}), [ | |
]) | |
} | |
subjects = {} | |
subjects_by_id = {} | |
bipartite = BipartiteGraph() | |
associative = Mul | |
max_optional_count = 1 | |
anonymous_patterns = {8, 7} | |
def __init__(self): | |
self.add_subject(None) | |
@staticmethod | |
def get(): | |
if CommutativeMatcher2245._instance is None: | |
CommutativeMatcher2245._instance = CommutativeMatcher2245() | |
return CommutativeMatcher2245._instance | |
@staticmethod | |
def get_match_iter(subject): | |
subjects = deque([subject]) if subject is not None else deque() | |
subst0 = Substitution() | |
# State 2244 | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2246 | |
if len(subjects) >= 1 and isinstance(subjects[0], Add): | |
tmp2 = subjects.popleft() | |
associative1 = tmp2 | |
associative_type1 = type(tmp2) | |
subjects3 = deque(tmp2._args) | |
matcher = CommutativeMatcher2248.get() | |
tmp4 = subjects3 | |
subjects3 = [] | |
for s in tmp4: | |
matcher.add_subject(s) | |
for pattern_index, subst2 in matcher.match(tmp4, subst1): | |
if pattern_index == 0: | |
# State 2265 | |
if len(subjects) == 0: | |
# 0: (a + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f1(a)) | |
yield 0, subst2 | |
# 27: (a + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f37(n, q)) and (cons_f39(c, d, a, b)) and (cons_f40(m, n)) | |
yield 27, subst2 | |
if pattern_index == 1: | |
# State 2335 | |
if len(subjects) == 0: | |
# 1: (a + b*v**n + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f1(a)) | |
yield 1, subst2 | |
if pattern_index == 2: | |
# State 2362 | |
if len(subjects) == 0: | |
# 2: (a + b*v**n + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f8(b)) | |
yield 2, subst2 | |
# 3: (a + b*v**n + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f9(c)) | |
yield 3, subst2 | |
# 45: (a + b*v**n + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f46(n2, n)) and (cons_f11(x, Pm)) and (With34(p, c, n2, x, Qm, Pm, b, a, n)) | |
yield 45, subst2 | |
if pattern_index == 3: | |
# State 2403 | |
if len(subjects) == 0: | |
# 4: (w + v*a + v*b)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f10(x, v)) | |
yield 4, subst2 | |
if pattern_index == 4: | |
# State 2490 | |
if len(subjects) == 0: | |
# 135: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) and (cons_f17(m)) | |
yield 135, subst2 | |
# 1163: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f417(h, b, c, a, g)) and (cons_f418(d, f, e, h, c, a, g)) and (cons_f17(m)) | |
yield 1163, subst2 | |
# 524: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f47(c, d, e, b)) | |
yield 524, subst2 | |
# 78: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f84(m)) and (cons_f86(m, n)) | |
yield 78, subst2 | |
# 410: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f47(c, d, e, b)) and (cons_f238(m, p)) | |
yield 410, subst2 | |
# 1360: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f336(f, e, g, d)) and (cons_f124(m, n)) and (cons_f377(f, d, m)) | |
yield 1360, subst2 | |
# 17: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f25(b, d, a, c)) and (cons_f17(m)) and (cons_f26(d, x, b, c, a, n)) | |
yield 17, subst2 | |
# 690: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) | |
yield 690, subst2 | |
# 147: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f134(d, p, c, f, e, b, a, n)) | |
yield 147, subst2 | |
# 406: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f47(c, d, e, b)) and (cons_f236(m)) | |
yield 406, subst2 | |
# 440: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f256(d, e, b, c, a)) | |
yield 440, subst2 | |
# 986: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f124(m, n)) and (cons_f336(f, e, g, d)) and (cons_f377(f, d, m)) | |
yield 986, subst2 | |
# 61: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f70(b, d, a, c)) and (cons_f75(c, a, m)) | |
yield 61, subst2 | |
if pattern_index == 5: | |
# State 2573 | |
if len(subjects) == 0: | |
# 30: (c + d*x**j)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f41(m, p)) and (cons_f42(b, d, a, c)) and (cons_f44(d)) | |
yield 30, subst2 | |
if pattern_index == 6: | |
# State 2614 | |
if len(subjects) == 0: | |
# 1287: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) | |
yield 1287, subst2 | |
# 1417: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f404(d, f, e, b, c, a)) and (cons_f405(q, p)) | |
yield 1417, subst2 | |
# 1420: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f404(d, f, e, b, c, a)) and (cons_f405(q, p)) | |
yield 1420, subst2 | |
# 1435: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1435, subst2 | |
# 1437: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1437, subst2 | |
# 31: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f45(b, a, c)) and (cons_f38(p)) | |
yield 31, subst2 | |
# 1068: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f384(c, f, p)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1068, subst2 | |
# 1070: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f147(p)) and (cons_f387(c, f)) | |
yield 1070, subst2 | |
# 1369: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f384(c, f, p)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1369, subst2 | |
# 1372: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f384(c, f, p)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1372, subst2 | |
# 1375: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f147(p)) and (cons_f387(c, f)) | |
yield 1375, subst2 | |
# 1378: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f147(p)) and (cons_f387(c, f)) | |
yield 1378, subst2 | |
# 1381: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f45(b, a, c)) | |
yield 1381, subst2 | |
# 1383: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f45(b, a, c)) | |
yield 1383, subst2 | |
# 1391: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) and (cons_f220(q, p)) and (cons_f163(p)) | |
yield 1391, subst2 | |
# 1265: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) and (cons_f220(q, p)) and (cons_f163(p)) | |
yield 1265, subst2 | |
# 1394: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) and (cons_f220(q, p)) and (cons_f163(p)) | |
yield 1394, subst2 | |
# 1271: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1271, subst2 | |
# 1403: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1403, subst2 | |
# 1405: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1405, subst2 | |
# 1278: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f404(d, f, e, b, c, a)) and (cons_f405(q, p)) | |
yield 1278, subst2 | |
if pattern_index == 7: | |
# State 2646 | |
if len(subjects) == 0: | |
# 32: (a + b*v**n + d*x**j)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f46(n2, n)) and (cons_f45(b, a, c)) and (cons_f38(p)) | |
yield 32, subst2 | |
if pattern_index == 8: | |
# State 2653 | |
if len(subjects) == 0: | |
# 33: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f47(c, d, e, b)) | |
yield 33, subst2 | |
# 1147: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1147, subst2 | |
# 1084: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f394(f, d, e)) and (cons_f393(q)) | |
yield 1084, subst2 | |
# 1086: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f394(f, d, e)) and (cons_f393(q)) | |
yield 1086, subst2 | |
if pattern_index == 9: | |
# State 2671 | |
if len(subjects) == 0: | |
# 35: (b*v**n + b*v**m)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f17(m)) and (cons_f49(q, p)) | |
yield 35, subst2 | |
if pattern_index == 10: | |
# State 2719 | |
if len(subjects) == 0: | |
# 36: (b*v**n + c*x**r + b*v**m)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f17(m)) and (cons_f49(q, p)) and (cons_f51(r, p)) | |
yield 36, subst2 | |
if pattern_index == 11: | |
# State 2784 | |
if len(subjects) == 0: | |
# 44: (a + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f11(x, Pm)) and (With33(p, x, Qm, Pm, b, a, n)) | |
yield 44, subst2 | |
if pattern_index == 12: | |
# State 2916 | |
if len(subjects) == 0: | |
# 642: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 642, subst2 | |
# 1154: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1154, subst2 | |
# 1157: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1157, subst2 | |
# 133: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f123(x, u)) | |
yield 133, subst2 | |
# 645: (a + v*a)**m /; (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 645, subst2 | |
# 138: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f127(d, p, c, f, e, b, a, n)) | |
yield 138, subst2 | |
# 652: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) | |
yield 652, subst2 | |
# 526: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 526, subst2 | |
# 655: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f242(m, p)) | |
yield 655, subst2 | |
# 400: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 400, subst2 | |
# 912: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f168(m)) and (cons_f366(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 912, subst2 | |
# 658: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f244(m, p)) and (cons_f168(m)) | |
yield 658, subst2 | |
# 276: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f193(m, n)) | |
yield 276, subst2 | |
# 661: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) and (cons_f317(m)) | |
yield 661, subst2 | |
# 150: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f135(n, p)) and (cons_f136(n, p)) | |
yield 150, subst2 | |
# 663: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f31(m)) and (cons_f94(m)) and (cons_f318(m, p)) | |
yield 663, subst2 | |
# 153: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f126(n, p)) and (cons_f138(c, e, n, p)) | |
yield 153, subst2 | |
# 922: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f17(m)) | |
yield 922, subst2 | |
# 156: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) | |
yield 156, subst2 | |
# 412: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) and (cons_f240(m, p)) and (cons_f66(m)) | |
yield 412, subst2 | |
# 668: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f62(m)) and (cons_f319(m, p)) and (cons_f320(m, p)) | |
yield 668, subst2 | |
# 670: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f319(m, p)) | |
yield 670, subst2 | |
# 1181: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f423(p, c, f, e, h, b, m, g)) and (cons_f424(d, p, c, f, h, m, b, a, g)) and (cons_f270(m, p)) | |
yield 1181, subst2 | |
# 675: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f323(d, p, e, b, c, m)) | |
yield 675, subst2 | |
# 1059: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f380(d, p, c, f, e, m, x, n, b, a, g)) | |
yield 1059, subst2 | |
# 1187: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f427(p, c, f, h, b, m, g)) and (cons_f424(d, p, c, f, h, m, b, a, g)) and (cons_f270(m, p)) | |
yield 1187, subst2 | |
# 678: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f239(c, d, e, b)) and (cons_f242(m, p)) | |
yield 678, subst2 | |
# 935: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f31(m)) and (cons_f168(m)) and (cons_f319(m, p)) and (cons_f368(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 935, subst2 | |
# 1190: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1190, subst2 | |
# 684: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f239(c, d, e, b)) and (cons_f319(m, p)) and (cons_f270(m, p)) and (cons_f272(m)) and (cons_f324(d, f, e, x, m, g)) | |
yield 684, subst2 | |
# 429: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f252(m)) | |
yield 429, subst2 | |
# 1196: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1196, subst2 | |
# 176: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f150(m, n)) and (cons_f151(m, n, p)) | |
yield 176, subst2 | |
# 434: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) and (cons_f31(m)) and (cons_f168(m)) and (cons_f238(m, p)) and (cons_f254(m, p)) and (cons_f255(m, p)) | |
yield 434, subst2 | |
# 53: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f72(m, n)) and (cons_f66(m)) | |
yield 53, subst2 | |
# 438: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) | |
yield 438, subst2 | |
# 311: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 311, subst2 | |
# 314: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f207(m, n)) | |
yield 314, subst2 | |
# 702: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f326(d, p, f, e, b, c, m, g)) | |
yield 702, subst2 | |
# 448: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f240(m, p)) | |
yield 448, subst2 | |
# 708: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f168(m)) | |
yield 708, subst2 | |
# 328: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f214(m, n)) and (cons_f213(m, n)) | |
yield 328, subst2 | |
# 585: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f240(m, p)) | |
yield 585, subst2 | |
# 714: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f328(m)) | |
yield 714, subst2 | |
# 1352: (a + v*a)**m /; (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1352, subst2 | |
# 76: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f62(m)) and (cons_f83(c, m, n)) | |
yield 76, subst2 | |
# 460: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f262(m, p)) | |
yield 460, subst2 | |
# 845: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) | |
yield 845, subst2 | |
# 720: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f329(m, p)) and (cons_f253(m, p)) | |
yield 720, subst2 | |
# 1234: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f431(h, b, c, a, g)) | |
yield 1234, subst2 | |
# 212: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f168(m)) and (cons_f167(m, n, p)) and (cons_f169(m, n, p)) | |
yield 212, subst2 | |
# 724: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f319(m, p)) | |
yield 724, subst2 | |
# 1238: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f431(h, b, c, a, g)) | |
yield 1238, subst2 | |
# 1364: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f84(m)) | |
yield 1364, subst2 | |
# 1243: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1243, subst2 | |
# 861: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f242(m, p)) and (cons_f352(d, e, b, c, m)) | |
yield 861, subst2 | |
# 480: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f256(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f252(m)) | |
yield 480, subst2 | |
# 1249: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1249, subst2 | |
# 486: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f31(m)) and (cons_f266(m)) and (cons_f238(m, p)) | |
yield 486, subst2 | |
# 1255: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1255, subst2 | |
# 1259: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1259, subst2 | |
# 638: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f84(m)) | |
yield 638, subst2 | |
# 1151: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1151, subst2 | |
if pattern_index == 13: | |
# State 2941 | |
if len(subjects) == 0: | |
# 62: (c + v*b)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f70(b, d, a, c)) and (cons_f75(c, a, m)) | |
yield 62, subst2 | |
if pattern_index == 14: | |
# State 3240 | |
if len(subjects) == 0: | |
# 160: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f140(n, p)) and (cons_f141(d, p, c, f, e, b, a, n)) | |
yield 160, subst2 | |
# 741: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f148(n)) and (cons_f333(n, p)) | |
yield 741, subst2 | |
# 746: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f196(n)) and (cons_f333(n, p)) | |
yield 746, subst2 | |
# 174: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f148(n)) | |
yield 174, subst2 | |
# 180: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f152(n, p)) | |
yield 180, subst2 | |
# 182: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f140(n, p)) | |
yield 182, subst2 | |
if pattern_index == 15: | |
# State 3317 | |
if len(subjects) == 0: | |
# 168: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f13(p)) and (cons_f145(p)) | |
yield 168, subst2 | |
# 167: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f38(p)) | |
yield 167, subst2 | |
if pattern_index == 16: | |
# State 4008 | |
if len(subjects) == 0: | |
# 1281: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f407(d, f, e, c, a)) and (cons_f405(q, p)) | |
yield 1281, subst2 | |
# 1409: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1409, subst2 | |
# 1027: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f378(m, n, p)) | |
yield 1027, subst2 | |
# 899: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f361(m, p)) and (cons_f299(m, p)) and (cons_f362(m, p)) | |
yield 899, subst2 | |
# 1284: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f406(d, c, f, b, a)) and (cons_f405(q, p)) | |
yield 1284, subst2 | |
# 1411: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1411, subst2 | |
# 647: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 647, subst2 | |
# 904: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f363(m, p)) and (cons_f303(m, p)) and (cons_f362(m, p)) | |
yield 904, subst2 | |
# 649: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f314(p)) | |
yield 649, subst2 | |
# 1160: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1160, subst2 | |
# 1289: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) | |
yield 1289, subst2 | |
# 1291: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f433(q, p)) | |
yield 1291, subst2 | |
# 909: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f244(m, p)) and (cons_f137(p)) and (cons_f365(d, p, f, e, m, c, a, g)) | |
yield 909, subst2 | |
# 1166: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f419(c, a, g, h)) and (cons_f418(d, f, e, h, c, a, g)) | |
yield 1166, subst2 | |
# 1414: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1414, subst2 | |
# 528: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f128(p)) and (cons_f281(m, p)) | |
yield 528, subst2 | |
# 1423: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f407(d, f, e, c, a)) and (cons_f405(q, p)) | |
yield 1423, subst2 | |
# 1426: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f407(d, f, e, c, a)) and (cons_f405(q, p)) | |
yield 1426, subst2 | |
# 1172: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f419(c, a, g, h)) and (cons_f420(d, f, h, c, a, g)) | |
yield 1172, subst2 | |
# 1429: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f406(d, c, f, b, a)) and (cons_f405(q, p)) | |
yield 1429, subst2 | |
# 895: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f244(m, p)) and (cons_f163(p)) and (cons_f359(m, p)) and (cons_f360(m, p)) | |
yield 895, subst2 | |
# 1432: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f406(d, c, f, b, a)) and (cons_f405(q, p)) | |
yield 1432, subst2 | |
# 1178: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f422(c, a, e, f)) and (cons_f38(p)) | |
yield 1178, subst2 | |
# 1439: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1439, subst2 | |
# 1056: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) | |
yield 1056, subst2 | |
# 1184: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f425(p, f, e, h, c, m, g)) and (cons_f426(d, p, f, h, c, a, m)) and (cons_f270(m, p)) | |
yield 1184, subst2 | |
# 1441: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1441, subst2 | |
# 1443: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1443, subst2 | |
# 1445: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1445, subst2 | |
# 1062: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f381(d, p, f, e, m, x, n, c, a, g)) | |
yield 1062, subst2 | |
# 1193: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1193, subst2 | |
# 938: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f319(m, p)) and (cons_f368(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 938, subst2 | |
# 1199: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1199, subst2 | |
# 944: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f362(m, p)) | |
yield 944, subst2 | |
# 1074: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1074, subst2 | |
# 693: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f257(c, d, a, e)) and (cons_f325(m, d, a, p)) | |
yield 693, subst2 | |
# 949: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f369(m, p)) | |
yield 949, subst2 | |
# 1205: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f430(c, a, g, h)) | |
yield 1205, subst2 | |
# 442: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f258(m, d, a, p)) | |
yield 442, subst2 | |
# 1211: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f430(c, a, g, h)) | |
yield 1211, subst2 | |
# 968: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) | |
yield 968, subst2 | |
# 973: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f375(m, n, p)) | |
yield 973, subst2 | |
# 848: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f128(p)) | |
yield 848, subst2 | |
# 983: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f376(n, p)) | |
yield 983, subst2 | |
# 858: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f242(m, p)) and (cons_f351(d, f, e, c, a, g)) | |
yield 858, subst2 | |
# 1246: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1246, subst2 | |
# 867: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f242(m, p)) | |
yield 867, subst2 | |
# 1252: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1252, subst2 | |
# 1257: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1257, subst2 | |
# 1262: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1262, subst2 | |
# 1268: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f220(q, p)) and (cons_f432(q, p)) | |
yield 1268, subst2 | |
# 1397: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f220(q, p)) and (cons_f432(q, p)) | |
yield 1397, subst2 | |
# 1400: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f220(q, p)) and (cons_f432(q, p)) | |
yield 1400, subst2 | |
# 1273: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1273, subst2 | |
# 1275: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1275, subst2 | |
# 1407: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1407, subst2 | |
if pattern_index == 17: | |
# State 4911 | |
if len(subjects) == 0: | |
# 923: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) and (cons_f17(m)) | |
yield 923, subst2 | |
if pattern_index == 18: | |
# State 5034 | |
if len(subjects) == 0: | |
# 1385: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1385, subst2 | |
# 1388: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1388, subst2 | |
# 1102: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1102, subst2 | |
# 1169: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f420(d, f, h, c, a, g)) and (cons_f17(m)) | |
yield 1169, subst2 | |
# 1108: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f406(d, c, f, b, a)) and (cons_f405(q, p)) | |
yield 1108, subst2 | |
# 1149: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1149, subst2 | |
# 1114: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f408(q, p)) and (cons_f409(q, p)) | |
yield 1114, subst2 | |
# 989: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 989, subst2 | |
if pattern_index == 19: | |
# State 5477 | |
if len(subjects) == 0: | |
# 1165: (d + v**2*f + x*e)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f418(d, f, e, h, c, a, g)) and (cons_f17(m)) | |
yield 1165, subst2 | |
if pattern_index == 20: | |
# State 5491 | |
if len(subjects) == 0: | |
# 1170: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f417(h, b, c, a, g)) and (cons_f420(d, f, h, c, a, g)) and (cons_f17(m)) | |
yield 1170, subst2 | |
if pattern_index == 21: | |
# State 5532 | |
if len(subjects) == 0: | |
# 1175: (b*x + c*x**2)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f421(f, e, b, c, a)) | |
yield 1175, subst2 | |
subjects.appendleft(tmp2) | |
if len(subjects) >= 1: | |
tmp5 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp5) | |
except ValueError: | |
pass | |
else: | |
# State 2739 | |
if len(subjects) == 0: | |
# 1180: x**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f38(p)) | |
yield 1180, subst2 | |
# 38: x**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f53(m, n)) | |
yield 38, subst2 | |
subjects.appendleft(tmp5) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0', S(0)) | |
except ValueError: | |
pass | |
else: | |
# State 2767 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.0', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2768 | |
subst4 = Substitution(subst3) | |
try: | |
subst4.try_add_variable('i2.2.1.2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2769 | |
if len(subjects) >= 1: | |
tmp10 = subjects.popleft() | |
subst5 = Substitution(subst4) | |
try: | |
subst5.try_add_variable('i2.2.1.1', tmp10) | |
except ValueError: | |
pass | |
else: | |
# State 2770 | |
if len(subjects) == 0: | |
# 44: (a + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f11(x, Pm)) and (With33(p, x, Qm, Pm, b, a, n)) | |
yield 44, subst5 | |
subjects.appendleft(tmp10) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp12 = subjects.popleft() | |
subjects13 = deque(tmp12._args) | |
# State 2771 | |
if len(subjects13) >= 1: | |
tmp14 = subjects13.popleft() | |
subst4 = Substitution(subst3) | |
try: | |
subst4.try_add_variable('i2.2.1.1', tmp14) | |
except ValueError: | |
pass | |
else: | |
# State 2772 | |
subst5 = Substitution(subst4) | |
try: | |
subst5.try_add_variable('i2.2.1.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2773 | |
if len(subjects13) == 0: | |
# State 2774 | |
if len(subjects) == 0: | |
# 44: (a + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f11(x, Pm)) and (With33(p, x, Qm, Pm, b, a, n)) | |
yield 44, subst5 | |
if len(subjects13) >= 1: | |
tmp17 = subjects13.popleft() | |
subst5 = Substitution(subst4) | |
try: | |
subst5.try_add_variable('i2.2.1.2', tmp17) | |
except ValueError: | |
pass | |
else: | |
# State 2773 | |
if len(subjects13) == 0: | |
# State 2774 | |
if len(subjects) == 0: | |
# 44: (a + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f11(x, Pm)) and (With33(p, x, Qm, Pm, b, a, n)) | |
yield 44, subst5 | |
subjects13.appendleft(tmp17) | |
if len(subjects13) >= 1 and subjects13[0] == 2: | |
tmp19 = subjects13.popleft() | |
# State 5029 | |
if len(subjects13) == 0: | |
# State 5030 | |
if len(subjects) == 0: | |
# 1385: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1385, subst4 | |
# 1388: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1388, subst4 | |
# 1102: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1102, subst4 | |
# 1169: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f420(d, f, h, c, a, g)) and (cons_f17(m)) | |
yield 1169, subst4 | |
# 1108: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f406(d, c, f, b, a)) and (cons_f405(q, p)) | |
yield 1108, subst4 | |
# 1149: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1149, subst4 | |
# 1114: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f408(q, p)) and (cons_f409(q, p)) | |
yield 1114, subst4 | |
# 989: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 989, subst4 | |
subjects13.appendleft(tmp19) | |
subjects13.appendleft(tmp14) | |
subjects.appendleft(tmp12) | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.0_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2913 | |
if len(subjects) >= 1: | |
tmp21 = subjects.popleft() | |
subst4 = Substitution(subst3) | |
try: | |
subst4.try_add_variable('i2.2.1.0', tmp21) | |
except ValueError: | |
pass | |
else: | |
# State 2914 | |
if len(subjects) == 0: | |
# 642: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 642, subst4 | |
# 1154: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1154, subst4 | |
# 1157: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1157, subst4 | |
# 133: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f123(x, u)) | |
yield 133, subst4 | |
# 645: (a + v*a)**m /; (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 645, subst4 | |
# 138: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f127(d, p, c, f, e, b, a, n)) | |
yield 138, subst4 | |
# 652: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) | |
yield 652, subst4 | |
# 526: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 526, subst4 | |
# 655: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f242(m, p)) | |
yield 655, subst4 | |
# 400: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 400, subst4 | |
# 912: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f168(m)) and (cons_f366(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 912, subst4 | |
# 658: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f244(m, p)) and (cons_f168(m)) | |
yield 658, subst4 | |
# 276: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f193(m, n)) | |
yield 276, subst4 | |
# 661: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) and (cons_f317(m)) | |
yield 661, subst4 | |
# 150: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f135(n, p)) and (cons_f136(n, p)) | |
yield 150, subst4 | |
# 663: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f31(m)) and (cons_f94(m)) and (cons_f318(m, p)) | |
yield 663, subst4 | |
# 153: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f126(n, p)) and (cons_f138(c, e, n, p)) | |
yield 153, subst4 | |
# 922: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f17(m)) | |
yield 922, subst4 | |
# 156: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) | |
yield 156, subst4 | |
# 412: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) and (cons_f240(m, p)) and (cons_f66(m)) | |
yield 412, subst4 | |
# 668: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f62(m)) and (cons_f319(m, p)) and (cons_f320(m, p)) | |
yield 668, subst4 | |
# 670: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f319(m, p)) | |
yield 670, subst4 | |
# 1181: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f423(p, c, f, e, h, b, m, g)) and (cons_f424(d, p, c, f, h, m, b, a, g)) and (cons_f270(m, p)) | |
yield 1181, subst4 | |
# 675: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f323(d, p, e, b, c, m)) | |
yield 675, subst4 | |
# 1059: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f380(d, p, c, f, e, m, x, n, b, a, g)) | |
yield 1059, subst4 | |
# 1187: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f427(p, c, f, h, b, m, g)) and (cons_f424(d, p, c, f, h, m, b, a, g)) and (cons_f270(m, p)) | |
yield 1187, subst4 | |
# 678: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f239(c, d, e, b)) and (cons_f242(m, p)) | |
yield 678, subst4 | |
# 935: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f31(m)) and (cons_f168(m)) and (cons_f319(m, p)) and (cons_f368(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 935, subst4 | |
# 1190: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1190, subst4 | |
# 684: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f239(c, d, e, b)) and (cons_f319(m, p)) and (cons_f270(m, p)) and (cons_f272(m)) and (cons_f324(d, f, e, x, m, g)) | |
yield 684, subst4 | |
# 429: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f252(m)) | |
yield 429, subst4 | |
# 1196: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1196, subst4 | |
# 176: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f150(m, n)) and (cons_f151(m, n, p)) | |
yield 176, subst4 | |
# 434: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) and (cons_f31(m)) and (cons_f168(m)) and (cons_f238(m, p)) and (cons_f254(m, p)) and (cons_f255(m, p)) | |
yield 434, subst4 | |
# 53: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f72(m, n)) and (cons_f66(m)) | |
yield 53, subst4 | |
# 438: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) | |
yield 438, subst4 | |
# 311: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 311, subst4 | |
# 314: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f207(m, n)) | |
yield 314, subst4 | |
# 702: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f326(d, p, f, e, b, c, m, g)) | |
yield 702, subst4 | |
# 448: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f240(m, p)) | |
yield 448, subst4 | |
# 708: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f168(m)) | |
yield 708, subst4 | |
# 328: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f214(m, n)) and (cons_f213(m, n)) | |
yield 328, subst4 | |
# 585: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f240(m, p)) | |
yield 585, subst4 | |
# 714: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f328(m)) | |
yield 714, subst4 | |
# 1352: (a + v*a)**m /; (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1352, subst4 | |
# 76: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f62(m)) and (cons_f83(c, m, n)) | |
yield 76, subst4 | |
# 460: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f262(m, p)) | |
yield 460, subst4 | |
# 845: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) | |
yield 845, subst4 | |
# 720: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f329(m, p)) and (cons_f253(m, p)) | |
yield 720, subst4 | |
# 1234: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f431(h, b, c, a, g)) | |
yield 1234, subst4 | |
# 212: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f168(m)) and (cons_f167(m, n, p)) and (cons_f169(m, n, p)) | |
yield 212, subst4 | |
# 724: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f319(m, p)) | |
yield 724, subst4 | |
# 1238: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f431(h, b, c, a, g)) | |
yield 1238, subst4 | |
# 1364: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f84(m)) | |
yield 1364, subst4 | |
# 1243: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1243, subst4 | |
# 861: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f242(m, p)) and (cons_f352(d, e, b, c, m)) | |
yield 861, subst4 | |
# 480: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f256(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f252(m)) | |
yield 480, subst4 | |
# 1249: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1249, subst4 | |
# 486: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f31(m)) and (cons_f266(m)) and (cons_f238(m, p)) | |
yield 486, subst4 | |
# 1255: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1255, subst4 | |
# 1259: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1259, subst4 | |
# 638: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f84(m)) | |
yield 638, subst4 | |
# 1151: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1151, subst4 | |
subjects.appendleft(tmp21) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp23 = subjects.popleft() | |
associative1 = tmp23 | |
associative_type1 = type(tmp23) | |
subjects24 = deque(tmp23._args) | |
matcher = CommutativeMatcher2776.get() | |
tmp25 = subjects24 | |
subjects24 = [] | |
for s in tmp25: | |
matcher.add_subject(s) | |
for pattern_index, subst3 in matcher.match(tmp25, subst2): | |
if pattern_index == 0: | |
# State 2783 | |
if len(subjects) == 0: | |
# 44: (a + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f11(x, Pm)) and (With33(p, x, Qm, Pm, b, a, n)) | |
yield 44, subst3 | |
if pattern_index == 1: | |
# State 2915 | |
if len(subjects) == 0: | |
# 642: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 642, subst3 | |
# 1154: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1154, subst3 | |
# 1157: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1157, subst3 | |
# 133: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f123(x, u)) | |
yield 133, subst3 | |
# 645: (a + v*a)**m /; (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 645, subst3 | |
# 138: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f127(d, p, c, f, e, b, a, n)) | |
yield 138, subst3 | |
# 652: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) | |
yield 652, subst3 | |
# 526: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 526, subst3 | |
# 655: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f242(m, p)) | |
yield 655, subst3 | |
# 400: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 400, subst3 | |
# 912: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f168(m)) and (cons_f366(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 912, subst3 | |
# 658: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f244(m, p)) and (cons_f168(m)) | |
yield 658, subst3 | |
# 276: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f193(m, n)) | |
yield 276, subst3 | |
# 661: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) and (cons_f317(m)) | |
yield 661, subst3 | |
# 150: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f135(n, p)) and (cons_f136(n, p)) | |
yield 150, subst3 | |
# 663: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f31(m)) and (cons_f94(m)) and (cons_f318(m, p)) | |
yield 663, subst3 | |
# 153: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f126(n, p)) and (cons_f138(c, e, n, p)) | |
yield 153, subst3 | |
# 922: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f17(m)) | |
yield 922, subst3 | |
# 156: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) | |
yield 156, subst3 | |
# 412: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) and (cons_f240(m, p)) and (cons_f66(m)) | |
yield 412, subst3 | |
# 668: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f62(m)) and (cons_f319(m, p)) and (cons_f320(m, p)) | |
yield 668, subst3 | |
# 670: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f319(m, p)) | |
yield 670, subst3 | |
# 1181: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f423(p, c, f, e, h, b, m, g)) and (cons_f424(d, p, c, f, h, m, b, a, g)) and (cons_f270(m, p)) | |
yield 1181, subst3 | |
# 675: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f323(d, p, e, b, c, m)) | |
yield 675, subst3 | |
# 1059: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f380(d, p, c, f, e, m, x, n, b, a, g)) | |
yield 1059, subst3 | |
# 1187: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f427(p, c, f, h, b, m, g)) and (cons_f424(d, p, c, f, h, m, b, a, g)) and (cons_f270(m, p)) | |
yield 1187, subst3 | |
# 678: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f239(c, d, e, b)) and (cons_f242(m, p)) | |
yield 678, subst3 | |
# 935: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f31(m)) and (cons_f168(m)) and (cons_f319(m, p)) and (cons_f368(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 935, subst3 | |
# 1190: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1190, subst3 | |
# 684: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f239(c, d, e, b)) and (cons_f319(m, p)) and (cons_f270(m, p)) and (cons_f272(m)) and (cons_f324(d, f, e, x, m, g)) | |
yield 684, subst3 | |
# 429: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f252(m)) | |
yield 429, subst3 | |
# 1196: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1196, subst3 | |
# 176: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f150(m, n)) and (cons_f151(m, n, p)) | |
yield 176, subst3 | |
# 434: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) and (cons_f31(m)) and (cons_f168(m)) and (cons_f238(m, p)) and (cons_f254(m, p)) and (cons_f255(m, p)) | |
yield 434, subst3 | |
# 53: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f72(m, n)) and (cons_f66(m)) | |
yield 53, subst3 | |
# 438: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) | |
yield 438, subst3 | |
# 311: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 311, subst3 | |
# 314: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f207(m, n)) | |
yield 314, subst3 | |
# 702: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f326(d, p, f, e, b, c, m, g)) | |
yield 702, subst3 | |
# 448: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f240(m, p)) | |
yield 448, subst3 | |
# 708: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f168(m)) | |
yield 708, subst3 | |
# 328: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f214(m, n)) and (cons_f213(m, n)) | |
yield 328, subst3 | |
# 585: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f240(m, p)) | |
yield 585, subst3 | |
# 714: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f328(m)) | |
yield 714, subst3 | |
# 1352: (a + v*a)**m /; (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1352, subst3 | |
# 76: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f62(m)) and (cons_f83(c, m, n)) | |
yield 76, subst3 | |
# 460: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f262(m, p)) | |
yield 460, subst3 | |
# 845: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) | |
yield 845, subst3 | |
# 720: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f329(m, p)) and (cons_f253(m, p)) | |
yield 720, subst3 | |
# 1234: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f431(h, b, c, a, g)) | |
yield 1234, subst3 | |
# 212: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f168(m)) and (cons_f167(m, n, p)) and (cons_f169(m, n, p)) | |
yield 212, subst3 | |
# 724: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f319(m, p)) | |
yield 724, subst3 | |
# 1238: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f431(h, b, c, a, g)) | |
yield 1238, subst3 | |
# 1364: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f84(m)) | |
yield 1364, subst3 | |
# 1243: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1243, subst3 | |
# 861: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f242(m, p)) and (cons_f352(d, e, b, c, m)) | |
yield 861, subst3 | |
# 480: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f256(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f252(m)) | |
yield 480, subst3 | |
# 1249: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1249, subst3 | |
# 486: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f31(m)) and (cons_f266(m)) and (cons_f238(m, p)) | |
yield 486, subst3 | |
# 1255: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1255, subst3 | |
# 1259: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1259, subst3 | |
# 638: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f84(m)) | |
yield 638, subst3 | |
# 1151: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1151, subst3 | |
if pattern_index == 2: | |
# State 5033 | |
if len(subjects) == 0: | |
# 1385: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1385, subst3 | |
# 1388: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1388, subst3 | |
# 1102: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1102, subst3 | |
# 1169: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f420(d, f, h, c, a, g)) and (cons_f17(m)) | |
yield 1169, subst3 | |
# 1108: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f406(d, c, f, b, a)) and (cons_f405(q, p)) | |
yield 1108, subst3 | |
# 1149: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1149, subst3 | |
# 1114: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f408(q, p)) and (cons_f409(q, p)) | |
yield 1114, subst3 | |
# 989: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 989, subst3 | |
subjects.appendleft(tmp23) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3189 | |
if len(subjects) >= 1: | |
tmp27 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.0', tmp27) | |
except ValueError: | |
pass | |
else: | |
# State 3190 | |
if len(subjects) == 0: | |
# 162: (v*a)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f12(p)) and (cons_f144(m, n, p)) | |
yield 162, subst3 | |
# 1030: (v*a)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 1030, subst3 | |
# 268: (v*a)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 268, subst3 | |
# 141: (v*a)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f130(n, p)) | |
yield 141, subst3 | |
# 494: (v*a)**n /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) | |
yield 494, subst3 | |
# 144: (v*a)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f131(n, p)) and (cons_f133(d, p, f, e, b, a, n)) | |
yield 144, subst3 | |
# 273: (v*a)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f144(m, n, p)) | |
yield 273, subst3 | |
# 1049: (v*a)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f379(p, f, e, m, x, c, a, g)) | |
yield 1049, subst3 | |
subjects.appendleft(tmp27) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0_1', S(0)) | |
except ValueError: | |
pass | |
else: | |
# State 3234 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.0_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3235 | |
if len(subjects) >= 1: | |
tmp31 = subjects.popleft() | |
subst4 = Substitution(subst3) | |
try: | |
subst4.try_add_variable('i2.2.1.0', tmp31) | |
except ValueError: | |
pass | |
else: | |
# State 3236 | |
if len(subjects) == 0: | |
# 160: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f140(n, p)) and (cons_f141(d, p, c, f, e, b, a, n)) | |
yield 160, subst4 | |
# 741: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f148(n)) and (cons_f333(n, p)) | |
yield 741, subst4 | |
# 746: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f196(n)) and (cons_f333(n, p)) | |
yield 746, subst4 | |
# 174: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f148(n)) | |
yield 174, subst4 | |
# 180: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f152(n, p)) | |
yield 180, subst4 | |
# 182: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f140(n, p)) | |
yield 182, subst4 | |
subjects.appendleft(tmp31) | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.0_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 4908 | |
if len(subjects) >= 1: | |
tmp34 = subjects.popleft() | |
subst4 = Substitution(subst3) | |
try: | |
subst4.try_add_variable('i2.2.1.1', tmp34) | |
except ValueError: | |
pass | |
else: | |
# State 4909 | |
if len(subjects) == 0: | |
# 923: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) and (cons_f17(m)) | |
yield 923, subst4 | |
subjects.appendleft(tmp34) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp36 = subjects.popleft() | |
associative1 = tmp36 | |
associative_type1 = type(tmp36) | |
subjects37 = deque(tmp36._args) | |
matcher = CommutativeMatcher3238.get() | |
tmp38 = subjects37 | |
subjects37 = [] | |
for s in tmp38: | |
matcher.add_subject(s) | |
for pattern_index, subst3 in matcher.match(tmp38, subst2): | |
if pattern_index == 0: | |
# State 3239 | |
if len(subjects) == 0: | |
# 160: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f140(n, p)) and (cons_f141(d, p, c, f, e, b, a, n)) | |
yield 160, subst3 | |
# 741: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f148(n)) and (cons_f333(n, p)) | |
yield 741, subst3 | |
# 746: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f196(n)) and (cons_f333(n, p)) | |
yield 746, subst3 | |
# 174: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f148(n)) | |
yield 174, subst3 | |
# 180: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f152(n, p)) | |
yield 180, subst3 | |
# 182: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f140(n, p)) | |
yield 182, subst3 | |
if pattern_index == 1: | |
# State 4910 | |
if len(subjects) == 0: | |
# 923: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) and (cons_f17(m)) | |
yield 923, subst3 | |
subjects.appendleft(tmp36) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0_2', S(0)) | |
except ValueError: | |
pass | |
else: | |
# State 3308 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.0_3', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3309 | |
if len(subjects) >= 1: | |
tmp41 = subjects.popleft() | |
subst4 = Substitution(subst3) | |
try: | |
subst4.try_add_variable('i2.2.1.0', tmp41) | |
except ValueError: | |
pass | |
else: | |
# State 3310 | |
if len(subjects) == 0: | |
# 168: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f13(p)) and (cons_f145(p)) | |
yield 168, subst4 | |
# 167: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f38(p)) | |
yield 167, subst4 | |
subjects.appendleft(tmp41) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp43 = subjects.popleft() | |
associative1 = tmp43 | |
associative_type1 = type(tmp43) | |
subjects44 = deque(tmp43._args) | |
matcher = CommutativeMatcher3312.get() | |
tmp45 = subjects44 | |
subjects44 = [] | |
for s in tmp45: | |
matcher.add_subject(s) | |
for pattern_index, subst3 in matcher.match(tmp45, subst2): | |
if pattern_index == 0: | |
# State 3313 | |
if len(subjects) == 0: | |
# 168: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f13(p)) and (cons_f145(p)) | |
yield 168, subst3 | |
# 167: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f38(p)) | |
yield 167, subst3 | |
subjects.appendleft(tmp43) | |
if len(subjects) >= 1: | |
tmp46 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.1', tmp46) | |
except ValueError: | |
pass | |
else: | |
# State 5808 | |
if len(subjects) == 0: | |
# 1357: u**p /; (cons_f5(p, x)) and (cons_f452(x, v, u)) and (cons_f453(x, v, z, u)) | |
yield 1357, subst2 | |
subjects.appendleft(tmp46) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp48 = subjects.popleft() | |
associative1 = tmp48 | |
associative_type1 = type(tmp48) | |
subjects49 = deque(tmp48._args) | |
matcher = CommutativeMatcher3192.get() | |
tmp50 = subjects49 | |
subjects49 = [] | |
for s in tmp50: | |
matcher.add_subject(s) | |
for pattern_index, subst2 in matcher.match(tmp50, subst1): | |
if pattern_index == 0: | |
# State 3193 | |
if len(subjects) == 0: | |
# 162: (v*a)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f12(p)) and (cons_f144(m, n, p)) | |
yield 162, subst2 | |
# 1030: (v*a)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 1030, subst2 | |
# 268: (v*a)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 268, subst2 | |
# 141: (v*a)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f130(n, p)) | |
yield 141, subst2 | |
# 494: (v*a)**n /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) | |
yield 494, subst2 | |
# 144: (v*a)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f131(n, p)) and (cons_f133(d, p, f, e, b, a, n)) | |
yield 144, subst2 | |
# 273: (v*a)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f144(m, n, p)) | |
yield 273, subst2 | |
# 1049: (v*a)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f379(p, f, e, m, x, c, a, g)) | |
yield 1049, subst2 | |
subjects.appendleft(tmp48) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2456 | |
if len(subjects) >= 1: | |
tmp52 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0_1', tmp52) | |
except ValueError: | |
pass | |
else: | |
# State 2457 | |
if len(subjects) == 0: | |
# 10: v**m /; (cons_f17(m)) | |
yield 10, subst2 | |
subjects.appendleft(tmp52) | |
if len(subjects) >= 1: | |
tmp54 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.1.1', tmp54) | |
except ValueError: | |
pass | |
else: | |
# State 2748 | |
if len(subjects) == 0: | |
# 40: x**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f53(m, n)) | |
yield 40, subst2 | |
# 1177: x**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f38(p)) | |
yield 1177, subst2 | |
# 650: x**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f85(n)) | |
yield 650, subst2 | |
# 43: x**m /; (cons_f57(a1, x)) and (cons_f58(b1, x)) and (cons_f59(a2, x)) and (cons_f60(b2, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f56(m, n)) | |
yield 43, subst2 | |
subjects.appendleft(tmp54) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0_1', S(0)) | |
except ValueError: | |
pass | |
else: | |
# State 2978 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.0_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 2979 | |
if len(subjects) >= 1: | |
tmp58 = subjects.popleft() | |
subst4 = Substitution(subst3) | |
try: | |
subst4.try_add_variable('i2.2.1.0', tmp58) | |
except ValueError: | |
pass | |
else: | |
# State 2980 | |
if len(subjects) == 0: | |
# 771: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) and (cons_f88(n)) | |
yield 771, subst4 | |
# 134: (c + v*b)**n /; (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f123(x, u)) | |
yield 134, subst4 | |
# 776: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) | |
yield 776, subst4 | |
# 139: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f127(d, p, c, f, e, b, a, n)) | |
yield 139, subst4 | |
# 782: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f87(n)) and (cons_f88(n)) and (cons_f335(m, n)) and (cons_f342(n, p)) | |
yield 782, subst4 | |
# 401: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 401, subst4 | |
# 148: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f134(d, p, c, f, e, b, a, n)) | |
yield 148, subst4 | |
# 277: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f193(m, n)) | |
yield 277, subst4 | |
# 151: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f135(n, p)) and (cons_f54(p)) and (cons_f136(n, p)) | |
yield 151, subst4 | |
# 280: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f194(m, n, p)) and (cons_f195(m, n, p)) | |
yield 280, subst4 | |
# 154: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f126(n, p)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f138(c, e, n, p)) | |
yield 154, subst4 | |
# 283: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) and (cons_f196(n)) | |
yield 283, subst4 | |
# 157: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f12(p)) and (cons_f139(p)) | |
yield 157, subst4 | |
# 158: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) | |
yield 158, subst4 | |
# 800: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f344(d, p, c, f, e, n, b, g)) and (cons_f126(n, p)) | |
yield 800, subst4 | |
# 1060: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f380(d, p, c, f, e, m, x, n, b, a, g)) | |
yield 1060, subst4 | |
# 1065: (c + v*b)**n /; (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1065, subst4 | |
# 810: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f346(n)) | |
yield 810, subst4 | |
# 816: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f207(m, n)) | |
yield 816, subst4 | |
# 177: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f150(m, n)) and (cons_f151(m, n, p)) | |
yield 177, subst4 | |
# 691: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) | |
yield 691, subst4 | |
# 312: (c + v*b)**n /; (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 312, subst4 | |
# 697: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 697, subst4 | |
# 315: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f207(m, n)) | |
yield 315, subst4 | |
# 319: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f72(m, n)) and (cons_f210(m, n)) | |
yield 319, subst4 | |
# 194: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) and (cons_f87(n)) and (cons_f88(n)) | |
yield 194, subst4 | |
# 197: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) and (cons_f160(d, p, c, f, e, m, b, a, n)) | |
yield 197, subst4 | |
# 325: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f211(m, n)) | |
yield 325, subst4 | |
# 327: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f213(m, n)) | |
yield 327, subst4 | |
# 200: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) | |
yield 200, subst4 | |
# 329: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f214(m, n)) and (cons_f213(m, n)) | |
yield 329, subst4 | |
# 203: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f88(n)) and (cons_f164(m, n, p)) | |
yield 203, subst4 | |
# 77: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f83(c, m, n)) | |
yield 77, subst4 | |
# 206: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f162(m, n, p)) and (cons_f165(n)) and (cons_f164(m, n, p)) | |
yield 206, subst4 | |
# 79: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f85(n)) and (cons_f86(m, n)) | |
yield 79, subst4 | |
# 208: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f162(m, n, p)) and (cons_f88(n)) and (cons_f164(m, n, p)) | |
yield 208, subst4 | |
# 210: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) | |
yield 210, subst4 | |
# 213: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f88(n)) and (cons_f167(m, n, p)) and (cons_f169(m, n, p)) | |
yield 213, subst4 | |
# 1365: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1365, subst4 | |
# 216: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) and (cons_f170(m, n, p)) | |
yield 216, subst4 | |
# 219: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f171(n, p)) | |
yield 219, subst4 | |
# 222: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f170(m, n, p)) | |
yield 222, subst4 | |
# 735: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f150(m, n)) | |
yield 735, subst4 | |
# 749: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f334(d, f, e, b, c, g)) and (cons_f335(m, n)) | |
yield 749, subst4 | |
# 766: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) and (cons_f335(m, n)) and (cons_f340(n)) and (cons_f341(n, p)) | |
yield 766, subst4 | |
subjects.appendleft(tmp58) | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.0_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 4460 | |
if len(subjects) >= 1: | |
tmp61 = subjects.popleft() | |
subst4 = Substitution(subst3) | |
try: | |
subst4.try_add_variable('i2.2.1.1', tmp61) | |
except ValueError: | |
pass | |
else: | |
# State 4461 | |
if len(subjects) == 0: | |
# 864: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) and (cons_f242(m, p)) and (cons_f353(d, m)) | |
yield 864, subst4 | |
# 1185: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f425(p, f, e, h, c, m, g)) and (cons_f426(d, p, f, h, c, a, m)) and (cons_f270(m, p)) | |
yield 1185, subst4 | |
# 1063: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f381(d, p, f, e, m, x, n, c, a, g)) | |
yield 1063, subst4 | |
# 712: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f244(m, p)) and (cons_f168(m)) | |
yield 712, subst4 | |
# 648: (d + b*x)**m /; (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 648, subst4 | |
# 1161: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1161, subst4 | |
# 939: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) and (cons_f31(m)) and (cons_f168(m)) and (cons_f319(m, p)) and (cons_f368(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 939, subst4 | |
# 1194: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1194, subst4 | |
# 1258: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1258, subst4 | |
# 1355: (d + b*x)**m /; (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1355, subst4 | |
# 849: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) | |
yield 849, subst4 | |
# 916: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) and (cons_f244(m, p)) and (cons_f168(m)) and (cons_f366(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 916, subst4 | |
# 1237: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f430(c, a, g, h)) | |
yield 1237, subst4 | |
# 1247: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1247, subst4 | |
subjects.appendleft(tmp61) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp63 = subjects.popleft() | |
subjects64 = deque(tmp63._args) | |
# State 5500 | |
if len(subjects64) >= 1: | |
tmp65 = subjects64.popleft() | |
subst4 = Substitution(subst3) | |
try: | |
subst4.try_add_variable('i2.2.1.1', tmp65) | |
except ValueError: | |
pass | |
else: | |
# State 5501 | |
if len(subjects64) >= 1 and subjects64[0] == 2: | |
tmp67 = subjects64.popleft() | |
# State 5502 | |
if len(subjects64) == 0: | |
# State 5503 | |
if len(subjects) == 0: | |
# 1173: (d + c*x**2)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f420(d, f, h, c, a, g)) and (cons_f17(m)) | |
yield 1173, subst4 | |
subjects64.appendleft(tmp67) | |
subjects64.appendleft(tmp65) | |
subjects.appendleft(tmp63) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp68 = subjects.popleft() | |
associative1 = tmp68 | |
associative_type1 = type(tmp68) | |
subjects69 = deque(tmp68._args) | |
matcher = CommutativeMatcher2982.get() | |
tmp70 = subjects69 | |
subjects69 = [] | |
for s in tmp70: | |
matcher.add_subject(s) | |
for pattern_index, subst3 in matcher.match(tmp70, subst2): | |
if pattern_index == 0: | |
# State 2983 | |
if len(subjects) == 0: | |
# 771: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) and (cons_f88(n)) | |
yield 771, subst3 | |
# 134: (c + v*b)**n /; (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f123(x, u)) | |
yield 134, subst3 | |
# 776: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) | |
yield 776, subst3 | |
# 139: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f127(d, p, c, f, e, b, a, n)) | |
yield 139, subst3 | |
# 782: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f87(n)) and (cons_f88(n)) and (cons_f335(m, n)) and (cons_f342(n, p)) | |
yield 782, subst3 | |
# 401: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 401, subst3 | |
# 148: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f134(d, p, c, f, e, b, a, n)) | |
yield 148, subst3 | |
# 277: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f193(m, n)) | |
yield 277, subst3 | |
# 151: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f135(n, p)) and (cons_f54(p)) and (cons_f136(n, p)) | |
yield 151, subst3 | |
# 280: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f194(m, n, p)) and (cons_f195(m, n, p)) | |
yield 280, subst3 | |
# 154: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f126(n, p)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f138(c, e, n, p)) | |
yield 154, subst3 | |
# 283: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) and (cons_f196(n)) | |
yield 283, subst3 | |
# 157: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f12(p)) and (cons_f139(p)) | |
yield 157, subst3 | |
# 158: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) | |
yield 158, subst3 | |
# 800: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f344(d, p, c, f, e, n, b, g)) and (cons_f126(n, p)) | |
yield 800, subst3 | |
# 1060: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f380(d, p, c, f, e, m, x, n, b, a, g)) | |
yield 1060, subst3 | |
# 1065: (c + v*b)**n /; (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1065, subst3 | |
# 810: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f346(n)) | |
yield 810, subst3 | |
# 816: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f207(m, n)) | |
yield 816, subst3 | |
# 177: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f150(m, n)) and (cons_f151(m, n, p)) | |
yield 177, subst3 | |
# 691: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) | |
yield 691, subst3 | |
# 312: (c + v*b)**n /; (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 312, subst3 | |
# 697: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 697, subst3 | |
# 315: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f207(m, n)) | |
yield 315, subst3 | |
# 319: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f72(m, n)) and (cons_f210(m, n)) | |
yield 319, subst3 | |
# 194: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) and (cons_f87(n)) and (cons_f88(n)) | |
yield 194, subst3 | |
# 197: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) and (cons_f160(d, p, c, f, e, m, b, a, n)) | |
yield 197, subst3 | |
# 325: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f211(m, n)) | |
yield 325, subst3 | |
# 327: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f213(m, n)) | |
yield 327, subst3 | |
# 200: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) | |
yield 200, subst3 | |
# 329: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f214(m, n)) and (cons_f213(m, n)) | |
yield 329, subst3 | |
# 203: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f88(n)) and (cons_f164(m, n, p)) | |
yield 203, subst3 | |
# 77: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f83(c, m, n)) | |
yield 77, subst3 | |
# 206: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f162(m, n, p)) and (cons_f165(n)) and (cons_f164(m, n, p)) | |
yield 206, subst3 | |
# 79: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f85(n)) and (cons_f86(m, n)) | |
yield 79, subst3 | |
# 208: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f162(m, n, p)) and (cons_f88(n)) and (cons_f164(m, n, p)) | |
yield 208, subst3 | |
# 210: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) | |
yield 210, subst3 | |
# 213: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f88(n)) and (cons_f167(m, n, p)) and (cons_f169(m, n, p)) | |
yield 213, subst3 | |
# 1365: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1365, subst3 | |
# 216: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) and (cons_f170(m, n, p)) | |
yield 216, subst3 | |
# 219: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f171(n, p)) | |
yield 219, subst3 | |
# 222: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f170(m, n, p)) | |
yield 222, subst3 | |
# 735: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f150(m, n)) | |
yield 735, subst3 | |
# 749: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f334(d, f, e, b, c, g)) and (cons_f335(m, n)) | |
yield 749, subst3 | |
# 766: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) and (cons_f335(m, n)) and (cons_f340(n)) and (cons_f341(n, p)) | |
yield 766, subst3 | |
if pattern_index == 1: | |
# State 4462 | |
if len(subjects) == 0: | |
# 864: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) and (cons_f242(m, p)) and (cons_f353(d, m)) | |
yield 864, subst3 | |
# 1185: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f425(p, f, e, h, c, m, g)) and (cons_f426(d, p, f, h, c, a, m)) and (cons_f270(m, p)) | |
yield 1185, subst3 | |
# 1063: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f381(d, p, f, e, m, x, n, c, a, g)) | |
yield 1063, subst3 | |
# 712: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f244(m, p)) and (cons_f168(m)) | |
yield 712, subst3 | |
# 648: (d + b*x)**m /; (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 648, subst3 | |
# 1161: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1161, subst3 | |
# 939: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) and (cons_f31(m)) and (cons_f168(m)) and (cons_f319(m, p)) and (cons_f368(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 939, subst3 | |
# 1194: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1194, subst3 | |
# 1258: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1258, subst3 | |
# 1355: (d + b*x)**m /; (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1355, subst3 | |
# 849: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) | |
yield 849, subst3 | |
# 916: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) and (cons_f244(m, p)) and (cons_f168(m)) and (cons_f366(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 916, subst3 | |
# 1237: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f430(c, a, g, h)) | |
yield 1237, subst3 | |
# 1247: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1247, subst3 | |
if pattern_index == 2: | |
# State 5508 | |
if len(subjects) == 0: | |
# 1173: (d + c*x**2)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f420(d, f, h, c, a, g)) and (cons_f17(m)) | |
yield 1173, subst3 | |
subjects.appendleft(tmp68) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0_2', S(0)) | |
except ValueError: | |
pass | |
else: | |
# State 3247 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.0_3', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3248 | |
if len(subjects) >= 1: | |
tmp73 = subjects.popleft() | |
subst4 = Substitution(subst3) | |
try: | |
subst4.try_add_variable('i2.2.1.0', tmp73) | |
except ValueError: | |
pass | |
else: | |
# State 3249 | |
if len(subjects) == 0: | |
# 161: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f140(n, p)) and (cons_f141(d, p, c, f, e, b, a, n)) | |
yield 161, subst4 | |
# 181: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f152(n, p)) | |
yield 181, subst4 | |
# 183: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f140(n, p)) | |
yield 183, subst4 | |
subjects.appendleft(tmp73) | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.0', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3266 | |
if len(subjects) >= 1: | |
tmp76 = subjects.popleft() | |
subst4 = Substitution(subst3) | |
try: | |
subst4.try_add_variable('i2.2.0', tmp76) | |
except ValueError: | |
pass | |
else: | |
# State 3267 | |
if len(subjects) == 0: | |
# 274: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f192(m, n)) and (cons_f144(m, n, p)) | |
yield 274, subst4 | |
# 163: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f142(m, n)) and (cons_f143(m)) and (cons_f144(m, n, p)) | |
yield 163, subst4 | |
# 269: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) and (cons_f43(a)) | |
yield 269, subst4 | |
# 271: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) | |
yield 271, subst4 | |
subjects.appendleft(tmp76) | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.0_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 4625 | |
if len(subjects) >= 1: | |
tmp79 = subjects.popleft() | |
subst4 = Substitution(subst3) | |
try: | |
subst4.try_add_variable('i2.2.1.1', tmp79) | |
except ValueError: | |
pass | |
else: | |
# State 4626 | |
if len(subjects) == 0: | |
# 745: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f148(n)) and (cons_f333(n, p)) | |
yield 745, subst4 | |
# 747: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f196(n)) and (cons_f333(n, p)) | |
yield 747, subst4 | |
subjects.appendleft(tmp79) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp81 = subjects.popleft() | |
associative1 = tmp81 | |
associative_type1 = type(tmp81) | |
subjects82 = deque(tmp81._args) | |
matcher = CommutativeMatcher3251.get() | |
tmp83 = subjects82 | |
subjects82 = [] | |
for s in tmp83: | |
matcher.add_subject(s) | |
for pattern_index, subst3 in matcher.match(tmp83, subst2): | |
if pattern_index == 0: | |
# State 3252 | |
if len(subjects) == 0: | |
# 161: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f140(n, p)) and (cons_f141(d, p, c, f, e, b, a, n)) | |
yield 161, subst3 | |
# 181: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f152(n, p)) | |
yield 181, subst3 | |
# 183: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f140(n, p)) | |
yield 183, subst3 | |
if pattern_index == 1: | |
# State 3268 | |
if len(subjects) == 0: | |
# 274: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f192(m, n)) and (cons_f144(m, n, p)) | |
yield 274, subst3 | |
# 163: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f142(m, n)) and (cons_f143(m)) and (cons_f144(m, n, p)) | |
yield 163, subst3 | |
# 269: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) and (cons_f43(a)) | |
yield 269, subst3 | |
# 271: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) | |
yield 271, subst3 | |
if pattern_index == 2: | |
# State 4627 | |
if len(subjects) == 0: | |
# 745: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f148(n)) and (cons_f333(n, p)) | |
yield 745, subst3 | |
# 747: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f196(n)) and (cons_f333(n, p)) | |
yield 747, subst3 | |
subjects.appendleft(tmp81) | |
if len(subjects) >= 1: | |
tmp84 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.1_1', tmp84) | |
except ValueError: | |
pass | |
else: | |
# State 5811 | |
if len(subjects) == 0: | |
# 1358: v**q /; (cons_f50(q, x)) and (cons_f452(x, v, u)) and (cons_f453(x, v, z, u)) | |
yield 1358, subst2 | |
subjects.appendleft(tmp84) | |
if len(subjects) >= 1 and isinstance(subjects[0], Add): | |
tmp86 = subjects.popleft() | |
associative1 = tmp86 | |
associative_type1 = type(tmp86) | |
subjects87 = deque(tmp86._args) | |
matcher = CommutativeMatcher2495.get() | |
tmp88 = subjects87 | |
subjects87 = [] | |
for s in tmp88: | |
matcher.add_subject(s) | |
for pattern_index, subst2 in matcher.match(tmp88, subst1): | |
if pattern_index == 0: | |
# State 2501 | |
if len(subjects) == 0: | |
# 136: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) | |
yield 136, subst2 | |
# 1361: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f336(f, e, g, d)) and (cons_f124(m, n)) and (cons_f377(f, d, m)) | |
yield 1361, subst2 | |
# 18: (c + v*b)**n /; (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f25(b, d, a, c)) and (cons_f26(d, x, b, c, a, n)) | |
yield 18, subst2 | |
# 987: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f124(m, n)) and (cons_f336(f, e, g, d)) and (cons_f377(f, d, m)) | |
yield 987, subst2 | |
if pattern_index == 1: | |
# State 2561 | |
if len(subjects) == 0: | |
# 28: (c + b*v**n)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f37(n, q)) and (cons_f38(p)) and (cons_f39(c, d, a, b)) | |
yield 28, subst2 | |
# 29: (c + b*v**n)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f41(m, p)) and (cons_f42(b, d, a, c)) and (cons_f43(a)) | |
yield 29, subst2 | |
if pattern_index == 2: | |
# State 2984 | |
if len(subjects) == 0: | |
# 771: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) and (cons_f88(n)) | |
yield 771, subst2 | |
# 134: (c + v*b)**n /; (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f123(x, u)) | |
yield 134, subst2 | |
# 776: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) | |
yield 776, subst2 | |
# 139: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f127(d, p, c, f, e, b, a, n)) | |
yield 139, subst2 | |
# 782: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f87(n)) and (cons_f88(n)) and (cons_f335(m, n)) and (cons_f342(n, p)) | |
yield 782, subst2 | |
# 401: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 401, subst2 | |
# 148: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f134(d, p, c, f, e, b, a, n)) | |
yield 148, subst2 | |
# 277: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f193(m, n)) | |
yield 277, subst2 | |
# 151: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f135(n, p)) and (cons_f54(p)) and (cons_f136(n, p)) | |
yield 151, subst2 | |
# 280: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f194(m, n, p)) and (cons_f195(m, n, p)) | |
yield 280, subst2 | |
# 154: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f126(n, p)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f138(c, e, n, p)) | |
yield 154, subst2 | |
# 283: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) and (cons_f196(n)) | |
yield 283, subst2 | |
# 157: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f12(p)) and (cons_f139(p)) | |
yield 157, subst2 | |
# 158: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) | |
yield 158, subst2 | |
# 800: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f344(d, p, c, f, e, n, b, g)) and (cons_f126(n, p)) | |
yield 800, subst2 | |
# 1060: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f380(d, p, c, f, e, m, x, n, b, a, g)) | |
yield 1060, subst2 | |
# 1065: (c + v*b)**n /; (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1065, subst2 | |
# 810: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f346(n)) | |
yield 810, subst2 | |
# 816: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f207(m, n)) | |
yield 816, subst2 | |
# 177: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f150(m, n)) and (cons_f151(m, n, p)) | |
yield 177, subst2 | |
# 691: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) | |
yield 691, subst2 | |
# 312: (c + v*b)**n /; (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 312, subst2 | |
# 697: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 697, subst2 | |
# 315: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f207(m, n)) | |
yield 315, subst2 | |
# 319: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f72(m, n)) and (cons_f210(m, n)) | |
yield 319, subst2 | |
# 194: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) and (cons_f87(n)) and (cons_f88(n)) | |
yield 194, subst2 | |
# 197: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) and (cons_f160(d, p, c, f, e, m, b, a, n)) | |
yield 197, subst2 | |
# 325: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f211(m, n)) | |
yield 325, subst2 | |
# 327: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f213(m, n)) | |
yield 327, subst2 | |
# 200: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) | |
yield 200, subst2 | |
# 329: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f214(m, n)) and (cons_f213(m, n)) | |
yield 329, subst2 | |
# 203: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f88(n)) and (cons_f164(m, n, p)) | |
yield 203, subst2 | |
# 77: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f83(c, m, n)) | |
yield 77, subst2 | |
# 206: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f162(m, n, p)) and (cons_f165(n)) and (cons_f164(m, n, p)) | |
yield 206, subst2 | |
# 79: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f85(n)) and (cons_f86(m, n)) | |
yield 79, subst2 | |
# 208: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f162(m, n, p)) and (cons_f88(n)) and (cons_f164(m, n, p)) | |
yield 208, subst2 | |
# 210: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) | |
yield 210, subst2 | |
# 213: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f88(n)) and (cons_f167(m, n, p)) and (cons_f169(m, n, p)) | |
yield 213, subst2 | |
# 1365: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1365, subst2 | |
# 216: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) and (cons_f170(m, n, p)) | |
yield 216, subst2 | |
# 219: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f171(n, p)) | |
yield 219, subst2 | |
# 222: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f170(m, n, p)) | |
yield 222, subst2 | |
# 735: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f150(m, n)) | |
yield 735, subst2 | |
# 749: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f334(d, f, e, b, c, g)) and (cons_f335(m, n)) | |
yield 749, subst2 | |
# 766: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) and (cons_f335(m, n)) and (cons_f340(n)) and (cons_f341(n, p)) | |
yield 766, subst2 | |
if pattern_index == 3: | |
# State 3201 | |
if len(subjects) == 0: | |
# 145: (x*d + c)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f128(p)) and (cons_f131(n, p)) and (cons_f132(b, a, e, f)) and (cons_f133(d, p, f, e, b, a, n)) | |
yield 145, subst2 | |
# 142: (x*d + c)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f128(p)) and (cons_f129(b, a, e, f)) and (cons_f130(n, p)) | |
yield 142, subst2 | |
if pattern_index == 4: | |
# State 3256 | |
if len(subjects) == 0: | |
# 161: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f140(n, p)) and (cons_f141(d, p, c, f, e, b, a, n)) | |
yield 161, subst2 | |
# 181: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f152(n, p)) | |
yield 181, subst2 | |
# 183: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f140(n, p)) | |
yield 183, subst2 | |
if pattern_index == 5: | |
# State 3269 | |
if len(subjects) == 0: | |
# 274: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f192(m, n)) and (cons_f144(m, n, p)) | |
yield 274, subst2 | |
# 163: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f142(m, n)) and (cons_f143(m)) and (cons_f144(m, n, p)) | |
yield 163, subst2 | |
# 269: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) and (cons_f43(a)) | |
yield 269, subst2 | |
# 271: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) | |
yield 271, subst2 | |
if pattern_index == 6: | |
# State 4001 | |
if len(subjects) == 0: | |
# 514: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f246(p)) | |
yield 514, subst2 | |
# 898: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f361(m, p)) and (cons_f299(m, p)) and (cons_f362(m, p)) | |
yield 898, subst2 | |
# 903: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f363(m, p)) and (cons_f303(m, p)) and (cons_f362(m, p)) | |
yield 903, subst2 | |
# 521: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f238(m, p)) and (cons_f277(m, p)) | |
yield 521, subst2 | |
# 523: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f278(m, p)) | |
yield 523, subst2 | |
# 907: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f137(p)) and (cons_f364(d, p, c, f, e, m, b, a, g)) | |
yield 907, subst2 | |
# 525: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) | |
yield 525, subst2 | |
# 527: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f128(p)) | |
yield 527, subst2 | |
# 894: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f163(p)) and (cons_f359(m, p)) and (cons_f360(m, p)) | |
yield 894, subst2 | |
# 1182: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f423(p, c, f, e, h, b, m, g)) and (cons_f424(d, p, c, f, h, m, b, a, g)) and (cons_f270(m, p)) | |
yield 1182, subst2 | |
# 1188: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f427(p, c, f, h, b, m, g)) and (cons_f424(d, p, c, f, h, m, b, a, g)) and (cons_f270(m, p)) | |
yield 1188, subst2 | |
# 1191: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f428(m, p)) | |
yield 1191, subst2 | |
# 936: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f319(m, p)) and (cons_f368(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 936, subst2 | |
# 1197: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f428(m, p)) | |
yield 1197, subst2 | |
# 942: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f362(m, p)) | |
yield 942, subst2 | |
# 1203: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f429(h, b, c, a, g)) | |
yield 1203, subst2 | |
# 948: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f369(m, p)) | |
yield 948, subst2 | |
# 1209: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f429(h, b, c, a, g)) | |
yield 1209, subst2 | |
# 441: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f38(p)) | |
yield 441, subst2 | |
# 967: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) | |
yield 967, subst2 | |
# 1353: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1353, subst2 | |
# 846: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f128(p)) | |
yield 846, subst2 | |
# 856: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f242(m, p)) and (cons_f350(d, c, f, e, b, a, g)) | |
yield 856, subst2 | |
# 1244: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f242(m, p)) | |
yield 1244, subst2 | |
# 866: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f242(m, p)) | |
yield 866, subst2 | |
# 1250: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f242(m, p)) | |
yield 1250, subst2 | |
# 1256: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f270(m, p)) | |
yield 1256, subst2 | |
# 1260: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f270(m, p)) | |
yield 1260, subst2 | |
# 504: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f242(m, p)) and (cons_f54(p)) | |
yield 504, subst2 | |
# 506: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f128(p)) and (cons_f269(m, p)) | |
yield 506, subst2 | |
# 508: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f244(m, p)) and (cons_f163(p)) and (cons_f271(m, p)) and (cons_f246(p)) | |
yield 508, subst2 | |
# 510: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f273(m, p)) and (cons_f246(p)) | |
yield 510, subst2 | |
if pattern_index == 7: | |
# State 4014 | |
if len(subjects) == 0: | |
# 641: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f84(m)) | |
yield 641, subst2 | |
# 1167: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f419(c, a, g, h)) and (cons_f418(d, f, e, h, c, a, g)) and (cons_f17(m)) | |
yield 1167, subst2 | |
# 529: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f281(m, p)) | |
yield 529, subst2 | |
# 1200: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1200, subst2 | |
# 694: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f325(m, d, a, p)) | |
yield 694, subst2 | |
# 443: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f258(m, d, a, p)) | |
yield 443, subst2 | |
# 706: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f327(d, p, f, e, m, g)) | |
yield 706, subst2 | |
# 451: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f240(m, p)) | |
yield 451, subst2 | |
# 588: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f240(m, p)) | |
yield 588, subst2 | |
# 718: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f328(m)) | |
yield 718, subst2 | |
# 463: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f262(m, p)) | |
yield 463, subst2 | |
# 723: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f329(m, p)) and (cons_f253(m, p)) | |
yield 723, subst2 | |
# 727: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f319(m, p)) | |
yield 727, subst2 | |
# 1242: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f430(c, a, g, h)) | |
yield 1242, subst2 | |
# 990: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f124(m, n)) and (cons_f336(f, e, g, d)) and (cons_f377(f, d, m)) | |
yield 990, subst2 | |
# 483: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f257(c, d, a, e)) and (cons_f244(m, p)) and (cons_f252(m)) | |
yield 483, subst2 | |
# 1253: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1253, subst2 | |
# 489: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f31(m)) and (cons_f266(m)) and (cons_f238(m, p)) | |
yield 489, subst2 | |
# 1263: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1263, subst2 | |
# 497: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f268(d)) | |
yield 497, subst2 | |
# 500: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f257(c, d, a, e)) | |
yield 500, subst2 | |
# 637: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) | |
yield 637, subst2 | |
if pattern_index == 8: | |
# State 4454 | |
if len(subjects) == 0: | |
# 1152: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f384(c, f, p)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1152, subst2 | |
# 1155: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f147(p)) and (cons_f387(c, f)) | |
yield 1155, subst2 | |
# 646: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 646, subst2 | |
# 1164: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f417(h, b, c, a, g)) and (cons_f418(d, f, e, h, c, a, g)) | |
yield 1164, subst2 | |
# 656: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f316(c, f, g, b)) and (cons_f147(p)) and (cons_f242(m, p)) | |
yield 656, subst2 | |
# 671: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f316(c, f, g, b)) and (cons_f147(p)) and (cons_f319(m, p)) | |
yield 671, subst2 | |
if pattern_index == 9: | |
# State 4463 | |
if len(subjects) == 0: | |
# 864: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) and (cons_f242(m, p)) and (cons_f353(d, m)) | |
yield 864, subst2 | |
# 1185: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f425(p, f, e, h, c, m, g)) and (cons_f426(d, p, f, h, c, a, m)) and (cons_f270(m, p)) | |
yield 1185, subst2 | |
# 1063: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f381(d, p, f, e, m, x, n, c, a, g)) | |
yield 1063, subst2 | |
# 712: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f244(m, p)) and (cons_f168(m)) | |
yield 712, subst2 | |
# 648: (d + b*x)**m /; (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 648, subst2 | |
# 1161: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1161, subst2 | |
# 939: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) and (cons_f31(m)) and (cons_f168(m)) and (cons_f319(m, p)) and (cons_f368(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 939, subst2 | |
# 1194: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1194, subst2 | |
# 1258: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1258, subst2 | |
# 1355: (d + b*x)**m /; (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1355, subst2 | |
# 849: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) | |
yield 849, subst2 | |
# 916: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) and (cons_f244(m, p)) and (cons_f168(m)) and (cons_f366(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 916, subst2 | |
# 1237: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f430(c, a, g, h)) | |
yield 1237, subst2 | |
# 1247: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1247, subst2 | |
if pattern_index == 10: | |
# State 4630 | |
if len(subjects) == 0: | |
# 745: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f148(n)) and (cons_f333(n, p)) | |
yield 745, subst2 | |
# 747: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f196(n)) and (cons_f333(n, p)) | |
yield 747, subst2 | |
if pattern_index == 11: | |
# State 5191 | |
if len(subjects) == 0: | |
# 1050: (v**2*c + a)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f379(p, f, e, m, x, c, a, g)) | |
yield 1050, subst2 | |
if pattern_index == 12: | |
# State 5234 | |
if len(subjects) == 0: | |
# 1288: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f433(q, p)) | |
yield 1288, subst2 | |
# 1418: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f404(d, f, e, b, c, a)) and (cons_f405(q, p)) | |
yield 1418, subst2 | |
# 1421: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f404(d, f, e, b, c, a)) and (cons_f405(q, p)) | |
yield 1421, subst2 | |
# 1436: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1436, subst2 | |
# 1438: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1438, subst2 | |
# 1069: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f384(c, f, p)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1069, subst2 | |
# 1071: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f386(q)) and (cons_f387(c, f)) | |
yield 1071, subst2 | |
# 1073: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1073, subst2 | |
# 1370: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f384(c, f, p)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1370, subst2 | |
# 1373: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f384(c, f, p)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1373, subst2 | |
# 1376: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f386(q)) and (cons_f387(c, f)) | |
yield 1376, subst2 | |
# 1379: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f386(q)) and (cons_f387(c, f)) | |
yield 1379, subst2 | |
# 1392: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f394(f, d, e)) and (cons_f220(q, p)) | |
yield 1392, subst2 | |
# 1266: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f394(f, d, e)) and (cons_f220(q, p)) | |
yield 1266, subst2 | |
# 1395: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f394(f, d, e)) and (cons_f220(q, p)) | |
yield 1395, subst2 | |
# 1272: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f394(f, d, e)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1272, subst2 | |
# 1404: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f394(f, d, e)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1404, subst2 | |
# 1406: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f394(f, d, e)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1406, subst2 | |
# 1279: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f404(d, f, e, b, c, a)) and (cons_f405(q, p)) | |
yield 1279, subst2 | |
if pattern_index == 13: | |
# State 5306 | |
if len(subjects) == 0: | |
# 1382: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1382, subst2 | |
# 1384: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1384, subst2 | |
# 1101: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f394(f, d, e)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1101, subst2 | |
# 1107: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f404(d, f, e, b, c, a)) and (cons_f405(q, p)) | |
yield 1107, subst2 | |
# 1113: (d + f*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f408(q, p)) and (cons_f409(q, p)) | |
yield 1113, subst2 | |
# 1148: (d + f*x**2 + e*x)**q /; (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1148, subst2 | |
if pattern_index == 14: | |
# State 5322 | |
if len(subjects) == 0: | |
# 1105: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f394(f, d, e)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1105, subst2 | |
# 1117: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f408(q, p)) and (cons_f409(q, p)) | |
yield 1117, subst2 | |
# 1150: (a + c*x**2 + e*x)**q /; (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1150, subst2 | |
# 1111: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f407(d, f, e, c, a)) and (cons_f405(q, p)) | |
yield 1111, subst2 | |
if pattern_index == 15: | |
# State 5484 | |
if len(subjects) == 0: | |
# 1168: (d + f*x**2 + e*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f418(d, f, e, h, c, a, g)) and (cons_f17(m)) | |
yield 1168, subst2 | |
if pattern_index == 16: | |
# State 5494 | |
if len(subjects) == 0: | |
# 1171: (a + f*x**2 + e*x)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f417(h, b, c, a, g)) and (cons_f420(d, f, h, c, a, g)) | |
yield 1171, subst2 | |
if pattern_index == 17: | |
# State 5509 | |
if len(subjects) == 0: | |
# 1173: (d + c*x**2)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f420(d, f, h, c, a, g)) and (cons_f17(m)) | |
yield 1173, subst2 | |
if pattern_index == 18: | |
# State 5526 | |
if len(subjects) == 0: | |
# 1174: (f + e*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f419(c, a, g, h)) and (cons_f420(d, f, h, c, a, g)) and (cons_f17(m)) | |
yield 1174, subst2 | |
if pattern_index == 19: | |
# State 5535 | |
if len(subjects) == 0: | |
# 1176: (a + f*x**2 + e*x)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f421(f, e, b, c, a)) and (cons_f38(p)) | |
yield 1176, subst2 | |
if pattern_index == 20: | |
# State 5542 | |
if len(subjects) == 0: | |
# 1179: (c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f422(c, a, e, f)) | |
yield 1179, subst2 | |
if pattern_index == 21: | |
# State 5666 | |
if len(subjects) == 0: | |
# 1408: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f394(f, d, e)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1408, subst2 | |
# 1282: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f407(d, f, e, c, a)) and (cons_f405(q, p)) | |
yield 1282, subst2 | |
# 1410: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f394(f, d, e)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1410, subst2 | |
# 1412: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1412, subst2 | |
# 1285: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f406(d, c, f, b, a)) and (cons_f405(q, p)) | |
yield 1285, subst2 | |
# 1415: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1415, subst2 | |
# 1290: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f433(q, p)) | |
yield 1290, subst2 | |
# 1292: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) | |
yield 1292, subst2 | |
# 1424: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f407(d, f, e, c, a)) and (cons_f405(q, p)) | |
yield 1424, subst2 | |
# 1427: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f407(d, f, e, c, a)) and (cons_f405(q, p)) | |
yield 1427, subst2 | |
# 1430: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f406(d, c, f, b, a)) and (cons_f405(q, p)) | |
yield 1430, subst2 | |
# 1433: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f406(d, c, f, b, a)) and (cons_f405(q, p)) | |
yield 1433, subst2 | |
# 1440: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1440, subst2 | |
# 1442: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1442, subst2 | |
# 1444: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1444, subst2 | |
# 1446: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1446, subst2 | |
# 1386: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f45(b, a, c)) | |
yield 1386, subst2 | |
# 1389: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f45(b, a, c)) | |
yield 1389, subst2 | |
# 1269: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f394(f, d, e)) and (cons_f220(q, p)) and (cons_f432(q, p)) | |
yield 1269, subst2 | |
# 1398: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f394(f, d, e)) and (cons_f220(q, p)) and (cons_f432(q, p)) | |
yield 1398, subst2 | |
# 1401: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f394(f, d, e)) and (cons_f220(q, p)) and (cons_f432(q, p)) | |
yield 1401, subst2 | |
# 1274: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f394(f, d, e)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1274, subst2 | |
# 1276: (a + c*x**2 + e*x)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1276, subst2 | |
subjects.appendleft(tmp86) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3143 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0_2', S(0)) | |
except ValueError: | |
pass | |
else: | |
# State 3144 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.0_3', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3145 | |
if len(subjects) >= 1: | |
tmp92 = subjects.popleft() | |
subst4 = Substitution(subst3) | |
try: | |
subst4.try_add_variable('i2.2.1.0', tmp92) | |
except ValueError: | |
pass | |
else: | |
# State 3146 | |
if len(subjects) == 0: | |
# 195: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) and (cons_f158(m, p)) | |
yield 195, subst4 | |
# 217: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) and (cons_f170(m, n, p)) | |
yield 217, subst4 | |
# 198: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) and (cons_f160(d, p, c, f, e, m, b, a, n)) | |
yield 198, subst4 | |
# 137: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 137, subst4 | |
# 201: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) | |
yield 201, subst4 | |
# 204: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f163(p)) and (cons_f164(m, n, p)) | |
yield 204, subst4 | |
# 207: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f162(m, n, p)) and (cons_f164(m, n, p)) | |
yield 207, subst4 | |
# 178: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f151(m, n, p)) | |
yield 178, subst4 | |
# 211: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) | |
yield 211, subst4 | |
# 402: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 402, subst4 | |
# 404: (e + x*f)**p /; (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 404, subst4 | |
# 214: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f167(m, n, p)) and (cons_f169(m, n, p)) | |
yield 214, subst4 | |
# 278: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 278, subst4 | |
# 1362: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1362, subst4 | |
# 281: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f194(m, n, p)) and (cons_f195(m, n, p)) | |
yield 281, subst4 | |
# 220: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f171(n, p)) | |
yield 220, subst4 | |
# 223: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f170(m, n, p)) | |
yield 223, subst4 | |
subjects.appendleft(tmp92) | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.0_2', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 4550 | |
if len(subjects) >= 1: | |
tmp95 = subjects.popleft() | |
subst4 = Substitution(subst3) | |
try: | |
subst4.try_add_variable('i2.2.1.1', tmp95) | |
except ValueError: | |
pass | |
else: | |
# State 4551 | |
if len(subjects) == 0: | |
# 770: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) and (cons_f335(m, n)) and (cons_f340(n)) and (cons_f341(n, p)) | |
yield 770, subst4 | |
# 739: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f150(m, n)) | |
yield 739, subst4 | |
# 804: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f345(d, p, f, e, n, g)) and (cons_f126(n, p)) | |
yield 804, subst4 | |
# 774: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) and (cons_f88(n)) | |
yield 774, subst4 | |
# 1064: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f381(d, p, f, e, m, x, n, c, a, g)) | |
yield 1064, subst4 | |
# 695: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) | |
yield 695, subst4 | |
# 1067: (f + e*x)**n /; (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1067, subst4 | |
# 780: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) | |
yield 780, subst4 | |
# 814: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f346(n)) | |
yield 814, subst4 | |
# 753: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f336(f, e, g, d)) and (cons_f335(m, n)) | |
yield 753, subst4 | |
# 786: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f87(n)) and (cons_f88(n)) and (cons_f335(m, n)) and (cons_f342(n, p)) | |
yield 786, subst4 | |
# 820: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f150(m, n)) | |
yield 820, subst4 | |
# 823: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f207(m, n)) | |
yield 823, subst4 | |
# 701: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 701, subst4 | |
subjects.appendleft(tmp95) | |
if len(subjects) >= 1: | |
tmp97 = subjects.popleft() | |
subst4 = Substitution(subst3) | |
try: | |
subst4.try_add_variable('i2.2.0', tmp97) | |
except ValueError: | |
pass | |
else: | |
# State 4767 | |
if len(subjects) == 0: | |
# 838: (x*g + f)**n /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) | |
yield 838, subst4 | |
subjects.appendleft(tmp97) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp99 = subjects.popleft() | |
associative1 = tmp99 | |
associative_type1 = type(tmp99) | |
subjects100 = deque(tmp99._args) | |
matcher = CommutativeMatcher3148.get() | |
tmp101 = subjects100 | |
subjects100 = [] | |
for s in tmp101: | |
matcher.add_subject(s) | |
for pattern_index, subst3 in matcher.match(tmp101, subst2): | |
if pattern_index == 0: | |
# State 3149 | |
if len(subjects) == 0: | |
# 195: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) and (cons_f158(m, p)) | |
yield 195, subst3 | |
# 217: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) and (cons_f170(m, n, p)) | |
yield 217, subst3 | |
# 198: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) and (cons_f160(d, p, c, f, e, m, b, a, n)) | |
yield 198, subst3 | |
# 137: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 137, subst3 | |
# 201: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) | |
yield 201, subst3 | |
# 204: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f163(p)) and (cons_f164(m, n, p)) | |
yield 204, subst3 | |
# 207: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f162(m, n, p)) and (cons_f164(m, n, p)) | |
yield 207, subst3 | |
# 178: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f151(m, n, p)) | |
yield 178, subst3 | |
# 211: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) | |
yield 211, subst3 | |
# 402: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 402, subst3 | |
# 404: (e + x*f)**p /; (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 404, subst3 | |
# 214: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f167(m, n, p)) and (cons_f169(m, n, p)) | |
yield 214, subst3 | |
# 278: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 278, subst3 | |
# 1362: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1362, subst3 | |
# 281: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f194(m, n, p)) and (cons_f195(m, n, p)) | |
yield 281, subst3 | |
# 220: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f171(n, p)) | |
yield 220, subst3 | |
# 223: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f170(m, n, p)) | |
yield 223, subst3 | |
if pattern_index == 1: | |
# State 4552 | |
if len(subjects) == 0: | |
# 770: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) and (cons_f335(m, n)) and (cons_f340(n)) and (cons_f341(n, p)) | |
yield 770, subst3 | |
# 739: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f150(m, n)) | |
yield 739, subst3 | |
# 804: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f345(d, p, f, e, n, g)) and (cons_f126(n, p)) | |
yield 804, subst3 | |
# 774: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) and (cons_f88(n)) | |
yield 774, subst3 | |
# 1064: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f381(d, p, f, e, m, x, n, c, a, g)) | |
yield 1064, subst3 | |
# 695: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) | |
yield 695, subst3 | |
# 1067: (f + e*x)**n /; (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1067, subst3 | |
# 780: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) | |
yield 780, subst3 | |
# 814: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f346(n)) | |
yield 814, subst3 | |
# 753: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f336(f, e, g, d)) and (cons_f335(m, n)) | |
yield 753, subst3 | |
# 786: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f87(n)) and (cons_f88(n)) and (cons_f335(m, n)) and (cons_f342(n, p)) | |
yield 786, subst3 | |
# 820: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f150(m, n)) | |
yield 820, subst3 | |
# 823: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f207(m, n)) | |
yield 823, subst3 | |
# 701: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 701, subst3 | |
if pattern_index == 2: | |
# State 4768 | |
if len(subjects) == 0: | |
# 838: (x*g + f)**n /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) | |
yield 838, subst3 | |
subjects.appendleft(tmp99) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0_3', S(0)) | |
except ValueError: | |
pass | |
else: | |
# State 3280 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.0_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3281 | |
if len(subjects) >= 1: | |
tmp104 = subjects.popleft() | |
subst4 = Substitution(subst3) | |
try: | |
subst4.try_add_variable('i2.2.0', tmp104) | |
except ValueError: | |
pass | |
else: | |
# State 3282 | |
if len(subjects) == 0: | |
# 272: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) | |
yield 272, subst4 | |
# 275: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f192(m, n)) and (cons_f144(m, n, p)) | |
yield 275, subst4 | |
# 164: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f142(m, n)) and (cons_f144(m, n, p)) | |
yield 164, subst4 | |
# 270: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) and (cons_f177(c)) | |
yield 270, subst4 | |
subjects.appendleft(tmp104) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp106 = subjects.popleft() | |
associative1 = tmp106 | |
associative_type1 = type(tmp106) | |
subjects107 = deque(tmp106._args) | |
matcher = CommutativeMatcher3284.get() | |
tmp108 = subjects107 | |
subjects107 = [] | |
for s in tmp108: | |
matcher.add_subject(s) | |
for pattern_index, subst3 in matcher.match(tmp108, subst2): | |
if pattern_index == 0: | |
# State 3285 | |
if len(subjects) == 0: | |
# 272: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) | |
yield 272, subst3 | |
# 275: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f192(m, n)) and (cons_f144(m, n, p)) | |
yield 275, subst3 | |
# 164: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f142(m, n)) and (cons_f144(m, n, p)) | |
yield 164, subst3 | |
# 270: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) and (cons_f177(c)) | |
yield 270, subst3 | |
subjects.appendleft(tmp106) | |
if len(subjects) >= 1: | |
tmp109 = subjects.popleft() | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.1_2', tmp109) | |
except ValueError: | |
pass | |
else: | |
# State 5814 | |
if len(subjects) == 0: | |
# 1359: z**m /; (cons_f21(m, x)) and (cons_f451(x, z)) and (cons_f453(x, v, z, u)) | |
yield 1359, subst2 | |
subjects.appendleft(tmp109) | |
if len(subjects) >= 1 and isinstance(subjects[0], Add): | |
tmp111 = subjects.popleft() | |
associative1 = tmp111 | |
associative_type1 = type(tmp111) | |
subjects112 = deque(tmp111._args) | |
matcher = CommutativeMatcher3151.get() | |
tmp113 = subjects112 | |
subjects112 = [] | |
for s in tmp113: | |
matcher.add_subject(s) | |
for pattern_index, subst2 in matcher.match(tmp113, subst1): | |
if pattern_index == 0: | |
# State 3157 | |
if len(subjects) == 0: | |
# 195: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) and (cons_f158(m, p)) | |
yield 195, subst2 | |
# 217: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) and (cons_f170(m, n, p)) | |
yield 217, subst2 | |
# 198: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) and (cons_f160(d, p, c, f, e, m, b, a, n)) | |
yield 198, subst2 | |
# 137: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 137, subst2 | |
# 201: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) | |
yield 201, subst2 | |
# 204: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f163(p)) and (cons_f164(m, n, p)) | |
yield 204, subst2 | |
# 207: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f162(m, n, p)) and (cons_f164(m, n, p)) | |
yield 207, subst2 | |
# 178: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f151(m, n, p)) | |
yield 178, subst2 | |
# 211: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) | |
yield 211, subst2 | |
# 402: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 402, subst2 | |
# 404: (e + x*f)**p /; (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 404, subst2 | |
# 214: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f167(m, n, p)) and (cons_f169(m, n, p)) | |
yield 214, subst2 | |
# 278: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 278, subst2 | |
# 1362: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1362, subst2 | |
# 281: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f194(m, n, p)) and (cons_f195(m, n, p)) | |
yield 281, subst2 | |
# 220: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f171(n, p)) | |
yield 220, subst2 | |
# 223: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f170(m, n, p)) | |
yield 223, subst2 | |
if pattern_index == 1: | |
# State 3289 | |
if len(subjects) == 0: | |
# 272: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) | |
yield 272, subst2 | |
# 275: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f192(m, n)) and (cons_f144(m, n, p)) | |
yield 275, subst2 | |
# 164: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f142(m, n)) and (cons_f144(m, n, p)) | |
yield 164, subst2 | |
# 270: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) and (cons_f177(c)) | |
yield 270, subst2 | |
if pattern_index == 2: | |
# State 3556 | |
if len(subjects) == 0: | |
# 313: (e + x*f)**p /; (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 313, subst2 | |
if pattern_index == 3: | |
# State 4544 | |
if len(subjects) == 0: | |
# 1026: (a + v**2*c + x*h)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f378(m, n, p)) | |
yield 1026, subst2 | |
# 1061: (a + v**2*c + x*h)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f380(d, p, c, f, e, m, x, n, b, a, g)) | |
yield 1061, subst2 | |
# 972: (a + v**2*c + x*h)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f375(m, n, p)) | |
yield 972, subst2 | |
# 692: (a + v**2*c + x*h)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f38(p)) | |
yield 692, subst2 | |
# 982: (a + v**2*c + x*h)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f376(n, p)) | |
yield 982, subst2 | |
# 988: (a + v**2*c + x*h)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 988, subst2 | |
# 1055: (a + v**2*c + x*h)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) | |
yield 1055, subst2 | |
if pattern_index == 4: | |
# State 4556 | |
if len(subjects) == 0: | |
# 770: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) and (cons_f335(m, n)) and (cons_f340(n)) and (cons_f341(n, p)) | |
yield 770, subst2 | |
# 739: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f150(m, n)) | |
yield 739, subst2 | |
# 804: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f345(d, p, f, e, n, g)) and (cons_f126(n, p)) | |
yield 804, subst2 | |
# 774: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) and (cons_f88(n)) | |
yield 774, subst2 | |
# 1064: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f381(d, p, f, e, m, x, n, c, a, g)) | |
yield 1064, subst2 | |
# 695: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) | |
yield 695, subst2 | |
# 1067: (f + e*x)**n /; (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1067, subst2 | |
# 780: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) | |
yield 780, subst2 | |
# 814: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f346(n)) | |
yield 814, subst2 | |
# 753: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f336(f, e, g, d)) and (cons_f335(m, n)) | |
yield 753, subst2 | |
# 786: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f87(n)) and (cons_f88(n)) and (cons_f335(m, n)) and (cons_f342(n, p)) | |
yield 786, subst2 | |
# 820: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f150(m, n)) | |
yield 820, subst2 | |
# 823: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f207(m, n)) | |
yield 823, subst2 | |
# 701: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 701, subst2 | |
if pattern_index == 5: | |
# State 4771 | |
if len(subjects) == 0: | |
# 838: (x*g + f)**n /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) | |
yield 838, subst2 | |
if pattern_index == 6: | |
# State 5047 | |
if len(subjects) == 0: | |
# 991: (f + e*x)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f124(m, n)) and (cons_f336(f, e, g, d)) and (cons_f377(f, d, m)) | |
yield 991, subst2 | |
if pattern_index == 7: | |
# State 5216 | |
if len(subjects) == 0: | |
# 1066: (a + v**2*c + x*h)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1066, subst2 | |
if pattern_index == 8: | |
# State 5438 | |
if len(subjects) == 0: | |
# 1153: (d + v**2*f + x*e)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f384(c, f, p)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1153, subst2 | |
# 1156: (d + v**2*f + x*e)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f386(q)) and (cons_f387(c, f)) | |
yield 1156, subst2 | |
# 1159: (d + v**2*f + x*e)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1159, subst2 | |
if pattern_index == 9: | |
# State 5786 | |
if len(subjects) == 0: | |
# 1354: (d + v**2*f + x*e)**q /; (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1354, subst2 | |
if pattern_index == 10: | |
# State 5802 | |
if len(subjects) == 0: | |
# 1356: (d + f*x**2 + e*x)**q /; (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1356, subst2 | |
subjects.appendleft(tmp111) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.1.0', S(0)) | |
except ValueError: | |
pass | |
else: | |
# State 3177 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.1.1.0', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3178 | |
if len(subjects) >= 1: | |
tmp116 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.0', tmp116) | |
except ValueError: | |
pass | |
else: | |
# State 3179 | |
if len(subjects) == 0: | |
# 908: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f364(d, p, c, f, e, m, b, a, g)) | |
yield 908, subst3 | |
# 140: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f127(d, p, c, f, e, b, a, n)) | |
yield 140, subst3 | |
# 914: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f366(d, f, e, x, m, g)) | |
yield 914, subst3 | |
# 149: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f134(d, p, c, f, e, b, a, n)) | |
yield 149, subst3 | |
# 152: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 152, subst3 | |
# 155: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) | |
yield 155, subst3 | |
# 674: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f321(c, f, g, b)) | |
yield 674, subst3 | |
# 680: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f321(c, f, g, b)) | |
yield 680, subst3 | |
# 937: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f368(d, f, e, x, m, g)) | |
yield 937, subst3 | |
# 686: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f321(c, f, g, b)) and (cons_f324(d, f, e, x, m, g)) | |
yield 686, subst3 | |
# 943: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) | |
yield 943, subst3 | |
# 704: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f326(d, p, f, e, b, c, m, g)) | |
yield 704, subst3 | |
# 710: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) | |
yield 710, subst3 | |
# 716: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) | |
yield 716, subst3 | |
# 333: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) | |
yield 333, subst3 | |
# 847: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) | |
yield 847, subst3 | |
# 337: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) | |
yield 337, subst3 | |
# 344: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 344, subst3 | |
# 857: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f350(d, c, f, e, b, a, g)) | |
yield 857, subst3 | |
# 360: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f216(d, c, f, e, h, x, b, a, g)) | |
yield 360, subst3 | |
# 364: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f217(d, p, c, f, e, h, x, n, b, a, g)) | |
yield 364, subst3 | |
# 368: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f188(f, e, x, b, a)) and (cons_f218(d, f, e, x, c)) | |
yield 368, subst3 | |
# 372: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 372, subst3 | |
# 892: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) | |
yield 892, subst3 | |
subjects.appendleft(tmp116) | |
if len(subjects) >= 1: | |
tmp118 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.1', tmp118) | |
except ValueError: | |
pass | |
else: | |
# State 3960 | |
if len(subjects) == 0: | |
# 1280: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) | |
yield 1280, subst3 | |
# 1283: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) | |
yield 1283, subst3 | |
# 901: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) | |
yield 901, subst3 | |
# 1286: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) | |
yield 1286, subst3 | |
# 651: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) | |
yield 651, subst3 | |
# 911: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f365(d, p, f, e, m, c, a, g)) | |
yield 911, subst3 | |
# 1295: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (With607(d, c, f, e, h, x, b, a, g)) | |
yield 1295, subst3 | |
# 1298: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (With608(d, c, f, h, x, b, a, g)) | |
yield 1298, subst3 | |
# 531: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 531, subst3 | |
# 917: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f366(d, f, e, x, m, g)) | |
yield 917, subst3 | |
# 1307: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f437(f, e, h, g)) | |
yield 1307, subst3 | |
# 932: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) | |
yield 932, subst3 | |
# 1317: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f440(d, c, f, e, h, b, a, g)) | |
yield 1317, subst3 | |
# 422: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) | |
yield 422, subst3 | |
# 940: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f368(d, f, e, x, m, g)) | |
yield 940, subst3 | |
# 559: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 559, subst3 | |
# 946: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) | |
yield 946, subst3 | |
# 1339: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f444(h, b, c, a, g)) and (cons_f445(c, b, h, g)) | |
yield 1339, subst3 | |
# 1344: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f444(h, b, c, a, g)) | |
yield 1344, subst3 | |
# 707: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f327(d, p, f, e, m, g)) | |
yield 707, subst3 | |
# 1348: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f449(d, q, p, c, f, e, h, x, b, a, g)) | |
yield 1348, subst3 | |
# 1351: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f450(d, q, p, f, e, h, x, c, a, g)) | |
yield 1351, subst3 | |
# 713: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) | |
yield 713, subst3 | |
# 1484: d + e*x /; (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1484, subst3 | |
# 719: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) | |
yield 719, subst3 | |
# 850: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) | |
yield 850, subst3 | |
# 860: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f351(d, f, e, c, a, g)) | |
yield 860, subst3 | |
# 870: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f354(d, p, c, f, e, b, a, g)) | |
yield 870, subst3 | |
# 873: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) and (cons_f355(d, p, f, e, c, a, g)) | |
yield 873, subst3 | |
# 876: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) | |
yield 876, subst3 | |
# 879: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) | |
yield 879, subst3 | |
# 882: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) | |
yield 882, subst3 | |
# 1267: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) | |
yield 1267, subst3 | |
# 885: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) | |
yield 885, subst3 | |
# 1270: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) | |
yield 1270, subst3 | |
# 1277: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) | |
yield 1277, subst3 | |
subjects.appendleft(tmp118) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp120 = subjects.popleft() | |
subjects121 = deque(tmp120._args) | |
# State 5568 | |
if len(subjects121) >= 1: | |
tmp122 = subjects121.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.1', tmp122) | |
except ValueError: | |
pass | |
else: | |
# State 5569 | |
if len(subjects121) >= 1 and subjects121[0] == 2: | |
tmp124 = subjects121.popleft() | |
# State 5570 | |
if len(subjects121) == 0: | |
# State 5571 | |
if len(subjects) == 0: | |
# 1476: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f456(d, q, p, c, f, e, A, C, x, b, a)) | |
yield 1476, subst3 | |
# 1380: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1380, subst3 | |
# 1254: d + c*x**2 /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) | |
yield 1254, subst3 | |
# 1416: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) | |
yield 1416, subst3 | |
# 1225: d + c*x**2 /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) | |
yield 1225, subst3 | |
# 1482: d + c*x**2 /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f458(d, q, p, f, e, A, C, x, c, a)) | |
yield 1482, subst3 | |
# 1452: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (With670(d, c, f, e, A, C, x, b, a)) | |
yield 1452, subst3 | |
# 1485: d + c*x**2 /; (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1485, subst3 | |
# 1390: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1390, subst3 | |
# 1422: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) | |
yield 1422, subst3 | |
# 1402: d + c*x**2 /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) | |
yield 1402, subst3 | |
# 1201: d + c*x**2 /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) | |
yield 1201, subst3 | |
# 1458: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (With672(d, c, f, A, C, x, b, a)) | |
yield 1458, subst3 | |
# 1396: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) | |
yield 1396, subst3 | |
# 1428: d + c*x**2 /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) | |
yield 1428, subst3 | |
# 1434: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) | |
yield 1434, subst3 | |
# 1213: d + c*x**2 /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) | |
yield 1213, subst3 | |
# 1374: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1374, subst3 | |
subjects121.appendleft(tmp124) | |
subjects121.appendleft(tmp122) | |
if len(subjects121) >= 1: | |
tmp125 = subjects121.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.0', tmp125) | |
except ValueError: | |
pass | |
else: | |
# State 5587 | |
if len(subjects121) >= 1 and subjects121[0] == 2: | |
tmp127 = subjects121.popleft() | |
# State 5588 | |
if len(subjects121) == 0: | |
# State 5589 | |
if len(subjects) == 0: | |
# 1240: d + c*v**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) | |
yield 1240, subst3 | |
# 1210: d + c*v**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) | |
yield 1210, subst3 | |
# 1251: d + c*v**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) | |
yield 1251, subst3 | |
# 1222: d + c*v**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) | |
yield 1222, subst3 | |
subjects121.appendleft(tmp127) | |
subjects121.appendleft(tmp125) | |
subjects.appendleft(tmp120) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp128 = subjects.popleft() | |
associative1 = tmp128 | |
associative_type1 = type(tmp128) | |
subjects129 = deque(tmp128._args) | |
matcher = CommutativeMatcher3181.get() | |
tmp130 = subjects129 | |
subjects129 = [] | |
for s in tmp130: | |
matcher.add_subject(s) | |
for pattern_index, subst2 in matcher.match(tmp130, subst1): | |
if pattern_index == 0: | |
# State 3182 | |
if len(subjects) == 0: | |
# 908: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f364(d, p, c, f, e, m, b, a, g)) | |
yield 908, subst2 | |
# 140: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f127(d, p, c, f, e, b, a, n)) | |
yield 140, subst2 | |
# 914: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f366(d, f, e, x, m, g)) | |
yield 914, subst2 | |
# 149: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f134(d, p, c, f, e, b, a, n)) | |
yield 149, subst2 | |
# 152: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 152, subst2 | |
# 155: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) | |
yield 155, subst2 | |
# 674: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f321(c, f, g, b)) | |
yield 674, subst2 | |
# 680: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f321(c, f, g, b)) | |
yield 680, subst2 | |
# 937: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f368(d, f, e, x, m, g)) | |
yield 937, subst2 | |
# 686: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f321(c, f, g, b)) and (cons_f324(d, f, e, x, m, g)) | |
yield 686, subst2 | |
# 943: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) | |
yield 943, subst2 | |
# 704: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f326(d, p, f, e, b, c, m, g)) | |
yield 704, subst2 | |
# 710: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) | |
yield 710, subst2 | |
# 716: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) | |
yield 716, subst2 | |
# 333: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) | |
yield 333, subst2 | |
# 847: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) | |
yield 847, subst2 | |
# 337: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) | |
yield 337, subst2 | |
# 344: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 344, subst2 | |
# 857: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f350(d, c, f, e, b, a, g)) | |
yield 857, subst2 | |
# 360: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f216(d, c, f, e, h, x, b, a, g)) | |
yield 360, subst2 | |
# 364: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f217(d, p, c, f, e, h, x, n, b, a, g)) | |
yield 364, subst2 | |
# 368: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f188(f, e, x, b, a)) and (cons_f218(d, f, e, x, c)) | |
yield 368, subst2 | |
# 372: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 372, subst2 | |
# 892: a + b*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) | |
yield 892, subst2 | |
if pattern_index == 1: | |
# State 3961 | |
if len(subjects) == 0: | |
# 1280: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) | |
yield 1280, subst2 | |
# 1283: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) | |
yield 1283, subst2 | |
# 901: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) | |
yield 901, subst2 | |
# 1286: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) | |
yield 1286, subst2 | |
# 651: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) | |
yield 651, subst2 | |
# 911: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f365(d, p, f, e, m, c, a, g)) | |
yield 911, subst2 | |
# 1295: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (With607(d, c, f, e, h, x, b, a, g)) | |
yield 1295, subst2 | |
# 1298: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (With608(d, c, f, h, x, b, a, g)) | |
yield 1298, subst2 | |
# 531: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 531, subst2 | |
# 917: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f366(d, f, e, x, m, g)) | |
yield 917, subst2 | |
# 1307: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f437(f, e, h, g)) | |
yield 1307, subst2 | |
# 932: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) | |
yield 932, subst2 | |
# 1317: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f440(d, c, f, e, h, b, a, g)) | |
yield 1317, subst2 | |
# 422: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) | |
yield 422, subst2 | |
# 940: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f368(d, f, e, x, m, g)) | |
yield 940, subst2 | |
# 559: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 559, subst2 | |
# 946: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) | |
yield 946, subst2 | |
# 1339: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f444(h, b, c, a, g)) and (cons_f445(c, b, h, g)) | |
yield 1339, subst2 | |
# 1344: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f444(h, b, c, a, g)) | |
yield 1344, subst2 | |
# 707: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f327(d, p, f, e, m, g)) | |
yield 707, subst2 | |
# 1348: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f449(d, q, p, c, f, e, h, x, b, a, g)) | |
yield 1348, subst2 | |
# 1351: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f450(d, q, p, f, e, h, x, c, a, g)) | |
yield 1351, subst2 | |
# 713: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) | |
yield 713, subst2 | |
# 1484: d + e*x /; (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1484, subst2 | |
# 719: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) | |
yield 719, subst2 | |
# 850: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) | |
yield 850, subst2 | |
# 860: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f351(d, f, e, c, a, g)) | |
yield 860, subst2 | |
# 870: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f354(d, p, c, f, e, b, a, g)) | |
yield 870, subst2 | |
# 873: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) and (cons_f355(d, p, f, e, c, a, g)) | |
yield 873, subst2 | |
# 876: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) | |
yield 876, subst2 | |
# 879: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) | |
yield 879, subst2 | |
# 882: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) | |
yield 882, subst2 | |
# 1267: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) | |
yield 1267, subst2 | |
# 885: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f280(c, d, a, e)) | |
yield 885, subst2 | |
# 1270: d + e*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) | |
yield 1270, subst2 | |
# 1277: d + e*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) | |
yield 1277, subst2 | |
if pattern_index == 2: | |
# State 5576 | |
if len(subjects) == 0: | |
# 1476: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f456(d, q, p, c, f, e, A, C, x, b, a)) | |
yield 1476, subst2 | |
# 1380: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1380, subst2 | |
# 1254: d + c*x**2 /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) | |
yield 1254, subst2 | |
# 1416: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) | |
yield 1416, subst2 | |
# 1225: d + c*x**2 /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) | |
yield 1225, subst2 | |
# 1482: d + c*x**2 /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f458(d, q, p, f, e, A, C, x, c, a)) | |
yield 1482, subst2 | |
# 1452: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (With670(d, c, f, e, A, C, x, b, a)) | |
yield 1452, subst2 | |
# 1485: d + c*x**2 /; (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1485, subst2 | |
# 1390: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1390, subst2 | |
# 1422: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) | |
yield 1422, subst2 | |
# 1402: d + c*x**2 /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) | |
yield 1402, subst2 | |
# 1201: d + c*x**2 /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) | |
yield 1201, subst2 | |
# 1458: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (With672(d, c, f, A, C, x, b, a)) | |
yield 1458, subst2 | |
# 1396: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) | |
yield 1396, subst2 | |
# 1428: d + c*x**2 /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) | |
yield 1428, subst2 | |
# 1434: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) | |
yield 1434, subst2 | |
# 1213: d + c*x**2 /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) | |
yield 1213, subst2 | |
# 1374: d + c*x**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1374, subst2 | |
if pattern_index == 3: | |
# State 5593 | |
if len(subjects) == 0: | |
# 1240: d + c*v**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) | |
yield 1240, subst2 | |
# 1210: d + c*v**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) | |
yield 1210, subst2 | |
# 1251: d + c*v**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) | |
yield 1251, subst2 | |
# 1222: d + c*v**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) | |
yield 1222, subst2 | |
subjects.appendleft(tmp128) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.1.0_1', S(0)) | |
except ValueError: | |
pass | |
else: | |
# State 3562 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.1.1.0_1', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3563 | |
if len(subjects) >= 1: | |
tmp133 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.0', tmp133) | |
except ValueError: | |
pass | |
else: | |
# State 3564 | |
if len(subjects) == 0: | |
# 320: g + B*v /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) | |
yield 320, subst3 | |
# 316: g + B*v /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) | |
yield 316, subst3 | |
subjects.appendleft(tmp133) | |
if len(subjects) >= 1: | |
tmp135 = subjects.popleft() | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.1', tmp135) | |
except ValueError: | |
pass | |
else: | |
# State 4837 | |
if len(subjects) == 0: | |
# 871: f + g*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f354(d, p, c, f, e, b, a, g)) | |
yield 871, subst3 | |
# 874: f + g*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f355(d, p, f, e, c, a, g)) | |
yield 874, subst3 | |
# 877: f + g*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) | |
yield 877, subst3 | |
# 880: f + g*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) | |
yield 880, subst3 | |
# 883: f + g*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) | |
yield 883, subst3 | |
# 886: f + g*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) | |
yield 886, subst3 | |
subjects.appendleft(tmp135) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp137 = subjects.popleft() | |
associative1 = tmp137 | |
associative_type1 = type(tmp137) | |
subjects138 = deque(tmp137._args) | |
matcher = CommutativeMatcher3566.get() | |
tmp139 = subjects138 | |
subjects138 = [] | |
for s in tmp139: | |
matcher.add_subject(s) | |
for pattern_index, subst2 in matcher.match(tmp139, subst1): | |
if pattern_index == 0: | |
# State 3567 | |
if len(subjects) == 0: | |
# 320: g + B*v /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) | |
yield 320, subst2 | |
# 316: g + B*v /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) | |
yield 316, subst2 | |
if pattern_index == 1: | |
# State 4838 | |
if len(subjects) == 0: | |
# 871: f + g*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f354(d, p, c, f, e, b, a, g)) | |
yield 871, subst2 | |
# 874: f + g*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f355(d, p, f, e, c, a, g)) | |
yield 874, subst2 | |
# 877: f + g*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) | |
yield 877, subst2 | |
# 880: f + g*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) | |
yield 880, subst2 | |
# 883: f + g*x /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) | |
yield 883, subst2 | |
# 886: f + g*x /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) | |
yield 886, subst2 | |
subjects.appendleft(tmp137) | |
subst1 = Substitution(subst0) | |
try: | |
subst1.try_add_variable('i2.2_3', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3721 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2.0_3', S(0)) | |
except ValueError: | |
pass | |
else: | |
# State 3722 | |
subst3 = Substitution(subst2) | |
try: | |
subst3.try_add_variable('i2.2.1.0_4', S(1)) | |
except ValueError: | |
pass | |
else: | |
# State 3723 | |
if len(subjects) >= 1: | |
tmp143 = subjects.popleft() | |
subst4 = Substitution(subst3) | |
try: | |
subst4.try_add_variable('i2.2.1.0', tmp143) | |
except ValueError: | |
pass | |
else: | |
# State 3724 | |
if len(subjects) == 0: | |
# 403: (g + x*h)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 403, subst4 | |
# 405: (g + x*h)**q /; (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 405, subst4 | |
subjects.appendleft(tmp143) | |
if len(subjects) >= 1 and isinstance(subjects[0], Mul): | |
tmp145 = subjects.popleft() | |
associative1 = tmp145 | |
associative_type1 = type(tmp145) | |
subjects146 = deque(tmp145._args) | |
matcher = CommutativeMatcher3726.get() | |
tmp147 = subjects146 | |
subjects146 = [] | |
for s in tmp147: | |
matcher.add_subject(s) | |
for pattern_index, subst3 in matcher.match(tmp147, subst2): | |
if pattern_index == 0: | |
# State 3727 | |
if len(subjects) == 0: | |
# 403: (g + x*h)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 403, subst3 | |
# 405: (g + x*h)**q /; (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 405, subst3 | |
subjects.appendleft(tmp145) | |
if len(subjects) >= 1 and isinstance(subjects[0], Add): | |
tmp148 = subjects.popleft() | |
associative1 = tmp148 | |
associative_type1 = type(tmp148) | |
subjects149 = deque(tmp148._args) | |
matcher = CommutativeMatcher3729.get() | |
tmp150 = subjects149 | |
subjects149 = [] | |
for s in tmp150: | |
matcher.add_subject(s) | |
for pattern_index, subst2 in matcher.match(tmp150, subst1): | |
if pattern_index == 0: | |
# State 3735 | |
if len(subjects) == 0: | |
# 403: (g + x*h)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 403, subst2 | |
# 405: (g + x*h)**q /; (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 405, subst2 | |
if pattern_index == 1: | |
# State 5833 | |
if len(subjects) == 0: | |
# 1363: (a + v**2*f + x*e)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1363, subst2 | |
# 1366: (a + v**2*f + x*e)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f128(p)) | |
yield 1366, subst2 | |
subjects.appendleft(tmp148) | |
if len(subjects) >= 1 and isinstance(subjects[0], Pow): | |
tmp151 = subjects.popleft() | |
subjects152 = deque(tmp151._args) | |
# State 2266 | |
if len(subjects152) >= 1 and isinstance(subjects152[0], Add): | |
tmp153 = subjects152.popleft() | |
associative1 = tmp153 | |
associative_type1 = type(tmp153) | |
subjects154 = deque(tmp153._args) | |
matcher = CommutativeMatcher2268.get() | |
tmp155 = subjects154 | |
subjects154 = [] | |
for s in tmp155: | |
matcher.add_subject(s) | |
for pattern_index, subst1 in matcher.match(tmp155, subst0): | |
if pattern_index == 0: | |
# State 2285 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2286 | |
if len(subjects152) == 0: | |
# State 2287 | |
if len(subjects) == 0: | |
# 0: (a + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f1(a)) | |
yield 0, subst2 | |
# 27: (a + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f37(n, q)) and (cons_f39(c, d, a, b)) and (cons_f40(m, n)) | |
yield 27, subst2 | |
if len(subjects152) >= 1: | |
tmp157 = [] | |
tmp157.append(subjects152.popleft()) | |
while True: | |
if len(tmp157) > 1: | |
tmp158 = create_operation_expression(associative1, tmp157) | |
elif len(tmp157) == 1: | |
tmp158 = tmp157[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp158) | |
except ValueError: | |
pass | |
else: | |
# State 2286 | |
if len(subjects152) == 0: | |
# State 2287 | |
if len(subjects) == 0: | |
# 0: (a + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f1(a)) | |
yield 0, subst2 | |
# 27: (a + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f37(n, q)) and (cons_f39(c, d, a, b)) and (cons_f40(m, n)) | |
yield 27, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp157.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp157)) | |
if len(subjects152) >= 1: | |
tmp160 = [] | |
tmp160.append(subjects152.popleft()) | |
while True: | |
if len(tmp160) > 1: | |
tmp161 = create_operation_expression(associative1, tmp160) | |
elif len(tmp160) == 1: | |
tmp161 = tmp160[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp161) | |
except ValueError: | |
pass | |
else: | |
# State 2754 | |
if len(subjects152) == 0: | |
# State 2755 | |
if len(subjects) == 0: | |
# 41: (a + b*v**m)**p /; (cons_f57(a1, x)) and (cons_f58(b1, x)) and (cons_f59(a2, x)) and (cons_f60(b2, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f55(b1, a2, b2, a1)) and (cons_f56(m, n)) and (cons_f54(p)) | |
yield 41, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp160.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp160)) | |
if pattern_index == 1: | |
# State 2348 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2349 | |
if len(subjects152) == 0: | |
# State 2350 | |
if len(subjects) == 0: | |
# 1: (a + b*v**n + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f1(a)) | |
yield 1, subst2 | |
if len(subjects152) >= 1: | |
tmp164 = [] | |
tmp164.append(subjects152.popleft()) | |
while True: | |
if len(tmp164) > 1: | |
tmp165 = create_operation_expression(associative1, tmp164) | |
elif len(tmp164) == 1: | |
tmp165 = tmp164[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp165) | |
except ValueError: | |
pass | |
else: | |
# State 2349 | |
if len(subjects152) == 0: | |
# State 2350 | |
if len(subjects) == 0: | |
# 1: (a + b*v**n + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f1(a)) | |
yield 1, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp164.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp164)) | |
if pattern_index == 2: | |
# State 2363 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2364 | |
if len(subjects152) == 0: | |
# State 2365 | |
if len(subjects) == 0: | |
# 2: (a + b*v**n + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f8(b)) | |
yield 2, subst2 | |
# 3: (a + b*v**n + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f9(c)) | |
yield 3, subst2 | |
# 45: (a + b*v**n + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f46(n2, n)) and (cons_f11(x, Pm)) and (With34(p, c, n2, x, Qm, Pm, b, a, n)) | |
yield 45, subst2 | |
if len(subjects152) >= 1: | |
tmp168 = [] | |
tmp168.append(subjects152.popleft()) | |
while True: | |
if len(tmp168) > 1: | |
tmp169 = create_operation_expression(associative1, tmp168) | |
elif len(tmp168) == 1: | |
tmp169 = tmp168[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp169) | |
except ValueError: | |
pass | |
else: | |
# State 2364 | |
if len(subjects152) == 0: | |
# State 2365 | |
if len(subjects) == 0: | |
# 2: (a + b*v**n + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f8(b)) | |
yield 2, subst2 | |
# 3: (a + b*v**n + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f9(c)) | |
yield 3, subst2 | |
# 45: (a + b*v**n + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f46(n2, n)) and (cons_f11(x, Pm)) and (With34(p, c, n2, x, Qm, Pm, b, a, n)) | |
yield 45, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp168.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp168)) | |
if pattern_index == 3: | |
# State 2409 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2410 | |
if len(subjects152) == 0: | |
# State 2411 | |
if len(subjects) == 0: | |
# 4: (w + v*a + v*b)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f10(x, v)) | |
yield 4, subst2 | |
if len(subjects152) >= 1: | |
tmp172 = [] | |
tmp172.append(subjects152.popleft()) | |
while True: | |
if len(tmp172) > 1: | |
tmp173 = create_operation_expression(associative1, tmp172) | |
elif len(tmp172) == 1: | |
tmp173 = tmp172[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp173) | |
except ValueError: | |
pass | |
else: | |
# State 2410 | |
if len(subjects152) == 0: | |
# State 2411 | |
if len(subjects) == 0: | |
# 4: (w + v*a + v*b)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f10(x, v)) | |
yield 4, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp172.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp172)) | |
if pattern_index == 4: | |
# State 2491 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2492 | |
if len(subjects152) == 0: | |
# State 2493 | |
if len(subjects) == 0: | |
# 135: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) and (cons_f17(m)) | |
yield 135, subst2 | |
# 1163: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f417(h, b, c, a, g)) and (cons_f418(d, f, e, h, c, a, g)) and (cons_f17(m)) | |
yield 1163, subst2 | |
# 524: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f47(c, d, e, b)) | |
yield 524, subst2 | |
# 78: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f84(m)) and (cons_f86(m, n)) | |
yield 78, subst2 | |
# 410: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f47(c, d, e, b)) and (cons_f238(m, p)) | |
yield 410, subst2 | |
# 1360: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f336(f, e, g, d)) and (cons_f124(m, n)) and (cons_f377(f, d, m)) | |
yield 1360, subst2 | |
# 17: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f25(b, d, a, c)) and (cons_f17(m)) and (cons_f26(d, x, b, c, a, n)) | |
yield 17, subst2 | |
# 690: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) | |
yield 690, subst2 | |
# 147: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f134(d, p, c, f, e, b, a, n)) | |
yield 147, subst2 | |
# 406: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f47(c, d, e, b)) and (cons_f236(m)) | |
yield 406, subst2 | |
# 440: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f256(d, e, b, c, a)) | |
yield 440, subst2 | |
# 986: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f124(m, n)) and (cons_f336(f, e, g, d)) and (cons_f377(f, d, m)) | |
yield 986, subst2 | |
# 61: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f70(b, d, a, c)) and (cons_f75(c, a, m)) | |
yield 61, subst2 | |
if len(subjects152) >= 1: | |
tmp176 = [] | |
tmp176.append(subjects152.popleft()) | |
while True: | |
if len(tmp176) > 1: | |
tmp177 = create_operation_expression(associative1, tmp176) | |
elif len(tmp176) == 1: | |
tmp177 = tmp176[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp177) | |
except ValueError: | |
pass | |
else: | |
# State 2492 | |
if len(subjects152) == 0: | |
# State 2493 | |
if len(subjects) == 0: | |
# 135: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) and (cons_f17(m)) | |
yield 135, subst2 | |
# 1163: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f417(h, b, c, a, g)) and (cons_f418(d, f, e, h, c, a, g)) and (cons_f17(m)) | |
yield 1163, subst2 | |
# 524: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f47(c, d, e, b)) | |
yield 524, subst2 | |
# 78: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f84(m)) and (cons_f86(m, n)) | |
yield 78, subst2 | |
# 410: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f47(c, d, e, b)) and (cons_f238(m, p)) | |
yield 410, subst2 | |
# 1360: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f336(f, e, g, d)) and (cons_f124(m, n)) and (cons_f377(f, d, m)) | |
yield 1360, subst2 | |
# 17: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f25(b, d, a, c)) and (cons_f17(m)) and (cons_f26(d, x, b, c, a, n)) | |
yield 17, subst2 | |
# 690: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) | |
yield 690, subst2 | |
# 147: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f134(d, p, c, f, e, b, a, n)) | |
yield 147, subst2 | |
# 406: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f47(c, d, e, b)) and (cons_f236(m)) | |
yield 406, subst2 | |
# 440: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f256(d, e, b, c, a)) | |
yield 440, subst2 | |
# 986: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f124(m, n)) and (cons_f336(f, e, g, d)) and (cons_f377(f, d, m)) | |
yield 986, subst2 | |
# 61: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f70(b, d, a, c)) and (cons_f75(c, a, m)) | |
yield 61, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp176.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp176)) | |
if len(subjects152) >= 1: | |
tmp179 = [] | |
tmp179.append(subjects152.popleft()) | |
while True: | |
if len(tmp179) > 1: | |
tmp180 = create_operation_expression(associative1, tmp179) | |
elif len(tmp179) == 1: | |
tmp180 = tmp179[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp180) | |
except ValueError: | |
pass | |
else: | |
# State 2508 | |
if len(subjects152) == 0: | |
# State 2509 | |
if len(subjects) == 0: | |
# 129: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f18(m)) and (cons_f120(b, d, a, c)) and (cons_f121(d, c, b, a, m, n)) | |
yield 129, subst2 | |
# 513: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f274(m)) and (cons_f31(m)) | |
yield 513, subst2 | |
# 131: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f18(m)) and (cons_f122(m, n)) | |
yield 131, subst2 | |
# 509: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f272(m)) and (cons_f273(m, p)) and (cons_f31(m)) | |
yield 509, subst2 | |
# 519: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f47(c, d, e, b)) and (cons_f276(m)) | |
yield 519, subst2 | |
# 520: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f31(m)) and (cons_f166(m)) and (cons_f238(m, p)) and (cons_f277(m, p)) | |
yield 520, subst2 | |
# 775: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f41(m, p)) | |
yield 775, subst2 | |
# 522: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f31(m)) and (cons_f94(m)) and (cons_f278(m, p)) | |
yield 522, subst2 | |
# 781: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f41(m, p)) and (cons_f335(m, n)) | |
yield 781, subst2 | |
# 19: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f21(m, x)) and (cons_f25(b, d, a, c)) and (cons_f28(b, d)) and (cons_f29(m, n)) | |
yield 19, subst2 | |
# 787: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f41(m, p)) | |
yield 787, subst2 | |
# 21: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f21(m, x)) and (cons_f25(b, d, a, c)) and (cons_f30(b, d, m, n)) | |
yield 21, subst2 | |
# 408: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f47(c, d, e, b)) and (cons_f237(m, p)) | |
yield 408, subst2 | |
# 25: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f33(B, A, C, b, a)) and (cons_f31(m)) and (cons_f32(m)) | |
yield 25, subst2 | |
# 799: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f343(m, p)) and (cons_f344(d, p, c, f, e, n, b, g)) | |
yield 799, subst2 | |
# 805: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f343(m, p)) | |
yield 805, subst2 | |
# 296: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f18(m)) and (cons_f120(b, d, a, c)) and (cons_f200(d, x, b, c, a)) | |
yield 296, subst2 | |
# 809: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f343(m, p)) | |
yield 809, subst2 | |
# 299: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f18(m)) and (cons_f201(b, d, a, c)) and (cons_f202(d, x, b, c, a)) | |
yield 299, subst2 | |
# 302: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f18(m)) and (cons_f120(b, d, a, c)) and (cons_f182(b, a, e, f)) and (cons_f203(d, f, e, x, b, c, a)) and (cons_f204(d, c, f, e, x, b, a)) | |
yield 302, subst2 | |
# 815: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f207(m, n)) | |
yield 815, subst2 | |
# 305: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f18(m)) and (cons_f120(b, d, a, c)) and (cons_f205(b, a, e, f)) | |
yield 305, subst2 | |
# 308: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f18(m)) and (cons_f201(b, d, a, c)) and (cons_f202(d, x, b, c, a)) and (cons_f206(f, e, x, b, a)) | |
yield 308, subst2 | |
# 55: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) and (cons_f73(m)) | |
yield 55, subst2 | |
# 696: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f84(m)) | |
yield 696, subst2 | |
# 59: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) and (cons_f74(m)) | |
yield 59, subst2 | |
# 830: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f270(m, p)) | |
yield 830, subst2 | |
# 67: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f70(b, d, a, c)) and (cons_f77(m)) | |
yield 67, subst2 | |
# 72: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) and (cons_f79(m)) and (cons_f81(m, n)) | |
yield 72, subst2 | |
# 456: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f256(d, e, b, c, a)) and (cons_f17(m)) and (cons_f259(m, p)) and (cons_f260(m)) and (cons_f261(m)) | |
yield 456, subst2 | |
# 74: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) and (cons_f79(m)) and (cons_f82(m, n)) | |
yield 74, subst2 | |
# 841: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) | |
yield 841, subst2 | |
# 1367: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f336(f, e, g, d)) and (cons_f124(m, n)) | |
yield 1367, subst2 | |
# 89: (a + v*a)**m /; (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f23(n)) | |
yield 89, subst2 | |
# 734: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f150(m, n)) and (cons_f332(m, p)) | |
yield 734, subst2 | |
# 992: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f124(m, n)) and (cons_f336(f, e, g, d)) | |
yield 992, subst2 | |
# 503: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f47(c, d, e, b)) and (cons_f242(m, p)) | |
yield 503, subst2 | |
# 748: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f41(m, p)) and (cons_f334(d, f, e, b, c, g)) and (cons_f335(m, n)) | |
yield 748, subst2 | |
# 754: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f41(m, p)) and (cons_f337(m, n)) | |
yield 754, subst2 | |
# 759: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f41(m, p)) | |
yield 759, subst2 | |
# 507: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f244(m, p)) and (cons_f94(m)) and (cons_f271(m, p)) | |
yield 507, subst2 | |
# 127: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f71(b, d, a, c)) and (cons_f18(m)) | |
yield 127, subst2 | |
# 765: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f41(m, p)) and (cons_f335(m, n)) | |
yield 765, subst2 | |
# 511: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f244(m, p)) and (cons_f166(m)) | |
yield 511, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp179.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp179)) | |
if len(subjects152) >= 1 and subjects152[0] == -1: | |
tmp182 = subjects152.popleft() | |
# State 2880 | |
if len(subjects152) == 0: | |
# State 2881 | |
if len(subjects) == 0: | |
# 740: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) | |
yield 740, subst1 | |
# 49: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) | |
yield 49, subst1 | |
# 501: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f47(c, d, e, b)) | |
yield 501, subst1 | |
# 824: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) | |
yield 824, subst1 | |
# 91: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) | |
yield 91, subst1 | |
subjects152.appendleft(tmp182) | |
if len(subjects152) >= 1 and subjects152[0] == -3/2: | |
tmp183 = subjects152.popleft() | |
# State 2931 | |
if len(subjects152) == 0: | |
# State 2932 | |
if len(subjects) == 0: | |
# 57: (a + v*a)**(-3/2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) | |
yield 57, subst1 | |
subjects152.appendleft(tmp183) | |
if len(subjects152) >= 1 and subjects152[0] == -1/2: | |
tmp184 = subjects152.popleft() | |
# State 2947 | |
if len(subjects152) == 0: | |
# State 2948 | |
if len(subjects) == 0: | |
# 65: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) | |
yield 65, subst1 | |
# 258: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f120(b, d, a, c)) and (cons_f182(b, a, e, f)) and (cons_f156(d, c, x, b, a)) and (cons_f188(f, e, x, b, a)) and (cons_f190(d, c, f, e, b, a)) | |
yield 258, subst1 | |
# 99: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f102(b, d)) and (cons_f103(c, a)) | |
yield 99, subst1 | |
# 516: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f47(c, d, e, b)) | |
yield 516, subst1 | |
# 261: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f185(d, c, f, e, b, a)) and (cons_f156(d, c, x, b, a)) and (cons_f188(f, e, x, b, a)) | |
yield 261, subst1 | |
# 241: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f120(b, d, a, c)) and (cons_f182(b, a, e, f)) and (cons_f183(b, d, a, c)) and (cons_f184(d, f, e, x, b, c, a)) | |
yield 241, subst1 | |
# 244: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f185(d, c, f, e, b, a)) and (cons_f183(b, d, a, c)) | |
yield 244, subst1 | |
# 63: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) and (cons_f43(a)) and (cons_f76(c, a)) | |
yield 63, subst1 | |
# 255: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f120(b, d, a, c)) and (cons_f182(b, a, e, f)) and (cons_f156(d, c, x, b, a)) and (cons_f188(f, e, x, b, a)) and (cons_f189(d, c, f, e, b, a)) | |
yield 255, subst1 | |
subjects152.appendleft(tmp184) | |
if len(subjects152) >= 1 and subjects152[0] == -5/4: | |
tmp185 = subjects152.popleft() | |
# State 2960 | |
if len(subjects152) == 0: | |
# State 2961 | |
if len(subjects) == 0: | |
# 69: (a + v*a)**(-5/4) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) and (cons_f78(b, d, a, c)) | |
yield 69, subst1 | |
subjects152.appendleft(tmp185) | |
if len(subjects152) >= 1 and subjects152[0] == -9/4: | |
tmp186 = subjects152.popleft() | |
# State 2967 | |
if len(subjects152) == 0: | |
# State 2968 | |
if len(subjects) == 0: | |
# 71: (a + v*a)**(-9/4) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) and (cons_f78(b, d, a, c)) | |
yield 71, subst1 | |
subjects152.appendleft(tmp186) | |
if len(subjects152) >= 1 and subjects152[0] == 1/2: | |
tmp187 = subjects152.popleft() | |
# State 4166 | |
if len(subjects152) == 0: | |
# State 4167 | |
if len(subjects) == 0: | |
# 793: sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) | |
yield 793, subst1 | |
# 518: sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f47(c, d, e, b)) | |
yield 518, subst1 | |
subjects152.appendleft(tmp187) | |
if pattern_index == 5: | |
# State 2502 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2503 | |
if len(subjects152) == 0: | |
# State 2504 | |
if len(subjects) == 0: | |
# 136: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) | |
yield 136, subst2 | |
# 1361: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f336(f, e, g, d)) and (cons_f124(m, n)) and (cons_f377(f, d, m)) | |
yield 1361, subst2 | |
# 18: (c + v*b)**n /; (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f25(b, d, a, c)) and (cons_f26(d, x, b, c, a, n)) | |
yield 18, subst2 | |
# 987: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f124(m, n)) and (cons_f336(f, e, g, d)) and (cons_f377(f, d, m)) | |
yield 987, subst2 | |
if len(subjects152) >= 1: | |
tmp189 = [] | |
tmp189.append(subjects152.popleft()) | |
while True: | |
if len(tmp189) > 1: | |
tmp190 = create_operation_expression(associative1, tmp189) | |
elif len(tmp189) == 1: | |
tmp190 = tmp189[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp190) | |
except ValueError: | |
pass | |
else: | |
# State 2503 | |
if len(subjects152) == 0: | |
# State 2504 | |
if len(subjects) == 0: | |
# 136: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) | |
yield 136, subst2 | |
# 1361: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f336(f, e, g, d)) and (cons_f124(m, n)) and (cons_f377(f, d, m)) | |
yield 1361, subst2 | |
# 18: (c + v*b)**n /; (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f25(b, d, a, c)) and (cons_f26(d, x, b, c, a, n)) | |
yield 18, subst2 | |
# 987: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f124(m, n)) and (cons_f336(f, e, g, d)) and (cons_f377(f, d, m)) | |
yield 987, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp189.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp189)) | |
if len(subjects152) >= 1: | |
tmp192 = [] | |
tmp192.append(subjects152.popleft()) | |
while True: | |
if len(tmp192) > 1: | |
tmp193 = create_operation_expression(associative1, tmp192) | |
elif len(tmp192) == 1: | |
tmp193 = tmp192[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp193) | |
except ValueError: | |
pass | |
else: | |
# State 2510 | |
if len(subjects152) == 0: | |
# State 2511 | |
if len(subjects) == 0: | |
# 128: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f71(b, d, a, c)) and (cons_f85(n)) | |
yield 128, subst2 | |
# 993: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f124(m, n)) and (cons_f336(f, e, g, d)) | |
yield 993, subst2 | |
# 130: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f23(n)) and (cons_f120(b, d, a, c)) and (cons_f121(d, c, b, a, m, n)) | |
yield 130, subst2 | |
# 132: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f23(n)) and (cons_f122(m, n)) | |
yield 132, subst2 | |
# 73: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) and (cons_f80(n)) and (cons_f81(m, n)) | |
yield 73, subst2 | |
# 75: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) and (cons_f80(n)) and (cons_f82(m, n)) | |
yield 75, subst2 | |
# 20: (c + v*b)**n /; (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f25(b, d, a, c)) and (cons_f28(b, d)) and (cons_f29(m, n)) | |
yield 20, subst2 | |
# 54: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f72(m, n)) | |
yield 54, subst2 | |
# 22: (c + v*b)**n /; (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f25(b, d, a, c)) and (cons_f30(b, d, m, n)) | |
yield 22, subst2 | |
# 1368: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f336(f, e, g, d)) and (cons_f124(m, n)) | |
yield 1368, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp192.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp192)) | |
if len(subjects152) >= 1: | |
tmp195 = [] | |
tmp195.append(subjects152.popleft()) | |
while True: | |
if len(tmp195) > 1: | |
tmp196 = create_operation_expression(associative1, tmp195) | |
elif len(tmp195) == 1: | |
tmp196 = tmp195[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp196) | |
except ValueError: | |
pass | |
else: | |
# State 2926 | |
if len(subjects152) == 0: | |
# State 2927 | |
if len(subjects) == 0: | |
# 56: (c + v*b)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) and (cons_f73(m)) | |
yield 56, subst2 | |
# 108: (c + v*b)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f31(m)) and (cons_f107(m)) and (cons_f108(m)) | |
yield 108, subst2 | |
# 60: (c + v*b)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) and (cons_f74(m)) | |
yield 60, subst2 | |
# 68: (c + v*b)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f70(b, d, a, c)) and (cons_f77(m)) | |
yield 68, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp195.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp195)) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2942 | |
if len(subjects152) == 0: | |
# State 2943 | |
if len(subjects) == 0: | |
# 62: (c + v*b)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f70(b, d, a, c)) and (cons_f75(c, a, m)) | |
yield 62, subst2 | |
if len(subjects152) >= 1: | |
tmp199 = [] | |
tmp199.append(subjects152.popleft()) | |
while True: | |
if len(tmp199) > 1: | |
tmp200 = create_operation_expression(associative1, tmp199) | |
elif len(tmp199) == 1: | |
tmp200 = tmp199[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp200) | |
except ValueError: | |
pass | |
else: | |
# State 2942 | |
if len(subjects152) == 0: | |
# State 2943 | |
if len(subjects) == 0: | |
# 62: (c + v*b)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f70(b, d, a, c)) and (cons_f75(c, a, m)) | |
yield 62, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp199.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp199)) | |
if len(subjects152) >= 1 and subjects152[0] == -1: | |
tmp202 = subjects152.popleft() | |
# State 2882 | |
if len(subjects152) == 0: | |
# State 2883 | |
if len(subjects) == 0: | |
# 50: 1/(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) | |
yield 50, subst1 | |
subjects152.appendleft(tmp202) | |
if len(subjects152) >= 1 and subjects152[0] == -3/2: | |
tmp203 = subjects152.popleft() | |
# State 2933 | |
if len(subjects152) == 0: | |
# State 2934 | |
if len(subjects) == 0: | |
# 58: (c + v*b)**(-3/2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) | |
yield 58, subst1 | |
subjects152.appendleft(tmp203) | |
if len(subjects152) >= 1 and subjects152[0] == -1/2: | |
tmp204 = subjects152.popleft() | |
# State 2949 | |
if len(subjects152) == 0: | |
# State 2950 | |
if len(subjects) == 0: | |
# 64: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) and (cons_f76(c, a)) | |
yield 64, subst1 | |
# 256: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f120(b, d, a, c)) and (cons_f156(d, c, x, b, a)) and (cons_f188(f, e, x, b, a)) and (cons_f189(d, c, f, e, b, a)) | |
yield 256, subst1 | |
# 66: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) | |
yield 66, subst1 | |
# 259: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f120(b, d, a, c)) and (cons_f156(d, c, x, b, a)) and (cons_f188(f, e, x, b, a)) and (cons_f190(d, c, f, e, b, a)) | |
yield 259, subst1 | |
# 262: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f185(d, c, f, e, b, a)) and (cons_f156(d, c, x, b, a)) and (cons_f188(f, e, x, b, a)) | |
yield 262, subst1 | |
# 104: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f106(b, d)) | |
yield 104, subst1 | |
# 366: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f188(f, e, x, b, a)) and (cons_f218(d, f, e, x, c)) | |
yield 366, subst1 | |
# 242: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f120(b, d, a, c)) and (cons_f183(b, d, a, c)) and (cons_f184(d, f, e, x, b, c, a)) | |
yield 242, subst1 | |
# 245: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f185(d, c, f, e, b, a)) and (cons_f183(b, d, a, c)) | |
yield 245, subst1 | |
subjects152.appendleft(tmp204) | |
if len(subjects152) >= 1 and subjects152[0] == -1/4: | |
tmp205 = subjects152.popleft() | |
# State 2962 | |
if len(subjects152) == 0: | |
# State 2963 | |
if len(subjects) == 0: | |
# 70: (c + v*b)**(-1/4) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f70(b, d, a, c)) and (cons_f78(b, d, a, c)) | |
yield 70, subst1 | |
subjects152.appendleft(tmp205) | |
if pattern_index == 6: | |
# State 2562 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2563 | |
if len(subjects152) == 0: | |
# State 2564 | |
if len(subjects) == 0: | |
# 28: (c + b*v**n)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f37(n, q)) and (cons_f38(p)) and (cons_f39(c, d, a, b)) | |
yield 28, subst2 | |
# 29: (c + b*v**n)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f41(m, p)) and (cons_f42(b, d, a, c)) and (cons_f43(a)) | |
yield 29, subst2 | |
if len(subjects152) >= 1: | |
tmp207 = [] | |
tmp207.append(subjects152.popleft()) | |
while True: | |
if len(tmp207) > 1: | |
tmp208 = create_operation_expression(associative1, tmp207) | |
elif len(tmp207) == 1: | |
tmp208 = tmp207[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp208) | |
except ValueError: | |
pass | |
else: | |
# State 2563 | |
if len(subjects152) == 0: | |
# State 2564 | |
if len(subjects) == 0: | |
# 28: (c + b*v**n)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f37(n, q)) and (cons_f38(p)) and (cons_f39(c, d, a, b)) | |
yield 28, subst2 | |
# 29: (c + b*v**n)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f41(m, p)) and (cons_f42(b, d, a, c)) and (cons_f43(a)) | |
yield 29, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp207.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp207)) | |
if pattern_index == 7: | |
# State 2579 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2580 | |
if len(subjects152) == 0: | |
# State 2581 | |
if len(subjects) == 0: | |
# 30: (c + d*x**j)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f41(m, p)) and (cons_f42(b, d, a, c)) and (cons_f44(d)) | |
yield 30, subst2 | |
if len(subjects152) >= 1: | |
tmp211 = [] | |
tmp211.append(subjects152.popleft()) | |
while True: | |
if len(tmp211) > 1: | |
tmp212 = create_operation_expression(associative1, tmp211) | |
elif len(tmp211) == 1: | |
tmp212 = tmp211[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp212) | |
except ValueError: | |
pass | |
else: | |
# State 2580 | |
if len(subjects152) == 0: | |
# State 2581 | |
if len(subjects) == 0: | |
# 30: (c + d*x**j)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f6(n, j)) and (cons_f41(m, p)) and (cons_f42(b, d, a, c)) and (cons_f44(d)) | |
yield 30, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp211.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp211)) | |
if len(subjects152) >= 1: | |
tmp214 = [] | |
tmp214.append(subjects152.popleft()) | |
while True: | |
if len(tmp214) > 1: | |
tmp215 = create_operation_expression(associative1, tmp214) | |
elif len(tmp214) == 1: | |
tmp215 = tmp214[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp215) | |
except ValueError: | |
pass | |
else: | |
# State 2746 | |
if len(subjects152) == 0: | |
# State 2747 | |
if len(subjects) == 0: | |
# 39: (c + d*x**j)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f53(m, n)) and (cons_f54(p)) | |
yield 39, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp214.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp214)) | |
if len(subjects152) >= 1 and subjects152[0] == -1: | |
tmp217 = subjects152.popleft() | |
# State 2737 | |
if len(subjects152) == 0: | |
# State 2738 | |
if len(subjects) == 0: | |
# 37: 1/(c + d*x**j) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f53(m, n)) | |
yield 37, subst1 | |
subjects152.appendleft(tmp217) | |
if pattern_index == 8: | |
# State 2622 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2623 | |
if len(subjects152) == 0: | |
# State 2624 | |
if len(subjects) == 0: | |
# 1287: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) | |
yield 1287, subst2 | |
# 1417: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f404(d, f, e, b, c, a)) and (cons_f405(q, p)) | |
yield 1417, subst2 | |
# 1420: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f404(d, f, e, b, c, a)) and (cons_f405(q, p)) | |
yield 1420, subst2 | |
# 1435: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1435, subst2 | |
# 1437: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1437, subst2 | |
# 31: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f45(b, a, c)) and (cons_f38(p)) | |
yield 31, subst2 | |
# 1068: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f384(c, f, p)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1068, subst2 | |
# 1070: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f147(p)) and (cons_f387(c, f)) | |
yield 1070, subst2 | |
# 1369: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f384(c, f, p)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1369, subst2 | |
# 1372: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f384(c, f, p)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1372, subst2 | |
# 1375: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f147(p)) and (cons_f387(c, f)) | |
yield 1375, subst2 | |
# 1378: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f147(p)) and (cons_f387(c, f)) | |
yield 1378, subst2 | |
# 1381: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f45(b, a, c)) | |
yield 1381, subst2 | |
# 1383: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f45(b, a, c)) | |
yield 1383, subst2 | |
# 1391: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) and (cons_f220(q, p)) and (cons_f163(p)) | |
yield 1391, subst2 | |
# 1265: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) and (cons_f220(q, p)) and (cons_f163(p)) | |
yield 1265, subst2 | |
# 1394: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) and (cons_f220(q, p)) and (cons_f163(p)) | |
yield 1394, subst2 | |
# 1271: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1271, subst2 | |
# 1403: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1403, subst2 | |
# 1405: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1405, subst2 | |
# 1278: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f404(d, f, e, b, c, a)) and (cons_f405(q, p)) | |
yield 1278, subst2 | |
if len(subjects152) >= 1: | |
tmp219 = [] | |
tmp219.append(subjects152.popleft()) | |
while True: | |
if len(tmp219) > 1: | |
tmp220 = create_operation_expression(associative1, tmp219) | |
elif len(tmp219) == 1: | |
tmp220 = tmp219[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp220) | |
except ValueError: | |
pass | |
else: | |
# State 2623 | |
if len(subjects152) == 0: | |
# State 2624 | |
if len(subjects) == 0: | |
# 1287: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) | |
yield 1287, subst2 | |
# 1417: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f404(d, f, e, b, c, a)) and (cons_f405(q, p)) | |
yield 1417, subst2 | |
# 1420: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f404(d, f, e, b, c, a)) and (cons_f405(q, p)) | |
yield 1420, subst2 | |
# 1435: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1435, subst2 | |
# 1437: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1437, subst2 | |
# 31: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f45(b, a, c)) and (cons_f38(p)) | |
yield 31, subst2 | |
# 1068: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f384(c, f, p)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1068, subst2 | |
# 1070: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f147(p)) and (cons_f387(c, f)) | |
yield 1070, subst2 | |
# 1369: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f384(c, f, p)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1369, subst2 | |
# 1372: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f384(c, f, p)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1372, subst2 | |
# 1375: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f147(p)) and (cons_f387(c, f)) | |
yield 1375, subst2 | |
# 1378: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f147(p)) and (cons_f387(c, f)) | |
yield 1378, subst2 | |
# 1381: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f45(b, a, c)) | |
yield 1381, subst2 | |
# 1383: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f45(b, a, c)) | |
yield 1383, subst2 | |
# 1391: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) and (cons_f220(q, p)) and (cons_f163(p)) | |
yield 1391, subst2 | |
# 1265: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) and (cons_f220(q, p)) and (cons_f163(p)) | |
yield 1265, subst2 | |
# 1394: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) and (cons_f220(q, p)) and (cons_f163(p)) | |
yield 1394, subst2 | |
# 1271: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1271, subst2 | |
# 1403: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1403, subst2 | |
# 1405: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1405, subst2 | |
# 1278: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f404(d, f, e, b, c, a)) and (cons_f405(q, p)) | |
yield 1278, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp219.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp219)) | |
if len(subjects152) >= 1: | |
tmp222 = [] | |
tmp222.append(subjects152.popleft()) | |
while True: | |
if len(tmp222) > 1: | |
tmp223 = create_operation_expression(associative1, tmp222) | |
elif len(tmp222) == 1: | |
tmp223 = tmp222[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp223) | |
except ValueError: | |
pass | |
else: | |
# State 3958 | |
if len(subjects152) == 0: | |
# State 3959 | |
if len(subjects) == 0: | |
# 1072: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f45(b, a, c)) and (cons_f147(p)) | |
yield 1072, subst2 | |
# 421: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f239(c, d, e, b)) and (cons_f243(p)) | |
yield 421, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp222.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp222)) | |
if len(subjects152) >= 1 and subjects152[0] == -1: | |
tmp225 = subjects152.popleft() | |
# State 4189 | |
if len(subjects152) == 0: | |
# State 4190 | |
if len(subjects) == 0: | |
# 1122: 1/(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f226(b, a, c)) and (cons_f410(c, f, e, b)) | |
yield 1122, subst1 | |
# 1124: 1/(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f226(b, a, c)) and (cons_f411(c, f, e, b)) and (cons_f231(b, a, c)) | |
yield 1124, subst1 | |
# 1447: 1/(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) and (With669(B, d, c, f, e, A, C, x, b, a)) | |
yield 1447, subst1 | |
# 1450: 1/(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) and (With670(d, c, f, e, A, C, x, b, a)) | |
yield 1450, subst1 | |
# 1324: 1/(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) and (cons_f231(b, a, c)) | |
yield 1324, subst1 | |
# 1293: 1/(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) and (With607(d, c, f, e, h, x, b, a, g)) | |
yield 1293, subst1 | |
# 530: 1/(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f282(b, a, c)) | |
yield 530, subst1 | |
# 1459: 1/(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) | |
yield 1459, subst1 | |
# 1461: 1/(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f226(b, a, c)) | |
yield 1461, subst1 | |
# 534: 1/(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f284(b, a, c)) | |
yield 534, subst1 | |
# 1303: 1/(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) and (cons_f410(c, f, e, b)) | |
yield 1303, subst1 | |
# 1308: 1/(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f226(b, a, c)) and (cons_f383(b, d, a, e)) | |
yield 1308, subst1 | |
# 1118: 1/(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f226(b, a, c)) and (With537(d, c, f, e, x, b, a)) | |
yield 1118, subst1 | |
# 1310: 1/(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) and (cons_f383(b, d, a, e)) | |
yield 1310, subst1 | |
subjects152.appendleft(tmp225) | |
if len(subjects152) >= 1 and subjects152[0] == -1/2: | |
tmp226 = subjects152.popleft() | |
# State 4301 | |
if len(subjects152) == 0: | |
# State 4302 | |
if len(subjects) == 0: | |
# 954: 1/sqrt(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f226(b, a, c)) | |
yield 954, subst1 | |
# 1140: 1/sqrt(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f226(b, a, c)) | |
yield 1140, subst1 | |
# 1334: 1/sqrt(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) | |
yield 1334, subst1 | |
# 567: 1/sqrt(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f226(b, a, c)) | |
yield 567, subst1 | |
subjects152.appendleft(tmp226) | |
if len(subjects152) >= 1 and subjects152[0] == 1/2: | |
tmp227 = subjects152.popleft() | |
# State 5391 | |
if len(subjects152) == 0: | |
# State 5392 | |
if len(subjects) == 0: | |
# 1134: sqrt(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f226(b, a, c)) | |
yield 1134, subst1 | |
subjects152.appendleft(tmp227) | |
if pattern_index == 9: | |
# State 2647 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2648 | |
if len(subjects152) == 0: | |
# State 2649 | |
if len(subjects) == 0: | |
# 32: (a + b*v**n + d*x**j)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f46(n2, n)) and (cons_f45(b, a, c)) and (cons_f38(p)) | |
yield 32, subst2 | |
if len(subjects152) >= 1: | |
tmp229 = [] | |
tmp229.append(subjects152.popleft()) | |
while True: | |
if len(tmp229) > 1: | |
tmp230 = create_operation_expression(associative1, tmp229) | |
elif len(tmp229) == 1: | |
tmp230 = tmp229[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp230) | |
except ValueError: | |
pass | |
else: | |
# State 2648 | |
if len(subjects152) == 0: | |
# State 2649 | |
if len(subjects) == 0: | |
# 32: (a + b*v**n + d*x**j)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f4(n, x)) and (cons_f46(n2, n)) and (cons_f45(b, a, c)) and (cons_f38(p)) | |
yield 32, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp229.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp229)) | |
if pattern_index == 10: | |
# State 2654 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2655 | |
if len(subjects152) == 0: | |
# State 2656 | |
if len(subjects) == 0: | |
# 33: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f47(c, d, e, b)) | |
yield 33, subst2 | |
# 1147: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1147, subst2 | |
# 1084: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f394(f, d, e)) and (cons_f393(q)) | |
yield 1084, subst2 | |
# 1086: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f394(f, d, e)) and (cons_f393(q)) | |
yield 1086, subst2 | |
if len(subjects152) >= 1: | |
tmp233 = [] | |
tmp233.append(subjects152.popleft()) | |
while True: | |
if len(tmp233) > 1: | |
tmp234 = create_operation_expression(associative1, tmp233) | |
elif len(tmp233) == 1: | |
tmp234 = tmp233[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp234) | |
except ValueError: | |
pass | |
else: | |
# State 2655 | |
if len(subjects152) == 0: | |
# State 2656 | |
if len(subjects) == 0: | |
# 33: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f47(c, d, e, b)) | |
yield 33, subst2 | |
# 1147: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1147, subst2 | |
# 1084: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f394(f, d, e)) and (cons_f393(q)) | |
yield 1084, subst2 | |
# 1086: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f394(f, d, e)) and (cons_f393(q)) | |
yield 1086, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp233.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp233)) | |
if len(subjects152) >= 1: | |
tmp236 = [] | |
tmp236.append(subjects152.popleft()) | |
while True: | |
if len(tmp236) > 1: | |
tmp237 = create_operation_expression(associative1, tmp236) | |
elif len(tmp236) == 1: | |
tmp237 = tmp236[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp237) | |
except ValueError: | |
pass | |
else: | |
# State 4263 | |
if len(subjects152) == 0: | |
# State 4264 | |
if len(subjects) == 0: | |
# 1088: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f394(f, d, e)) and (cons_f395(q)) and (cons_f396(q)) and (cons_f397(d, q, c, f, e, b, a)) | |
yield 1088, subst2 | |
# 1474: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f456(d, q, p, c, f, e, A, C, x, b, a)) | |
yield 1474, subst2 | |
# 1090: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f394(f, d, e)) and (cons_f395(q)) and (cons_f396(q)) and (cons_f398(d, q, f, e, c, a)) | |
yield 1090, subst2 | |
# 1346: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f449(d, q, p, c, f, e, h, x, b, a, g)) | |
yield 1346, subst2 | |
# 869: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f354(d, p, c, f, e, b, a, g)) | |
yield 869, subst2 | |
# 1094: (a + b*x + c*x**2)**p /; (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f400(q)) and (cons_f401(q)) and (cons_f397(d, q, c, f, e, b, a)) | |
yield 1094, subst2 | |
# 1096: (a + b*x + c*x**2)**p /; (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f50(q, x)) and (cons_f394(f, d, e)) and (cons_f400(q)) and (cons_f401(q)) and (cons_f398(d, q, f, e, c, a)) | |
yield 1096, subst2 | |
# 875: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f13(p)) and (cons_f137(p)) | |
yield 875, subst2 | |
# 556: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f230(p)) | |
yield 556, subst2 | |
# 1100: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f226(b, a, c)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1100, subst2 | |
# 558: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f287(p)) | |
yield 558, subst2 | |
# 881: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f287(p)) | |
yield 881, subst2 | |
# 1106: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f404(d, f, e, b, c, a)) and (cons_f405(q, p)) | |
yield 1106, subst2 | |
# 1076: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f388(d, q, c, f, e, b, a)) and (cons_f389(q)) and (cons_f390(q)) | |
yield 1076, subst2 | |
# 1078: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f391(d, q, f, e, c, a)) and (cons_f389(q)) and (cons_f390(q)) | |
yield 1078, subst2 | |
# 1143: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f415(d, q, p, c, f, e, x, b, a)) | |
yield 1143, subst2 | |
# 1112: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f146(p)) and (cons_f408(q, p)) and (cons_f409(q, p)) | |
yield 1112, subst2 | |
# 1471: (a + b*x + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f455(d, B, q, p, c, f, e, A, C, x, b, a)) | |
yield 1471, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp236.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp236)) | |
if len(subjects152) >= 1 and subjects152[0] == -3/2: | |
tmp239 = subjects152.popleft() | |
# State 4253 | |
if len(subjects152) == 0: | |
# State 4254 | |
if len(subjects) == 0: | |
# 554: (a + b*x + c*x**2)**(-3/2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 554, subst1 | |
subjects152.appendleft(tmp239) | |
if len(subjects152) >= 1 and subjects152[0] == -1: | |
tmp240 = subjects152.popleft() | |
# State 5372 | |
if len(subjects152) == 0: | |
# State 5373 | |
if len(subjects) == 0: | |
# 1130: 1/(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f226(b, a, c)) and (cons_f411(c, f, e, b)) and (cons_f413(b, a, c)) | |
yield 1130, subst1 | |
# 1315: 1/(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) and (cons_f372(b, d, a, e)) and (cons_f440(d, c, f, e, h, b, a, g)) | |
yield 1315, subst1 | |
# 1330: 1/(a + b*x + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) and (cons_f372(b, d, a, e)) and (cons_f413(b, a, c)) | |
yield 1330, subst1 | |
subjects152.appendleft(tmp240) | |
if len(subjects152) >= 1 and subjects152[0] == -1/3: | |
tmp241 = subjects152.popleft() | |
# State 5762 | |
if len(subjects152) == 0: | |
# State 5763 | |
if len(subjects) == 0: | |
# 1337: (a + b*x + c*x**2)**(-1/3) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f410(c, f, e, b)) and (cons_f443(d, f, b, c, a)) and (cons_f444(h, b, c, a, g)) and (cons_f445(c, b, h, g)) | |
yield 1337, subst1 | |
# 1343: (a + b*x + c*x**2)**(-1/3) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f410(c, f, e, b)) and (cons_f443(d, f, b, c, a)) and (cons_f444(h, b, c, a, g)) and (cons_f313(b, a, c)) | |
yield 1343, subst1 | |
subjects152.appendleft(tmp241) | |
if pattern_index == 11: | |
# State 2672 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2673 | |
if len(subjects152) == 0: | |
# State 2674 | |
if len(subjects) == 0: | |
# 35: (b*v**n + b*v**m)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f17(m)) and (cons_f49(q, p)) | |
yield 35, subst2 | |
if len(subjects152) >= 1: | |
tmp243 = [] | |
tmp243.append(subjects152.popleft()) | |
while True: | |
if len(tmp243) > 1: | |
tmp244 = create_operation_expression(associative1, tmp243) | |
elif len(tmp243) == 1: | |
tmp244 = tmp243[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp244) | |
except ValueError: | |
pass | |
else: | |
# State 2673 | |
if len(subjects152) == 0: | |
# State 2674 | |
if len(subjects) == 0: | |
# 35: (b*v**n + b*v**m)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f17(m)) and (cons_f49(q, p)) | |
yield 35, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp243.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp243)) | |
if pattern_index == 12: | |
# State 2731 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2732 | |
if len(subjects152) == 0: | |
# State 2733 | |
if len(subjects) == 0: | |
# 36: (b*v**n + c*x**r + b*v**m)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f17(m)) and (cons_f49(q, p)) and (cons_f51(r, p)) | |
yield 36, subst2 | |
if len(subjects152) >= 1: | |
tmp247 = [] | |
tmp247.append(subjects152.popleft()) | |
while True: | |
if len(tmp247) > 1: | |
tmp248 = create_operation_expression(associative1, tmp247) | |
elif len(tmp247) == 1: | |
tmp248 = tmp247[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp248) | |
except ValueError: | |
pass | |
else: | |
# State 2732 | |
if len(subjects152) == 0: | |
# State 2733 | |
if len(subjects) == 0: | |
# 36: (b*v**n + c*x**r + b*v**m)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f52(r, x)) and (cons_f17(m)) and (cons_f49(q, p)) and (cons_f51(r, p)) | |
yield 36, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp247.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp247)) | |
if pattern_index == 13: | |
# State 2761 | |
if len(subjects152) >= 1: | |
tmp250 = [] | |
tmp250.append(subjects152.popleft()) | |
while True: | |
if len(tmp250) > 1: | |
tmp251 = create_operation_expression(associative1, tmp250) | |
elif len(tmp250) == 1: | |
tmp251 = tmp250[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp251) | |
except ValueError: | |
pass | |
else: | |
# State 2762 | |
if len(subjects152) == 0: | |
# State 2763 | |
if len(subjects) == 0: | |
# 42: (a2 + b2*v**m)**p /; (cons_f57(a1, x)) and (cons_f58(b1, x)) and (cons_f59(a2, x)) and (cons_f60(b2, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f55(b1, a2, b2, a1)) and (cons_f56(m, n)) and (cons_f54(p)) | |
yield 42, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp250.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp250)) | |
if pattern_index == 14: | |
# State 2808 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2809 | |
if len(subjects152) == 0: | |
# State 2810 | |
if len(subjects) == 0: | |
# 44: (a + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f11(x, Pm)) and (With33(p, x, Qm, Pm, b, a, n)) | |
yield 44, subst2 | |
if len(subjects152) >= 1: | |
tmp254 = [] | |
tmp254.append(subjects152.popleft()) | |
while True: | |
if len(tmp254) > 1: | |
tmp255 = create_operation_expression(associative1, tmp254) | |
elif len(tmp254) == 1: | |
tmp255 = tmp254[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp255) | |
except ValueError: | |
pass | |
else: | |
# State 2809 | |
if len(subjects152) == 0: | |
# State 2810 | |
if len(subjects) == 0: | |
# 44: (a + b*v**m)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f11(x, Pm)) and (With33(p, x, Qm, Pm, b, a, n)) | |
yield 44, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp254.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp254)) | |
if pattern_index == 15: | |
# State 2894 | |
if len(subjects152) >= 1 and subjects152[0] == -1: | |
tmp257 = subjects152.popleft() | |
# State 2895 | |
if len(subjects152) == 0: | |
# State 2896 | |
if len(subjects) == 0: | |
# 264: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f191(d, c, f, e, b, a)) | |
yield 264, subst1 | |
# 544: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 544, subst1 | |
# 672: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f239(c, d, e, b)) | |
yield 672, subst1 | |
# 165: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) | |
yield 165, subst1 | |
# 171: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) | |
yield 171, subst1 | |
# 51: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) | |
yield 51, subst1 | |
# 951: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f370(d, e, b, c, a)) and (cons_f371(d, f, e, b, a, g)) and (cons_f372(b, d, a, e)) | |
yield 951, subst1 | |
# 1214: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f429(h, b, c, a, g)) | |
yield 1214, subst1 | |
# 1220: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f429(h, b, c, a, g)) | |
yield 1220, subst1 | |
# 581: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f239(c, d, e, b)) | |
yield 581, subst1 | |
# 976: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) | |
yield 976, subst1 | |
# 82: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f90(b, d, a, c)) | |
yield 82, subst1 | |
# 851: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) | |
yield 851, subst1 | |
# 84: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f91(b, d, a, c)) | |
yield 84, subst1 | |
# 357: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f216(d, c, f, e, h, x, b, a, g)) | |
yield 357, subst1 | |
# 361: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f217(d, p, c, f, e, h, x, n, b, a, g)) | |
yield 361, subst1 | |
# 623: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f239(c, d, e, b)) and (cons_f308(d, e, b, c, a)) and (cons_f309(c, d, e, b)) | |
yield 623, subst1 | |
# 633: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) | |
yield 633, subst1 | |
# 627: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f239(c, d, e, b)) and (cons_f308(d, e, b, c, a)) and (cons_f311(c, d, e, b)) | |
yield 627, subst1 | |
# 373: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) | |
yield 373, subst1 | |
# 629: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f312(d, e, b, c, a)) | |
yield 629, subst1 | |
# 377: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f216(d, c, f, e, h, x, b, a, g)) | |
yield 377, subst1 | |
# 381: 1/(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) | |
yield 381, subst1 | |
subjects152.appendleft(tmp257) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2921 | |
if len(subjects152) == 0: | |
# State 2922 | |
if len(subjects) == 0: | |
# 642: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 642, subst2 | |
# 1154: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1154, subst2 | |
# 1157: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1157, subst2 | |
# 133: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f123(x, u)) | |
yield 133, subst2 | |
# 645: (a + v*a)**m /; (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 645, subst2 | |
# 138: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f127(d, p, c, f, e, b, a, n)) | |
yield 138, subst2 | |
# 652: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) | |
yield 652, subst2 | |
# 526: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 526, subst2 | |
# 655: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f242(m, p)) | |
yield 655, subst2 | |
# 400: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 400, subst2 | |
# 912: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f168(m)) and (cons_f366(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 912, subst2 | |
# 658: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f244(m, p)) and (cons_f168(m)) | |
yield 658, subst2 | |
# 276: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f193(m, n)) | |
yield 276, subst2 | |
# 661: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) and (cons_f317(m)) | |
yield 661, subst2 | |
# 150: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f135(n, p)) and (cons_f136(n, p)) | |
yield 150, subst2 | |
# 663: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f31(m)) and (cons_f94(m)) and (cons_f318(m, p)) | |
yield 663, subst2 | |
# 153: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f126(n, p)) and (cons_f138(c, e, n, p)) | |
yield 153, subst2 | |
# 922: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f17(m)) | |
yield 922, subst2 | |
# 156: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) | |
yield 156, subst2 | |
# 412: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) and (cons_f240(m, p)) and (cons_f66(m)) | |
yield 412, subst2 | |
# 668: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f62(m)) and (cons_f319(m, p)) and (cons_f320(m, p)) | |
yield 668, subst2 | |
# 670: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f319(m, p)) | |
yield 670, subst2 | |
# 1181: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f423(p, c, f, e, h, b, m, g)) and (cons_f424(d, p, c, f, h, m, b, a, g)) and (cons_f270(m, p)) | |
yield 1181, subst2 | |
# 675: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f323(d, p, e, b, c, m)) | |
yield 675, subst2 | |
# 1059: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f380(d, p, c, f, e, m, x, n, b, a, g)) | |
yield 1059, subst2 | |
# 1187: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f427(p, c, f, h, b, m, g)) and (cons_f424(d, p, c, f, h, m, b, a, g)) and (cons_f270(m, p)) | |
yield 1187, subst2 | |
# 678: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f239(c, d, e, b)) and (cons_f242(m, p)) | |
yield 678, subst2 | |
# 935: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f31(m)) and (cons_f168(m)) and (cons_f319(m, p)) and (cons_f368(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 935, subst2 | |
# 1190: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1190, subst2 | |
# 684: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f239(c, d, e, b)) and (cons_f319(m, p)) and (cons_f270(m, p)) and (cons_f272(m)) and (cons_f324(d, f, e, x, m, g)) | |
yield 684, subst2 | |
# 429: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f252(m)) | |
yield 429, subst2 | |
# 1196: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1196, subst2 | |
# 176: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f150(m, n)) and (cons_f151(m, n, p)) | |
yield 176, subst2 | |
# 434: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) and (cons_f31(m)) and (cons_f168(m)) and (cons_f238(m, p)) and (cons_f254(m, p)) and (cons_f255(m, p)) | |
yield 434, subst2 | |
# 53: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f72(m, n)) and (cons_f66(m)) | |
yield 53, subst2 | |
# 438: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) | |
yield 438, subst2 | |
# 311: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 311, subst2 | |
# 314: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f207(m, n)) | |
yield 314, subst2 | |
# 702: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f326(d, p, f, e, b, c, m, g)) | |
yield 702, subst2 | |
# 448: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f240(m, p)) | |
yield 448, subst2 | |
# 708: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f168(m)) | |
yield 708, subst2 | |
# 328: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f214(m, n)) and (cons_f213(m, n)) | |
yield 328, subst2 | |
# 585: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f240(m, p)) | |
yield 585, subst2 | |
# 714: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f328(m)) | |
yield 714, subst2 | |
# 1352: (a + v*a)**m /; (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1352, subst2 | |
# 76: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f62(m)) and (cons_f83(c, m, n)) | |
yield 76, subst2 | |
# 460: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f262(m, p)) | |
yield 460, subst2 | |
# 845: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) | |
yield 845, subst2 | |
# 720: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f329(m, p)) and (cons_f253(m, p)) | |
yield 720, subst2 | |
# 1234: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f431(h, b, c, a, g)) | |
yield 1234, subst2 | |
# 212: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f168(m)) and (cons_f167(m, n, p)) and (cons_f169(m, n, p)) | |
yield 212, subst2 | |
# 724: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f319(m, p)) | |
yield 724, subst2 | |
# 1238: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f431(h, b, c, a, g)) | |
yield 1238, subst2 | |
# 1364: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f84(m)) | |
yield 1364, subst2 | |
# 1243: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1243, subst2 | |
# 861: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f242(m, p)) and (cons_f352(d, e, b, c, m)) | |
yield 861, subst2 | |
# 480: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f256(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f252(m)) | |
yield 480, subst2 | |
# 1249: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1249, subst2 | |
# 486: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f31(m)) and (cons_f266(m)) and (cons_f238(m, p)) | |
yield 486, subst2 | |
# 1255: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1255, subst2 | |
# 1259: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1259, subst2 | |
# 638: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f84(m)) | |
yield 638, subst2 | |
# 1151: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1151, subst2 | |
if len(subjects152) >= 1: | |
tmp259 = [] | |
tmp259.append(subjects152.popleft()) | |
while True: | |
if len(tmp259) > 1: | |
tmp260 = create_operation_expression(associative1, tmp259) | |
elif len(tmp259) == 1: | |
tmp260 = tmp259[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp260) | |
except ValueError: | |
pass | |
else: | |
# State 2921 | |
if len(subjects152) == 0: | |
# State 2922 | |
if len(subjects) == 0: | |
# 642: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 642, subst2 | |
# 1154: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1154, subst2 | |
# 1157: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1157, subst2 | |
# 133: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f123(x, u)) | |
yield 133, subst2 | |
# 645: (a + v*a)**m /; (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 645, subst2 | |
# 138: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f127(d, p, c, f, e, b, a, n)) | |
yield 138, subst2 | |
# 652: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) | |
yield 652, subst2 | |
# 526: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 526, subst2 | |
# 655: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f242(m, p)) | |
yield 655, subst2 | |
# 400: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 400, subst2 | |
# 912: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f168(m)) and (cons_f366(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 912, subst2 | |
# 658: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f244(m, p)) and (cons_f168(m)) | |
yield 658, subst2 | |
# 276: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f193(m, n)) | |
yield 276, subst2 | |
# 661: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) and (cons_f317(m)) | |
yield 661, subst2 | |
# 150: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f135(n, p)) and (cons_f136(n, p)) | |
yield 150, subst2 | |
# 663: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f31(m)) and (cons_f94(m)) and (cons_f318(m, p)) | |
yield 663, subst2 | |
# 153: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f126(n, p)) and (cons_f138(c, e, n, p)) | |
yield 153, subst2 | |
# 922: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f17(m)) | |
yield 922, subst2 | |
# 156: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) | |
yield 156, subst2 | |
# 412: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) and (cons_f240(m, p)) and (cons_f66(m)) | |
yield 412, subst2 | |
# 668: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f62(m)) and (cons_f319(m, p)) and (cons_f320(m, p)) | |
yield 668, subst2 | |
# 670: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f319(m, p)) | |
yield 670, subst2 | |
# 1181: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f423(p, c, f, e, h, b, m, g)) and (cons_f424(d, p, c, f, h, m, b, a, g)) and (cons_f270(m, p)) | |
yield 1181, subst2 | |
# 675: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f323(d, p, e, b, c, m)) | |
yield 675, subst2 | |
# 1059: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f380(d, p, c, f, e, m, x, n, b, a, g)) | |
yield 1059, subst2 | |
# 1187: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f427(p, c, f, h, b, m, g)) and (cons_f424(d, p, c, f, h, m, b, a, g)) and (cons_f270(m, p)) | |
yield 1187, subst2 | |
# 678: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f239(c, d, e, b)) and (cons_f242(m, p)) | |
yield 678, subst2 | |
# 935: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f31(m)) and (cons_f168(m)) and (cons_f319(m, p)) and (cons_f368(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 935, subst2 | |
# 1190: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1190, subst2 | |
# 684: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f239(c, d, e, b)) and (cons_f319(m, p)) and (cons_f270(m, p)) and (cons_f272(m)) and (cons_f324(d, f, e, x, m, g)) | |
yield 684, subst2 | |
# 429: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f252(m)) | |
yield 429, subst2 | |
# 1196: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1196, subst2 | |
# 176: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f150(m, n)) and (cons_f151(m, n, p)) | |
yield 176, subst2 | |
# 434: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) and (cons_f31(m)) and (cons_f168(m)) and (cons_f238(m, p)) and (cons_f254(m, p)) and (cons_f255(m, p)) | |
yield 434, subst2 | |
# 53: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f72(m, n)) and (cons_f66(m)) | |
yield 53, subst2 | |
# 438: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) | |
yield 438, subst2 | |
# 311: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 311, subst2 | |
# 314: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f207(m, n)) | |
yield 314, subst2 | |
# 702: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f326(d, p, f, e, b, c, m, g)) | |
yield 702, subst2 | |
# 448: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f240(m, p)) | |
yield 448, subst2 | |
# 708: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f168(m)) | |
yield 708, subst2 | |
# 328: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f214(m, n)) and (cons_f213(m, n)) | |
yield 328, subst2 | |
# 585: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f240(m, p)) | |
yield 585, subst2 | |
# 714: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f328(m)) | |
yield 714, subst2 | |
# 1352: (a + v*a)**m /; (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1352, subst2 | |
# 76: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f62(m)) and (cons_f83(c, m, n)) | |
yield 76, subst2 | |
# 460: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f262(m, p)) | |
yield 460, subst2 | |
# 845: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) | |
yield 845, subst2 | |
# 720: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f329(m, p)) and (cons_f253(m, p)) | |
yield 720, subst2 | |
# 1234: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f431(h, b, c, a, g)) | |
yield 1234, subst2 | |
# 212: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f168(m)) and (cons_f167(m, n, p)) and (cons_f169(m, n, p)) | |
yield 212, subst2 | |
# 724: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f256(d, e, b, c, a)) and (cons_f319(m, p)) | |
yield 724, subst2 | |
# 1238: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f431(h, b, c, a, g)) | |
yield 1238, subst2 | |
# 1364: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f84(m)) | |
yield 1364, subst2 | |
# 1243: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1243, subst2 | |
# 861: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f242(m, p)) and (cons_f352(d, e, b, c, m)) | |
yield 861, subst2 | |
# 480: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f256(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f252(m)) | |
yield 480, subst2 | |
# 1249: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1249, subst2 | |
# 486: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f31(m)) and (cons_f266(m)) and (cons_f238(m, p)) | |
yield 486, subst2 | |
# 1255: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1255, subst2 | |
# 1259: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1259, subst2 | |
# 638: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f84(m)) | |
yield 638, subst2 | |
# 1151: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1151, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp259.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp259)) | |
if len(subjects152) >= 1: | |
tmp262 = [] | |
tmp262.append(subjects152.popleft()) | |
while True: | |
if len(tmp262) > 1: | |
tmp263 = create_operation_expression(associative1, tmp262) | |
elif len(tmp262) == 1: | |
tmp263 = tmp262[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp263) | |
except ValueError: | |
pass | |
else: | |
# State 3049 | |
if len(subjects152) == 0: | |
# State 3050 | |
if len(subjects) == 0: | |
# 1024: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f378(m, n, p)) | |
yield 1024, subst2 | |
# 540: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f17(m)) and (cons_f166(m)) and (cons_f286(d, m)) | |
yield 540, subst2 | |
# 1053: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) | |
yield 1053, subst2 | |
# 542: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f31(m)) and (cons_f166(m)) | |
yield 542, subst2 | |
# 548: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f31(m)) and (cons_f94(m)) | |
yield 548, subst2 | |
# 552: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f18(m)) | |
yield 552, subst2 | |
# 562: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f288(b, d, a, e)) and (cons_f289(c, d, e, b)) and (cons_f290(m, p)) | |
yield 562, subst2 | |
# 571: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f295(m)) | |
yield 571, subst2 | |
# 575: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f296(m, p)) | |
yield 575, subst2 | |
# 589: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f242(m, p)) | |
yield 589, subst2 | |
# 595: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f298(m, p)) and (cons_f66(m)) and (cons_f299(m, p)) and (cons_f300(d, p, c, e, m, x, b, a)) | |
yield 595, subst2 | |
# 599: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f238(m, p)) and (cons_f302(m)) and (cons_f303(m, p)) and (cons_f300(d, p, c, e, m, x, b, a)) | |
yield 599, subst2 | |
# 603: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f168(m)) and (cons_f304(m, p)) and (cons_f300(d, p, c, e, m, x, b, a)) | |
yield 603, subst2 | |
# 93: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f93(m, n)) and (cons_f94(m)) and (cons_f95(m, n)) and (cons_f96(m, n)) and (cons_f97(d, c, m, x, b, a, n)) | |
yield 93, subst2 | |
# 607: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f166(m)) and (cons_f300(d, p, c, e, m, x, b, a)) | |
yield 607, subst2 | |
# 95: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f93(m, n)) and (cons_f94(m)) and (cons_f98(c, a, n, m)) and (cons_f97(d, c, m, x, b, a, n)) | |
yield 95, subst2 | |
# 97: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f93(m, n)) and (cons_f99(m, n)) and (cons_f100(m, n)) and (cons_f101(m, n)) and (cons_f97(d, c, m, x, b, a, n)) | |
yield 97, subst2 | |
# 611: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f300(d, p, c, e, m, x, b, a)) | |
yield 611, subst2 | |
# 615: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f305(m)) and (cons_f238(m, p)) and (cons_f300(d, p, c, e, m, x, b, a)) | |
yield 615, subst2 | |
# 107: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f31(m)) and (cons_f107(m)) and (cons_f108(m)) | |
yield 107, subst2 | |
# 619: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f306(d, p, c, e, m, x, b, a)) | |
yield 619, subst2 | |
# 113: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f93(m, n)) and (cons_f107(m)) and (cons_f111(m, n)) | |
yield 113, subst2 | |
# 115: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f93(m, n)) and (cons_f107(m)) and (cons_f112(m, n)) and (cons_f97(d, c, m, x, b, a, n)) | |
yield 115, subst2 | |
# 117: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f113(m, n)) and (cons_f66(m)) and (cons_f114(m, n)) | |
yield 117, subst2 | |
# 666: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f31(m)) and (cons_f94(m)) and (cons_f319(m, p)) | |
yield 666, subst2 | |
# 681: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f239(c, d, e, b)) and (cons_f319(m, p)) and (cons_f270(m, p)) and (cons_f31(m)) and (cons_f94(m)) | |
yield 681, subst2 | |
# 687: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) | |
yield 687, subst2 | |
# 1202: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f31(m)) and (cons_f94(m)) and (cons_f429(h, b, c, a, g)) | |
yield 1202, subst2 | |
# 1208: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f31(m)) and (cons_f94(m)) and (cons_f429(h, b, c, a, g)) | |
yield 1208, subst2 | |
# 190: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f155(m, n)) and (cons_f93(m, n)) and (cons_f107(m)) and (cons_f156(d, c, x, b, a)) | |
yield 190, subst2 | |
# 193: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) and (cons_f158(m, p)) | |
yield 193, subst2 | |
# 196: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) and (cons_f160(d, p, c, f, e, m, b, a, n)) and (cons_f66(m)) | |
yield 196, subst2 | |
# 199: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) and (cons_f161(m)) | |
yield 199, subst2 | |
# 202: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f94(m)) and (cons_f164(m, n, p)) | |
yield 202, subst2 | |
# 1226: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f244(m, p)) and (cons_f166(m)) | |
yield 1226, subst2 | |
# 205: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f162(m, n, p)) and (cons_f94(m)) and (cons_f164(m, n, p)) | |
yield 205, subst2 | |
# 1230: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f244(m, p)) and (cons_f166(m)) | |
yield 1230, subst2 | |
# 209: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f31(m)) and (cons_f166(m)) and (cons_f167(m, n, p)) and (cons_f17(m)) | |
yield 209, subst2 | |
# 215: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f31(m)) and (cons_f166(m)) and (cons_f167(m, n, p)) and (cons_f170(m, n, p)) | |
yield 215, subst2 | |
# 218: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f31(m)) and (cons_f94(m)) and (cons_f17(m)) | |
yield 218, subst2 | |
# 221: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f31(m)) and (cons_f94(m)) and (cons_f170(m, n, p)) | |
yield 221, subst2 | |
# 224: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f172(m, n)) and (cons_f173(m, n)) | |
yield 224, subst2 | |
# 267: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f191(d, c, f, e, b, a)) and (cons_f17(m)) and (cons_f94(m)) | |
yield 267, subst2 | |
# 279: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f194(m, n, p)) and (cons_f66(m)) and (cons_f195(m, n, p)) | |
yield 279, subst2 | |
# 282: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) | |
yield 282, subst2 | |
# 285: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) | |
yield 285, subst2 | |
# 318: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f72(m, n)) and (cons_f66(m)) and (cons_f210(m, n)) | |
yield 318, subst2 | |
# 322: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f93(m, n)) and (cons_f94(m)) | |
yield 322, subst2 | |
# 324: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f211(m, n)) | |
yield 324, subst2 | |
# 326: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f212(m)) and (cons_f66(m)) and (cons_f213(m, n)) | |
yield 326, subst2 | |
# 330: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f215(m, n, p)) | |
yield 330, subst2 | |
# 334: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f93(m, n)) and (cons_f94(m)) and (cons_f17(m)) | |
yield 334, subst2 | |
# 338: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f93(m, n)) and (cons_f94(m)) and (cons_f170(m, n, p)) | |
yield 338, subst2 | |
# 341: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f31(m)) and (cons_f94(m)) and (cons_f17(m)) | |
yield 341, subst2 | |
# 855: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f242(m, p)) and (cons_f350(d, c, f, e, b, a, g)) | |
yield 855, subst2 | |
# 345: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f31(m)) and (cons_f94(m)) and (cons_f170(m, n, p)) | |
yield 345, subst2 | |
# 348: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f31(m)) and (cons_f168(m)) and (cons_f144(m, n, p)) and (cons_f17(m)) | |
yield 348, subst2 | |
# 351: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f31(m)) and (cons_f168(m)) and (cons_f144(m, n, p)) and (cons_f170(m, n, p)) | |
yield 351, subst2 | |
# 865: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f242(m, p)) | |
yield 865, subst2 | |
# 354: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f194(m, n, p)) and (cons_f66(m)) and (cons_f195(m, n, p)) | |
yield 354, subst2 | |
# 369: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f219(m, n, p)) | |
yield 369, subst2 | |
# 890: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f358(m, p)) and (cons_f288(b, d, a, e)) and (cons_f289(c, d, e, b)) | |
yield 890, subst2 | |
# 893: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f247(m)) and (cons_f359(m, p)) and (cons_f360(m, p)) | |
yield 893, subst2 | |
# 897: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f361(m, p)) and (cons_f66(m)) and (cons_f299(m, p)) and (cons_f362(m, p)) | |
yield 897, subst2 | |
# 902: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f363(m, p)) and (cons_f303(m, p)) and (cons_f362(m, p)) | |
yield 902, subst2 | |
# 392: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) | |
yield 392, subst2 | |
# 906: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f166(m)) and (cons_f364(d, p, c, f, e, m, b, a, g)) | |
yield 906, subst2 | |
# 396: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f219(m, n, p)) | |
yield 396, subst2 | |
# 918: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f362(m, p)) | |
yield 918, subst2 | |
# 924: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f367(m)) and (cons_f168(m)) | |
yield 924, subst2 | |
# 416: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f239(c, d, e, b)) and (cons_f241(m)) | |
yield 416, subst2 | |
# 928: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f367(m)) and (cons_f94(m)) | |
yield 928, subst2 | |
# 419: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) and (cons_f242(m, p)) and (cons_f241(m)) | |
yield 419, subst2 | |
# 933: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f356(m)) | |
yield 933, subst2 | |
# 423: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f245(m)) | |
yield 423, subst2 | |
# 425: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f247(m)) and (cons_f248(m, p)) | |
yield 425, subst2 | |
# 427: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f239(c, d, e, b)) and (cons_f249(m, p)) and (cons_f238(m, p)) and (cons_f248(m, p)) and (cons_f250(m)) and (cons_f251(m, p)) | |
yield 427, subst2 | |
# 941: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f31(m)) and (cons_f94(m)) and (cons_f362(m, p)) | |
yield 941, subst2 | |
# 431: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f166(m)) | |
yield 431, subst2 | |
# 432: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f253(m, p)) | |
yield 432, subst2 | |
# 947: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f369(m, p)) and (cons_f66(m)) | |
yield 947, subst2 | |
# 436: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f239(c, d, e, b)) and (cons_f31(m)) and (cons_f94(m)) | |
yield 436, subst2 | |
# 444: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f41(m, p)) | |
yield 444, subst2 | |
# 966: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) | |
yield 966, subst2 | |
# 970: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f279(d, e, b, c, a)) and (cons_f375(m, n, p)) | |
yield 970, subst2 | |
# 464: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f263(m, p)) | |
yield 464, subst2 | |
# 980: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) and (cons_f367(m)) | |
yield 980, subst2 | |
# 472: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f256(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f264(m, p)) and (cons_f253(m, p)) | |
yield 472, subst2 | |
# 476: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f256(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f265(m, p)) and (cons_f238(m, p)) | |
yield 476, subst2 | |
# 484: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f256(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f166(m)) | |
yield 484, subst2 | |
# 997: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f279(d, e, b, c, a)) and (cons_f93(m, n)) | |
yield 997, subst2 | |
# 1000: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f93(m, n)) | |
yield 1000, subst2 | |
# 490: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) and (cons_f31(m)) and (cons_f267(m)) and (cons_f253(m, p)) | |
yield 490, subst2 | |
# 1003: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f279(d, e, b, c, a)) and (cons_f18(m)) and (cons_f93(m, n)) and (cons_f168(m)) | |
yield 1003, subst2 | |
# 1013: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f279(d, e, b, c, a)) and (cons_f73(m)) | |
yield 1013, subst2 | |
# 505: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f47(c, d, e, b)) and (cons_f269(m, p)) | |
yield 505, subst2 | |
# 1018: (a + v*a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f279(d, e, b, c, a)) and (cons_f18(m)) | |
yield 1018, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp262.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp262)) | |
if len(subjects152) >= 1 and subjects152[0] == -1/2: | |
tmp265 = subjects152.popleft() | |
# State 3079 | |
if len(subjects152) == 0: | |
# State 3080 | |
if len(subjects) == 0: | |
# 546: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 546, subst1 | |
# 387: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f216(d, c, f, e, h, x, b, a, g)) | |
yield 387, subst1 | |
# 101: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f104(b, d, a, c)) and (cons_f105(b)) | |
yield 101, subst1 | |
# 103: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f106(b, d)) | |
yield 103, subst1 | |
# 105: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) | |
yield 105, subst1 | |
# 365: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f188(f, e, x, b, a)) and (cons_f218(d, f, e, x, c)) | |
yield 365, subst1 | |
# 468: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f256(d, e, b, c, a)) | |
yield 468, subst1 | |
# 1047: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) | |
yield 1047, subst1 | |
# 187: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f154(d, c, f, e, b, a)) | |
yield 187, subst1 | |
# 926: 1/sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f279(d, e, b, c, a)) | |
yield 926, subst1 | |
subjects152.appendleft(tmp265) | |
if len(subjects152) >= 1 and subjects152[0] == -1/3: | |
tmp266 = subjects152.popleft() | |
# State 3097 | |
if len(subjects152) == 0: | |
# State 3098 | |
if len(subjects) == 0: | |
# 184: (a + v*a)**(-1/3) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f153(d, c, f, e, x, b, a)) | |
yield 184, subst1 | |
# 109: (a + v*a)**(-1/3) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f109(b, d)) | |
yield 109, subst1 | |
# 111: (a + v*a)**(-1/3) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f110(b, d)) | |
yield 111, subst1 | |
subjects152.appendleft(tmp266) | |
if len(subjects152) >= 1 and subjects152[0] == 2: | |
tmp267 = subjects152.popleft() | |
# State 3232 | |
if len(subjects152) == 0: | |
# State 3233 | |
if len(subjects) == 0: | |
# 179: (a + v*a)**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 179, subst1 | |
# 452: (a + v*a)**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f256(d, e, b, c, a)) | |
yield 452, subst1 | |
# 159: (a + v*a)**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f141(d, p, c, f, e, b, a, n)) | |
yield 159, subst1 | |
subjects152.appendleft(tmp267) | |
if len(subjects152) >= 1 and subjects152[0] == -3/2: | |
tmp268 = subjects152.popleft() | |
# State 3674 | |
if len(subjects152) == 0: | |
# State 3675 | |
if len(subjects) == 0: | |
# 388: (a + v*a)**(-3/2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f216(d, c, f, e, h, x, b, a, g)) | |
yield 388, subst1 | |
subjects152.appendleft(tmp268) | |
if len(subjects152) >= 1 and subjects152[0] == 1/2: | |
tmp269 = subjects152.popleft() | |
# State 3689 | |
if len(subjects152) == 0: | |
# State 3690 | |
if len(subjects) == 0: | |
# 536: sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 536, subst1 | |
# 390: sqrt(a + v*a) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f216(d, c, f, e, h, x, b, a, g)) | |
yield 390, subst1 | |
subjects152.appendleft(tmp269) | |
if len(subjects152) >= 1 and subjects152[0] == 3/2: | |
tmp270 = subjects152.popleft() | |
# State 3704 | |
if len(subjects152) == 0: | |
# State 3705 | |
if len(subjects) == 0: | |
# 391: (a + v*a)**(3/2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f216(d, c, f, e, h, x, b, a, g)) | |
yield 391, subst1 | |
subjects152.appendleft(tmp270) | |
if len(subjects152) >= 1 and subjects152[0] == -2: | |
tmp271 = subjects152.popleft() | |
# State 3940 | |
if len(subjects152) == 0: | |
# State 3941 | |
if len(subjects) == 0: | |
# 414: (a + v*a)**(-2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f239(c, d, e, b)) | |
yield 414, subst1 | |
subjects152.appendleft(tmp271) | |
if pattern_index == 16: | |
# State 2907 | |
if len(subjects152) >= 1 and subjects152[0] == -1: | |
tmp272 = subjects152.popleft() | |
# State 2908 | |
if len(subjects152) == 0: | |
# State 2909 | |
if len(subjects) == 0: | |
# 166: 1/(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) | |
yield 166, subst1 | |
# 358: 1/(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f216(d, c, f, e, h, x, b, a, g)) | |
yield 358, subst1 | |
# 172: 1/(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) | |
yield 172, subst1 | |
# 52: 1/(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) | |
yield 52, subst1 | |
# 374: 1/(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) | |
yield 374, subst1 | |
# 794: 1/(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) | |
yield 794, subst1 | |
subjects152.appendleft(tmp272) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 2989 | |
if len(subjects152) == 0: | |
# State 2990 | |
if len(subjects) == 0: | |
# 771: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) and (cons_f88(n)) | |
yield 771, subst2 | |
# 134: (c + v*b)**n /; (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f123(x, u)) | |
yield 134, subst2 | |
# 776: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) | |
yield 776, subst2 | |
# 139: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f127(d, p, c, f, e, b, a, n)) | |
yield 139, subst2 | |
# 782: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f87(n)) and (cons_f88(n)) and (cons_f335(m, n)) and (cons_f342(n, p)) | |
yield 782, subst2 | |
# 401: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 401, subst2 | |
# 148: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f134(d, p, c, f, e, b, a, n)) | |
yield 148, subst2 | |
# 277: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f193(m, n)) | |
yield 277, subst2 | |
# 151: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f135(n, p)) and (cons_f54(p)) and (cons_f136(n, p)) | |
yield 151, subst2 | |
# 280: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f194(m, n, p)) and (cons_f195(m, n, p)) | |
yield 280, subst2 | |
# 154: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f126(n, p)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f138(c, e, n, p)) | |
yield 154, subst2 | |
# 283: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) and (cons_f196(n)) | |
yield 283, subst2 | |
# 157: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f12(p)) and (cons_f139(p)) | |
yield 157, subst2 | |
# 158: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) | |
yield 158, subst2 | |
# 800: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f344(d, p, c, f, e, n, b, g)) and (cons_f126(n, p)) | |
yield 800, subst2 | |
# 1060: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f380(d, p, c, f, e, m, x, n, b, a, g)) | |
yield 1060, subst2 | |
# 1065: (c + v*b)**n /; (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1065, subst2 | |
# 810: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f346(n)) | |
yield 810, subst2 | |
# 816: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f207(m, n)) | |
yield 816, subst2 | |
# 177: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f150(m, n)) and (cons_f151(m, n, p)) | |
yield 177, subst2 | |
# 691: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) | |
yield 691, subst2 | |
# 312: (c + v*b)**n /; (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 312, subst2 | |
# 697: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 697, subst2 | |
# 315: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f207(m, n)) | |
yield 315, subst2 | |
# 319: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f72(m, n)) and (cons_f210(m, n)) | |
yield 319, subst2 | |
# 194: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) and (cons_f87(n)) and (cons_f88(n)) | |
yield 194, subst2 | |
# 197: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) and (cons_f160(d, p, c, f, e, m, b, a, n)) | |
yield 197, subst2 | |
# 325: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f211(m, n)) | |
yield 325, subst2 | |
# 327: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f213(m, n)) | |
yield 327, subst2 | |
# 200: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) | |
yield 200, subst2 | |
# 329: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f214(m, n)) and (cons_f213(m, n)) | |
yield 329, subst2 | |
# 203: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f88(n)) and (cons_f164(m, n, p)) | |
yield 203, subst2 | |
# 77: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f83(c, m, n)) | |
yield 77, subst2 | |
# 206: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f162(m, n, p)) and (cons_f165(n)) and (cons_f164(m, n, p)) | |
yield 206, subst2 | |
# 79: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f85(n)) and (cons_f86(m, n)) | |
yield 79, subst2 | |
# 208: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f162(m, n, p)) and (cons_f88(n)) and (cons_f164(m, n, p)) | |
yield 208, subst2 | |
# 210: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) | |
yield 210, subst2 | |
# 213: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f88(n)) and (cons_f167(m, n, p)) and (cons_f169(m, n, p)) | |
yield 213, subst2 | |
# 1365: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1365, subst2 | |
# 216: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) and (cons_f170(m, n, p)) | |
yield 216, subst2 | |
# 219: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f171(n, p)) | |
yield 219, subst2 | |
# 222: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f170(m, n, p)) | |
yield 222, subst2 | |
# 735: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f150(m, n)) | |
yield 735, subst2 | |
# 749: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f334(d, f, e, b, c, g)) and (cons_f335(m, n)) | |
yield 749, subst2 | |
# 766: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) and (cons_f335(m, n)) and (cons_f340(n)) and (cons_f341(n, p)) | |
yield 766, subst2 | |
if len(subjects152) >= 1: | |
tmp274 = [] | |
tmp274.append(subjects152.popleft()) | |
while True: | |
if len(tmp274) > 1: | |
tmp275 = create_operation_expression(associative1, tmp274) | |
elif len(tmp274) == 1: | |
tmp275 = tmp274[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp275) | |
except ValueError: | |
pass | |
else: | |
# State 2989 | |
if len(subjects152) == 0: | |
# State 2990 | |
if len(subjects) == 0: | |
# 771: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) and (cons_f88(n)) | |
yield 771, subst2 | |
# 134: (c + v*b)**n /; (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f123(x, u)) | |
yield 134, subst2 | |
# 776: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) | |
yield 776, subst2 | |
# 139: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f127(d, p, c, f, e, b, a, n)) | |
yield 139, subst2 | |
# 782: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f87(n)) and (cons_f88(n)) and (cons_f335(m, n)) and (cons_f342(n, p)) | |
yield 782, subst2 | |
# 401: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 401, subst2 | |
# 148: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f134(d, p, c, f, e, b, a, n)) | |
yield 148, subst2 | |
# 277: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f193(m, n)) | |
yield 277, subst2 | |
# 151: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f135(n, p)) and (cons_f54(p)) and (cons_f136(n, p)) | |
yield 151, subst2 | |
# 280: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f194(m, n, p)) and (cons_f195(m, n, p)) | |
yield 280, subst2 | |
# 154: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f126(n, p)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f138(c, e, n, p)) | |
yield 154, subst2 | |
# 283: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) and (cons_f196(n)) | |
yield 283, subst2 | |
# 157: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f12(p)) and (cons_f139(p)) | |
yield 157, subst2 | |
# 158: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) | |
yield 158, subst2 | |
# 800: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f344(d, p, c, f, e, n, b, g)) and (cons_f126(n, p)) | |
yield 800, subst2 | |
# 1060: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f380(d, p, c, f, e, m, x, n, b, a, g)) | |
yield 1060, subst2 | |
# 1065: (c + v*b)**n /; (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1065, subst2 | |
# 810: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f346(n)) | |
yield 810, subst2 | |
# 816: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f207(m, n)) | |
yield 816, subst2 | |
# 177: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f150(m, n)) and (cons_f151(m, n, p)) | |
yield 177, subst2 | |
# 691: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) | |
yield 691, subst2 | |
# 312: (c + v*b)**n /; (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 312, subst2 | |
# 697: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 697, subst2 | |
# 315: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f207(m, n)) | |
yield 315, subst2 | |
# 319: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f72(m, n)) and (cons_f210(m, n)) | |
yield 319, subst2 | |
# 194: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) and (cons_f87(n)) and (cons_f88(n)) | |
yield 194, subst2 | |
# 197: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) and (cons_f160(d, p, c, f, e, m, b, a, n)) | |
yield 197, subst2 | |
# 325: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f211(m, n)) | |
yield 325, subst2 | |
# 327: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f213(m, n)) | |
yield 327, subst2 | |
# 200: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) | |
yield 200, subst2 | |
# 329: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f214(m, n)) and (cons_f213(m, n)) | |
yield 329, subst2 | |
# 203: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f88(n)) and (cons_f164(m, n, p)) | |
yield 203, subst2 | |
# 77: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f83(c, m, n)) | |
yield 77, subst2 | |
# 206: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f162(m, n, p)) and (cons_f165(n)) and (cons_f164(m, n, p)) | |
yield 206, subst2 | |
# 79: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f85(n)) and (cons_f86(m, n)) | |
yield 79, subst2 | |
# 208: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f162(m, n, p)) and (cons_f88(n)) and (cons_f164(m, n, p)) | |
yield 208, subst2 | |
# 210: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) | |
yield 210, subst2 | |
# 213: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f88(n)) and (cons_f167(m, n, p)) and (cons_f169(m, n, p)) | |
yield 213, subst2 | |
# 1365: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1365, subst2 | |
# 216: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) and (cons_f170(m, n, p)) | |
yield 216, subst2 | |
# 219: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f171(n, p)) | |
yield 219, subst2 | |
# 222: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f170(m, n, p)) | |
yield 222, subst2 | |
# 735: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f150(m, n)) | |
yield 735, subst2 | |
# 749: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f334(d, f, e, b, c, g)) and (cons_f335(m, n)) | |
yield 749, subst2 | |
# 766: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) and (cons_f335(m, n)) and (cons_f340(n)) and (cons_f341(n, p)) | |
yield 766, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp274.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp274)) | |
if len(subjects152) >= 1: | |
tmp277 = [] | |
tmp277.append(subjects152.popleft()) | |
while True: | |
if len(tmp277) > 1: | |
tmp278 = create_operation_expression(associative1, tmp277) | |
elif len(tmp277) == 1: | |
tmp278 = tmp277[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp278) | |
except ValueError: | |
pass | |
else: | |
# State 3001 | |
if len(subjects152) == 0: | |
# State 3002 | |
if len(subjects) == 0: | |
# 1033: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f23(n)) and (cons_f338(n, p)) and (cons_f89(n)) | |
yield 1033, subst2 | |
# 362: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f217(d, p, c, f, e, h, x, n, b, a, g)) | |
yield 362, subst2 | |
# 1037: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f23(n)) and (cons_f338(n, p)) and (cons_f88(n)) | |
yield 1037, subst2 | |
# 80: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f87(n)) and (cons_f88(n)) | |
yield 80, subst2 | |
# 81: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f87(n)) and (cons_f89(n)) | |
yield 81, subst2 | |
# 1045: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f80(n)) | |
yield 1045, subst2 | |
# 88: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f87(n)) and (cons_f92(n)) | |
yield 88, subst2 | |
# 92: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f23(n)) | |
yield 92, subst2 | |
# 382: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f80(n)) | |
yield 382, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp277.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp277)) | |
if len(subjects152) >= 1: | |
tmp280 = [] | |
tmp280.append(subjects152.popleft()) | |
while True: | |
if len(tmp280) > 1: | |
tmp281 = create_operation_expression(associative1, tmp280) | |
elif len(tmp280) == 1: | |
tmp281 = tmp280[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp281) | |
except ValueError: | |
pass | |
else: | |
# State 3055 | |
if len(subjects152) == 0: | |
# State 3056 | |
if len(subjects) == 0: | |
# 1025: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f378(m, n, p)) | |
yield 1025, subst2 | |
# 393: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) | |
yield 393, subst2 | |
# 397: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f219(m, n, p)) | |
yield 397, subst2 | |
# 788: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f87(n)) and (cons_f89(n)) | |
yield 788, subst2 | |
# 1054: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f148(n)) | |
yield 1054, subst2 | |
# 286: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) and (cons_f23(n)) | |
yield 286, subst2 | |
# 297: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f23(n)) and (cons_f120(b, d, a, c)) and (cons_f200(d, x, b, c, a)) | |
yield 297, subst2 | |
# 300: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f23(n)) and (cons_f201(b, d, a, c)) and (cons_f202(d, x, b, c, a)) | |
yield 300, subst2 | |
# 303: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f23(n)) and (cons_f120(b, d, a, c)) and (cons_f203(d, f, e, x, b, c, a)) and (cons_f204(d, c, f, e, x, b, a)) | |
yield 303, subst2 | |
# 688: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) | |
yield 688, subst2 | |
# 306: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f23(n)) and (cons_f120(b, d, a, c)) | |
yield 306, subst2 | |
# 309: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f23(n)) and (cons_f201(b, d, a, c)) and (cons_f202(d, x, b, c, a)) and (cons_f206(f, e, x, b, a)) | |
yield 309, subst2 | |
# 191: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f155(m, n)) and (cons_f93(m, n)) and (cons_f156(d, c, x, b, a)) | |
yield 191, subst2 | |
# 323: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f93(m, n)) and (cons_f89(n)) | |
yield 323, subst2 | |
# 331: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f215(m, n, p)) | |
yield 331, subst2 | |
# 971: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f375(m, n, p)) | |
yield 971, subst2 | |
# 335: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f93(m, n)) and (cons_f88(n)) | |
yield 335, subst2 | |
# 339: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f93(m, n)) and (cons_f88(n)) and (cons_f170(m, n, p)) | |
yield 339, subst2 | |
# 981: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f376(n, p)) | |
yield 981, subst2 | |
# 342: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 342, subst2 | |
# 346: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f170(m, n, p)) | |
yield 346, subst2 | |
# 349: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f144(m, n, p)) | |
yield 349, subst2 | |
# 94: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f93(m, n)) and (cons_f88(n)) and (cons_f95(m, n)) and (cons_f96(m, n)) and (cons_f97(d, c, m, x, b, a, n)) | |
yield 94, subst2 | |
# 96: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f93(m, n)) and (cons_f98(c, a, n, m)) and (cons_f97(d, c, m, x, b, a, n)) | |
yield 96, subst2 | |
# 225: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f172(m, n)) and (cons_f173(m, n)) | |
yield 225, subst2 | |
# 98: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f93(m, n)) and (cons_f88(n)) and (cons_f99(m, n)) and (cons_f100(m, n)) and (cons_f101(m, n)) and (cons_f97(d, c, m, x, b, a, n)) | |
yield 98, subst2 | |
# 352: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f144(m, n, p)) and (cons_f170(m, n, p)) | |
yield 352, subst2 | |
# 355: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f194(m, n, p)) and (cons_f195(m, n, p)) | |
yield 355, subst2 | |
# 998: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f93(m, n)) | |
yield 998, subst2 | |
# 1001: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f93(m, n)) | |
yield 1001, subst2 | |
# 1004: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f23(n)) and (cons_f93(m, n)) and (cons_f165(n)) | |
yield 1004, subst2 | |
# 1009: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f23(n)) and (cons_f93(m, n)) and (cons_f88(n)) | |
yield 1009, subst2 | |
# 114: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f93(m, n)) and (cons_f111(m, n)) | |
yield 114, subst2 | |
# 370: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f219(m, n, p)) | |
yield 370, subst2 | |
# 116: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f93(m, n)) and (cons_f92(n)) and (cons_f112(m, n)) and (cons_f97(d, c, m, x, b, a, n)) | |
yield 116, subst2 | |
# 755: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f337(m, n)) | |
yield 755, subst2 | |
# 118: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f71(b, d, a, c)) and (cons_f113(m, n)) and (cons_f114(m, n)) | |
yield 118, subst2 | |
# 1011: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f23(n)) and (cons_f93(m, n)) and (cons_f89(n)) | |
yield 1011, subst2 | |
# 760: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f338(n, p)) and (cons_f89(n)) and (cons_f339(n, p)) | |
yield 760, subst2 | |
# 1019: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f23(n)) | |
yield 1019, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp280.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp280)) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 3245 | |
if len(subjects152) == 0: | |
# State 3246 | |
if len(subjects) == 0: | |
# 160: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f140(n, p)) and (cons_f141(d, p, c, f, e, b, a, n)) | |
yield 160, subst2 | |
# 741: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f148(n)) and (cons_f333(n, p)) | |
yield 741, subst2 | |
# 746: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f196(n)) and (cons_f333(n, p)) | |
yield 746, subst2 | |
# 174: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f148(n)) | |
yield 174, subst2 | |
# 180: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f152(n, p)) | |
yield 180, subst2 | |
# 182: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f140(n, p)) | |
yield 182, subst2 | |
if len(subjects152) >= 1: | |
tmp284 = [] | |
tmp284.append(subjects152.popleft()) | |
while True: | |
if len(tmp284) > 1: | |
tmp285 = create_operation_expression(associative1, tmp284) | |
elif len(tmp284) == 1: | |
tmp285 = tmp284[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp285) | |
except ValueError: | |
pass | |
else: | |
# State 3245 | |
if len(subjects152) == 0: | |
# State 3246 | |
if len(subjects) == 0: | |
# 160: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f140(n, p)) and (cons_f141(d, p, c, f, e, b, a, n)) | |
yield 160, subst2 | |
# 741: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f148(n)) and (cons_f333(n, p)) | |
yield 741, subst2 | |
# 746: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f196(n)) and (cons_f333(n, p)) | |
yield 746, subst2 | |
# 174: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f148(n)) | |
yield 174, subst2 | |
# 180: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f152(n, p)) | |
yield 180, subst2 | |
# 182: (c + v*b)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f140(n, p)) | |
yield 182, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp284.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp284)) | |
if len(subjects152) >= 1 and subjects152[0] == -1/3: | |
tmp287 = subjects152.popleft() | |
# State 3013 | |
if len(subjects152) == 0: | |
# State 3014 | |
if len(subjects) == 0: | |
# 265: (c + v*b)**(-1/3) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f191(d, c, f, e, b, a)) | |
yield 265, subst1 | |
# 83: (c + v*b)**(-1/3) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f90(b, d, a, c)) | |
yield 83, subst1 | |
# 85: (c + v*b)**(-1/3) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f91(b, d, a, c)) | |
yield 85, subst1 | |
subjects152.appendleft(tmp287) | |
if len(subjects152) >= 1 and subjects152[0] == -2/3: | |
tmp288 = subjects152.popleft() | |
# State 3025 | |
if len(subjects152) == 0: | |
# State 3026 | |
if len(subjects) == 0: | |
# 110: (c + v*b)**(-2/3) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f109(b, d)) | |
yield 110, subst1 | |
# 112: (c + v*b)**(-2/3) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) and (cons_f110(b, d)) | |
yield 112, subst1 | |
# 86: (c + v*b)**(-2/3) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f90(b, d, a, c)) | |
yield 86, subst1 | |
# 87: (c + v*b)**(-2/3) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f91(b, d, a, c)) | |
yield 87, subst1 | |
# 185: (c + v*b)**(-2/3) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f153(d, c, f, e, x, b, a)) | |
yield 185, subst1 | |
subjects152.appendleft(tmp288) | |
if len(subjects152) >= 1 and subjects152[0] == -1/2: | |
tmp289 = subjects152.popleft() | |
# State 3070 | |
if len(subjects152) == 0: | |
# State 3071 | |
if len(subjects) == 0: | |
# 227: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f174(c, f, e, d)) | |
yield 227, subst1 | |
# 100: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f102(b, d)) and (cons_f103(c, a)) | |
yield 100, subst1 | |
# 229: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f175(c, f, e, d)) | |
yield 229, subst1 | |
# 102: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f104(b, d, a, c)) | |
yield 102, subst1 | |
# 106: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f71(b, d, a, c)) | |
yield 106, subst1 | |
# 1041: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) | |
yield 1041, subst1 | |
# 1014: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) | |
yield 1014, subst1 | |
# 378: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f216(d, c, f, e, h, x, b, a, g)) | |
yield 378, subst1 | |
# 188: 1/sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f154(d, c, f, e, b, a)) | |
yield 188, subst1 | |
subjects152.appendleft(tmp289) | |
if len(subjects152) >= 1 and subjects152[0] == 1/2: | |
tmp290 = subjects152.popleft() | |
# State 3680 | |
if len(subjects152) == 0: | |
# State 3681 | |
if len(subjects) == 0: | |
# 389: sqrt(c + v*b) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f216(d, c, f, e, h, x, b, a, g)) | |
yield 389, subst1 | |
subjects152.appendleft(tmp290) | |
if len(subjects152) >= 1 and subjects152[0] == 2: | |
tmp291 = subjects152.popleft() | |
# State 4753 | |
if len(subjects152) == 0: | |
# State 4754 | |
if len(subjects) == 0: | |
# 831: (c + v*b)**2 /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) | |
yield 831, subst1 | |
subjects152.appendleft(tmp291) | |
if pattern_index == 17: | |
# State 3116 | |
if len(subjects152) >= 1: | |
tmp292 = [] | |
tmp292.append(subjects152.popleft()) | |
while True: | |
if len(tmp292) > 1: | |
tmp293 = create_operation_expression(associative1, tmp292) | |
elif len(tmp292) == 1: | |
tmp293 = tmp292[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp293) | |
except ValueError: | |
pass | |
else: | |
# State 3117 | |
if len(subjects152) == 0: | |
# State 3118 | |
if len(subjects) == 0: | |
# 289: (x*d + c)**n /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f23(n)) and (cons_f177(c)) | |
yield 289, subst2 | |
# 292: (x*d + c)**n /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f23(n)) and (cons_f198(b, d, c)) and (cons_f199(d, p, f, e, c)) | |
yield 292, subst2 | |
# 294: (x*d + c)**n /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f23(n)) and (cons_f117(c)) | |
yield 294, subst2 | |
# 120: (x*d + c)**n /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f115(c, d, n, b)) | |
yield 120, subst2 | |
# 122: (x*d + c)**n /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f23(n)) and (cons_f116(b, d, m, c)) | |
yield 122, subst2 | |
# 124: (x*d + c)**n /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f23(n)) and (cons_f117(c)) and (cons_f118(b, d, c)) and (cons_f119(c, d, m, n)) | |
yield 124, subst2 | |
# 126: (x*d + c)**n /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f23(n)) and (cons_f117(c)) and (cons_f118(b, d, c)) | |
yield 126, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp292.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp292)) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 3202 | |
if len(subjects152) == 0: | |
# State 3203 | |
if len(subjects) == 0: | |
# 145: (x*d + c)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f128(p)) and (cons_f131(n, p)) and (cons_f132(b, a, e, f)) and (cons_f133(d, p, f, e, b, a, n)) | |
yield 145, subst2 | |
# 142: (x*d + c)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f128(p)) and (cons_f129(b, a, e, f)) and (cons_f130(n, p)) | |
yield 142, subst2 | |
if len(subjects152) >= 1: | |
tmp296 = [] | |
tmp296.append(subjects152.popleft()) | |
while True: | |
if len(tmp296) > 1: | |
tmp297 = create_operation_expression(associative1, tmp296) | |
elif len(tmp296) == 1: | |
tmp297 = tmp296[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp297) | |
except ValueError: | |
pass | |
else: | |
# State 3202 | |
if len(subjects152) == 0: | |
# State 3203 | |
if len(subjects) == 0: | |
# 145: (x*d + c)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f128(p)) and (cons_f131(n, p)) and (cons_f132(b, a, e, f)) and (cons_f133(d, p, f, e, b, a, n)) | |
yield 145, subst2 | |
# 142: (x*d + c)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f128(p)) and (cons_f129(b, a, e, f)) and (cons_f130(n, p)) | |
yield 142, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp296.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp296)) | |
if len(subjects152) >= 1 and subjects152[0] == -1/2: | |
tmp299 = subjects152.popleft() | |
# State 3442 | |
if len(subjects152) == 0: | |
# State 3443 | |
if len(subjects) == 0: | |
# 234: 1/sqrt(x*d + c) /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f176(c, d, e, f)) and (cons_f177(c)) and (cons_f179(b, d)) | |
yield 234, subst1 | |
# 237: 1/sqrt(x*d + c) /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f176(c, d, e, f)) and (cons_f177(c)) and (cons_f180(b, d)) | |
yield 237, subst1 | |
# 239: 1/sqrt(x*d + c) /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f176(c, d, e, f)) and (cons_f181(c, e)) | |
yield 239, subst1 | |
# 248: 1/sqrt(x*d + c) /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f177(c)) and (cons_f186(b, d, f)) | |
yield 248, subst1 | |
# 251: 1/sqrt(x*d + c) /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f177(c)) and (cons_f187(b, d, f)) | |
yield 251, subst1 | |
# 253: 1/sqrt(x*d + c) /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f181(c, e)) | |
yield 253, subst1 | |
subjects152.appendleft(tmp299) | |
if pattern_index == 18: | |
# State 3171 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 3172 | |
if len(subjects152) == 0: | |
# State 3173 | |
if len(subjects) == 0: | |
# 195: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) and (cons_f158(m, p)) | |
yield 195, subst2 | |
# 217: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) and (cons_f170(m, n, p)) | |
yield 217, subst2 | |
# 198: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) and (cons_f160(d, p, c, f, e, m, b, a, n)) | |
yield 198, subst2 | |
# 137: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 137, subst2 | |
# 201: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) | |
yield 201, subst2 | |
# 204: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f163(p)) and (cons_f164(m, n, p)) | |
yield 204, subst2 | |
# 207: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f162(m, n, p)) and (cons_f164(m, n, p)) | |
yield 207, subst2 | |
# 178: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f151(m, n, p)) | |
yield 178, subst2 | |
# 211: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) | |
yield 211, subst2 | |
# 402: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 402, subst2 | |
# 404: (e + x*f)**p /; (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 404, subst2 | |
# 214: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f167(m, n, p)) and (cons_f169(m, n, p)) | |
yield 214, subst2 | |
# 278: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 278, subst2 | |
# 1362: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1362, subst2 | |
# 281: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f194(m, n, p)) and (cons_f195(m, n, p)) | |
yield 281, subst2 | |
# 220: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f171(n, p)) | |
yield 220, subst2 | |
# 223: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f170(m, n, p)) | |
yield 223, subst2 | |
if len(subjects152) >= 1: | |
tmp301 = [] | |
tmp301.append(subjects152.popleft()) | |
while True: | |
if len(tmp301) > 1: | |
tmp302 = create_operation_expression(associative1, tmp301) | |
elif len(tmp301) == 1: | |
tmp302 = tmp301[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_2', tmp302) | |
except ValueError: | |
pass | |
else: | |
# State 3172 | |
if len(subjects152) == 0: | |
# State 3173 | |
if len(subjects) == 0: | |
# 195: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) and (cons_f158(m, p)) | |
yield 195, subst2 | |
# 217: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) and (cons_f170(m, n, p)) | |
yield 217, subst2 | |
# 198: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) and (cons_f160(d, p, c, f, e, m, b, a, n)) | |
yield 198, subst2 | |
# 137: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 137, subst2 | |
# 201: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f159(m, n, p)) | |
yield 201, subst2 | |
# 204: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f163(p)) and (cons_f164(m, n, p)) | |
yield 204, subst2 | |
# 207: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f162(m, n, p)) and (cons_f164(m, n, p)) | |
yield 207, subst2 | |
# 178: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f151(m, n, p)) | |
yield 178, subst2 | |
# 211: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f167(m, n, p)) | |
yield 211, subst2 | |
# 402: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 402, subst2 | |
# 404: (e + x*f)**p /; (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 404, subst2 | |
# 214: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f162(m, n, p)) and (cons_f167(m, n, p)) and (cons_f169(m, n, p)) | |
yield 214, subst2 | |
# 278: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 278, subst2 | |
# 1362: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f224(i, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1362, subst2 | |
# 281: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f194(m, n, p)) and (cons_f195(m, n, p)) | |
yield 281, subst2 | |
# 220: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f171(n, p)) | |
yield 220, subst2 | |
# 223: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f170(m, n, p)) | |
yield 223, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp301.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp301)) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 3261 | |
if len(subjects152) == 0: | |
# State 3262 | |
if len(subjects) == 0: | |
# 161: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f140(n, p)) and (cons_f141(d, p, c, f, e, b, a, n)) | |
yield 161, subst2 | |
# 181: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f152(n, p)) | |
yield 181, subst2 | |
# 183: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f140(n, p)) | |
yield 183, subst2 | |
if len(subjects152) >= 1: | |
tmp305 = [] | |
tmp305.append(subjects152.popleft()) | |
while True: | |
if len(tmp305) > 1: | |
tmp306 = create_operation_expression(associative1, tmp305) | |
elif len(tmp305) == 1: | |
tmp306 = tmp305[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp306) | |
except ValueError: | |
pass | |
else: | |
# State 3261 | |
if len(subjects152) == 0: | |
# State 3262 | |
if len(subjects) == 0: | |
# 161: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f126(n, p)) and (cons_f140(n, p)) and (cons_f141(d, p, c, f, e, b, a, n)) | |
yield 161, subst2 | |
# 181: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f152(n, p)) | |
yield 181, subst2 | |
# 183: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f140(n, p)) | |
yield 183, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp305.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp305)) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 3322 | |
if len(subjects152) == 0: | |
# State 3323 | |
if len(subjects) == 0: | |
# 168: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f13(p)) and (cons_f145(p)) | |
yield 168, subst2 | |
# 167: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f38(p)) | |
yield 167, subst2 | |
if len(subjects152) >= 1: | |
tmp309 = [] | |
tmp309.append(subjects152.popleft()) | |
while True: | |
if len(tmp309) > 1: | |
tmp310 = create_operation_expression(associative1, tmp309) | |
elif len(tmp309) == 1: | |
tmp310 = tmp309[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp310) | |
except ValueError: | |
pass | |
else: | |
# State 3322 | |
if len(subjects152) == 0: | |
# State 3323 | |
if len(subjects) == 0: | |
# 168: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f13(p)) and (cons_f145(p)) | |
yield 168, subst2 | |
# 167: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f38(p)) | |
yield 167, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp309.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp309)) | |
if len(subjects152) >= 1: | |
tmp312 = [] | |
tmp312.append(subjects152.popleft()) | |
while True: | |
if len(tmp312) > 1: | |
tmp313 = create_operation_expression(associative1, tmp312) | |
elif len(tmp312) == 1: | |
tmp313 = tmp312[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp313) | |
except ValueError: | |
pass | |
else: | |
# State 3334 | |
if len(subjects152) == 0: | |
# State 3335 | |
if len(subjects) == 0: | |
# 359: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f216(d, c, f, e, h, x, b, a, g)) | |
yield 359, subst2 | |
# 169: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f13(p)) and (cons_f146(p)) | |
yield 169, subst2 | |
# 170: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f13(p)) and (cons_f137(p)) | |
yield 170, subst2 | |
# 173: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f147(p)) | |
yield 173, subst2 | |
# 375: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f145(p)) | |
yield 375, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp312.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp312)) | |
if len(subjects152) >= 1: | |
tmp315 = [] | |
tmp315.append(subjects152.popleft()) | |
while True: | |
if len(tmp315) > 1: | |
tmp316 = create_operation_expression(associative1, tmp315) | |
elif len(tmp315) == 1: | |
tmp316 = tmp315[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp316) | |
except ValueError: | |
pass | |
else: | |
# State 3349 | |
if len(subjects152) == 0: | |
# State 3350 | |
if len(subjects) == 0: | |
# 363: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f217(d, p, c, f, e, h, x, n, b, a, g)) | |
yield 363, subst2 | |
# 175: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f149(p)) and (cons_f137(p)) | |
yield 175, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp315.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp315)) | |
if len(subjects152) >= 1: | |
tmp318 = [] | |
tmp318.append(subjects152.popleft()) | |
while True: | |
if len(tmp318) > 1: | |
tmp319 = create_operation_expression(associative1, tmp318) | |
elif len(tmp318) == 1: | |
tmp319 = tmp318[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_2', tmp319) | |
except ValueError: | |
pass | |
else: | |
# State 3522 | |
if len(subjects152) == 0: | |
# State 3523 | |
if len(subjects) == 0: | |
# 353: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f144(m, n, p)) and (cons_f170(m, n, p)) | |
yield 353, subst2 | |
# 356: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f194(m, n, p)) and (cons_f195(m, n, p)) | |
yield 356, subst2 | |
# 298: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f38(p)) and (cons_f200(d, x, b, c, a)) | |
yield 298, subst2 | |
# 394: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f220(q, p)) | |
yield 394, subst2 | |
# 332: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f215(m, n, p)) | |
yield 332, subst2 | |
# 301: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f38(p)) and (cons_f202(d, x, b, c, a)) | |
yield 301, subst2 | |
# 398: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f219(m, n, p)) | |
yield 398, subst2 | |
# 304: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f147(p)) and (cons_f182(b, a, e, f)) and (cons_f203(d, f, e, x, b, c, a)) and (cons_f204(d, c, f, e, x, b, a)) | |
yield 304, subst2 | |
# 336: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) | |
yield 336, subst2 | |
# 307: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f147(p)) and (cons_f205(b, a, e, f)) | |
yield 307, subst2 | |
# 340: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f170(m, n, p)) | |
yield 340, subst2 | |
# 371: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f219(m, n, p)) | |
yield 371, subst2 | |
# 310: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f147(p)) and (cons_f202(d, x, b, c, a)) and (cons_f206(f, e, x, b, a)) | |
yield 310, subst2 | |
# 343: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 343, subst2 | |
# 347: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f170(m, n, p)) | |
yield 347, subst2 | |
# 284: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) | |
yield 284, subst2 | |
# 350: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f144(m, n, p)) | |
yield 350, subst2 | |
# 287: (e + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f157(m, n, p)) | |
yield 287, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp318.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp318)) | |
if len(subjects152) >= 1 and subjects152[0] == -1: | |
tmp321 = subjects152.popleft() | |
# State 3367 | |
if len(subjects152) == 0: | |
# State 3368 | |
if len(subjects) == 0: | |
# 192: 1/(e + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f156(d, c, x, b, a)) | |
yield 192, subst1 | |
# 186: 1/(e + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f153(d, c, f, e, x, b, a)) | |
yield 186, subst1 | |
# 226: 1/(e + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) | |
yield 226, subst1 | |
# 189: 1/(e + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f154(d, c, f, e, b, a)) | |
yield 189, subst1 | |
subjects152.appendleft(tmp321) | |
if len(subjects152) >= 1 and subjects152[0] == -1/4: | |
tmp322 = subjects152.popleft() | |
# State 3418 | |
if len(subjects152) == 0: | |
# State 3419 | |
if len(subjects) == 0: | |
# 228: (e + x*f)**(-1/4) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f174(c, f, e, d)) | |
yield 228, subst1 | |
# 230: (e + x*f)**(-1/4) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f175(c, f, e, d)) | |
yield 230, subst1 | |
subjects152.appendleft(tmp322) | |
if len(subjects152) >= 1 and subjects152[0] == -3/4: | |
tmp323 = subjects152.popleft() | |
# State 3430 | |
if len(subjects152) == 0: | |
# State 3431 | |
if len(subjects) == 0: | |
# 232: (e + x*f)**(-3/4) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f175(c, f, e, d)) | |
yield 232, subst1 | |
# 231: (e + x*f)**(-3/4) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f174(c, f, e, d)) | |
yield 231, subst1 | |
subjects152.appendleft(tmp323) | |
if len(subjects152) >= 1 and subjects152[0] == 1/2: | |
tmp324 = subjects152.popleft() | |
# State 3460 | |
if len(subjects152) == 0: | |
# State 3461 | |
if len(subjects) == 0: | |
# 385: sqrt(e + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f216(d, c, f, e, h, x, b, a, g)) | |
yield 385, subst1 | |
# 243: sqrt(e + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f182(b, a, e, f)) and (cons_f184(d, f, e, x, b, c, a)) | |
yield 243, subst1 | |
# 246: sqrt(e + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f185(d, c, f, e, b, a)) | |
yield 246, subst1 | |
subjects152.appendleft(tmp324) | |
if len(subjects152) >= 1 and subjects152[0] == -1/3: | |
tmp325 = subjects152.popleft() | |
# State 3495 | |
if len(subjects152) == 0: | |
# State 3496 | |
if len(subjects) == 0: | |
# 266: (e + x*f)**(-1/3) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f191(d, c, f, e, b, a)) | |
yield 266, subst1 | |
subjects152.appendleft(tmp325) | |
if len(subjects152) >= 1 and subjects152[0] == -1/2: | |
tmp326 = subjects152.popleft() | |
# State 3644 | |
if len(subjects152) == 0: | |
# State 3645 | |
if len(subjects) == 0: | |
# 379: 1/sqrt(e + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f216(d, c, f, e, h, x, b, a, g)) | |
yield 379, subst1 | |
# 383: 1/sqrt(e + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) | |
yield 383, subst1 | |
subjects152.appendleft(tmp326) | |
if pattern_index == 19: | |
# State 3277 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 3278 | |
if len(subjects152) == 0: | |
# State 3279 | |
if len(subjects) == 0: | |
# 274: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f192(m, n)) and (cons_f144(m, n, p)) | |
yield 274, subst2 | |
# 163: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f142(m, n)) and (cons_f143(m)) and (cons_f144(m, n, p)) | |
yield 163, subst2 | |
# 269: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) and (cons_f43(a)) | |
yield 269, subst2 | |
# 271: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) | |
yield 271, subst2 | |
if len(subjects152) >= 1: | |
tmp328 = [] | |
tmp328.append(subjects152.popleft()) | |
while True: | |
if len(tmp328) > 1: | |
tmp329 = create_operation_expression(associative1, tmp328) | |
elif len(tmp328) == 1: | |
tmp329 = tmp328[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp329) | |
except ValueError: | |
pass | |
else: | |
# State 3278 | |
if len(subjects152) == 0: | |
# State 3279 | |
if len(subjects) == 0: | |
# 274: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f192(m, n)) and (cons_f144(m, n, p)) | |
yield 274, subst2 | |
# 163: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f142(m, n)) and (cons_f143(m)) and (cons_f144(m, n, p)) | |
yield 163, subst2 | |
# 269: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) and (cons_f43(a)) | |
yield 269, subst2 | |
# 271: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) | |
yield 271, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp328.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp328)) | |
if len(subjects152) >= 1: | |
tmp331 = [] | |
tmp331.append(subjects152.popleft()) | |
while True: | |
if len(tmp331) > 1: | |
tmp332 = create_operation_expression(associative1, tmp331) | |
elif len(tmp331) == 1: | |
tmp332 = tmp331[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp332) | |
except ValueError: | |
pass | |
else: | |
# State 5135 | |
if len(subjects152) == 0: | |
# State 5136 | |
if len(subjects) == 0: | |
# 1031: (x*d + a)**m /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f358(m, p)) and (cons_f288(b, d, a, e)) and (cons_f289(c, d, e, b)) | |
yield 1031, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp331.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp331)) | |
if pattern_index == 20: | |
# State 3302 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 3303 | |
if len(subjects152) == 0: | |
# State 3304 | |
if len(subjects) == 0: | |
# 272: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) | |
yield 272, subst2 | |
# 275: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f192(m, n)) and (cons_f144(m, n, p)) | |
yield 275, subst2 | |
# 164: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f142(m, n)) and (cons_f144(m, n, p)) | |
yield 164, subst2 | |
# 270: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) and (cons_f177(c)) | |
yield 270, subst2 | |
if len(subjects152) >= 1: | |
tmp335 = [] | |
tmp335.append(subjects152.popleft()) | |
while True: | |
if len(tmp335) > 1: | |
tmp336 = create_operation_expression(associative1, tmp335) | |
elif len(tmp335) == 1: | |
tmp336 = tmp335[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_2', tmp336) | |
except ValueError: | |
pass | |
else: | |
# State 3303 | |
if len(subjects152) == 0: | |
# State 3304 | |
if len(subjects) == 0: | |
# 272: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) | |
yield 272, subst2 | |
# 275: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f192(m, n)) and (cons_f144(m, n, p)) | |
yield 275, subst2 | |
# 164: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f142(m, n)) and (cons_f144(m, n, p)) | |
yield 164, subst2 | |
# 270: (x*d + c)**n /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f70(b, d, a, c)) and (cons_f124(m, n)) and (cons_f177(c)) | |
yield 270, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp335.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp335)) | |
if pattern_index == 21: | |
# State 3444 | |
if len(subjects152) >= 1 and subjects152[0] == 1/2: | |
tmp338 = subjects152.popleft() | |
# State 3445 | |
if len(subjects152) == 0: | |
# State 3446 | |
if len(subjects) == 0: | |
# 240: sqrt(x*d + e) /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f176(c, d, e, f)) and (cons_f181(c, e)) | |
yield 240, subst1 | |
# 235: sqrt(x*d + e) /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f176(c, d, e, f)) and (cons_f178(e)) | |
yield 235, subst1 | |
subjects152.appendleft(tmp338) | |
if len(subjects152) >= 1 and subjects152[0] == -1/2: | |
tmp339 = subjects152.popleft() | |
# State 3468 | |
if len(subjects152) == 0: | |
# State 3469 | |
if len(subjects) == 0: | |
# 249: 1/sqrt(x*d + e) /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f178(e)) and (cons_f186(b, d, f)) | |
yield 249, subst1 | |
# 252: 1/sqrt(x*d + e) /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f178(e)) and (cons_f187(b, d, f)) | |
yield 252, subst1 | |
# 254: 1/sqrt(x*d + e) /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f181(c, e)) | |
yield 254, subst1 | |
subjects152.appendleft(tmp339) | |
if len(subjects152) >= 1: | |
tmp340 = [] | |
tmp340.append(subjects152.popleft()) | |
while True: | |
if len(tmp340) > 1: | |
tmp341 = create_operation_expression(associative1, tmp340) | |
elif len(tmp340) == 1: | |
tmp341 = tmp340[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_2', tmp341) | |
except ValueError: | |
pass | |
else: | |
# State 3530 | |
if len(subjects152) == 0: | |
# State 3531 | |
if len(subjects) == 0: | |
# 290: (x*d + e)**p /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f197(e, p)) | |
yield 290, subst2 | |
# 293: (x*d + e)**p /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f199(d, p, f, e, c)) | |
yield 293, subst2 | |
# 295: (x*d + e)**p /; (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) | |
yield 295, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp340.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp340)) | |
if len(subjects152) >= 1 and subjects152[0] == 2: | |
tmp343 = subjects152.popleft() | |
# State 5194 | |
if len(subjects152) == 0: | |
# State 5195 | |
if len(subjects) == 0: | |
# 1051: (x*d + e)**2 /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f379(p, f, e, m, x, c, a, g)) | |
yield 1051, subst1 | |
subjects152.appendleft(tmp343) | |
if len(subjects152) >= 1 and subjects152[0] == 3: | |
tmp344 = subjects152.popleft() | |
# State 5199 | |
if len(subjects152) == 0: | |
# State 5200 | |
if len(subjects) == 0: | |
# 1052: (x*d + e)**3 /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f379(p, f, e, m, x, c, a, g)) | |
yield 1052, subst1 | |
subjects152.appendleft(tmp344) | |
if pattern_index == 22: | |
# State 3479 | |
if len(subjects152) >= 1 and subjects152[0] == -1/2: | |
tmp345 = subjects152.popleft() | |
# State 3480 | |
if len(subjects152) == 0: | |
# State 3481 | |
if len(subjects) == 0: | |
# 257: 1/sqrt(e + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f182(b, a, e, f)) and (cons_f156(d, c, x, b, a)) and (cons_f188(f, e, x, b, a)) and (cons_f189(d, c, f, e, b, a)) | |
yield 257, subst1 | |
# 260: 1/sqrt(e + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f182(b, a, e, f)) and (cons_f156(d, c, x, b, a)) and (cons_f188(f, e, x, b, a)) and (cons_f190(d, c, f, e, b, a)) | |
yield 260, subst1 | |
# 263: 1/sqrt(e + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f185(d, c, f, e, b, a)) and (cons_f156(d, c, x, b, a)) and (cons_f188(f, e, x, b, a)) | |
yield 263, subst1 | |
# 367: 1/sqrt(e + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f188(f, e, x, b, a)) and (cons_f218(d, f, e, x, c)) | |
yield 367, subst1 | |
subjects152.appendleft(tmp345) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 3557 | |
if len(subjects152) == 0: | |
# State 3558 | |
if len(subjects) == 0: | |
# 313: (e + x*f)**p /; (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 313, subst2 | |
if len(subjects152) >= 1: | |
tmp347 = [] | |
tmp347.append(subjects152.popleft()) | |
while True: | |
if len(tmp347) > 1: | |
tmp348 = create_operation_expression(associative1, tmp347) | |
elif len(tmp347) == 1: | |
tmp348 = tmp347[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_2', tmp348) | |
except ValueError: | |
pass | |
else: | |
# State 3557 | |
if len(subjects152) == 0: | |
# State 3558 | |
if len(subjects) == 0: | |
# 313: (e + x*f)**p /; (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 313, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp347.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp347)) | |
if pattern_index == 23: | |
# State 3634 | |
if len(subjects152) >= 1: | |
tmp350 = [] | |
tmp350.append(subjects152.popleft()) | |
while True: | |
if len(tmp350) > 1: | |
tmp351 = create_operation_expression(associative1, tmp350) | |
elif len(tmp350) == 1: | |
tmp351 = tmp350[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp351) | |
except ValueError: | |
pass | |
else: | |
# State 3635 | |
if len(subjects152) == 0: | |
# State 3636 | |
if len(subjects) == 0: | |
# 376: (g + x*h)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) | |
yield 376, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp350.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp350)) | |
if len(subjects152) >= 1: | |
tmp353 = [] | |
tmp353.append(subjects152.popleft()) | |
while True: | |
if len(tmp353) > 1: | |
tmp354 = create_operation_expression(associative1, tmp353) | |
elif len(tmp353) == 1: | |
tmp354 = tmp353[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_3', tmp354) | |
except ValueError: | |
pass | |
else: | |
# State 3713 | |
if len(subjects152) == 0: | |
# State 3714 | |
if len(subjects) == 0: | |
# 395: (g + x*h)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f220(q, p)) | |
yield 395, subst2 | |
# 399: (g + x*h)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f221(q)) | |
yield 399, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp353.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp353)) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_3', 1) | |
except ValueError: | |
pass | |
else: | |
# State 3740 | |
if len(subjects152) == 0: | |
# State 3741 | |
if len(subjects) == 0: | |
# 403: (g + x*h)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 403, subst2 | |
# 405: (g + x*h)**q /; (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 405, subst2 | |
if len(subjects152) >= 1: | |
tmp357 = [] | |
tmp357.append(subjects152.popleft()) | |
while True: | |
if len(tmp357) > 1: | |
tmp358 = create_operation_expression(associative1, tmp357) | |
elif len(tmp357) == 1: | |
tmp358 = tmp357[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_3', tmp358) | |
except ValueError: | |
pass | |
else: | |
# State 3740 | |
if len(subjects152) == 0: | |
# State 3741 | |
if len(subjects) == 0: | |
# 403: (g + x*h)**q /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f222(d, q, p, c, f, e, h, m, x, n, b, a, g)) | |
yield 403, subst2 | |
# 405: (g + x*h)**q /; (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 405, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp357.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp357)) | |
if len(subjects152) >= 1 and subjects152[0] == -1/2: | |
tmp360 = subjects152.popleft() | |
# State 3650 | |
if len(subjects152) == 0: | |
# State 3651 | |
if len(subjects) == 0: | |
# 384: 1/sqrt(g + x*h) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) | |
yield 384, subst1 | |
# 380: 1/sqrt(g + x*h) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f216(d, c, f, e, h, x, b, a, g)) | |
yield 380, subst1 | |
subjects152.appendleft(tmp360) | |
if len(subjects152) >= 1 and subjects152[0] == 1/2: | |
tmp361 = subjects152.popleft() | |
# State 3662 | |
if len(subjects152) == 0: | |
# State 3663 | |
if len(subjects) == 0: | |
# 386: sqrt(g + x*h) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f216(d, c, f, e, h, x, b, a, g)) | |
yield 386, subst1 | |
subjects152.appendleft(tmp361) | |
if pattern_index == 24: | |
# State 3921 | |
if len(subjects152) >= 1: | |
tmp362 = [] | |
tmp362.append(subjects152.popleft()) | |
while True: | |
if len(tmp362) > 1: | |
tmp363 = create_operation_expression(associative1, tmp362) | |
elif len(tmp362) == 1: | |
tmp363 = tmp362[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp363) | |
except ValueError: | |
pass | |
else: | |
# State 3922 | |
if len(subjects152) == 0: | |
# State 3923 | |
if len(subjects) == 0: | |
# 1158: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f45(b, a, c)) | |
yield 1158, subst2 | |
# 659: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f45(b, a, c)) and (cons_f316(c, f, g, b)) and (cons_f147(p)) and (cons_f244(m, p)) and (cons_f137(p)) | |
yield 659, subst2 | |
# 662: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f45(b, a, c)) and (cons_f316(c, f, g, b)) and (cons_f147(p)) and (cons_f13(p)) and (cons_f137(p)) | |
yield 662, subst2 | |
# 407: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f47(c, d, e, b)) | |
yield 407, subst2 | |
# 664: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f316(c, f, g, b)) and (cons_f147(p)) and (cons_f225(p)) and (cons_f318(m, p)) | |
yield 664, subst2 | |
# 409: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f237(m, p)) | |
yield 409, subst2 | |
# 411: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f238(m, p)) | |
yield 411, subst2 | |
# 667: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f316(c, f, g, b)) and (cons_f147(p)) and (cons_f319(m, p)) | |
yield 667, subst2 | |
# 669: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f316(c, f, g, b)) and (cons_f147(p)) and (cons_f319(m, p)) and (cons_f320(m, p)) | |
yield 669, subst2 | |
# 413: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f239(c, d, e, b)) and (cons_f240(m, p)) | |
yield 413, subst2 | |
# 420: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f239(c, d, e, b)) and (cons_f242(m, p)) | |
yield 420, subst2 | |
# 676: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f321(c, f, g, b)) and (cons_f147(p)) and (cons_f323(d, p, e, b, c, m)) | |
yield 676, subst2 | |
# 679: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f321(c, f, g, b)) and (cons_f147(p)) and (cons_f239(c, d, e, b)) and (cons_f242(m, p)) | |
yield 679, subst2 | |
# 424: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f45(b, a, c)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f146(p)) and (cons_f246(p)) | |
yield 424, subst2 | |
# 426: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f45(b, a, c)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f146(p)) and (cons_f246(p)) and (cons_f248(m, p)) | |
yield 426, subst2 | |
# 682: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f321(c, f, g, b)) and (cons_f147(p)) and (cons_f239(c, d, e, b)) and (cons_f319(m, p)) and (cons_f270(m, p)) | |
yield 682, subst2 | |
# 428: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f45(b, a, c)) and (cons_f239(c, d, e, b)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f249(m, p)) and (cons_f238(m, p)) and (cons_f248(m, p)) and (cons_f251(m, p)) and (cons_f246(p)) | |
yield 428, subst2 | |
# 685: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f321(c, f, g, b)) and (cons_f147(p)) and (cons_f239(c, d, e, b)) and (cons_f319(m, p)) and (cons_f270(m, p)) and (cons_f324(d, f, e, x, m, g)) | |
yield 685, subst2 | |
# 430: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f45(b, a, c)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f137(p)) and (cons_f246(p)) | |
yield 430, subst2 | |
# 433: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f45(b, a, c)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f137(p)) and (cons_f253(m, p)) and (cons_f246(p)) | |
yield 433, subst2 | |
# 435: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f239(c, d, e, b)) and (cons_f238(m, p)) and (cons_f254(m, p)) and (cons_f255(m, p)) | |
yield 435, subst2 | |
# 563: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f288(b, d, a, e)) and (cons_f289(c, d, e, b)) and (cons_f290(m, p)) and (cons_f147(p)) | |
yield 563, subst2 | |
# 437: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f239(c, d, e, b)) and (cons_f246(p)) | |
yield 437, subst2 | |
# 439: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f147(p)) and (cons_f239(c, d, e, b)) | |
yield 439, subst2 | |
# 891: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f358(m, p)) and (cons_f288(b, d, a, e)) and (cons_f289(c, d, e, b)) | |
yield 891, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp362.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp362)) | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 4455 | |
if len(subjects152) == 0: | |
# State 4456 | |
if len(subjects) == 0: | |
# 1152: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f384(c, f, p)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1152, subst2 | |
# 1155: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f147(p)) and (cons_f387(c, f)) | |
yield 1155, subst2 | |
# 646: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 646, subst2 | |
# 1164: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f417(h, b, c, a, g)) and (cons_f418(d, f, e, h, c, a, g)) | |
yield 1164, subst2 | |
# 656: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f316(c, f, g, b)) and (cons_f147(p)) and (cons_f242(m, p)) | |
yield 656, subst2 | |
# 671: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f316(c, f, g, b)) and (cons_f147(p)) and (cons_f319(m, p)) | |
yield 671, subst2 | |
if len(subjects152) >= 1: | |
tmp366 = [] | |
tmp366.append(subjects152.popleft()) | |
while True: | |
if len(tmp366) > 1: | |
tmp367 = create_operation_expression(associative1, tmp366) | |
elif len(tmp366) == 1: | |
tmp367 = tmp366[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp367) | |
except ValueError: | |
pass | |
else: | |
# State 4455 | |
if len(subjects152) == 0: | |
# State 4456 | |
if len(subjects) == 0: | |
# 1152: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f384(c, f, p)) and (cons_f385(d, q, c, f, e, x, b, a)) | |
yield 1152, subst2 | |
# 1155: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f382(c, d, a, f)) and (cons_f383(b, d, a, e)) and (cons_f147(p)) and (cons_f387(c, f)) | |
yield 1155, subst2 | |
# 646: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 646, subst2 | |
# 1164: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f417(h, b, c, a, g)) and (cons_f418(d, f, e, h, c, a, g)) | |
yield 1164, subst2 | |
# 656: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f316(c, f, g, b)) and (cons_f147(p)) and (cons_f242(m, p)) | |
yield 656, subst2 | |
# 671: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f45(b, a, c)) and (cons_f316(c, f, g, b)) and (cons_f147(p)) and (cons_f319(m, p)) | |
yield 671, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp366.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp366)) | |
if len(subjects152) >= 1: | |
tmp369 = [] | |
tmp369.append(subjects152.popleft()) | |
while True: | |
if len(tmp369) > 1: | |
tmp370 = create_operation_expression(associative1, tmp369) | |
elif len(tmp369) == 1: | |
tmp370 = tmp369[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp370) | |
except ValueError: | |
pass | |
else: | |
# State 4504 | |
if len(subjects152) == 0: | |
# State 4505 | |
if len(subjects) == 0: | |
# 673: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f45(b, a, c)) and (cons_f321(c, f, g, b)) and (cons_f147(p)) and (cons_f239(c, d, e, b)) and (cons_f13(p)) and (cons_f322(p)) | |
yield 673, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp369.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp369)) | |
if len(subjects152) >= 1 and subjects152[0] == 1/2: | |
tmp372 = subjects152.popleft() | |
# State 3942 | |
if len(subjects152) == 0: | |
# State 3943 | |
if len(subjects) == 0: | |
# 417: sqrt(a + v**2*c + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f45(b, a, c)) and (cons_f239(c, d, e, b)) | |
yield 417, subst1 | |
# 415: sqrt(a + v**2*c + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f45(b, a, c)) and (cons_f239(c, d, e, b)) | |
yield 415, subst1 | |
subjects152.appendleft(tmp372) | |
if len(subjects152) >= 1 and subjects152[0] == -1/2: | |
tmp373 = subjects152.popleft() | |
# State 3950 | |
if len(subjects152) == 0: | |
# State 3951 | |
if len(subjects) == 0: | |
# 418: 1/sqrt(a + v**2*c + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f45(b, a, c)) and (cons_f239(c, d, e, b)) | |
yield 418, subst1 | |
# 653: 1/sqrt(a + v**2*c + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f45(b, a, c)) and (cons_f316(c, f, g, b)) | |
yield 653, subst1 | |
subjects152.appendleft(tmp373) | |
if len(subjects152) >= 1 and subjects152[0] == -1/3: | |
tmp374 = subjects152.popleft() | |
# State 4407 | |
if len(subjects152) == 0: | |
# State 4408 | |
if len(subjects) == 0: | |
# 624: (a + v**2*c + x*f)**(-1/3) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f239(c, d, e, b)) and (cons_f308(d, e, b, c, a)) and (cons_f309(c, d, e, b)) | |
yield 624, subst1 | |
# 628: (a + v**2*c + x*f)**(-1/3) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f239(c, d, e, b)) and (cons_f308(d, e, b, c, a)) and (cons_f311(c, d, e, b)) | |
yield 628, subst1 | |
# 630: (a + v**2*c + x*f)**(-1/3) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f312(d, e, b, c, a)) | |
yield 630, subst1 | |
subjects152.appendleft(tmp374) | |
if pattern_index == 25: | |
# State 4002 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 4003 | |
if len(subjects152) == 0: | |
# State 4004 | |
if len(subjects) == 0: | |
# 514: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f246(p)) | |
yield 514, subst2 | |
# 898: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f361(m, p)) and (cons_f299(m, p)) and (cons_f362(m, p)) | |
yield 898, subst2 | |
# 903: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f363(m, p)) and (cons_f303(m, p)) and (cons_f362(m, p)) | |
yield 903, subst2 | |
# 521: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f238(m, p)) and (cons_f277(m, p)) | |
yield 521, subst2 | |
# 523: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f278(m, p)) | |
yield 523, subst2 | |
# 907: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f137(p)) and (cons_f364(d, p, c, f, e, m, b, a, g)) | |
yield 907, subst2 | |
# 525: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) | |
yield 525, subst2 | |
# 527: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f128(p)) | |
yield 527, subst2 | |
# 894: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f163(p)) and (cons_f359(m, p)) and (cons_f360(m, p)) | |
yield 894, subst2 | |
# 1182: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f423(p, c, f, e, h, b, m, g)) and (cons_f424(d, p, c, f, h, m, b, a, g)) and (cons_f270(m, p)) | |
yield 1182, subst2 | |
# 1188: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f427(p, c, f, h, b, m, g)) and (cons_f424(d, p, c, f, h, m, b, a, g)) and (cons_f270(m, p)) | |
yield 1188, subst2 | |
# 1191: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f428(m, p)) | |
yield 1191, subst2 | |
# 936: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f319(m, p)) and (cons_f368(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 936, subst2 | |
# 1197: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f428(m, p)) | |
yield 1197, subst2 | |
# 942: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f362(m, p)) | |
yield 942, subst2 | |
# 1203: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f429(h, b, c, a, g)) | |
yield 1203, subst2 | |
# 948: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f369(m, p)) | |
yield 948, subst2 | |
# 1209: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f429(h, b, c, a, g)) | |
yield 1209, subst2 | |
# 441: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f38(p)) | |
yield 441, subst2 | |
# 967: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) | |
yield 967, subst2 | |
# 1353: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1353, subst2 | |
# 846: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f128(p)) | |
yield 846, subst2 | |
# 856: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f242(m, p)) and (cons_f350(d, c, f, e, b, a, g)) | |
yield 856, subst2 | |
# 1244: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f242(m, p)) | |
yield 1244, subst2 | |
# 866: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f242(m, p)) | |
yield 866, subst2 | |
# 1250: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f242(m, p)) | |
yield 1250, subst2 | |
# 1256: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f270(m, p)) | |
yield 1256, subst2 | |
# 1260: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f270(m, p)) | |
yield 1260, subst2 | |
# 504: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f242(m, p)) and (cons_f54(p)) | |
yield 504, subst2 | |
# 506: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f128(p)) and (cons_f269(m, p)) | |
yield 506, subst2 | |
# 508: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f244(m, p)) and (cons_f163(p)) and (cons_f271(m, p)) and (cons_f246(p)) | |
yield 508, subst2 | |
# 510: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f273(m, p)) and (cons_f246(p)) | |
yield 510, subst2 | |
if len(subjects152) >= 1: | |
tmp376 = [] | |
tmp376.append(subjects152.popleft()) | |
while True: | |
if len(tmp376) > 1: | |
tmp377 = create_operation_expression(associative1, tmp376) | |
elif len(tmp376) == 1: | |
tmp377 = tmp376[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp377) | |
except ValueError: | |
pass | |
else: | |
# State 4003 | |
if len(subjects152) == 0: | |
# State 4004 | |
if len(subjects) == 0: | |
# 514: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f246(p)) | |
yield 514, subst2 | |
# 898: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f361(m, p)) and (cons_f299(m, p)) and (cons_f362(m, p)) | |
yield 898, subst2 | |
# 903: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f363(m, p)) and (cons_f303(m, p)) and (cons_f362(m, p)) | |
yield 903, subst2 | |
# 521: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f238(m, p)) and (cons_f277(m, p)) | |
yield 521, subst2 | |
# 523: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f278(m, p)) | |
yield 523, subst2 | |
# 907: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f137(p)) and (cons_f364(d, p, c, f, e, m, b, a, g)) | |
yield 907, subst2 | |
# 525: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) | |
yield 525, subst2 | |
# 527: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f128(p)) | |
yield 527, subst2 | |
# 894: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f163(p)) and (cons_f359(m, p)) and (cons_f360(m, p)) | |
yield 894, subst2 | |
# 1182: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f423(p, c, f, e, h, b, m, g)) and (cons_f424(d, p, c, f, h, m, b, a, g)) and (cons_f270(m, p)) | |
yield 1182, subst2 | |
# 1188: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f427(p, c, f, h, b, m, g)) and (cons_f424(d, p, c, f, h, m, b, a, g)) and (cons_f270(m, p)) | |
yield 1188, subst2 | |
# 1191: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f428(m, p)) | |
yield 1191, subst2 | |
# 936: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f319(m, p)) and (cons_f368(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 936, subst2 | |
# 1197: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f428(m, p)) | |
yield 1197, subst2 | |
# 942: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f362(m, p)) | |
yield 942, subst2 | |
# 1203: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f429(h, b, c, a, g)) | |
yield 1203, subst2 | |
# 948: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f369(m, p)) | |
yield 948, subst2 | |
# 1209: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f429(h, b, c, a, g)) | |
yield 1209, subst2 | |
# 441: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f38(p)) | |
yield 441, subst2 | |
# 967: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) | |
yield 967, subst2 | |
# 1353: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 1353, subst2 | |
# 846: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f128(p)) | |
yield 846, subst2 | |
# 856: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f242(m, p)) and (cons_f350(d, c, f, e, b, a, g)) | |
yield 856, subst2 | |
# 1244: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f242(m, p)) | |
yield 1244, subst2 | |
# 866: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f242(m, p)) | |
yield 866, subst2 | |
# 1250: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f242(m, p)) | |
yield 1250, subst2 | |
# 1256: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f270(m, p)) | |
yield 1256, subst2 | |
# 1260: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f270(m, p)) | |
yield 1260, subst2 | |
# 504: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f242(m, p)) and (cons_f54(p)) | |
yield 504, subst2 | |
# 506: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f128(p)) and (cons_f269(m, p)) | |
yield 506, subst2 | |
# 508: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f244(m, p)) and (cons_f163(p)) and (cons_f271(m, p)) and (cons_f246(p)) | |
yield 508, subst2 | |
# 510: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f273(m, p)) and (cons_f246(p)) | |
yield 510, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp376.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp376)) | |
if len(subjects152) >= 1: | |
tmp379 = [] | |
tmp379.append(subjects152.popleft()) | |
while True: | |
if len(tmp379) > 1: | |
tmp380 = create_operation_expression(associative1, tmp379) | |
elif len(tmp379) == 1: | |
tmp380 = tmp379[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp380) | |
except ValueError: | |
pass | |
else: | |
# State 4021 | |
if len(subjects152) == 0: | |
# State 4022 | |
if len(subjects) == 0: | |
# 512: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f270(m, p)) and (cons_f244(m, p)) and (cons_f137(p)) and (cons_f246(p)) | |
yield 512, subst2 | |
# 643: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f147(p)) | |
yield 643, subst2 | |
# 913: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f137(p)) and (cons_f366(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 913, subst2 | |
# 919: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f362(m, p)) | |
yield 919, subst2 | |
# 445: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f147(p)) and (cons_f41(m, p)) | |
yield 445, subst2 | |
# 703: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f326(d, p, f, e, b, c, m, g)) | |
yield 703, subst2 | |
# 576: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f296(m, p)) and (cons_f163(p)) | |
yield 576, subst2 | |
# 449: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f147(p)) and (cons_f240(m, p)) | |
yield 449, subst2 | |
# 579: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f296(m, p)) and (cons_f137(p)) | |
yield 579, subst2 | |
# 709: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f137(p)) | |
yield 709, subst2 | |
# 457: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f147(p)) and (cons_f13(p)) and (cons_f259(m, p)) | |
yield 457, subst2 | |
# 586: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f147(p)) and (cons_f240(m, p)) | |
yield 586, subst2 | |
# 715: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f139(p)) and (cons_f54(p)) | |
yield 715, subst2 | |
# 1227: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) and (cons_f244(m, p)) and (cons_f137(p)) | |
yield 1227, subst2 | |
# 461: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f147(p)) and (cons_f262(m, p)) | |
yield 461, subst2 | |
# 590: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f242(m, p)) and (cons_f13(p)) and (cons_f137(p)) | |
yield 590, subst2 | |
# 1231: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) and (cons_f244(m, p)) and (cons_f137(p)) | |
yield 1231, subst2 | |
# 465: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f147(p)) and (cons_f263(m, p)) | |
yield 465, subst2 | |
# 593: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f242(m, p)) | |
yield 593, subst2 | |
# 721: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f329(m, p)) and (cons_f253(m, p)) | |
yield 721, subst2 | |
# 596: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f298(m, p)) and (cons_f299(m, p)) and (cons_f300(d, p, c, e, m, x, b, a)) | |
yield 596, subst2 | |
# 725: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f319(m, p)) | |
yield 725, subst2 | |
# 1235: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f431(h, b, c, a, g)) | |
yield 1235, subst2 | |
# 1239: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f431(h, b, c, a, g)) | |
yield 1239, subst2 | |
# 600: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f238(m, p)) and (cons_f303(m, p)) and (cons_f300(d, p, c, e, m, x, b, a)) | |
yield 600, subst2 | |
# 473: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f163(p)) and (cons_f264(m, p)) and (cons_f253(m, p)) and (cons_f246(p)) | |
yield 473, subst2 | |
# 604: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f137(p)) and (cons_f304(m, p)) and (cons_f300(d, p, c, e, m, x, b, a)) | |
yield 604, subst2 | |
# 477: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f163(p)) and (cons_f265(m, p)) and (cons_f238(m, p)) and (cons_f246(p)) | |
yield 477, subst2 | |
# 862: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f242(m, p)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f352(d, e, b, c, m)) | |
yield 862, subst2 | |
# 608: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f244(m, p)) and (cons_f137(p)) and (cons_f300(d, p, c, e, m, x, b, a)) | |
yield 608, subst2 | |
# 481: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f244(m, p)) and (cons_f137(p)) and (cons_f246(p)) | |
yield 481, subst2 | |
# 612: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f300(d, p, c, e, m, x, b, a)) | |
yield 612, subst2 | |
# 487: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f238(m, p)) and (cons_f246(p)) | |
yield 487, subst2 | |
# 616: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f238(m, p)) and (cons_f300(d, p, c, e, m, x, b, a)) | |
yield 616, subst2 | |
# 491: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f253(m, p)) and (cons_f246(p)) | |
yield 491, subst2 | |
# 620: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f306(d, p, c, e, m, x, b, a)) | |
yield 620, subst2 | |
# 498: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f147(p)) | |
yield 498, subst2 | |
# 639: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) and (cons_f147(p)) | |
yield 639, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp379.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp379)) | |
if len(subjects152) >= 1: | |
tmp382 = [] | |
tmp382.append(subjects152.popleft()) | |
while True: | |
if len(tmp382) > 1: | |
tmp383 = create_operation_expression(associative1, tmp382) | |
elif len(tmp382) == 1: | |
tmp383 = tmp382[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp383) | |
except ValueError: | |
pass | |
else: | |
# State 4039 | |
if len(subjects152) == 0: | |
# State 4040 | |
if len(subjects) == 0: | |
# 825: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) | |
yield 825, subst2 | |
# 634: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f232(b, a, c)) and (cons_f229(p)) | |
yield 634, subst2 | |
# 635: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f313(b, a, c)) and (cons_f229(p)) | |
yield 635, subst2 | |
# 453: (a + v**2*c + x*f)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) and (cons_f147(p)) and (cons_f13(p)) and (cons_f137(p)) | |
yield 453, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp382.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp382)) | |
if len(subjects152) >= 1 and subjects152[0] == -1/2: | |
tmp385 = subjects152.popleft() | |
# State 4067 | |
if len(subjects152) == 0: | |
# State 4068 | |
if len(subjects) == 0: | |
# 515: 1/sqrt(a + v**2*c + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) | |
yield 515, subst1 | |
# 517: 1/sqrt(a + v**2*c + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) and (cons_f275(c, a, b)) | |
yield 517, subst1 | |
# 582: 1/sqrt(a + v**2*c + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f239(c, d, e, b)) | |
yield 582, subst1 | |
# 469: 1/sqrt(a + v**2*c + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f256(d, e, b, c, a)) | |
yield 469, subst1 | |
# 952: 1/sqrt(a + v**2*c + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f370(d, e, b, c, a)) and (cons_f371(d, f, e, b, a, g)) and (cons_f372(b, d, a, e)) | |
yield 952, subst1 | |
# 572: 1/sqrt(a + v**2*c + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 572, subst1 | |
subjects152.appendleft(tmp385) | |
if len(subjects152) >= 1 and subjects152[0] == -1: | |
tmp386 = subjects152.popleft() | |
# State 4137 | |
if len(subjects152) == 0: | |
# State 4138 | |
if len(subjects) == 0: | |
# 929: 1/(a + v**2*c + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) | |
yield 929, subst1 | |
# 549: 1/(a + v**2*c + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 549, subst1 | |
# 852: 1/(a + v**2*c + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) | |
yield 852, subst1 | |
# 502: 1/(a + v**2*c + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f47(c, d, e, b)) | |
yield 502, subst1 | |
# 537: 1/(a + v**2*c + x*f) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f226(b, a, c)) and (cons_f279(d, e, b, c, a)) and (cons_f239(c, d, e, b)) | |
yield 537, subst1 | |
subjects152.appendleft(tmp386) | |
if len(subjects152) >= 1 and subjects152[0] == -3/2: | |
tmp387 = subjects152.popleft() | |
# State 5601 | |
if len(subjects152) == 0: | |
# State 5602 | |
if len(subjects) == 0: | |
# 1221: (a + v**2*c + x*f)**(-3/2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) and (cons_f429(h, b, c, a, g)) | |
yield 1221, subst1 | |
# 1215: (a + v**2*c + x*f)**(-3/2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f226(b, a, c)) and (cons_f429(h, b, c, a, g)) | |
yield 1215, subst1 | |
subjects152.appendleft(tmp387) | |
if pattern_index == 26: | |
# State 4009 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', 1) | |
except ValueError: | |
pass | |
else: | |
# State 4010 | |
if len(subjects152) == 0: | |
# State 4011 | |
if len(subjects) == 0: | |
# 1281: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f407(d, f, e, c, a)) and (cons_f405(q, p)) | |
yield 1281, subst2 | |
# 1409: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1409, subst2 | |
# 1027: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f378(m, n, p)) | |
yield 1027, subst2 | |
# 899: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f361(m, p)) and (cons_f299(m, p)) and (cons_f362(m, p)) | |
yield 899, subst2 | |
# 1284: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f406(d, c, f, b, a)) and (cons_f405(q, p)) | |
yield 1284, subst2 | |
# 1411: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1411, subst2 | |
# 647: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 647, subst2 | |
# 904: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f363(m, p)) and (cons_f303(m, p)) and (cons_f362(m, p)) | |
yield 904, subst2 | |
# 649: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f314(p)) | |
yield 649, subst2 | |
# 1160: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1160, subst2 | |
# 1289: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) | |
yield 1289, subst2 | |
# 1291: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f433(q, p)) | |
yield 1291, subst2 | |
# 909: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f244(m, p)) and (cons_f137(p)) and (cons_f365(d, p, f, e, m, c, a, g)) | |
yield 909, subst2 | |
# 1166: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f419(c, a, g, h)) and (cons_f418(d, f, e, h, c, a, g)) | |
yield 1166, subst2 | |
# 1414: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1414, subst2 | |
# 528: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f128(p)) and (cons_f281(m, p)) | |
yield 528, subst2 | |
# 1423: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f407(d, f, e, c, a)) and (cons_f405(q, p)) | |
yield 1423, subst2 | |
# 1426: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f407(d, f, e, c, a)) and (cons_f405(q, p)) | |
yield 1426, subst2 | |
# 1172: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f419(c, a, g, h)) and (cons_f420(d, f, h, c, a, g)) | |
yield 1172, subst2 | |
# 1429: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f406(d, c, f, b, a)) and (cons_f405(q, p)) | |
yield 1429, subst2 | |
# 895: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f244(m, p)) and (cons_f163(p)) and (cons_f359(m, p)) and (cons_f360(m, p)) | |
yield 895, subst2 | |
# 1432: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f406(d, c, f, b, a)) and (cons_f405(q, p)) | |
yield 1432, subst2 | |
# 1178: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f422(c, a, e, f)) and (cons_f38(p)) | |
yield 1178, subst2 | |
# 1439: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1439, subst2 | |
# 1056: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) | |
yield 1056, subst2 | |
# 1184: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f425(p, f, e, h, c, m, g)) and (cons_f426(d, p, f, h, c, a, m)) and (cons_f270(m, p)) | |
yield 1184, subst2 | |
# 1441: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1441, subst2 | |
# 1443: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1443, subst2 | |
# 1445: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1445, subst2 | |
# 1062: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f381(d, p, f, e, m, x, n, c, a, g)) | |
yield 1062, subst2 | |
# 1193: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1193, subst2 | |
# 938: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f319(m, p)) and (cons_f368(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 938, subst2 | |
# 1199: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1199, subst2 | |
# 944: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f362(m, p)) | |
yield 944, subst2 | |
# 1074: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1074, subst2 | |
# 693: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f257(c, d, a, e)) and (cons_f325(m, d, a, p)) | |
yield 693, subst2 | |
# 949: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f369(m, p)) | |
yield 949, subst2 | |
# 1205: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f430(c, a, g, h)) | |
yield 1205, subst2 | |
# 442: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f258(m, d, a, p)) | |
yield 442, subst2 | |
# 1211: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f430(c, a, g, h)) | |
yield 1211, subst2 | |
# 968: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) | |
yield 968, subst2 | |
# 973: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f375(m, n, p)) | |
yield 973, subst2 | |
# 848: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f128(p)) | |
yield 848, subst2 | |
# 983: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f376(n, p)) | |
yield 983, subst2 | |
# 858: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f242(m, p)) and (cons_f351(d, f, e, c, a, g)) | |
yield 858, subst2 | |
# 1246: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1246, subst2 | |
# 867: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f242(m, p)) | |
yield 867, subst2 | |
# 1252: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1252, subst2 | |
# 1257: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1257, subst2 | |
# 1262: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1262, subst2 | |
# 1268: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f220(q, p)) and (cons_f432(q, p)) | |
yield 1268, subst2 | |
# 1397: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f220(q, p)) and (cons_f432(q, p)) | |
yield 1397, subst2 | |
# 1400: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f220(q, p)) and (cons_f432(q, p)) | |
yield 1400, subst2 | |
# 1273: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1273, subst2 | |
# 1275: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1275, subst2 | |
# 1407: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1407, subst2 | |
if len(subjects152) >= 1: | |
tmp389 = [] | |
tmp389.append(subjects152.popleft()) | |
while True: | |
if len(tmp389) > 1: | |
tmp390 = create_operation_expression(associative1, tmp389) | |
elif len(tmp389) == 1: | |
tmp390 = tmp389[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp390) | |
except ValueError: | |
pass | |
else: | |
# State 4010 | |
if len(subjects152) == 0: | |
# State 4011 | |
if len(subjects) == 0: | |
# 1281: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f407(d, f, e, c, a)) and (cons_f405(q, p)) | |
yield 1281, subst2 | |
# 1409: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1409, subst2 | |
# 1027: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f378(m, n, p)) | |
yield 1027, subst2 | |
# 899: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f361(m, p)) and (cons_f299(m, p)) and (cons_f362(m, p)) | |
yield 899, subst2 | |
# 1284: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f406(d, c, f, b, a)) and (cons_f405(q, p)) | |
yield 1284, subst2 | |
# 1411: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1411, subst2 | |
# 647: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f5(p, x)) and (cons_f68(x, u)) and (cons_f69(x, u)) | |
yield 647, subst2 | |
# 904: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f363(m, p)) and (cons_f303(m, p)) and (cons_f362(m, p)) | |
yield 904, subst2 | |
# 649: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f314(p)) | |
yield 649, subst2 | |
# 1160: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1160, subst2 | |
# 1289: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) | |
yield 1289, subst2 | |
# 1291: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f50(q, x)) and (cons_f433(q, p)) | |
yield 1291, subst2 | |
# 909: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f244(m, p)) and (cons_f137(p)) and (cons_f365(d, p, f, e, m, c, a, g)) | |
yield 909, subst2 | |
# 1166: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f419(c, a, g, h)) and (cons_f418(d, f, e, h, c, a, g)) | |
yield 1166, subst2 | |
# 1414: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1414, subst2 | |
# 528: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f128(p)) and (cons_f281(m, p)) | |
yield 528, subst2 | |
# 1423: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f407(d, f, e, c, a)) and (cons_f405(q, p)) | |
yield 1423, subst2 | |
# 1426: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f407(d, f, e, c, a)) and (cons_f405(q, p)) | |
yield 1426, subst2 | |
# 1172: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f419(c, a, g, h)) and (cons_f420(d, f, h, c, a, g)) | |
yield 1172, subst2 | |
# 1429: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f406(d, c, f, b, a)) and (cons_f405(q, p)) | |
yield 1429, subst2 | |
# 895: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f244(m, p)) and (cons_f163(p)) and (cons_f359(m, p)) and (cons_f360(m, p)) | |
yield 895, subst2 | |
# 1432: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f406(d, c, f, b, a)) and (cons_f405(q, p)) | |
yield 1432, subst2 | |
# 1178: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f422(c, a, e, f)) and (cons_f38(p)) | |
yield 1178, subst2 | |
# 1439: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1439, subst2 | |
# 1056: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) | |
yield 1056, subst2 | |
# 1184: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f425(p, f, e, h, c, m, g)) and (cons_f426(d, p, f, h, c, a, m)) and (cons_f270(m, p)) | |
yield 1184, subst2 | |
# 1441: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1441, subst2 | |
# 1443: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1443, subst2 | |
# 1445: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f50(q, x)) and (cons_f433(q, p)) and (cons_f454(q, p)) | |
yield 1445, subst2 | |
# 1062: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f381(d, p, f, e, m, x, n, c, a, g)) | |
yield 1062, subst2 | |
# 1193: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1193, subst2 | |
# 938: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f319(m, p)) and (cons_f368(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 938, subst2 | |
# 1199: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1199, subst2 | |
# 944: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f362(m, p)) | |
yield 944, subst2 | |
# 1074: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) | |
yield 1074, subst2 | |
# 693: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f257(c, d, a, e)) and (cons_f325(m, d, a, p)) | |
yield 693, subst2 | |
# 949: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f369(m, p)) | |
yield 949, subst2 | |
# 1205: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f430(c, a, g, h)) | |
yield 1205, subst2 | |
# 442: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f258(m, d, a, p)) | |
yield 442, subst2 | |
# 1211: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f430(c, a, g, h)) | |
yield 1211, subst2 | |
# 968: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) | |
yield 968, subst2 | |
# 973: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f375(m, n, p)) | |
yield 973, subst2 | |
# 848: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f128(p)) | |
yield 848, subst2 | |
# 983: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f376(n, p)) | |
yield 983, subst2 | |
# 858: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f242(m, p)) and (cons_f351(d, f, e, c, a, g)) | |
yield 858, subst2 | |
# 1246: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1246, subst2 | |
# 867: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f242(m, p)) | |
yield 867, subst2 | |
# 1252: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1252, subst2 | |
# 1257: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1257, subst2 | |
# 1262: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1262, subst2 | |
# 1268: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f220(q, p)) and (cons_f432(q, p)) | |
yield 1268, subst2 | |
# 1397: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f220(q, p)) and (cons_f432(q, p)) | |
yield 1397, subst2 | |
# 1400: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (cons_f220(q, p)) and (cons_f432(q, p)) | |
yield 1400, subst2 | |
# 1273: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1273, subst2 | |
# 1275: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f402(q, p)) and (cons_f403(q)) | |
yield 1275, subst2 | |
# 1407: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (cons_f402(q, p)) and (cons_f137(p)) | |
yield 1407, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp389.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp389)) | |
if len(subjects152) >= 1: | |
tmp392 = [] | |
tmp392.append(subjects152.popleft()) | |
while True: | |
if len(tmp392) > 1: | |
tmp393 = create_operation_expression(associative1, tmp392) | |
elif len(tmp392) == 1: | |
tmp393 = tmp392[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2', tmp393) | |
except ValueError: | |
pass | |
else: | |
# State 4026 | |
if len(subjects152) == 0: | |
# State 4027 | |
if len(subjects) == 0: | |
# 640: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f147(p)) | |
yield 640, subst2 | |
# 768: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f41(m, p)) and (cons_f338(n, p)) and (cons_f163(p)) and (cons_f341(n, p)) | |
yield 768, subst2 | |
# 644: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f147(p)) | |
yield 644, subst2 | |
# 773: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f41(m, p)) and (cons_f338(n, p)) and (cons_f137(p)) | |
yield 773, subst2 | |
# 778: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f41(m, p)) and (cons_f338(n, p)) and (cons_f137(p)) | |
yield 778, subst2 | |
# 1035: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f147(p)) and (cons_f338(n, p)) and (cons_f163(p)) | |
yield 1035, subst2 | |
# 1039: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f147(p)) and (cons_f338(n, p)) and (cons_f137(p)) | |
yield 1039, subst2 | |
# 784: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f41(m, p)) and (cons_f342(n, p)) | |
yield 784, subst2 | |
# 915: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f244(m, p)) and (cons_f137(p)) and (cons_f366(d, f, e, x, m, g)) and (cons_f362(m, p)) | |
yield 915, subst2 | |
# 790: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f41(m, p)) and (cons_f246(p)) | |
yield 790, subst2 | |
# 920: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f362(m, p)) | |
yield 920, subst2 | |
# 802: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f343(m, p)) and (cons_f345(d, p, f, e, n, g)) and (cons_f126(n, p)) | |
yield 802, subst2 | |
# 807: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f343(m, p)) and (cons_f246(p)) | |
yield 807, subst2 | |
# 812: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f343(m, p)) and (cons_f246(p)) | |
yield 812, subst2 | |
# 557: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f280(c, d, a, e)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f230(p)) | |
yield 557, subst2 | |
# 560: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f287(p)) | |
yield 560, subst2 | |
# 818: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f347(p)) and (cons_f348(m, p)) and (cons_f349(p)) | |
yield 818, subst2 | |
# 821: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) | |
yield 821, subst2 | |
# 1080: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f389(q)) and (cons_f392(d, q, f, c, a)) | |
yield 1080, subst2 | |
# 1082: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f50(q, x)) and (cons_f393(q)) | |
yield 1082, subst2 | |
# 699: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f314(p)) | |
yield 699, subst2 | |
# 827: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) | |
yield 827, subst2 | |
# 446: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f41(m, p)) | |
yield 446, subst2 | |
# 577: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f280(c, d, a, e)) and (cons_f244(m, p)) and (cons_f296(m, p)) and (cons_f163(p)) | |
yield 577, subst2 | |
# 450: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f240(m, p)) | |
yield 450, subst2 | |
# 705: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f327(d, p, f, e, m, g)) | |
yield 705, subst2 | |
# 580: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f280(c, d, a, e)) and (cons_f244(m, p)) and (cons_f296(m, p)) and (cons_f137(p)) | |
yield 580, subst2 | |
# 833: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f270(m, p)) | |
yield 833, subst2 | |
# 454: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f13(p)) and (cons_f137(p)) | |
yield 454, subst2 | |
# 711: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f257(c, d, a, e)) and (cons_f244(m, p)) and (cons_f137(p)) | |
yield 711, subst2 | |
# 839: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f43(a)) | |
yield 839, subst2 | |
# 1092: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f395(q)) and (cons_f396(q)) and (cons_f399(d, q, f, c, a)) | |
yield 1092, subst2 | |
# 458: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f13(p)) and (cons_f259(m, p)) | |
yield 458, subst2 | |
# 587: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f147(p)) and (cons_f240(m, p)) | |
yield 587, subst2 | |
# 843: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) | |
yield 843, subst2 | |
# 717: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f139(p)) and (cons_f54(p)) | |
yield 717, subst2 | |
# 462: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f262(m, p)) | |
yield 462, subst2 | |
# 591: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f242(m, p)) and (cons_f13(p)) and (cons_f137(p)) | |
yield 591, subst2 | |
# 1232: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f244(m, p)) and (cons_f137(p)) | |
yield 1232, subst2 | |
# 1098: (a + c*x**2)**p /; (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f50(q, x)) and (cons_f400(q)) and (cons_f401(q)) and (cons_f399(d, q, f, c, a)) | |
yield 1098, subst2 | |
# 1228: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f244(m, p)) and (cons_f137(p)) | |
yield 1228, subst2 | |
# 466: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f263(m, p)) | |
yield 466, subst2 | |
# 594: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f242(m, p)) | |
yield 594, subst2 | |
# 722: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f329(m, p)) and (cons_f253(m, p)) | |
yield 722, subst2 | |
# 597: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f298(m, p)) and (cons_f299(m, p)) and (cons_f301(d, p, e, m, x, c, a)) | |
yield 597, subst2 | |
# 726: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f319(m, p)) | |
yield 726, subst2 | |
# 978: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f149(p)) and (cons_f163(p)) | |
yield 978, subst2 | |
# 728: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f330(c, f, a, g)) and (cons_f13(p)) and (cons_f331(p)) | |
yield 728, subst2 | |
# 601: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f13(p)) and (cons_f163(p)) and (cons_f238(m, p)) and (cons_f303(m, p)) and (cons_f301(d, p, e, m, x, c, a)) | |
yield 601, subst2 | |
# 474: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f257(c, d, a, e)) and (cons_f244(m, p)) and (cons_f163(p)) and (cons_f264(m, p)) and (cons_f253(m, p)) and (cons_f246(p)) | |
yield 474, subst2 | |
# 731: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f330(c, f, a, g)) | |
yield 731, subst2 | |
# 1236: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f430(c, a, g, h)) | |
yield 1236, subst2 | |
# 605: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f280(c, d, a, e)) and (cons_f244(m, p)) and (cons_f137(p)) and (cons_f304(m, p)) and (cons_f301(d, p, e, m, x, c, a)) | |
yield 605, subst2 | |
# 478: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f257(c, d, a, e)) and (cons_f244(m, p)) and (cons_f163(p)) and (cons_f265(m, p)) and (cons_f238(m, p)) and (cons_f246(p)) | |
yield 478, subst2 | |
# 863: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f242(m, p)) and (cons_f13(p)) and (cons_f137(p)) | |
yield 863, subst2 | |
# 1241: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f430(c, a, g, h)) | |
yield 1241, subst2 | |
# 609: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f280(c, d, a, e)) and (cons_f244(m, p)) and (cons_f137(p)) and (cons_f301(d, p, e, m, x, c, a)) | |
yield 609, subst2 | |
# 482: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f257(c, d, a, e)) and (cons_f244(m, p)) and (cons_f137(p)) and (cons_f246(p)) | |
yield 482, subst2 | |
# 737: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f13(p)) and (cons_f332(m, p)) | |
yield 737, subst2 | |
# 613: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f13(p)) and (cons_f137(p)) and (cons_f301(d, p, e, m, x, c, a)) | |
yield 613, subst2 | |
# 743: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f333(n, p)) | |
yield 743, subst2 | |
# 488: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f238(m, p)) and (cons_f246(p)) | |
yield 488, subst2 | |
# 617: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f238(m, p)) and (cons_f301(d, p, e, m, x, c, a)) | |
yield 617, subst2 | |
# 872: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f355(d, p, f, e, c, a, g)) | |
yield 872, subst2 | |
# 492: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f253(m, p)) and (cons_f246(p)) | |
yield 492, subst2 | |
# 621: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f307(d, p, e, m, x, c, a)) | |
yield 621, subst2 | |
# 878: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) and (cons_f13(p)) and (cons_f137(p)) | |
yield 878, subst2 | |
# 751: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f41(m, p)) | |
yield 751, subst2 | |
# 496: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f43(a)) | |
yield 496, subst2 | |
# 499: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) | |
yield 499, subst2 | |
# 884: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f287(p)) | |
yield 884, subst2 | |
# 1145: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f5(p, x)) and (cons_f50(q, x)) and (cons_f416(d, q, p, f, e, x, c, a)) | |
yield 1145, subst2 | |
# 762: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f257(c, d, a, e)) and (cons_f147(p)) and (cons_f41(m, p)) and (cons_f338(n, p)) and (cons_f163(p)) and (cons_f339(n, p)) | |
yield 762, subst2 | |
# 636: (a + c*x**2)**p /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f147(p)) and (cons_f43(a)) and (cons_f293(c)) | |
yield 636, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp392.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp392)) | |
if len(subjects152) >= 1 and subjects152[0] == -1/2: | |
tmp395 = subjects152.popleft() | |
# State 4072 | |
if len(subjects152) == 0: | |
# State 4073 | |
if len(subjects) == 0: | |
# 583: 1/sqrt(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f297(d, e, x, c, a)) | |
yield 583, subst1 | |
# 1128: 1/sqrt(a + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) | |
yield 1128, subst1 | |
# 1321: 1/sqrt(a + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f442(d, c, f, h, b, a, g)) | |
yield 1321, subst1 | |
# 957: 1/sqrt(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f373(f, x, c, a, g)) | |
yield 957, subst1 | |
# 1328: 1/sqrt(a + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) | |
yield 1328, subst1 | |
# 1043: 1/sqrt(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) | |
yield 1043, subst1 | |
# 470: 1/sqrt(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f257(c, d, a, e)) | |
yield 470, subst1 | |
# 796: 1/sqrt(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f257(c, d, a, e)) | |
yield 796, subst1 | |
# 573: 1/sqrt(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f280(c, d, a, e)) | |
yield 573, subst1 | |
subjects152.appendleft(tmp395) | |
if len(subjects152) >= 1 and subjects152[0] == -1: | |
tmp396 = subjects152.popleft() | |
# State 4194 | |
if len(subjects152) == 0: | |
# State 4195 | |
if len(subjects) == 0: | |
# 1296: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (With608(d, c, f, h, x, b, a, g)) | |
yield 1296, subst1 | |
# 1299: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f434(c, a)) | |
yield 1299, subst1 | |
# 532: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f280(c, d, a, e)) and (cons_f283(c, a)) | |
yield 532, subst1 | |
# 1302: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f435(c, a)) | |
yield 1302, subst1 | |
# 535: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f280(c, d, a, e)) and (cons_f285(c, a)) | |
yield 535, subst1 | |
# 538: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f280(c, d, a, e)) | |
yield 538, subst1 | |
# 930: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) | |
yield 930, subst1 | |
# 550: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) | |
yield 550, subst1 | |
# 1318: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f441(d, f, e, h, c, a, g)) | |
yield 1318, subst1 | |
# 1453: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) and (With671(B, d, c, f, A, C, x, b, a)) | |
yield 1453, subst1 | |
# 1326: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f412(c, a)) | |
yield 1326, subst1 | |
# 1456: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) and (With672(d, c, f, A, C, x, b, a)) | |
yield 1456, subst1 | |
# 1332: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f414(c, a)) | |
yield 1332, subst1 | |
# 1463: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f35(B, x)) and (cons_f36(C, x)) | |
yield 1463, subst1 | |
# 1465: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f34(A, x)) and (cons_f36(C, x)) | |
yield 1465, subst1 | |
# 853: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) | |
yield 853, subst1 | |
# 1120: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (With538(d, c, f, x, b, a)) | |
yield 1120, subst1 | |
# 1126: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f412(c, a)) | |
yield 1126, subst1 | |
# 1006: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f280(c, d, a, e)) | |
yield 1006, subst1 | |
# 1136: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f3(b, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) | |
yield 1136, subst1 | |
# 1021: 1/(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f280(c, d, a, e)) | |
yield 1021, subst1 | |
subjects152.appendleft(tmp396) | |
if len(subjects152) >= 1 and subjects152[0] == -3/2: | |
tmp397 = subjects152.popleft() | |
# State 4258 | |
if len(subjects152) == 0: | |
# State 4259 | |
if len(subjects) == 0: | |
# 1217: (a + c*x**2)**(-3/2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f430(c, a, g, h)) | |
yield 1217, subst1 | |
# 555: (a + c*x**2)**(-3/2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f280(c, d, a, e)) | |
yield 555, subst1 | |
# 1223: (a + c*x**2)**(-3/2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f430(c, a, g, h)) | |
yield 1223, subst1 | |
subjects152.appendleft(tmp397) | |
if len(subjects152) >= 1 and subjects152[0] == -1/3: | |
tmp398 = subjects152.popleft() | |
# State 4412 | |
if len(subjects152) == 0: | |
# State 4413 | |
if len(subjects) == 0: | |
# 1345: (a + c*x**2)**(-1/3) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f446(c, d, a, f)) and (cons_f447(c, a, g, h)) and (cons_f448(a)) | |
yield 1345, subst1 | |
# 1340: (a + c*x**2)**(-1/3) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f446(c, d, a, f)) and (cons_f447(c, a, g, h)) and (cons_f43(a)) | |
yield 1340, subst1 | |
# 625: (a + c*x**2)**(-1/3) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f310(c, d, a, e)) | |
yield 625, subst1 | |
subjects152.appendleft(tmp398) | |
if len(subjects152) >= 1 and subjects152[0] == -1/4: | |
tmp399 = subjects152.popleft() | |
# State 4423 | |
if len(subjects152) == 0: | |
# State 4424 | |
if len(subjects) == 0: | |
# 631: (a + c*x**2)**(-1/4) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f280(c, d, a, e)) | |
yield 631, subst1 | |
subjects152.appendleft(tmp399) | |
if len(subjects152) >= 1 and subjects152[0] == -3/4: | |
tmp400 = subjects152.popleft() | |
# State 4428 | |
if len(subjects152) == 0: | |
# State 4429 | |
if len(subjects) == 0: | |
# 632: (a + c*x**2)**(-3/4) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f280(c, d, a, e)) | |
yield 632, subst1 | |
subjects152.appendleft(tmp400) | |
if len(subjects152) >= 1 and subjects152[0] == 1/2: | |
tmp401 = subjects152.popleft() | |
# State 5401 | |
if len(subjects152) == 0: | |
# State 5402 | |
if len(subjects) == 0: | |
# 1138: sqrt(a + c*x**2) /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) | |
yield 1138, subst1 | |
subjects152.appendleft(tmp401) | |
if pattern_index == 27: | |
# State 4015 | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', 1) | |
except ValueError: | |
pass | |
else: | |
# State 4016 | |
if len(subjects152) == 0: | |
# State 4017 | |
if len(subjects) == 0: | |
# 641: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f84(m)) | |
yield 641, subst2 | |
# 1167: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f419(c, a, g, h)) and (cons_f418(d, f, e, h, c, a, g)) and (cons_f17(m)) | |
yield 1167, subst2 | |
# 529: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f281(m, p)) | |
yield 529, subst2 | |
# 1200: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1200, subst2 | |
# 694: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f325(m, d, a, p)) | |
yield 694, subst2 | |
# 443: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f258(m, d, a, p)) | |
yield 443, subst2 | |
# 706: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f327(d, p, f, e, m, g)) | |
yield 706, subst2 | |
# 451: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f240(m, p)) | |
yield 451, subst2 | |
# 588: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f240(m, p)) | |
yield 588, subst2 | |
# 718: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f328(m)) | |
yield 718, subst2 | |
# 463: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f262(m, p)) | |
yield 463, subst2 | |
# 723: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f329(m, p)) and (cons_f253(m, p)) | |
yield 723, subst2 | |
# 727: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f319(m, p)) | |
yield 727, subst2 | |
# 1242: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f430(c, a, g, h)) | |
yield 1242, subst2 | |
# 990: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f124(m, n)) and (cons_f336(f, e, g, d)) and (cons_f377(f, d, m)) | |
yield 990, subst2 | |
# 483: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f257(c, d, a, e)) and (cons_f244(m, p)) and (cons_f252(m)) | |
yield 483, subst2 | |
# 1253: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1253, subst2 | |
# 489: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f31(m)) and (cons_f266(m)) and (cons_f238(m, p)) | |
yield 489, subst2 | |
# 1263: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1263, subst2 | |
# 497: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f268(d)) | |
yield 497, subst2 | |
# 500: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f257(c, d, a, e)) | |
yield 500, subst2 | |
# 637: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) | |
yield 637, subst2 | |
if len(subjects152) >= 1: | |
tmp403 = [] | |
tmp403.append(subjects152.popleft()) | |
while True: | |
if len(tmp403) > 1: | |
tmp404 = create_operation_expression(associative1, tmp403) | |
elif len(tmp403) == 1: | |
tmp404 = tmp403[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp404) | |
except ValueError: | |
pass | |
else: | |
# State 4016 | |
if len(subjects152) == 0: | |
# State 4017 | |
if len(subjects) == 0: | |
# 641: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f84(m)) | |
yield 641, subst2 | |
# 1167: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f419(c, a, g, h)) and (cons_f418(d, f, e, h, c, a, g)) and (cons_f17(m)) | |
yield 1167, subst2 | |
# 529: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f281(m, p)) | |
yield 529, subst2 | |
# 1200: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f428(m, p)) | |
yield 1200, subst2 | |
# 694: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f325(m, d, a, p)) | |
yield 694, subst2 | |
# 443: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f258(m, d, a, p)) | |
yield 443, subst2 | |
# 706: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f327(d, p, f, e, m, g)) | |
yield 706, subst2 | |
# 451: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f240(m, p)) | |
yield 451, subst2 | |
# 588: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f240(m, p)) | |
yield 588, subst2 | |
# 718: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f328(m)) | |
yield 718, subst2 | |
# 463: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f262(m, p)) | |
yield 463, subst2 | |
# 723: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f329(m, p)) and (cons_f253(m, p)) | |
yield 723, subst2 | |
# 727: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f319(m, p)) | |
yield 727, subst2 | |
# 1242: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f430(c, a, g, h)) | |
yield 1242, subst2 | |
# 990: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f124(m, n)) and (cons_f336(f, e, g, d)) and (cons_f377(f, d, m)) | |
yield 990, subst2 | |
# 483: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f257(c, d, a, e)) and (cons_f244(m, p)) and (cons_f252(m)) | |
yield 483, subst2 | |
# 1253: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f242(m, p)) | |
yield 1253, subst2 | |
# 489: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f31(m)) and (cons_f266(m)) and (cons_f238(m, p)) | |
yield 489, subst2 | |
# 1263: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f270(m, p)) | |
yield 1263, subst2 | |
# 497: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f268(d)) | |
yield 497, subst2 | |
# 500: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f257(c, d, a, e)) | |
yield 500, subst2 | |
# 637: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) | |
yield 637, subst2 | |
if len(subjects152) == 0: | |
break | |
tmp403.append(subjects152.popleft()) | |
subjects152.extendleft(reversed(tmp403)) | |
if len(subjects152) >= 1: | |
tmp406 = [] | |
tmp406.append(subjects152.popleft()) | |
while True: | |
if len(tmp406) > 1: | |
tmp407 = create_operation_expression(associative1, tmp406) | |
elif len(tmp406) == 1: | |
tmp407 = tmp406[0] | |
else: | |
assert False, "Unreachable" | |
subst2 = Substitution(subst1) | |
try: | |
subst2.try_add_variable('i2.2_1', tmp407) | |
except ValueError: | |
pass | |
else: | |
# State 4028 | |
if len(subjects152) == 0: | |
# State 4029 | |
if len(subjects) == 0: | |
# 769: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f41(m, p)) and (cons_f335(m, n)) | |
yield 769, subst2 | |
# 779: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f41(m, p)) | |
yield 779, subst2 | |
# 785: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f41(m, p)) and (cons_f335(m, n)) | |
yield 785, subst2 | |
# 791: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f41(m, p)) | |
yield 791, subst2 | |
# 803: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f343(m, p)) and (cons_f345(d, p, f, e, n, g)) | |
yield 803, subst2 | |
# 808: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f343(m, p)) | |
yield 808, subst2 | |
# 813: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f343(m, p)) | |
yield 813, subst2 | |
# 819: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f150(m, n)) and (cons_f348(m, p)) | |
yield 819, subst2 | |
# 822: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f207(m, n)) | |
yield 822, subst2 | |
# 1212: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f5(p, x)) and (cons_f31(m)) and (cons_f94(m)) and (cons_f430(c, a, g, h)) | |
yield 1212, subst2 | |
# 700: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f84(m)) | |
yield 700, subst2 | |
# 447: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f41(m, p)) | |
yield 447, subst2 | |
# 578: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f280(c, d, a, e)) and (cons_f244(m, p)) and (cons_f296(m, p)) | |
yield 578, subst2 | |
# 834: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f270(m, p)) | |
yield 834, subst2 | |
# 840: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f268(d)) | |
yield 840, subst2 | |
# 459: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f17(m)) and (cons_f259(m, p)) and (cons_f260(m)) and (cons_f261(m)) | |
yield 459, subst2 | |
# 844: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) | |
yield 844, subst2 | |
# 592: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f242(m, p)) | |
yield 592, subst2 | |
# 1233: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f209(h, x)) and (cons_f244(m, p)) and (cons_f166(m)) | |
yield 1233, subst2 | |
# 467: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f263(m, p)) | |
yield 467, subst2 | |
# 598: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f298(m, p)) and (cons_f66(m)) and (cons_f299(m, p)) and (cons_f301(d, p, e, m, x, c, a)) | |
yield 598, subst2 | |
# 602: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f238(m, p)) and (cons_f302(m)) and (cons_f303(m, p)) and (cons_f301(d, p, e, m, x, c, a)) | |
yield 602, subst2 | |
# 475: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f257(c, d, a, e)) and (cons_f244(m, p)) and (cons_f264(m, p)) and (cons_f253(m, p)) | |
yield 475, subst2 | |
# 606: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f280(c, d, a, e)) and (cons_f244(m, p)) and (cons_f168(m)) and (cons_f304(m, p)) and (cons_f301(d, p, e, m, x, c, a)) | |
yield 606, subst2 | |
# 479: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f257(c, d, a, e)) and (cons_f244(m, p)) and (cons_f265(m, p)) and (cons_f238(m, p)) | |
yield 479, subst2 | |
# 610: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f280(c, d, a, e)) and (cons_f244(m, p)) and (cons_f166(m)) and (cons_f301(d, p, e, m, x, c, a)) | |
yield 610, subst2 | |
# 738: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f150(m, n)) and (cons_f332(m, p)) | |
yield 738, subst2 | |
# 995: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f124(m, n)) and (cons_f336(f, e, g, d)) | |
yield 995, subst2 | |
# 485: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f257(c, d, a, e)) and (cons_f244(m, p)) and (cons_f166(m)) | |
yield 485, subst2 | |
# 614: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f280(c, d, a, e)) and (cons_f301(d, p, e, m, x, c, a)) | |
yield 614, subst2 | |
# 618: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f305(m)) and (cons_f238(m, p)) and (cons_f301(d, p, e, m, x, c, a)) | |
yield 618, subst2 | |
# 493: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f5(p, x)) and (cons_f257(c, d, a, e)) and (cons_f31(m)) and (cons_f267(m)) and (cons_f253(m, p)) | |
yield 493, subst2 | |
# 622: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f21(m, x)) and (cons_f5(p, x)) and (cons_f280(c, d, a, e)) and (cons_f307(d, p, e, m, x, c, a)) | |
yield 622, subst2 | |
# 752: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) and (cons_f257(c, d, a, e)) and (cons_f41(m, p)) and (cons_f336(f, e, g, d)) and (cons_f335(m, n)) | |
yield 752, subst2 | |
# 757: (d + b*x)**m /; (cons_f2(a, x)) and (cons_f7(c, x)) and (cons_f27(d, x)) and (cons_f48(e, x)) and (cons_f125(f, x)) and (cons_f208(g, x)) and (cons_f21(m, x)) and (cons_f4(n, x)) and (cons_f5(p, x)) and (cons_f315(f, e, g, d)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment