Details

Time bar (total: 2.5s)

analyze12.0ms (0.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
25%25%50%4
37.5%12.5%50%5
43.7%6.2%50%6
46.9%3.1%50%7
48.4%1.6%50%8
49.2%0.8%50%9
49.6%0.4%50%10
49.8%0.2%50%11
49.9%0.1%50%12
49.9%0%50%13
49.9%0%50%14
Compiler

Compiled 12 to 11 computations (8.3% saved)

sample257.0ms (10.3%)

Algorithm
intervals
Results
249.0ms256×body128valid
Compiler

Compiled 23 to 22 computations (4.3% saved)

simplify128.0ms (5.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
046617
146617

prune4.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1
Compiler

Compiled 22 to 20 computations (9.1% saved)

localize9.0ms (0.4%)

Local error

Found 3 expressions with local error:

0.0b
(sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
0.0b
(atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))
0.0b
(/.f64 (-.f64 1 x) (+.f64 1 x))

rewrite39.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
79×*-un-lft-identity_binary64
56×add-sqr-sqrt_binary64
49×times-frac_binary64
30×sqrt-prod_binary64
26×add-cube-cbrt_binary64
18×difference-of-squares_binary64
13×distribute-lft-out_binary64
distribute-lft-out--_binary64
associate-/l*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
associate-/r*_binary64 pow1_binary64 associate-/r/_binary64
add-log-exp_binary64
flip3-+_binary64 associate-/l/_binary64 rem-sqrt-square_binary64 div-inv_binary64 flip-+_binary64
pow1/2_binary64 flip3--_binary64 cbrt-undiv_binary64 sqrt-pow1_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 div-exp_binary64 flip--_binary64 sqrt-div_binary64
Counts
3 → 100
Calls

3 calls:

11.0ms
(/.f64 (-.f64 1 x) (+.f64 1 x))
9.0ms
(sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
1.0ms
(atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))

series58.0ms (2.3%)

Counts
3 → 9
Calls

3 calls:

24.0ms
(/.f64 (-.f64 1 x) (+.f64 1 x))
21.0ms
(sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
13.0ms
(atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))

simplify71.0ms (2.9%)

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
061062062

prune122.0ms (4.9%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1072109
Fresh000
Picked101
Done000
Total1082110

Merged error: 0b

Counts
110 → 2
Compiler

Compiled 1999 to 1613 computations (19.3% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(atan.f64 (sqrt.f64 (log.f64 (exp.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))))
0.0b
(log.f64 (exp.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))
0.0b
(/.f64 (-.f64 1 x) (+.f64 1 x))
0.0b
(exp.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))

rewrite46.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
116×*-un-lft-identity_binary64
78×add-sqr-sqrt_binary64
72×times-frac_binary64
60×exp-prod_binary64
39×add-cube-cbrt_binary64
31×log-pow_binary64
26×difference-of-squares_binary64
19×distribute-lft-out_binary64
13×distribute-lft-out--_binary64
add-exp-log_binary64 add-cbrt-cube_binary64 associate-/r/_binary64 associate-/l*_binary64
add-log-exp_binary64 pow1_binary64
associate-/r*_binary64
flip3-+_binary64 log-prod_binary64 div-sub_binary64 div-inv_binary64 flip-+_binary64
associate-/l/_binary64 exp-diff_binary64
flip3--_binary64 cbrt-undiv_binary64 rem-log-exp_binary64 rem-exp-log_binary64 clear-num_binary64 frac-2neg_binary64 div-exp_binary64 log-div_binary64 flip--_binary64
Counts
4 → 140
Calls

4 calls:

12.0ms
(exp.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
11.0ms
(log.f64 (exp.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))
9.0ms
(/.f64 (-.f64 1 x) (+.f64 1 x))
1.0ms
(atan.f64 (sqrt.f64 (log.f64 (exp.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))))

series62.0ms (2.5%)

Counts
4 → 12
Calls

4 calls:

21.0ms
(exp.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
19.0ms
(log.f64 (exp.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))
11.0ms
(/.f64 (-.f64 1 x) (+.f64 1 x))
10.0ms
(atan.f64 (sqrt.f64 (log.f64 (exp.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))))

simplify96.0ms (3.9%)

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
050002310

prune181.0ms (7.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1520152
Fresh011
Picked011
Done000
Total1522154

Merged error: 0b

Counts
154 → 2
Compiler

Compiled 3049 to 2484 computations (18.5% saved)

localize10.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(atan.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))) 3)))
0.0b
(/.f64 (-.f64 1 x) (+.f64 1 x))
0.0b
(cbrt.f64 (pow.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))) 3))
0.0b
(pow.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))) 3)

rewrite67.0ms (2.7%)

Algorithm
rewrite-expression-head
Rules
191×*-un-lft-identity_binary64
129×add-sqr-sqrt_binary64
120×times-frac_binary64 sqrt-prod_binary64
72×cbrt-prod_binary64
66×add-cube-cbrt_binary64 unpow-prod-down_binary64 cube-prod_binary64
42×difference-of-squares_binary64
31×distribute-lft-out_binary64
21×distribute-lft-out--_binary64
10×associate-/r/_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
pow1_binary64 associate-/l*_binary64
flip3-+_binary64 div-inv_binary64 flip-+_binary64
associate-/r*_binary64 add-log-exp_binary64
pow-unpow_binary64 pow-pow_binary64
associate-/l/_binary64 sqr-pow_binary64 cube-div_binary64 unpow3_binary64 sqrt-div_binary64 cube-mult_binary64
cbrt-div_binary64 pow-to-exp_binary64 pow1/2_binary64 rem-cbrt-cube_binary64 flip3--_binary64 sqrt-pow2_binary64 cbrt-undiv_binary64 pow1/3_binary64 sqrt-pow1_binary64 div-sub_binary64 clear-num_binary64 rem-cube-cbrt_binary64 frac-2neg_binary64 div-exp_binary64 flip--_binary64 pow-exp_binary64
Counts
4 → 227
Calls

4 calls:

14.0ms
(cbrt.f64 (pow.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))) 3))
12.0ms
(pow.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))) 3)
8.0ms
(/.f64 (-.f64 1 x) (+.f64 1 x))
1.0ms
(atan.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))) 3)))

series71.0ms (2.9%)

Counts
4 → 12
Calls

4 calls:

30.0ms
(pow.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))) 3)
21.0ms
(cbrt.f64 (pow.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))) 3))
11.0ms
(/.f64 (-.f64 1 x) (+.f64 1 x))
9.0ms
(atan.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))) 3)))

simplify118.0ms (4.8%)

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
050295495

prune339.0ms (13.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2390239
Fresh000
Picked011
Done011
Total2392241

Merged error: 0b

Counts
241 → 2
Compiler

Compiled 5055 to 4173 computations (17.4% saved)

regimes92.0ms (3.7%)

Compiler

Compiled 843 to 746 computations (11.5% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02421
12421

end0.0ms (0%)

sample690.0ms (27.8%)

Algorithm
intervals
Results
371.0ms8000×body128valid
Compiler

Compiled 171 to 153 computations (10.5% saved)

Profiling

Loading profile data...