Details

Time bar (total: 3.9s)

analyze219.0ms (5.6%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0502418
022
122
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
50%50%0.1%3
50%50%0.1%4
62.4%37.5%0.1%5
62.4%31.2%6.3%6
68.7%21.9%9.5%7
68.7%17.2%14.1%8
71.8%11.7%16.5%9
71.8%9%19.2%10
73.4%6%20.6%11
73.4%4.6%22%12
74.1%3.1%22.8%13
74.1%2.3%23.5%14
Symmetry

(sort a x)

Compiler

Compiled 7 to 7 computations (0% saved)

sample43.0ms (1.1%)

Algorithm
intervals
Results
12.0ms43×body2048valid
8.0ms56×body1024valid
3.0ms36×body512valid
2.0ms98×body128valid
1.0ms23×body256valid
0.0msbody128invalid
Compiler

Compiled 13 to 15 computations (-15.4% saved)

simplify64.0ms (1.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
048759
148759

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 12 to 12 computations (0% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(exp.f64 (*.f64 a x))
3.5b
(-.f64 (exp.f64 (*.f64 a x)) 1)

rewrite34.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
30.5b
Rules
add-sqr-sqrt_binary64_1805
add-log-exp_binary64_1822 *-un-lft-identity_binary64_1783
add-cube-cbrt_binary64_1818 cancel-sign-sub-inv_binary64_1749
pow1_binary64_1844 add-exp-log_binary64_1821 add-cbrt-cube_binary64_1819 difference-of-squares_binary64_1752
diff-log_binary64_1875 flip3--_binary64_1787 sub-neg_binary64_1776 flip--_binary64_1758 difference-of-sqr-1_binary64_1753 distribute-lft-out--_binary64_1735 exp-to-pow_binary64_1845 exp-prod_binary64_1835 rem-exp-log_binary64_1823
Counts
2 → 28
Calls

2 calls:

4.0ms
(-.f64 (exp.f64 (*.f64 a x)) 1)
1.0ms
(exp.f64 (*.f64 a x))
Compiler

Compiled 346 to 156 computations (54.9% saved)

series97.0ms (2.5%)

Error
0.1b
Counts
2 → 24
Calls

2 calls:

47.0ms
(-.f64 (exp.f64 (*.f64 a x)) 1)
33.0ms
(exp.f64 (*.f64 a x))
Compiler

Compiled 648 to 510 computations (21.3% saved)

simplify61.0ms (1.5%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04917652
14917652

prune42.0ms (1.1%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New47552
Fresh000
Picked101
Done000
Total48553
Error
0.1b
Counts
53 → 5
Compiler

Compiled 615 to 302 computations (50.9% saved)

localize2.0ms (0.1%)

rewrite0.0ms (0%)

Algorithm
rewrite-expression-head
Error
0.1b
Counts
0 → 0
Compiler

Compiled 0 to 0 computations (0% saved)

series0.0ms (0%)

Error
0.1b
Counts
0 → 0
Compiler

Compiled 0 to 0 computations (0% saved)

simplify7.0ms (0.2%)

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune4.0ms (0.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New000
Fresh044
Picked011
Done000
Total055
Error
0.1b
Counts
5 → 5
Compiler

Compiled 58 to 44 computations (24.1% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.2b
(pow.f64 (*.f64 a x) 3)
2.4b
(*.f64 a (+.f64 x (*.f64 1/2 (*.f64 a (*.f64 x x)))))
9.6b
(+.f64 (*.f64 a (+.f64 x (*.f64 1/2 (*.f64 a (*.f64 x x))))) (*.f64 1/6 (pow.f64 (*.f64 a x) 3)))
9.7b
(*.f64 a (*.f64 x x))

rewrite116.0ms (2.9%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
14×pow1_binary64_1844 add-exp-log_binary64_1821 add-cbrt-cube_binary64_1819
11×add-sqr-sqrt_binary64_1805
add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
add-log-exp_binary64_1822 associate-*l*_binary64_1724
pow-prod-down_binary64_1854 prod-exp_binary64_1832 cbrt-unprod_binary64_1816
associate-*r*_binary64_1723
pow-unpow_binary64_1860
unswap-sqr_binary64_1751 *-commutative_binary64_1714 flip3-+_binary64_1786 flip-+_binary64_1757 distribute-rgt-in_binary64_1733 associate-+l+_binary64_1716 distribute-lft-in_binary64_1732 associate-*r/_binary64_1725 pow-pow_binary64_1855 pow-exp_binary64_1851 rem-cube-cbrt_binary64_1806
sum-log_binary64_1874 +-commutative_binary64_1713 unpow-prod-down_binary64_1862 pow-to-exp_binary64_1852 unpow3_binary64_1849 cube-mult_binary64_1813 cube-prod_binary64_1811 sqr-pow_binary64_1755
Counts
4 → 76
Calls

4 calls:

8.0ms
(+.f64 (*.f64 a (+.f64 x (*.f64 1/2 (*.f64 a (*.f64 x x))))) (*.f64 1/6 (pow.f64 (*.f64 a x) 3)))
6.0ms
(*.f64 a (*.f64 x x))
6.0ms
(*.f64 a (+.f64 x (*.f64 1/2 (*.f64 a (*.f64 x x)))))
4.0ms
(pow.f64 (*.f64 a x) 3)
Compiler

Compiled 2101 to 1026 computations (51.2% saved)

series619.0ms (15.7%)

Error
0.1b
Counts
4 → 42
Calls

4 calls:

308.0ms
(+.f64 (*.f64 a (+.f64 x (*.f64 1/2 (*.f64 a (*.f64 x x))))) (*.f64 1/6 (pow.f64 (*.f64 a x) 3)))
138.0ms
(*.f64 a (+.f64 x (*.f64 1/2 (*.f64 a (*.f64 x x)))))
75.0ms
(pow.f64 (*.f64 a x) 3)
60.0ms
(*.f64 a (*.f64 x x))
Compiler

Compiled 1980 to 1485 computations (25% saved)

simplify65.0ms (1.7%)

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
051041721

prune119.0ms (3%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1171118
Fresh033
Picked101
Done101
Total1194123
Error
0.0b
Counts
123 → 4
Compiler

Compiled 2568 to 1310 computations (49% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 1/2 (*.f64 1/6 (*.f64 a x)))
0.1b
(*.f64 (pow.f64 (*.f64 a x) 2) (+.f64 1/2 (*.f64 1/6 (*.f64 a x))))
0.3b
(pow.f64 (*.f64 a x) 2)
0.5b
(*.f64 1/6 (*.f64 a x))

rewrite108.0ms (2.7%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
20×add-exp-log_binary64_1821
12×pow1_binary64_1844 add-sqr-sqrt_binary64_1805
11×add-cbrt-cube_binary64_1819
prod-exp_binary64_1832 associate-*l*_binary64_1724
add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
add-log-exp_binary64_1822
pow-prod-down_binary64_1854 cbrt-unprod_binary64_1816 associate-*r*_binary64_1723 pow-exp_binary64_1851
pow-unpow_binary64_1860 unpow2_binary64_1848 sqr-pow_binary64_1755 unswap-sqr_binary64_1751
*-commutative_binary64_1714 unpow-prod-down_binary64_1862 pow-pow_binary64_1855 pow-to-exp_binary64_1852 flip3-+_binary64_1786 associate-*r/_binary64_1725 flip-+_binary64_1757
distribute-rgt-in_binary64_1733 distribute-lft-in_binary64_1732 sum-log_binary64_1874 +-commutative_binary64_1713
Counts
4 → 76
Calls

4 calls:

8.0ms
(*.f64 (pow.f64 (*.f64 a x) 2) (+.f64 1/2 (*.f64 1/6 (*.f64 a x))))
5.0ms
(*.f64 1/6 (*.f64 a x))
4.0ms
(pow.f64 (*.f64 a x) 2)
4.0ms
(+.f64 1/2 (*.f64 1/6 (*.f64 a x)))
Compiler

Compiled 1871 to 1005 computations (46.3% saved)

series404.0ms (10.3%)

Error
0.0b
Counts
4 → 36
Calls

4 calls:

189.0ms
(*.f64 (pow.f64 (*.f64 a x) 2) (+.f64 1/2 (*.f64 1/6 (*.f64 a x))))
70.0ms
(+.f64 1/2 (*.f64 1/6 (*.f64 a x)))
59.0ms
(pow.f64 (*.f64 a x) 2)
56.0ms
(*.f64 1/6 (*.f64 a x))
Compiler

Compiled 1688 to 1121 computations (33.6% saved)

simplify73.0ms (1.8%)

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
050331450

prune100.0ms (2.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1120112
Fresh033
Picked011
Done000
Total1124116
Error
0.0b
Counts
116 → 4
Compiler

Compiled 2237 to 1134 computations (49.3% saved)

regimes249.0ms (6.3%)

Accuracy

Total 0.4b remaining (89.1%)

Threshold costs 0.4b (89.1%)

Compiler

Compiled 1881 to 1394 computations (25.9% saved)

bsearch1.0ms (0%)

Compiler

Compiled 3 to 3 computations (0% saved)

simplify11.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03862
13862
Remove

(sort a x)

Compiler

Compiled 82 to 42 computations (48.8% saved)

end0.0ms (0%)

sample1.5s (37.4%)

Algorithm
intervals
Results
398.0ms1449×body2048valid
242.0ms1695×body1024valid
98.0ms1166×body512valid
75.0ms3061×body128valid
30.0ms629×body256valid
4.0ms158×body128invalid
Compiler

Compiled 394 to 279 computations (29.2% saved)

Profiling

Loading profile data...