Details

Time bar (total: 6.5s)

analyze5.0ms (0.1%)

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
62.5%6.2%31.3%6
65.6%3.1%31.3%7
65.6%1.6%32.8%8
66.4%0.8%32.8%9
66.4%0.4%33.2%10
66.6%0.2%33.2%11
66.6%0.1%33.3%12
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample1.1s (16.3%)

Results
1.0s8256×body256valid
0.0msbody256invalid

preprocess132.0ms (2%)

Algorithm
egg-herbie
Rules
1486×fma-def_binary64
783×fma-neg_binary64
357×associate-*l*_binary64
315×distribute-rgt-neg-in_binary64
295×sqr-pow_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11713
24511
311611
424111
532011
647511
780711
8170011
9256911
10348411
11466811
12559311
13603211
14626311
15656411
16767811
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
Outputs
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2))))
(*.f64 x (*.f64 x (+.f64 3 (*.f64 x -2))))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
Compiler

Compiled 11 to 8 computations (27.3% saved)

simplify126.0ms (1.9%)

Algorithm
egg-herbie
Rules
1486×fma-def_binary64
783×fma-neg_binary64
357×associate-*l*_binary64
315×distribute-rgt-neg-in_binary64
295×sqr-pow_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0813
11713
24511
311611
424111
532011
647511
780711
8170011
9256911
10348411
11466811
12559311
13603211
14626311
15656411
16767811
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
Outputs
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
(*.f64 x (*.f64 x (-.f64 3 (*.f64 x 2))))
(*.f64 x (*.f64 x (+.f64 3 (*.f64 x -2))))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))

eval1.0ms (0%)

Compiler

Compiled 18 to 12 computations (33.3% saved)

prune1.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
0.2b
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
Compiler

Compiled 19 to 13 computations (31.6% saved)

localize10.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

Compiled 22 to 15 computations (31.8% saved)

series4.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite100.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
647×pow1_binary64
601×add-log-exp_binary64
600×log1p-expm1-u_binary64
600×expm1-log1p-u_binary64
591×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0719
114319
2161319
Stop Event
node limit
Counts
2 → 26
Calls
Call 1
Inputs
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 x (fma.f64 x -2 3))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x -2) (*.f64 x x)) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 (*.f64 x x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (*.f64 x (fma.f64 x -2 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x (fma.f64 x -2 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x (fma.f64 x -2 3))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x (fma.f64 x -2 3)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 (fma.f64 x -2 3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (*.f64 x (fma.f64 x -2 3))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (*.f64 x x)) (fma.f64 x -2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x (fma.f64 x -2 3))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x (fma.f64 x -2 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x (fma.f64 x -2 3)))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x -2) x) (*.f64 3 x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x -2)) (*.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (fma.f64 x -2 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (fma.f64 x -2 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -2 3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -2 3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (fma.f64 x -2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (fma.f64 x -2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (fma.f64 x -2 3))))))))

simplify184.0ms (2.8%)

Algorithm
egg-herbie
Rules
944×sqr-pow_binary64
536×unswap-sqr_binary64
504×associate-*l*_binary64
489×cube-prod_binary64
484×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
013264
133264
266246
3158210
4446210
51724210
63420210
73738210
83989210
94276210
104655210
115213210
125831210
136543210
147012210
157331210
167599210
177763210
187855210
Stop Event
node limit
Counts
50 → 36
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 3 x)
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(*.f64 -2 (pow.f64 x 2))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(*.f64 -2 (pow.f64 x 2))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
Outputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 3 x)
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 2))
(*.f64 (*.f64 x x) -2)
(*.f64 x (*.f64 x -2))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 2))
(*.f64 (*.f64 x x) -2)
(*.f64 x (*.f64 x -2))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))

localize9.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

Compiled 24 to 15 computations (37.5% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite93.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
857×pow1_binary64
800×add-log-exp_binary64
799×log1p-expm1-u_binary64
799×expm1-log1p-u_binary64
785×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify177.0ms (2.7%)

Algorithm
egg-herbie
Rules
944×sqr-pow_binary64
536×unswap-sqr_binary64
490×fma-def_binary64
489×cube-prod_binary64
478×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
010147
126147
258138
3152120
4418120
51671120
63415120
73771120
84021120
94308120
104687120
115244120
125864120
136570120
147043120
157360120
167632120
177802120
187896120
Stop Event
node limit
Counts
31 → 24
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
Outputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))

eval14.0ms (0.2%)

Compiler

Compiled 650 to 437 computations (32.8% saved)

prune42.0ms (0.6%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New52860
Fresh000
Picked011
Done101
Total53962
Error
0.0b
Counts
62 → 9
Alt Table
Click to see full alt table
StatusErrorProgram
5.2b
(/.f64 (*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x)) (+.f64 3 (*.f64 x 2)))
0.2b
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
22.6b
(*.f64 x (*.f64 x (*.f64 x -2)))
0.2b
(*.f64 x (+.f64 (*.f64 (*.f64 x -2) x) (*.f64 3 x)))
14.6b
(*.f64 x (*.f64 3 x))
22.6b
(*.f64 -2 (pow.f64 x 3))
14.6b
(*.f64 3 (*.f64 x x))
7.4b
(/.f64 (*.f64 (-.f64 27 (*.f64 8 (pow.f64 x 3))) (*.f64 x x)) (+.f64 9 (+.f64 (*.f64 (*.f64 x x) 4) (*.f64 6 x))))
0.2b
(+.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 (*.f64 x x) 3))
Compiler

Compiled 198 to 133 computations (32.8% saved)

localize13.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 35 to 23 computations (34.3% saved)

series2.0ms (0%)

Counts
2 → 24
Calls

6 calls:

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

rewrite98.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
517×log-prod_binary64
430×prod-exp_binary64
428×fma-def_binary64
356×pow-prod-down_binary64
355×exp-prod_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify208.0ms (3.2%)

Algorithm
egg-herbie
Rules
944×sqr-pow_binary64
536×unswap-sqr_binary64
504×associate-*l*_binary64
489×cube-prod_binary64
484×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
013264
133264
266246
3158210
4446210
51724210
63420210
73738210
83989210
94276210
104655210
115213210
125831210
136543210
147012210
157331210
167599210
177763210
187855210
Stop Event
node limit
Counts
173 → 158
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 3 x)
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(*.f64 -2 (pow.f64 x 2))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(*.f64 -2 (pow.f64 x 2))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
Outputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 3 x)
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 2))
(*.f64 (*.f64 x x) -2)
(*.f64 x (*.f64 x -2))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 2))
(*.f64 (*.f64 x x) -2)
(*.f64 x (*.f64 x -2))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))
(+.f64 (*.f64 3 x) (*.f64 -2 (pow.f64 x 2)))
(fma.f64 3 x (*.f64 (*.f64 x x) -2))
(*.f64 x (+.f64 3 (*.f64 x -2)))
(*.f64 x (fma.f64 x -2 3))

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(*.f64 3 (*.f64 x x))
Compiler

Compiled 11 to 5 computations (54.5% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite57.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
432×pow1_binary64
419×add-sqr-sqrt_binary64
411×*-un-lft-identity_binary64
400×add-log-exp_binary64
400×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify191.0ms (2.9%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0684
11284
22384
34484
410484
531884
6126884
7214084
8230484
9248884
10269684
11299184
12338284
13386384
14443184
15512384
16595884
17635084
18664084
19691884
20698884
21702484
22796584
Stop Event
node limit
Counts
26 → 16
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
Outputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))

localize7.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

Compiled 18 to 11 computations (38.9% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite79.0ms (1.2%)

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

Useful iterations: 1 (0.0ms)

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

simplify179.0ms (2.8%)

Algorithm
egg-herbie
Rules
1274×sqr-pow_binary64
666×pow-sqr_binary64
529×cube-prod_binary64
471×fabs-mul_binary64
438×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0684
11584
23284
35684
411484
532684
6118084
7186984
8195684
9208984
10224784
11248684
12280884
13323184
14373384
15433584
16505784
17537884
18566484
19588684
20606484
21614484
22708484
Stop Event
node limit
Counts
23 → 12
Calls
Call 1
Inputs
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
Outputs
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))

localize20.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

Compiled 57 to 33 computations (42.1% saved)

series4.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

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

rewrite87.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
701×log-prod_binary64
443×prod-diff_binary64
257×fma-def_binary64
237×expm1-udef_binary64
237×log1p-udef_binary64
Iterations

Useful iterations: 2 (0.0ms)

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

simplify185.0ms (2.8%)

Algorithm
egg-herbie
Rules
957×sqr-pow_binary64
803×unswap-sqr_binary64
542×cube-prod_binary64
455×fabs-mul_binary64
390×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
018378
141378
291369
3248351
4855351
51543351
62999351
73118351
83291351
93506351
103789351
114165351
124612351
135163351
145855351
156314351
166625351
176893351
187105351
197295351
Stop Event
node limit
Counts
132 → 108
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 9 (pow.f64 x 2))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(*.f64 -4 (pow.f64 x 4))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(*.f64 -4 (pow.f64 x 4))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
Outputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 9 (pow.f64 x 2))
(*.f64 (*.f64 x x) 9)
(*.f64 x (*.f64 x 9))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 9 (*.f64 x x) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(*.f64 x (*.f64 x (fma.f64 -4 (*.f64 x x) 9)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 9 (*.f64 x x) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(*.f64 x (*.f64 x (fma.f64 -4 (*.f64 x x) 9)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 9 (*.f64 x x) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(*.f64 x (*.f64 x (fma.f64 -4 (*.f64 x x) 9)))
(*.f64 -4 (pow.f64 x 4))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 9 (*.f64 x x) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(*.f64 x (*.f64 x (fma.f64 -4 (*.f64 x x) 9)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 9 (*.f64 x x) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(*.f64 x (*.f64 x (fma.f64 -4 (*.f64 x x) 9)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 9 (*.f64 x x) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(*.f64 x (*.f64 x (fma.f64 -4 (*.f64 x x) 9)))
(*.f64 -4 (pow.f64 x 4))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 9 (*.f64 x x) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(*.f64 x (*.f64 x (fma.f64 -4 (*.f64 x x) 9)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 9 (*.f64 x x) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(*.f64 x (*.f64 x (fma.f64 -4 (*.f64 x x) 9)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 9 (*.f64 x x) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(*.f64 x (*.f64 x (fma.f64 -4 (*.f64 x x) 9)))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))

localize62.0ms (0.9%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 (*.f64 x x) 4) (*.f64 6 x))
0.0b
(*.f64 8 (pow.f64 x 3))
0.2b
(*.f64 (-.f64 27 (*.f64 8 (pow.f64 x 3))) (*.f64 x x))
6.9b
(/.f64 (*.f64 (-.f64 27 (*.f64 8 (pow.f64 x 3))) (*.f64 x x)) (+.f64 9 (+.f64 (*.f64 (*.f64 x x) 4) (*.f64 6 x))))
Compiler

Compiled 88 to 58 computations (34.1% saved)

series16.0ms (0.2%)

Counts
4 → 36
Calls

12 calls:

TimeVariablePointExpression
4.0ms
x
@0
(/.f64 (*.f64 (-.f64 27 (*.f64 8 (pow.f64 x 3))) (*.f64 x x)) (+.f64 9 (+.f64 (*.f64 (*.f64 x x) 4) (*.f64 6 x))))
3.0ms
x
@inf
(+.f64 (*.f64 (*.f64 x x) 4) (*.f64 6 x))
2.0ms
x
@inf
(/.f64 (*.f64 (-.f64 27 (*.f64 8 (pow.f64 x 3))) (*.f64 x x)) (+.f64 9 (+.f64 (*.f64 (*.f64 x x) 4) (*.f64 6 x))))
1.0ms
x
@-inf
(/.f64 (*.f64 (-.f64 27 (*.f64 8 (pow.f64 x 3))) (*.f64 x x)) (+.f64 9 (+.f64 (*.f64 (*.f64 x x) 4) (*.f64 6 x))))
1.0ms
x
@inf
(*.f64 (-.f64 27 (*.f64 8 (pow.f64 x 3))) (*.f64 x x))

rewrite133.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
551×fma-def_binary64
318×expm1-udef_binary64
318×log1p-udef_binary64
274×fma-neg_binary64
247×log-pow_binary64
Iterations

Useful iterations: 2 (0.0ms)

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

simplify139.0ms (2.1%)

Algorithm
egg-herbie
Rules
908×distribute-lft-in_binary64
697×unswap-sqr_binary64
678×associate-*r*_binary64
586×distribute-rgt-in_binary64
408×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
022411
150411
2105393
3262357
4699357
52082357
64292357
74902357
86925357
97271357
107741357
Stop Event
node limit
Counts
183 → 162
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 27 (pow.f64 x 2))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(*.f64 -8 (pow.f64 x 5))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(*.f64 -8 (pow.f64 x 5))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(*.f64 6 x)
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
(*.f64 4 (pow.f64 x 2))
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
(*.f64 4 (pow.f64 x 2))
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
Outputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 27 (pow.f64 x 2))
(*.f64 (*.f64 x x) 27)
(*.f64 x (*.f64 x 27))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 (*.f64 x x) 27))
(fma.f64 (*.f64 x x) 27 (*.f64 -8 (pow.f64 x 5)))
(fma.f64 x (*.f64 x 27) (*.f64 -8 (pow.f64 x 5)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 x (*.f64 x 27)))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 (*.f64 x x) 27))
(fma.f64 (*.f64 x x) 27 (*.f64 -8 (pow.f64 x 5)))
(fma.f64 x (*.f64 x 27) (*.f64 -8 (pow.f64 x 5)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 x (*.f64 x 27)))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 (*.f64 x x) 27))
(fma.f64 (*.f64 x x) 27 (*.f64 -8 (pow.f64 x 5)))
(fma.f64 x (*.f64 x 27) (*.f64 -8 (pow.f64 x 5)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 x (*.f64 x 27)))
(*.f64 -8 (pow.f64 x 5))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 (*.f64 x x) 27))
(fma.f64 (*.f64 x x) 27 (*.f64 -8 (pow.f64 x 5)))
(fma.f64 x (*.f64 x 27) (*.f64 -8 (pow.f64 x 5)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 x (*.f64 x 27)))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 (*.f64 x x) 27))
(fma.f64 (*.f64 x x) 27 (*.f64 -8 (pow.f64 x 5)))
(fma.f64 x (*.f64 x 27) (*.f64 -8 (pow.f64 x 5)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 x (*.f64 x 27)))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 (*.f64 x x) 27))
(fma.f64 (*.f64 x x) 27 (*.f64 -8 (pow.f64 x 5)))
(fma.f64 x (*.f64 x 27) (*.f64 -8 (pow.f64 x 5)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 x (*.f64 x 27)))
(*.f64 -8 (pow.f64 x 5))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 (*.f64 x x) 27))
(fma.f64 (*.f64 x x) 27 (*.f64 -8 (pow.f64 x 5)))
(fma.f64 x (*.f64 x 27) (*.f64 -8 (pow.f64 x 5)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 x (*.f64 x 27)))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 (*.f64 x x) 27))
(fma.f64 (*.f64 x x) 27 (*.f64 -8 (pow.f64 x 5)))
(fma.f64 x (*.f64 x 27) (*.f64 -8 (pow.f64 x 5)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 x (*.f64 x 27)))
(+.f64 (*.f64 -8 (pow.f64 x 5)) (*.f64 27 (pow.f64 x 2)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 (*.f64 x x) 27))
(fma.f64 (*.f64 x x) 27 (*.f64 -8 (pow.f64 x 5)))
(fma.f64 x (*.f64 x 27) (*.f64 -8 (pow.f64 x 5)))
(fma.f64 -8 (pow.f64 x 5) (*.f64 x (*.f64 x 27)))
(*.f64 6 x)
(*.f64 x 6)
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) 4))
(fma.f64 x 6 (*.f64 x (*.f64 x 4)))
(*.f64 x (+.f64 (*.f64 x 4) 6))
(*.f64 x (fma.f64 x 4 6))
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) 4))
(fma.f64 x 6 (*.f64 x (*.f64 x 4)))
(*.f64 x (+.f64 (*.f64 x 4) 6))
(*.f64 x (fma.f64 x 4 6))
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) 4))
(fma.f64 x 6 (*.f64 x (*.f64 x 4)))
(*.f64 x (+.f64 (*.f64 x 4) 6))
(*.f64 x (fma.f64 x 4 6))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) 4))
(fma.f64 x 6 (*.f64 x (*.f64 x 4)))
(*.f64 x (+.f64 (*.f64 x 4) 6))
(*.f64 x (fma.f64 x 4 6))
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) 4))
(fma.f64 x 6 (*.f64 x (*.f64 x 4)))
(*.f64 x (+.f64 (*.f64 x 4) 6))
(*.f64 x (fma.f64 x 4 6))
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) 4))
(fma.f64 x 6 (*.f64 x (*.f64 x 4)))
(*.f64 x (+.f64 (*.f64 x 4) 6))
(*.f64 x (fma.f64 x 4 6))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) 4))
(fma.f64 x 6 (*.f64 x (*.f64 x 4)))
(*.f64 x (+.f64 (*.f64 x 4) 6))
(*.f64 x (fma.f64 x 4 6))
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) 4))
(fma.f64 x 6 (*.f64 x (*.f64 x 4)))
(*.f64 x (+.f64 (*.f64 x 4) 6))
(*.f64 x (fma.f64 x 4 6))
(+.f64 (*.f64 6 x) (*.f64 4 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 (*.f64 x x) 4))
(fma.f64 x 6 (*.f64 x (*.f64 x 4)))
(*.f64 x (+.f64 (*.f64 x 4) 6))
(*.f64 x (fma.f64 x 4 6))

eval241.0ms (3.7%)

Compiler

Compiled 9009 to 6183 computations (31.4% saved)

prune77.0ms (1.2%)

Pruning

11 alts after pruning (6 fresh and 5 done)

PrunedKeptTotal
New4515456
Fresh213
Picked101
Done055
Total45411465
Error
0b
Counts
465 → 11
Alt Table
Click to see full alt table
StatusErrorProgram
5.2b
(/.f64 (*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x)) (+.f64 3 (*.f64 x 2)))
0.2b
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
14.8b
(/.f64 (*.f64 x (*.f64 x 9)) (+.f64 3 (*.f64 x 2)))
0.2b
(+.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 (*.f64 x x) 3))
22.6b
(*.f64 x (*.f64 x (*.f64 x -2)))
22.6b
(*.f64 -2 (pow.f64 x 3))
0.2b
(*.f64 x (+.f64 (*.f64 (*.f64 x -2) x) (*.f64 3 x)))
0.1b
(fma.f64 (*.f64 x x) 3 (*.f64 (*.f64 x -2) (*.f64 x x)))
14.6b
(*.f64 x (*.f64 3 x))
14.6b
(*.f64 3 (*.f64 x x))
14.1b
(/.f64 (*.f64 x (*.f64 x 27)) (+.f64 9 (+.f64 (*.f64 (*.f64 x x) 4) (*.f64 6 x))))
Compiler

Compiled 192 to 128 computations (33.3% saved)

localize10.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 29 to 14 computations (51.7% saved)

series2.0ms (0%)

Counts
2 → 24
Calls

6 calls:

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

rewrite82.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
729×pow1_binary64
676×add-log-exp_binary64
675×log1p-expm1-u_binary64
675×expm1-log1p-u_binary64
662×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0827
116620
2190220
Stop Event
node limit
Counts
2 → 35
Calls
Call 1
Inputs
(fma.f64 (*.f64 x x) 3 (*.f64 (*.f64 x -2) (*.f64 x x)))
(*.f64 (*.f64 x -2) (*.f64 x x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -2 (pow.f64 x 3)) (*.f64 (*.f64 x x) 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) 3) (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 x x) 3) 1) (*.f64 -2 (pow.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))) (pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))) 2) (cbrt.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))) (sqrt.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (*.f64 x x) 3) 3) (pow.f64 (*.f64 -2 (pow.f64 x 3)) 3)) (+.f64 (*.f64 (*.f64 (*.f64 x x) 3) (*.f64 (*.f64 x x) 3)) (-.f64 (pow.f64 (*.f64 -2 (pow.f64 x 3)) 2) (*.f64 (*.f64 (*.f64 x x) 3) (*.f64 -2 (pow.f64 x 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (*.f64 x x) 3) (*.f64 (*.f64 x x) 3)) (pow.f64 (*.f64 -2 (pow.f64 x 3)) 2)) (-.f64 (*.f64 (*.f64 x x) 3) (*.f64 -2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 -2 (pow.f64 x 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -2 (pow.f64 x 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -2 (pow.f64 x 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 -2 (pow.f64 x 3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 (*.f64 x -2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 -2 (pow.f64 x 3)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 -2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -2 (pow.f64 x 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 x -2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x -2) 3) (pow.f64 (*.f64 x x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -2 (pow.f64 x 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -2 (pow.f64 x 3))))))))

simplify188.0ms (2.9%)

Algorithm
egg-herbie
Rules
944×sqr-pow_binary64
536×unswap-sqr_binary64
490×fma-def_binary64
489×cube-prod_binary64
478×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
010231
126231
258222
3152204
4418204
51671204
63415204
73771204
84021204
94308204
104687204
115244204
125864204
136570204
147043204
157360204
167632204
177802204
187896204
Stop Event
node limit
Counts
59 → 40
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
Outputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(*.f64 x (*.f64 3 x))
Compiler

Compiled 11 to 7 computations (36.4% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite45.0ms (0.7%)

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

Useful iterations: 0 (0.0ms)

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

simplify185.0ms (2.8%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0684
11284
22384
34484
410484
531884
6126884
7214084
8230484
9248884
10269684
11299184
12338284
13386384
14443184
15512384
16595884
17635084
18664084
19691884
20698884
21702484
22796584
Stop Event
node limit
Counts
26 → 16
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
Outputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 3 x))

localize28.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

Compiled 32 to 23 computations (28.1% saved)

series5.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite83.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
554×log-prod_binary64
423×exp-prod_binary64
304×pow-prod-down_binary64
269×pow2_binary64
189×pow1/3_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify53.0ms (0.8%)

Algorithm
egg-herbie
Rules
933×fma-def_binary64
510×associate-/l/_binary64
439×times-frac_binary64
426×fma-neg_binary64
405×associate-*l/_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
040234
1102234
2238232
3649225
41880219
54517219
Stop Event
node limit
Counts
111 → 105
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 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 3))))
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 3)) (*.f64 -8/9 (pow.f64 x 5)))))
(*.f64 9/2 x)
(-.f64 (*.f64 9/2 x) 27/4)
(-.f64 (+.f64 (*.f64 9/2 x) (*.f64 81/8 (/.f64 1 x))) 27/4)
(-.f64 (+.f64 (*.f64 9/2 x) (*.f64 81/8 (/.f64 1 x))) (+.f64 27/4 (*.f64 243/16 (/.f64 1 (pow.f64 x 2)))))
(*.f64 9/2 x)
(-.f64 (*.f64 9/2 x) 27/4)
(-.f64 (+.f64 (*.f64 9/2 x) (*.f64 81/8 (/.f64 1 x))) 27/4)
(-.f64 (+.f64 (*.f64 9/2 x) (*.f64 81/8 (/.f64 1 x))) (+.f64 27/4 (*.f64 243/16 (/.f64 1 (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))
(*.f64 3 (pow.f64 x 2))
(*.f64 (*.f64 x x) 3)
(*.f64 x (*.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 (*.f64 x x) 3 (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 3))))
(fma.f64 3 (*.f64 x x) (fma.f64 4/3 (pow.f64 x 4) (*.f64 -2 (pow.f64 x 3))))
(fma.f64 (*.f64 x x) 3 (fma.f64 -2 (pow.f64 x 3) (*.f64 4/3 (pow.f64 x 4))))
(fma.f64 4/3 (pow.f64 x 4) (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))))
(fma.f64 (*.f64 x x) (fma.f64 x -2 3) (*.f64 4/3 (pow.f64 x 4)))
(*.f64 (*.f64 x x) (fma.f64 x (fma.f64 x 4/3 -2) 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 3)) (*.f64 -8/9 (pow.f64 x 5)))))
(fma.f64 3 (*.f64 x x) (fma.f64 4/3 (pow.f64 x 4) (fma.f64 -2 (pow.f64 x 3) (*.f64 -8/9 (pow.f64 x 5)))))
(fma.f64 (*.f64 x x) 3 (fma.f64 4/3 (pow.f64 x 4) (fma.f64 -2 (pow.f64 x 3) (*.f64 -8/9 (pow.f64 x 5)))))
(fma.f64 x (*.f64 x 3) (fma.f64 -2 (pow.f64 x 3) (fma.f64 4/3 (pow.f64 x 4) (*.f64 -8/9 (pow.f64 x 5)))))
(fma.f64 x (*.f64 x (fma.f64 x -2 3)) (fma.f64 4/3 (pow.f64 x 4) (*.f64 -8/9 (pow.f64 x 5))))
(fma.f64 (*.f64 x x) (fma.f64 x (fma.f64 x 4/3 -2) 3) (*.f64 -8/9 (pow.f64 x 5)))
(*.f64 9/2 x)
(*.f64 x 9/2)
(-.f64 (*.f64 9/2 x) 27/4)
(fma.f64 9/2 x -27/4)
(fma.f64 x 9/2 -27/4)
(-.f64 (+.f64 (*.f64 9/2 x) (*.f64 81/8 (/.f64 1 x))) 27/4)
(+.f64 (fma.f64 9/2 x (/.f64 81/8 x)) -27/4)
(+.f64 (/.f64 81/8 x) (fma.f64 x 9/2 -27/4))
(+.f64 (fma.f64 x 9/2 -27/4) (/.f64 81/8 x))
(-.f64 (+.f64 (*.f64 9/2 x) (*.f64 81/8 (/.f64 1 x))) (+.f64 27/4 (*.f64 243/16 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (fma.f64 9/2 x (/.f64 81/8 x)) (+.f64 27/4 (/.f64 243/16 (*.f64 x x))))
(+.f64 (fma.f64 x 9/2 (/.f64 81/8 x)) (-.f64 -27/4 (/.f64 243/16 (*.f64 x x))))
(+.f64 (/.f64 81/8 x) (+.f64 (fma.f64 x 9/2 -27/4) (/.f64 -243/16 (*.f64 x x))))
(+.f64 (fma.f64 x 9/2 -27/4) (+.f64 (/.f64 81/8 x) (/.f64 -243/16 (*.f64 x x))))
(+.f64 (/.f64 81/8 x) (+.f64 (/.f64 -243/16 (*.f64 x x)) (fma.f64 x 9/2 -27/4)))
(*.f64 9/2 x)
(*.f64 x 9/2)
(-.f64 (*.f64 9/2 x) 27/4)
(fma.f64 9/2 x -27/4)
(fma.f64 x 9/2 -27/4)
(-.f64 (+.f64 (*.f64 9/2 x) (*.f64 81/8 (/.f64 1 x))) 27/4)
(+.f64 (fma.f64 9/2 x (/.f64 81/8 x)) -27/4)
(+.f64 (/.f64 81/8 x) (fma.f64 x 9/2 -27/4))
(+.f64 (fma.f64 x 9/2 -27/4) (/.f64 81/8 x))
(-.f64 (+.f64 (*.f64 9/2 x) (*.f64 81/8 (/.f64 1 x))) (+.f64 27/4 (*.f64 243/16 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (fma.f64 9/2 x (/.f64 81/8 x)) (+.f64 27/4 (/.f64 243/16 (*.f64 x x))))
(+.f64 (fma.f64 x 9/2 (/.f64 81/8 x)) (-.f64 -27/4 (/.f64 243/16 (*.f64 x x))))
(+.f64 (/.f64 81/8 x) (+.f64 (fma.f64 x 9/2 -27/4) (/.f64 -243/16 (*.f64 x x))))
(+.f64 (fma.f64 x 9/2 -27/4) (+.f64 (/.f64 81/8 x) (/.f64 -243/16 (*.f64 x x))))
(+.f64 (/.f64 81/8 x) (+.f64 (/.f64 -243/16 (*.f64 x x)) (fma.f64 x 9/2 -27/4)))

localize12.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

Compiled 35 to 17 computations (51.4% saved)

series3.0ms (0%)

Counts
3 → 36
Calls

9 calls:

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

rewrite90.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
505×log-prod_binary64
497×fma-def_binary64
408×prod-exp_binary64
338×exp-prod_binary64
328×pow-prod-down_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify227.0ms (3.5%)

Algorithm
egg-herbie
Rules
944×sqr-pow_binary64
536×unswap-sqr_binary64
490×fma-def_binary64
489×cube-prod_binary64
478×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
010315
126315
258306
3152288
4418288
51671288
63415288
73771288
84021288
94308288
104687288
115244288
125864288
136570288
147043288
157360288
167632288
177802288
187896288
Stop Event
node limit
Counts
188 → 156
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (pow.f64 x 2))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
Outputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))

localize24.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 x x) 4)
0.0b
(+.f64 (*.f64 (*.f64 x x) 4) (*.f64 6 x))
0.2b
(*.f64 x (*.f64 x 27))
0.2b
(/.f64 (*.f64 x (*.f64 x 27)) (+.f64 9 (+.f64 (*.f64 (*.f64 x x) 4) (*.f64 6 x))))
Compiler

Compiled 62 to 38 computations (38.7% saved)

series3.0ms (0%)

Counts
2 → 24
Calls

6 calls:

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

rewrite77.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
774×log-prod_binary64
483×fma-def_binary64
266×expm1-udef_binary64
266×log1p-udef_binary64
253×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

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

simplify65.0ms (1%)

Algorithm
egg-herbie
Rules
622×distribute-neg-frac_binary64
492×unswap-sqr_binary64
459×fma-def_binary64
363×associate-*l*_binary64
362×times-frac_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
042252
1110252
2278249
3808243
43015242
56956242
Stop Event
node limit
Counts
95 → 88
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 8/9 (pow.f64 x 5)) (+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))))
(+.f64 (*.f64 8/9 (pow.f64 x 5)) (+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 -2 (pow.f64 x 3)) (*.f64 -16/27 (pow.f64 x 6)))))
27/4
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 (+.f64 (*.f64 729/32 (/.f64 1 (pow.f64 x 3))) 27/4) (*.f64 81/8 (/.f64 1 x)))
(-.f64 (+.f64 (*.f64 729/32 (/.f64 1 (pow.f64 x 3))) 27/4) (+.f64 (*.f64 2187/64 (/.f64 1 (pow.f64 x 4))) (*.f64 81/8 (/.f64 1 x))))
27/4
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 (+.f64 (*.f64 729/32 (/.f64 1 (pow.f64 x 3))) 27/4) (*.f64 81/8 (/.f64 1 x)))
(-.f64 (+.f64 (*.f64 729/32 (/.f64 1 (pow.f64 x 3))) 27/4) (+.f64 (*.f64 2187/64 (/.f64 1 (pow.f64 x 4))) (*.f64 81/8 (/.f64 1 x))))
(*.f64 27 (pow.f64 x 2))
(*.f64 27 (pow.f64 x 2))
(*.f64 27 (pow.f64 x 2))
(*.f64 27 (pow.f64 x 2))
(*.f64 27 (pow.f64 x 2))
(*.f64 27 (pow.f64 x 2))
(*.f64 27 (pow.f64 x 2))
(*.f64 27 (pow.f64 x 2))
(*.f64 27 (pow.f64 x 2))
(*.f64 27 (pow.f64 x 2))
(*.f64 27 (pow.f64 x 2))
(*.f64 27 (pow.f64 x 2))
Outputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 8/9 (pow.f64 x 5)) (+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3))))
(fma.f64 8/9 (pow.f64 x 5) (fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3))))
(fma.f64 8/9 (pow.f64 x 5) (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))))
(fma.f64 8/9 (pow.f64 x 5) (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))))
(fma.f64 x (*.f64 x (fma.f64 x -2 3)) (*.f64 8/9 (pow.f64 x 5)))
(fma.f64 (*.f64 x x) (fma.f64 x -2 3) (*.f64 8/9 (pow.f64 x 5)))
(+.f64 (*.f64 8/9 (pow.f64 x 5)) (+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 -2 (pow.f64 x 3)) (*.f64 -16/27 (pow.f64 x 6)))))
(fma.f64 8/9 (pow.f64 x 5) (fma.f64 3 (*.f64 x x) (fma.f64 -2 (pow.f64 x 3) (*.f64 -16/27 (pow.f64 x 6)))))
(fma.f64 8/9 (pow.f64 x 5) (fma.f64 -16/27 (pow.f64 x 6) (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))))
(fma.f64 x (*.f64 x (fma.f64 x -2 3)) (fma.f64 -16/27 (pow.f64 x 6) (*.f64 8/9 (pow.f64 x 5))))
(fma.f64 x (*.f64 x (fma.f64 x -2 3)) (*.f64 (pow.f64 x 5) (+.f64 8/9 (*.f64 x -16/27))))
27/4
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 27/4 (/.f64 81/8 x))
(+.f64 27/4 (/.f64 -81/8 x))
(-.f64 (+.f64 (*.f64 729/32 (/.f64 1 (pow.f64 x 3))) 27/4) (*.f64 81/8 (/.f64 1 x)))
(+.f64 (/.f64 729/32 (pow.f64 x 3)) (-.f64 27/4 (/.f64 81/8 x)))
(+.f64 27/4 (-.f64 (/.f64 729/32 (pow.f64 x 3)) (/.f64 81/8 x)))
(+.f64 27/4 (+.f64 (/.f64 729/32 (pow.f64 x 3)) (/.f64 -81/8 x)))
(+.f64 (+.f64 27/4 (/.f64 -81/8 x)) (/.f64 729/32 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 729/32 (/.f64 1 (pow.f64 x 3))) 27/4) (+.f64 (*.f64 2187/64 (/.f64 1 (pow.f64 x 4))) (*.f64 81/8 (/.f64 1 x))))
(-.f64 (+.f64 27/4 (/.f64 729/32 (pow.f64 x 3))) (+.f64 (/.f64 81/8 x) (/.f64 2187/64 (pow.f64 x 4))))
(+.f64 27/4 (-.f64 (/.f64 729/32 (pow.f64 x 3)) (+.f64 (/.f64 81/8 x) (/.f64 2187/64 (pow.f64 x 4)))))
(+.f64 27/4 (+.f64 (/.f64 729/32 (pow.f64 x 3)) (+.f64 (/.f64 -81/8 x) (/.f64 -2187/64 (pow.f64 x 4)))))
(+.f64 (/.f64 729/32 (pow.f64 x 3)) (+.f64 27/4 (+.f64 (/.f64 -81/8 x) (/.f64 -2187/64 (pow.f64 x 4)))))
(+.f64 27/4 (+.f64 (/.f64 729/32 (pow.f64 x 3)) (-.f64 (/.f64 -2187/64 (pow.f64 x 4)) (/.f64 81/8 x))))
27/4
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 27/4 (/.f64 81/8 x))
(+.f64 27/4 (/.f64 -81/8 x))
(-.f64 (+.f64 (*.f64 729/32 (/.f64 1 (pow.f64 x 3))) 27/4) (*.f64 81/8 (/.f64 1 x)))
(+.f64 (/.f64 729/32 (pow.f64 x 3)) (-.f64 27/4 (/.f64 81/8 x)))
(+.f64 27/4 (-.f64 (/.f64 729/32 (pow.f64 x 3)) (/.f64 81/8 x)))
(+.f64 27/4 (+.f64 (/.f64 729/32 (pow.f64 x 3)) (/.f64 -81/8 x)))
(+.f64 (+.f64 27/4 (/.f64 -81/8 x)) (/.f64 729/32 (pow.f64 x 3)))
(-.f64 (+.f64 (*.f64 729/32 (/.f64 1 (pow.f64 x 3))) 27/4) (+.f64 (*.f64 2187/64 (/.f64 1 (pow.f64 x 4))) (*.f64 81/8 (/.f64 1 x))))
(-.f64 (+.f64 27/4 (/.f64 729/32 (pow.f64 x 3))) (+.f64 (/.f64 81/8 x) (/.f64 2187/64 (pow.f64 x 4))))
(+.f64 27/4 (-.f64 (/.f64 729/32 (pow.f64 x 3)) (+.f64 (/.f64 81/8 x) (/.f64 2187/64 (pow.f64 x 4)))))
(+.f64 27/4 (+.f64 (/.f64 729/32 (pow.f64 x 3)) (+.f64 (/.f64 -81/8 x) (/.f64 -2187/64 (pow.f64 x 4)))))
(+.f64 (/.f64 729/32 (pow.f64 x 3)) (+.f64 27/4 (+.f64 (/.f64 -81/8 x) (/.f64 -2187/64 (pow.f64 x 4)))))
(+.f64 27/4 (+.f64 (/.f64 729/32 (pow.f64 x 3)) (-.f64 (/.f64 -2187/64 (pow.f64 x 4)) (/.f64 81/8 x))))
(*.f64 27 (pow.f64 x 2))
(*.f64 (*.f64 x x) 27)
(*.f64 x (*.f64 x 27))
(*.f64 27 (pow.f64 x 2))
(*.f64 (*.f64 x x) 27)
(*.f64 x (*.f64 x 27))
(*.f64 27 (pow.f64 x 2))
(*.f64 (*.f64 x x) 27)
(*.f64 x (*.f64 x 27))
(*.f64 27 (pow.f64 x 2))
(*.f64 (*.f64 x x) 27)
(*.f64 x (*.f64 x 27))
(*.f64 27 (pow.f64 x 2))
(*.f64 (*.f64 x x) 27)
(*.f64 x (*.f64 x 27))
(*.f64 27 (pow.f64 x 2))
(*.f64 (*.f64 x x) 27)
(*.f64 x (*.f64 x 27))
(*.f64 27 (pow.f64 x 2))
(*.f64 (*.f64 x x) 27)
(*.f64 x (*.f64 x 27))
(*.f64 27 (pow.f64 x 2))
(*.f64 (*.f64 x x) 27)
(*.f64 x (*.f64 x 27))
(*.f64 27 (pow.f64 x 2))
(*.f64 (*.f64 x x) 27)
(*.f64 x (*.f64 x 27))
(*.f64 27 (pow.f64 x 2))
(*.f64 (*.f64 x x) 27)
(*.f64 x (*.f64 x 27))
(*.f64 27 (pow.f64 x 2))
(*.f64 (*.f64 x x) 27)
(*.f64 x (*.f64 x 27))
(*.f64 27 (pow.f64 x 2))
(*.f64 (*.f64 x x) 27)
(*.f64 x (*.f64 x 27))

eval205.0ms (3.1%)

Compiler

Compiled 8181 to 5895 computations (27.9% saved)

prune127.0ms (2%)

Pruning

14 alts after pruning (5 fresh and 9 done)

PrunedKeptTotal
New4854489
Fresh011
Picked101
Done099
Total48614500
Error
0b
Counts
500 → 14
Alt Table
Click to see full alt table
StatusErrorProgram
22.6b
(*.f64 x (*.f64 x (*.f64 x -2)))
60.9b
(*.f64 x 9/2)
5.2b
(/.f64 (*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x)) (+.f64 3 (*.f64 x 2)))
0.2b
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
62.3b
(+.f64 27/4 (/.f64 -81/8 x))
14.8b
(/.f64 (*.f64 x (*.f64 x 9)) (+.f64 3 (*.f64 x 2)))
14.7b
(/.f64 (*.f64 x (*.f64 x 27)) (+.f64 9 (*.f64 x 6)))
0.2b
(+.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 (*.f64 x x) 3))
61.5b
27/4
22.6b
(*.f64 -2 (pow.f64 x 3))
0.2b
(*.f64 x (+.f64 (*.f64 (*.f64 x -2) x) (*.f64 3 x)))
0.1b
(fma.f64 (*.f64 x x) 3 (*.f64 (*.f64 x -2) (*.f64 x x)))
14.6b
(*.f64 x (*.f64 3 x))
14.6b
(*.f64 3 (*.f64 x x))
Compiler

Compiled 129 to 88 computations (31.8% saved)

localize10.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

Compiled 12 to 9 computations (25% saved)

series2.0ms (0%)

Counts
1 → 0
Calls

3 calls:

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

rewrite71.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
503×pow1_binary64
497×add-sqr-sqrt_binary64
474×add-log-exp_binary64
473×log1p-expm1-u_binary64
473×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify11.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
11 → 11
Calls
Call 1
Inputs
Outputs

localize5.0ms (0.1%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

localize20.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 27/4 (/.f64 -81/8 x))
Compiler

Compiled 12 to 9 computations (25% saved)

series3.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
(+.f64 27/4 (/.f64 -81/8 x))
1.0ms
x
@inf
(+.f64 27/4 (/.f64 -81/8 x))
1.0ms
x
@-inf
(+.f64 27/4 (/.f64 -81/8 x))

rewrite70.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
708×pow1_binary64
673×add-log-exp_binary64
673×log1p-expm1-u_binary64
673×expm1-log1p-u_binary64
663×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
11397
217597
Stop Event
node limit
Counts
1 → 31
Calls
Call 1
Inputs
(+.f64 27/4 (/.f64 -81/8 x))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (+.f64 27/4 (/.f64 -81/8 x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 729/16 (-.f64 27/4 (/.f64 -81/8 x))) (/.f64 (/.f64 6561/64 (*.f64 x x)) (-.f64 27/4 (/.f64 -81/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 27/4 (/.f64 -81/8 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 27/4 (/.f64 -81/8 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 27/4 (/.f64 -81/8 x))) (pow.f64 (cbrt.f64 (+.f64 27/4 (/.f64 -81/8 x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 27/4 (/.f64 -81/8 x))) 2) (cbrt.f64 (+.f64 27/4 (/.f64 -81/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 27/4 (/.f64 -81/8 x))) (sqrt.f64 (+.f64 27/4 (/.f64 -81/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 19683/64 (/.f64 -531441/512 (pow.f64 x 3))) (/.f64 1 (+.f64 729/16 (-.f64 (/.f64 6561/64 (*.f64 x x)) (/.f64 -2187/32 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 729/16 (/.f64 6561/64 (*.f64 x x))) (/.f64 1 (-.f64 27/4 (/.f64 -81/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 729/16 (-.f64 (/.f64 6561/64 (*.f64 x x)) (/.f64 -2187/32 x))) (+.f64 19683/64 (/.f64 -531441/512 (pow.f64 x 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 27/4 (/.f64 -81/8 x)) (-.f64 729/16 (/.f64 6561/64 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 19683/64 (/.f64 -531441/512 (pow.f64 x 3))) (+.f64 729/16 (-.f64 (/.f64 6561/64 (*.f64 x x)) (/.f64 -2187/32 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 19683/64 (/.f64 -531441/512 (pow.f64 x 3))) (+.f64 (/.f64 6561/64 (*.f64 x x)) (-.f64 729/16 (/.f64 -2187/32 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 729/16 (/.f64 6561/64 (*.f64 x x))) (-.f64 27/4 (/.f64 -81/8 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 19683/64 (/.f64 -531441/512 (pow.f64 x 3)))) (neg.f64 (+.f64 729/16 (-.f64 (/.f64 6561/64 (*.f64 x x)) (/.f64 -2187/32 x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 729/16 (/.f64 6561/64 (*.f64 x x)))) (neg.f64 (-.f64 27/4 (/.f64 -81/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (/.f64 6561/64 (*.f64 x x)) 729/16) (-.f64 (/.f64 -81/8 x) 27/4))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 27/4 (/.f64 -81/8 x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 27/4 (/.f64 -81/8 x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 27/4 (/.f64 -81/8 x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 27/4 (/.f64 -81/8 x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 27/4 (/.f64 -81/8 x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 27/4 (/.f64 -81/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 27/4 (/.f64 -81/8 x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 27/4 (/.f64 -81/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 27/4 (/.f64 -81/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 27/4 (/.f64 -81/8 x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -81/8 (/.f64 1 x) 27/4)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 -81/8 x) 27/4)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (/.f64 6561/64 (*.f64 x x))) (cbrt.f64 (/.f64 -81/8 x)) 27/4)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 -81/8 x)) (sqrt.f64 (/.f64 -81/8 x)) 27/4)))))

simplify21.0ms (0.3%)

Algorithm
egg-herbie
Rules
16×fma-def_binary64
11×sub-neg_binary64
+-commutative_binary64
*-commutative_binary64
associate-+l-_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01069
12069
23169
34769
46269
58069
69869
711369
812069
Stop Event
saturated
Counts
43 → 35
Calls
Call 1
Inputs
(/.f64 -81/8 x)
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
27/4
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
27/4
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
Outputs
(/.f64 -81/8 x)
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 27/4 (/.f64 81/8 x))
(+.f64 27/4 (/.f64 -81/8 x))
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 27/4 (/.f64 81/8 x))
(+.f64 27/4 (/.f64 -81/8 x))
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 27/4 (/.f64 81/8 x))
(+.f64 27/4 (/.f64 -81/8 x))
27/4
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 27/4 (/.f64 81/8 x))
(+.f64 27/4 (/.f64 -81/8 x))
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 27/4 (/.f64 81/8 x))
(+.f64 27/4 (/.f64 -81/8 x))
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 27/4 (/.f64 81/8 x))
(+.f64 27/4 (/.f64 -81/8 x))
27/4
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 27/4 (/.f64 81/8 x))
(+.f64 27/4 (/.f64 -81/8 x))
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 27/4 (/.f64 81/8 x))
(+.f64 27/4 (/.f64 -81/8 x))
(-.f64 27/4 (*.f64 81/8 (/.f64 1 x)))
(-.f64 27/4 (/.f64 81/8 x))
(+.f64 27/4 (/.f64 -81/8 x))

localize24.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 9 (*.f64 x 6))
0.2b
(*.f64 x (*.f64 x 27))
0.2b
(/.f64 (*.f64 x (*.f64 x 27)) (+.f64 9 (*.f64 x 6)))
Compiler

Compiled 32 to 23 computations (28.1% saved)

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite82.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
552×log-prod_binary64
426×exp-prod_binary64
304×pow-prod-down_binary64
271×pow2_binary64
191×pow1/3_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify61.0ms (0.9%)

Algorithm
egg-herbie
Rules
937×fma-def_binary64
514×associate-/l/_binary64
439×times-frac_binary64
426×fma-neg_binary64
421×associate-*l/_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
042204
1106204
2239202
3639195
41848189
54494189
Stop Event
node limit
Counts
137 → 133
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 3))))
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 3)) (*.f64 -8/9 (pow.f64 x 5)))))
(*.f64 9/2 x)
(-.f64 (*.f64 9/2 x) 27/4)
(-.f64 (+.f64 (*.f64 9/2 x) (*.f64 81/8 (/.f64 1 x))) 27/4)
(-.f64 (+.f64 (*.f64 9/2 x) (*.f64 81/8 (/.f64 1 x))) (+.f64 27/4 (*.f64 243/16 (/.f64 1 (pow.f64 x 2)))))
(*.f64 9/2 x)
(-.f64 (*.f64 9/2 x) 27/4)
(-.f64 (+.f64 (*.f64 9/2 x) (*.f64 81/8 (/.f64 1 x))) 27/4)
(-.f64 (+.f64 (*.f64 9/2 x) (*.f64 81/8 (/.f64 1 x))) (+.f64 27/4 (*.f64 243/16 (/.f64 1 (pow.f64 x 2)))))
9
(+.f64 (*.f64 6 x) 9)
(+.f64 (*.f64 6 x) 9)
(+.f64 (*.f64 6 x) 9)
(*.f64 6 x)
(+.f64 (*.f64 6 x) 9)
(+.f64 (*.f64 6 x) 9)
(+.f64 (*.f64 6 x) 9)
(*.f64 6 x)
(+.f64 (*.f64 6 x) 9)
(+.f64 (*.f64 6 x) 9)
(+.f64 (*.f64 6 x) 9)
Outputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (*.f64 -2 (pow.f64 x 3))))
(fma.f64 3 (*.f64 x x) (fma.f64 4/3 (pow.f64 x 4) (*.f64 -2 (pow.f64 x 3))))
(fma.f64 3 (*.f64 x x) (fma.f64 -2 (pow.f64 x 3) (*.f64 4/3 (pow.f64 x 4))))
(fma.f64 4/3 (pow.f64 x 4) (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))))
(fma.f64 (*.f64 x x) (fma.f64 x -2 3) (*.f64 4/3 (pow.f64 x 4)))
(*.f64 x (*.f64 x (fma.f64 x (fma.f64 x 4/3 -2) 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 4/3 (pow.f64 x 4)) (+.f64 (*.f64 -2 (pow.f64 x 3)) (*.f64 -8/9 (pow.f64 x 5)))))
(fma.f64 3 (*.f64 x x) (fma.f64 4/3 (pow.f64 x 4) (fma.f64 -2 (pow.f64 x 3) (*.f64 -8/9 (pow.f64 x 5)))))
(fma.f64 3 (*.f64 x x) (fma.f64 -8/9 (pow.f64 x 5) (fma.f64 -2 (pow.f64 x 3) (*.f64 4/3 (pow.f64 x 4)))))
(fma.f64 x (*.f64 x (fma.f64 x -2 3)) (fma.f64 -8/9 (pow.f64 x 5) (*.f64 4/3 (pow.f64 x 4))))
(fma.f64 x (*.f64 x (fma.f64 x (fma.f64 x 4/3 -2) 3)) (*.f64 -8/9 (pow.f64 x 5)))
(*.f64 9/2 x)
(*.f64 x 9/2)
(-.f64 (*.f64 9/2 x) 27/4)
(fma.f64 9/2 x -27/4)
(fma.f64 x 9/2 -27/4)
(-.f64 (+.f64 (*.f64 9/2 x) (*.f64 81/8 (/.f64 1 x))) 27/4)
(+.f64 (fma.f64 9/2 x (/.f64 81/8 x)) -27/4)
(+.f64 (fma.f64 x 9/2 (/.f64 81/8 x)) -27/4)
(+.f64 (fma.f64 x 9/2 -27/4) (/.f64 81/8 x))
(fma.f64 x 9/2 (+.f64 (/.f64 81/8 x) -27/4))
(+.f64 (/.f64 81/8 x) (fma.f64 x 9/2 -27/4))
(-.f64 (+.f64 (*.f64 9/2 x) (*.f64 81/8 (/.f64 1 x))) (+.f64 27/4 (*.f64 243/16 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (fma.f64 9/2 x (/.f64 81/8 x)) (+.f64 27/4 (/.f64 243/16 (*.f64 x x))))
(+.f64 (fma.f64 x 9/2 (/.f64 81/8 x)) (-.f64 -27/4 (/.f64 243/16 (*.f64 x x))))
(+.f64 (/.f64 81/8 x) (+.f64 (fma.f64 x 9/2 -27/4) (/.f64 -243/16 (*.f64 x x))))
(+.f64 (fma.f64 x 9/2 -27/4) (+.f64 (/.f64 81/8 x) (/.f64 -243/16 (*.f64 x x))))
(+.f64 (/.f64 81/8 x) (+.f64 -27/4 (fma.f64 x 9/2 (/.f64 -243/16 (*.f64 x x)))))
(*.f64 9/2 x)
(*.f64 x 9/2)
(-.f64 (*.f64 9/2 x) 27/4)
(fma.f64 9/2 x -27/4)
(fma.f64 x 9/2 -27/4)
(-.f64 (+.f64 (*.f64 9/2 x) (*.f64 81/8 (/.f64 1 x))) 27/4)
(+.f64 (fma.f64 9/2 x (/.f64 81/8 x)) -27/4)
(+.f64 (fma.f64 x 9/2 (/.f64 81/8 x)) -27/4)
(+.f64 (fma.f64 x 9/2 -27/4) (/.f64 81/8 x))
(fma.f64 x 9/2 (+.f64 (/.f64 81/8 x) -27/4))
(+.f64 (/.f64 81/8 x) (fma.f64 x 9/2 -27/4))
(-.f64 (+.f64 (*.f64 9/2 x) (*.f64 81/8 (/.f64 1 x))) (+.f64 27/4 (*.f64 243/16 (/.f64 1 (pow.f64 x 2)))))
(-.f64 (fma.f64 9/2 x (/.f64 81/8 x)) (+.f64 27/4 (/.f64 243/16 (*.f64 x x))))
(+.f64 (fma.f64 x 9/2 (/.f64 81/8 x)) (-.f64 -27/4 (/.f64 243/16 (*.f64 x x))))
(+.f64 (/.f64 81/8 x) (+.f64 (fma.f64 x 9/2 -27/4) (/.f64 -243/16 (*.f64 x x))))
(+.f64 (fma.f64 x 9/2 -27/4) (+.f64 (/.f64 81/8 x) (/.f64 -243/16 (*.f64 x x))))
(+.f64 (/.f64 81/8 x) (+.f64 -27/4 (fma.f64 x 9/2 (/.f64 -243/16 (*.f64 x x)))))
9
(+.f64 (*.f64 6 x) 9)
(fma.f64 6 x 9)
(fma.f64 x 6 9)
(+.f64 (*.f64 6 x) 9)
(fma.f64 6 x 9)
(fma.f64 x 6 9)
(+.f64 (*.f64 6 x) 9)
(fma.f64 6 x 9)
(fma.f64 x 6 9)
(*.f64 6 x)
(*.f64 x 6)
(+.f64 (*.f64 6 x) 9)
(fma.f64 6 x 9)
(fma.f64 x 6 9)
(+.f64 (*.f64 6 x) 9)
(fma.f64 6 x 9)
(fma.f64 x 6 9)
(+.f64 (*.f64 6 x) 9)
(fma.f64 6 x 9)
(fma.f64 x 6 9)
(*.f64 6 x)
(*.f64 x 6)
(+.f64 (*.f64 6 x) 9)
(fma.f64 6 x 9)
(fma.f64 x 6 9)
(+.f64 (*.f64 6 x) 9)
(fma.f64 6 x 9)
(fma.f64 x 6 9)
(+.f64 (*.f64 6 x) 9)
(fma.f64 6 x 9)
(fma.f64 x 6 9)

eval91.0ms (1.4%)

Compiler

Compiled 2800 to 2159 computations (22.9% saved)

prune91.0ms (1.4%)

Pruning

15 alts after pruning (3 fresh and 12 done)

PrunedKeptTotal
New1963199
Fresh101
Picked011
Done11112
Total19815213
Error
0b
Counts
213 → 15
Alt Table
Click to see full alt table
StatusErrorProgram
22.6b
(*.f64 x (*.f64 x (*.f64 x -2)))
60.9b
(*.f64 x 9/2)
61.5b
27/4
22.6b
(*.f64 -2 (pow.f64 x 3))
5.2b
(/.f64 (*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x)) (+.f64 3 (*.f64 x 2)))
0.2b
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
14.8b
(/.f64 (*.f64 x (*.f64 x 9)) (+.f64 3 (*.f64 x 2)))
14.7b
(/.f64 (*.f64 x (*.f64 x 27)) (+.f64 9 (*.f64 x 6)))
0.2b
(+.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 (*.f64 x x) 3))
14.6b
(/.f64 (*.f64 x (*.f64 x 27)) 9)
0.2b
(*.f64 x (+.f64 (*.f64 (*.f64 x -2) x) (*.f64 3 x)))
62.2b
(/.f64 -81/8 x)
0.1b
(fma.f64 (*.f64 x x) 3 (*.f64 (*.f64 x -2) (*.f64 x x)))
14.6b
(*.f64 x (*.f64 3 x))
14.6b
(*.f64 3 (*.f64 x x))
Compiler

Compiled 135 to 92 computations (31.9% saved)

regimes117.0ms (1.8%)

Counts
22 → 1
Calls
Call 1
Inputs
27/4
27/4
(/.f64 -81/8 x)
(*.f64 x 9/2)
(+.f64 27/4 (/.f64 -81/8 x))
(*.f64 x (*.f64 3 x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (*.f64 x x))
(/.f64 (*.f64 x (*.f64 x 27)) 9)
(*.f64 x (*.f64 x (*.f64 x -2)))
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
(/.f64 (*.f64 x (*.f64 x 27)) (+.f64 9 (*.f64 x 6)))
(/.f64 (*.f64 x (*.f64 x 9)) (+.f64 3 (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 (*.f64 x -2) x) (*.f64 3 x)))
(+.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 (*.f64 x x) 3))
(/.f64 (*.f64 x (*.f64 x 27)) (+.f64 9 (+.f64 (*.f64 (*.f64 x x) 4) (*.f64 6 x))))
(/.f64 (*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x)) (+.f64 3 (*.f64 x 2)))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(fma.f64 (*.f64 x x) 3 (*.f64 (*.f64 x -2) (*.f64 x x)))
(/.f64 (*.f64 (-.f64 27 (*.f64 8 (pow.f64 x 3))) (*.f64 x x)) (+.f64 9 (+.f64 (*.f64 (*.f64 x x) 4) (*.f64 6 x))))
Outputs
(fma.f64 (*.f64 x x) 3 (*.f64 (*.f64 x -2) (*.f64 x x)))
Calls

3 calls:

93.0ms
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
11.0ms
x
7.0ms
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
Results
ErrorSegmentsBranch
0.1b1x
0.1b1(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
0.1b1(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
Compiler

Compiled 207 to 132 computations (36.2% saved)

regimes25.0ms (0.4%)

Counts
20 → 1
Calls
Call 1
Inputs
27/4
27/4
(/.f64 -81/8 x)
(*.f64 x 9/2)
(+.f64 27/4 (/.f64 -81/8 x))
(*.f64 x (*.f64 3 x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (*.f64 x x))
(/.f64 (*.f64 x (*.f64 x 27)) 9)
(*.f64 x (*.f64 x (*.f64 x -2)))
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
(/.f64 (*.f64 x (*.f64 x 27)) (+.f64 9 (*.f64 x 6)))
(/.f64 (*.f64 x (*.f64 x 9)) (+.f64 3 (*.f64 x 2)))
(*.f64 x (+.f64 (*.f64 (*.f64 x -2) x) (*.f64 3 x)))
(+.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 (*.f64 x x) 3))
(/.f64 (*.f64 x (*.f64 x 27)) (+.f64 9 (+.f64 (*.f64 (*.f64 x x) 4) (*.f64 6 x))))
(/.f64 (*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x)) (+.f64 3 (*.f64 x 2)))
(*.f64 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
Outputs
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
Calls

2 calls:

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

Compiled 162 to 105 computations (35.2% saved)

regimes54.0ms (0.8%)

Counts
10 → 3
Calls
Call 1
Inputs
27/4
27/4
(/.f64 -81/8 x)
(*.f64 x 9/2)
(+.f64 27/4 (/.f64 -81/8 x))
(*.f64 x (*.f64 3 x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (*.f64 x x))
(/.f64 (*.f64 x (*.f64 x 27)) 9)
(*.f64 x (*.f64 x (*.f64 x -2)))
Outputs
(*.f64 x (*.f64 x (*.f64 x -2)))
(*.f64 x (*.f64 3 x))
(*.f64 x (*.f64 x (*.f64 x -2)))
Calls

1 calls:

52.0ms
x
Results
ErrorSegmentsBranch
1.9b3x
Compiler

Compiled 45 to 30 computations (33.3% saved)

bsearch68.0ms (1%)

Algorithm
binary-search
Steps
TimeLeftRight
52.0ms
4.869930036867601e-5
1.8869873605610692
16.0ms
-2910.5834584687036
-2.1969545058917137e-7
Compiler

Compiled 14 to 10 computations (28.6% saved)

regimes9.0ms (0.1%)

Counts
9 → 1
Calls
Call 1
Inputs
27/4
27/4
(/.f64 -81/8 x)
(*.f64 x 9/2)
(+.f64 27/4 (/.f64 -81/8 x))
(*.f64 x (*.f64 3 x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (*.f64 x x))
(/.f64 (*.f64 x (*.f64 x 27)) 9)
Outputs
(*.f64 x (*.f64 3 x))
Calls

1 calls:

7.0ms
x
Results
ErrorSegmentsBranch
14.6b1x
Compiler

Compiled 38 to 26 computations (31.6% saved)

regimes7.0ms (0.1%)

Counts
5 → 1
Calls
Call 1
Inputs
27/4
27/4
(/.f64 -81/8 x)
(*.f64 x 9/2)
(+.f64 27/4 (/.f64 -81/8 x))
Outputs
(*.f64 x 9/2)
Calls

1 calls:

5.0ms
x
Results
ErrorSegmentsBranch
60.9b1x
Compiler

Compiled 16 to 12 computations (25% saved)

regimes6.0ms (0.1%)

Accuracy

Total -0.9b remaining (-1.5%)

Threshold costs -0.9b (-1.5%)

Counts
3 → 1
Calls
Call 1
Inputs
27/4
27/4
(/.f64 -81/8 x)
Outputs
27/4
Calls

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
61.5b1x
Compiler

Compiled 8 to 6 computations (25% saved)

simplify13.0ms (0.2%)

Algorithm
egg-herbie
Rules
18×*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
+-commutative_binary64
sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02681
14081
25081
36281
48581
59981
610581
710781
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(fma.f64 (*.f64 x x) 3 (*.f64 (*.f64 x -2) (*.f64 x x)))
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
(if (<=.f64 x -400027544524853/137438953472) (*.f64 x (*.f64 x (*.f64 x -2))) (if (<=.f64 x 7186748243757405/147573952589676412928) (*.f64 x (*.f64 3 x)) (*.f64 x (*.f64 x (*.f64 x -2)))))
(*.f64 x (*.f64 3 x))
(*.f64 x 9/2)
27/4
Outputs
(fma.f64 (*.f64 x x) 3 (*.f64 (*.f64 x -2) (*.f64 x x)))
(fma.f64 (*.f64 x x) 3 (*.f64 (*.f64 x x) (*.f64 x -2)))
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(if (<=.f64 x -400027544524853/137438953472) (*.f64 x (*.f64 x (*.f64 x -2))) (if (<=.f64 x 7186748243757405/147573952589676412928) (*.f64 x (*.f64 3 x)) (*.f64 x (*.f64 x (*.f64 x -2)))))
(if (<=.f64 x -400027544524853/137438953472) (*.f64 x (*.f64 x (*.f64 x -2))) (if (<=.f64 x 7186748243757405/147573952589676412928) (*.f64 x (*.f64 x 3)) (*.f64 x (*.f64 x (*.f64 x -2)))))
(*.f64 x (*.f64 3 x))
(*.f64 x (*.f64 x 3))
(*.f64 x 9/2)
27/4
Compiler

Compiled 63 to 41 computations (34.9% saved)

soundness312.0ms (4.8%)

Algorithm
egg-herbie
Rules
1486×fma-def_binary64
783×fma-neg_binary64
357×associate-*l*_binary64
315×distribute-rgt-neg-in_binary64
295×sqr-pow_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0813
11713
24511
311611
424111
532011
647511
780711
8170011
9256911
10348411
11466811
12559311
13603211
14626311
15656411
16767811
Stop Event
node limit
Compiler

Compiled 83 to 59 computations (28.9% saved)

end41.0ms (0.6%)

Compiler

Compiled 58 to 35 computations (39.7% saved)

Profiling

Loading profile data...