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
68.7%6.2%25%6
71.8%3.1%25%7
73.4%1.6%25%8
74.2%0.8%25%9
74.6%0.4%25%10
74.8%0.2%25%11
74.9%0.1%25%12
74.9%0%25.1%13
74.9%0%25.1%14
Compiler

Compiled 11 to 9 computations (18.2% saved)

sample830.0ms (49.2%)

Results
641.0ms7505×body128valid
116.0ms433×body1024valid
44.0ms213×body512valid
16.0ms105×body256valid
0.0msbody128invalid

preprocess40.0ms (2.4%)

Algorithm
egg-herbie
Rules
927×fma-def_binary64
405×fma-neg_binary64
124×cancel-sign-sub-inv_binary64
87×distribute-rgt-in_binary64
63×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11813
24310
31018
42298
53618
65458
78168
813698
915228
1018358
1122558
1223648
1323688
1423688
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
Outputs
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
(*.f64 3 (*.f64 (-.f64 2 (*.f64 3 x)) x))
(*.f64 3 (*.f64 x (+.f64 2 (*.f64 x -3))))
(*.f64 x (+.f64 6 (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
Compiler

Compiled 10 to 8 computations (20% saved)

simplify30.0ms (1.8%)

Algorithm
egg-herbie
Rules
927×fma-def_binary64
405×fma-neg_binary64
124×cancel-sign-sub-inv_binary64
87×distribute-rgt-in_binary64
63×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0813
11813
24310
31018
42298
53618
65458
78168
813698
915228
1018358
1122558
1223648
1323688
1423688
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
Outputs
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
(*.f64 3 (*.f64 (-.f64 2 (*.f64 3 x)) x))
(*.f64 3 (*.f64 x (+.f64 2 (*.f64 x -3))))
(*.f64 x (+.f64 6 (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))

prune3.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.2b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.2b
(*.f64 x (fma.f64 x -9 6))
0.3b
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
Compiler

Compiled 50 to 38 computations (24% saved)

localize3.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series3.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

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

rewrite46.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
541×pow1_binary64
506×add-log-exp_binary64
506×log1p-expm1-u_binary64
506×expm1-log1p-u_binary64
498×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify65.0ms (3.9%)

Algorithm
egg-herbie
Rules
542×associate-*l*_binary64
434×unswap-sqr_binary64
370×sqr-pow_binary64
366×fma-def_binary64
312×*-commutative_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
012171
123171
236144
362144
4154144
5471144
61686144
72944144
83148144
93361144
103581144
113887144
124287144
134795144
Stop Event
node limit
Counts
60 → 47
Calls
Call 1
Inputs
(*.f64 6 x)
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(*.f64 -9 (pow.f64 x 2))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(*.f64 -9 (pow.f64 x 2))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
6
(+.f64 (*.f64 -9 x) 6)
(+.f64 (*.f64 -9 x) 6)
(+.f64 (*.f64 -9 x) 6)
(*.f64 -9 x)
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 -9 x))
(*.f64 -9 x)
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 -9 x))
Outputs
(*.f64 6 x)
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 x -9))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 x -9))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 x -9 6))
6
(+.f64 (*.f64 -9 x) 6)
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 (*.f64 -9 x) 6)
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 (*.f64 -9 x) 6)
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(*.f64 -9 x)
(*.f64 x -9)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(*.f64 -9 x)
(*.f64 x -9)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(fma.f64 x -9 6)

prune38.0ms (2.3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New42547
Fresh011
Picked011
Done000
Total42749
Error
0.0b
Counts
49 → 7
Alt Table
StatusErrorProgram
1.3b
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3)
0.2b
(*.f64 x (fma.f64 x -9 6))
0.2b
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
8.7b
(*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3)))
10.2b
(*.f64 x (pow.f64 (sqrt.f64 (fma.f64 x -9 6)) 2))
39.5b
(cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x -9 6) 3)))
0.3b
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
Compiler

Compiled 549 to 422 computations (23.1% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
0.2b
(*.f64 -9 (pow.f64 x 2))

series3.0ms (0.2%)

Counts
2 → 3
Calls

6 calls:

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

rewrite44.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
851×log1p-expm1-u_binary64
851×expm1-log1p-u_binary64
95×add-sqr-sqrt_binary64
91×add-log-exp_binary64
90×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify57.0ms (3.4%)

Algorithm
egg-herbie
Rules
624×sqr-pow_binary64
513×associate-*l*_binary64
434×unswap-sqr_binary64
285×cube-prod_binary64
279×fabs-mul_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
11518
22618
35118
412418
536718
6138318
7227218
8243618
9264918
10286918
11316918
12356918
13405718
14461818
Stop Event
node limit
Counts
55 → 55
Calls
Call 1
Inputs
(*.f64 6 x)
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
Outputs
(*.f64 6 x)
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 x -9))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 x (*.f64 x -9))

prune41.0ms (2.4%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New54155
Fresh145
Picked011
Done011
Total55762
Error
0.0b
Counts
62 → 7
Alt Table
StatusErrorProgram
28.0b
(/.f64 (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81)) (+.f64 (*.f64 x 6) (*.f64 9 (*.f64 x x))))
8.7b
(*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3)))
1.3b
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3)
0.2b
(*.f64 x (fma.f64 x -9 6))
0.2b
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
10.2b
(*.f64 x (pow.f64 (sqrt.f64 (fma.f64 x -9 6)) 2))
0.3b
(*.f64 (*.f64 3 (-.f64 2 (*.f64 x 3))) x)
Compiler

Compiled 962 to 637 computations (33.8% saved)

localize5.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series4.0ms (0.2%)

Counts
3 → 36
Calls

9 calls:

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

rewrite46.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
826×log1p-expm1-u_binary64
826×expm1-log1p-u_binary64
89×add-sqr-sqrt_binary64
85×*-un-lft-identity_binary64
85×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify71.0ms (4.2%)

Algorithm
egg-herbie
Rules
602×associate-*l*_binary64
434×unswap-sqr_binary64
384×fma-def_binary64
370×sqr-pow_binary64
346×*-commutative_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
016225
129225
243198
373198
4179198
5535198
61864198
73131198
83335198
93549198
103769198
114075198
124475198
134983198
Stop Event
node limit
Counts
100 → 80
Calls
Call 1
Inputs
6
(+.f64 (*.f64 -9 x) 6)
(+.f64 (*.f64 -9 x) 6)
(+.f64 (*.f64 -9 x) 6)
(*.f64 -9 x)
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 -9 x))
(*.f64 -9 x)
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 -9 x))
(*.f64 6 x)
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(*.f64 -9 (pow.f64 x 2))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(*.f64 -9 (pow.f64 x 2))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
2
(+.f64 (*.f64 -3 x) 2)
(+.f64 (*.f64 -3 x) 2)
(+.f64 (*.f64 -3 x) 2)
(*.f64 -3 x)
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(*.f64 -3 x)
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
Outputs
6
(+.f64 (*.f64 -9 x) 6)
(fma.f64 -9 x 6)
(+.f64 (*.f64 -9 x) 6)
(fma.f64 -9 x 6)
(+.f64 (*.f64 -9 x) 6)
(fma.f64 -9 x 6)
(*.f64 -9 x)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(*.f64 -9 x)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(*.f64 6 x)
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
2
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(*.f64 -3 x)
(*.f64 x -3)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(*.f64 -3 x)
(*.f64 x -3)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)

prune63.0ms (3.7%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New79180
Fresh044
Picked101
Done022
Total80787
Error
0.0b
Counts
87 → 7
Alt Table
StatusErrorProgram
0.3b
(*.f64 (*.f64 3 (fma.f64 x -3 2)) x)
0.2b
(*.f64 x (fma.f64 x -9 6))
28.0b
(/.f64 (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81)) (+.f64 (*.f64 x 6) (*.f64 9 (*.f64 x x))))
8.7b
(*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3)))
1.3b
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3)
0.2b
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
10.2b
(*.f64 x (pow.f64 (sqrt.f64 (fma.f64 x -9 6)) 2))
Compiler

Compiled 1143 to 903 computations (21% saved)

localize5.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series4.0ms (0.2%)

Counts
3 → 36
Calls

9 calls:

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

rewrite42.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
706×pow1_binary64
656×add-log-exp_binary64
655×log1p-expm1-u_binary64
655×expm1-log1p-u_binary64
79×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify70.0ms (4.2%)

Algorithm
egg-herbie
Rules
602×associate-*l*_binary64
434×unswap-sqr_binary64
384×fma-def_binary64
370×sqr-pow_binary64
346×*-commutative_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
016225
129225
243198
373198
4179198
5535198
61864198
73131198
83335198
93549198
103769198
114075198
124475198
134983198
Stop Event
node limit
Counts
86 → 66
Calls
Call 1
Inputs
6
(+.f64 (*.f64 -9 x) 6)
(+.f64 (*.f64 -9 x) 6)
(+.f64 (*.f64 -9 x) 6)
(*.f64 -9 x)
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 -9 x))
(*.f64 -9 x)
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 -9 x))
(+.f64 6 (*.f64 -9 x))
(*.f64 6 x)
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(*.f64 -9 (pow.f64 x 2))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(*.f64 -9 (pow.f64 x 2))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
2
(+.f64 (*.f64 -3 x) 2)
(+.f64 (*.f64 -3 x) 2)
(+.f64 (*.f64 -3 x) 2)
(*.f64 -3 x)
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(*.f64 -3 x)
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
(+.f64 2 (*.f64 -3 x))
Outputs
6
(+.f64 (*.f64 -9 x) 6)
(fma.f64 -9 x 6)
(+.f64 (*.f64 -9 x) 6)
(fma.f64 -9 x 6)
(+.f64 (*.f64 -9 x) 6)
(fma.f64 -9 x 6)
(*.f64 -9 x)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(*.f64 -9 x)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(+.f64 6 (*.f64 -9 x))
(fma.f64 -9 x 6)
(*.f64 6 x)
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
(fma.f64 6 x (*.f64 -9 (*.f64 x x)))
(fma.f64 -9 (*.f64 x x) (*.f64 6 x))
(*.f64 x (fma.f64 -9 x 6))
2
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 (*.f64 -3 x) 2)
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(*.f64 -3 x)
(*.f64 x -3)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(*.f64 -3 x)
(*.f64 x -3)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)
(+.f64 2 (*.f64 -3 x))
(fma.f64 -3 x 2)
(fma.f64 x -3 2)

prune41.0ms (2.4%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New66066
Fresh044
Picked011
Done022
Total66773
Error
0.0b
Counts
73 → 7
Alt Table
StatusErrorProgram
0.3b
(*.f64 (*.f64 3 (fma.f64 x -3 2)) x)
0.2b
(*.f64 x (fma.f64 x -9 6))
28.0b
(/.f64 (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (pow.f64 x 4) 81)) (+.f64 (*.f64 x 6) (*.f64 9 (*.f64 x x))))
8.7b
(*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3)))
1.3b
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3)
0.2b
(+.f64 (*.f64 6 x) (*.f64 -9 (pow.f64 x 2)))
10.2b
(*.f64 x (pow.f64 (sqrt.f64 (fma.f64 x -9 6)) 2))
Compiler

Compiled 758 to 603 computations (20.4% saved)

regimes41.0ms (2.4%)

Accuracy

Total -35.7b remaining (-24599.5%)

Threshold costs -35.7b (-24599.5%)

Counts
32 → 1
Compiler

Compiled 336 to 245 computations (27.1% saved)

simplify3.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
1811
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
Outputs
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))

end81.0ms (4.8%)

Stop Event
fuel
Compiler

Compiled 89 to 63 computations (29.2% saved)

Profiling

Loading profile data...