Details

Time bar (total: 5.7s)

analyze224.0ms (3.9%)

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)

sample42.0ms (0.7%)

Algorithm
intervals
Results
11.0ms49×body2048valid
8.0ms59×body1024valid
2.0ms99×body128valid
2.0ms24×body512valid
1.0ms25×body256valid
0.0msbody128invalid
Compiler

Compiled 13 to 15 computations (-15.4% saved)

simplify65.0ms (1.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
048759
148759

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
30.0b
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))
5.1b
(-.f64 (exp.f64 (*.f64 a x)) 1)

rewrite37.0ms (0.6%)

Algorithm
rewrite-expression-head
Error
29.9b
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:

9.0ms
(-.f64 (exp.f64 (*.f64 a x)) 1)
2.0ms
(exp.f64 (*.f64 a x))
Compiler

Compiled 346 to 156 computations (54.9% saved)

series91.0ms (1.6%)

Error
0.3b
Counts
2 → 20
Calls

2 calls:

46.0ms
(-.f64 (exp.f64 (*.f64 a x)) 1)
32.0ms
(exp.f64 (*.f64 a x))
Compiler

Compiled 528 to 422 computations (20.1% saved)

simplify94.0ms (1.6%)

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 0 (83.0ms)

IterNodesCost
04961510
14961510

prune35.0ms (0.6%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New42648
Fresh000
Picked101
Done000
Total43649
Error
0.3b
Counts
49 → 6
Compiler

Compiled 516 to 259 computations (49.8% saved)

localize2.0ms (0%)

rewrite0.0ms (0%)

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

Compiled 0 to 0 computations (0% saved)

series0.0ms (0%)

Error
0.3b
Counts
0 → 0
Compiler

Compiled 0 to 0 computations (0% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune5.0ms (0.1%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New000
Fresh055
Picked011
Done000
Total066
Error
0.3b
Counts
6 → 6
Compiler

Compiled 59 to 50 computations (15.3% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

1.2b
(*.f64 x (+.f64 a (*.f64 x (+.f64 (*.f64 1/2 (*.f64 a a)) (*.f64 x (*.f64 1/6 (pow.f64 a 3)))))))
4.9b
(*.f64 x (*.f64 1/6 (pow.f64 a 3)))
7.3b
(*.f64 x (+.f64 (*.f64 1/2 (*.f64 a a)) (*.f64 x (*.f64 1/6 (pow.f64 a 3)))))
11.2b
(+.f64 (*.f64 1/2 (*.f64 a a)) (*.f64 x (*.f64 1/6 (pow.f64 a 3))))

rewrite136.0ms (2.4%)

Algorithm
rewrite-expression-head
Error
0.3b
Rules
18×add-exp-log_binary64_1821
13×add-cbrt-cube_binary64_1819 add-sqr-sqrt_binary64_1805
10×pow1_binary64_1844
add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783 prod-exp_binary64_1832 associate-*l*_binary64_1724
associate-*r*_binary64_1723
add-log-exp_binary64_1822
cbrt-unprod_binary64_1816
associate-*r/_binary64_1725
flip3-+_binary64_1786 flip-+_binary64_1757 pow-prod-down_binary64_1854 *-commutative_binary64_1714
unswap-sqr_binary64_1751 distribute-rgt-in_binary64_1733 distribute-lft-in_binary64_1732
sum-log_binary64_1874 +-commutative_binary64_1713 pow-to-exp_binary64_1852 pow-exp_binary64_1851
Counts
4 → 74
Calls

4 calls:

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

Compiled 2333 to 1422 computations (39% saved)

series815.0ms (14.3%)

Error
0.3b
Counts
4 → 48
Calls

4 calls:

313.0ms
(*.f64 x (+.f64 a (*.f64 x (+.f64 (*.f64 1/2 (*.f64 a a)) (*.f64 x (*.f64 1/6 (pow.f64 a 3)))))))
202.0ms
(*.f64 x (+.f64 (*.f64 1/2 (*.f64 a a)) (*.f64 x (*.f64 1/6 (pow.f64 a 3)))))
169.0ms
(+.f64 (*.f64 1/2 (*.f64 a a)) (*.f64 x (*.f64 1/6 (pow.f64 a 3))))
90.0ms
(*.f64 x (*.f64 1/6 (pow.f64 a 3)))
Compiler

Compiled 2060 to 1566 computations (24% saved)

simplify51.0ms (0.9%)

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
054422357

prune124.0ms (2.2%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1202122
Fresh044
Picked011
Done011
Total1208128
Error
0.3b
Counts
128 → 8
Compiler

Compiled 2770 to 1621 computations (41.5% saved)

localize26.0ms (0.5%)

Local error

Found 4 expressions with local error:

10.9b
(cbrt.f64 (+.f64 a (*.f64 x (+.f64 (*.f64 1/2 (*.f64 a a)) (*.f64 x (*.f64 1/6 (pow.f64 a 3)))))))
10.9b
(cbrt.f64 (+.f64 a (*.f64 x (*.f64 (*.f64 a a) (+.f64 1/2 (*.f64 (*.f64 1/6 x) a))))))
10.9b
(cbrt.f64 (+.f64 a (*.f64 x (*.f64 (*.f64 a a) (+.f64 1/2 (*.f64 (*.f64 1/6 x) a))))))
11.2b
(+.f64 (*.f64 1/2 (*.f64 a a)) (*.f64 x (*.f64 1/6 (pow.f64 a 3))))

rewrite361.0ms (6.3%)

Algorithm
rewrite-expression-head
Error
0.3b
Rules
cbrt-prod_binary64_1814
add-cube-cbrt_binary64_1818 add-sqr-sqrt_binary64_1805 *-un-lft-identity_binary64_1783
add-log-exp_binary64_1822 cbrt-div_binary64_1815
pow1_binary64_1844 add-exp-log_binary64_1821 add-cbrt-cube_binary64_1819 flip3-+_binary64_1786 flip-+_binary64_1757
pow1/3_binary64_1865
sum-log_binary64_1874 +-commutative_binary64_1713
Counts
4 → 50
Calls

4 calls:

7.0ms
(+.f64 (*.f64 1/2 (*.f64 a a)) (*.f64 x (*.f64 1/6 (pow.f64 a 3))))
3.0ms
(cbrt.f64 (+.f64 a (*.f64 x (*.f64 (*.f64 a a) (+.f64 1/2 (*.f64 (*.f64 1/6 x) a))))))
3.0ms
(cbrt.f64 (+.f64 a (*.f64 x (*.f64 (*.f64 a a) (+.f64 1/2 (*.f64 (*.f64 1/6 x) a))))))
3.0ms
(cbrt.f64 (+.f64 a (*.f64 x (+.f64 (*.f64 1/2 (*.f64 a a)) (*.f64 x (*.f64 1/6 (pow.f64 a 3)))))))
Compiler

Compiled 3619 to 2193 computations (39.4% saved)

series704.0ms (12.3%)

Error
0.3b
Counts
4 → 42
Calls

4 calls:

181.0ms
(+.f64 (*.f64 1/2 (*.f64 a a)) (*.f64 x (*.f64 1/6 (pow.f64 a 3))))
149.0ms
(cbrt.f64 (+.f64 a (*.f64 x (+.f64 (*.f64 1/2 (*.f64 a a)) (*.f64 x (*.f64 1/6 (pow.f64 a 3)))))))
148.0ms
(cbrt.f64 (+.f64 a (*.f64 x (*.f64 (*.f64 a a) (+.f64 1/2 (*.f64 (*.f64 1/6 x) a))))))
137.0ms
(cbrt.f64 (+.f64 a (*.f64 x (*.f64 (*.f64 a a) (+.f64 1/2 (*.f64 (*.f64 1/6 x) a))))))
Compiler

Compiled 6228 to 4376 computations (29.7% saved)

simplify86.0ms (1.5%)

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
049022488
149022488

prune240.0ms (4.2%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New91192
Fresh145
Picked101
Done022
Total937100
Error
0.3b
Counts
100 → 7
Compiler

Compiled 5413 to 3317 computations (38.7% saved)

regimes522.0ms (9.1%)

Accuracy

Total 0.5b remaining (72.7%)

Threshold costs 0.5b (72.7%)

Compiler

Compiled 6241 to 4319 computations (30.8% saved)

bsearch4.0ms (0.1%)

Compiler

Compiled 3 to 3 computations (0% saved)

simplify10.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02527
12527
Remove

(sort a x)

Compiler

Compiled 36 to 24 computations (33.3% saved)

end0.0ms (0%)

sample2.0s (35.3%)

Algorithm
intervals
Results
418.0ms1463×body2048valid
252.0ms1741×body1024valid
96.0ms1128×body512valid
75.0ms3033×body128valid
32.0ms635×body256valid
3.0ms131×body128invalid
Compiler

Compiled 1244 to 855 computations (31.3% saved)

Profiling

Loading profile data...