Details

Time bar (total: 4.1s)

analyze416.0ms (10.2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0521632
022
122
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
12.5%87.4%0.1%4
25%74.9%0.1%5
31.2%68.7%0.1%6
67.1%32.8%0.1%7
71%28.9%0.1%8
82.3%17.6%0.1%9
84.9%15%0.1%10
90.8%9.1%0.1%11
92.2%7.7%0.1%12
95.3%4.6%0.1%13
96%3.9%0.1%14
Compiler

Compiled 12 to 11 computations (8.3% saved)

sample21.0ms (0.5%)

Algorithm
intervals
Results
7.0ms216×body128valid
2.0ms18×body1024valid
1.0ms14×body512valid
0.0msbody256valid
Compiler

Compiled 23 to 23 computations (0% saved)

simplify191.0ms (4.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (185.0ms)

IterNodesCost
0485216
1485216

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
20.2b
Counts
2 → 1
Compiler

Compiled 22 to 20 computations (9.1% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(*.f64 (-.f64 1 x) y)
2.0b
(-.f64 1 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1)))
8.8b
(/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1))

rewrite29.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity_binary64_21902
17×add-sqr-sqrt_binary64_21924
10×cancel-sign-sub-inv_binary64_21868 add-cbrt-cube_binary64_21938 add-exp-log_binary64_21940
add-cube-cbrt_binary64_21937
times-frac_binary64_21908
associate-*l*_binary64_21843
pow1_binary64_21963 add-log-exp_binary64_21941
associate-/r/_binary64_21848 difference-of-squares_binary64_21871 associate-*l/_binary64_21845 associate-/r*_binary64_21846
associate-*r*_binary64_21842 flip--_binary64_21877 distribute-lft-out_binary64_21853 flip3--_binary64_21906
cbrt-unprod_binary64_21935 div-inv_binary64_21899 flip3-+_binary64_21905 distribute-lft-out--_binary64_21854 prod-exp_binary64_21951 div-exp_binary64_21953 flip-+_binary64_21876 cbrt-undiv_binary64_21936 associate-/l/_binary64_21849
sub-neg_binary64_21895 clear-num_binary64_21901 pow-prod-down_binary64_21973 diff-log_binary64_21994 frac-2neg_binary64_21913 associate-/l*_binary64_21847 unswap-sqr_binary64_21870 *-commutative_binary64_21833
Counts
3 → 74
Calls

3 calls:

9.0ms
(/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1))
8.0ms
(-.f64 1 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1)))
7.0ms
(*.f64 (-.f64 1 x) y)

series97.0ms (2.4%)

Counts
3 → 9
Calls

3 calls:

50.0ms
(-.f64 1 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1)))
28.0ms
(/.f64 (*.f64 (-.f64 1 x) y) (+.f64 y 1))
18.0ms
(*.f64 (-.f64 1 x) y)

simplify61.0ms (1.5%)

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
056431232

prune101.0ms (2.5%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New79483
Fresh000
Picked101
Done000
Total80484
Error
0.2b
Counts
84 → 4
Compiler

Compiled 1372 to 982 computations (28.4% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 y (+.f64 1 y))
0.0b
(*.f64 (-.f64 1 x) (/.f64 y (+.f64 1 y)))
2.0b
(-.f64 1 (*.f64 (-.f64 1 x) (/.f64 y (+.f64 1 y))))

rewrite29.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity_binary64_21902
29×add-sqr-sqrt_binary64_21924
25×times-frac_binary64_21908
21×add-cube-cbrt_binary64_21937
18×associate-*r*_binary64_21842
10×add-cbrt-cube_binary64_21938 add-exp-log_binary64_21940
distribute-lft-out_binary64_21853
associate-*l*_binary64_21843
pow1_binary64_21963 add-log-exp_binary64_21941
associate-/r/_binary64_21848 associate-/r*_binary64_21846
flip--_binary64_21877 flip3--_binary64_21906 associate-/l*_binary64_21847
cbrt-unprod_binary64_21935 div-inv_binary64_21899 flip3-+_binary64_21905 difference-of-squares_binary64_21871 associate-*l/_binary64_21845 prod-exp_binary64_21951 frac-times_binary64_21912 div-exp_binary64_21953 flip-+_binary64_21876 cbrt-undiv_binary64_21936 unswap-sqr_binary64_21870
sub-neg_binary64_21895 clear-num_binary64_21901 pow-prod-down_binary64_21973 cancel-sign-sub-inv_binary64_21868 diff-log_binary64_21994 distribute-lft-out--_binary64_21854 associate-*r/_binary64_21844 frac-2neg_binary64_21913 *-commutative_binary64_21833
Counts
3 → 89
Calls

3 calls:

13.0ms
(*.f64 (-.f64 1 x) (/.f64 y (+.f64 1 y)))
5.0ms
(/.f64 y (+.f64 1 y))
4.0ms
(-.f64 1 (*.f64 (-.f64 1 x) (/.f64 y (+.f64 1 y))))

series91.0ms (2.2%)

Counts
3 → 9
Calls

3 calls:

51.0ms
(-.f64 1 (*.f64 (-.f64 1 x) (/.f64 y (+.f64 1 y))))
27.0ms
(*.f64 (-.f64 1 x) (/.f64 y (+.f64 1 y)))
12.0ms
(/.f64 y (+.f64 1 y))

simplify89.0ms (2.2%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
049711527
149711527

prune91.0ms (2.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New98098
Fresh033
Picked011
Done000
Total984102
Error
0.2b
Counts
102 → 4
Compiler

Compiled 1741 to 1242 computations (28.7% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.3b
(cbrt.f64 (+.f64 1 y))
0.3b
(cbrt.f64 (+.f64 1 y))
0.3b
(cbrt.f64 (+.f64 1 y))
7.6b
(-.f64 1 (*.f64 (/.f64 (-.f64 1 x) (*.f64 (cbrt.f64 (+.f64 1 y)) (cbrt.f64 (+.f64 1 y)))) (/.f64 y (cbrt.f64 (+.f64 1 y)))))

rewrite18.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity_binary64_21902
12×cbrt-prod_binary64_21933
add-sqr-sqrt_binary64_21924 add-cube-cbrt_binary64_21937
cbrt-div_binary64_21934 add-log-exp_binary64_21941
pow1_binary64_21963 add-cbrt-cube_binary64_21938 add-exp-log_binary64_21940
flip3-+_binary64_21905 flip-+_binary64_21876 distribute-lft-out_binary64_21853 pow1/3_binary64_21984
sub-neg_binary64_21895 cancel-sign-sub-inv_binary64_21868 diff-log_binary64_21994 flip--_binary64_21877 flip3--_binary64_21906
Counts
4 → 54
Calls

4 calls:

4.0ms
(-.f64 1 (*.f64 (/.f64 (-.f64 1 x) (*.f64 (cbrt.f64 (+.f64 1 y)) (cbrt.f64 (+.f64 1 y)))) (/.f64 y (cbrt.f64 (+.f64 1 y)))))
3.0ms
(cbrt.f64 (+.f64 1 y))
3.0ms
(cbrt.f64 (+.f64 1 y))
3.0ms
(cbrt.f64 (+.f64 1 y))

series127.0ms (3.1%)

Counts
4 → 12
Calls

4 calls:

52.0ms
(-.f64 1 (*.f64 (/.f64 (-.f64 1 x) (*.f64 (cbrt.f64 (+.f64 1 y)) (cbrt.f64 (+.f64 1 y)))) (/.f64 y (cbrt.f64 (+.f64 1 y)))))
27.0ms
(cbrt.f64 (+.f64 1 y))
25.0ms
(cbrt.f64 (+.f64 1 y))
23.0ms
(cbrt.f64 (+.f64 1 y))

simplify74.0ms (1.8%)

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
05469999

prune89.0ms (2.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh022
Picked011
Done011
Total66470
Error
0.2b
Counts
70 → 4
Compiler

Compiled 1760 to 1349 computations (23.4% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

8.0b
(/.f64 (-.f64 1 (*.f64 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y)) (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y)))) (+.f64 1 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y))))
8.8b
(/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y))
8.8b
(/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y))
8.8b
(/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y))

rewrite56.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
50×*-un-lft-identity_binary64_21902
32×times-frac_binary64_21908
26×add-sqr-sqrt_binary64_21924
21×add-cbrt-cube_binary64_21938 add-cube-cbrt_binary64_21937 add-exp-log_binary64_21940
16×associate-/r*_binary64_21846
12×distribute-lft-out_binary64_21853
10×difference-of-squares_binary64_21871
associate-/r/_binary64_21848 associate-/l*_binary64_21847 associate-/l/_binary64_21849
div-exp_binary64_21953 cbrt-undiv_binary64_21936
associate-*l/_binary64_21845
clear-num_binary64_21901 div-inv_binary64_21899 flip3-+_binary64_21905 frac-2neg_binary64_21913 flip--_binary64_21877 pow1_binary64_21963 flip-+_binary64_21876 add-log-exp_binary64_21941 flip3--_binary64_21906
cbrt-unprod_binary64_21935 prod-exp_binary64_21951
div-sub_binary64_21907
Counts
4 → 127
Calls

4 calls:

13.0ms
(/.f64 (-.f64 1 (*.f64 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y)) (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y)))) (+.f64 1 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y))))
9.0ms
(/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y))
9.0ms
(/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y))
9.0ms
(/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y))

series405.0ms (9.9%)

Counts
4 → 12
Calls

4 calls:

328.0ms
(/.f64 (-.f64 1 (*.f64 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y)) (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y)))) (+.f64 1 (/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y))))
27.0ms
(/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y))
26.0ms
(/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y))
24.0ms
(/.f64 (*.f64 (-.f64 1 x) y) (+.f64 1 y))

simplify98.0ms (2.4%)

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
049803775
149803775

prune294.0ms (7.2%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1381139
Fresh011
Picked011
Done022
Total1385143
Error
0.2b
Counts
143 → 5
Compiler

Compiled 5392 to 3991 computations (26% saved)

regimes446.0ms (10.9%)

Accuracy

Total 0.0b remaining (11.2%)

Threshold costs 0.0b (11.2%)

Compiler

Compiled 3630 to 3017 computations (16.9% saved)

bsearch34.0ms (0.8%)

Steps
ItersRangePoint
9
412.41312091536446
68546519648.19862
104353065.07989605
7
-468370169.47527635
-23353462.254570387
-81290706.87963904
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
017146
117146

end0.0ms (0%)

sample1.2s (29%)

Algorithm
intervals
Results
197.0ms6256×body128valid
65.0ms606×body1024valid
61.0ms686×body512valid
29.0ms444×body256valid
1.0msbody2048valid
Compiler

Compiled 796 to 654 computations (17.8% saved)

Profiling

Loading profile data...