Details

Time bar (total: 5.7s)

analyze242.0ms (4.3%)

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)

sample48.0ms (0.8%)

Algorithm
intervals
Results
14.0ms41×body2048valid
9.0ms51×body1024valid
3.0ms112×body128valid
3.0ms33×body512valid
1.0ms19×body256valid
0.0msbody128invalid
Compiler

Compiled 13 to 15 computations (-15.4% saved)

simplify94.0ms (1.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (84.0ms)

IterNodesCost
048759
148759

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 12 to 12 computations (0% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite53.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
26.6b
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)

series126.0ms (2.2%)

Error
0.3b
Counts
2 → 24
Calls

2 calls:

51.0ms
(-.f64 (exp.f64 (*.f64 a x)) 1)
50.0ms
(exp.f64 (*.f64 a x))
Compiler

Compiled 648 to 510 computations (21.3% saved)

simplify73.0ms (1.3%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
04917652
14917652

prune50.0ms (0.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New47552
Fresh000
Picked011
Done000
Total47653
Error
0.2b
Counts
53 → 6
Compiler

Compiled 636 to 312 computations (50.9% saved)

localize2.0ms (0%)

rewrite0.0ms (0%)

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

Compiled 0 to 0 computations (0% saved)

series0.0ms (0%)

Error
0.2b
Counts
0 → 0
Compiler

Compiled 0 to 0 computations (0% saved)

simplify11.0ms (0.2%)

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
000

prune9.0ms (0.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New000
Fresh044
Picked011
Done011
Total066
Error
0.2b
Counts
6 → 6
Compiler

Compiled 79 to 54 computations (31.6% saved)

localize23.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.3b
(pow.f64 (*.f64 a x) 3)
1.7b
(*.f64 a (+.f64 x (*.f64 1/2 (*.f64 a (*.f64 x x)))))
9.3b
(*.f64 a (*.f64 x x))
12.3b
(+.f64 (*.f64 a (+.f64 x (*.f64 1/2 (*.f64 a (*.f64 x x))))) (*.f64 1/6 (pow.f64 (*.f64 a x) 3)))

rewrite147.0ms (2.6%)

Algorithm
rewrite-expression-head
Error
0.1b
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
flip3-+_binary64_1786 flip-+_binary64_1757 distribute-rgt-in_binary64_1733 associate-+l+_binary64_1716 distribute-lft-in_binary64_1732 unswap-sqr_binary64_1751 *-commutative_binary64_1714 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:

15.0ms
(+.f64 (*.f64 a (+.f64 x (*.f64 1/2 (*.f64 a (*.f64 x x))))) (*.f64 1/6 (pow.f64 (*.f64 a x) 3)))
13.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)

series755.0ms (13.3%)

Error
0.2b
Counts
4 → 42
Calls

4 calls:

346.0ms
(+.f64 (*.f64 a (+.f64 x (*.f64 1/2 (*.f64 a (*.f64 x x))))) (*.f64 1/6 (pow.f64 (*.f64 a x) 3)))
162.0ms
(*.f64 a (+.f64 x (*.f64 1/2 (*.f64 a (*.f64 x x)))))
106.0ms
(pow.f64 (*.f64 a x) 3)
85.0ms
(*.f64 a (*.f64 x x))
Compiler

Compiled 1980 to 1485 computations (25% saved)

simplify70.0ms (1.2%)

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
051041721

prune148.0ms (2.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1153118
Fresh033
Picked101
Done112
Total1177124
Error
0.1b
Counts
124 → 7
Compiler

Compiled 2642 to 1356 computations (48.7% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (*.f64 a x) (*.f64 (pow.f64 (*.f64 a x) 2) (+.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.2b
(pow.f64 (*.f64 a x) 2)
0.3b
(*.f64 1/6 (*.f64 a x))

rewrite126.0ms (2.2%)

Algorithm
rewrite-expression-head
Error
0.1b
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 distribute-rgt-in_binary64_1733 distribute-lft-in_binary64_1732 flip3-+_binary64_1786 associate-*r/_binary64_1725 flip-+_binary64_1757 associate-+r+_binary64_1715
sum-log_binary64_1874 +-commutative_binary64_1713
Counts
4 → 78
Calls

4 calls:

7.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))
5.0ms
(+.f64 (*.f64 a x) (*.f64 (pow.f64 (*.f64 a x) 2) (+.f64 1/2 (*.f64 1/6 (*.f64 a x)))))
4.0ms
(pow.f64 (*.f64 a x) 2)
Compiler

Compiled 2017 to 1065 computations (47.2% saved)

series851.0ms (15%)

Error
0.1b
Counts
4 → 42
Calls

4 calls:

399.0ms
(+.f64 (*.f64 a x) (*.f64 (pow.f64 (*.f64 a x) 2) (+.f64 1/2 (*.f64 1/6 (*.f64 a x)))))
233.0ms
(*.f64 (pow.f64 (*.f64 a x) 2) (+.f64 1/2 (*.f64 1/6 (*.f64 a x))))
93.0ms
(pow.f64 (*.f64 a x) 2)
69.0ms
(*.f64 1/6 (*.f64 a x))
Compiler

Compiled 1920 to 1415 computations (26.3% saved)

simplify46.0ms (0.8%)

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
052511923

prune143.0ms (2.5%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1200120
Fresh055
Picked011
Done011
Total1207127
Error
0.1b
Counts
127 → 7
Compiler

Compiled 2379 to 1209 computations (49.2% saved)

regimes517.0ms (9.1%)

Accuracy

Total 0.2b remaining (83.3%)

Threshold costs 0.2b (83.3%)

Compiler

Compiled 3410 to 2320 computations (32% saved)

bsearch3.0ms (0%)

Compiler

Compiled 3 to 3 computations (0% saved)

simplify16.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%)

sample2.1s (36.8%)

Algorithm
intervals
Results
523.0ms1460×body2048valid
305.0ms1724×body1024valid
106.0ms1083×body512valid
96.0ms3124×body128valid
41.0ms609×body256valid
4.0ms145×body128invalid
Compiler

Compiled 700 to 465 computations (33.6% saved)

Profiling

Loading profile data...