Details

Time bar (total: 2.1s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
62.5%12.5%25%5
68.7%6.2%25%6
71.8%3.1%25%7
73.4%1.6%25%8
74.2%0.8%25%9
74.6%0.4%25%10
74.8%0.2%25%11
74.9%0.1%25%12
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample970.0ms (46.2%)

Results
667.0ms7376×body64valid
176.0ms497×body1024valid
64.0ms228×body512valid
40.0ms102×body256valid
8.0ms53×body128valid
1.0ms10×body64invalid

preprocess39.0ms (1.8%)

Algorithm
egg-herbie
Rules
927×fma-def_binary64
405×fma-neg_binary64
124×cancel-sign-sub-inv_binary64
87×distribute-rgt-in_binary64
63×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11813
24310
31018
42298
53618
65458
78168
813698
915228
1018358
1122558
1223648
1323688
1423688
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
Outputs
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
(*.f64 3 (*.f64 (-.f64 2 (*.f64 3 x)) x))
(*.f64 3 (*.f64 x (+.f64 2 (*.f64 x -3))))
(*.f64 x (+.f64 6 (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
Compiler

Compiled 10 to 8 computations (20% saved)

simplify32.0ms (1.5%)

Algorithm
egg-herbie
Rules
927×fma-def_binary64
405×fma-neg_binary64
124×cancel-sign-sub-inv_binary64
87×distribute-rgt-in_binary64
63×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0813
11813
24310
31018
42298
53618
65458
78168
813698
915228
1018358
1122558
1223648
1323688
1423688
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
Outputs
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
(*.f64 3 (*.f64 (-.f64 2 (*.f64 3 x)) x))
(*.f64 3 (*.f64 x (+.f64 2 (*.f64 x -3))))
(*.f64 x (+.f64 6 (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.2b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.2b
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
0.2b
(*.f64 x (fma.f64 x -9 6))
Compiler

Compiled 50 to 38 computations (24% saved)

localize3.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x -9 6)
0.1b
(*.f64 x (fma.f64 x -9 6))

series3.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(*.f64 x (fma.f64 x -9 6))
1.0ms
x
@0
(*.f64 x (fma.f64 x -9 6))
1.0ms
x
@inf
(*.f64 x (fma.f64 x -9 6))
0.0ms
x
@0
(fma.f64 x -9 6)
0.0ms
x
@-inf
(fma.f64 x -9 6)

rewrite47.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
541×pow1_binary64
530×add-sqr-sqrt_binary64
506×add-log-exp_binary64
506×log1p-expm1-u_binary64
506×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
112213
2133813
Stop Event
node limit
Counts
2 → 34
Calls
Call 1
Inputs
(*.f64 x (fma.f64 x -9 6))
(fma.f64 x -9 6)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x -9) x) (*.f64 6 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x -9)) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (fma.f64 x -9 6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 x -9 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 x -9 6)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 x -9 6)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (fma.f64 x -9 6)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -9 6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 x -9 6))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 x -9 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 x -9 6))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 6 (*.f64 x -9))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x -9) 6)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x -9) 1) 6)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x -9 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x -9 6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x -9 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x -9 6)) (pow.f64 (cbrt.f64 (fma.f64 x -9 6)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x -9 6)) 2) (cbrt.f64 (fma.f64 x -9 6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x -9 6)) (sqrt.f64 (fma.f64 x -9 6)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x -9) 3) 216) (+.f64 (*.f64 (*.f64 x -9) (*.f64 x -9)) (-.f64 36 (*.f64 (*.f64 x -9) 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x -9) (*.f64 x -9)) 36) (-.f64 (*.f64 x -9) 6))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x -9 6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x -9 6) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x -9 6)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x -9 6)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x -9 6) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x -9 6)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x -9 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x -9 6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x -9 6)))))))

simplify152.0ms (7.2%)

Algorithm
egg-herbie
Rules
803×sqr-pow_binary64
565×cube-prod_binary64
564×fabs-mul_binary64
542×associate-*l*_binary64
541×pow-sqr_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
012171
123171
236144
362144
4154144
5471144
61686144
72944144
83148144
93361144
103581144
113887144
124287144
134795144
145356144
156046144
166881144
177277144
187567144
197845144
207919144
217955144
Stop Event
node limit
Counts
58 → 45
Calls
Call 1
Inputs
(*.f64 6 x)
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(*.f64 -9 (pow.f64 x 2))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(*.f64 -9 (pow.f64 x 2))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
6
(+.f64 (*.f64 -9 x) 6)
(+.f64 (*.f64 -9 x) 6)
(+.f64 (*.f64 -9 x) 6)
(*.f64 -9 x)
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 -9 x))
(*.f64 -9 x)
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 -9 x))
Outputs
(*.f64 6 x)
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 x -9))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 x -9))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
6
(+.f64 (*.f64 -9 x) 6)
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 (*.f64 -9 x) 6)
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 (*.f64 -9 x) 6)
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(*.f64 -9 x)
(*.f64 x -9)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(*.f64 -9 x)
(*.f64 x -9)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)

prune56.0ms (2.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New39645
Fresh101
Picked011
Done000
Total40747
Error
0.0b
Counts
47 → 7
Alt Table
StatusErrorProgram
0.2b
(*.f64 x (fma.f64 x -9 6))
41.4b
(cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -9 6)) 3))
1.4b
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3)
0.2b
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
40.5b
(pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) 2)
10.7b
(*.f64 x (pow.f64 (sqrt.f64 (fma.f64 x -9 6)) 2))
8.7b
(*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3)))
Compiler

Compiled 523 to 400 computations (23.5% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
0.2b
(*.f64 -9 (pow.f64 x 2))

series3.0ms (0.1%)

Counts
2 → 3
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(*.f64 -9 (pow.f64 x 2))
1.0ms
x
@inf
(*.f64 -9 (pow.f64 x 2))
1.0ms
x
@inf
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
0.0ms
x
@0
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
0.0ms
x
@-inf
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))

rewrite57.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
908×pow1_binary64
852×add-log-exp_binary64
851×log1p-expm1-u_binary64
851×expm1-log1p-u_binary64
836×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0918
119718
2236118
Stop Event
node limit
Counts
2 → 48
Calls
Call 1
Inputs
(*.f64 -9 (pow.f64 x 2))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 -9 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -9 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -9 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 -9)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (*.f64 x x) 3) -729) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) 81))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -9) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) -729))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -9 (*.f64 x x))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (*.f64 x x) 36) (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))) (/.f64 (*.f64 (pow.f64 x 4) 81) (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) (pow.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 2) (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) (sqrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (pow.f64 x 3) 216) (*.f64 (pow.f64 (*.f64 x x) 3) -729)) (/.f64 1 (+.f64 (*.f64 (*.f64 x x) 36) (-.f64 (*.f64 (pow.f64 x 4) 81) (*.f64 x (*.f64 6 (*.f64 -9 (*.f64 x x))))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81)) (/.f64 1 (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 (*.f64 x x) 36) (-.f64 (*.f64 (pow.f64 x 4) 81) (*.f64 x (*.f64 6 (*.f64 -9 (*.f64 x x)))))) (+.f64 (*.f64 (pow.f64 x 3) 216) (*.f64 (pow.f64 (*.f64 x x) 3) -729))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))) (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 3) 216) (*.f64 (pow.f64 (*.f64 x x) 3) -729)) (+.f64 (*.f64 (*.f64 x x) 36) (-.f64 (*.f64 (pow.f64 x 4) 81) (*.f64 x (*.f64 6 (*.f64 -9 (*.f64 x x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 3) 216) (*.f64 (pow.f64 (*.f64 x x) 3) -729)) (+.f64 (*.f64 (pow.f64 x 4) 81) (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 x (*.f64 6 (*.f64 -9 (*.f64 x x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81)) (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (*.f64 (pow.f64 x 3) 216) (*.f64 (pow.f64 (*.f64 x x) 3) -729))) (neg.f64 (+.f64 (*.f64 (*.f64 x x) 36) (-.f64 (*.f64 (pow.f64 x 4) 81) (*.f64 x (*.f64 6 (*.f64 -9 (*.f64 x x))))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81))) (neg.f64 (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 x 4) 81) (*.f64 (*.f64 x x) 36)) (-.f64 (*.f64 -9 (*.f64 x x)) (*.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -9 (*.f64 x x) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 6 (*.f64 -9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -9 (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 6 x (*.f64 -9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 -9 (*.f64 x x)) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x 6)) 2) (cbrt.f64 (*.f64 x 6)) (*.f64 -9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 x 4) 81)) (cbrt.f64 (*.f64 -9 (*.f64 x x))) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x 6)) (sqrt.f64 (*.f64 x 6)) (*.f64 -9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (sqrt.f64 -9)) (*.f64 x (sqrt.f64 -9)) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))))

simplify129.0ms (6.2%)

Algorithm
egg-herbie
Rules
1123×sqr-pow_binary64
565×cube-prod_binary64
564×fabs-mul_binary64
541×pow-sqr_binary64
513×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
11518
22618
35118
412418
536718
6138318
7227218
8243618
9264918
10286918
11316918
12356918
13405718
14461818
15530818
16614118
17653718
18682918
19710318
20718118
21721718
Stop Event
node limit
Counts
51 → 51
Calls
Call 1
Inputs
(*.f64 6 x)
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
Outputs
(*.f64 6 x)
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 x -9))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 x -9))

prune61.0ms (2.9%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New44751
Fresh325
Picked101
Done011
Total481058
Error
0.0b
Counts
58 → 10
Alt Table
StatusErrorProgram
30.8b
(/.f64 1 (/.f64 (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))) (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81))))
10.7b
(*.f64 x (pow.f64 (sqrt.f64 (fma.f64 x -9 6)) 2))
1.4b
(pow.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 3)
30.5b
(fma.f64 (sqrt.f64 (*.f64 x 6)) (sqrt.f64 (*.f64 x 6)) (*.f64 -9 (*.f64 x x)))
0.2b
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
0.2b
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))
14.4b
(+.f64 (*.f64 6 x) (cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) -729)))
0.2b
(*.f64 x (fma.f64 x -9 6))
30.7b
(-.f64 (/.f64 (*.f64 (*.f64 x x) 36) (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))) (/.f64 (*.f64 (pow.f64 x 4) 81) (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))))
8.7b
(*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3)))
Compiler

Compiled 1046 to 695 computations (33.6% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
0.2b
(*.f64 -9 (*.f64 x x))

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@0
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
0.0ms
x
@-inf
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
0.0ms
x
@0
(*.f64 -9 (*.f64 x x))
0.0ms
x
@inf
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
0.0ms
x
@inf
(*.f64 -9 (*.f64 x x))

rewrite49.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
618×pow1_binary64
577×add-log-exp_binary64
577×log1p-expm1-u_binary64
577×expm1-log1p-u_binary64
566×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0718
114418
2159018
Stop Event
node limit
Counts
2 → 32
Calls
Call 1
Inputs
(*.f64 -9 (*.f64 x x))
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 -9 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -9 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -9 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -9 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 -9)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 81 (pow.f64 x 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -9) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -9 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -9 (*.f64 x x))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -9 (*.f64 x x)) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x 6) 1) (*.f64 -9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x 6 (*.f64 -9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))) (pow.f64 (cbrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))) 2) (cbrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))) (sqrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x 6) 3) (pow.f64 (*.f64 -9 (*.f64 x x)) 3)) (+.f64 (*.f64 (*.f64 x 6) (*.f64 x 6)) (-.f64 (*.f64 81 (pow.f64 x 4)) (*.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x 6) (*.f64 x 6)) (*.f64 81 (pow.f64 x 4))) (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x 6 (*.f64 -9 (*.f64 x x)))))))))

simplify154.0ms (7.3%)

Algorithm
egg-herbie
Rules
801×sqr-pow_binary64
567×fabs-mul_binary64
565×cube-prod_binary64
541×pow-sqr_binary64
540×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
09201
118201
232192
369174
4166174
5472174
61680174
72915174
83119174
93332174
103552174
113857174
124259174
134767174
145330174
156022174
166859174
177253174
187543174
197821174
207899174
217933174
Stop Event
node limit
Counts
56 → 38
Calls
Call 1
Inputs
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 6 x)
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(*.f64 -9 (pow.f64 x 2))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(*.f64 -9 (pow.f64 x 2))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
Outputs
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 6 x)
(*.f64 x 6)
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))
(*.f64 x (+.f64 (*.f64 -9 x) 6))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))
(*.f64 x (+.f64 (*.f64 -9 x) 6))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))
(*.f64 x (+.f64 (*.f64 -9 x) 6))
(*.f64 x (fma.f64 -9 x 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))
(*.f64 x (+.f64 (*.f64 -9 x) 6))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))
(*.f64 x (+.f64 (*.f64 -9 x) 6))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))
(*.f64 x (+.f64 (*.f64 -9 x) 6))
(*.f64 x (fma.f64 -9 x 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))
(*.f64 x (+.f64 (*.f64 -9 x) 6))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))
(*.f64 x (+.f64 (*.f64 -9 x) 6))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))
(*.f64 x (+.f64 (*.f64 -9 x) 6))
(*.f64 x (fma.f64 -9 x 6))

prune60.0ms (2.9%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New37138
Fresh178
Picked011
Done011
Total381048
Error
0.0b
Counts
48 → 10
Alt Table
StatusErrorProgram
0.2b
(*.f64 x (fma.f64 x -9 6))
14.4b
(fma.f64 x 6 (cbrt.f64 (pow.f64 (*.f64 -9 (*.f64 x x)) 3)))
30.8b
(/.f64 1 (/.f64 (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))) (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81))))
10.7b
(*.f64 x (pow.f64 (sqrt.f64 (fma.f64 x -9 6)) 2))
1.4b
(pow.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 3)
30.5b
(fma.f64 (sqrt.f64 (*.f64 x 6)) (sqrt.f64 (*.f64 x 6)) (*.f64 -9 (*.f64 x x)))
0.2b
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
0.2b
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))
30.7b
(-.f64 (/.f64 (*.f64 (*.f64 x x) 36) (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))) (/.f64 (*.f64 (pow.f64 x 4) 81) (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))))
8.7b
(*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3)))
Compiler

Compiled 704 to 472 computations (33% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))
0.0ms
x
@-inf
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))
0.0ms
x
@0
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))

rewrite44.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
602×pow1_binary64
562×add-log-exp_binary64
562×log1p-expm1-u_binary64
562×expm1-log1p-u_binary64
551×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
114211
2155211
Stop Event
node limit
Counts
1 → 21
Calls
Call 1
Inputs
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -9 (*.f64 x x)) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 -9 (*.f64 x x)) 1) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) (pow.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 2) (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) (sqrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 -9 (*.f64 x x)) 3) (pow.f64 (*.f64 x 6) 3)) (+.f64 (*.f64 (*.f64 -9 (*.f64 x x)) (*.f64 -9 (*.f64 x x))) (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (*.f64 -9 (*.f64 x x)) (*.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 -9 (*.f64 x x)) (*.f64 -9 (*.f64 x x))) (*.f64 (*.f64 x x) 36)) (-.f64 (*.f64 -9 (*.f64 x x)) (*.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))))))))

simplify147.0ms (7%)

Algorithm
egg-herbie
Rules
802×sqr-pow_binary64
565×cube-prod_binary64
561×fabs-mul_binary64
542×associate-*l*_binary64
541×pow-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
09117
118117
232108
36990
416690
547890
6169090
7294390
8314790
9336090
10358090
11388790
12428790
13479790
14535690
15604290
16688190
17727390
18756590
19784390
20791590
21794990
Stop Event
node limit
Counts
33 → 26
Calls
Call 1
Inputs
(*.f64 6 x)
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(*.f64 -9 (pow.f64 x 2))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(*.f64 -9 (pow.f64 x 2))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
Outputs
(*.f64 6 x)
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (+.f64 6 (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (+.f64 6 (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (+.f64 6 (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 x -9))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (+.f64 6 (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (+.f64 6 (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (+.f64 6 (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 x -9))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (+.f64 6 (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (+.f64 6 (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (+.f64 6 (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))

prune28.0ms (1.3%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New25126
Fresh167
Picked011
Done022
Total261036
Error
0.0b
Counts
36 → 10
Alt Table
StatusErrorProgram
0.2b
(*.f64 x (fma.f64 x -9 6))
14.4b
(fma.f64 x 6 (cbrt.f64 (pow.f64 (*.f64 -9 (*.f64 x x)) 3)))
30.8b
(/.f64 1 (/.f64 (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))) (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81))))
10.7b
(*.f64 x (pow.f64 (sqrt.f64 (fma.f64 x -9 6)) 2))
30.5b
(fma.f64 (sqrt.f64 (*.f64 x 6)) (sqrt.f64 (*.f64 x 6)) (*.f64 -9 (*.f64 x x)))
0.2b
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
0.2b
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))
1.4b
(pow.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 3)
30.7b
(-.f64 (/.f64 (*.f64 (*.f64 x x) 36) (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))) (/.f64 (*.f64 (pow.f64 x 4) 81) (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))))
8.7b
(*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3)))
Compiler

Compiled 465 to 300 computations (35.5% saved)

regimes26.0ms (1.2%)

Accuracy

Total -53.6b remaining (-29805.7%)

Threshold costs -53.6b (-29805.7%)

Counts
17 → 1
Calls
Call 1
Inputs
(pow.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 3)
(fma.f64 x 6 (cbrt.f64 (pow.f64 (*.f64 -9 (*.f64 x x)) 3)))
(/.f64 1 (/.f64 (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x))) (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81))))
(pow.f64 (cbrt.f64 (fma.f64 -9 (*.f64 x x) (*.f64 x 6))) 3)
(fma.f64 (sqrt.f64 (*.f64 x 6)) (sqrt.f64 (*.f64 x 6)) (*.f64 -9 (*.f64 x x)))
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 x 6))
(+.f64 (*.f64 6 x) (cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) -729)))
(-.f64 (/.f64 (*.f64 (*.f64 x x) 36) (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))) (/.f64 (*.f64 (pow.f64 x 4) 81) (-.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))))
(cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -9 6)) 3))
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3)
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) 2)
(*.f64 x (pow.f64 (sqrt.f64 (fma.f64 x -9 6)) 2))
(*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3)))
(*.f64 x (fma.f64 x -9 6))
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
Outputs
(*.f64 x (fma.f64 x -9 6))
Results
10.0ms0.2bx
10.0ms0.2b(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
Compiler

Compiled 211 to 144 computations (31.8% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
178
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 x (fma.f64 x -9 6))
Outputs
(*.f64 x (fma.f64 x -9 6))

end15.0ms (0.7%)

Stop Event
fuel
Compiler

Compiled 14 to 10 computations (28.6% saved)

Profiling

Loading profile data...