Details

Time bar (total: 8.7s)

analyze418.0ms (4.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0505041
011
111
Search
TrueOtherFalseIter
0%74.9%25.1%0
0%74.9%25.1%1
37.5%37.5%25.1%2
37.5%18.7%43.8%3
46.8%9.4%43.8%4
51.5%4.7%43.8%5
51.5%2.3%46.1%6
52.7%1.2%46.1%7
53.3%0.6%46.1%8
53.3%0.3%46.4%9
53.4%0.1%46.4%10
53.5%0.1%46.4%11
53.5%0%46.5%12
53.5%0%46.5%13
53.5%0%46.5%14
Compiler

Compiled 70 to 33 computations (52.9% saved)

sample66.0ms (0.8%)

Algorithm
intervals
Results
44.0ms256×body128valid
5.0ms257×pre128true
0.0msbody128invalid
Compiler

Compiled 137 to 65 computations (52.6% saved)

simplify259.0ms (3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (248.0ms)

IterNodesCost
0505041

prune13.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.1b
Counts
2 → 2
Compiler

Compiled 119 to 75 computations (37% saved)

localize36.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 1/21 (pow.f64 x 6))
0.1b
(*.f64 1/5 (pow.f64 x 4))
0.2b
(*.f64 2/3 (*.f64 x x))
1.0b
(sqrt.f64 PI.f64)

rewrite58.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64_2828
19×add-exp-log_binary64_2844
15×associate-*r*_binary64_2746
13×add-cbrt-cube_binary64_2842
12×*-un-lft-identity_binary64_2806 add-cube-cbrt_binary64_2841
10×pow1_binary64_2867
associate-*l*_binary64_2747 prod-exp_binary64_2855
unpow-prod-down_binary64_2885
unswap-sqr_binary64_2774
cbrt-unprod_binary64_2839
add-log-exp_binary64_2845 sqr-pow_binary64_2778
*-commutative_binary64_2737 sqrt-prod_binary64_2822 pow-prod-down_binary64_2877
pow-exp_binary64_2874 pow-to-exp_binary64_2875
pow1/2_binary64_2886 sqrt-pow1_binary64_2824 rem-sqrt-square_binary64_2819
Counts
4 → 82
Calls

4 calls:

17.0ms
(*.f64 1/21 (pow.f64 x 6))
12.0ms
(*.f64 2/3 (*.f64 x x))
11.0ms
(*.f64 1/5 (pow.f64 x 4))
3.0ms
(sqrt.f64 PI.f64)

series209.0ms (2.4%)

Counts
4 → 9
Calls

4 calls:

85.0ms
(*.f64 1/21 (pow.f64 x 6))
67.0ms
(*.f64 1/5 (pow.f64 x 4))
56.0ms
(*.f64 2/3 (*.f64 x x))
0.0ms
(sqrt.f64 PI.f64)
Compiler

Compiled 468 to 402 computations (14.1% saved)

simplify95.0ms (1.1%)

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
05031773

prune259.0ms (3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New90191
Fresh011
Picked101
Done000
Total91293
Error
0.1b
Counts
93 → 2
Compiler

Compiled 2782 to 1863 computations (33% saved)

localize38.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 2/3 (*.f64 x x))
1.0b
(sqrt.f64 PI.f64)
8.6b
(sqrt.f64 (pow.f64 x 6))
8.6b
(sqrt.f64 (pow.f64 x 6))

rewrite38.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
17×sqrt-prod_binary64_2822
16×add-sqr-sqrt_binary64_2828
10×*-un-lft-identity_binary64_2806 add-cube-cbrt_binary64_2841 pow1_binary64_2867
add-exp-log_binary64_2844 add-cbrt-cube_binary64_2842
unpow-prod-down_binary64_2885
rem-sqrt-square_binary64_2819
add-log-exp_binary64_2845 sqr-pow_binary64_2778
associate-*l*_binary64_2747 pow1/2_binary64_2886 sqrt-pow1_binary64_2824 prod-exp_binary64_2855 cbrt-unprod_binary64_2839 pow-prod-down_binary64_2877
*-commutative_binary64_2737 associate-*r*_binary64_2746 unswap-sqr_binary64_2774
Counts
4 → 70
Calls

4 calls:

11.0ms
(*.f64 2/3 (*.f64 x x))
7.0ms
(sqrt.f64 (pow.f64 x 6))
5.0ms
(sqrt.f64 (pow.f64 x 6))
2.0ms
(sqrt.f64 PI.f64)

series187.0ms (2.2%)

Counts
4 → 9
Calls

4 calls:

63.0ms
(sqrt.f64 (pow.f64 x 6))
62.0ms
(*.f64 2/3 (*.f64 x x))
62.0ms
(sqrt.f64 (pow.f64 x 6))
0.0ms
(sqrt.f64 PI.f64)
Compiler

Compiled 572 to 488 computations (14.7% saved)

simplify134.0ms (1.5%)

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (112.0ms)

IterNodesCost
04892569
14892569

prune256.0ms (2.9%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New78179
Fresh011
Picked101
Done000
Total79281
Error
0.1b
Counts
81 → 2
Compiler

Compiled 2846 to 1986 computations (30.2% saved)

localize42.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 1/21 (sqrt.f64 (pow.f64 x 6)))
0.2b
(*.f64 2/3 (*.f64 x x))
1.0b
(sqrt.f64 PI.f64)
8.6b
(sqrt.f64 (pow.f64 x 6))

rewrite50.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64_2828
20×sqrt-prod_binary64_2822
12×*-un-lft-identity_binary64_2806 add-cube-cbrt_binary64_2841 pow1_binary64_2867
11×add-exp-log_binary64_2844 add-cbrt-cube_binary64_2842 associate-*r*_binary64_2746
unpow-prod-down_binary64_2885
associate-*l*_binary64_2747
unswap-sqr_binary64_2774
prod-exp_binary64_2855 cbrt-unprod_binary64_2839 rem-sqrt-square_binary64_2819 add-log-exp_binary64_2845 sqr-pow_binary64_2778 pow-prod-down_binary64_2877
pow1/2_binary64_2886 *-commutative_binary64_2737 sqrt-pow1_binary64_2824
Counts
4 → 79
Calls

4 calls:

14.0ms
(*.f64 2/3 (*.f64 x x))
13.0ms
(*.f64 1/21 (sqrt.f64 (pow.f64 x 6)))
4.0ms
(sqrt.f64 (pow.f64 x 6))
2.0ms
(sqrt.f64 PI.f64)

series183.0ms (2.1%)

Counts
4 → 9
Calls

4 calls:

70.0ms
(*.f64 1/21 (sqrt.f64 (pow.f64 x 6)))
62.0ms
(sqrt.f64 (pow.f64 x 6))
51.0ms
(*.f64 2/3 (*.f64 x x))
0.0ms
(sqrt.f64 PI.f64)
Compiler

Compiled 568 to 484 computations (14.8% saved)

simplify150.0ms (1.7%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (125.0ms)

IterNodesCost
04894768
14894768

prune275.0ms (3.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New88088
Fresh011
Picked011
Done000
Total88290
Error
0.1b
Counts
90 → 2
Compiler

Compiled 3188 to 2238 computations (29.8% saved)

localize59.0ms (0.7%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (/.f64 1 (sqrt.f64 PI.f64)) (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 21) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))))
0.1b
(*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))
0.2b
(*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))
1.0b
(sqrt.f64 PI.f64)

rewrite220.0ms (2.5%)

Algorithm
rewrite-expression-head
Rules
119×add-exp-log_binary64_2844
76×prod-exp_binary64_2855
75×add-cbrt-cube_binary64_2842
48×associate-*l*_binary64_2747
46×add-sqr-sqrt_binary64_2828
44×cbrt-unprod_binary64_2839
40×times-frac_binary64_2812
36×pow1_binary64_2867
35×*-un-lft-identity_binary64_2806
33×add-cube-cbrt_binary64_2841
22×pow-prod-down_binary64_2877
15×div-exp_binary64_2857 associate-*l/_binary64_2749
14×sqrt-prod_binary64_2822
12×frac-add_binary64_2814
cbrt-undiv_binary64_2840
frac-times_binary64_2816 1-exp_binary64_2850 rec-exp_binary64_2856 flip-+_binary64_2780 flip3-+_binary64_2809 associate-*r/_binary64_2748
associate-*r*_binary64_2746 unswap-sqr_binary64_2774
add-log-exp_binary64_2845
div-inv_binary64_2803 *-commutative_binary64_2737
pow1/2_binary64_2886 distribute-lft-in_binary64_2755 sqrt-pow1_binary64_2824 distribute-rgt-in_binary64_2756 rem-sqrt-square_binary64_2819
Counts
4 → 169
Calls

4 calls:

55.0ms
(*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))
51.0ms
(*.f64 (/.f64 1 (sqrt.f64 PI.f64)) (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 21) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))))
24.0ms
(*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))
3.0ms
(sqrt.f64 PI.f64)

series774.0ms (8.9%)

Counts
4 → 9
Calls

4 calls:

538.0ms
(*.f64 (/.f64 1 (sqrt.f64 PI.f64)) (+.f64 (+.f64 (+.f64 (*.f64 2 (fabs.f64 x)) (*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))) (*.f64 (/.f64 1 21) (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))))
129.0ms
(*.f64 (/.f64 1 5) (*.f64 (*.f64 (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)) (fabs.f64 x)))
105.0ms
(*.f64 (/.f64 2 3) (*.f64 (*.f64 (fabs.f64 x) (fabs.f64 x)) (fabs.f64 x)))
0.0ms
(sqrt.f64 PI.f64)
Compiler

Compiled 882 to 522 computations (40.8% saved)

simplify222.0ms (2.6%)

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 0 (107.0ms)

IterNodesCost
049105228
149105228

prune828.0ms (9.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1762178
Fresh000
Picked101
Done011
Total1773180
Error
0b
Counts
180 → 3
Compiler

Compiled 10889 to 4869 computations (55.3% saved)

regimes668.0ms (7.7%)

Accuracy

Total 0.2b remaining (99%)

Threshold costs 0.2b (99%)

Compiler

Compiled 4835 to 3400 computations (29.7% saved)

bsearch0.0ms (0%)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
07649
17649

end0.0ms (0%)

sample3.1s (36%)

Algorithm
intervals
Results
1.4s8000×body128valid
173.0ms8005×pre128true
1.0msbody128invalid
Compiler

Compiled 940 to 678 computations (27.9% saved)

Profiling

Loading profile data...