Details

Time bar (total: 2.3s)

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

sample1.3s (56.6%)

Results
1.1s8256×body128valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify143.0ms (6.1%)

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

localize10.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

series26.0ms (1.1%)

Counts
1 → 8
Calls

1 calls:

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

rewrite15.0ms (0.7%)

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:

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

simplify141.0ms (6.1%)

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

prune70.0ms (3%)

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
(/.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))))))
Compiler

Compiled 1135 to 478 computations (57.9% saved)

localize16.0ms (0.7%)

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

series74.0ms (3.2%)

Counts
2 → 24
Calls

2 calls:

41.0ms
(expm1.f64 (/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))))
33.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))))))

simplify206.0ms (8.8%)

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

prune115.0ms (4.9%)

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
(/.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))))))
Compiler

Compiled 1950 to 987 computations (49.4% saved)

regimes94.0ms (4.1%)

Accuracy

Total 0.0b remaining (11.8%)

Threshold costs 0.0b (11.8%)

Counts
13 → 1
Compiler

Compiled 400 to 335 computations (16.3% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
11013
21013

end92.0ms (3.9%)

Compiler

Compiled 38 to 32 computations (15.8% saved)

Profiling

Loading profile data...