Details

Time bar (total: 1.6s)

analyze0.0ms (0%)

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

Compiled 10 to 8 computations (20% saved)

sample735.0ms (47.4%)

Results
722.0ms8256×body128valid
Compiler

Compiled 20 to 16 computations (20% saved)

preprocess37.0ms (2.4%)

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)

simplify28.0ms (1.8%)

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

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

series16.0ms (1%)

Counts
2 → 16
Calls

6 calls:

8.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
0.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
x
inf

rewrite74.0ms (4.8%)

Algorithm
egg-rewrite-iter-limit
egg-rewrite
batch-egg-rewrite
Rules
88×add-sqr-sqrt_binary64
88×add-sqr-sqrt_binary64
85×log1p-expm1-u_binary64
85×expm1-log1p-u_binary64
85×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
117618
2279618
089
11769
227969
089
066
11296
221306
066
Stop Event
iter limit
unsound
iter limit
unsound
unsound
Counts
2 → 22

simplify28.0ms (1.8%)

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

prune30.0ms (1.9%)

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.4%)

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

series265.0ms (17.1%)

Counts
2 → 24
Calls

6 calls:

124.0ms
(log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))
x
inf
118.0ms
(log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))
x
-inf
11.0ms
(/.f64 2 (*.f64 2 (cosh.f64 x)))
x
-inf
10.0ms
(/.f64 2 (*.f64 2 (cosh.f64 x)))
x
inf
1.0ms
(log.f64 (/.f64 2 (*.f64 2 (cosh.f64 x))))
x
0

rewrite40.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
627×log1p-expm1-u_binary64
627×expm1-log1p-u_binary64
331×log-prod_binary64
129×expm1-udef_binary64
129×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0714
115013
2175213
Stop Event
node limit
Counts
2 → 78

simplify36.0ms (2.3%)

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
102 → 97

prune66.0ms (4.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

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

Compiled 1359 to 926 computations (31.9% 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)))

series2.0ms (0.1%)

Counts
1 → 4
Calls

3 calls:

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
1.0ms
(exp.f64 (*.f64 -1/2 (pow.f64 x 2)))
x
inf

rewrite32.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
511×log1p-expm1-u_binary64
511×expm1-log1p-u_binary64
326×unpow-prod-down_binary64
263×log-prod_binary64
156×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
11409
214769
Stop Event
node limit
Counts
1 → 39

simplify20.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
43 → 46

prune27.0ms (1.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

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

Compiled 589 to 362 computations (38.5% saved)

regimes55.0ms (3.6%)

Accuracy

Total 0.0b remaining (12.4%)

Threshold costs 0.0b (12.4%)

Counts
23 → 1
Compiler

Compiled 685 to 570 computations (16.8% 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

end41.0ms (2.7%)

Stop Event
done
Compiler

Compiled 32 to 28 computations (12.5% saved)

Profiling

Loading profile data...