Details

Time bar (total: 6.5s)

analyze361.0ms (5.6%)

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)

sample72.0ms (1.1%)

Algorithm
intervals
Results
32.0ms75×body1024valid
13.0ms38×body2048valid
9.0ms31×body512valid
5.0ms84×body128valid
4.0ms28×body256valid
Compiler

Compiled 19 to 16 computations (15.8% saved)

simplify120.0ms (1.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
01114
11114

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 18 to 14 computations (22.2% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (*.f64 x x) 1)
0.1b
(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
4.1b
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
15.3b
(sqrt.f64 (+.f64 (*.f64 x x) 1))

rewrite45.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64_1783
add-log-exp_binary64_1822
add-sqr-sqrt_binary64_1805
add-cube-cbrt_binary64_1818 pow1_binary64_1844
add-exp-log_binary64_1821
add-cbrt-cube_binary64_1819 log-prod_binary64_1869 flip-+_binary64_1757 flip3-+_binary64_1786
sqrt-prod_binary64_1799
+-commutative_binary64_1713 distribute-lft-out_binary64_1734 sqrt-div_binary64_1800 sum-log_binary64_1874 log-div_binary64_1870
log-pow_binary64_1872 pow1/2_binary64_1863 sqrt-pow1_binary64_1801 rem-sqrt-square_binary64_1796 rem-log-exp_binary64_1824
Counts
4 → 53
Calls

4 calls:

16.0ms
(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
12.0ms
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
9.0ms
(sqrt.f64 (+.f64 (*.f64 x x) 1))
4.0ms
(+.f64 (*.f64 x x) 1)

series163.0ms (2.5%)

Counts
4 → 12
Calls

4 calls:

61.0ms
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
51.0ms
(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
32.0ms
(+.f64 (*.f64 x x) 1)
18.0ms
(sqrt.f64 (+.f64 (*.f64 x x) 1))

simplify73.0ms (1.1%)

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
048551001
148551001

prune118.0ms (1.8%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New60565
Fresh000
Picked101
Done000
Total61566
Error
0b
Counts
66 → 5
Compiler

Compiled 1017 to 668 computations (34.3% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite23.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64_1805
15×associate-*l*_binary64_1724
13×add-exp-log_binary64_1821
10×add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783 associate-*r*_binary64_1723
unpow-prod-down_binary64_1862 add-log-exp_binary64_1822
add-cbrt-cube_binary64_1819 unswap-sqr_binary64_1751
prod-exp_binary64_1832
sqr-pow_binary64_1755 cube-prod_binary64_1811
pow1_binary64_1844
cbrt-unprod_binary64_1816 diff-log_binary64_1875 *-commutative_binary64_1714 pow-to-exp_binary64_1852 pow-exp_binary64_1851
flip3--_binary64_1787 cube-mult_binary64_1813 unpow3_binary64_1849 cancel-sign-sub-inv_binary64_1749 sum-log_binary64_1874 associate--l+_binary64_1720 flip--_binary64_1758 sub-neg_binary64_1776
Counts
3 → 70
Calls

3 calls:

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)
5.0ms
(*.f64 3/40 (pow.f64 x 5))

series131.0ms (2%)

Counts
3 → 9
Calls

3 calls:

59.0ms
(-.f64 (+.f64 x (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 3) 1/6))
48.0ms
(*.f64 3/40 (pow.f64 x 5))
23.0ms
(*.f64 (pow.f64 x 3) 1/6)

simplify83.0ms (1.3%)

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
050181015

prune150.0ms (2.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New79079
Fresh044
Picked011
Done000
Total79584
Error
0b
Counts
84 → 5
Compiler

Compiled 1483 to 1149 computations (22.5% saved)

localize27.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 2))
0.2b
(/.f64 3/32 (pow.f64 x 4))
0.4b
(/.f64 1/4 (*.f64 x x))
6.6b
(-.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 2)) (-.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 x)))

rewrite77.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
55×*-un-lft-identity_binary64_1783
37×add-sqr-sqrt_binary64_1805
27×times-frac_binary64_1789
25×add-cube-cbrt_binary64_1818
17×distribute-lft-out--_binary64_1735
14×add-exp-log_binary64_1821
13×cancel-sign-sub-inv_binary64_1749 unpow-prod-down_binary64_1862 add-log-exp_binary64_1822 pow1_binary64_1844
11×add-cbrt-cube_binary64_1819
log-pow_binary64_1872
distribute-lft-out_binary64_1734 associate-/r*_binary64_1727
associate-/l*_binary64_1728 diff-log_binary64_1875
difference-of-squares_binary64_1752 sqr-pow_binary64_1755 div-exp_binary64_1834 associate--r+_binary64_1719
frac-sub_binary64_1792
flip3--_binary64_1787 associate-+r+_binary64_1715 log-prod_binary64_1869 flip-+_binary64_1757 cbrt-undiv_binary64_1817 sum-log_binary64_1874 flip3-+_binary64_1786 flip--_binary64_1758
div-inv_binary64_1780 frac-2neg_binary64_1794 clear-num_binary64_1782 sub-neg_binary64_1776
+-commutative_binary64_1713 cbrt-unprod_binary64_1816 prod-exp_binary64_1832 associate--r-_binary64_1722 associate--l+_binary64_1720 pow-to-exp_binary64_1852 pow-exp_binary64_1851
Counts
4 → 126
Calls

4 calls:

49.0ms
(-.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 2)) (-.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 x)))
8.0ms
(+.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 2))
5.0ms
(/.f64 3/32 (pow.f64 x 4))
4.0ms
(/.f64 1/4 (*.f64 x x))

series216.0ms (3.3%)

Counts
4 → 12
Calls

4 calls:

114.0ms
(+.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 2))
49.0ms
(-.f64 (+.f64 (/.f64 1/4 (*.f64 x x)) (log.f64 2)) (-.f64 (/.f64 3/32 (pow.f64 x 4)) (log.f64 x)))
35.0ms
(/.f64 3/32 (pow.f64 x 4))
17.0ms
(/.f64 1/4 (*.f64 x x))

simplify83.0ms (1.3%)

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049662840
149662840

prune265.0ms (4.1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1380138
Fresh033
Picked011
Done011
Total1385143
Error
0b
Counts
143 → 5
Compiler

Compiled 3346 to 2301 computations (31.2% saved)

localize18.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite141.0ms (2.2%)

Algorithm
rewrite-expression-head
Rules
112×times-frac_binary64_1789
97×*-un-lft-identity_binary64_1783
87×add-sqr-sqrt_binary64_1805
80×cancel-sign-sub-inv_binary64_1749
74×add-cube-cbrt_binary64_1818
42×associate-+r+_binary64_1715
31×unpow-prod-down_binary64_1862 cube-prod_binary64_1811
18×add-log-exp_binary64_1822
12×associate-/r*_binary64_1727
11×sqr-pow_binary64_1755
10×add-exp-log_binary64_1821 cube-mult_binary64_1813 unpow3_binary64_1849
distribute-lft-out_binary64_1734
add-cbrt-cube_binary64_1819 log-prod_binary64_1869 distribute-lft-out--_binary64_1735
difference-of-squares_binary64_1752 sum-log_binary64_1874 pow1_binary64_1844
diff-log_binary64_1875
associate-/l*_binary64_1728 flip-+_binary64_1757 div-inv_binary64_1780 div-exp_binary64_1834 flip3-+_binary64_1786
frac-sub_binary64_1792 associate--l+_binary64_1720 sub-neg_binary64_1776 log-div_binary64_1870
flip3--_binary64_1787 log-pow_binary64_1872 +-commutative_binary64_1713 cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 clear-num_binary64_1782 flip--_binary64_1758 pow-to-exp_binary64_1852 pow-exp_binary64_1851 rem-log-exp_binary64_1824 associate-+r-_binary64_1717
Counts
4 → 203
Calls

4 calls:

41.0ms
(+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))))
31.0ms
(-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))
26.0ms
(log.f64 (+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))))
5.0ms
(/.f64 1/8 (pow.f64 x 3))

series156.0ms (2.4%)

Counts
4 → 12
Calls

4 calls:

80.0ms
(log.f64 (+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))))
34.0ms
(/.f64 1/8 (pow.f64 x 3))
23.0ms
(+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))))
19.0ms
(-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))

simplify119.0ms (1.8%)

Algorithm
egg-herbie
Counts
215 → 215
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
048973393
148973393

prune385.0ms (5.9%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New2150215
Fresh022
Picked011
Done022
Total2155220
Error
0b
Counts
220 → 5
Compiler

Compiled 4392 to 3145 computations (28.4% saved)

regimes215.0ms (3.3%)

Accuracy

Total 0.2b remaining (95.4%)

Threshold costs 0.2b (95.4%)

Compiler

Compiled 1165 to 887 computations (23.9% saved)

bsearch47.0ms (0.7%)

Steps
ItersRangePoint
6
0.7761437014994341
4.458122573049154
1.0126904852337015
10
-38395.577244555956
-6.566193378159182e-06
-1.071505362580263
Compiler

Compiled 1 to 1 computations (0% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
027781
127781

end0.0ms (0%)

sample3.4s (52%)

Algorithm
intervals
Results
1.3s2445×body1024valid
559.0ms1202×body2048valid
357.0ms1238×body512valid
156.0ms2433×body128valid
104.0ms645×body256valid
23.0ms37×body4096valid
Compiler

Compiled 403 to 310 computations (23.1% saved)

Profiling

Loading profile data...