Details

Time bar (total: 1.6s)

analyze2.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%0%100%0
0%0%100%1
Compiler

Compiled 16 to 11 computations (31.3% saved)

sample16.0ms (1%)

Algorithm
intervals
Results
6.0ms256×pre128true
4.0ms256×body128valid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify168.0ms (10.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
07010
17010

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1
Compiler

Compiled 14 to 8 computations (42.9% saved)

localize3.0ms (0.2%)

Local error

Found 1 expressions with local error:

0.0b
(*.f64 (+.f64 a b) (+.f64 a b))

rewrite13.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity_binary64_1799
pow1_binary64_1860
add-sqr-sqrt_binary64_1821
swap-sqr_binary64_1766 distribute-lft-out_binary64_1750 flip3-+_binary64_1802 flip-+_binary64_1773
add-cube-cbrt_binary64_1834
associate-*l*_binary64_1740 frac-times_binary64_1809 associate-*r*_binary64_1739
add-cbrt-cube_binary64_1835 add-exp-log_binary64_1837
associate-*r/_binary64_1741 associate-*l/_binary64_1742
pow2_binary64_1880 pow-sqr_binary64_1772 distribute-rgt-in_binary64_1749 distribute-lft-in_binary64_1748 add-log-exp_binary64_1838 prod-exp_binary64_1848 unswap-sqr_binary64_1767 pow-prod-up_binary64_1869 cbrt-unprod_binary64_1832 *-commutative_binary64_1730 pow-prod-down_binary64_1870 pow-plus_binary64_1862
Counts
1 → 40
Calls

1 calls:

10.0ms
(*.f64 (+.f64 a b) (+.f64 a b))

series28.0ms (1.7%)

Counts
1 → 3
Calls

1 calls:

27.0ms
(*.f64 (+.f64 a b) (+.f64 a b))

simplify41.0ms (2.5%)

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
05458523

prune43.0ms (2.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New41243
Fresh000
Picked101
Done000
Total42244

Merged error: 0b

Counts
44 → 2
Compiler

Compiled 674 to 289 computations (57.1% saved)

localize6.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(*.f64 a (+.f64 a b))
0.0b
(+.f64 (*.f64 a (+.f64 a b)) (*.f64 b (+.f64 a b)))
0.0b
(*.f64 b (+.f64 a b))

rewrite28.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
12×associate-*r/_binary64_1741
11×add-sqr-sqrt_binary64_1821 *-un-lft-identity_binary64_1799
associate-*r*_binary64_1739
pow1_binary64_1860 add-cube-cbrt_binary64_1834 add-cbrt-cube_binary64_1835 add-exp-log_binary64_1837 flip3-+_binary64_1802 flip-+_binary64_1773
associate-*l*_binary64_1740
add-log-exp_binary64_1838
distribute-rgt-in_binary64_1749 distribute-lft-in_binary64_1748 frac-add_binary64_1807
prod-exp_binary64_1848 unswap-sqr_binary64_1767 associate-+r+_binary64_1731 cbrt-unprod_binary64_1832 *-commutative_binary64_1730 pow-prod-down_binary64_1870 distribute-lft-out_binary64_1750 associate-+l+_binary64_1732
sum-log_binary64_1890 +-commutative_binary64_1729 distribute-rgt-out_binary64_1752
Counts
3 → 66
Calls

3 calls:

8.0ms
(+.f64 (*.f64 a (+.f64 a b)) (*.f64 b (+.f64 a b)))
7.0ms
(*.f64 b (+.f64 a b))
7.0ms
(*.f64 a (+.f64 a b))

series115.0ms (7%)

Counts
3 → 9
Calls

3 calls:

39.0ms
(*.f64 b (+.f64 a b))
39.0ms
(*.f64 a (+.f64 a b))
38.0ms
(+.f64 (*.f64 a (+.f64 a b)) (*.f64 b (+.f64 a b)))

simplify61.0ms (3.8%)

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
05498903

prune48.0ms (3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New75075
Fresh011
Picked011
Done000
Total75277

Merged error: 0b

Counts
77 → 2
Compiler

Compiled 1160 to 263 computations (77.3% saved)

localize7.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (+.f64 a b))
0.0b
(sqrt.f64 (+.f64 a b))
0.4b
(*.f64 (sqrt.f64 (+.f64 a b)) (pow.f64 (sqrt.f64 (+.f64 a b)) 3))
0.8b
(pow.f64 (sqrt.f64 (+.f64 a b)) 3)

rewrite43.0ms (2.6%)

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt_binary64_1821
38×sqrt-prod_binary64_1815
32×*-un-lft-identity_binary64_1799
20×associate-*r*_binary64_1739
18×sqrt-div_binary64_1816 add-cube-cbrt_binary64_1834 unpow-prod-down_binary64_1878 cube-prod_binary64_1827
12×unswap-sqr_binary64_1767
10×add-exp-log_binary64_1837
pow1_binary64_1860 flip3-+_binary64_1802 flip-+_binary64_1773
cube-div_binary64_1828
associate-*l*_binary64_1740 add-cbrt-cube_binary64_1835 distribute-lft-out_binary64_1750
add-log-exp_binary64_1838 sqr-pow_binary64_1771 frac-times_binary64_1809
prod-exp_binary64_1848 pow-unpow_binary64_1876 pow1/2_binary64_1879 sqrt-pow1_binary64_1817 pow-pow_binary64_1871
cube-mult_binary64_1829 pow-to-exp_binary64_1868 associate-*r/_binary64_1741 unpow3_binary64_1865 pow-exp_binary64_1867 rem-sqrt-square_binary64_1812 associate-*l/_binary64_1742
pow-prod-up_binary64_1869 cbrt-unprod_binary64_1832 *-commutative_binary64_1730 rem-cube-cbrt_binary64_1822 sqrt-pow2_binary64_1818
Counts
4 → 128
Calls

4 calls:

19.0ms
(*.f64 (sqrt.f64 (+.f64 a b)) (pow.f64 (sqrt.f64 (+.f64 a b)) 3))
6.0ms
(pow.f64 (sqrt.f64 (+.f64 a b)) 3)
3.0ms
(sqrt.f64 (+.f64 a b))
3.0ms
(sqrt.f64 (+.f64 a b))

series231.0ms (14.1%)

Counts
4 → 12
Calls

4 calls:

89.0ms
(pow.f64 (sqrt.f64 (+.f64 a b)) 3)
64.0ms
(*.f64 (sqrt.f64 (+.f64 a b)) (pow.f64 (sqrt.f64 (+.f64 a b)) 3))
40.0ms
(sqrt.f64 (+.f64 a b))
38.0ms
(sqrt.f64 (+.f64 a b))

simplify100.0ms (6.1%)

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
048941807
148941807

prune100.0ms (6.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1400140
Fresh000
Picked011
Done011
Total1402142

Merged error: 0b

Counts
142 → 2
Compiler

Compiled 2145 to 762 computations (64.5% saved)

regimes25.0ms (1.6%)

Compiler

Compiled 76 to 53 computations (30.3% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01116
11116

end0.0ms (0%)

sample555.0ms (33.9%)

Algorithm
intervals
Results
190.0ms8000×pre128true
141.0ms8000×body128valid
Compiler

Compiled 64 to 40 computations (37.5% saved)

Profiling

Loading profile data...