Details

Time bar (total: 7.5s)

analyze6.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 (14.4%)

Results
1.1s8256×body256valid
1.0msbody256invalid

preprocess153.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.7%)

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 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
Compiler

Compiled 19 to 13 computations (31.6% saved)

localize12.0ms (0.2%)

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

rewrite62.0ms (0.8%)

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

simplify185.0ms (2.5%)

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

localize18.0ms (0.2%)

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)

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

rewrite88.0ms (1.2%)

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

simplify178.0ms (2.4%)

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

eval18.0ms (0.2%)

Compiler

Compiled 650 to 437 computations (32.8% saved)

prune20.0ms (0.3%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New491160
Fresh000
Picked011
Done101
Total501262
Error
0b
Counts
62 → 12
Alt Table
Click to see full alt table
StatusErrorProgram
0.2b
(*.f64 x (+.f64 (*.f64 (*.f64 x -2) x) (*.f64 3 x)))
8.0b
(/.f64 (*.f64 (-.f64 27 (*.f64 8 (pow.f64 x 3))) (*.f64 x x)) (+.f64 9 (+.f64 (*.f64 (*.f64 x x) 4) (*.f64 6 x))))
10.4b
(pow.f64 (*.f64 x (sqrt.f64 (+.f64 3 (*.f64 x -2)))) 2)
25.7b
(*.f64 -2 (pow.f64 x 3))
19.2b
(*.f64 x (*.f64 3 x))
0.2b
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
4.5b
(/.f64 (*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x)) (+.f64 3 (*.f64 x 2)))
19.2b
(*.f64 3 (*.f64 x x))
0.2b
(+.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 (*.f64 x x) 3))
25.1b
(sqrt.f64 (*.f64 (pow.f64 x 4) (pow.f64 (+.f64 3 (*.f64 x -2)) 2)))
25.8b
(*.f64 x (*.f64 x (*.f64 x -2)))
0.1b
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
Compiler

Compiled 270 to 193 computations (28.5% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

Compiled 32 to 25 computations (21.9% saved)

series6.0ms (0.1%)

Counts
4 → 3
Calls

12 calls:

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

rewrite100.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
954×pow1_binary64
892×add-log-exp_binary64
891×log1p-expm1-u_binary64
891×expm1-log1p-u_binary64
103×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify166.0ms (2.2%)

Algorithm
egg-herbie
Rules
1208×sqr-pow_binary64
564×cube-prod_binary64
536×unswap-sqr_binary64
532×fabs-mul_binary64
502×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
12321
25221
311421
432721
5135521
6254421
7271021
8296021
9324721
10362621
11413621
12473221
13544021
14591121
15623221
16650221
17667021
18676021
19743721
Stop Event
node limit
Counts
85 → 85
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(*.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 -2 (pow.f64 x 3))
(*.f64 -2 (pow.f64 x 3))

localize4.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
0.0ms
x
@0
(*.f64 3 (*.f64 x x))
0.0ms
x
@inf
(*.f64 3 (*.f64 x x))
0.0ms
x
@-inf
(*.f64 3 (*.f64 x x))

rewrite44.0ms (0.6%)

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

simplify179.0ms (2.4%)

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.2b
(*.f64 x (*.f64 x (*.f64 x -2)))
Compiler

Compiled 18 to 11 computations (38.9% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.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)))

rewrite49.0ms (0.7%)

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

simplify167.0ms (2.2%)

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

localize13.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.2b
(*.f64 (*.f64 x x) 3)
0.2b
(*.f64 (*.f64 x x) (*.f64 x -2))
Compiler

Compiled 35 to 17 computations (51.4% saved)

series2.0ms (0%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
0.0ms
x
@0
(*.f64 (*.f64 x x) (*.f64 x -2))
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) (*.f64 x -2))
0.0ms
x
@-inf
(+.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 (*.f64 x x) 3))
0.0ms
x
@0
(+.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 (*.f64 x x) 3))

rewrite128.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
505×log-prod_binary64
497×fma-def_binary64
408×prod-exp_binary64
338×exp-prod_binary64
330×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) (*.f64 x -2))
(*.f64 (*.f64 x x) 3)
(+.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 (*.f64 x x) 3))
Outputs
((#(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 (pow.f64 x 3/2) (sqrt.f64 -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 (pow.f64 x 3/2) (sqrt.f64 -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 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) (fma.f64 2 (log.f64 x) (log.f64 3)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 2 (log.f64 x) (log.f64 3))) 2)) (cbrt.f64 (fma.f64 2 (log.f64 x) (log.f64 3))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 2 (log.f64 x) (log.f64 3)))) (sqrt.f64 (fma.f64 2 (log.f64 x) (log.f64 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 (fma.f64 2 (log.f64 x) (log.f64 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 2 (log.f64 x) (log.f64 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 (fma.f64 2 (log.f64 x) (log.f64 3)) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (fma.f64 2 (log.f64 x) (log.f64 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 (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 (*.f64 x x) -2 (*.f64 x 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 (*.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 -2 (pow.f64 x 3)) (*.f64 x (*.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 -2 (pow.f64 x 3)) (*.f64 x (*.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 -2 (pow.f64 x 3)) (*.f64 x (*.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 -2 (pow.f64 x 3)) (*.f64 x (*.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 -2 (pow.f64 x 3)) (*.f64 x (*.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 -2 (pow.f64 x 3)) (*.f64 x (*.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 -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 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 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) (*.f64 x -2) (*.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 -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 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 1 (*.f64 -2 (pow.f64 x 3)) (*.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 (pow.f64 x 3) -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 (*.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 (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 (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 (*.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 (*.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 (*.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 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 (*.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 (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 x) (*.f64 (sqrt.f64 x) (*.f64 x (*.f64 x -2))) (*.f64 x (*.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 x 3/2) (sqrt.f64 -2)) (*.f64 (pow.f64 x 3/2) (sqrt.f64 -2)) (*.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 (*.f64 3 (*.f64 (cbrt.f64 x) x)) (pow.f64 (cbrt.f64 x) 2) (*.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)))))))

simplify252.0ms (3.4%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
010315
126315
258306
3150288
4392288
51575288
63322288
73678288
83928288
94215288
104594288
115147288
125769288
136477288
146948288
157267288
167539288
177705288
187797288
Stop Event
node limit
Counts
188 → 157
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))
(*.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 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 -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 x (*.f64 x 3))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x 3))
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.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 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 -2 x) 3))
(*.f64 (*.f64 x x) (fma.f64 -2 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 -2 x) 3))
(*.f64 (*.f64 x x) (fma.f64 -2 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 -2 x) 3))
(*.f64 (*.f64 x x) (fma.f64 -2 x 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 -2 x) 3))
(*.f64 (*.f64 x x) (fma.f64 -2 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 -2 x) 3))
(*.f64 (*.f64 x x) (fma.f64 -2 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 -2 x) 3))
(*.f64 (*.f64 x x) (fma.f64 -2 x 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 -2 x) 3))
(*.f64 (*.f64 x x) (fma.f64 -2 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 -2 x) 3))
(*.f64 (*.f64 x x) (fma.f64 -2 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 -2 x) 3))
(*.f64 (*.f64 x x) (fma.f64 -2 x 3))

localize12.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 12 to 9 computations (25% saved)

eval210.0ms (2.8%)

Compiler

Compiled 4359 to 3101 computations (28.9% saved)

prune72.0ms (1%)

Pruning

13 alts after pruning (8 fresh and 5 done)

PrunedKeptTotal
New2966302
Fresh426
Picked011
Done145
Total30113314
Error
0b
Counts
314 → 13
Alt Table
Click to see full alt table
StatusErrorProgram
0.1b
(+.f64 (*.f64 -2 (pow.f64 x 3)) (*.f64 (*.f64 x x) 3))
0.2b
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
19.4b
(pow.f64 (*.f64 x (sqrt.f64 3)) 2)
4.5b
(/.f64 (*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x)) (+.f64 3 (*.f64 x 2)))
0.2b
(*.f64 x (fma.f64 x 3 (*.f64 x (*.f64 x -2))))
0.1b
(fma.f64 (*.f64 x 3) x (*.f64 -2 (pow.f64 x 3)))
0.2b
(+.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 x (*.f64 x 3)))
0.2b
(*.f64 x (+.f64 (*.f64 (*.f64 x -2) x) (*.f64 3 x)))
19.2b
(*.f64 3 (*.f64 x x))
0.2b
(+.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 (*.f64 x x) 3))
25.8b
(*.f64 x (*.f64 x (*.f64 x -2)))
25.7b
(*.f64 -2 (pow.f64 x 3))
19.2b
(*.f64 x (*.f64 3 x))
Compiler

Compiled 226 to 155 computations (31.4% saved)

localize13.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

Compiled 25 to 18 computations (28% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite59.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
718×pow1_binary64
670×add-log-exp_binary64
669×log1p-expm1-u_binary64
669×expm1-log1p-u_binary64
655×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify178.0ms (2.4%)

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
33 → 26
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))

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(*.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))

rewrite62.0ms (0.8%)

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

simplify180.0ms (2.4%)

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

localize15.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

Compiled 38 to 21 computations (44.7% saved)

series2.0ms (0%)

Counts
2 → 24
Calls

6 calls:

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

rewrite114.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
553×log-prod_binary64
485×fma-def_binary64
371×exp-prod_binary64
370×pow-prod-down_binary64
267×pow2_binary64
Iterations

Useful iterations: 2 (0.0ms)

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

simplify181.0ms (2.4%)

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
136 → 116
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 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 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))

localize13.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 30 to 19 computations (36.7% saved)

series3.0ms (0%)

Counts
2 → 24
Calls

6 calls:

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

rewrite160.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
738×pow1_binary64
683×add-log-exp_binary64
682×log1p-expm1-u_binary64
682×expm1-log1p-u_binary64
671×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify190.0ms (2.5%)

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
61 → 47
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 2 expressions with local error:

NewErrorProgram
0.4b
(*.f64 x (sqrt.f64 3))
0.4b
(pow.f64 (*.f64 x (sqrt.f64 3)) 2)
Compiler

Compiled 16 to 13 computations (18.8% saved)

series5.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite70.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
550×pow1_binary64
511×add-log-exp_binary64
510×log1p-expm1-u_binary64
510×expm1-log1p-u_binary64
498×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0715
114713
2153613
Stop Event
node limit
Counts
2 → 35
Calls
Call 1
Inputs
(pow.f64 (*.f64 x (sqrt.f64 3)) 2)
(*.f64 x (sqrt.f64 3))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 3 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (*.f64 (sqrt.f64 3) (*.f64 x (sqrt.f64 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 3 (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 3) (*.f64 x (*.f64 x (sqrt.f64 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (sqrt.f64 3)) (*.f64 x (sqrt.f64 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 3 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x x) 3)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 3 (*.f64 x x))) (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 3)) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 3 (*.f64 x x))) (*.f64 (cbrt.f64 (*.f64 x (sqrt.f64 3))) (*.f64 x (sqrt.f64 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 3)) 4)) (cbrt.f64 (*.f64 3 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (sqrt.f64 3))) (*.f64 (sqrt.f64 (*.f64 x (sqrt.f64 3))) (*.f64 x (sqrt.f64 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 3)) (sqrt.f64 (*.f64 x (sqrt.f64 3)))) (sqrt.f64 (*.f64 x (sqrt.f64 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 3)) x) (sqrt.f64 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 3)) (sqrt.f64 3)) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 x (sqrt.f64 3)) (cbrt.f64 (*.f64 3 (*.f64 x x)))) (cbrt.f64 (*.f64 x (sqrt.f64 3))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (sqrt.f64 3)) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3))))) (#(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))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (sqrt.f64 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 3 (*.f64 x x)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (sqrt.f64 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (sqrt.f64 3))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (sqrt.f64 3))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (*.f64 x (sqrt.f64 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (sqrt.f64 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (sqrt.f64 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (sqrt.f64 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (sqrt.f64 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (sqrt.f64 3))))))))

simplify196.0ms (2.6%)

Algorithm
egg-herbie
Rules
834×sqr-pow_binary64
693×cube-prod_binary64
679×fabs-mul_binary64
648×associate-*l*_binary64
573×pow-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
09216
119156
238156
393156
4386156
52146156
62259156
72470156
82666156
92899156
103202156
113841156
124316156
134949156
145663156
156588156
167100156
177482156
187848156
197944156
207974156
Stop Event
node limit
Counts
59 → 37
Calls
Call 1
Inputs
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
Outputs
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))
(*.f64 3 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))
(*.f64 3 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))
(*.f64 3 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))
(*.f64 3 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))
(*.f64 3 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))
(*.f64 3 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))
(*.f64 3 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))
(*.f64 3 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))
(*.f64 3 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))
(*.f64 3 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))
(*.f64 3 (*.f64 x x))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (pow.f64 x 2))
(*.f64 (pow.f64 (sqrt.f64 3) 2) (*.f64 x x))
(*.f64 3 (*.f64 x x))
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)
(*.f64 (sqrt.f64 3) x)

eval205.0ms (2.7%)

Compiler

Compiled 4367 to 3098 computations (29.1% saved)

prune47.0ms (0.6%)

Pruning

13 alts after pruning (5 fresh and 8 done)

PrunedKeptTotal
New3093312
Fresh123
Picked011
Done279
Total31213325
Error
0b
Counts
325 → 13
Alt Table
Click to see full alt table
StatusErrorProgram
19.4b
(pow.f64 (*.f64 x (sqrt.f64 3)) 2)
4.5b
(/.f64 (*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x)) (+.f64 3 (*.f64 x 2)))
0.2b
(*.f64 x (+.f64 (*.f64 (*.f64 x -2) x) (*.f64 3 x)))
0.2b
(fma.f64 (*.f64 x 3) x (*.f64 -2 (*.f64 (*.f64 x x) x)))
0.2b
(*.f64 x (fma.f64 x 3 (*.f64 x (*.f64 x -2))))
0.2b
(*.f64 x (*.f64 x (+.f64 3 (*.f64 x -2))))
25.8b
(*.f64 x (*.f64 x (*.f64 x -2)))
0.1b
(+.f64 (*.f64 x (*.f64 x 3)) (*.f64 -2 (pow.f64 x 3)))
0.2b
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
19.2b
(*.f64 3 (*.f64 x x))
0.2b
(+.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 (*.f64 x x) 3))
25.7b
(*.f64 -2 (pow.f64 x 3))
19.2b
(*.f64 x (*.f64 3 x))
Compiler

Compiled 198 to 134 computations (32.3% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

Compiled 31 to 22 computations (29% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite64.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
957×pow1_binary64
895×add-log-exp_binary64
894×log1p-expm1-u_binary64
894×expm1-log1p-u_binary64
96×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify180.0ms (2.4%)

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
51 → 44
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))

localize12.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 28 to 20 computations (28.6% saved)

series2.0ms (0%)

Counts
2 → 24
Calls

6 calls:

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

rewrite72.0ms (1%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
0823
117819
2234119
Stop Event
node limit
Counts
2 → 45
Calls
Call 1
Inputs
(*.f64 x (*.f64 x (+.f64 3 (*.f64 x -2))))
(*.f64 x (+.f64 3 (*.f64 x -2)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x 3) x) (*.f64 (*.f64 -2 (*.f64 x x)) x))))) (#(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 -2) (*.f64 x x)) (*.f64 3 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (*.f64 x 3)) (*.f64 x (*.f64 -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 (*.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 /.f64 (*.f64 (*.f64 x x) (+.f64 27 (*.f64 (pow.f64 x 3) -8))) (+.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 2 x)))))) (#(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 cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x (fma.f64 x -2 3)) 3) (pow.f64 x 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 x 3) (*.f64 -2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -2 (*.f64 x x)) (*.f64 x 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x 3) 1) (*.f64 (*.f64 -2 (*.f64 x x)) 1))))) (#(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 /.f64 (+.f64 (pow.f64 (*.f64 x 3) 3) (pow.f64 (*.f64 -2 (*.f64 x x)) 3)) (+.f64 (*.f64 (*.f64 x 3) (*.f64 x 3)) (-.f64 (*.f64 (*.f64 -2 (*.f64 x x)) (*.f64 -2 (*.f64 x x))) (*.f64 (*.f64 x 3) (*.f64 -2 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x 3) (*.f64 x 3)) (*.f64 (*.f64 -2 (*.f64 x x)) (*.f64 -2 (*.f64 x x)))) (-.f64 (*.f64 x 3) (*.f64 -2 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 27 (*.f64 (pow.f64 x 3) -8)) 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)) x) (+.f64 3 (*.f64 2 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 27 (*.f64 (pow.f64 x 3) -8))) (+.f64 9 (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 -6 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (-.f64 9 (*.f64 (*.f64 x x) 4))) (+.f64 3 (*.f64 2 x)))))) (#(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 cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x -2 3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 x -2 3) 3) (pow.f64 x 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 fma.f64 x 3 (*.f64 -2 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 3 x (*.f64 -2 (*.f64 x x)))))))

simplify183.0ms (2.4%)

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
69 → 55
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))

localize15.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
@inf
(*.f64 x (+.f64 (*.f64 (*.f64 x -2) x) (*.f64 3 x)))
0.0ms
x
@0
(*.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))

rewrite88.0ms (1.2%)

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

simplify185.0ms (2.5%)

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

localize22.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 9 (*.f64 (*.f64 x x) 4))
0.0b
(*.f64 (*.f64 x x) 4)
0.2b
(*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x))
4.1b
(/.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)

series5.0ms (0.1%)

Counts
4 → 48
Calls

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

rewrite88.0ms (1.2%)

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
01358
129446
2399142
Stop Event
node limit
Counts
4 → 145
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)
(-.f64 9 (*.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))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 9 (*.f64 (*.f64 x x) -4))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 9 (*.f64 (*.f64 (*.f64 x x) -4) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) -4) 9)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (fma.f64 (*.f64 x x) -4 9))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (fma.f64 (*.f64 x x) -4 9))) (cbrt.f64 (exp.f64 (fma.f64 (*.f64 x x) -4 9))))) (log.f64 (cbrt.f64 (exp.f64 (fma.f64 (*.f64 x x) -4 9)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (fma.f64 (*.f64 x x) -4 9)))) (log.f64 (sqrt.f64 (exp.f64 (fma.f64 (*.f64 x x) -4 9)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (*.f64 x x) -4 9) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (*.f64 x x) -4 9))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (*.f64 x x) -4 9)) (pow.f64 (cbrt.f64 (fma.f64 (*.f64 x x) -4 9)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (*.f64 x x) -4 9)) 2) (cbrt.f64 (fma.f64 (*.f64 x x) -4 9)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (*.f64 x x) -4 9)) (sqrt.f64 (fma.f64 (*.f64 x x) -4 9)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 729 (*.f64 64 (pow.f64 (*.f64 x x) 3))) (/.f64 1 (+.f64 81 (fma.f64 16 (pow.f64 x 4) (*.f64 36 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 81 (*.f64 16 (pow.f64 x 4))) (/.f64 1 (fma.f64 x (*.f64 x 4) 9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 81 (fma.f64 16 (pow.f64 x 4) (*.f64 36 (*.f64 x x)))) (-.f64 729 (*.f64 64 (pow.f64 (*.f64 x x) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x (*.f64 x 4) 9) (-.f64 81 (*.f64 16 (pow.f64 x 4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.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 81 (*.f64 16 (pow.f64 x 4))) (fma.f64 x (*.f64 x 4) 9))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 729 (*.f64 64 (pow.f64 (*.f64 x x) 3)))) (neg.f64 (+.f64 81 (fma.f64 16 (pow.f64 x 4) (*.f64 36 (*.f64 x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 81 (*.f64 16 (pow.f64 x 4)))) (neg.f64 (fma.f64 x (*.f64 x 4) 9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 729 (pow.f64 (*.f64 (*.f64 x x) -4) 3)) (+.f64 81 (-.f64 (*.f64 (*.f64 (*.f64 x x) -4) (*.f64 (*.f64 x x) -4)) (*.f64 9 (*.f64 (*.f64 x x) -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 81 (*.f64 (*.f64 (*.f64 x x) -4) (*.f64 (*.f64 x x) -4))) (-.f64 9 (*.f64 (*.f64 x x) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (*.f64 x x) -4 9) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (*.f64 x x) -4 9) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (*.f64 x x) -4 9)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (*.f64 x x) -4 9)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 81 (fma.f64 16 (pow.f64 x 4) (*.f64 36 (*.f64 x x)))) (-.f64 729 (*.f64 64 (pow.f64 (*.f64 x x) 3)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 x (*.f64 x 4) 9) (-.f64 81 (*.f64 16 (pow.f64 x 4)))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (*.f64 x x) -4 9) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (*.f64 x x) -4 9)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (*.f64 x x) -4 9))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (*.f64 x x) -4 9) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (*.f64 x x) -4 9)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (*.f64 x x) -4 9)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (*.f64 x x) -4 9)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 (*.f64 x x) -4 9)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (neg.f64 (*.f64 x 4)) 9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x x) -4 9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 4 (*.f64 x (neg.f64 x)) 9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x x) (neg.f64 (+.f64 x x)) 9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (*.f64 x x) -4) 9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 16 (pow.f64 x 4))) (neg.f64 (pow.f64 (cbrt.f64 (+.f64 x x)) 2)) 9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 x (neg.f64 x)) 4 9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 x x) -4)) (cbrt.f64 (*.f64 (*.f64 x x) -4))) (cbrt.f64 (*.f64 (*.f64 x x) -4)) 9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (*.f64 x x) -4)) (sqrt.f64 (*.f64 (*.f64 x x) -4)) 9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (+.f64 x x)) (+.f64 x x) 9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (*.f64 x (*.f64 x 4)) 9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 x) (*.f64 x 4) 9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -4 (*.f64 x x) 9)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (neg.f64 (cbrt.f64 (*.f64 16 (pow.f64 x 4)))) (pow.f64 (cbrt.f64 (+.f64 x x)) 2) 9)))))

simplify217.0ms (2.9%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
020483
145465
299456
3261438
4900438
51619438
63117438
73236438
83409438
93621438
103906438
114282438
124727438
135279438
145967438
156428438
166735438
177005438
187221438
197411438
Stop Event
node limit
Counts
193 → 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 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))
9
(+.f64 9 (*.f64 -4 (pow.f64 x 2)))
(+.f64 9 (*.f64 -4 (pow.f64 x 2)))
(+.f64 9 (*.f64 -4 (pow.f64 x 2)))
(*.f64 -4 (pow.f64 x 2))
(+.f64 9 (*.f64 -4 (pow.f64 x 2)))
(+.f64 9 (*.f64 -4 (pow.f64 x 2)))
(+.f64 9 (*.f64 -4 (pow.f64 x 2)))
(*.f64 -4 (pow.f64 x 2))
(+.f64 9 (*.f64 -4 (pow.f64 x 2)))
(+.f64 9 (*.f64 -4 (pow.f64 x 2)))
(+.f64 9 (*.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 9 (pow.f64 x 2))
(*.f64 (*.f64 x x) 9)
(*.f64 x (*.f64 x 9))
(*.f64 9 (*.f64 x x))
(+.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)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -4 9))
(fma.f64 -4 (pow.f64 x 4) (*.f64 9 (*.f64 x x)))
(fma.f64 -4 (pow.f64 x 4) (*.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)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -4 9))
(fma.f64 -4 (pow.f64 x 4) (*.f64 9 (*.f64 x x)))
(fma.f64 -4 (pow.f64 x 4) (*.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)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -4 9))
(fma.f64 -4 (pow.f64 x 4) (*.f64 9 (*.f64 x x)))
(fma.f64 -4 (pow.f64 x 4) (*.f64 x (*.f64 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)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -4 9))
(fma.f64 -4 (pow.f64 x 4) (*.f64 9 (*.f64 x x)))
(fma.f64 -4 (pow.f64 x 4) (*.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)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -4 9))
(fma.f64 -4 (pow.f64 x 4) (*.f64 9 (*.f64 x x)))
(fma.f64 -4 (pow.f64 x 4) (*.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)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -4 9))
(fma.f64 -4 (pow.f64 x 4) (*.f64 9 (*.f64 x x)))
(fma.f64 -4 (pow.f64 x 4) (*.f64 x (*.f64 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)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -4 9))
(fma.f64 -4 (pow.f64 x 4) (*.f64 9 (*.f64 x x)))
(fma.f64 -4 (pow.f64 x 4) (*.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)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -4 9))
(fma.f64 -4 (pow.f64 x 4) (*.f64 9 (*.f64 x x)))
(fma.f64 -4 (pow.f64 x 4) (*.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)))
(*.f64 (*.f64 x x) (fma.f64 (*.f64 x x) -4 9))
(fma.f64 -4 (pow.f64 x 4) (*.f64 9 (*.f64 x x)))
(fma.f64 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (*.f64 x x))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (*.f64 x x))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (*.f64 x x))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (*.f64 x x))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (*.f64 x x))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (*.f64 x x))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (*.f64 x x))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (*.f64 x x))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (*.f64 x x))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (*.f64 x x))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (*.f64 x x))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (*.f64 x x))
9
(+.f64 9 (*.f64 -4 (pow.f64 x 2)))
(+.f64 9 (*.f64 (*.f64 x x) -4))
(fma.f64 (*.f64 x x) -4 9)
(fma.f64 x (*.f64 x -4) 9)
(+.f64 9 (*.f64 -4 (pow.f64 x 2)))
(+.f64 9 (*.f64 (*.f64 x x) -4))
(fma.f64 (*.f64 x x) -4 9)
(fma.f64 x (*.f64 x -4) 9)
(+.f64 9 (*.f64 -4 (pow.f64 x 2)))
(+.f64 9 (*.f64 (*.f64 x x) -4))
(fma.f64 (*.f64 x x) -4 9)
(fma.f64 x (*.f64 x -4) 9)
(*.f64 -4 (pow.f64 x 2))
(*.f64 (*.f64 x x) -4)
(*.f64 x (*.f64 x -4))
(+.f64 9 (*.f64 -4 (pow.f64 x 2)))
(+.f64 9 (*.f64 (*.f64 x x) -4))
(fma.f64 (*.f64 x x) -4 9)
(fma.f64 x (*.f64 x -4) 9)
(+.f64 9 (*.f64 -4 (pow.f64 x 2)))
(+.f64 9 (*.f64 (*.f64 x x) -4))
(fma.f64 (*.f64 x x) -4 9)
(fma.f64 x (*.f64 x -4) 9)
(+.f64 9 (*.f64 -4 (pow.f64 x 2)))
(+.f64 9 (*.f64 (*.f64 x x) -4))
(fma.f64 (*.f64 x x) -4 9)
(fma.f64 x (*.f64 x -4) 9)
(*.f64 -4 (pow.f64 x 2))
(*.f64 (*.f64 x x) -4)
(*.f64 x (*.f64 x -4))
(+.f64 9 (*.f64 -4 (pow.f64 x 2)))
(+.f64 9 (*.f64 (*.f64 x x) -4))
(fma.f64 (*.f64 x x) -4 9)
(fma.f64 x (*.f64 x -4) 9)
(+.f64 9 (*.f64 -4 (pow.f64 x 2)))
(+.f64 9 (*.f64 (*.f64 x x) -4))
(fma.f64 (*.f64 x x) -4 9)
(fma.f64 x (*.f64 x -4) 9)
(+.f64 9 (*.f64 -4 (pow.f64 x 2)))
(+.f64 9 (*.f64 (*.f64 x x) -4))
(fma.f64 (*.f64 x x) -4 9)
(fma.f64 x (*.f64 x -4) 9)

localize25.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

Compiled 34 to 14 computations (58.8% saved)

series5.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

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

rewrite103.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
776×pow1_binary64
720×add-log-exp_binary64
719×log1p-expm1-u_binary64
719×expm1-log1p-u_binary64
704×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify206.0ms (2.8%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
010279
126279
258270
3155252
4417252
51681252
63444252
73800252
84050252
94337252
104716252
115272252
125892252
136604252
147075252
157394252
167668252
177840252
187934252
Stop Event
node limit
Counts
80 → 50
Calls
Call 1
Inputs
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(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)))
(*.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
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(pow.f64 x 3)
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(*.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 (pow.f64 x 3) -2))
(*.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 (pow.f64 x 3) -2))
(*.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 (pow.f64 x 3) -2))
(*.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 (pow.f64 x 3) -2)
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.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 (pow.f64 x 3) -2))
(*.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 (pow.f64 x 3) -2))
(*.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 (pow.f64 x 3) -2)
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 (pow.f64 x 3) -2))
(*.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 (pow.f64 x 3) -2))
(*.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 (pow.f64 x 3) -2))
(*.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 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)
(*.f64 -2 (pow.f64 x 3))
(*.f64 (pow.f64 x 3) -2)

eval183.0ms (2.4%)

Compiler

Compiled 8839 to 6005 computations (32.1% saved)

prune114.0ms (1.5%)

Pruning

12 alts after pruning (1 fresh and 11 done)

PrunedKeptTotal
New5271528
Fresh000
Picked011
Done21012
Total52912541
Error
0b
Counts
541 → 12
Alt Table
Click to see full alt table
StatusErrorProgram
0.2b
(*.f64 x (+.f64 (*.f64 (*.f64 x -2) x) (*.f64 3 x)))
0.2b
(fma.f64 (*.f64 x 3) x (*.f64 -2 (*.f64 (*.f64 x x) x)))
0.2b
(*.f64 x (fma.f64 x 3 (*.f64 x (*.f64 x -2))))
0.2b
(*.f64 x (*.f64 x (+.f64 3 (*.f64 x -2))))
25.8b
(*.f64 x (*.f64 x (*.f64 x -2)))
0.1b
(+.f64 (*.f64 x (*.f64 x 3)) (*.f64 -2 (pow.f64 x 3)))
0.2b
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
19.0b
(/.f64 (*.f64 9 (*.f64 x x)) (+.f64 3 (*.f64 x 2)))
19.4b
(pow.f64 (*.f64 x (sqrt.f64 3)) 2)
19.2b
(*.f64 3 (*.f64 x x))
25.7b
(*.f64 -2 (pow.f64 x 3))
19.2b
(*.f64 x (*.f64 3 x))
Compiler

Compiled 113 to 79 computations (30.1% saved)

regimes107.0ms (1.4%)

Counts
23 → 1
Calls
Call 1
Inputs
(*.f64 x (*.f64 3 x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x (*.f64 x -2)))
(*.f64 x (*.f64 x (+.f64 3 (*.f64 x -2))))
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
(/.f64 (*.f64 9 (*.f64 x x)) (+.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 x (*.f64 x 3)))
(+.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 (*.f64 x x) 3))
(/.f64 (*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x)) (+.f64 3 (*.f64 x 2)))
(*.f64 -2 (pow.f64 x 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 x (fma.f64 x 3 (*.f64 x (*.f64 x -2))))
(+.f64 (*.f64 x (*.f64 x 3)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 -2 (pow.f64 x 3)) (*.f64 (*.f64 x x) 3))
(fma.f64 (*.f64 x 3) x (*.f64 -2 (*.f64 (*.f64 x 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))))
(pow.f64 (*.f64 x (sqrt.f64 3)) 2)
(fma.f64 (*.f64 x 3) x (*.f64 -2 (pow.f64 x 3)))
(pow.f64 (*.f64 x (sqrt.f64 (+.f64 3 (*.f64 x -2)))) 2)
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(sqrt.f64 (*.f64 (pow.f64 x 4) (pow.f64 (+.f64 3 (*.f64 x -2)) 2)))
Outputs
(fma.f64 (*.f64 x 3) x (*.f64 -2 (pow.f64 x 3)))
Calls

2 calls:

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

Compiled 247 to 160 computations (35.2% saved)

regimes22.0ms (0.3%)

Counts
19 → 1
Calls
Call 1
Inputs
(*.f64 x (*.f64 3 x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x (*.f64 x -2)))
(*.f64 x (*.f64 x (+.f64 3 (*.f64 x -2))))
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
(/.f64 (*.f64 9 (*.f64 x x)) (+.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 x (*.f64 x 3)))
(+.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 (*.f64 x x) 3))
(/.f64 (*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x)) (+.f64 3 (*.f64 x 2)))
(*.f64 -2 (pow.f64 x 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 x (fma.f64 x 3 (*.f64 x (*.f64 x -2))))
(+.f64 (*.f64 x (*.f64 x 3)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 -2 (pow.f64 x 3)) (*.f64 (*.f64 x x) 3))
(fma.f64 (*.f64 x 3) x (*.f64 -2 (*.f64 (*.f64 x 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))))
(pow.f64 (*.f64 x (sqrt.f64 3)) 2)
Outputs
(+.f64 (*.f64 x (*.f64 x 3)) (*.f64 -2 (pow.f64 x 3)))
Calls

2 calls:

9.0ms
x
8.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)))
Compiler

Compiled 204 to 126 computations (38.2% saved)

regimes17.0ms (0.2%)

Counts
14 → 1
Calls
Call 1
Inputs
(*.f64 x (*.f64 3 x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x (*.f64 x -2)))
(*.f64 x (*.f64 x (+.f64 3 (*.f64 x -2))))
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
(/.f64 (*.f64 9 (*.f64 x x)) (+.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 x (*.f64 x 3)))
(+.f64 (*.f64 (*.f64 x x) (*.f64 x -2)) (*.f64 (*.f64 x x) 3))
(/.f64 (*.f64 (-.f64 9 (*.f64 (*.f64 x x) 4)) (*.f64 x x)) (+.f64 3 (*.f64 x 2)))
(*.f64 -2 (pow.f64 x 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 x (fma.f64 x 3 (*.f64 x (*.f64 x -2))))
Outputs
(*.f64 x (+.f64 (*.f64 (*.f64 x -2) x) (*.f64 3 x)))
Calls

2 calls:

7.0ms
x
5.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 141 to 85 computations (39.7% saved)

regimes12.0ms (0.2%)

Counts
7 → 1
Calls
Call 1
Inputs
(*.f64 x (*.f64 3 x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (*.f64 x x))
(*.f64 x (*.f64 x (*.f64 x -2)))
(*.f64 x (*.f64 x (+.f64 3 (*.f64 x -2))))
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
(/.f64 (*.f64 9 (*.f64 x x)) (+.f64 3 (*.f64 x 2)))
Outputs
(*.f64 x (*.f64 x (+.f64 3 (*.f64 x -2))))
Calls

2 calls:

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

Compiled 64 to 40 computations (37.5% saved)

regimes12.0ms (0.2%)

Counts
4 → 3
Calls
Call 1
Inputs
(*.f64 x (*.f64 3 x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (*.f64 x x))
(*.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:

11.0ms
x
Results
ErrorSegmentsBranch
3.1b3x
Compiler

Compiled 25 to 15 computations (40% saved)

bsearch31.0ms (0.4%)

Algorithm
binary-search
Steps
TimeLeftRight
15.0ms
3.989449587946897e-6
12.595594065896952
15.0ms
-3.3109288446661744
-0.025753023312910493
Compiler

Compiled 14 to 10 computations (28.6% saved)

regimes31.0ms (0.4%)

Accuracy

Total -0.1b remaining (-0.4%)

Threshold costs -0.1b (-0.4%)

Counts
3 → 1
Calls
Call 1
Inputs
(*.f64 x (*.f64 3 x))
(*.f64 x (*.f64 3 x))
(*.f64 3 (*.f64 x x))
Outputs
(*.f64 x (*.f64 3 x))
Calls

1 calls:

4.0ms
x
Results
ErrorSegmentsBranch
19.2b1x
Compiler

Compiled 18 to 11 computations (38.9% saved)

simplify7.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
028105
141105
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(fma.f64 (*.f64 x 3) x (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 x (*.f64 x 3)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 x (+.f64 (*.f64 (*.f64 x -2) x) (*.f64 3 x)))
(*.f64 x (*.f64 x (+.f64 3 (*.f64 x -2))))
(if (<=.f64 x -7455548955544405/2251799813685248) (*.f64 x (*.f64 x (*.f64 x -2))) (if (<=.f64 x 1177477688701159/295147905179352825856) (*.f64 x (*.f64 3 x)) (*.f64 x (*.f64 x (*.f64 x -2)))))
(*.f64 x (*.f64 3 x))
Outputs
(fma.f64 (*.f64 x 3) x (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 x (*.f64 x 3)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 -2 (pow.f64 x 3)) (*.f64 x (*.f64 x 3)))
(*.f64 x (+.f64 (*.f64 (*.f64 x -2) x) (*.f64 3 x)))
(*.f64 x (+.f64 (*.f64 x 3) (*.f64 x (*.f64 x -2))))
(*.f64 x (*.f64 x (+.f64 3 (*.f64 x -2))))
(if (<=.f64 x -7455548955544405/2251799813685248) (*.f64 x (*.f64 x (*.f64 x -2))) (if (<=.f64 x 1177477688701159/295147905179352825856) (*.f64 x (*.f64 3 x)) (*.f64 x (*.f64 x (*.f64 x -2)))))
(if (<=.f64 x -7455548955544405/2251799813685248) (*.f64 x (*.f64 x (*.f64 x -2))) (if (<=.f64 x 1177477688701159/295147905179352825856) (*.f64 x (*.f64 x 3)) (*.f64 x (*.f64 x (*.f64 x -2)))))
(*.f64 x (*.f64 3 x))
(*.f64 x (*.f64 x 3))
Compiler

Compiled 79 to 54 computations (31.6% saved)

soundness318.0ms (4.3%)

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)

end49.0ms (0.7%)

Compiler

Compiled 74 to 49 computations (33.8% saved)

Profiling

Loading profile data...