Details

Time bar (total: 1.7s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
62.5%12.5%25%5
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
66.6%0%33.4%13
66.6%0%33.4%14
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample750.0ms (43%)

Results
738.0ms8256×body128valid
0.0msbody128invalid

preprocess44.0ms (2.5%)

Algorithm
egg-herbie
Rules
783×fma-neg_binary64
701×fma-def_binary64
349×associate-*l*_binary64
313×distribute-rgt-neg-in_binary64
258×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11713
24511
311811
423211
531111
646511
779611
8167711
9253811
10344511
11462611
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)

simplify37.0ms (2.1%)

Algorithm
egg-herbie
Rules
783×fma-neg_binary64
701×fma-def_binary64
349×associate-*l*_binary64
313×distribute-rgt-neg-in_binary64
258×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0813
11713
24511
311811
423211
531111
646511
779611
8167711
9253811
10344511
11462611
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)))

eval1.0ms (0%)

Compiler

Compiled 18 to 12 computations (33.3% saved)

prune2.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
Click to see full alt table
StatusErrorProgram
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
0.2b
(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
Compiler

Compiled 38 to 26 computations (31.6% saved)

localize5.0ms (0.3%)

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 (2.4%)

Algorithm
batch-egg-rewrite
Rules
799×log1p-expm1-u_binary64
799×expm1-log1p-u_binary64
88×add-sqr-sqrt_binary64
84×*-un-lft-identity_binary64
84×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
117613
2219713
Stop Event
node limit
Counts
1 → 21
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 (exp.f64 (log1p.f64 (*.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 x 2) (+.f64 3 (*.f64 x 2)))))))) (#(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 x 2) (+.f64 3 (*.f64 x 2)))))))) (#(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 log.f64 (+.f64 1 (expm1.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x 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 exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 x x) (+.f64 3 (*.f64 x -2)))) 1))))) (#(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)))))))))

simplify57.0ms (3.3%)

Algorithm
egg-herbie
Rules
536×unswap-sqr_binary64
490×fma-def_binary64
444×associate-*l*_binary64
378×sqr-pow_binary64
358×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
010147
126147
258138
3153120
4395120
51523120
63272120
73628120
83879120
94166120
104545120
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 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))

eval6.0ms (0.4%)

Compiler

Compiled 322 to 217 computations (32.6% saved)

prune21.0ms (1.2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New23326
Fresh011
Picked101
Done000
Total24428
Error
0.0b
Counts
28 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
3.0b
(/.f64 (*.f64 (*.f64 x x) (-.f64 9 (*.f64 (*.f64 x x) 4))) (+.f64 3 (*.f64 x 2)))
6.9b
(pow.f64 (*.f64 x (sqrt.f64 (+.f64 3 (*.f64 x -2)))) 2)
0.1b
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
Compiler

Compiled 100 to 74 computations (26% saved)

localize7.0ms (0.4%)

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

series6.0ms (0.3%)

Counts
3 → 3
Calls

9 calls:

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

rewrite49.0ms (2.8%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01028
122228
2256828
Stop Event
node limit
Counts
3 → 65
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 exp.f64 (*.f64 (log.f64 (*.f64 3 (*.f64 x x))) 1))))) (#(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 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 exp.f64 (log.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) 1))))) (#(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 exp.f64 (*.f64 (log.f64 (*.f64 -2 (pow.f64 x 3))) 1))))) (#(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))))))))

simplify59.0ms (3.4%)

Algorithm
egg-herbie
Rules
674×sqr-pow_binary64
536×unswap-sqr_binary64
419×associate-*l*_binary64
387×*-commutative_binary64
279×pow-sqr_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
12321
25221
311421
431121
5127221
6244221
7260821
8285821
9314521
10352421
11402321
12462821
Stop Event
node limit
Counts
68 → 68
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))

eval25.0ms (1.5%)

Compiler

Compiled 1108 to 828 computations (25.3% saved)

prune77.0ms (4.4%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New66268
Fresh123
Picked011
Done000
Total67572
Error
0b
Counts
72 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
6.8b
(pow.f64 (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) 2)
15.9b
(+.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)))
3.0b
(/.f64 (*.f64 (*.f64 x x) (-.f64 9 (*.f64 (*.f64 x x) 4))) (+.f64 3 (*.f64 x 2)))
0.1b
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
Compiler

Compiled 120 to 90 computations (25% saved)

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

rewrite37.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
647×pow1_binary64
601×add-log-exp_binary64
600×log1p-expm1-u_binary64
600×expm1-log1p-u_binary64
69×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0719
114319
2161219
Stop Event
node limit
Counts
2 → 32
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 (exp.f64 (log1p.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))) 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 (fma.f64 x -2 3) (*.f64 x x)) 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 log.f64 (+.f64 1 (expm1.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x)) 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 exp.f64 (log.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (fma.f64 x -2 3) (*.f64 x x))))))))
((#(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 (exp.f64 (log1p.f64 (*.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 log.f64 (+.f64 1 (expm1.f64 (*.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 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))))))))

simplify61.0ms (3.5%)

Algorithm
egg-herbie
Rules
536×unswap-sqr_binary64
496×associate-*l*_binary64
476×fma-def_binary64
380×*-commutative_binary64
378×sqr-pow_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
013264
133264
266246
3157210
4420210
51626210
63326210
73644210
83895210
94182210
104561210
Stop Event
node limit
Counts
56 → 42
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))

eval10.0ms (0.6%)

Compiler

Compiled 431 to 292 computations (32.3% saved)

prune42.0ms (2.4%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New42042
Fresh033
Picked011
Done011
Total42547
Error
0b
Counts
47 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
6.8b
(pow.f64 (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) 2)
15.9b
(+.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)))
3.0b
(/.f64 (*.f64 (*.f64 x x) (-.f64 9 (*.f64 (*.f64 x x) 4))) (+.f64 3 (*.f64 x 2)))
0.1b
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
Compiler

Compiled 111 to 84 computations (24.3% saved)

localize8.0ms (0.5%)

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

series8.0ms (0.4%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
4.0ms
x
@inf
(/.f64 (*.f64 (*.f64 x x) (-.f64 9 (*.f64 (*.f64 x x) 4))) (+.f64 3 (*.f64 x 2)))
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 x x) (-.f64 9 (*.f64 (*.f64 x x) 4)))
1.0ms
x
@inf
(*.f64 (*.f64 x x) 4)

rewrite62.0ms (3.6%)

Algorithm
batch-egg-rewrite
Rules
440×prod-diff_binary64
237×log1p-udef_binary64
143×add-sqr-sqrt_binary64
139×*-un-lft-identity_binary64
139×pow1_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01348
129439
2397839
Stop Event
node limit
Counts
3 → 83
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 (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 (+.f64 9 (*.f64 (*.f64 x x) -4))) (/.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 (+.f64 9 (*.f64 (*.f64 x x) -4)) (/.f64 1 (fma.f64 x 2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 9 (*.f64 (*.f64 x x) -4)) (*.f64 (*.f64 x x) (/.f64 1 (fma.f64 x 2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4)))) (/.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 (+.f64 9 (*.f64 (*.f64 x x) -4))))) 2) (*.f64 (cbrt.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4))))) (/.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 (+.f64 9 (*.f64 (*.f64 x x) -4)))) (*.f64 (*.f64 x (sqrt.f64 (+.f64 9 (*.f64 (*.f64 x x) -4)))) (/.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 (+.f64 9 (*.f64 (*.f64 x x) -4)) (*.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 (+.f64 9 (*.f64 (*.f64 x x) -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 x 1) (/.f64 (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4))) (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 (+.f64 9 (*.f64 (*.f64 x x) -4)) 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)) (+.f64 9 (*.f64 (*.f64 x x) -4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4))))) 2) 1) (/.f64 (cbrt.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4))))) (fma.f64 x 2 3)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (sqrt.f64 (+.f64 9 (*.f64 (*.f64 x x) -4)))) 1) (/.f64 (*.f64 x (sqrt.f64 (+.f64 9 (*.f64 (*.f64 x x) -4)))) (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 (+.f64 9 (*.f64 (*.f64 x x) -4))) (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 (+.f64 9 (*.f64 (*.f64 x x) -4)) (cbrt.f64 (fma.f64 x 2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 9 (*.f64 (*.f64 x x) -4)) (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 (+.f64 9 (*.f64 (*.f64 x x) -4)))) (cbrt.f64 (fma.f64 x 2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4))))) 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 (+.f64 9 (*.f64 (*.f64 x x) -4)))) (pow.f64 (cbrt.f64 (fma.f64 x 2 3)) 2)) (/.f64 (*.f64 x (sqrt.f64 (+.f64 9 (*.f64 (*.f64 x x) -4)))) (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 (+.f64 9 (*.f64 (*.f64 x x) -4))) (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 (+.f64 9 (*.f64 (*.f64 x x) -4)) (sqrt.f64 (fma.f64 x 2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (+.f64 9 (*.f64 (*.f64 x x) -4)) (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 (+.f64 9 (*.f64 (*.f64 x x) -4)))) (sqrt.f64 (fma.f64 x 2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4))))) 2) (sqrt.f64 (fma.f64 x 2 3))) (/.f64 (cbrt.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4))))) (sqrt.f64 (fma.f64 x 2 3))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4)))) (+.f64 27 (*.f64 (pow.f64 x 3) 8))) (-.f64 (+.f64 9 (*.f64 x (*.f64 x 4))) (*.f64 6 x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4)))) (+.f64 9 (*.f64 (*.f64 x x) -4))) (+.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 neg.f64 (/.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4)))) (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 (+.f64 9 (*.f64 (*.f64 x x) -4)))) 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 (*.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 (exp.f64 (log1p.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 729 (pow.f64 (*.f64 x (*.f64 x 4)) 3)) (*.f64 x x)) (+.f64 (+.f64 81 (*.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)) (+.f64 9 (*.f64 x (*.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 x x) (-.f64 729 (pow.f64 (*.f64 x (*.f64 x 4)) 3))) (+.f64 (+.f64 81 (*.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)))) (+.f64 9 (*.f64 x (*.f64 x 4))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (sqrt.f64 (+.f64 9 (*.f64 (*.f64 x x) -4)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 x 4) (pow.f64 (+.f64 9 (*.f64 (*.f64 x x) -4)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (+.f64 9 (*.f64 (*.f64 x x) -4)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 9 (*.f64 (*.f64 x x) -4)) 3) (pow.f64 (*.f64 x x) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (*.f64 x (+.f64 9 (*.f64 (*.f64 x x) -4))))))))))
((#(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 2) 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))))))))

simplify76.0ms (4.4%)

Algorithm
egg-herbie
Rules
803×unswap-sqr_binary64
506×sqr-pow_binary64
381×*-commutative_binary64
242×fma-def_binary64
214×pow-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
018378
141378
291369
3252351
4783351
51466351
62922351
73041351
83214351
93424351
103709351
114083351
124528351
Stop Event
node limit
Counts
119 → 95
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))

eval34.0ms (1.9%)

Compiler

Compiled 1851 to 1285 computations (30.6% saved)

prune160.0ms (9.2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New93295
Fresh112
Picked101
Done022
Total955100
Error
0b
Counts
100 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.2b
(*.f64 x (*.f64 x (fma.f64 x -2 3)))
14.6b
(*.f64 (/.f64 (*.f64 x (sqrt.f64 (+.f64 9 (*.f64 (*.f64 x x) -4)))) 1) (/.f64 (*.f64 x (sqrt.f64 (+.f64 9 (*.f64 (*.f64 x x) -4)))) (fma.f64 x 2 3)))
0.3b
(*.f64 1 (/.f64 (*.f64 x x) (/.f64 1 (+.f64 3 (*.f64 -2 x)))))
15.9b
(+.f64 (sqrt.f64 (*.f64 (pow.f64 x 4) 9)) (*.f64 -2 (pow.f64 x 3)))
0.1b
(+.f64 (*.f64 3 (pow.f64 x 2)) (*.f64 -2 (pow.f64 x 3)))
Compiler

Compiled 77 to 59 computations (23.4% saved)

regimes22.0ms (1.3%)

Accuracy

Total -27.7b remaining (-24436.6%)

Threshold costs -27.7b (-24436.6%)

Counts
9 → 1
Calls
Call 1
Inputs
(*.f64 (/.f64 (*.f64 x (sqrt.f64 (+.f64 9 (*.f64 (*.f64 x x) -4)))) 1) (/.f64 (*.f64 x (sqrt.f64 (+.f64 9 (*.f64 (*.f64 x x) -4)))) (fma.f64 x 2 3)))
(*.f64 1 (/.f64 (*.f64 x x) (/.f64 1 (+.f64 3 (*.f64 -2 x)))))
(pow.f64 (sqrt.f64 (fma.f64 -2 (pow.f64 x 3) (*.f64 3 (*.f64 x x)))) 2)
(+.f64 (sqrt.f64 (*.f64 (pow.f64 x 4) 9)) (*.f64 -2 (pow.f64 x 3)))
(/.f64 (*.f64 (*.f64 x x) (-.f64 9 (*.f64 (*.f64 x x) 4))) (+.f64 3 (*.f64 x 2)))
(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)))
(*.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
TimeErrorSegmentsBranch
14.0ms0.1b1x
4.0ms0.1b1(*.f64 (*.f64 x x) (-.f64 3 (*.f64 x 2)))
Compiler

Compiled 134 to 94 computations (29.9% 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)))

end17.0ms (1%)

Stop Event
fuel
Compiler

Compiled 24 to 20 computations (16.7% saved)

Profiling

Loading profile data...