Details

Time bar (total: 1.6s)

analyze4.0ms (0.3%)

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)

sample814.0ms (51.7%)

Results
614.0ms7449×body128valid
127.0ms478×body1024valid
41.0ms211×body512valid
17.0ms118×body256valid
0.0msbody128invalid
Compiler

Compiled 22 to 18 computations (18.2% saved)

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

simplify31.0ms (2%)

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

series4.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

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

rewrite36.0ms (2.3%)

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 exp.f64 (log.f64 (*.f64 x (fma.f64 x -9 6))))))) (#(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 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 exp.f64 (log.f64 (fma.f64 x -9 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x -9 6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x -9 6)))))))

simplify36.0ms (2.3%)

Algorithm
egg-herbie
Rules
753×fma-neg_binary64
474×fma-def_binary64
450×cancel-sign-sub-inv_binary64
315×associate-*l*_binary64
255×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
014207
132189
261144
3132144
4424144
51493144
62879144
74277144
Stop Event
node limit
Counts
60 → 46
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 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 -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)))
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9))
(fma.f64 6 x (*.f64 x (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9))
(fma.f64 6 x (*.f64 x (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9))
(fma.f64 6 x (*.f64 x (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 (*.f64 x x) -9)
(*.f64 x (*.f64 x -9))
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9))
(fma.f64 6 x (*.f64 x (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9))
(fma.f64 6 x (*.f64 x (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9))
(fma.f64 6 x (*.f64 x (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(*.f64 -9 (pow.f64 x 2))
(*.f64 (*.f64 x x) -9)
(*.f64 x (*.f64 x -9))
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9))
(fma.f64 6 x (*.f64 x (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9))
(fma.f64 6 x (*.f64 x (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
(+.f64 (*.f64 6 x) (*.f64 (*.f64 x x) -9))
(fma.f64 6 x (*.f64 x (*.f64 x -9)))
(*.f64 x (fma.f64 x -9 6))
6
(-.f64 6 (*.f64 9 x))
(+.f64 6 (*.f64 x -9))
(-.f64 6 (*.f64 x 9))
(fma.f64 x -9 6)
(-.f64 6 (*.f64 9 x))
(+.f64 6 (*.f64 x -9))
(-.f64 6 (*.f64 x 9))
(fma.f64 x -9 6)
(-.f64 6 (*.f64 9 x))
(+.f64 6 (*.f64 x -9))
(-.f64 6 (*.f64 x 9))
(fma.f64 x -9 6)
(*.f64 -9 x)
(*.f64 x -9)
(-.f64 6 (*.f64 9 x))
(+.f64 6 (*.f64 x -9))
(-.f64 6 (*.f64 x 9))
(fma.f64 x -9 6)
(-.f64 6 (*.f64 9 x))
(+.f64 6 (*.f64 x -9))
(-.f64 6 (*.f64 x 9))
(fma.f64 x -9 6)
(-.f64 6 (*.f64 9 x))
(+.f64 6 (*.f64 x -9))
(-.f64 6 (*.f64 x 9))
(fma.f64 x -9 6)
(*.f64 -9 x)
(*.f64 x -9)
(-.f64 6 (*.f64 9 x))
(+.f64 6 (*.f64 x -9))
(-.f64 6 (*.f64 x 9))
(fma.f64 x -9 6)
(-.f64 6 (*.f64 9 x))
(+.f64 6 (*.f64 x -9))
(-.f64 6 (*.f64 x 9))
(fma.f64 x -9 6)
(-.f64 6 (*.f64 9 x))
(+.f64 6 (*.f64 x -9))
(-.f64 6 (*.f64 x 9))
(fma.f64 x -9 6)

prune32.0ms (2.1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New40646
Fresh101
Picked011
Done000
Total41748
Error
0.0b
Counts
48 → 7
Alt Table
StatusErrorProgram
7.5b
(*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3)))
0.2b
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
11.5b
(*.f64 x (pow.f64 (sqrt.f64 (fma.f64 x -9 6)) 2))
0.2b
(*.f64 x (fma.f64 x -9 6))
38.9b
(cbrt.f64 (*.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x -9 6) 3)))
41.4b
(pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) 2)
1.4b
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3)
Compiler

Compiled 542 to 417 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))

series5.0ms (0.3%)

Counts
2 → 3
Calls

6 calls:

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

rewrite44.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
893×log1p-expm1-u_binary64
893×expm1-log1p-u_binary64
97×add-sqr-sqrt_binary64
95×add-log-exp_binary64
94×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0920
120918
2249418
Stop Event
node limit
Counts
2 → 63
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 3) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 9 (*.f64 x x)) 3) 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 (pow.f64 (*.f64 9 (*.f64 x x)) 3))))) (#(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 log1p.f64 (expm1.f64 (*.f64 9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 9 (*.f64 x x))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 6) (*.f64 (*.f64 x x) -9))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 6) (*.f64 (*.f64 (*.f64 x x) -9) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 6) (+.f64 (*.f64 (*.f64 x x) -9) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (fma.f64 -9 (*.f64 x x) (*.f64 9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (fma.f64 (*.f64 (*.f64 x x) -9) 1 (*.f64 9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 9 (*.f64 x x)))) (cbrt.f64 (*.f64 (pow.f64 x 4) 81)) (*.f64 9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (fma.f64 (neg.f64 (*.f64 x 3)) (*.f64 x 3) (*.f64 9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (*.f64 (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (+.f64 (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))) (fma.f64 x 6 (*.f64 (*.f64 x x) -9)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) -9) (*.f64 x 6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))) (cbrt.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 2)) (cbrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))) (sqrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 x 3) 216) (pow.f64 (*.f64 9 (*.f64 x x)) 3)) (/.f64 1 (+.f64 (*.f64 (*.f64 x x) 36) (*.f64 (*.f64 9 (*.f64 x x)) (fma.f64 x 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 (fma.f64 x 6 (*.f64 9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (*.f64 x 6)) (*.f64 x 3)) (-.f64 (sqrt.f64 (*.f64 x 6)) (*.f64 x 3)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 (*.f64 x x) 36) (*.f64 (*.f64 9 (*.f64 x x)) (fma.f64 x 6 (*.f64 9 (*.f64 x x))))) (-.f64 (*.f64 (pow.f64 x 3) 216) (pow.f64 (*.f64 9 (*.f64 x x)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.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) (pow.f64 (*.f64 9 (*.f64 x x)) 3)) (+.f64 (*.f64 (*.f64 x x) 36) (*.f64 (*.f64 9 (*.f64 x x)) (fma.f64 x 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)) (fma.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) (pow.f64 (*.f64 9 (*.f64 x x)) 3))) (neg.f64 (+.f64 (*.f64 (*.f64 x x) 36) (*.f64 (*.f64 9 (*.f64 x x)) (fma.f64 x 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 (fma.f64 x 6 (*.f64 9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 x 3) 216) (pow.f64 (*.f64 (*.f64 x x) -9) 3)) (+.f64 (*.f64 (*.f64 x x) 36) (-.f64 (*.f64 (*.f64 (*.f64 x x) -9) (*.f64 (*.f64 x x) -9)) (*.f64 (*.f64 x 6) (*.f64 (*.f64 x x) -9)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 3) (pow.f64 (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))) 3)) (+.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 2) (-.f64 (*.f64 (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x)))) (*.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) 36) (*.f64 (*.f64 (*.f64 x x) -9) (*.f64 (*.f64 x x) -9))) (-.f64 (*.f64 x 6) (*.f64 (*.f64 x x) -9)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 2) (*.f64 (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))))) (-.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x 6 (*.f64 (*.f64 x x) -9))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 6 x (*.f64 (*.f64 x x) -9))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x 6) (*.f64 (*.f64 x x) -9))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) (+.f64 (*.f64 (*.f64 x x) -9) (*.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 (*.f64 x x) -9))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9)) 2)) (cbrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x 6)) (sqrt.f64 (*.f64 x 6)) (*.f64 (*.f64 x x) -9))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))) (sqrt.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))) (+.f64 (*.f64 (*.f64 x x) -9) (*.f64 9 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 x 6 (*.f64 (*.f64 x x) -9))))))))

simplify57.0ms (3.6%)

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

prune44.0ms (2.8%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New64266
Fresh145
Picked101
Done011
Total66773
Error
0.0b
Counts
73 → 7
Alt Table
StatusErrorProgram
10.2b
(-.f64 (*.f64 6 x) (sqrt.f64 (*.f64 (pow.f64 x 4) 81)))
7.5b
(*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3)))
11.5b
(*.f64 x (pow.f64 (sqrt.f64 (fma.f64 x -9 6)) 2))
0.2b
(*.f64 x (fma.f64 x -9 6))
0.1b
(fma.f64 x 6 (*.f64 (*.f64 x x) -9))
41.4b
(pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) 2)
1.4b
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3)
Compiler

Compiled 1323 to 810 computations (38.8% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series5.0ms (0.3%)

Counts
2 → 24
Calls

6 calls:

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

rewrite38.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
618×pow1_binary64
577×add-log-exp_binary64
577×log1p-expm1-u_binary64
577×expm1-log1p-u_binary64
70×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify34.0ms (2.2%)

Algorithm
egg-herbie
Rules
626×fma-neg_binary64
596×fma-def_binary64
293×distribute-rgt-neg-in_binary64
262×cancel-sign-sub-inv_binary64
251×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
011219
124201
250192
3134174
4402174
51345174
62596174
74165174
Stop Event
node limit
Counts
59 → 41
Calls
Call 1
Inputs
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (pow.f64 x 2))
(*.f64 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)))
Outputs
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 -9 (pow.f64 x 2))
(*.f64 -9 (*.f64 x x))
(*.f64 6 x)
(*.f64 x 6)
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
(*.f64 x (+.f64 6 (*.f64 -9 x)))
(*.f64 x (fma.f64 -9 x 6))
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
(*.f64 x (+.f64 6 (*.f64 -9 x)))
(*.f64 x (fma.f64 -9 x 6))
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
(*.f64 x (+.f64 6 (*.f64 -9 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)))
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
(*.f64 x (+.f64 6 (*.f64 -9 x)))
(*.f64 x (fma.f64 -9 x 6))
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
(*.f64 x (+.f64 6 (*.f64 -9 x)))
(*.f64 x (fma.f64 -9 x 6))
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
(*.f64 x (+.f64 6 (*.f64 -9 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)))
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
(*.f64 x (+.f64 6 (*.f64 -9 x)))
(*.f64 x (fma.f64 -9 x 6))
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
(*.f64 x (+.f64 6 (*.f64 -9 x)))
(*.f64 x (fma.f64 -9 x 6))
(-.f64 (*.f64 6 x) (*.f64 9 (pow.f64 x 2)))
(+.f64 (*.f64 x 6) (*.f64 -9 (*.f64 x x)))
(fma.f64 x 6 (*.f64 -9 (*.f64 x x)))
(*.f64 x (+.f64 6 (*.f64 -9 x)))
(*.f64 x (fma.f64 -9 x 6))

prune33.0ms (2.1%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New41041
Fresh055
Picked011
Done011
Total41748
Error
0.0b
Counts
48 → 7
Alt Table
StatusErrorProgram
10.2b
(-.f64 (*.f64 6 x) (sqrt.f64 (*.f64 (pow.f64 x 4) 81)))
7.5b
(*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3)))
11.5b
(*.f64 x (pow.f64 (sqrt.f64 (fma.f64 x -9 6)) 2))
0.2b
(*.f64 x (fma.f64 x -9 6))
0.1b
(fma.f64 x 6 (*.f64 (*.f64 x x) -9))
41.4b
(pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) 2)
1.4b
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3)
Compiler

Compiled 569 to 433 computations (23.9% saved)

localize7.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x -9 6)
0.1b
(*.f64 x (fma.f64 x -9 6))
0.6b
(cbrt.f64 (*.f64 x (fma.f64 x -9 6)))
0.8b
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3)

series35.0ms (2.2%)

Counts
2 → 0
Calls

6 calls:

TimeVariablePointExpression
18.0ms
x
@-inf
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3)
8.0ms
x
@-inf
(cbrt.f64 (*.f64 x (fma.f64 x -9 6)))
3.0ms
x
@inf
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3)
3.0ms
x
@0
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3)
1.0ms
x
@0
(cbrt.f64 (*.f64 x (fma.f64 x -9 6)))

rewrite43.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
717×pow1_binary64
677×add-log-exp_binary64
677×log1p-expm1-u_binary64
677×expm1-log1p-u_binary64
80×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify6.0ms (0.4%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

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

prune53.0ms (3.4%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1022104
Fresh044
Picked011
Done022
Total1029111
Error
0.0b
Counts
111 → 9
Alt Table
StatusErrorProgram
10.2b
(-.f64 (*.f64 6 x) (sqrt.f64 (*.f64 (pow.f64 x 4) 81)))
7.5b
(*.f64 x (cbrt.f64 (pow.f64 (fma.f64 x -9 6) 3)))
11.5b
(*.f64 x (pow.f64 (sqrt.f64 (fma.f64 x -9 6)) 2))
0.2b
(*.f64 x (fma.f64 x -9 6))
2.0b
(pow.f64 (*.f64 (cbrt.f64 (fma.f64 x -9 6)) (cbrt.f64 x)) 3)
11.5b
(*.f64 (sqrt.f64 (fma.f64 x -9 6)) (*.f64 (sqrt.f64 (fma.f64 x -9 6)) x))
0.1b
(fma.f64 x 6 (*.f64 (*.f64 x x) -9))
41.4b
(pow.f64 (sqrt.f64 (*.f64 x (fma.f64 x -9 6))) 2)
1.4b
(pow.f64 (cbrt.f64 (*.f64 x (fma.f64 x -9 6))) 3)
Compiler

Compiled 1444 to 1144 computations (20.8% saved)

regimes57.0ms (3.6%)

Accuracy

Total 0.1b remaining (80.2%)

Threshold costs 0.1b (80.2%)

Counts
32 → 1
Compiler

Compiled 648 to 488 computations (24.7% saved)

simplify2.0ms (0.1%)

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 (*.f64 x x) -9))
Outputs
(fma.f64 x 6 (*.f64 (*.f64 x x) -9))

end101.0ms (6.4%)

Stop Event
fuel
Compiler

Compiled 110 to 84 computations (23.6% saved)

Profiling

Loading profile data...