Details

Time bar (total: 4.8s)

analyze265.0ms (5.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%50%0%3
62.5%37.5%0%4
68.7%31.2%0%5
71.8%28.1%0%6
73.4%26.5%0%7
74.2%25.8%0%8
74.6%25.4%0%9
74.8%25.2%0%10
74.9%25.1%0%11
74.9%25%0%12
74.9%25%0%13
75%25%0%14
Compiler

Compiled 10 to 8 computations (20% saved)

sample71.0ms (1.5%)

Algorithm
intervals
Results
32.0ms83×body1024valid
17.0ms48×body2048valid
10.0ms45×body512valid
3.0ms61×body128valid
2.0ms18×body256valid
1.0msbody4096valid
Compiler

Compiled 19 to 16 computations (15.8% saved)

simplify161.0ms (3.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01114
11114

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 53.5b

Counts
2 → 1
Compiler

Compiled 18 to 14 computations (22.2% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.1b
(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
2.5b
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
14.5b
(sqrt.f64 (+.f64 (*.f64 x x) 1))

rewrite21.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64_2773
add-sqr-sqrt_binary64_2794
pow1_binary64_2831 add-cube-cbrt_binary64_2805 add-log-exp_binary64_2809
add-exp-log_binary64_2808 log-prod_binary64_2856
flip3-+_binary64_2776 add-cbrt-cube_binary64_2806 sqrt-prod_binary64_2788 flip-+_binary64_2747
log-div_binary64_2857 sqrt-div_binary64_2789 distribute-lft-out_binary64_2726
rem-log-exp_binary64_2811 sqrt-pow1_binary64_2790 sum-log_binary64_2861 +-commutative_binary64_2705 pow1/2_binary64_2850 log-pow_binary64_2859 rem-sqrt-square_binary64_2786
Counts
3 → 42
Calls

3 calls:

7.0ms
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
7.0ms
(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 x x) 1))

series183.0ms (3.8%)

Counts
3 → 9
Calls

3 calls:

88.0ms
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
58.0ms
(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
37.0ms
(sqrt.f64 (+.f64 (*.f64 x x) 1))

simplify83.0ms (1.7%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
05385862

prune64.0ms (1.3%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New47451
Fresh000
Picked101
Done000
Total48452

Merged error: 0b

Counts
52 → 4
Compiler

Compiled 812 to 538 computations (33.7% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 x (*.f64 3/40 (pow.f64 x 5)))
0.1b
(*.f64 3/40 (pow.f64 x 5))
0.1b
(*.f64 (pow.f64 x 3) 1/6)
19.8b
(-.f64 (+.f64 x (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 3) 1/6))

rewrite30.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64_2794
15×associate-*l*_binary64_2716
14×add-exp-log_binary64_2808
11×add-cube-cbrt_binary64_2805 add-log-exp_binary64_2809 *-un-lft-identity_binary64_2773
10×associate-*r*_binary64_2715
unpow-prod-down_binary64_2849 add-cbrt-cube_binary64_2806
unswap-sqr_binary64_2741
prod-exp_binary64_2819
sqr-pow_binary64_2745 pow1_binary64_2831 cube-prod_binary64_2798
pow-exp_binary64_2838 cbrt-unprod_binary64_2803 pow-to-exp_binary64_2839 diff-log_binary64_2862 sum-log_binary64_2861 *-commutative_binary64_2706
unpow3_binary64_2836 sub-neg_binary64_2766 flip3-+_binary64_2776 flip3--_binary64_2777 cube-mult_binary64_2800 flip--_binary64_2748 associate--l+_binary64_2712 +-commutative_binary64_2705 flip-+_binary64_2747
Counts
4 → 80
Calls

4 calls:

8.0ms
(*.f64 3/40 (pow.f64 x 5))
6.0ms
(-.f64 (+.f64 x (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 3) 1/6))
6.0ms
(*.f64 (pow.f64 x 3) 1/6)
3.0ms
(+.f64 x (*.f64 3/40 (pow.f64 x 5)))

series348.0ms (7.2%)

Counts
4 → 12
Calls

4 calls:

176.0ms
(+.f64 x (*.f64 3/40 (pow.f64 x 5)))
60.0ms
(*.f64 3/40 (pow.f64 x 5))
58.0ms
(*.f64 (pow.f64 x 3) 1/6)
53.0ms
(-.f64 (+.f64 x (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 3) 1/6))

simplify56.0ms (1.2%)

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049671201
149671201

prune95.0ms (2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New92092
Fresh033
Picked011
Done000
Total92496

Merged error: 0b

Counts
96 → 4
Compiler

Compiled 1691 to 1310 computations (22.5% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 1/8 (pow.f64 x 3))
0.1b
(/.f64 1/16 (pow.f64 x 5))
12.9b
(log.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
22.8b
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))

rewrite116.0ms (2.4%)

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt_binary64_2794
71×times-frac_binary64_2779
68×*-un-lft-identity_binary64_2773
46×add-cube-cbrt_binary64_2805
26×unpow-prod-down_binary64_2849
19×associate-/r*_binary64_2719
15×add-exp-log_binary64_2808
14×cube-prod_binary64_2798
11×log-prod_binary64_2856
10×sqr-pow_binary64_2745 difference-of-squares_binary64_2742
add-log-exp_binary64_2809
add-cbrt-cube_binary64_2806
div-exp_binary64_2821 frac-sub_binary64_2782 distribute-lft-out--_binary64_2727 associate-/l*_binary64_2720
log-div_binary64_2857 pow1_binary64_2831
unpow3_binary64_2836 cube-mult_binary64_2800 distribute-lft-out_binary64_2726
pow-exp_binary64_2838 cbrt-undiv_binary64_2804 frac-2neg_binary64_2784 pow-to-exp_binary64_2839 diff-log_binary64_2862 frac-add_binary64_2781 div-inv_binary64_2770 flip3-+_binary64_2776 flip3--_binary64_2777 flip--_binary64_2748 clear-num_binary64_2772 flip-+_binary64_2747
rem-log-exp_binary64_2811 associate--r+_binary64_2711 sub-neg_binary64_2766 sum-log_binary64_2861 log-pow_binary64_2859
Counts
4 → 159
Calls

4 calls:

45.0ms
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))
38.0ms
(log.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
6.0ms
(/.f64 1/8 (pow.f64 x 3))
5.0ms
(/.f64 1/16 (pow.f64 x 5))

series230.0ms (4.8%)

Counts
4 → 12
Calls

4 calls:

79.0ms
(log.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
60.0ms
(/.f64 1/16 (pow.f64 x 5))
47.0ms
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))
45.0ms
(/.f64 1/8 (pow.f64 x 3))

simplify60.0ms (1.3%)

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
049293605
149293605

prune267.0ms (5.6%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1710171
Fresh022
Picked011
Done011
Total1714175

Merged error: 0b

Counts
175 → 4
Compiler

Compiled 4093 to 3255 computations (20.5% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 x (/.f64 1/2 x))
0.0b
(+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))))
0.1b
(/.f64 1/8 (pow.f64 x 3))
10.9b
(log.f64 (+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))))

rewrite78.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
50×*-un-lft-identity_binary64_2773
36×times-frac_binary64_2779
30×add-cube-cbrt_binary64_2805 add-sqr-sqrt_binary64_2794
15×add-log-exp_binary64_2809
12×unpow-prod-down_binary64_2849 cube-prod_binary64_2798 associate-/r*_binary64_2719
10×add-exp-log_binary64_2808
distribute-lft-out_binary64_2726
log-prod_binary64_2856 add-cbrt-cube_binary64_2806
pow1_binary64_2831 sum-log_binary64_2861
sqr-pow_binary64_2745 unpow3_binary64_2836 cube-mult_binary64_2800 distribute-lft-out--_binary64_2727
flip3-+_binary64_2776 div-exp_binary64_2821 associate-/l*_binary64_2720 flip-+_binary64_2747
log-div_binary64_2857 diff-log_binary64_2862 +-commutative_binary64_2705 associate-+r+_binary64_2707
pow-exp_binary64_2838 rem-log-exp_binary64_2811 cbrt-undiv_binary64_2804 frac-2neg_binary64_2784 pow-to-exp_binary64_2839 associate-+r-_binary64_2709 sub-neg_binary64_2766 div-inv_binary64_2770 clear-num_binary64_2772 associate--l+_binary64_2712 log-pow_binary64_2859
Counts
4 → 113
Calls

4 calls:

26.0ms
(+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))))
25.0ms
(log.f64 (+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))))
6.0ms
(+.f64 x (/.f64 1/2 x))
6.0ms
(/.f64 1/8 (pow.f64 x 3))

series217.0ms (4.5%)

Counts
4 → 12
Calls

4 calls:

70.0ms
(log.f64 (+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))))
58.0ms
(+.f64 x (/.f64 1/2 x))
46.0ms
(+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))))
42.0ms
(/.f64 1/8 (pow.f64 x 3))

simplify44.0ms (0.9%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
049552077
149552077

prune130.0ms (2.7%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1250125
Fresh011
Picked011
Done022
Total1254129

Merged error: 0b

Counts
129 → 4
Compiler

Compiled 2462 to 1759 computations (28.6% saved)

regimes23.0ms (0.5%)

Compiler

Compiled 56 to 47 computations (16.1% saved)

bsearch37.0ms (0.8%)

Steps
ItersRangePoint
9
0.6814830664350081
219361.26943641825
0.9586458855915625
9
-3.996062453584732
-1.8155029574833036e-07
-1.0620143966736946
Compiler

Compiled 1 to 1 computations (0% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
011776
111776

end0.0ms (0%)

sample2.2s (45.5%)

Algorithm
intervals
Results
969.0ms2525×body1024valid
426.0ms1244×body2048valid
265.0ms1254×body512valid
113.0ms2313×body128valid
76.0ms628×body256valid
17.0ms36×body4096valid
Compiler

Compiled 139 to 111 computations (20.1% saved)

Profiling

Loading profile data...