Details

Time bar (total: 3.7s)

analyze474.0ms (12.7%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0585632
022
122
Search
TrueOtherFalseIter
0%12.5%87.5%0
0%12.5%87.5%1
0%12.5%87.5%2
3.1%9.3%87.5%3
3.1%6.2%90.7%4
4.7%4.7%90.7%5
4.7%3.5%91.8%6
5.6%2.5%91.8%7
5.9%1.8%92.3%8
6.4%1.3%92.3%9
6.6%0.9%92.5%10
6.8%0.6%92.5%11
6.9%0.5%92.6%12
7%0.3%92.6%13
7.1%0.2%92.7%14
Compiler

Compiled 21 to 16 computations (23.8% saved)

sample25.0ms (0.7%)

Algorithm
intervals
Results
12.0ms256×body128valid
5.0ms259×pre128true
0.0msbody128invalid
Compiler

Compiled 32 to 27 computations (15.6% saved)

simplify131.0ms (3.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (126.0ms)

IterNodesCost
0474016
1474016

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 22 to 18 computations (18.2% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(*.f64 m (-.f64 1 m))
0.1b
(/.f64 (*.f64 m (-.f64 1 m)) v)
0.2b
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) m)

rewrite34.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64_782
17×*-un-lft-identity_binary64_760
12×add-exp-log_binary64_798 add-cbrt-cube_binary64_796
11×add-cube-cbrt_binary64_795
10×associate-*l*_binary64_701
associate-*r*_binary64_700
pow1_binary64_821
cancel-sign-sub-inv_binary64_726
distribute-lft-in_binary64_709 difference-of-squares_binary64_729 distribute-rgt-in_binary64_710 associate-*r/_binary64_702
prod-exp_binary64_809 associate-/r*_binary64_704 add-log-exp_binary64_799 cbrt-unprod_binary64_793 times-frac_binary64_766 flip--_binary64_735 flip3--_binary64_764
unswap-sqr_binary64_728 cbrt-undiv_binary64_794 associate-*l/_binary64_703 associate-/l/_binary64_707 distribute-lft-out--_binary64_712 div-exp_binary64_811 sub-neg_binary64_753 pow-prod-down_binary64_831 *-commutative_binary64_691
frac-2neg_binary64_771 div-inv_binary64_757 associate-/l*_binary64_705 difference-of-sqr-1_binary64_730 clear-num_binary64_759
Counts
3 → 78
Calls

3 calls:

12.0ms
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) m)
8.0ms
(/.f64 (*.f64 m (-.f64 1 m)) v)
8.0ms
(*.f64 m (-.f64 1 m))

series81.0ms (2.2%)

Counts
3 → 9
Calls

3 calls:

29.0ms
(*.f64 (-.f64 (/.f64 (*.f64 m (-.f64 1 m)) v) 1) m)
28.0ms
(*.f64 m (-.f64 1 m))
24.0ms
(/.f64 (*.f64 m (-.f64 1 m)) v)

simplify102.0ms (2.8%)

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (84.0ms)

IterNodesCost
050311100

prune94.0ms (2.5%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New80787
Fresh000
Picked011
Done000
Total80888
Error
0.0b
Counts
88 → 8
Compiler

Compiled 1527 to 991 computations (35.1% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 m (-.f64 1 m))
0.1b
(/.f64 v (*.f64 m (-.f64 1 m)))
0.2b
(*.f64 (-.f64 (/.f64 1 (/.f64 v (*.f64 m (-.f64 1 m)))) 1) m)
0.2b
(/.f64 1 (/.f64 v (*.f64 m (-.f64 1 m))))

rewrite63.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt_binary64_782
48×times-frac_binary64_766
42×*-un-lft-identity_binary64_760
34×add-exp-log_binary64_798
30×add-cube-cbrt_binary64_795
22×add-cbrt-cube_binary64_796
17×associate-*l*_binary64_701
14×div-exp_binary64_811
12×associate-*r/_binary64_702
11×associate-/r/_binary64_706
10×associate-/r*_binary64_704
associate-*r*_binary64_700 pow1_binary64_821
difference-of-squares_binary64_729
cbrt-undiv_binary64_794 div-inv_binary64_757 flip--_binary64_735 flip3--_binary64_764
prod-exp_binary64_809 cancel-sign-sub-inv_binary64_726 associate-/l*_binary64_705
distribute-lft-in_binary64_709 add-log-exp_binary64_799 distribute-rgt-in_binary64_710 cbrt-unprod_binary64_793
difference-of-sqr-1_binary64_730 distribute-lft-out--_binary64_712 rec-exp_binary64_810 1-exp_binary64_804
unswap-sqr_binary64_728 frac-2neg_binary64_771 associate-*l/_binary64_703 clear-num_binary64_759 sub-neg_binary64_753 pow-prod-down_binary64_831 *-commutative_binary64_691
inv-pow_binary64_845 pow-flip_binary64_834
Counts
4 → 149
Calls

4 calls:

23.0ms
(*.f64 (-.f64 (/.f64 1 (/.f64 v (*.f64 m (-.f64 1 m)))) 1) m)
10.0ms
(/.f64 1 (/.f64 v (*.f64 m (-.f64 1 m))))
8.0ms
(*.f64 m (-.f64 1 m))
7.0ms
(/.f64 v (*.f64 m (-.f64 1 m)))

series128.0ms (3.4%)

Counts
4 → 12
Calls

4 calls:

40.0ms
(/.f64 1 (/.f64 v (*.f64 m (-.f64 1 m))))
31.0ms
(*.f64 (-.f64 (/.f64 1 (/.f64 v (*.f64 m (-.f64 1 m)))) 1) m)
30.0ms
(/.f64 v (*.f64 m (-.f64 1 m)))
27.0ms
(*.f64 m (-.f64 1 m))

simplify73.0ms (2%)

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
050012389

prune154.0ms (4.2%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1601161
Fresh156
Picked011
Done011
Total1618169
Error
0.0b
Counts
169 → 8
Compiler

Compiled 3033 to 2057 computations (32.2% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 m (/.f64 (pow.f64 m 3) v))
0.0b
(-.f64 (*.f64 (/.f64 m v) m) (+.f64 m (/.f64 (pow.f64 m 3) v)))
0.2b
(*.f64 (/.f64 m v) m)
7.1b
(/.f64 (pow.f64 m 3) v)

rewrite54.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
46×times-frac_binary64_766
43×add-sqr-sqrt_binary64_782
42×*-un-lft-identity_binary64_760
38×add-cube-cbrt_binary64_795
14×add-exp-log_binary64_798
13×associate-*l*_binary64_701
12×associate-/l*_binary64_705 cube-prod_binary64_788 unpow-prod-down_binary64_839
11×add-log-exp_binary64_799 add-cbrt-cube_binary64_796
pow1_binary64_821
cube-mult_binary64_790 unpow3_binary64_826 cancel-sign-sub-inv_binary64_726 sqr-pow_binary64_732 div-exp_binary64_811
associate-*l/_binary64_703 associate-/r*_binary64_704 associate-*r*_binary64_700
diff-log_binary64_852 unswap-sqr_binary64_728 cbrt-undiv_binary64_794 distribute-lft-out_binary64_711 prod-exp_binary64_809 flip3-+_binary64_763 div-inv_binary64_757 flip-+_binary64_734 sum-log_binary64_851 frac-sub_binary64_769 cbrt-unprod_binary64_793
frac-2neg_binary64_771 pow-exp_binary64_828 pow-to-exp_binary64_829 +-commutative_binary64_690 associate--r+_binary64_696 clear-num_binary64_759 sub-neg_binary64_753 pow-prod-down_binary64_831 *-commutative_binary64_691 flip--_binary64_735 flip3--_binary64_764
Counts
4 → 128
Calls

4 calls:

18.0ms
(-.f64 (*.f64 (/.f64 m v) m) (+.f64 m (/.f64 (pow.f64 m 3) v)))
13.0ms
(+.f64 m (/.f64 (pow.f64 m 3) v))
7.0ms
(/.f64 (pow.f64 m 3) v)
6.0ms
(*.f64 (/.f64 m v) m)

series66.0ms (1.8%)

Counts
4 → 12
Calls

4 calls:

22.0ms
(-.f64 (*.f64 (/.f64 m v) m) (+.f64 m (/.f64 (pow.f64 m 3) v)))
16.0ms
(+.f64 m (/.f64 (pow.f64 m 3) v))
15.0ms
(/.f64 (pow.f64 m 3) v)
13.0ms
(*.f64 (/.f64 m v) m)

simplify54.0ms (1.5%)

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
051711923

prune125.0ms (3.4%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1346140
Fresh415
Picked101
Done022
Total1399148
Error
0b
Counts
148 → 9
Compiler

Compiled 2710 to 1011 computations (62.7% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

7.1b
(/.f64 (pow.f64 m 3) v)
7.1b
(/.f64 (pow.f64 m 3) v)
17.2b
(sqrt.f64 (/.f64 (pow.f64 m 3) v))
17.2b
(sqrt.f64 (/.f64 (pow.f64 m 3) v))

rewrite52.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
152×times-frac_binary64_766
114×add-sqr-sqrt_binary64_782
98×*-un-lft-identity_binary64_760 add-cube-cbrt_binary64_795
80×sqrt-prod_binary64_776
44×cube-prod_binary64_788 unpow-prod-down_binary64_839
24×associate-/l*_binary64_705
16×sqr-pow_binary64_732
14×cube-mult_binary64_790 add-exp-log_binary64_798 unpow3_binary64_826
10×rem-sqrt-square_binary64_773
add-cbrt-cube_binary64_796
associate-/r*_binary64_704 div-exp_binary64_811 pow1_binary64_821
add-log-exp_binary64_799 div-inv_binary64_757
frac-2neg_binary64_771 cbrt-undiv_binary64_794 sqrt-pow1_binary64_778 pow-exp_binary64_828 sqrt-div_binary64_777 pow-to-exp_binary64_829 pow1/2_binary64_840 clear-num_binary64_759
Counts
4 → 240
Calls

4 calls:

8.0ms
(/.f64 (pow.f64 m 3) v)
7.0ms
(sqrt.f64 (/.f64 (pow.f64 m 3) v))
6.0ms
(sqrt.f64 (/.f64 (pow.f64 m 3) v))
6.0ms
(/.f64 (pow.f64 m 3) v)

series136.0ms (3.7%)

Counts
4 → 12
Calls

4 calls:

53.0ms
(sqrt.f64 (/.f64 (pow.f64 m 3) v))
50.0ms
(sqrt.f64 (/.f64 (pow.f64 m 3) v))
19.0ms
(/.f64 (pow.f64 m 3) v)
14.0ms
(/.f64 (pow.f64 m 3) v)

simplify58.0ms (1.6%)

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
050983530

prune294.0ms (7.9%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New2520252
Fresh066
Picked011
Done022
Total2529261
Error
0b
Counts
261 → 9
Compiler

Compiled 6720 to 3015 computations (55.1% saved)

regimes199.0ms (5.4%)

Accuracy

Total 0.2b remaining (98.4%)

Threshold costs 0.2b (98.4%)

Compiler

Compiled 2270 to 1655 computations (27.1% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04519
14519

end0.0ms (0%)

sample1.3s (34.4%)

Algorithm
intervals
Results
269.0ms8000×body128valid
176.0ms8063×pre128true
2.0ms63×body128invalid
Compiler

Compiled 782 to 570 computations (27.1% saved)

Profiling

Loading profile data...