Details

Time bar (total: 1.9s)

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

sample1.1s (54%)

Results
894.0ms8256×body128valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify144.0ms (7.4%)

Algorithm
egg-herbie
Rules
638×fma-def_binary64
434×unswap-sqr_binary64
366×fma-neg_binary64
277×*-commutative_binary64
262×exp-prod_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11513
22013
32713
44613
57813
614613
727413
867013
9189613
10269213
11353513
12471313
13486513
14479413

prune3.0ms (0.2%)

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)

localize11.0ms (0.6%)

Local error

Found 1 expressions with local error:

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

series27.0ms (1.4%)

Counts
1 → 8
Calls

1 calls:

27.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

rewrite11.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity_binary64
15×times-frac_binary64
11×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
associate-/r*_binary64
Counts
1 → 39
Calls

1 calls:

7.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))

simplify117.0ms (6%)

Algorithm
egg-herbie
Rules
691×unswap-sqr_binary64
480×fma-def_binary64
454×associate-*l*_binary64
376×associate-*r*_binary64
217×cancel-sign-sub-inv_binary64
Counts
47 → 70
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
096889
1199830
2438824
31014822
43652822
55379822

prune72.0ms (3.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New69170
Fresh000
Picked011
Done000
Total69271
Error
0b
Counts
71 → 2
Alt Table
StatusErrorProgram
0.0b
(log1p.f64 (expm1.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 1135 to 478 computations (57.9% saved)

localize17.0ms (0.9%)

Local error

Found 3 expressions with local error:

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

series59.0ms (3%)

Counts
2 → 24
Calls

2 calls:

32.0ms
(expm1.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
27.0ms
(log1p.f64 (expm1.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
log1p-expm1-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

1.0ms
(expm1.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
1.0ms
(log1p.f64 (expm1.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))

simplify187.0ms (9.6%)

Algorithm
egg-herbie
Rules
657×fma-def_binary64
633×associate-*l*_binary64
572×cancel-sign-sub-inv_binary64
486×associate-*r*_binary64
319×fma-neg_binary64
Counts
46 → 47
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
071778
1142712
2372706
31080695
44170695
54984695
64989695
74893695

prune84.0ms (4.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1170117
Fresh000
Picked011
Done011
Total1172119
Error
0b
Counts
119 → 2
Alt Table
StatusErrorProgram
0.0b
(log1p.f64 (expm1.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))))
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 1950 to 987 computations (49.4% saved)

regimes79.0ms (4%)

Accuracy

Total -0.0b remaining (-4.1%)

Threshold costs -0.0b (-4.1%)

Counts
13 → 1
Compiler

Compiled 400 to 335 computations (16.3% saved)

simplify4.0ms (0.2%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
076
196
276

end77.0ms (3.9%)

Compiler

Compiled 30 to 24 computations (20% saved)

Profiling

Loading profile data...