Details

Time bar (total: 3.7s)

analyze1.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%25.7%74.3%0
25.7%0%74.3%1
Compiler

Compiled 26 to 19 computations (26.9% saved)

sample2.7s (71.3%)

Results
867.0ms5082×body64valid
810.0ms1001×body1024valid
612.0ms1086×body512valid
258.0ms687×body256valid
94.0ms378×body128valid
15.0ms22×body2048valid

preprocess41.0ms (1.1%)

Algorithm
egg-herbie
Rules
497×associate-*l*_binary64
451×distribute-rgt-neg-in_binary64
426×distribute-lft-neg-in_binary64
409×associate-*r*_binary64
357×distribute-rgt-out_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01226
13226
27626
326226
4117320
5431720
022
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(-.f64 (pow.f64 (+.f64 x eps) 2) (pow.f64 x 2))
(-.f64 (pow.f64 (+.f64 eps x) 2) (pow.f64 eps 2))
Outputs
(-.f64 (pow.f64 (+.f64 x eps) 2) (pow.f64 x 2))
(-.f64 (pow.f64 (+.f64 x eps) 2) (*.f64 x x))
(*.f64 eps (+.f64 x (+.f64 x eps)))
(-.f64 (pow.f64 (+.f64 eps x) 2) (pow.f64 eps 2))
(-.f64 (pow.f64 (+.f64 x eps) 2) (*.f64 eps eps))
(*.f64 x (+.f64 eps (+.f64 x eps)))
Compiler

Compiled 11 to 8 computations (27.3% saved)

simplify24.0ms (0.6%)

Algorithm
egg-herbie
Rules
569×distribute-rgt-in_binary64
517×cancel-sign-sub-inv_binary64
510×fma-neg_binary64
459×distribute-lft-in_binary64
430×fma-def_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0813
11913
24913
316613
46578
527428
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(-.f64 (pow.f64 (+.f64 x eps) 2) (pow.f64 x 2))
Outputs
(-.f64 (pow.f64 (+.f64 x eps) 2) (pow.f64 x 2))
(-.f64 (pow.f64 (+.f64 x eps) 2) (*.f64 x x))
(fma.f64 x (neg.f64 x) (pow.f64 (+.f64 x eps) 2))
(*.f64 eps (fma.f64 2 x eps))

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
17.1b
(-.f64 (pow.f64 (+.f64 x eps) 2) (pow.f64 x 2))
0.0b
(*.f64 eps (fma.f64 2 x eps))
Compiler

Compiled 55 to 37 computations (32.7% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 eps (fma.f64 2 x eps))

series4.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite38.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
552×pow1_binary64
531×add-sqr-sqrt_binary64
507×add-log-exp_binary64
507×log1p-expm1-u_binary64
507×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11208
213648
Stop Event
node limit
Counts
1 → 13
Calls
Call 1
Inputs
(*.f64 eps (fma.f64 2 x eps))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 2 x) eps) (*.f64 eps eps))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 eps (*.f64 2 x)) (*.f64 eps eps))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 eps (fma.f64 2 x eps))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 eps (fma.f64 2 x eps)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 eps (fma.f64 2 x eps)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 eps (fma.f64 2 x eps))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 eps (fma.f64 2 x eps))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 eps (fma.f64 2 x eps)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 eps) (fma.f64 2 x eps)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 eps (fma.f64 2 x eps)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 eps (fma.f64 2 x eps))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 eps (fma.f64 2 x eps))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 eps (fma.f64 2 x eps))))))))

simplify149.0ms (4%)

Algorithm
egg-herbie
Rules
802×sqr-pow_binary64
582×fma-def_binary64
565×cube-prod_binary64
560×fabs-mul_binary64
541×pow-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
08267
118231
237213
375177
4165177
5456177
61500177
72751177
83106177
93328177
103550177
113856177
124278177
134790177
145357177
156055177
166905177
177296177
187584177
197860177
207932177
217968177
Stop Event
node limit
Counts
37 → 18
Calls
Call 1
Inputs
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(pow.f64 eps 2)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(pow.f64 eps 2)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(pow.f64 eps 2)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
Outputs
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(pow.f64 eps 2)
(*.f64 eps eps)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(pow.f64 eps 2)
(*.f64 eps eps)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(pow.f64 eps 2)
(*.f64 eps eps)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))

prune19.0ms (0.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New16218
Fresh101
Picked101
Done000
Total18220
Error
0.0b
Counts
20 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (*.f64 (*.f64 2 x) eps) (*.f64 eps eps))
1.0b
(pow.f64 (cbrt.f64 (*.f64 eps (fma.f64 2 x eps))) 3)
Compiler

Compiled 186 to 117 computations (37.1% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 (*.f64 2 x) eps) (*.f64 eps eps))

series4.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite54.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
890×pow1_binary64
828×add-log-exp_binary64
827×log1p-expm1-u_binary64
827×expm1-log1p-u_binary64
809×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify151.0ms (4%)

Algorithm
egg-herbie
Rules
802×sqr-pow_binary64
582×fma-def_binary64
565×cube-prod_binary64
556×fabs-mul_binary64
541×pow-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
08267
118231
237213
375177
4168177
5466177
61519177
72765177
83120177
93342177
103564177
113868177
124290177
134800177
145367177
156061177
166911177
177302177
187590177
197868177
207940177
217974177
Stop Event
node limit
Counts
64 → 45
Calls
Call 1
Inputs
(pow.f64 eps 2)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(pow.f64 eps 2)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(pow.f64 eps 2)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
Outputs
(pow.f64 eps 2)
(*.f64 eps eps)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))
(*.f64 2 (*.f64 eps x))
(*.f64 eps (*.f64 x 2))
(*.f64 eps (*.f64 2 x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))
(*.f64 2 (*.f64 eps x))
(*.f64 eps (*.f64 x 2))
(*.f64 eps (*.f64 2 x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))
(*.f64 2 (*.f64 eps x))
(*.f64 eps (*.f64 x 2))
(*.f64 eps (*.f64 2 x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))
(pow.f64 eps 2)
(*.f64 eps eps)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))
(pow.f64 eps 2)
(*.f64 eps eps)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 eps eps) (*.f64 2 (*.f64 eps x)))
(fma.f64 eps eps (*.f64 eps (*.f64 x 2)))
(*.f64 eps (+.f64 (*.f64 2 x) eps))
(*.f64 eps (fma.f64 2 x eps))

prune51.0ms (1.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New43245
Fresh101
Picked101
Done000
Total45247
Error
0b
Counts
47 → 2
Alt Table
StatusErrorProgram
0.0b
(fma.f64 eps eps (*.f64 2 (*.f64 x eps)))
0.0b
(fma.f64 eps (*.f64 2 x) (*.f64 eps eps))
Compiler

Compiled 653 to 396 computations (39.4% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 eps (*.f64 2 x) (*.f64 eps eps))

series3.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite42.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
618×pow1_binary64
567×add-log-exp_binary64
567×log1p-expm1-u_binary64
567×expm1-log1p-u_binary64
553×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify150.0ms (4%)

Algorithm
egg-herbie
Rules
802×sqr-pow_binary64
582×fma-def_binary64
565×cube-prod_binary64
560×fabs-mul_binary64
541×pow-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
08267
118231
237213
375177
4165177
5456177
61500177
72751177
83106177
93328177
103550177
113856177
124278177
134790177
145357177
156055177
166905177
177296177
187584177
197860177
207932177
217968177
Stop Event
node limit
Counts
46 → 27
Calls
Call 1
Inputs
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(pow.f64 eps 2)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(pow.f64 eps 2)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(pow.f64 eps 2)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
Outputs
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(pow.f64 eps 2)
(*.f64 eps eps)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(pow.f64 eps 2)
(*.f64 eps eps)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(pow.f64 eps 2)
(*.f64 eps eps)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))

prune27.0ms (0.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New27027
Fresh011
Picked011
Done000
Total27229
Error
0b
Counts
29 → 2
Alt Table
StatusErrorProgram
0.0b
(fma.f64 eps eps (*.f64 2 (*.f64 x eps)))
0.0b
(fma.f64 eps (*.f64 2 x) (*.f64 eps eps))
Compiler

Compiled 338 to 214 computations (36.7% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 eps eps (*.f64 2 (*.f64 x eps)))
0.0b
(*.f64 2 (*.f64 x eps))

series5.0ms (0.1%)

Counts
2 → 48
Calls

12 calls:

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

rewrite45.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
657×pow1_binary64
603×add-log-exp_binary64
603×log1p-expm1-u_binary64
603×expm1-log1p-u_binary64
591×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify165.0ms (4.4%)

Algorithm
egg-herbie
Rules
802×sqr-pow_binary64
582×fma-def_binary64
565×cube-prod_binary64
560×fabs-mul_binary64
541×pow-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
08435
118399
237381
375345
4165345
5456345
61500345
72751345
83106345
93328345
103550345
113856345
124278345
134790345
145357345
156055345
166905345
177296345
187584345
197860345
207932345
217968345
Stop Event
node limit
Counts
81 → 38
Calls
Call 1
Inputs
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(pow.f64 eps 2)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(pow.f64 eps 2)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(pow.f64 eps 2)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
Outputs
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(pow.f64 eps 2)
(*.f64 eps eps)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(pow.f64 eps 2)
(*.f64 eps eps)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(pow.f64 eps 2)
(*.f64 eps eps)
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(*.f64 2 (*.f64 eps x))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))
(+.f64 (pow.f64 eps 2) (*.f64 2 (*.f64 eps x)))
(+.f64 (*.f64 2 (*.f64 eps x)) (*.f64 eps eps))
(fma.f64 2 (*.f64 eps x) (*.f64 eps eps))
(*.f64 eps (+.f64 eps (*.f64 2 x)))
(*.f64 eps (fma.f64 2 x eps))

prune46.0ms (1.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New38038
Fresh000
Picked011
Done011
Total38240
Error
0b
Counts
40 → 2
Alt Table
StatusErrorProgram
0.0b
(fma.f64 eps eps (*.f64 2 (*.f64 x eps)))
0.0b
(fma.f64 eps (*.f64 2 x) (*.f64 eps eps))
Compiler

Compiled 449 to 259 computations (42.3% saved)

regimes16.0ms (0.4%)

Accuracy

Total -17.7b remaining (-150745.1%)

Threshold costs -17.7b (-150745.1%)

Counts
6 → 1
Calls
Call 1
Inputs
(fma.f64 eps eps (*.f64 2 (*.f64 x eps)))
(fma.f64 eps (*.f64 2 x) (*.f64 eps eps))
(+.f64 (*.f64 (*.f64 2 x) eps) (*.f64 eps eps))
(pow.f64 (cbrt.f64 (*.f64 eps (fma.f64 2 x eps))) 3)
(*.f64 eps (fma.f64 2 x eps))
(-.f64 (pow.f64 (+.f64 x eps) 2) (pow.f64 x 2))
Outputs
(fma.f64 eps eps (*.f64 2 (*.f64 x eps)))
Results
7.0ms0.0bx
5.0ms0.0beps
3.0ms0.0b(-.f64 (pow.f64 (+.f64 x eps) 2) (pow.f64 x 2))
Compiler

Compiled 68 to 41 computations (39.7% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
1911
Stop Event
saturated
Calls
Call 1
Inputs
(fma.f64 eps eps (*.f64 2 (*.f64 x eps)))
Outputs
(fma.f64 eps eps (*.f64 2 (*.f64 x eps)))
(fma.f64 eps eps (*.f64 2 (*.f64 eps x)))

end15.0ms (0.4%)

Stop Event
done
Compiler

Compiled 20 to 12 computations (40% saved)

Profiling

Loading profile data...