Details

Time bar (total: 8.2s)

analyze3.0ms (0%)

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)

sample788.0ms (9.6%)

Results
645.0ms7565×body256valid
96.0ms457×body1024valid
32.0ms234×body512valid
1.0msbody256invalid

preprocess65.0ms (0.8%)

Algorithm
egg-herbie
Rules
927×fma-def_binary64
395×fma-neg_binary64
127×cancel-sign-sub-inv_binary64
83×distribute-rgt-in_binary64
66×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11813
24310
31018
42278
53618
65458
78168
813698
915118
1018278
1122458
1223548
1323588
1423588
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 11 to 9 computations (18.2% saved)

simplify51.0ms (0.6%)

Algorithm
egg-herbie
Rules
927×fma-def_binary64
395×fma-neg_binary64
127×cancel-sign-sub-inv_binary64
83×distribute-rgt-in_binary64
66×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0813
11813
24310
31018
42278
53618
65458
78168
813698
915118
1018278
1122458
1223548
1323588
1423588
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))

eval1.0ms (0%)

Compiler

Compiled 16 to 12 computations (25% saved)

prune1.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.2b
Counts
3 → 2
Alt Table
Click to see full 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 17 to 13 computations (23.5% saved)

localize6.0ms (0.1%)

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))
Compiler

Compiled 14 to 10 computations (28.6% saved)

series3.0ms (0%)

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
@-inf
(fma.f64 x -9 6)
0.0ms
x
@inf
(fma.f64 x -9 6)

rewrite54.0ms (0.7%)

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)))))))

simplify191.0ms (2.3%)

Algorithm
egg-herbie
Rules
778×sqr-pow_binary64
565×cube-prod_binary64
558×fabs-mul_binary64
535×associate-*l*_binary64
434×unswap-sqr_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
012171
123171
236144
362144
4156144
5471144
61719144
72966144
83170144
93383144
103603144
113914144
124314144
134829144
145395144
156085144
166918144
177310144
187600144
197878144
207954144
217990144
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)

localize12.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 2 (*.f64 x 3))
0.1b
(*.f64 3 (-.f64 2 (*.f64 x 3)))
0.1b
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
Compiler

Compiled 28 to 22 computations (21.4% saved)

series4.0ms (0%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
1.0ms
x
@0
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
1.0ms
x
@inf
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
0.0ms
x
@0
(*.f64 3 (-.f64 2 (*.f64 x 3)))
0.0ms
x
@-inf
(*.f64 3 (-.f64 2 (*.f64 x 3)))

rewrite70.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
887×pow1_binary64
827×add-log-exp_binary64
826×log1p-expm1-u_binary64
826×expm1-log1p-u_binary64
813×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0830
117730
2222730
Stop Event
node limit
Counts
3 → 58
Calls
Call 1
Inputs
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
(*.f64 3 (-.f64 2 (*.f64 x 3)))
(-.f64 2 (*.f64 x 3))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 3) (*.f64 x (-.f64 2 (*.f64 3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (*.f64 3 (-.f64 2 (*.f64 3 x))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 3 (-.f64 2 (*.f64 3 x))) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x))))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 6 (*.f64 (*.f64 x -3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 6 (*.f64 3 (*.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 3 (-.f64 2 (*.f64 3 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 8 (*.f64 27 (pow.f64 x 3))) 3) (+.f64 4 (+.f64 (*.f64 9 (*.f64 x x)) (*.f64 6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3) (+.f64 2 (*.f64 3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 3 (-.f64 8 (*.f64 27 (pow.f64 x 3)))) (+.f64 4 (+.f64 (*.f64 9 (*.f64 x x)) (*.f64 6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 3 (-.f64 4 (*.f64 9 (*.f64 x x)))) (+.f64 2 (*.f64 3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 3 (-.f64 2 (*.f64 3 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 3 (-.f64 2 (*.f64 3 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 3 (-.f64 2 (*.f64 3 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 3 (-.f64 2 (*.f64 3 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 9 (pow.f64 (-.f64 2 (*.f64 3 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 3) (-.f64 2 (*.f64 3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 3 (-.f64 2 (*.f64 3 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 3 (-.f64 2 (*.f64 3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 3 (-.f64 2 (*.f64 3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 3 (-.f64 2 (*.f64 3 x)))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 2 (*.f64 x -3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 2 (*.f64 (*.f64 x -3) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x -3) 2)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 2 (*.f64 3 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 2 (*.f64 3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 2 (*.f64 3 x))) (pow.f64 (cbrt.f64 (-.f64 2 (*.f64 3 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 2 (*.f64 3 x))) 2) (cbrt.f64 (-.f64 2 (*.f64 3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 2 (*.f64 3 x))) (sqrt.f64 (-.f64 2 (*.f64 3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 8 (*.f64 27 (pow.f64 x 3))) (/.f64 1 (+.f64 4 (+.f64 (*.f64 9 (*.f64 x x)) (*.f64 6 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1 (+.f64 2 (*.f64 3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 4 (+.f64 (*.f64 9 (*.f64 x x)) (*.f64 6 x))) (-.f64 8 (*.f64 27 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 2 (*.f64 3 x)) (-.f64 4 (*.f64 9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 8 (*.f64 27 (pow.f64 x 3))) (+.f64 4 (+.f64 (*.f64 9 (*.f64 x x)) (*.f64 6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (+.f64 2 (*.f64 3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 8 (*.f64 27 (pow.f64 x 3)))) (neg.f64 (+.f64 4 (+.f64 (*.f64 9 (*.f64 x x)) (*.f64 6 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 4 (*.f64 9 (*.f64 x x)))) (neg.f64 (+.f64 2 (*.f64 3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 8 (pow.f64 (*.f64 x -3) 3)) (+.f64 4 (-.f64 (*.f64 (*.f64 x -3) (*.f64 x -3)) (*.f64 2 (*.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 4 (*.f64 (*.f64 x -3) (*.f64 x -3))) (-.f64 2 (*.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 2 (*.f64 3 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 2 (*.f64 3 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 2 (*.f64 3 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 2 (*.f64 3 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 2 (*.f64 3 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 2 (*.f64 3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 2 (*.f64 3 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 2 (*.f64 3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 2 (*.f64 3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 2 (*.f64 3 x))))))))

simplify160.0ms (1.9%)

Algorithm
egg-herbie
Rules
778×sqr-pow_binary64
597×associate-*l*_binary64
540×cube-prod_binary64
531×fabs-mul_binary64
434×unswap-sqr_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
016225
129225
243198
373198
4180198
5540198
61899198
73170198
83374198
93588198
103808198
114120198
124520198
135033198
145601198
156283198
167120198
177516198
187802198
Stop Event
node limit
Counts
94 → 75
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))
2
(+.f64 (*.f64 -3 x) 2)
(+.f64 (*.f64 -3 x) 2)
(+.f64 (*.f64 -3 x) 2)
(*.f64 -3 x)
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(*.f64 -3 x)
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 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)
2
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(*.f64 -3 x)
(*.f64 x -3)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(*.f64 -3 x)
(*.f64 x -3)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)

eval36.0ms (0.4%)

Compiler

Compiled 1326 to 1034 computations (22% saved)

prune30.0ms (0.4%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New10614120
Fresh000
Picked101
Done101
Total10814122
Error
0.1b
Counts
122 → 14
Alt Table
Click to see full alt table
StatusErrorProgram
6.9b
(*.f64 (sqrt.f64 (*.f64 9 (pow.f64 (-.f64 2 (*.f64 3 x)) 2))) x)
42.7b
(*.f64 (*.f64 x -9) x)
0.3b
(*.f64 (*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1 (+.f64 2 (*.f64 3 x))))) x)
7.5b
(*.f64 (pow.f64 (sqrt.f64 (*.f64 3 (-.f64 2 (*.f64 3 x)))) 2) x)
41.1b
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x)))) 3))
19.1b
(*.f64 x 6)
0.2b
(*.f64 (+.f64 (*.f64 -9 x) 6) x)
42.6b
(*.f64 -9 (pow.f64 x 2))
42.2b
(pow.f64 (sqrt.f64 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x))))) 2)
1.4b
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x))))) 3)
0.3b
(*.f64 (/.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3) (+.f64 2 (*.f64 3 x))) x)
42.7b
(*.f64 (*.f64 3 (*.f64 x -3)) x)
0.2b
(*.f64 (*.f64 3 (fma.f64 x -3 2)) x)
41.3b
(cbrt.f64 (*.f64 (pow.f64 (*.f64 3 (-.f64 2 (*.f64 3 x))) 3) (pow.f64 x 3)))
Compiler

Compiled 318 to 258 computations (18.9% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

Compiled 19 to 14 computations (26.3% saved)

series2.0ms (0%)

Counts
2 → 21
Calls

6 calls:

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

rewrite68.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
750×pow1_binary64
705×add-log-exp_binary64
705×log1p-expm1-u_binary64
705×expm1-log1p-u_binary64
694×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify193.0ms (2.3%)

Algorithm
egg-herbie
Rules
778×sqr-pow_binary64
565×cube-prod_binary64
559×fabs-mul_binary64
535×associate-*l*_binary64
434×unswap-sqr_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
011168
122156
236129
362129
4156129
5471129
61719129
72966129
83170129
93383129
103603129
113914129
124314129
134829129
145395129
156083129
166916129
177310129
187602129
197880129
207956129
217992129
Stop Event
node limit
Counts
74 → 62
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 -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 -9 x)
(*.f64 x -9)
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 x -9))
(fma.f64 x -9 6)
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 x -9))
(fma.f64 x -9 6)
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 x -9))
(fma.f64 x -9 6)
(*.f64 -9 x)
(*.f64 x -9)
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 x -9))
(fma.f64 x -9 6)
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 x -9))
(fma.f64 x -9 6)
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 x -9))
(fma.f64 x -9 6)

localize6.0ms (0.1%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

localize62.0ms (0.8%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3)
0.1b
(*.f64 (/.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3) (+.f64 2 (*.f64 3 x))) x)
0.1b
(/.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3) (+.f64 2 (*.f64 3 x)))
0.1b
(*.f64 9 (*.f64 x x))
Compiler

Compiled 70 to 47 computations (32.9% saved)

series7.0ms (0.1%)

Counts
4 → 48
Calls

12 calls:

TimeVariablePointExpression
2.0ms
x
@inf
(*.f64 (/.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3) (+.f64 2 (*.f64 3 x))) x)
1.0ms
x
@inf
(/.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3) (+.f64 2 (*.f64 3 x)))
1.0ms
x
@0
(*.f64 9 (*.f64 x x))
1.0ms
x
@0
(*.f64 (/.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3) (+.f64 2 (*.f64 3 x))) x)
1.0ms
x
@-inf
(*.f64 (/.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3) (+.f64 2 (*.f64 3 x))) x)

rewrite114.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
740×log-prod_binary64
440×prod-diff_binary64
266×fma-def_binary64
254×expm1-udef_binary64
254×log1p-udef_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01467
131543
2421841
Stop Event
node limit
Counts
4 → 117
Calls
Call 1
Inputs
(*.f64 9 (*.f64 x x))
(/.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3) (+.f64 2 (*.f64 3 x)))
(*.f64 (/.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3) (+.f64 2 (*.f64 3 x))) x)
(*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 9) (*.f64 x x))) (cbrt.f64 (pow.f64 (exp.f64 9) (*.f64 x x))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 9) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 9) (*.f64 x x)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 9) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.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 (*.f64 x 3) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 x 3)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 729 (pow.f64 (*.f64 x x) 3)) 1/3)))) (#(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 log.f64 (+.f64 1 (expm1.f64 (*.f64 9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 729 (pow.f64 (*.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 exp.f64 (*.f64 (log.f64 (*.f64 9 (*.f64 x x))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 3 (+.f64 2 (*.f64 -3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x))))) (cbrt.f64 (exp.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x))))))) (log.f64 (cbrt.f64 (exp.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x)))))) (log.f64 (sqrt.f64 (exp.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 4 (*.f64 (fma.f64 x 3 2) 1/3)) (/.f64 (*.f64 9 (*.f64 x x)) (*.f64 (fma.f64 x 3 2) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (*.f64 x x) -9 4) (/.f64 1 (*.f64 (fma.f64 x 3 2) 1/3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 3 (/.f64 1 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 3 (+.f64 2 (*.f64 -3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 3 (*.f64 (fma.f64 (*.f64 x x) -9 4) (/.f64 1 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3) (/.f64 1 (fma.f64 x 3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 3 (+.f64 2 (*.f64 -3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 9 (pow.f64 (fma.f64 (*.f64 x x) -9 4) 2))) (*.f64 (cbrt.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) (/.f64 1 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x)))) (pow.f64 (cbrt.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x)))) 2) (cbrt.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) (*.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) (/.f64 1 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x)))) (sqrt.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) -3) (/.f64 1 (neg.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x 3 2)) (*.f64 (fma.f64 (*.f64 x x) -9 4) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 2 (*.f64 -3 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 (*.f64 x x) -9 4) 1) (/.f64 3 (fma.f64 x 3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 9 (pow.f64 (fma.f64 (*.f64 x x) -9 4) 2))) 1) (/.f64 (cbrt.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) (fma.f64 x 3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) 1) (/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) (fma.f64 x 3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 (*.f64 x x) -9 4) (cbrt.f64 (pow.f64 (fma.f64 x 3 2) 2))) (/.f64 3 (cbrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 3 (cbrt.f64 (pow.f64 (fma.f64 x 3 2) 2))) (/.f64 (fma.f64 (*.f64 x x) -9 4) (cbrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 (fma.f64 x 3 2) 2))) (/.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3) (cbrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 9 (pow.f64 (fma.f64 (*.f64 x x) -9 4) 2))) (cbrt.f64 (pow.f64 (fma.f64 x 3 2) 2))) (cbrt.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) (cbrt.f64 (pow.f64 (fma.f64 x 3 2) 2))) (/.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) (cbrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 (*.f64 x x) -9 4) (sqrt.f64 (fma.f64 x 3 2))) (/.f64 3 (sqrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 3 (sqrt.f64 (fma.f64 x 3 2))) (/.f64 (fma.f64 (*.f64 x x) -9 4) (sqrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (fma.f64 x 3 2))) (/.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3) (sqrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (*.f64 9 (pow.f64 (fma.f64 (*.f64 x x) -9 4) 2))) (sqrt.f64 (fma.f64 x 3 2))) (/.f64 (cbrt.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) (sqrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3) (fma.f64 27 (pow.f64 x 3) 8)) (fma.f64 (*.f64 x 3) (fma.f64 x 3 -2) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3) (fma.f64 (*.f64 x x) -9 4)) (+.f64 2 (*.f64 -3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (*.f64 3 (+.f64 2 (*.f64 -3 x)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3) (neg.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3) 3) (pow.f64 (fma.f64 x 3 2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x)))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (*.f64 3 (+.f64 2 (*.f64 -3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 3 (+.f64 2 (*.f64 -3 x))))) (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 3 (+.f64 2 (*.f64 -3 x))))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (*.f64 3 (+.f64 2 (*.f64 -3 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 3 (+.f64 2 (*.f64 -3 x)))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (*.f64 3 (+.f64 2 (*.f64 -3 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 x (*.f64 3 (+.f64 2 (*.f64 -3 x)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 x (/.f64 1 (*.f64 3 (+.f64 2 (*.f64 -3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3) (/.f64 (fma.f64 x 3 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x 3 2) (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) (fma.f64 x 3 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3))) (neg.f64 (fma.f64 x 3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) 1) (fma.f64 x 3 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) (cbrt.f64 (pow.f64 (fma.f64 x 3 2) 2))) (cbrt.f64 (fma.f64 x 3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) (sqrt.f64 (fma.f64 x 3 2))) (sqrt.f64 (fma.f64 x 3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) x) (*.f64 (fma.f64 x 3 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) -3) x) (neg.f64 (fma.f64 x 3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (fma.f64 (*.f64 x x) -9 4)) (*.f64 (fma.f64 x 3 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) -3)) (neg.f64 (fma.f64 x 3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 3 (+.f64 2 (*.f64 -3 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 3 (+.f64 2 (*.f64 -3 x)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 3 (+.f64 2 (*.f64 -3 x))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (*.f64 3 (+.f64 2 (*.f64 -3 x))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (*.f64 3 (+.f64 2 (*.f64 -3 x)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 3 (+.f64 2 (*.f64 -3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 3 (+.f64 2 (*.f64 -3 x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 3 (+.f64 2 (*.f64 -3 x)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x))) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 3 (+.f64 2 (*.f64 -3 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 3 (+.f64 2 (*.f64 -3 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 3 (+.f64 2 (*.f64 -3 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 3 (+.f64 2 (*.f64 -3 x))))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 12 (*.f64 (*.f64 (*.f64 x x) -9) 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 12 (*.f64 3 (*.f64 (*.f64 x x) -9)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 3) (fma.f64 (*.f64 x x) -9 4))) (cbrt.f64 (pow.f64 (exp.f64 3) (fma.f64 (*.f64 x x) -9 4))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 3) (fma.f64 (*.f64 x x) -9 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 3) (fma.f64 (*.f64 x x) -9 4)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 3) (fma.f64 (*.f64 x x) -9 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 64 (*.f64 729 (pow.f64 (*.f64 x x) 3))) 3) (+.f64 16 (fma.f64 81 (pow.f64 x 4) (*.f64 36 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 16 (*.f64 81 (pow.f64 x 4))) 3) (fma.f64 9 (*.f64 x x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 3 (-.f64 64 (*.f64 729 (pow.f64 (*.f64 x x) 3)))) (+.f64 16 (fma.f64 81 (pow.f64 x 4) (*.f64 36 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 3 (-.f64 16 (*.f64 81 (pow.f64 x 4)))) (fma.f64 9 (*.f64 x x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 9 (pow.f64 (fma.f64 (*.f64 x x) -9 4) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 3) (fma.f64 (*.f64 x x) -9 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) 1))))))

simplify227.0ms (2.8%)

Algorithm
egg-herbie
Rules
2020×unswap-sqr_binary64
1080×sqr-pow_binary64
634×fabs-mul_binary64
612×pow-sqr_binary64
610×cube-prod_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
018360
132342
255315
3105315
4277315
5867315
61203315
71642315
81745315
91879315
102048315
112289315
122604315
132976315
143432315
154015315
164725315
175581315
186005315
196321315
206629315
216709315
226743315
Stop Event
node limit
Counts
165 → 136
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))
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))
(*.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)))
12
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(*.f64 -27 (pow.f64 x 2))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(*.f64 -27 (pow.f64 x 2))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 -27 (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))
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)
(*.f64 6 x)
(*.f64 x 6)
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 (*.f64 x x) -9)
(*.f64 x (*.f64 x -9))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 (*.f64 x x) -9)
(*.f64 x (*.f64 x -9))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
12
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)
(*.f64 -27 (pow.f64 x 2))
(*.f64 (*.f64 x x) -27)
(*.f64 x (*.f64 x -27))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)
(*.f64 -27 (pow.f64 x 2))
(*.f64 (*.f64 x x) -27)
(*.f64 x (*.f64 x -27))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)

localize18.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x -3 2)
0.1b
(*.f64 3 (fma.f64 x -3 2))
0.1b
(*.f64 (*.f64 3 (fma.f64 x -3 2)) x)
Compiler

Compiled 23 to 18 computations (21.7% saved)

series7.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
2.0ms
x
@-inf
(*.f64 (*.f64 3 (fma.f64 x -3 2)) x)
1.0ms
x
@0
(*.f64 (*.f64 3 (fma.f64 x -3 2)) x)
1.0ms
x
@inf
(*.f64 (*.f64 3 (fma.f64 x -3 2)) x)
0.0ms
x
@0
(*.f64 3 (fma.f64 x -3 2))
0.0ms
x
@inf
(*.f64 3 (fma.f64 x -3 2))

rewrite142.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
706×pow1_binary64
656×add-log-exp_binary64
655×log1p-expm1-u_binary64
655×expm1-log1p-u_binary64
645×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify172.0ms (2.1%)

Algorithm
egg-herbie
Rules
778×sqr-pow_binary64
597×associate-*l*_binary64
540×cube-prod_binary64
531×fabs-mul_binary64
434×unswap-sqr_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
016225
129225
243198
373198
4180198
5540198
61899198
73170198
83374198
93588198
103808198
114120198
124520198
135033198
145601198
156283198
167120198
177516198
187802198
Stop Event
node limit
Counts
83 → 64
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))
2
(+.f64 (*.f64 -3 x) 2)
(+.f64 (*.f64 -3 x) 2)
(+.f64 (*.f64 -3 x) 2)
(*.f64 -3 x)
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(*.f64 -3 x)
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 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)
2
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(*.f64 -3 x)
(*.f64 x -3)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(*.f64 -3 x)
(*.f64 x -3)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)

localize38.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (*.f64 3 (-.f64 2 (*.f64 3 x))))
0.1b
(*.f64 3 (-.f64 2 (*.f64 3 x)))
0.1b
(*.f64 (pow.f64 (sqrt.f64 (*.f64 3 (-.f64 2 (*.f64 3 x)))) 2) x)
0.8b
(pow.f64 (sqrt.f64 (*.f64 3 (-.f64 2 (*.f64 3 x)))) 2)
Compiler

Compiled 49 to 41 computations (16.3% saved)

series57.0ms (0.7%)

Counts
4 → 32
Calls

12 calls:

TimeVariablePointExpression
44.0ms
x
@inf
(*.f64 (pow.f64 (sqrt.f64 (*.f64 3 (-.f64 2 (*.f64 3 x)))) 2) x)
3.0ms
x
@inf
(pow.f64 (sqrt.f64 (*.f64 3 (-.f64 2 (*.f64 3 x)))) 2)
2.0ms
x
@0
(pow.f64 (sqrt.f64 (*.f64 3 (-.f64 2 (*.f64 3 x)))) 2)
1.0ms
x
@0
(*.f64 (pow.f64 (sqrt.f64 (*.f64 3 (-.f64 2 (*.f64 3 x)))) 2) x)
1.0ms
x
@-inf
(*.f64 (pow.f64 (sqrt.f64 (*.f64 3 (-.f64 2 (*.f64 3 x)))) 2) x)

rewrite149.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
944×pow1_binary64
881×add-log-exp_binary64
880×log1p-expm1-u_binary64
880×expm1-log1p-u_binary64
98×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01045
122245
2244445
Stop Event
node limit
Counts
4 → 88
Calls
Call 1
Inputs
(pow.f64 (sqrt.f64 (*.f64 3 (-.f64 2 (*.f64 3 x)))) 2)
(*.f64 (pow.f64 (sqrt.f64 (*.f64 3 (-.f64 2 (*.f64 3 x)))) 2) x)
(*.f64 3 (-.f64 2 (*.f64 3 x)))
(sqrt.f64 (*.f64 3 (-.f64 2 (*.f64 3 x))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 6 (*.f64 (*.f64 x -3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 6 (*.f64 3 (*.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 3 (+.f64 2 (*.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 2 (*.f64 x -3)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))) (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 6 (*.f64 3 (*.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 2 (*.f64 x -3))) 2) (*.f64 (cbrt.f64 (+.f64 2 (*.f64 x -3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))) (pow.f64 (cbrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))) (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))) (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))) 2) (cbrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))) 1/4) (*.f64 (pow.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))) 1/4) (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 3) (*.f64 (sqrt.f64 (+.f64 2 (*.f64 x -3))) (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 2 (*.f64 x -3))) (*.f64 (sqrt.f64 (+.f64 2 (*.f64 x -3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))) (pow.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))) 1/4)) (pow.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 3) 2) (+.f64 2 (*.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 3 (pow.f64 (cbrt.f64 (+.f64 2 (*.f64 x -3))) 2)) (cbrt.f64 (+.f64 2 (*.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 3 (sqrt.f64 (+.f64 2 (*.f64 x -3)))) (sqrt.f64 (+.f64 2 (*.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))) (cbrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))) (cbrt.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))) (sqrt.f64 3)) (sqrt.f64 (+.f64 2 (*.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 8 (*.f64 27 (pow.f64 x 3))) 3) (+.f64 4 (+.f64 (*.f64 9 (*.f64 x x)) (*.f64 6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3) (+.f64 2 (*.f64 3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 3 (-.f64 8 (*.f64 27 (pow.f64 x 3)))) (+.f64 4 (+.f64 (*.f64 9 (*.f64 x x)) (*.f64 6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 3 (-.f64 4 (*.f64 9 (*.f64 x x)))) (+.f64 2 (*.f64 3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 9 (pow.f64 (+.f64 2 (*.f64 x -3)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 3) (+.f64 2 (*.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 3 (*.f64 (+.f64 2 (*.f64 x -3)) x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 3 (*.f64 (+.f64 2 (*.f64 x -3)) x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 3 (*.f64 (+.f64 2 (*.f64 x -3)) x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 3 (*.f64 (+.f64 2 (*.f64 x -3)) x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 3 (*.f64 (+.f64 2 (*.f64 x -3)) x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 3 (*.f64 (+.f64 2 (*.f64 x -3)) x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 3) (+.f64 2 (*.f64 x -3))) x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 3 (*.f64 (+.f64 2 (*.f64 x -3)) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 3 (*.f64 (+.f64 2 (*.f64 x -3)) x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 3 (*.f64 (+.f64 2 (*.f64 x -3)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 3 (*.f64 (+.f64 2 (*.f64 x -3)) x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 3 (*.f64 (+.f64 2 (*.f64 x -3)) x))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 6 (*.f64 (*.f64 x -3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 6 (*.f64 3 (*.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 8 (*.f64 27 (pow.f64 x 3))) 3) (+.f64 4 (+.f64 (*.f64 9 (*.f64 x x)) (*.f64 6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3) (+.f64 2 (*.f64 3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 3 (-.f64 8 (*.f64 27 (pow.f64 x 3)))) (+.f64 4 (+.f64 (*.f64 9 (*.f64 x x)) (*.f64 6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 3 (-.f64 4 (*.f64 9 (*.f64 x x)))) (+.f64 2 (*.f64 3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 9 (pow.f64 (+.f64 2 (*.f64 x -3)) 2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 9 (pow.f64 (+.f64 2 (*.f64 x -3)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 3) (+.f64 2 (*.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))) (cbrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))) (cbrt.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))) 1/4) (pow.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 3) (sqrt.f64 (+.f64 2 (*.f64 x -3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 2 (*.f64 x -3))) (sqrt.f64 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))) 2)) (sqrt.f64 (cbrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/2) (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))) 2) 1/2) (pow.f64 (cbrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (+.f64 6 (*.f64 3 (*.f64 x -3))))))))))

simplify124.0ms (1.5%)

Algorithm
egg-herbie
Rules
968×fma-def_binary64
659×associate-/r*_binary64
392×unswap-sqr_binary64
382×associate-*l/_binary64
333×associate-/r/_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
064767
1177315
2627288
32180266
46752262
Stop Event
node limit
Counts
120 → 97
Calls
Call 1
Inputs
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2))
(+.f64 (*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)))
(+.f64 (*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2)) (+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 (+.f64 (*.f64 -9/4 (/.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 (sqrt.f64 2) 2))) (*.f64 9/4 (/.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 (sqrt.f64 2) 2)))) (pow.f64 x 2))))
(+.f64 (*.f64 (+.f64 (*.f64 -27/8 (/.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 (sqrt.f64 2) 4))) (*.f64 27/8 (/.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 (sqrt.f64 2) 4)))) (pow.f64 x 3)) (+.f64 (*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2)) (+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 (+.f64 (*.f64 -9/4 (/.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 (sqrt.f64 2) 2))) (*.f64 9/4 (/.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 (sqrt.f64 2) 2)))) (pow.f64 x 2)))))
(*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (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))
(*.f64 (sqrt.f64 2) (sqrt.f64 3))
(+.f64 (*.f64 -3/2 (/.f64 (*.f64 (sqrt.f64 3) x) (sqrt.f64 2))) (*.f64 (sqrt.f64 2) (sqrt.f64 3)))
(+.f64 (*.f64 -3/2 (/.f64 (*.f64 (sqrt.f64 3) x) (sqrt.f64 2))) (+.f64 (*.f64 -9/8 (/.f64 (*.f64 (sqrt.f64 3) (pow.f64 x 2)) (pow.f64 (sqrt.f64 2) 3))) (*.f64 (sqrt.f64 2) (sqrt.f64 3))))
(+.f64 (*.f64 -3/2 (/.f64 (*.f64 (sqrt.f64 3) x) (sqrt.f64 2))) (+.f64 (*.f64 -27/16 (/.f64 (*.f64 (sqrt.f64 3) (pow.f64 x 3)) (pow.f64 (sqrt.f64 2) 5))) (+.f64 (*.f64 -9/8 (/.f64 (*.f64 (sqrt.f64 3) (pow.f64 x 2)) (pow.f64 (sqrt.f64 2) 3))) (*.f64 (sqrt.f64 2) (sqrt.f64 3)))))
Outputs
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2))
6
(+.f64 (*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)))
(fma.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)))
(fma.f64 x -9 6)
(+.f64 (*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2)) (+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 (+.f64 (*.f64 -9/4 (/.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 (sqrt.f64 2) 2))) (*.f64 9/4 (/.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 (sqrt.f64 2) 2)))) (pow.f64 x 2))))
(fma.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)))
(fma.f64 x -9 6)
(+.f64 (*.f64 (+.f64 (*.f64 -27/8 (/.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 (sqrt.f64 2) 4))) (*.f64 27/8 (/.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 (sqrt.f64 2) 4)))) (pow.f64 x 3)) (+.f64 (*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2)) (+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 (+.f64 (*.f64 -9/4 (/.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 (sqrt.f64 2) 2))) (*.f64 9/4 (/.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 (sqrt.f64 2) 2)))) (pow.f64 x 2)))))
(fma.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)))
(fma.f64 x -9 6)
(*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 6 x)
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x)))
(*.f64 (*.f64 x -9) x)
(*.f64 x (*.f64 x -9))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x)))
(*.f64 (*.f64 x -9) x)
(*.f64 x (*.f64 x -9))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
6
(*.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2))
(+.f64 (*.f64 -9 x) 6)
(fma.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)))
(fma.f64 x -9 6)
(+.f64 (*.f64 -9 x) 6)
(fma.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)))
(fma.f64 x -9 6)
(+.f64 (*.f64 -9 x) 6)
(fma.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)))
(fma.f64 x -9 6)
(*.f64 -9 x)
(*.f64 x -9)
(+.f64 6 (*.f64 -9 x))
(fma.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)))
(fma.f64 x -9 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)))
(fma.f64 x -9 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)))
(fma.f64 x -9 6)
(*.f64 -9 x)
(*.f64 x -9)
(+.f64 6 (*.f64 -9 x))
(fma.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)))
(fma.f64 x -9 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)))
(fma.f64 x -9 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 (pow.f64 (sqrt.f64 2) 2) (pow.f64 (sqrt.f64 3) 2) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)))
(fma.f64 x -9 6)
(*.f64 (sqrt.f64 2) (sqrt.f64 3))
(+.f64 (*.f64 -3/2 (/.f64 (*.f64 (sqrt.f64 3) x) (sqrt.f64 2))) (*.f64 (sqrt.f64 2) (sqrt.f64 3)))
(fma.f64 -3/2 (/.f64 (sqrt.f64 3) (/.f64 (sqrt.f64 2) x)) (*.f64 (sqrt.f64 2) (sqrt.f64 3)))
(fma.f64 (sqrt.f64 2) (sqrt.f64 3) (*.f64 -3/2 (*.f64 (/.f64 (sqrt.f64 3) (sqrt.f64 2)) x)))
(*.f64 (sqrt.f64 3) (+.f64 (sqrt.f64 2) (/.f64 -3/2 (/.f64 (sqrt.f64 2) x))))
(+.f64 (*.f64 -3/2 (/.f64 (*.f64 (sqrt.f64 3) x) (sqrt.f64 2))) (+.f64 (*.f64 -9/8 (/.f64 (*.f64 (sqrt.f64 3) (pow.f64 x 2)) (pow.f64 (sqrt.f64 2) 3))) (*.f64 (sqrt.f64 2) (sqrt.f64 3))))
(fma.f64 -3/2 (/.f64 (sqrt.f64 3) (/.f64 (sqrt.f64 2) x)) (fma.f64 -9/8 (/.f64 (*.f64 (sqrt.f64 3) (*.f64 x x)) (pow.f64 (sqrt.f64 2) 3)) (*.f64 (sqrt.f64 2) (sqrt.f64 3))))
(fma.f64 -3/2 (*.f64 (/.f64 (sqrt.f64 3) (sqrt.f64 2)) x) (fma.f64 (sqrt.f64 2) (sqrt.f64 3) (*.f64 -9/16 (/.f64 (*.f64 (sqrt.f64 3) (*.f64 x x)) (sqrt.f64 2)))))
(fma.f64 -9/16 (/.f64 (sqrt.f64 3) (/.f64 (sqrt.f64 2) (*.f64 x x))) (fma.f64 -3/2 (/.f64 (sqrt.f64 3) (/.f64 (sqrt.f64 2) x)) (*.f64 (sqrt.f64 2) (sqrt.f64 3))))
(fma.f64 (sqrt.f64 2) (sqrt.f64 3) (*.f64 (/.f64 (sqrt.f64 3) (/.f64 (sqrt.f64 2) x)) (+.f64 -3/2 (*.f64 -9/16 x))))
(+.f64 (*.f64 -3/2 (/.f64 (*.f64 (sqrt.f64 3) x) (sqrt.f64 2))) (+.f64 (*.f64 -27/16 (/.f64 (*.f64 (sqrt.f64 3) (pow.f64 x 3)) (pow.f64 (sqrt.f64 2) 5))) (+.f64 (*.f64 -9/8 (/.f64 (*.f64 (sqrt.f64 3) (pow.f64 x 2)) (pow.f64 (sqrt.f64 2) 3))) (*.f64 (sqrt.f64 2) (sqrt.f64 3)))))
(fma.f64 -3/2 (/.f64 (sqrt.f64 3) (/.f64 (sqrt.f64 2) x)) (fma.f64 -27/16 (/.f64 (sqrt.f64 3) (/.f64 (pow.f64 (sqrt.f64 2) 5) (pow.f64 x 3))) (fma.f64 -9/8 (/.f64 (*.f64 (sqrt.f64 3) (*.f64 x x)) (pow.f64 (sqrt.f64 2) 3)) (*.f64 (sqrt.f64 2) (sqrt.f64 3)))))
(fma.f64 -3/2 (*.f64 (/.f64 (sqrt.f64 3) (sqrt.f64 2)) x) (fma.f64 -27/16 (*.f64 (/.f64 (sqrt.f64 3) (pow.f64 (sqrt.f64 2) 5)) (pow.f64 x 3)) (fma.f64 (sqrt.f64 2) (sqrt.f64 3) (*.f64 -9/16 (/.f64 (*.f64 (sqrt.f64 3) (*.f64 x x)) (sqrt.f64 2))))))
(fma.f64 -3/2 (/.f64 (sqrt.f64 3) (/.f64 (sqrt.f64 2) x)) (fma.f64 (sqrt.f64 2) (sqrt.f64 3) (fma.f64 -9/16 (/.f64 (sqrt.f64 3) (/.f64 (sqrt.f64 2) (*.f64 x x))) (*.f64 (/.f64 (*.f64 (sqrt.f64 3) -27/16) (pow.f64 (sqrt.f64 2) 5)) (pow.f64 x 3)))))
(fma.f64 (sqrt.f64 2) (sqrt.f64 3) (fma.f64 (/.f64 (sqrt.f64 3) (pow.f64 (sqrt.f64 2) 5)) (*.f64 (pow.f64 x 3) -27/16) (*.f64 (/.f64 (sqrt.f64 3) (/.f64 (sqrt.f64 2) x)) (+.f64 -3/2 (*.f64 -9/16 x)))))
(+.f64 (*.f64 (/.f64 (sqrt.f64 3) (/.f64 (sqrt.f64 2) x)) (+.f64 -3/2 (*.f64 -9/16 x))) (*.f64 (sqrt.f64 3) (+.f64 (sqrt.f64 2) (/.f64 -27/16 (/.f64 (pow.f64 (sqrt.f64 2) 5) (pow.f64 x 3))))))

eval401.0ms (4.9%)

Compiler

Compiled 5281 to 4190 computations (20.7% saved)

prune219.0ms (2.7%)

Pruning

20 alts after pruning (16 fresh and 4 done)

PrunedKeptTotal
New34613359
Fresh639
Picked101
Done044
Total35320373
Error
0.0b
Counts
373 → 20
Alt Table
Click to see full alt table
StatusErrorProgram
42.9b
(*.f64 (/.f64 (*.f64 x (*.f64 x -27)) (+.f64 2 (*.f64 3 x))) x)
42.7b
(*.f64 (*.f64 x -9) x)
0.3b
(*.f64 (*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1 (+.f64 2 (*.f64 3 x))))) x)
41.1b
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x)))) 3))
19.1b
(*.f64 x 6)
42.7b
(*.f64 (*.f64 3 (*.f64 x -3)) x)
0.5b
(/.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3) (/.f64 (fma.f64 x 3 2) x))
0.2b
(pow.f64 (*.f64 3 (*.f64 (+.f64 2 (*.f64 x -3)) x)) 1)
0.3b
(*.f64 (/.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3) (+.f64 2 (*.f64 3 x))) x)
0.4b
(/.f64 x (/.f64 1 (*.f64 3 (+.f64 2 (*.f64 -3 x)))))
0.2b
(*.f64 (*.f64 3 (fma.f64 x -3 2)) x)
8.8b
(/.f64 (*.f64 (+.f64 216 (*.f64 (pow.f64 x 3) -729)) x) (+.f64 (pow.f64 (*.f64 -9 x) 2) (-.f64 36 (*.f64 x -54))))
42.6b
(*.f64 -9 (pow.f64 x 2))
15.4b
(/.f64 (/.f64 (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) (sqrt.f64 (fma.f64 x 3 2))) (sqrt.f64 (fma.f64 x 3 2)))
0.2b
(*.f64 (+.f64 (*.f64 -9 x) 6) x)
42.2b
(pow.f64 (sqrt.f64 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x))))) 2)
6.8b
(/.f64 1 (/.f64 (fma.f64 x 3 2) (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3))))
1.0b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (+.f64 2 (*.f64 x -3))) x)
19.6b
(*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
6.8b
(/.f64 (*.f64 (+.f64 (pow.f64 (*.f64 -9 x) 2) -36) x) (fma.f64 -9 x -6))
Compiler

Compiled 479 to 382 computations (20.3% saved)

localize18.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 2 (*.f64 x -3))
0.1b
(*.f64 (+.f64 2 (*.f64 x -3)) x)
0.1b
(*.f64 3 (*.f64 (+.f64 2 (*.f64 x -3)) x))
Compiler

Compiled 41 to 32 computations (22% saved)

series3.0ms (0%)

Counts
3 → 36
Calls

9 calls:

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

rewrite111.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
922×pow1_binary64
861×add-log-exp_binary64
860×log1p-expm1-u_binary64
860×expm1-log1p-u_binary64
848×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0930
119324
2231724
Stop Event
node limit
Counts
3 → 64
Calls
Call 1
Inputs
(*.f64 3 (*.f64 (+.f64 2 (*.f64 x -3)) x))
(*.f64 (+.f64 2 (*.f64 x -3)) x)
(+.f64 2 (*.f64 x -3))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 3 (*.f64 x (fma.f64 x -3 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 3 (*.f64 x (fma.f64 x -3 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 3 (*.f64 x (fma.f64 x -3 2))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 3 (*.f64 x (fma.f64 x -3 2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 3 (*.f64 x (fma.f64 x -3 2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 3 (*.f64 x (fma.f64 x -3 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 3) (*.f64 x (fma.f64 x -3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 3 (*.f64 x (fma.f64 x -3 2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 3 (*.f64 x (fma.f64 x -3 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 3 (*.f64 x (fma.f64 x -3 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 3 (*.f64 x (fma.f64 x -3 2)))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 2 x) (*.f64 (*.f64 x -3) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x -3) x) (*.f64 2 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 2) (*.f64 x (*.f64 x -3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x -3)) (*.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (fma.f64 x -3 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 8 (*.f64 -27 (pow.f64 x 3))) x) (+.f64 4 (-.f64 (*.f64 9 (*.f64 x x)) (*.f64 -6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) x) (+.f64 2 (*.f64 3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 8 (*.f64 -27 (pow.f64 x 3)))) (+.f64 4 (-.f64 (*.f64 9 (*.f64 x x)) (*.f64 -6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (-.f64 4 (*.f64 9 (*.f64 x x)))) (+.f64 2 (*.f64 3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 x -3 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 x -3 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -3 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -3 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 x -3 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 x -3 2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -3 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x -3 2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 x -3 2) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 x -3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 x -3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 x -3 2))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x -3 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 4 (+.f64 2 (*.f64 3 x))) (/.f64 (*.f64 9 (*.f64 x x)) (+.f64 2 (*.f64 3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x -3 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x -3 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x -3 2)) (pow.f64 (cbrt.f64 (fma.f64 x -3 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x -3 2)) 2) (cbrt.f64 (fma.f64 x -3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x -3 2)) (sqrt.f64 (fma.f64 x -3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 8 (*.f64 -27 (pow.f64 x 3))) (/.f64 1 (+.f64 4 (-.f64 (*.f64 9 (*.f64 x x)) (*.f64 -6 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1 (+.f64 2 (*.f64 3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 4 (-.f64 (*.f64 9 (*.f64 x x)) (*.f64 -6 x))) (+.f64 8 (*.f64 -27 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 2 (*.f64 3 x)) (-.f64 4 (*.f64 9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 8 (*.f64 -27 (pow.f64 x 3))) (+.f64 4 (-.f64 (*.f64 9 (*.f64 x x)) (*.f64 -6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 8 (*.f64 -27 (pow.f64 x 3))) (+.f64 (*.f64 9 (*.f64 x x)) (-.f64 4 (*.f64 -6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (+.f64 2 (*.f64 3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 8 (*.f64 -27 (pow.f64 x 3)))) (neg.f64 (+.f64 4 (-.f64 (*.f64 9 (*.f64 x x)) (*.f64 -6 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 4 (*.f64 9 (*.f64 x x)))) (neg.f64 (+.f64 2 (*.f64 3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 9 (*.f64 x x)) 4) (-.f64 (*.f64 x -3) 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x -3 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x -3 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x -3 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x -3 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x -3 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x -3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x -3 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x -3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x -3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x -3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x -3 2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -3 x 2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x -3) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 9 (*.f64 x x))) (cbrt.f64 (*.f64 x -3)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x -3)) (sqrt.f64 (*.f64 x -3)) 2)))))

simplify194.0ms (2.4%)

Algorithm
egg-herbie
Rules
2020×unswap-sqr_binary64
1080×sqr-pow_binary64
633×fabs-mul_binary64
612×pow-sqr_binary64
610×cube-prod_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
016288
131288
251252
3102234
4269234
5806234
61244234
71708234
81816234
91951234
102123234
112366234
122679234
133049234
143505234
154088234
164796234
175654234
186078234
196392234
206700234
216778234
226812234
Stop Event
node limit
Counts
100 → 80
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)))
(*.f64 2 x)
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
(*.f64 -3 (pow.f64 x 2))
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
(*.f64 -3 (pow.f64 x 2))
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
2
(+.f64 (*.f64 -3 x) 2)
(+.f64 (*.f64 -3 x) 2)
(+.f64 (*.f64 -3 x) 2)
(*.f64 -3 x)
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(*.f64 -3 x)
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 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 (+.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))
(*.f64 2 x)
(*.f64 x 2)
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
(fma.f64 2 x (*.f64 (*.f64 x x) -3))
(fma.f64 x 2 (*.f64 (*.f64 x x) -3))
(*.f64 x (fma.f64 x -3 2))
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
(fma.f64 2 x (*.f64 (*.f64 x x) -3))
(fma.f64 x 2 (*.f64 (*.f64 x x) -3))
(*.f64 x (fma.f64 x -3 2))
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
(fma.f64 2 x (*.f64 (*.f64 x x) -3))
(fma.f64 x 2 (*.f64 (*.f64 x x) -3))
(*.f64 x (fma.f64 x -3 2))
(*.f64 -3 (pow.f64 x 2))
(*.f64 (*.f64 x x) -3)
(*.f64 x (*.f64 x -3))
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
(fma.f64 2 x (*.f64 (*.f64 x x) -3))
(fma.f64 x 2 (*.f64 (*.f64 x x) -3))
(*.f64 x (fma.f64 x -3 2))
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
(fma.f64 2 x (*.f64 (*.f64 x x) -3))
(fma.f64 x 2 (*.f64 (*.f64 x x) -3))
(*.f64 x (fma.f64 x -3 2))
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
(fma.f64 2 x (*.f64 (*.f64 x x) -3))
(fma.f64 x 2 (*.f64 (*.f64 x x) -3))
(*.f64 x (fma.f64 x -3 2))
(*.f64 -3 (pow.f64 x 2))
(*.f64 (*.f64 x x) -3)
(*.f64 x (*.f64 x -3))
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
(fma.f64 2 x (*.f64 (*.f64 x x) -3))
(fma.f64 x 2 (*.f64 (*.f64 x x) -3))
(*.f64 x (fma.f64 x -3 2))
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
(fma.f64 2 x (*.f64 (*.f64 x x) -3))
(fma.f64 x 2 (*.f64 (*.f64 x x) -3))
(*.f64 x (fma.f64 x -3 2))
(+.f64 (*.f64 2 x) (*.f64 -3 (pow.f64 x 2)))
(fma.f64 2 x (*.f64 (*.f64 x x) -3))
(fma.f64 x 2 (*.f64 (*.f64 x x) -3))
(*.f64 x (fma.f64 x -3 2))
2
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(*.f64 -3 x)
(*.f64 x -3)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(*.f64 -3 x)
(*.f64 x -3)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (*.f64 x -9) x)
Compiler

Compiled 11 to 7 computations (36.4% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite49.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
446×pow1_binary64
432×add-sqr-sqrt_binary64
423×*-un-lft-identity_binary64
414×add-log-exp_binary64
414×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057
11017
211357
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 (*.f64 x -9) x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (*.f64 x -9))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x -9)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x -9)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -9))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (*.f64 x -9))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (*.f64 x -9)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x -9)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x -9)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x -9))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x -9))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x -9))))))))

simplify178.0ms (2.2%)

Algorithm
egg-herbie
Rules
1082×sqr-pow_binary64
617×cube-prod_binary64
554×fabs-mul_binary64
523×pow-sqr_binary64
441×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0684
11284
22384
34484
410584
533184
6125084
7212384
8228784
9247184
10267984
11297684
12337184
13385284
14441884
15510284
16593584
17632784
18661984
19689584
20696984
21700384
22794484
Stop Event
node limit
Counts
23 → 13
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))
Outputs
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 -9 x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 -9 x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 -9 x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 -9 x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 -9 x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 -9 x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 -9 x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 -9 x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 -9 x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 -9 x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 -9 x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 -9 x))

localize44.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 1 (+.f64 2 (*.f64 3 x)))
0.1b
(*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1 (+.f64 2 (*.f64 3 x))))
0.1b
(*.f64 (*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1 (+.f64 2 (*.f64 3 x))))) x)
0.1b
(*.f64 9 (*.f64 x x))
Compiler

Compiled 88 to 63 computations (28.4% saved)

series3.0ms (0%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
0.0ms
x
@inf
(/.f64 1 (+.f64 2 (*.f64 3 x)))
0.0ms
x
@0
(*.f64 (*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1 (+.f64 2 (*.f64 3 x))))) x)
0.0ms
x
@-inf
(/.f64 1 (+.f64 2 (*.f64 3 x)))
0.0ms
x
@0
(/.f64 1 (+.f64 2 (*.f64 3 x)))
0.0ms
x
@-inf
(*.f64 (*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1 (+.f64 2 (*.f64 3 x))))) x)

rewrite101.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
782×log-prod_binary64
440×prod-diff_binary64
276×fma-def_binary64
268×expm1-udef_binary64
268×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01654
135128
2448128
Stop Event
node limit
Counts
3 → 100
Calls
Call 1
Inputs
(*.f64 (*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1 (+.f64 2 (*.f64 3 x))))) x)
(*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1 (+.f64 2 (*.f64 3 x))))
(/.f64 1 (+.f64 2 (*.f64 3 x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 3) (+.f64 2 (*.f64 -3 x))) x)) (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 3) (+.f64 2 (*.f64 -3 x))) x)))) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 3) (+.f64 2 (*.f64 -3 x))) x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 3) (+.f64 2 (*.f64 -3 x))) x))) (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 3) (+.f64 2 (*.f64 -3 x))) x))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 3) (+.f64 2 (*.f64 -3 x))) x))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 3 (+.f64 2 (*.f64 -3 x))) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x)))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 2 (neg.f64 (*.f64 3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 2 (*.f64 -3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 2 (*.f64 (neg.f64 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 2 (*.f64 -1 (*.f64 3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 2 (*.f64 (neg.f64 (pow.f64 (cbrt.f64 (*.f64 3 x)) 2)) (cbrt.f64 (*.f64 3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 2 (*.f64 (neg.f64 (sqrt.f64 (*.f64 3 x))) (sqrt.f64 (*.f64 3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (+.f64 2 (*.f64 -3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 4 (/.f64 1 (fma.f64 3 x 2))) (*.f64 (*.f64 (*.f64 x x) -9) (/.f64 1 (fma.f64 3 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (/.f64 1 (fma.f64 3 x 2)) 4) (*.f64 (/.f64 1 (fma.f64 3 x 2)) (*.f64 (*.f64 x x) -9)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (+.f64 2 (*.f64 -3 x)))) (cbrt.f64 (exp.f64 (+.f64 2 (*.f64 -3 x)))))) (log.f64 (cbrt.f64 (exp.f64 (+.f64 2 (*.f64 -3 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (+.f64 2 (*.f64 -3 x))))) (log.f64 (sqrt.f64 (exp.f64 (+.f64 2 (*.f64 -3 x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 2 (*.f64 3 x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 2 (*.f64 -3 x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 4 (fma.f64 3 x 2)) (/.f64 (*.f64 9 (*.f64 x x)) (fma.f64 3 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (*.f64 x x) -9 4) (fma.f64 3 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 3 x 2) (fma.f64 (*.f64 x x) -9 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (pow.f64 (cbrt.f64 (fma.f64 (*.f64 x x) -9 4)) 2) (/.f64 (fma.f64 3 x 2) (cbrt.f64 (fma.f64 (*.f64 x x) -9 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (sqrt.f64 (fma.f64 (*.f64 x x) -9 4)) (/.f64 (fma.f64 3 x 2) (sqrt.f64 (fma.f64 (*.f64 x x) -9 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 64 (*.f64 (pow.f64 (*.f64 x x) 3) 729)) (*.f64 (fma.f64 3 x 2) (+.f64 16 (fma.f64 (pow.f64 x 4) 81 (*.f64 36 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 16 (*.f64 (pow.f64 x 4) 81)) (*.f64 (fma.f64 3 x 2) (fma.f64 9 (*.f64 x x) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (*.f64 x x) -9 4)) (neg.f64 (fma.f64 3 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 64 (*.f64 (pow.f64 (*.f64 x x) 3) 729)) 1) (*.f64 (+.f64 16 (fma.f64 (pow.f64 x 4) 81 (*.f64 36 (*.f64 x x)))) (fma.f64 3 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 16 (*.f64 (pow.f64 x 4) 81)) 1) (*.f64 (fma.f64 9 (*.f64 x x) 4) (fma.f64 3 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 64 (*.f64 (pow.f64 (*.f64 x x) 3) 729)) -1) (*.f64 (+.f64 16 (fma.f64 (pow.f64 x 4) 81 (*.f64 36 (*.f64 x x)))) (neg.f64 (fma.f64 3 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 16 (*.f64 (pow.f64 x 4) 81)) -1) (*.f64 (fma.f64 9 (*.f64 x x) 4) (neg.f64 (fma.f64 3 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (-.f64 64 (*.f64 (pow.f64 (*.f64 x x) 3) 729))) (*.f64 (neg.f64 (fma.f64 3 x 2)) (+.f64 16 (fma.f64 (pow.f64 x 4) 81 (*.f64 36 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (-.f64 16 (*.f64 (pow.f64 x 4) 81))) (*.f64 (neg.f64 (fma.f64 3 x 2)) (fma.f64 9 (*.f64 x x) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fma.f64 (*.f64 x x) -9 4) (sqrt.f64 (fma.f64 3 x 2))) (sqrt.f64 (fma.f64 3 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fma.f64 (*.f64 x x) -9 4) 1) (fma.f64 3 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (/.f64 (fma.f64 (*.f64 x x) -9 4) (cbrt.f64 (pow.f64 (fma.f64 3 x 2) 2))) (cbrt.f64 (fma.f64 3 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 8 (*.f64 (pow.f64 x 3) 27)) (+.f64 4 (fma.f64 9 (*.f64 x x) (*.f64 6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 64 (*.f64 (pow.f64 (*.f64 x x) 3) 729)) (/.f64 1 (fma.f64 3 x 2))) (+.f64 16 (fma.f64 (pow.f64 x 4) 81 (*.f64 36 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 16 (*.f64 (pow.f64 x 4) 81)) (/.f64 1 (fma.f64 3 x 2))) (fma.f64 9 (*.f64 x x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 -1 (fma.f64 (*.f64 x x) -9 4)) (neg.f64 (fma.f64 3 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) -1) (neg.f64 (fma.f64 3 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 (fma.f64 3 x 2)) (-.f64 64 (*.f64 (pow.f64 (*.f64 x x) 3) 729))) (+.f64 16 (fma.f64 (pow.f64 x 4) 81 (*.f64 36 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (/.f64 1 (fma.f64 3 x 2)) (-.f64 16 (*.f64 (pow.f64 x 4) 81))) (fma.f64 9 (*.f64 x x) 4))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 2 (*.f64 -3 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 2 (*.f64 -3 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 2 (*.f64 -3 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 2 (*.f64 -3 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 2 (*.f64 -3 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 2 (*.f64 -3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 2 (*.f64 -3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 2 (*.f64 -3 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (fma.f64 (*.f64 x x) -9 4) 3) (pow.f64 (fma.f64 3 x 2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 (*.f64 x x) -9 4) 3) (pow.f64 (/.f64 1 (fma.f64 3 x 2)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (/.f64 1 (fma.f64 3 x 2)) 3) (pow.f64 (fma.f64 (*.f64 x x) -9 4) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 2 (*.f64 -3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 2 (*.f64 -3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 2 (*.f64 -3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 2 (*.f64 -3 x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 4 (/.f64 1 (fma.f64 3 x 2)) (*.f64 (*.f64 (*.f64 x x) -9) (/.f64 1 (fma.f64 3 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1 (fma.f64 3 x 2)) 4 (*.f64 (/.f64 1 (fma.f64 3 x 2)) (*.f64 (*.f64 x x) -9)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 1 (fma.f64 3 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (/.f64 1 (fma.f64 3 x 2)))) (cbrt.f64 (exp.f64 (/.f64 1 (fma.f64 3 x 2)))))) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1 (fma.f64 3 x 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (fma.f64 3 x 2))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1 (fma.f64 3 x 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1 (fma.f64 3 x 2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1 (fma.f64 3 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 3 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (fma.f64 3 x 2))) (cbrt.f64 (pow.f64 (fma.f64 3 x 2) -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 3 x 2) -2)) (/.f64 1 (cbrt.f64 (fma.f64 3 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 3 x 2) -1/2) (pow.f64 (fma.f64 3 x 2) -1/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (neg.f64 (fma.f64 3 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (fma.f64 3 x 2) 2)) -1) (pow.f64 (cbrt.f64 (fma.f64 3 x 2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (fma.f64 3 x 2)) -1) (pow.f64 (sqrt.f64 (fma.f64 3 x 2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 (pow.f64 x 3) 27 8)) (fma.f64 (*.f64 3 x) (fma.f64 3 x -2) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 (*.f64 x x) -9 4)) (+.f64 2 (*.f64 -3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 3 x 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (fma.f64 3 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1 (fma.f64 3 x 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1 (cbrt.f64 (fma.f64 3 x 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 3 x 2) -1/2) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 3 x 2) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1 (fma.f64 3 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1 (fma.f64 3 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1 (fma.f64 3 x 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1 (fma.f64 3 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1 (fma.f64 3 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (neg.f64 (log.f64 (fma.f64 3 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 3 x 2)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (neg.f64 (log.f64 (fma.f64 3 x 2))) 1))))))

simplify61.0ms (0.7%)

Algorithm
egg-herbie
Rules
766×fma-def_binary64
702×distribute-neg-frac_binary64
417×times-frac_binary64
324×distribute-rgt-neg-in_binary64
301×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
048354
1115350
2268339
3687315
42037312
55918312
Stop Event
node limit
Counts
136 → 124
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)))
2
(+.f64 (*.f64 -3 x) 2)
(+.f64 (*.f64 -3 x) 2)
(+.f64 (*.f64 -3 x) 2)
(*.f64 -3 x)
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(*.f64 -3 x)
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
1/2
(+.f64 1/2 (*.f64 -3/4 x))
(+.f64 (*.f64 9/8 (pow.f64 x 2)) (+.f64 1/2 (*.f64 -3/4 x)))
(+.f64 (*.f64 9/8 (pow.f64 x 2)) (+.f64 1/2 (+.f64 (*.f64 -3/4 x) (*.f64 -27/16 (pow.f64 x 3)))))
(/.f64 1/3 x)
(-.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 2/9 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 4/27 (/.f64 1 (pow.f64 x 3)))) (*.f64 2/9 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 4/27 (/.f64 1 (pow.f64 x 3)))) (+.f64 (*.f64 2/9 (/.f64 1 (pow.f64 x 2))) (*.f64 8/81 (/.f64 1 (pow.f64 x 4)))))
(/.f64 1/3 x)
(-.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 2/9 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 4/27 (/.f64 1 (pow.f64 x 3)))) (*.f64 2/9 (/.f64 1 (pow.f64 x 2))))
(-.f64 (+.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 4/27 (/.f64 1 (pow.f64 x 3)))) (+.f64 (*.f64 2/9 (/.f64 1 (pow.f64 x 2))) (*.f64 8/81 (/.f64 1 (pow.f64 x 4)))))
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 6 x (*.f64 x (*.f64 x -9)))
(*.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 6 x (*.f64 x (*.f64 x -9)))
(*.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 6 x (*.f64 x (*.f64 x -9)))
(*.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 6 x (*.f64 x (*.f64 x -9)))
(*.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 6 x (*.f64 x (*.f64 x -9)))
(*.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 6 x (*.f64 x (*.f64 x -9)))
(*.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 6 x (*.f64 x (*.f64 x -9)))
(*.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 6 x (*.f64 x (*.f64 x -9)))
(*.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 6 x (*.f64 x (*.f64 x -9)))
(*.f64 x (+.f64 6 (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
2
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(*.f64 -3 x)
(*.f64 x -3)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(*.f64 -3 x)
(*.f64 x -3)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
1/2
(+.f64 1/2 (*.f64 -3/4 x))
(+.f64 1/2 (*.f64 x -3/4))
(fma.f64 x -3/4 1/2)
(+.f64 (*.f64 9/8 (pow.f64 x 2)) (+.f64 1/2 (*.f64 -3/4 x)))
(fma.f64 9/8 (*.f64 x x) (+.f64 1/2 (*.f64 x -3/4)))
(fma.f64 (*.f64 x x) 9/8 (fma.f64 x -3/4 1/2))
(fma.f64 x -3/4 (fma.f64 x (*.f64 x 9/8) 1/2))
(fma.f64 x (fma.f64 x 9/8 -3/4) 1/2)
(+.f64 (*.f64 9/8 (pow.f64 x 2)) (+.f64 1/2 (+.f64 (*.f64 -3/4 x) (*.f64 -27/16 (pow.f64 x 3)))))
(fma.f64 9/8 (*.f64 x x) (+.f64 1/2 (fma.f64 -3/4 x (*.f64 -27/16 (pow.f64 x 3)))))
(+.f64 (fma.f64 (*.f64 x x) 9/8 (fma.f64 x -3/4 1/2)) (*.f64 -27/16 (pow.f64 x 3)))
(fma.f64 x (*.f64 x 9/8) (fma.f64 x -3/4 (fma.f64 -27/16 (pow.f64 x 3) 1/2)))
(fma.f64 (*.f64 x x) (fma.f64 x -27/16 9/8) (fma.f64 x -3/4 1/2))
(fma.f64 x (fma.f64 x (fma.f64 x -27/16 9/8) -3/4) 1/2)
(/.f64 1/3 x)
(-.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 2/9 (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1/3 x) (/.f64 2/9 (*.f64 x x)))
(+.f64 (/.f64 1/3 x) (/.f64 -2/9 (*.f64 x x)))
(-.f64 (+.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 4/27 (/.f64 1 (pow.f64 x 3)))) (*.f64 2/9 (/.f64 1 (pow.f64 x 2))))
(+.f64 (/.f64 1/3 x) (-.f64 (/.f64 4/27 (pow.f64 x 3)) (/.f64 2/9 (*.f64 x x))))
(-.f64 (/.f64 4/27 (pow.f64 x 3)) (-.f64 (/.f64 2/9 (*.f64 x x)) (/.f64 1/3 x)))
(+.f64 (+.f64 (/.f64 1/3 x) (/.f64 -2/9 (*.f64 x x))) (/.f64 4/27 (pow.f64 x 3)))
(+.f64 (/.f64 1/3 x) (+.f64 (/.f64 4/27 (pow.f64 x 3)) (/.f64 -2/9 (*.f64 x x))))
(-.f64 (+.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 4/27 (/.f64 1 (pow.f64 x 3)))) (+.f64 (*.f64 2/9 (/.f64 1 (pow.f64 x 2))) (*.f64 8/81 (/.f64 1 (pow.f64 x 4)))))
(-.f64 (+.f64 (/.f64 1/3 x) (/.f64 4/27 (pow.f64 x 3))) (+.f64 (/.f64 2/9 (*.f64 x x)) (/.f64 8/81 (pow.f64 x 4))))
(+.f64 (/.f64 1/3 x) (-.f64 (-.f64 (/.f64 4/27 (pow.f64 x 3)) (/.f64 2/9 (*.f64 x x))) (/.f64 8/81 (pow.f64 x 4))))
(-.f64 (-.f64 (/.f64 4/27 (pow.f64 x 3)) (-.f64 (/.f64 2/9 (*.f64 x x)) (/.f64 1/3 x))) (/.f64 8/81 (pow.f64 x 4)))
(+.f64 (/.f64 1/3 x) (+.f64 (/.f64 4/27 (pow.f64 x 3)) (-.f64 (/.f64 -2/9 (*.f64 x x)) (/.f64 8/81 (pow.f64 x 4)))))
(+.f64 (/.f64 4/27 (pow.f64 x 3)) (+.f64 (/.f64 1/3 x) (-.f64 (/.f64 -2/9 (*.f64 x x)) (/.f64 8/81 (pow.f64 x 4)))))
(/.f64 1/3 x)
(-.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 2/9 (/.f64 1 (pow.f64 x 2))))
(-.f64 (/.f64 1/3 x) (/.f64 2/9 (*.f64 x x)))
(+.f64 (/.f64 1/3 x) (/.f64 -2/9 (*.f64 x x)))
(-.f64 (+.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 4/27 (/.f64 1 (pow.f64 x 3)))) (*.f64 2/9 (/.f64 1 (pow.f64 x 2))))
(+.f64 (/.f64 1/3 x) (-.f64 (/.f64 4/27 (pow.f64 x 3)) (/.f64 2/9 (*.f64 x x))))
(-.f64 (/.f64 4/27 (pow.f64 x 3)) (-.f64 (/.f64 2/9 (*.f64 x x)) (/.f64 1/3 x)))
(+.f64 (+.f64 (/.f64 1/3 x) (/.f64 -2/9 (*.f64 x x))) (/.f64 4/27 (pow.f64 x 3)))
(+.f64 (/.f64 1/3 x) (+.f64 (/.f64 4/27 (pow.f64 x 3)) (/.f64 -2/9 (*.f64 x x))))
(-.f64 (+.f64 (*.f64 1/3 (/.f64 1 x)) (*.f64 4/27 (/.f64 1 (pow.f64 x 3)))) (+.f64 (*.f64 2/9 (/.f64 1 (pow.f64 x 2))) (*.f64 8/81 (/.f64 1 (pow.f64 x 4)))))
(-.f64 (+.f64 (/.f64 1/3 x) (/.f64 4/27 (pow.f64 x 3))) (+.f64 (/.f64 2/9 (*.f64 x x)) (/.f64 8/81 (pow.f64 x 4))))
(+.f64 (/.f64 1/3 x) (-.f64 (-.f64 (/.f64 4/27 (pow.f64 x 3)) (/.f64 2/9 (*.f64 x x))) (/.f64 8/81 (pow.f64 x 4))))
(-.f64 (-.f64 (/.f64 4/27 (pow.f64 x 3)) (-.f64 (/.f64 2/9 (*.f64 x x)) (/.f64 1/3 x))) (/.f64 8/81 (pow.f64 x 4)))
(+.f64 (/.f64 1/3 x) (+.f64 (/.f64 4/27 (pow.f64 x 3)) (-.f64 (/.f64 -2/9 (*.f64 x x)) (/.f64 8/81 (pow.f64 x 4)))))
(+.f64 (/.f64 4/27 (pow.f64 x 3)) (+.f64 (/.f64 1/3 x) (-.f64 (/.f64 -2/9 (*.f64 x x)) (/.f64 8/81 (pow.f64 x 4)))))

localize137.0ms (1.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 2 (*.f64 x -3))
0.1b
(*.f64 (pow.f64 (sqrt.f64 3) 2) (+.f64 2 (*.f64 x -3)))
0.2b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (+.f64 2 (*.f64 x -3))) x)
1.0b
(pow.f64 (sqrt.f64 3) 2)
Compiler

Compiled 41 to 35 computations (14.6% saved)

series2.0ms (0%)

Counts
3 → 24
Calls

6 calls:

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

rewrite291.0ms (3.5%)

Algorithm
batch-egg-rewrite
Rules
470×log-prod_binary64
355×exp-prod_binary64
298×prod-exp_binary64
268×pow-prod-down_binary64
256×pow2_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01124
124618
2267214
Stop Event
node limit
Counts
3 → 81
Calls
Call 1
Inputs
(pow.f64 (sqrt.f64 3) 2)
(*.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (+.f64 2 (*.f64 x -3))) x)
(*.f64 (pow.f64 (sqrt.f64 3) 2) (+.f64 2 (*.f64 x -3)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x . 3)))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (fma.f64 x -9 6)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 6 x) (*.f64 (*.f64 x -9) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 6) (*.f64 x (*.f64 x -9)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (fma.f64 x -9 6))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 x) (fma.f64 x -9 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (fma.f64 x -9 6)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (fma.f64 x -9 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.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)) 2) 1/2)))) (#(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 pow.f64 (exp.f64 1) (log.f64 (*.f64 x (fma.f64 x -9 6))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 x (fma.f64 x -9 6)))) 2)) (cbrt.f64 (log.f64 (*.f64 x (fma.f64 x -9 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 x (fma.f64 x -9 6))))) (sqrt.f64 (log.f64 (*.f64 x (fma.f64 x -9 6)))))))) (#(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 log.f64 (+.f64 1 (expm1.f64 (*.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 exp.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 x -9 6))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 x (fma.f64 x -9 6)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 x (fma.f64 x -9 6))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 1) (log.f64 (fma.f64 x -9 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 x) (*.f64 (log.f64 (fma.f64 x -9 6)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 x) 1) (*.f64 (log.f64 (fma.f64 x -9 6)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (fma.f64 x -9 6)) 1) (log.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (fma.f64 x -9 6)) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (fma.f64 x -9 6)) 1) (*.f64 (log.f64 x) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 6 (*.f64 x (*.f64 x -9)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 6 x (*.f64 (*.f64 x -9) x))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 6 (*.f64 x -9))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 6 (*.f64 (*.f64 x -9) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x -9) 6)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 x -9 6))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (exp.f64 (fma.f64 x -3 2)) 2)) (fma.f64 x -3 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x -9 6)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x -9 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x -9 6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 216 (pow.f64 (*.f64 x -9) 3)) (+.f64 36 (-.f64 (pow.f64 (*.f64 x -9) 2) (*.f64 6 (*.f64 x -9)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 36 (pow.f64 (*.f64 x -9) 2)) (-.f64 6 (*.f64 x -9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 (pow.f64 x 3) -27 8) 3) (fma.f64 (*.f64 x -3) (fma.f64 x -3 -2) 4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3) (+.f64 2 (*.f64 3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 3 (fma.f64 (pow.f64 x 3) -27 8)) (fma.f64 (*.f64 x -3) (fma.f64 x -3 -2) 4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 3 (-.f64 4 (*.f64 9 (*.f64 x x)))) (+.f64 2 (*.f64 3 x)))))) (#(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) 2) 1/2)))) (#(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 pow.f64 (exp.f64 1) (log.f64 (fma.f64 x -9 6)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (fma.f64 x -9 6))) 2)) (cbrt.f64 (log.f64 (fma.f64 x -9 6))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (fma.f64 x -9 6)))) (sqrt.f64 (log.f64 (fma.f64 x -9 6))))))) (#(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 log.f64 (+.f64 1 (expm1.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)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x -9 6)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (fma.f64 x -9 6))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (fma.f64 x -9 6))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (fma.f64 x -9 6))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (fma.f64 x -9 6)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 3 (*.f64 x -3) 6)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x -9 6)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -3 (*.f64 x 3) 6)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x -3) 3 6)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x -9) 6)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 9 (*.f64 x x))) (*.f64 (cbrt.f64 (*.f64 x -3)) 3) 6)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x -3)) (*.f64 (sqrt.f64 (*.f64 x -3)) 3) 6)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x -9)) 2) (cbrt.f64 (*.f64 x -9)) 6)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x -9)) (sqrt.f64 (*.f64 x -9)) 6)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3 x) -3 6)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -9 x 6)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3 (cbrt.f64 (*.f64 9 (*.f64 x x)))) (cbrt.f64 (*.f64 x -3)) 6)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3 (sqrt.f64 (*.f64 x -3))) (sqrt.f64 (*.f64 x -3)) 6)))))

simplify157.0ms (1.9%)

Algorithm
egg-herbie
Rules
814×unswap-sqr_binary64
763×sqr-pow_binary64
568×*-commutative_binary64
530×cube-prod_binary64
476×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
016507
138171
297144
3256144
41072144
52247144
63821144
73926144
84082144
94261144
104469144
114744144
125110144
135540144
146109144
156848144
167767144
Stop Event
node limit
Counts
105 → 92
Calls
Call 1
Inputs
(*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(*.f64 2 (pow.f64 (sqrt.f64 3) 2))
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
Outputs
(*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 x 6)
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x))
(*.f64 (*.f64 x x) -9)
(*.f64 x (*.f64 x -9))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x))
(*.f64 (*.f64 x x) -9)
(*.f64 x (*.f64 x -9))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))))
(fma.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(*.f64 x (fma.f64 x -9 6))
(*.f64 2 (pow.f64 (sqrt.f64 3) 2))
6
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) -3)
(*.f64 x -9)
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) -3)
(*.f64 x -9)
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 (*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x)) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x) (*.f64 2 (pow.f64 (sqrt.f64 3) 2)))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)

localize64.0ms (0.8%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (*.f64 x x) -9 4)
0.1b
(*.f64 (fma.f64 (*.f64 x x) -9 4) 3)
0.3b
(/.f64 1 (/.f64 (fma.f64 x 3 2) (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3))))
6.2b
(/.f64 (fma.f64 x 3 2) (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)))
Compiler

Compiled 70 to 46 computations (34.3% saved)

series6.0ms (0.1%)

Counts
4 → 48
Calls

12 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(/.f64 (fma.f64 x 3 2) (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)))
1.0ms
x
@0
(/.f64 1 (/.f64 (fma.f64 x 3 2) (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3))))
1.0ms
x
@-inf
(/.f64 1 (/.f64 (fma.f64 x 3 2) (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3))))
1.0ms
x
@inf
(/.f64 1 (/.f64 (fma.f64 x 3 2) (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3))))
1.0ms
x
@0
(/.f64 (fma.f64 x 3 2) (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)))

rewrite277.0ms (3.4%)

Algorithm
batch-egg-rewrite
Rules
644×log-prod_binary64
369×pow-prod-down_binary64
332×pow2_binary64
231×pow1/3_binary64
230×pow-unpow_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01464
129361
2355561
Stop Event
node limit
Counts
4 → 161
Calls
Call 1
Inputs
(/.f64 (fma.f64 x 3 2) (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)))
(/.f64 1 (/.f64 (fma.f64 x 3 2) (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3))))
(*.f64 (fma.f64 (*.f64 x x) -9 4) 3)
(fma.f64 (*.f64 x x) -9 4)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x 3 2) (/.f64 (/.f64 1 x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x 3 2)) 2) (*.f64 (cbrt.f64 (fma.f64 x 3 2)) (/.f64 (/.f64 1 x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) (cbrt.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) 2)) (cbrt.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x 3 2)) (*.f64 (sqrt.f64 (fma.f64 x 3 2)) (/.f64 (/.f64 1 x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) (sqrt.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (fma.f64 x 3 2)) (/.f64 1 (*.f64 (*.f64 x (fma.f64 x (*.f64 x -9) 4)) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) (fma.f64 x 3 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 x 3 2) x) (/.f64 1 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 x 3 2)) 2) 1) (/.f64 (cbrt.f64 (fma.f64 x 3 2)) (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fma.f64 x 3 2)) 1) (/.f64 (sqrt.f64 (fma.f64 x 3 2)) (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fma.f64 x 3 2)) x) (/.f64 (sqrt.f64 (fma.f64 x 3 2)) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 x 3 2)) 2) x) (/.f64 (cbrt.f64 (fma.f64 x 3 2)) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fma.f64 x 3 2)) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) (/.f64 (sqrt.f64 (fma.f64 x 3 2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) (/.f64 (fma.f64 x 3 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 x 3 2)) 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) (/.f64 (cbrt.f64 (fma.f64 x 3 2)) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) -2) (/.f64 (fma.f64 x 3 2) (cbrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 x 3 2)) 2) (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) 2)) (cbrt.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fma.f64 x 3 2)) (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) 2)) (/.f64 (sqrt.f64 (fma.f64 x 3 2)) (cbrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) -1/2) (/.f64 (fma.f64 x 3 2) (sqrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 x 3 2)) 2) (sqrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))) (/.f64 (cbrt.f64 (fma.f64 x 3 2)) (sqrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (*.f64 x (fma.f64 x (*.f64 x -9) 4))) (/.f64 (fma.f64 x 3 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (fma.f64 x 3 2)) 2) (*.f64 x (fma.f64 x (*.f64 x -9) 4))) (/.f64 (cbrt.f64 (fma.f64 x 3 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (fma.f64 x 3 2)) (*.f64 x (fma.f64 x (*.f64 x -9) 4))) (/.f64 (sqrt.f64 (fma.f64 x 3 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) -3) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))) -3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (fma.f64 x 3 2) 3) (pow.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (fma.f64 x 3 2) (*.f64 (*.f64 x (fma.f64 x (*.f64 x -9) 4)) -3)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (fma.f64 x 3 2) 3) (pow.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) (/.f64 1 (fma.f64 x 3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))) (pow.f64 (cbrt.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))) 2) (cbrt.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))) (sqrt.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (/.f64 (neg.f64 (/.f64 (fma.f64 x 3 2) x)) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 x 3 2)) (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 1) (/.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12) (fma.f64 x 3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12) 1) (/.f64 x (fma.f64 x 3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) 2) 1) (/.f64 (cbrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) (fma.f64 x 3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) 1) (/.f64 (sqrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) (fma.f64 x 3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (fma.f64 x (*.f64 x -9) 4)) 1) (/.f64 3 (fma.f64 x 3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (pow.f64 (cbrt.f64 (fma.f64 x 3 2)) 2)) (/.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12) (cbrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12) (pow.f64 (cbrt.f64 (fma.f64 x 3 2)) 2)) (/.f64 x (cbrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x 3 2)) -2) (/.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) (cbrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) 2) (pow.f64 (cbrt.f64 (fma.f64 x 3 2)) 2)) (/.f64 (cbrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) (cbrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) (pow.f64 (cbrt.f64 (fma.f64 x 3 2)) 2)) (/.f64 (sqrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) (cbrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (fma.f64 x (*.f64 x -9) 4)) (pow.f64 (cbrt.f64 (fma.f64 x 3 2)) 2)) (/.f64 3 (cbrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x (sqrt.f64 (fma.f64 x 3 2))) (/.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12) (sqrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12) (sqrt.f64 (fma.f64 x 3 2))) (/.f64 x (sqrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 x 3 2) -1/2) (/.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) (sqrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) 2) (sqrt.f64 (fma.f64 x 3 2))) (/.f64 (cbrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) (sqrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) (sqrt.f64 (fma.f64 x 3 2))) (/.f64 (sqrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) (sqrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (fma.f64 x (*.f64 x -9) 4)) (sqrt.f64 (fma.f64 x 3 2))) (/.f64 3 (sqrt.f64 (fma.f64 x 3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (neg.f64 (fma.f64 x 3 2))) (*.f64 (*.f64 x (fma.f64 x (*.f64 x -9) 4)) -3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (/.f64 (fma.f64 x 3 2) x)) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) -2) (cbrt.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (fma.f64 x 3 2)) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (fma.f64 x 3 2)) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (fma.f64 x 3 2)) 1) (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (fma.f64 x 3 2)) (pow.f64 (cbrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) 2)) (cbrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (fma.f64 x 3 2)) (sqrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))) (sqrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 1 (fma.f64 x 3 2)) (*.f64 x (fma.f64 x (*.f64 x -9) 4))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) -2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) -3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) 2) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) 3) -1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) -3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) -2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) 3) (pow.f64 (fma.f64 x 3 2) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (neg.f64 (/.f64 (neg.f64 (/.f64 (fma.f64 x 3 2) x)) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (sqrt.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) (sqrt.f64 (fma.f64 x 3 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) -2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) -3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 x (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) 3) (pow.f64 (fma.f64 x 3 2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 (/.f64 (fma.f64 x 3 2) x) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) -1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 x (/.f64 (fma.f64 x 3 2) (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (*.f64 x -9)) 3) 12)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 3 (*.f64 x (*.f64 x -9))) 12)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (exp.f64 (fma.f64 x (*.f64 x -9) 4)) 2)) (fma.f64 x (*.f64 x -9) 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 3 (*.f64 x (*.f64 x -9)) 12)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 3 (*.f64 x (*.f64 x -9)) 12)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (*.f64 x -9)) 3 12)))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 4 (*.f64 x (*.f64 x -9)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 x (*.f64 x -9) 4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x -9)) 4)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x (*.f64 x -9)) 1) 4)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x (*.f64 x -9) 4))) 2)) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 x (*.f64 x -9) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (*.f64 x -9) 4)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 x (*.f64 x -9) 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 x (*.f64 x -9) 4))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x (*.f64 x -9) 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x (*.f64 x -9) 4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x (*.f64 x -9) 4)) (cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x -9) 4) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x -9) 4) 2)) (cbrt.f64 (fma.f64 x (*.f64 x -9) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x (*.f64 x -9) 4)) (sqrt.f64 (fma.f64 x (*.f64 x -9) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x (*.f64 x -9)) 3) 64) (+.f64 (pow.f64 (*.f64 x (*.f64 x -9)) 2) (-.f64 16 (*.f64 (*.f64 x (*.f64 x -9)) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x (*.f64 x -9)) 2) 16) (fma.f64 x (*.f64 x -9) -4))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x (*.f64 x -9) 4) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (*.f64 x -9) 4) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x (*.f64 x -9) 4) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x (*.f64 x -9) 4)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x (*.f64 x -9) 4)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x (*.f64 x -9) 4) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x (*.f64 x -9) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x (*.f64 x -9) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x (*.f64 x -9) 4) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x (*.f64 x -9) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x (*.f64 x -9) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x (*.f64 x -9) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x (*.f64 x -9) 4)) 1))))))

simplify58.0ms (0.7%)

Algorithm
egg-herbie
Rules
917×fma-neg_binary64
887×times-frac_binary64
515×associate-*l/_binary64
468×cancel-sign-sub-inv_binary64
467×associate-/l/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
056543
1137495
2344486
31026465
43070465
Stop Event
node limit
Counts
209 → 190
Calls
Call 1
Inputs
(/.f64 1/6 x)
(+.f64 1/4 (*.f64 1/6 (/.f64 1 x)))
(+.f64 1/4 (+.f64 (*.f64 3/8 x) (*.f64 1/6 (/.f64 1 x))))
(+.f64 1/4 (+.f64 (*.f64 9/16 (pow.f64 x 2)) (+.f64 (*.f64 3/8 x) (*.f64 1/6 (/.f64 1 x)))))
(/.f64 -1/9 (pow.f64 x 2))
(neg.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 2))) (*.f64 2/27 (/.f64 1 (pow.f64 x 3)))))
(neg.f64 (+.f64 (*.f64 2/27 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 2))) (*.f64 4/81 (/.f64 1 (pow.f64 x 4))))))
(neg.f64 (+.f64 (*.f64 8/243 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 2/27 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 2))) (*.f64 4/81 (/.f64 1 (pow.f64 x 4)))))))
(/.f64 -1/9 (pow.f64 x 2))
(neg.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 2))) (*.f64 2/27 (/.f64 1 (pow.f64 x 3)))))
(neg.f64 (+.f64 (*.f64 2/27 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 2))) (*.f64 4/81 (/.f64 1 (pow.f64 x 4))))))
(neg.f64 (+.f64 (*.f64 8/243 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 2/27 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 2))) (*.f64 4/81 (/.f64 1 (pow.f64 x 4)))))))
(*.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)))
12
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(*.f64 -27 (pow.f64 x 2))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(*.f64 -27 (pow.f64 x 2))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
4
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(*.f64 -9 (pow.f64 x 2))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(*.f64 -9 (pow.f64 x 2))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
Outputs
(/.f64 1/6 x)
(+.f64 1/4 (*.f64 1/6 (/.f64 1 x)))
(+.f64 1/4 (/.f64 1/6 x))
(+.f64 1/4 (+.f64 (*.f64 3/8 x) (*.f64 1/6 (/.f64 1 x))))
(+.f64 1/4 (fma.f64 3/8 x (/.f64 1/6 x)))
(+.f64 1/4 (fma.f64 x 3/8 (/.f64 1/6 x)))
(+.f64 (/.f64 1/6 x) (fma.f64 x 3/8 1/4))
(+.f64 1/4 (+.f64 (*.f64 9/16 (pow.f64 x 2)) (+.f64 (*.f64 3/8 x) (*.f64 1/6 (/.f64 1 x)))))
(+.f64 1/4 (fma.f64 9/16 (*.f64 x x) (fma.f64 3/8 x (/.f64 1/6 x))))
(+.f64 1/4 (fma.f64 9/16 (*.f64 x x) (fma.f64 x 3/8 (/.f64 1/6 x))))
(+.f64 1/4 (fma.f64 x 3/8 (fma.f64 9/16 (*.f64 x x) (/.f64 1/6 x))))
(+.f64 1/4 (fma.f64 x (fma.f64 x 9/16 3/8) (/.f64 1/6 x)))
(/.f64 -1/9 (pow.f64 x 2))
(/.f64 -1/9 (*.f64 x x))
(/.f64 (/.f64 -1/9 x) x)
(neg.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 2))) (*.f64 2/27 (/.f64 1 (pow.f64 x 3)))))
(neg.f64 (+.f64 (/.f64 1/9 (*.f64 x x)) (/.f64 2/27 (pow.f64 x 3))))
(+.f64 (/.f64 -2/27 (pow.f64 x 3)) (/.f64 -1/9 (*.f64 x x)))
(+.f64 (/.f64 -2/27 (pow.f64 x 3)) (/.f64 (/.f64 -1/9 x) x))
(-.f64 (/.f64 -1/9 (*.f64 x x)) (/.f64 2/27 (pow.f64 x 3)))
(neg.f64 (+.f64 (*.f64 2/27 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 2))) (*.f64 4/81 (/.f64 1 (pow.f64 x 4))))))
(neg.f64 (+.f64 (/.f64 2/27 (pow.f64 x 3)) (+.f64 (/.f64 1/9 (*.f64 x x)) (/.f64 4/81 (pow.f64 x 4)))))
(-.f64 (/.f64 -2/27 (pow.f64 x 3)) (+.f64 (/.f64 1/9 (*.f64 x x)) (/.f64 4/81 (pow.f64 x 4))))
(+.f64 (+.f64 (/.f64 -2/27 (pow.f64 x 3)) (/.f64 (/.f64 -1/9 x) x)) (/.f64 -4/81 (pow.f64 x 4)))
(+.f64 (+.f64 (/.f64 -2/27 (pow.f64 x 3)) (/.f64 -1/9 (*.f64 x x))) (/.f64 -4/81 (pow.f64 x 4)))
(+.f64 (-.f64 (/.f64 -1/9 (*.f64 x x)) (/.f64 2/27 (pow.f64 x 3))) (/.f64 -4/81 (pow.f64 x 4)))
(neg.f64 (+.f64 (*.f64 8/243 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 2/27 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 2))) (*.f64 4/81 (/.f64 1 (pow.f64 x 4)))))))
(neg.f64 (+.f64 (+.f64 (/.f64 2/27 (pow.f64 x 3)) (+.f64 (/.f64 1/9 (*.f64 x x)) (/.f64 4/81 (pow.f64 x 4)))) (/.f64 8/243 (pow.f64 x 5))))
(+.f64 (-.f64 (/.f64 -2/27 (pow.f64 x 3)) (+.f64 (/.f64 1/9 (*.f64 x x)) (/.f64 4/81 (pow.f64 x 4)))) (/.f64 -8/243 (pow.f64 x 5)))
(+.f64 (+.f64 (/.f64 -2/27 (pow.f64 x 3)) (/.f64 (/.f64 -1/9 x) x)) (-.f64 (/.f64 -4/81 (pow.f64 x 4)) (/.f64 8/243 (pow.f64 x 5))))
(+.f64 (/.f64 -2/27 (pow.f64 x 3)) (+.f64 (/.f64 -1/9 (*.f64 x x)) (-.f64 (/.f64 -4/81 (pow.f64 x 4)) (/.f64 8/243 (pow.f64 x 5)))))
(-.f64 (+.f64 (/.f64 -1/9 (*.f64 x x)) (-.f64 (/.f64 -4/81 (pow.f64 x 4)) (/.f64 8/243 (pow.f64 x 5)))) (/.f64 2/27 (pow.f64 x 3)))
(/.f64 -1/9 (pow.f64 x 2))
(/.f64 -1/9 (*.f64 x x))
(/.f64 (/.f64 -1/9 x) x)
(neg.f64 (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 2))) (*.f64 2/27 (/.f64 1 (pow.f64 x 3)))))
(neg.f64 (+.f64 (/.f64 1/9 (*.f64 x x)) (/.f64 2/27 (pow.f64 x 3))))
(+.f64 (/.f64 -2/27 (pow.f64 x 3)) (/.f64 -1/9 (*.f64 x x)))
(+.f64 (/.f64 -2/27 (pow.f64 x 3)) (/.f64 (/.f64 -1/9 x) x))
(-.f64 (/.f64 -1/9 (*.f64 x x)) (/.f64 2/27 (pow.f64 x 3)))
(neg.f64 (+.f64 (*.f64 2/27 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 2))) (*.f64 4/81 (/.f64 1 (pow.f64 x 4))))))
(neg.f64 (+.f64 (/.f64 2/27 (pow.f64 x 3)) (+.f64 (/.f64 1/9 (*.f64 x x)) (/.f64 4/81 (pow.f64 x 4)))))
(-.f64 (/.f64 -2/27 (pow.f64 x 3)) (+.f64 (/.f64 1/9 (*.f64 x x)) (/.f64 4/81 (pow.f64 x 4))))
(+.f64 (+.f64 (/.f64 -2/27 (pow.f64 x 3)) (/.f64 (/.f64 -1/9 x) x)) (/.f64 -4/81 (pow.f64 x 4)))
(+.f64 (+.f64 (/.f64 -2/27 (pow.f64 x 3)) (/.f64 -1/9 (*.f64 x x))) (/.f64 -4/81 (pow.f64 x 4)))
(+.f64 (-.f64 (/.f64 -1/9 (*.f64 x x)) (/.f64 2/27 (pow.f64 x 3))) (/.f64 -4/81 (pow.f64 x 4)))
(neg.f64 (+.f64 (*.f64 8/243 (/.f64 1 (pow.f64 x 5))) (+.f64 (*.f64 2/27 (/.f64 1 (pow.f64 x 3))) (+.f64 (*.f64 1/9 (/.f64 1 (pow.f64 x 2))) (*.f64 4/81 (/.f64 1 (pow.f64 x 4)))))))
(neg.f64 (+.f64 (+.f64 (/.f64 2/27 (pow.f64 x 3)) (+.f64 (/.f64 1/9 (*.f64 x x)) (/.f64 4/81 (pow.f64 x 4)))) (/.f64 8/243 (pow.f64 x 5))))
(+.f64 (-.f64 (/.f64 -2/27 (pow.f64 x 3)) (+.f64 (/.f64 1/9 (*.f64 x x)) (/.f64 4/81 (pow.f64 x 4)))) (/.f64 -8/243 (pow.f64 x 5)))
(+.f64 (+.f64 (/.f64 -2/27 (pow.f64 x 3)) (/.f64 (/.f64 -1/9 x) x)) (-.f64 (/.f64 -4/81 (pow.f64 x 4)) (/.f64 8/243 (pow.f64 x 5))))
(+.f64 (/.f64 -2/27 (pow.f64 x 3)) (+.f64 (/.f64 -1/9 (*.f64 x x)) (-.f64 (/.f64 -4/81 (pow.f64 x 4)) (/.f64 8/243 (pow.f64 x 5)))))
(-.f64 (+.f64 (/.f64 -1/9 (*.f64 x x)) (-.f64 (/.f64 -4/81 (pow.f64 x 4)) (/.f64 8/243 (pow.f64 x 5)))) (/.f64 2/27 (pow.f64 x 3)))
(*.f64 6 x)
(*.f64 x 6)
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 x (*.f64 x -9)))
(*.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 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 x (*.f64 x -9)))
(*.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 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 x (*.f64 x -9)))
(*.f64 x (+.f64 6 (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 (*.f64 x x) -9)
(*.f64 x (*.f64 x -9))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 x (*.f64 x -9)))
(*.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 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 x (*.f64 x -9)))
(*.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 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 x (*.f64 x -9)))
(*.f64 x (+.f64 6 (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 (*.f64 x x) -9)
(*.f64 x (*.f64 x -9))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 x (*.f64 x -9)))
(*.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 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 x (*.f64 x -9)))
(*.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 (*.f64 x x) -9))
(fma.f64 x 6 (*.f64 x (*.f64 x -9)))
(*.f64 x (+.f64 6 (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
12
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)
(*.f64 -27 (pow.f64 x 2))
(*.f64 (*.f64 x x) -27)
(*.f64 x (*.f64 x -27))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)
(*.f64 -27 (pow.f64 x 2))
(*.f64 (*.f64 x x) -27)
(*.f64 x (*.f64 x -27))
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)
(+.f64 12 (*.f64 -27 (pow.f64 x 2)))
(+.f64 12 (*.f64 (*.f64 x x) -27))
(fma.f64 (*.f64 x x) -27 12)
(fma.f64 x (*.f64 x -27) 12)
4
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 (*.f64 x x) -9))
(fma.f64 (*.f64 x x) -9 4)
(fma.f64 x (*.f64 x -9) 4)
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 (*.f64 x x) -9))
(fma.f64 (*.f64 x x) -9 4)
(fma.f64 x (*.f64 x -9) 4)
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 (*.f64 x x) -9))
(fma.f64 (*.f64 x x) -9 4)
(fma.f64 x (*.f64 x -9) 4)
(*.f64 -9 (pow.f64 x 2))
(*.f64 (*.f64 x x) -9)
(*.f64 x (*.f64 x -9))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 (*.f64 x x) -9))
(fma.f64 (*.f64 x x) -9 4)
(fma.f64 x (*.f64 x -9) 4)
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 (*.f64 x x) -9))
(fma.f64 (*.f64 x x) -9 4)
(fma.f64 x (*.f64 x -9) 4)
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 (*.f64 x x) -9))
(fma.f64 (*.f64 x x) -9 4)
(fma.f64 x (*.f64 x -9) 4)
(*.f64 -9 (pow.f64 x 2))
(*.f64 (*.f64 x x) -9)
(*.f64 x (*.f64 x -9))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 (*.f64 x x) -9))
(fma.f64 (*.f64 x x) -9 4)
(fma.f64 x (*.f64 x -9) 4)
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 (*.f64 x x) -9))
(fma.f64 (*.f64 x x) -9 4)
(fma.f64 x (*.f64 x -9) 4)
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 (*.f64 x x) -9))
(fma.f64 (*.f64 x x) -9 4)
(fma.f64 x (*.f64 x -9) 4)

eval557.0ms (6.8%)

Compiler

Compiled 9656 to 7575 computations (21.6% saved)

prune143.0ms (1.7%)

Pruning

18 alts after pruning (15 fresh and 3 done)

PrunedKeptTotal
New5477554
Fresh3811
Picked101
Done538
Total55618574
Error
0b
Counts
574 → 18
Alt Table
Click to see full alt table
StatusErrorProgram
42.9b
(*.f64 (/.f64 (*.f64 x (*.f64 x -27)) (+.f64 2 (*.f64 3 x))) x)
42.7b
(*.f64 (*.f64 x -9) x)
43.7b
(*.f64 (*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1/3 x))) x)
42.7b
(*.f64 (*.f64 3 (*.f64 x -3)) x)
0.5b
(/.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3) (/.f64 (fma.f64 x 3 2) x))
19.6b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) 2) x)
0.2b
(fma.f64 x 6 (*.f64 x (*.f64 x -9)))
42.6b
(*.f64 -9 (pow.f64 x 2))
15.4b
(/.f64 (/.f64 (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) (sqrt.f64 (fma.f64 x 3 2))) (sqrt.f64 (fma.f64 x 3 2)))
19.1b
(*.f64 x 6)
42.9b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x -3)) x)
0.2b
(*.f64 (+.f64 (*.f64 -9 x) 6) x)
42.7b
(/.f64 1 (/.f64 (/.f64 -1/9 x) x))
0.4b
(/.f64 x (/.f64 1 (*.f64 3 (+.f64 2 (*.f64 -3 x)))))
0.3b
(+.f64 0 (*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x))))
6.8b
(/.f64 (*.f64 (+.f64 (pow.f64 (*.f64 -9 x) 2) -36) x) (fma.f64 -9 x -6))
8.8b
(/.f64 (*.f64 (+.f64 216 (*.f64 (pow.f64 x 3) -729)) x) (+.f64 (pow.f64 (*.f64 -9 x) 2) (-.f64 36 (*.f64 x -54))))
19.2b
(/.f64 1 (/.f64 1/6 x))
Compiler

Compiled 392 to 307 computations (21.7% saved)

localize12.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 20 to 13 computations (35% saved)

series5.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite61.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
635×pow1_binary64
591×add-log-exp_binary64
591×log1p-expm1-u_binary64
591×expm1-log1p-u_binary64
581×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0718
114317
2158817
Stop Event
node limit
Counts
2 → 33
Calls
Call 1
Inputs
(*.f64 x (*.f64 x -9))
(fma.f64 x 6 (*.f64 x (*.f64 x -9)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (*.f64 x -9))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x -9)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x -9)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -9))) 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 (pow.f64 (*.f64 x (*.f64 x -9)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x -9)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x -9)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x -9))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x -9))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x -9))))))))
((#(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 x 6) (*.f64 x (*.f64 x -9)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x 6) 1) (*.f64 x (*.f64 x -9)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (+.f64 6 (*.f64 x -9)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 6 (*.f64 x -9)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (+.f64 6 (*.f64 x -9))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (+.f64 6 (*.f64 x -9))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))) 2) (cbrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))) (sqrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x 6) 3) (pow.f64 (*.f64 x (*.f64 x -9)) 3)) (+.f64 (*.f64 (*.f64 x 6) (*.f64 x 6)) (-.f64 (pow.f64 (*.f64 x (*.f64 x -9)) 2) (*.f64 (*.f64 x 6) (*.f64 x (*.f64 x -9))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x 6) (*.f64 x 6)) (pow.f64 (*.f64 x (*.f64 x -9)) 2)) (-.f64 (*.f64 x 6) (*.f64 x (*.f64 x -9))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 6 (*.f64 x -9))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 6 (*.f64 x -9))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 6 (*.f64 x -9))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 6 (*.f64 x -9))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 6 (*.f64 x -9)))))))))

simplify172.0ms (2.1%)

Algorithm
egg-herbie
Rules
778×sqr-pow_binary64
555×cube-prod_binary64
551×fabs-mul_binary64
542×associate-*l*_binary64
434×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
09201
118201
232192
369174
4168174
5495174
61760174
73006174
83210174
93423174
103643174
113956174
124358174
134869174
145435174
156127174
166964174
177356174
187644174
197922174
207996174
Stop Event
node limit
Counts
57 → 39
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))

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.3b
(/.f64 1 (/.f64 1/6 x))
0.4b
(/.f64 1/6 x)
Compiler

Compiled 12 to 9 computations (25% saved)

series3.0ms (0%)

Counts
2 → 12
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@0
(/.f64 1/6 x)
0.0ms
x
@inf
(/.f64 1 (/.f64 1/6 x))
0.0ms
x
@-inf
(/.f64 1 (/.f64 1/6 x))
0.0ms
x
@inf
(/.f64 1/6 x)
0.0ms
x
@0
(/.f64 1 (/.f64 1/6 x))

rewrite61.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
552×pow1_binary64
520×add-log-exp_binary64
520×log1p-expm1-u_binary64
520×expm1-log1p-u_binary64
510×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11298
215058
Stop Event
node limit
Counts
2 → 46
Calls
Call 1
Inputs
(/.f64 1/6 x)
(/.f64 1 (/.f64 1/6 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (/.f64 1/6 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/6 (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/6 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1/6 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/6 x)) (pow.f64 (cbrt.f64 (/.f64 1/6 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 1/6 x)) 2) (cbrt.f64 (/.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 1/6 x)) (sqrt.f64 (/.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/6 (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/6 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 6) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1/6 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1/6 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 1/6 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (/.f64 1/36 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1/6 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 1/6 x)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x 6)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x 6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x 6)) (cbrt.f64 (*.f64 36 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 36 (*.f64 x x))) (cbrt.f64 (*.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x 6)) (sqrt.f64 (*.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 1 (/.f64 -1/6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 6 x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 6 (pow.f64 (/.f64 1 x) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 1/6 x)) 2) -1) (pow.f64 (cbrt.f64 (/.f64 1/6 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (/.f64 1/6 x)) -1) (pow.f64 (sqrt.f64 (/.f64 1/6 x)) -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -6 (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 6 (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 6 (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/6 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x 6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x 6) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x 6)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x 6)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 36 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 6) x))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x 6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x 6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x 6)))))))

simplify9.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0448
1548
Stop Event
saturated
Counts
58 → 46
Calls
Call 1
Inputs
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
Outputs
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)
(*.f64 6 x)

localize15.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 2 (*.f64 -3 x))
0.2b
(*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x)))
Compiler

Compiled 37 to 29 computations (21.6% saved)

series2.0ms (0%)

Counts
2 → 18
Calls

6 calls:

TimeVariablePointExpression
0.0ms
x
@0
(*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x)))
0.0ms
x
@-inf
(*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x)))
0.0ms
x
@inf
(*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x)))
0.0ms
x
@inf
(+.f64 2 (*.f64 -3 x))
0.0ms
x
@-inf
(+.f64 2 (*.f64 -3 x))

rewrite67.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
851×pow1_binary64
799×add-log-exp_binary64
798×log1p-expm1-u_binary64
798×expm1-log1p-u_binary64
787×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0920
119916
2263516
Stop Event
node limit
Counts
2 → 58
Calls
Call 1
Inputs
(*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x)))
(+.f64 2 (*.f64 -3 x))
Outputs
((#(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 (*.f64 9 (*.f64 x x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (*.f64 3 x) (fma.f64 x -3 2))) 1)))) (#(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 (*.f64 9 (*.f64 x x)) (*.f64 9 (*.f64 x x))) (*.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 (*.f64 9 (*.f64 x x)) (*.f64 9 (*.f64 x x)))) (-.f64 (*.f64 x 6) (*.f64 9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 8 (*.f64 -27 (pow.f64 x 3))) (*.f64 3 x)) (+.f64 4 (-.f64 (*.f64 9 (*.f64 x x)) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (*.f64 3 x)) (fma.f64 x -3 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 3 x) (+.f64 8 (*.f64 -27 (pow.f64 x 3)))) (+.f64 4 (-.f64 (*.f64 9 (*.f64 x x)) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 3 x) (-.f64 4 (*.f64 9 (*.f64 x x)))) (fma.f64 x -3 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 3 x) (fma.f64 x -3 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 3 x) (fma.f64 x -3 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 3 x) (fma.f64 x -3 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (*.f64 3 x) (fma.f64 x -3 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (*.f64 3 x) (fma.f64 x -3 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 3) (*.f64 x (fma.f64 x -3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 3 x) (fma.f64 x -3 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 -27 (pow.f64 x 3)) (pow.f64 (fma.f64 x -3 2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 x -3 2) 3) (*.f64 -27 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 3 x) (fma.f64 x -3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 3 x) (fma.f64 x -3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 3 x) (fma.f64 x -3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 3 x) 2 (*.f64 9 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 2 (*.f64 3 x) (*.f64 9 (*.f64 x x)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 2 (*.f64 3 x))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (fma.f64 x -3 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 4 (fma.f64 x -3 2)) (/.f64 (*.f64 9 (*.f64 x x)) (fma.f64 x -3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x -3 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x -3 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x -3 2)) (pow.f64 (cbrt.f64 (fma.f64 x -3 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 x -3 2)) 2) (cbrt.f64 (fma.f64 x -3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x -3 2)) (sqrt.f64 (fma.f64 x -3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 8 (*.f64 -27 (pow.f64 x 3))) (/.f64 1 (+.f64 4 (-.f64 (*.f64 9 (*.f64 x x)) (*.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1 (fma.f64 x -3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 4 (-.f64 (*.f64 9 (*.f64 x x)) (*.f64 x 6))) (+.f64 8 (*.f64 -27 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x -3 2) (-.f64 4 (*.f64 9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 8 (*.f64 -27 (pow.f64 x 3))) (+.f64 4 (-.f64 (*.f64 9 (*.f64 x x)) (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 8 (*.f64 -27 (pow.f64 x 3))) (+.f64 (*.f64 9 (*.f64 x x)) (-.f64 4 (*.f64 x 6))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (fma.f64 x -3 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 8 (*.f64 -27 (pow.f64 x 3)))) (neg.f64 (+.f64 4 (-.f64 (*.f64 9 (*.f64 x x)) (*.f64 x 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 4 (*.f64 9 (*.f64 x x)))) (neg.f64 (fma.f64 x -3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 8 (*.f64 -27 (pow.f64 x 3))) (+.f64 4 (*.f64 (*.f64 3 x) (fma.f64 x -3 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 9 (*.f64 x x)) 4) (-.f64 (*.f64 3 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x -3 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x -3 2) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x -3 2)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x -3 2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x -3 2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x -3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x -3 2) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x -3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x -3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x -3 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x -3 2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -3 x 2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 3 x) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 3 x)) 2) (cbrt.f64 (*.f64 3 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 3 x)) (sqrt.f64 (*.f64 3 x)) 2)))))

simplify189.0ms (2.3%)

Algorithm
egg-herbie
Rules
778×sqr-pow_binary64
598×associate-*l*_binary64
540×cube-prod_binary64
530×fabs-mul_binary64
434×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
012141
124141
239132
380114
4194114
5553114
61913114
73183114
83387114
93600114
103820114
114130114
124534114
135045114
145613114
156299114
167134114
177526114
187814114
Stop Event
node limit
Counts
76 → 67
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)))
2
(+.f64 (*.f64 -3 x) 2)
(+.f64 (*.f64 -3 x) 2)
(+.f64 (*.f64 -3 x) 2)
(*.f64 -3 x)
(*.f64 -3 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 (+.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))
2
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(*.f64 -3 x)
(*.f64 x -3)
(*.f64 -3 x)
(*.f64 x -3)

localize22.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 9 (*.f64 x x))
0.2b
(*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1/3 x)))
0.4b
(/.f64 1/3 x)
0.4b
(*.f64 (*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1/3 x))) x)
Compiler

Compiled 63 to 40 computations (36.5% saved)

series6.0ms (0.1%)

Counts
3 → 24
Calls

9 calls:

TimeVariablePointExpression
2.0ms
x
@inf
(*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1/3 x)))
1.0ms
x
@0
(*.f64 (*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1/3 x))) x)
0.0ms
x
@-inf
(*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1/3 x)))
0.0ms
x
@0
(/.f64 1/3 x)
0.0ms
x
@inf
(/.f64 1/3 x)

rewrite77.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
674×log-prod_binary64
341×pow2_binary64
279×pow-unpow_binary64
237×pow1/3_binary64
237×expm1-udef_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01345
129145
2364041
Stop Event
node limit
Counts
3 → 72
Calls
Call 1
Inputs
(*.f64 (*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1/3 x))) x)
(/.f64 1/3 x)
(*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1/3 x)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 3 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 3) (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x)))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 3) (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 3) (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 3) (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 3 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 3 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 3 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 3 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 3 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 3 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 x 3) (pow.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) 3)) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) 3)) 3) (pow.f64 x 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 3 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 3) (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 3 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 3 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) 3)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) 3)) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 3 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 3 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 3 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 3 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) x)))) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (/.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (/.f64 1/3 x))) 2)) (log.f64 (cbrt.f64 (exp.f64 (/.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (/.f64 1/3 x)))) (log.f64 (sqrt.f64 (exp.f64 (/.f64 1/3 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (/.f64 1/3 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/3 (/.f64 1 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1/3 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 1/3 x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 1/3 x)) (cbrt.f64 (pow.f64 (/.f64 1/3 x) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (/.f64 1/3 x) 2)) (cbrt.f64 (/.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 1/3 x)) (sqrt.f64 (/.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1/3 (/.f64 1 (neg.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 x) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 3 x) 2) -1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 1/3 x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1/3 x) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (/.f64 1/3 x) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (/.f64 1/3 x)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (/.f64 1/3 x)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 3 x) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (*.f64 3 x) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (/.f64 1/3 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (/.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (/.f64 1/3 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (/.f64 1/3 x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (/.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (/.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (/.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (/.f64 1/3 x)) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 (*.f64 x x) -9 4)) (/.f64 1/3 x)) 2)) (*.f64 (fma.f64 (*.f64 x x) -9 4) (/.f64 1/3 x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 (*.f64 x x) -9 4)) (/.f64 1/3 x)) 3))) (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 (*.f64 x x) -9 4)) (/.f64 1/3 x)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 3 (fma.f64 (*.f64 x x) -9 4)) (*.f64 3 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 1/3) 3) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 3 (*.f64 (fma.f64 (*.f64 x x) -9 4) 1/3)) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 3 (fma.f64 (*.f64 x x) -9 4)) 1/3) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 3 (fma.f64 (*.f64 x x) -9 4)) 1) (*.f64 3 x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 3 (fma.f64 (*.f64 x x) -9 4)) -1/3) (neg.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 9 (pow.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) (/.f64 1/3 x)) 2)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) 3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) 3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 9 (pow.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) (/.f64 1/3 x)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 (*.f64 x x) -9 4)) (/.f64 1/3 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) (*.f64 (/.f64 1/3 x) 3))) 1))))))

simplify132.0ms (1.6%)

Algorithm
egg-herbie
Rules
611×associate-/r/_binary64
486×sqr-pow_binary64
448×cube-prod_binary64
444×associate-*l*_binary64
434×unswap-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
014189
127171
240171
365171
4146171
5413171
61540171
73567171
84566171
95397171
106128171
116811171
127606171
Stop Event
node limit
Counts
96 → 81
Calls
Call 1
Inputs
4
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(*.f64 -9 (pow.f64 x 2))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(*.f64 -9 (pow.f64 x 2))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(/.f64 4 x)
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
(*.f64 -9 x)
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
(*.f64 -9 x)
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
Outputs
4
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) 4)
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) 4)
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) 4)
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) 4)
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) 4)
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) 4)
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) 4)
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) 4)
(+.f64 4 (*.f64 -9 (pow.f64 x 2)))
(+.f64 4 (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) 4)
(/.f64 4 x)
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
(fma.f64 -9 x (/.f64 4 x))
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
(fma.f64 -9 x (/.f64 4 x))
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
(fma.f64 -9 x (/.f64 4 x))
(*.f64 -9 x)
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
(fma.f64 -9 x (/.f64 4 x))
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
(fma.f64 -9 x (/.f64 4 x))
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
(fma.f64 -9 x (/.f64 4 x))
(*.f64 -9 x)
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
(fma.f64 -9 x (/.f64 4 x))
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
(fma.f64 -9 x (/.f64 4 x))
(+.f64 (*.f64 -9 x) (*.f64 4 (/.f64 1 x)))
(fma.f64 -9 x (/.f64 4 x))

localize52.0ms (0.6%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x -3)) x)
0.2b
(*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x -3))
1.0b
(pow.f64 (sqrt.f64 3) 2)
Compiler

Compiled 32 to 27 computations (15.6% saved)

series4.0ms (0%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@0
(*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x -3))
1.0ms
x
@inf
(*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x -3))
1.0ms
x
@0
(*.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x -3)) x)
1.0ms
x
@inf
(*.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x -3)) x)
0.0ms
x
@-inf
(*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x -3))

rewrite145.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
766×pow1_binary64
711×add-log-exp_binary64
710×log1p-expm1-u_binary64
710×expm1-log1p-u_binary64
697×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01017
121111
2203211
Stop Event
node limit
Counts
2 → 24
Calls
Call 1
Inputs
(*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x -3))
(*.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x -3)) x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x -9)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x -9) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x -9) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x -9)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x -9)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x -9) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x -9)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x -9) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x -9)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x -9)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x -9)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (*.f64 x -9))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x -9)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x -9)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x -9))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (*.f64 x -9))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (*.f64 x -9)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x -9)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x -9)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (*.f64 x -9) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x -9) 3) (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x -9))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x -9))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x -9))))))))

simplify153.0ms (1.9%)

Algorithm
egg-herbie
Rules
814×unswap-sqr_binary64
763×sqr-pow_binary64
711×fabs-mul_binary64
706×cube-prod_binary64
418×*-commutative_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
012324
127132
266132
3178132
4804132
51316132
62562132
72667132
82823132
92999132
103205132
113484132
123837132
134267132
144840132
155581132
166498132
177022132
187482132
197900132
Stop Event
node limit
Counts
48 → 28
Calls
Call 1
Inputs
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
Outputs
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 x -9)
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 x -9)
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 x -9)
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 x -9)
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 x -9)
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 x -9)
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 x -9)
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 x -9)
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 x -9)
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 x -9)
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 x -9)
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 x -9)
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x))
(*.f64 (*.f64 x -9) x)
(*.f64 x (*.f64 x -9))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x))
(*.f64 (*.f64 x -9) x)
(*.f64 x (*.f64 x -9))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x))
(*.f64 (*.f64 x -9) x)
(*.f64 x (*.f64 x -9))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x))
(*.f64 (*.f64 x -9) x)
(*.f64 x (*.f64 x -9))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x))
(*.f64 (*.f64 x -9) x)
(*.f64 x (*.f64 x -9))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x))
(*.f64 (*.f64 x -9) x)
(*.f64 x (*.f64 x -9))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x))
(*.f64 (*.f64 x -9) x)
(*.f64 x (*.f64 x -9))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x))
(*.f64 (*.f64 x -9) x)
(*.f64 x (*.f64 x -9))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x))
(*.f64 (*.f64 x -9) x)
(*.f64 x (*.f64 x -9))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x))
(*.f64 (*.f64 x -9) x)
(*.f64 x (*.f64 x -9))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x))
(*.f64 (*.f64 x -9) x)
(*.f64 x (*.f64 x -9))
(*.f64 -3 (*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2)))
(*.f64 (*.f64 -3 (pow.f64 (sqrt.f64 3) 2)) (*.f64 x x))
(*.f64 (*.f64 x -9) x)
(*.f64 x (*.f64 x -9))

eval235.0ms (2.9%)

Compiler

Compiled 3765 to 2812 computations (25.3% saved)

prune45.0ms (0.6%)

Pruning

16 alts after pruning (9 fresh and 7 done)

PrunedKeptTotal
New2755280
Fresh6410
Picked011
Done167
Total28216298
Error
0b
Counts
298 → 16
Alt Table
Click to see full alt table
StatusErrorProgram
42.9b
(*.f64 (/.f64 (*.f64 x (*.f64 x -27)) (+.f64 2 (*.f64 3 x))) x)
42.7b
(*.f64 (*.f64 x -9) x)
42.9b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x -3)) x)
42.3b
(*.f64 (*.f64 6 (sqrt.f64 x)) (sqrt.f64 x))
62.1b
4
0.2b
(*.f64 (+.f64 (*.f64 -9 x) 6) x)
42.6b
(*.f64 -9 (*.f64 x x))
0.2b
(+.f64 0 (*.f64 (*.f64 3 x) (fma.f64 x -3 2)))
19.1b
(*.f64 x 6)
42.7b
(/.f64 1 (/.f64 (/.f64 -1/9 x) x))
0.5b
(/.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3) (/.f64 (fma.f64 x 3 2) x))
0.4b
(/.f64 x (/.f64 1 (*.f64 3 (+.f64 2 (*.f64 -3 x)))))
0.3b
(+.f64 0 (*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x))))
50.6b
(sqrt.f64 (*.f64 36 (*.f64 x x)))
19.2b
(/.f64 1 (/.f64 1/6 x))
0.2b
(fma.f64 x 6 (*.f64 x (*.f64 x -9)))
Compiler

Compiled 140 to 106 computations (24.3% saved)

regimes315.0ms (3.8%)

Counts
41 → 1
Calls
Call 1
Inputs
4
(*.f64 x 6)
(*.f64 -9 (*.f64 x x))
(/.f64 1 (/.f64 1/6 x))
(*.f64 (*.f64 x -9) x)
(*.f64 (*.f64 x -9) x)
(/.f64 1 (/.f64 (/.f64 -1/9 x) x))
(*.f64 (*.f64 3 (*.f64 x -3)) x)
(*.f64 (+.f64 (*.f64 -9 x) 6) x)
(*.f64 (*.f64 3 (*.f64 x -3)) x)
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
(+.f64 0 (*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x))))
(/.f64 x (/.f64 1 (*.f64 3 (+.f64 2 (*.f64 -3 x)))))
(*.f64 (/.f64 (*.f64 x (*.f64 x -27)) (+.f64 2 (*.f64 3 x))) x)
(*.f64 (*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1/3 x))) x)
(*.f64 (/.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3) (+.f64 2 (*.f64 3 x))) x)
(*.f64 (*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1 (+.f64 2 (*.f64 3 x))))) x)
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(sqrt.f64 (*.f64 36 (*.f64 x x)))
(*.f64 x (fma.f64 x -9 6))
(fma.f64 x 6 (*.f64 x (*.f64 x -9)))
(*.f64 (*.f64 3 (fma.f64 x -3 2)) x)
(+.f64 0 (*.f64 (*.f64 3 x) (fma.f64 x -3 2)))
(pow.f64 (*.f64 3 (*.f64 (+.f64 2 (*.f64 x -3)) x)) 1)
(*.f64 (*.f64 6 (sqrt.f64 x)) (sqrt.f64 x))
(*.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) 2) x)
(*.f64 2 (*.f64 (pow.f64 (sqrt.f64 3) 2) x))
(*.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x -3)) x)
(*.f64 (*.f64 (pow.f64 (sqrt.f64 3) 2) (+.f64 2 (*.f64 x -3))) x)
(*.f64 (sqrt.f64 (*.f64 9 (pow.f64 (-.f64 2 (*.f64 3 x)) 2))) x)
(*.f64 (pow.f64 (sqrt.f64 (*.f64 3 (-.f64 2 (*.f64 3 x)))) 2) x)
(cbrt.f64 (pow.f64 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x)))) 3))
(pow.f64 (sqrt.f64 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x))))) 2)
(pow.f64 (cbrt.f64 (*.f64 x (*.f64 3 (-.f64 2 (*.f64 3 x))))) 3)
(/.f64 (*.f64 (+.f64 (pow.f64 (*.f64 -9 x) 2) -36) x) (fma.f64 -9 x -6))
(/.f64 (*.f64 (fma.f64 (*.f64 x x) -9 4) 3) (/.f64 (fma.f64 x 3 2) x))
(/.f64 1 (/.f64 (fma.f64 x 3 2) (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3))))
(/.f64 (*.f64 (+.f64 216 (*.f64 (pow.f64 x 3) -729)) x) (+.f64 (pow.f64 (*.f64 -9 x) 2) (-.f64 36 (*.f64 x -54))))
(cbrt.f64 (*.f64 (pow.f64 (*.f64 3 (-.f64 2 (*.f64 3 x))) 3) (pow.f64 x 3)))
(/.f64 (/.f64 (*.f64 x (*.f64 (fma.f64 (*.f64 x x) -9 4) 3)) (sqrt.f64 (fma.f64 x 3 2))) (sqrt.f64 (fma.f64 x 3 2)))
Outputs
(fma.f64 x 6 (*.f64 x (*.f64 x -9)))
Calls

3 calls:

78.0ms
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
39.0ms
x
35.0ms
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
Results
ErrorSegmentsBranch
0.2b1x
0.2b1(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
0.2b1(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
Compiler

Compiled 437 to 331 computations (24.3% saved)

regimes88.0ms (1.1%)

Counts
21 → 1
Calls
Call 1
Inputs
4
(*.f64 x 6)
(*.f64 -9 (*.f64 x x))
(/.f64 1 (/.f64 1/6 x))
(*.f64 (*.f64 x -9) x)
(*.f64 (*.f64 x -9) x)
(/.f64 1 (/.f64 (/.f64 -1/9 x) x))
(*.f64 (*.f64 3 (*.f64 x -3)) x)
(*.f64 (+.f64 (*.f64 -9 x) 6) x)
(*.f64 (*.f64 3 (*.f64 x -3)) x)
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
(+.f64 0 (*.f64 (*.f64 3 x) (+.f64 2 (*.f64 -3 x))))
(/.f64 x (/.f64 1 (*.f64 3 (+.f64 2 (*.f64 -3 x)))))
(*.f64 (/.f64 (*.f64 x (*.f64 x -27)) (+.f64 2 (*.f64 3 x))) x)
(*.f64 (*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1/3 x))) x)
(*.f64 (/.f64 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) 3) (+.f64 2 (*.f64 3 x))) x)
(*.f64 (*.f64 3 (*.f64 (-.f64 4 (*.f64 9 (*.f64 x x))) (/.f64 1 (+.f64 2 (*.f64 3 x))))) x)
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(sqrt.f64 (*.f64 36 (*.f64 x x)))
(*.f64 x (fma.f64 x -9 6))
Outputs
(*.f64 (+.f64 (*.f64 -9 x) 6) x)
Calls

3 calls:

42.0ms
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
22.0ms
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
13.0ms
x
Results
ErrorSegmentsBranch
0.2b1x
0.2b1(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
0.2b1(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
Compiler

Compiled 192 to 139 computations (27.6% saved)

regimes19.0ms (0.2%)

Counts
8 → 3
Calls
Call 1
Inputs
4
(*.f64 x 6)
(*.f64 -9 (*.f64 x x))
(/.f64 1 (/.f64 1/6 x))
(*.f64 (*.f64 x -9) x)
(*.f64 (*.f64 x -9) x)
(/.f64 1 (/.f64 (/.f64 -1/9 x) x))
(*.f64 (*.f64 3 (*.f64 x -3)) x)
Outputs
(*.f64 -9 (*.f64 x x))
(*.f64 x 6)
(/.f64 1 (/.f64 (/.f64 -1/9 x) x))
Calls

1 calls:

17.0ms
x
Results
ErrorSegmentsBranch
1.3b3x
Compiler

Compiled 41 to 28 computations (31.7% saved)

bsearch171.0ms (2.1%)

Algorithm
binary-search
Steps
TimeLeftRight
16.0ms
7.357464671497419e-7
134685829250.23473
155.0ms
-140.1741965090909
-0.49051423380318626
Compiler

Compiled 14 to 11 computations (21.4% saved)

regimes35.0ms (0.4%)

Counts
6 → 3
Calls
Call 1
Inputs
4
(*.f64 x 6)
(*.f64 -9 (*.f64 x x))
(/.f64 1 (/.f64 1/6 x))
(*.f64 (*.f64 x -9) x)
(*.f64 (*.f64 x -9) x)
Outputs
(*.f64 -9 (*.f64 x x))
(*.f64 x 6)
(*.f64 -9 (*.f64 x x))
Calls

1 calls:

33.0ms
x
Results
ErrorSegmentsBranch
1.3b3x
Compiler

Compiled 27 to 18 computations (33.3% saved)

bsearch32.0ms (0.4%)

Algorithm
binary-search
Steps
TimeLeftRight
16.0ms
7.357464671497419e-7
134685829250.23473
16.0ms
-140.1741965090909
-0.49051423380318626
Compiler

Compiled 14 to 11 computations (21.4% saved)

regimes5.0ms (0.1%)

Accuracy

Total -43.0b remaining (-225.5%)

Threshold costs -43.0b (-225.5%)

Counts
2 → 1
Calls
Call 1
Inputs
4
(*.f64 x 6)
Outputs
(*.f64 x 6)
Calls

1 calls:

3.0ms
x
Results
ErrorSegmentsBranch
19.1b1x
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify8.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02889
13689
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(fma.f64 x 6 (*.f64 x (*.f64 x -9)))
(*.f64 (+.f64 (*.f64 -9 x) 6) x)
(if (<=.f64 x -2465970543614455/17592186044416) (*.f64 -9 (*.f64 x x)) (if (<=.f64 x 6948928912715387/9444732965739290427392) (*.f64 x 6) (/.f64 1 (/.f64 (/.f64 -1/9 x) x))))
(if (<=.f64 x -2465970543614455/17592186044416) (*.f64 -9 (*.f64 x x)) (if (<=.f64 x 6948928912715387/9444732965739290427392) (*.f64 x 6) (*.f64 -9 (*.f64 x x))))
(*.f64 x 6)
4
Outputs
(fma.f64 x 6 (*.f64 x (*.f64 x -9)))
(*.f64 (+.f64 (*.f64 -9 x) 6) x)
(*.f64 x (+.f64 6 (*.f64 x -9)))
(if (<=.f64 x -2465970543614455/17592186044416) (*.f64 -9 (*.f64 x x)) (if (<=.f64 x 6948928912715387/9444732965739290427392) (*.f64 x 6) (/.f64 1 (/.f64 (/.f64 -1/9 x) x))))
(if (<=.f64 x -2465970543614455/17592186044416) (*.f64 -9 (*.f64 x x)) (if (<=.f64 x 6948928912715387/9444732965739290427392) (*.f64 x 6) (*.f64 -9 (*.f64 x x))))
(*.f64 x 6)
4
Compiler

Compiled 69 to 48 computations (30.4% saved)

soundness0.0ms (0%)

end119.0ms (1.5%)

Compiler

Compiled 64 to 42 computations (34.4% saved)

Profiling

Loading profile data...