Details

Time bar (total: 2.4s)

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

sample725.0ms (30.3%)

Results
712.0ms8250×body64valid
1.0msbody128valid
1.0ms10×body64invalid

preprocess95.0ms (3.9%)

Algorithm
egg-herbie
Rules
1486×fma-def_binary64
783×fma-neg_binary64
349×associate-*l*_binary64
324×sqr-pow_binary64
313×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11713
24511
311811
423211
531111
646511
779611
8167711
9253811
10344511
11462611
12555311
13598211
14621311
15650711
16762111
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 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
Compiler

Compiled 10 to 7 computations (30% saved)

simplify82.0ms (3.4%)

Algorithm
egg-herbie
Rules
1486×fma-def_binary64
783×fma-neg_binary64
349×associate-*l*_binary64
324×sqr-pow_binary64
313×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0813
11713
24511
311811
423211
531111
646511
779611
8167711
9253811
10344511
11462611
12555311
13598211
14621311
15650711
16762111
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 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
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 56 to 38 computations (32.1% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite43.0ms (1.8%)

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
2219713
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 (pow.f64 (*.f64 x 2) 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 (pow.f64 (*.f64 x 2) 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 (pow.f64 (exp.f64 x) x) (+.f64 3 (*.f64 x -2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x 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 exp.f64 (log.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 expm1.f64 (log1p.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))))))))

simplify136.0ms (5.7%)

Algorithm
egg-herbie
Rules
969×sqr-pow_binary64
536×unswap-sqr_binary64
490×fma-def_binary64
488×cube-prod_binary64
482×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
010147
126147
258138
3153120
4395120
51523120
63272120
73628120
83879120
94166120
104545120
115089120
125720120
136426120
146897120
157216120
167488120
177654120
187746120
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 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -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 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -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 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))
(*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))

prune25.0ms (1%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New21324
Fresh011
Picked101
Done000
Total22426
Error
0.0b
Counts
26 → 4
Alt Table
StatusErrorProgram
0.1b
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
7.1b
(pow.f64 (*.f64 x (sqrt.f64 (+.f64 3 (*.f64 x -2)))) 2)
3.0b
(/.f64 (*.f64 (*.f64 x x) (-.f64 9 (*.f64 (*.f64 x x) 4))) (+.f64 3 (*.f64 x 2)))
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
Compiler

Compiled 396 to 269 computations (32.1% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 -2 (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))

series4.0ms (0.2%)

Counts
3 → 3
Calls

9 calls:

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

rewrite57.0ms (2.4%)

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
01028
122228
2256828
Stop Event
node limit
Counts
3 → 62
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (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 exp.f64 (log.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 expm1.f64 (log1p.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)))) (cbrt.f64 (pow.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.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 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 log1p.f64 (expm1.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))))) (#(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 -.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 exp.f64 (log.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 expm1.f64 (log1p.f64 (*.f64 -2 (pow.f64 x 3))))))))

simplify125.0ms (5.2%)

Algorithm
egg-herbie
Rules
1272×sqr-pow_binary64
566×pow-sqr_binary64
563×cube-prod_binary64
536×unswap-sqr_binary64
532×fabs-mul_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
12321
25221
311421
431121
5127221
6244221
7260821
8285821
9314521
10352421
11402321
12462821
13533421
14580721
15612421
16639621
17656421
18665421
19733121
Stop Event
node limit
Counts
65 → 65
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))

prune94.0ms (3.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New63265
Fresh123
Picked011
Done000
Total64569
Error
0.0b
Counts
69 → 5
Alt Table
StatusErrorProgram
16.1b
(+.f64 (sqrt.f64 (*.f64 (pow.f64 x 4) 9)) (*.f64 -2 (pow.f64 x 3)))
3.0b
(/.f64 (*.f64 (*.f64 x x) (-.f64 9 (*.f64 (*.f64 x x) 4))) (+.f64 3 (*.f64 x 2)))
7.1b
(pow.f64 (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) 2)
0.1b
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
Compiler

Compiled 1184 to 884 computations (25.3% saved)

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

series4.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

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

rewrite54.0ms (2.3%)

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
2161219
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 (pow.f64 (exp.f64 x) (fma.f64 x -2 3)) x))))) (#(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 exp.f64 (log.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 expm1.f64 (log1p.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 exp.f64 (log.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 expm1.f64 (log1p.f64 (*.f64 x (fma.f64 x -2 3))))))))

simplify142.0ms (5.9%)

Algorithm
egg-herbie
Rules
969×sqr-pow_binary64
536×unswap-sqr_binary64
500×*-commutative_binary64
496×associate-*l*_binary64
488×cube-prod_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
013264
133264
266246
3157210
4420210
51626210
63326210
73644210
83895210
94182210
104561210
115104210
125733210
136439210
146912210
157231210
167499210
177667210
187759210
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)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x x) (fma.f64 x -2 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(fma.f64 3 (*.f64 x x) (*.f64 -2 (pow.f64 x 3)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 (*.f64 x 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))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.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))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.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))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.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))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.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))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.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))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.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))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.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))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.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))
(fma.f64 3 x (*.f64 x (*.f64 x -2)))
(*.f64 x (+.f64 (*.f64 x -2) 3))
(*.f64 x (fma.f64 x -2 3))

prune44.0ms (1.8%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New36036
Fresh033
Picked011
Done011
Total36541
Error
0.0b
Counts
41 → 5
Alt Table
StatusErrorProgram
16.1b
(+.f64 (sqrt.f64 (*.f64 (pow.f64 x 4) 9)) (*.f64 -2 (pow.f64 x 3)))
3.0b
(/.f64 (*.f64 (*.f64 x x) (-.f64 9 (*.f64 (*.f64 x x) 4))) (+.f64 3 (*.f64 x 2)))
7.1b
(pow.f64 (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) 2)
0.1b
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
Compiler

Compiled 466 to 328 computations (29.6% saved)

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series4.0ms (0.2%)

Counts
3 → 36
Calls

9 calls:

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

rewrite78.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
702×log-prod_binary64
440×prod-diff_binary64
262×fma-def_binary64
240×pow1/3_binary64
237×expm1-udef_binary64
Iterations

Useful iterations: 2 (0.0ms)

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

simplify187.0ms (7.8%)

Algorithm
egg-herbie
Rules
983×sqr-pow_binary64
803×unswap-sqr_binary64
543×cube-prod_binary64
454×fabs-mul_binary64
406×pow-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
018378
141378
291369
3252351
4783351
51466351
62922351
73041351
83214351
93424351
103709351
114083351
124528351
135077351
145763351
156222351
166529351
176801351
187013351
197207351
207986351
Stop Event
node limit
Counts
134 → 110
Calls
Call 1
Inputs
(*.f64 3 (pow.f64 x 2))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 -2 (pow.f64 x 3))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(*.f64 9 (pow.f64 x 2))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(*.f64 -4 (pow.f64 x 4))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(*.f64 -4 (pow.f64 x 4))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
(*.f64 4 (pow.f64 x 2))
Outputs
(*.f64 3 (pow.f64 x 2))
(*.f64 3 (*.f64 x x))
(+.f64 (*.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 (*.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)))
(*.f64 (*.f64 x x) (+.f64 (*.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)))
(*.f64 (*.f64 x x) (+.f64 (*.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)))
(*.f64 (*.f64 x x) (+.f64 (*.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)))
(*.f64 (*.f64 x x) (+.f64 (*.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)))
(*.f64 (*.f64 x x) (+.f64 (*.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)))
(*.f64 (*.f64 x x) (+.f64 (*.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)))
(*.f64 (*.f64 x x) (+.f64 (*.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)))
(*.f64 (*.f64 x x) (+.f64 (*.f64 x -2) 3))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 9 (pow.f64 x 2))
(*.f64 (*.f64 x x) 9)
(*.f64 x (*.f64 x 9))
(+.f64 (*.f64 9 (pow.f64 x 2)) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 9 (*.f64 x x) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(*.f64 x (fma.f64 x 9 (*.f64 (pow.f64 x 3) -4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -4) 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 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(*.f64 x (fma.f64 x 9 (*.f64 (pow.f64 x 3) -4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -4) 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 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(*.f64 x (fma.f64 x 9 (*.f64 (pow.f64 x 3) -4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -4) 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 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(*.f64 x (fma.f64 x 9 (*.f64 (pow.f64 x 3) -4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -4) 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 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(*.f64 x (fma.f64 x 9 (*.f64 (pow.f64 x 3) -4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -4) 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 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(*.f64 x (fma.f64 x 9 (*.f64 (pow.f64 x 3) -4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -4) 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 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(*.f64 x (fma.f64 x 9 (*.f64 (pow.f64 x 3) -4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -4) 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 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(*.f64 x (fma.f64 x 9 (*.f64 (pow.f64 x 3) -4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -4) 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 -4 (pow.f64 x 4) (*.f64 x (*.f64 x 9)))
(fma.f64 x (*.f64 x 9) (*.f64 -4 (pow.f64 x 4)))
(fma.f64 (*.f64 x x) 9 (*.f64 -4 (pow.f64 x 4)))
(*.f64 x (fma.f64 x 9 (*.f64 (pow.f64 x 3) -4)))
(*.f64 x (*.f64 x (fma.f64 x (*.f64 x -4) 9)))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))
(*.f64 4 (pow.f64 x 2))
(*.f64 (*.f64 x x) 4)
(*.f64 x (*.f64 x 4))

prune425.0ms (17.7%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1082110
Fresh112
Picked101
Done022
Total1105115
Error
0b
Counts
115 → 5
Alt Table
StatusErrorProgram
14.4b
(*.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)))
0.3b
(*.f64 (/.f64 (*.f64 x x) (/.f64 1 (+.f64 3 (*.f64 -2 x)))) 1)
0.1b
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
16.1b
(+.f64 (sqrt.f64 (*.f64 (pow.f64 x 4) 9)) (*.f64 -2 (pow.f64 x 3)))
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
Compiler

Compiled 2256 to 1536 computations (31.9% saved)

regimes17.0ms (0.7%)

Accuracy

Total -27.6b remaining (-23572.5%)

Threshold costs -27.6b (-23572.5%)

Counts
9 → 1
Calls
Call 1
Inputs
(*.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)))
(*.f64 (/.f64 (*.f64 x x) (/.f64 1 (+.f64 3 (*.f64 -2 x)))) 1)
(+.f64 (sqrt.f64 (*.f64 (pow.f64 x 4) 9)) (*.f64 -2 (pow.f64 x 3)))
(pow.f64 (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) 2)
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
(pow.f64 (*.f64 x (sqrt.f64 (+.f64 3 (*.f64 x -2)))) 2)
(/.f64 (*.f64 (*.f64 x x) (-.f64 9 (*.f64 (*.f64 x x) 4))) (+.f64 3 (*.f64 x 2)))
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
Outputs
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
Results
6.0ms0.1bx
7.0ms0.1b(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
Compiler

Compiled 132 to 92 computations (30.3% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01016
11316
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
Outputs
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))

end20.0ms (0.9%)

Stop Event
fuel
Compiler

Compiled 24 to 20 computations (16.7% saved)

Profiling

Loading profile data...