Details

Time bar (total: 1.5s)

analyze1.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
100%0%0%2
Compiler

Compiled 10 to 8 computations (20% saved)

sample772.0ms (50.1%)

Results
760.0ms8256×body128valid
Compiler

Compiled 20 to 16 computations (20% saved)

preprocess41.0ms (2.7%)

Algorithm
egg-herbie
Rules
434×unswap-sqr_binary64
366×fma-def_binary64
257×associate-/l*_binary64
247×*-commutative_binary64
242×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11513
22113
32813
44713
58713
618413
741913
8113313
9311113
10430213
011
Stop Event
saturated
node limit
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify30.0ms (1.9%)

Algorithm
egg-herbie
Rules
434×unswap-sqr_binary64
366×fma-def_binary64
257×associate-/l*_binary64
247×*-commutative_binary64
242×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11513
22113
32813
44713
58713
618413
741913
8113313
9311113
10430213
Stop Event
node limit
Counts
1 → 1

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 27 to 21 computations (22.2% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

series15.0ms (0.9%)

Counts
2 → 16
Calls

6 calls:

6.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
x
-inf
5.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
x
inf
1.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
x
0
1.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
x
0
1.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
x
inf

rewrite79.0ms (5.1%)

Algorithm
egg-rewrite-iter-limit
egg-rewrite
batch-egg-rewrite
Rules
91×add-sqr-sqrt_binary64
91×add-sqr-sqrt_binary64
87×add-log-exp_binary64
87×add-log-exp_binary64
85×*-un-lft-identity_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
117618
2282418
089
11769
228249
089
066
11296
221296
066
Stop Event
iter limit
unsound
iter limit
unsound
unsound
Counts
2 → 22

simplify27.0ms (1.7%)

Algorithm
egg-herbie
Rules
981×fma-neg_binary64
391×distribute-rgt-neg-in_binary64
370×fma-def_binary64
346×distribute-lft-neg-in_binary64
330×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
035187
189183
2217177
3655175
42761175
Stop Event
node limit
Counts
38 → 40

prune26.0ms (1.7%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New38240
Fresh000
Picked101
Done000
Total39241
Error
0b
Counts
41 → 2
Alt Table
StatusErrorProgram
0.0b
(exp.f64 (log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
31.7b
(fma.f64 x (*.f64 x -1/2) 1)
Compiler

Compiled 488 to 342 computations (29.9% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 2 (*.f64 2 (cosh.f64 x)))
3.1b
(log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))

series249.0ms (16.1%)

Counts
2 → 24
Calls

6 calls:

118.0ms
(log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))
x
inf
109.0ms
(log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))
x
-inf
9.0ms
(/.f64 2 (*.f64 2 (cosh.f64 x)))
x
-inf
9.0ms
(/.f64 2 (*.f64 2 (cosh.f64 x)))
x
inf
3.0ms
(log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))
x
0

rewrite41.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
679×pow1_binary64
628×add-log-exp_binary64
627×log1p-expm1-u_binary64
627×expm1-log1p-u_binary64
74×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0714
115013
2177313
Stop Event
node limit
Counts
2 → 49

simplify34.0ms (2.2%)

Algorithm
egg-herbie
Rules
538×associate-*l*_binary64
502×fma-def_binary64
413×unswap-sqr_binary64
410×associate-*r*_binary64
329×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
040352
1101350
2258342
3888340
44273340
Stop Event
node limit
Counts
73 → 68

prune41.0ms (2.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New67168
Fresh101
Picked011
Done000
Total68270
Error
0b
Counts
70 → 2
Alt Table
StatusErrorProgram
0.0b
(exp.f64 (log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
0.2b
(exp.f64 (*.f64 -1/2 (pow.f64 x 2)))
Compiler

Compiled 777 to 515 computations (33.7% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (*.f64 -1/2 (pow.f64 x 2)))

series4.0ms (0.2%)

Counts
1 → 4
Calls

3 calls:

2.0ms
(exp.f64 (*.f64 -1/2 (pow.f64 x 2)))
x
-inf
1.0ms
(exp.f64 (*.f64 -1/2 (pow.f64 x 2)))
x
0
1.0ms
(exp.f64 (*.f64 -1/2 (pow.f64 x 2)))
x
inf

rewrite32.0ms (2.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
079
11419
214609
Stop Event
node limit
Counts
1 → 23

simplify19.0ms (1.3%)

Algorithm
egg-herbie
Rules
983×fma-neg_binary64
395×distribute-rgt-neg-in_binary64
348×distribute-lft-neg-in_binary64
285×unswap-sqr_binary64
229×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02052
15452
213648
344646
4196046
Stop Event
node limit
Counts
27 → 30

prune16.0ms (1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New30030
Fresh000
Picked011
Done011
Total30232
Error
0b
Counts
32 → 2
Alt Table
StatusErrorProgram
0.0b
(exp.f64 (log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x)))))
0.2b
(exp.f64 (*.f64 -1/2 (pow.f64 x 2)))
Compiler

Compiled 313 to 204 computations (34.8% saved)

regimes52.0ms (3.4%)

Accuracy

Total 0.0b remaining (12.4%)

Threshold costs 0.0b (12.4%)

Counts
21 → 1
Compiler

Compiled 640 to 531 computations (17% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11213
21413
31513
Stop Event
saturated

end46.0ms (3%)

Stop Event
done
Compiler

Compiled 32 to 28 computations (12.5% saved)

Profiling

Loading profile data...