Details

Time bar (total: 2.9s)

analyze229.0ms (8%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
25%74.9%0.1%4
37.5%62.4%0.1%5
62.4%37.5%0.1%6
87.4%12.5%0.1%7
87.4%12.5%0.1%8
93.7%6.2%0.1%9
93.7%6.2%0.1%10
96.8%3.1%0.1%11
96.8%3.1%0.1%12
98.3%1.6%0.1%13
98.3%1.6%0.1%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample17.0ms (0.6%)

Algorithm
intervals
Results
8.0ms256×body128valid
Compiler

Compiled 17 to 15 computations (11.8% saved)

simplify243.0ms (8.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
075610
175610

prune6.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.0b

Counts
2 → 1
Compiler

Compiled 14 to 10 computations (28.6% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

0.0b
(/.f64 (+.f64 f n) (-.f64 n f))

rewrite15.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity_binary64
22×add-sqr-sqrt_binary64
20×times-frac_binary64
12×add-cube-cbrt_binary64
distribute-lft-out_binary64
associate-/r*_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64
associate-/l*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
associate-/l/_binary64 associate-/r/_binary64
flip3-+_binary64 add-log-exp_binary64 pow1_binary64 flip3--_binary64 cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 flip--_binary64 flip-+_binary64
Counts
1 → 45
Calls

1 calls:

10.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

series105.0ms (3.7%)

Counts
1 → 3
Calls

1 calls:

105.0ms
(/.f64 (+.f64 f n) (-.f64 n f))

simplify63.0ms (2.2%)

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
05253802

prune39.0ms (1.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New46248
Fresh000
Picked011
Done000
Total46349

Merged error: 0b

Counts
49 → 3
Compiler

Compiled 688 to 154 computations (77.6% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(/.f64 1 (/.f64 (-.f64 n f) (+.f64 f n)))
0.0b
(/.f64 (-.f64 n f) (+.f64 f n))

rewrite46.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
178×times-frac_binary64
174×*-un-lft-identity_binary64
122×add-sqr-sqrt_binary64
80×add-cube-cbrt_binary64
30×associate-/r*_binary64
26×distribute-lft-out_binary64
21×difference-of-squares_binary64 distribute-lft-out--_binary64
15×add-exp-log_binary64
11×associate-/r/_binary64
add-cbrt-cube_binary64
associate-/l*_binary64 div-exp_binary64
div-inv_binary64
flip3-+_binary64 flip-+_binary64
cbrt-undiv_binary64
pow1_binary64
associate-/l/_binary64 add-log-exp_binary64 1-exp_binary64 clear-num_binary64 frac-2neg_binary64 rec-exp_binary64
flip3--_binary64 div-sub_binary64 inv-pow_binary64 flip--_binary64 pow-flip_binary64
Counts
2 → 174
Calls

2 calls:

13.0ms
(/.f64 1 (/.f64 (-.f64 n f) (+.f64 f n)))
9.0ms
(/.f64 (-.f64 n f) (+.f64 f n))

series180.0ms (6.3%)

Counts
2 → 6
Calls

2 calls:

91.0ms
(/.f64 1 (/.f64 (-.f64 n f) (+.f64 f n)))
89.0ms
(/.f64 (-.f64 n f) (+.f64 f n))

simplify91.0ms (3.2%)

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
050613700

prune121.0ms (4.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1800180
Fresh011
Picked011
Done011
Total1803183

Merged error: 0b

Counts
183 → 3
Compiler

Compiled 3055 to 773 computations (74.7% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.5b
(*.f64 (cbrt.f64 (-.f64 n f)) (cbrt.f64 (-.f64 n f)))
0.6b
(cbrt.f64 (-.f64 n f))
0.6b
(cbrt.f64 (-.f64 n f))
0.6b
(cbrt.f64 (-.f64 n f))

rewrite36.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
43×cbrt-prod_binary64
37×add-sqr-sqrt_binary64
35×*-un-lft-identity_binary64
18×cbrt-div_binary64
15×add-cube-cbrt_binary64
11×pow1_binary64
10×swap-sqr_binary64
flip3--_binary64 pow1/3_binary64 distribute-lft-out--_binary64 flip--_binary64
associate-*r*_binary64 associate-*l*_binary64
difference-of-squares_binary64
add-exp-log_binary64
add-log-exp_binary64 add-cbrt-cube_binary64 unswap-sqr_binary64 frac-times_binary64
pow-prod-down_binary64 pow-prod-up_binary64 associate-*r/_binary64 pow-sqr_binary64 associate-*l/_binary64
cbrt-unprod_binary64 pow-plus_binary64 prod-exp_binary64 pow2_binary64 *-commutative_binary64
Counts
4 → 101
Calls

4 calls:

14.0ms
(*.f64 (cbrt.f64 (-.f64 n f)) (cbrt.f64 (-.f64 n f)))
4.0ms
(cbrt.f64 (-.f64 n f))
4.0ms
(cbrt.f64 (-.f64 n f))
4.0ms
(cbrt.f64 (-.f64 n f))

series895.0ms (31.1%)

Counts
4 → 12
Calls

4 calls:

232.0ms
(cbrt.f64 (-.f64 n f))
228.0ms
(*.f64 (cbrt.f64 (-.f64 n f)) (cbrt.f64 (-.f64 n f)))
223.0ms
(cbrt.f64 (-.f64 n f))
211.0ms
(cbrt.f64 (-.f64 n f))

simplify65.0ms (2.3%)

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
052481620

prune100.0ms (3.5%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1130113
Fresh000
Picked011
Done022
Total1133116

Merged error: 0b

Counts
116 → 3
Compiler

Compiled 2860 to 793 computations (72.3% saved)

regimes70.0ms (2.5%)

Compiler

Compiled 577 to 329 computations (43% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01913
11913

end0.0ms (0%)

sample525.0ms (18.3%)

Algorithm
intervals
Results
214.0ms8000×body128valid
Compiler

Compiled 195 to 111 computations (43.1% saved)

Profiling

Loading profile data...