Details

Time bar (total: 1.9s)

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)

sample103.0ms (5.3%)

Algorithm
intervals
Results
9.0ms256×body128valid
Compiler

Compiled 20 to 16 computations (20% saved)

simplify81.0ms (4.2%)

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

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)

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

series17.0ms (0.9%)

Counts
2 → 16
Calls

2 calls:

14.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite11.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity_binary64
15×times-frac_binary64
13×add-sqr-sqrt_binary64
13×add-cube-cbrt_binary64
associate-/r*_binary64
Counts
2 → 57
Calls

2 calls:

5.0ms
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
3.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

simplify79.0ms (4.1%)

Algorithm
egg-herbie
Rules
713×fma-neg_binary64
684×fma-def_binary64
548×associate-*l*_binary64
292×times-frac_binary64
257×distribute-rgt-in_binary64
Counts
73 → 105
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01151210
12481114
25491101
312411099
442051099
549801099

prune62.0ms (3.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1032105
Fresh000
Picked011
Done000
Total1033106
Error
0b
Counts
106 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.5b
(*.f64 (/.f64 (sqrt.f64 2) 2) (/.f64 (sqrt.f64 2) (cosh.f64 x)))
0.0b
(cbrt.f64 (pow.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) 3))
Compiler

Compiled 1627 to 687 computations (57.8% saved)

localize8.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series49.0ms (2.5%)

Counts
4 → 48
Calls

4 calls:

21.0ms
(pow.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) 3)
13.0ms
(cbrt.f64 (pow.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) 3))
12.0ms
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
3.0ms
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))

rewrite36.0ms (1.9%)

Algorithm
rewrite-expression-head
Rules
82×*-un-lft-identity_binary64
60×times-frac_binary64
48×add-sqr-sqrt_binary64
48×add-cube-cbrt_binary64
42×cbrt-prod_binary64
Counts
4 → 164
Calls

4 calls:

7.0ms
(cbrt.f64 (pow.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) 3))
7.0ms
(pow.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) 3)
6.0ms
(/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x)))
4.0ms
(+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))

simplify108.0ms (5.6%)

Algorithm
egg-herbie
Rules
662×associate-*l/_binary64
354×times-frac_binary64
287×associate-/l*_binary64
273×associate-/r*_binary64
247×fma-def_binary64
Counts
212 → 205
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02174578
15224110
214843997
350783997

prune132.0ms (6.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2050205
Fresh011
Picked011
Done011
Total2053208
Error
0b
Counts
208 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.5b
(*.f64 (/.f64 (sqrt.f64 2) 2) (/.f64 (sqrt.f64 2) (cosh.f64 x)))
0.0b
(cbrt.f64 (pow.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) 3))
Compiler

Compiled 3943 to 1978 computations (49.8% saved)

localize6.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (sqrt.f64 2) (cosh.f64 x))
0.5b
(*.f64 (/.f64 (sqrt.f64 2) 2) (/.f64 (sqrt.f64 2) (cosh.f64 x)))

series58.0ms (3%)

Counts
2 → 24
Calls

2 calls:

34.0ms
(*.f64 (/.f64 (sqrt.f64 2) 2) (/.f64 (sqrt.f64 2) (cosh.f64 x)))
24.0ms
(/.f64 (sqrt.f64 2) (cosh.f64 x))

rewrite28.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
73×add-sqr-sqrt_binary64
66×times-frac_binary64
43×*-un-lft-identity_binary64
43×add-cube-cbrt_binary64
36×sqrt-prod_binary64
Counts
2 → 118
Calls

2 calls:

14.0ms
(*.f64 (/.f64 (sqrt.f64 2) 2) (/.f64 (sqrt.f64 2) (cosh.f64 x)))
6.0ms
(/.f64 (sqrt.f64 2) (cosh.f64 x))

simplify93.0ms (4.8%)

Algorithm
egg-herbie
Rules
640×associate-/l*_binary64
573×fma-def_binary64
363×*-commutative_binary64
356×associate-/l/_binary64
267×fma-neg_binary64
Counts
142 → 177
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01892599
14782383
214232028
338621982
449221982

prune122.0ms (6.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1770177
Fresh000
Picked011
Done022
Total1773180
Error
0b
Counts
180 → 3
Alt Table
StatusErrorProgram
0.0b
(/.f64 2 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.5b
(*.f64 (/.f64 (sqrt.f64 2) 2) (/.f64 (sqrt.f64 2) (cosh.f64 x)))
0.0b
(cbrt.f64 (pow.f64 (/.f64 2 (+.f64 (exp.f64 (neg.f64 x)) (exp.f64 x))) 3))
Compiler

Compiled 3172 to 2509 computations (20.9% saved)

regimes70.0ms (3.6%)

Accuracy

Total 0.0b remaining (20.8%)

Threshold costs 0.0b (20.8%)

Counts
29 → 1
Compiler

Compiled 842 to 705 computations (16.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
*-lft-identity_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
066
196
286

end0.0ms (0%)

Compiler

Compiled 5 to 4 computations (20% saved)

sample851.0ms (44.2%)

Algorithm
intervals
Results
644.0ms8000×body128valid
Compiler

Compiled 48 to 40 computations (16.7% saved)

Profiling

Loading profile data...