Details

Time bar (total: 3.0s)

analyze5.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
25%25%50%4
37.5%12.5%50%5
43.7%6.2%50%6
46.9%3.1%50%7
48.4%1.6%50%8
49.2%0.8%50%9
49.6%0.4%50%10
49.8%0.2%50%11
49.9%0.1%50%12
49.9%0%50.1%13
49.9%0%50.1%14
Compiler

Compiled 20 to 16 computations (20% saved)

sample18.0ms (0.6%)

Algorithm
intervals
Results
13.0ms256×body128valid
Compiler

Compiled 39 to 32 computations (17.9% saved)

simplify169.0ms (5.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
0503929

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 38 to 30 computations (21.1% saved)

localize15.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))
0.0b
(*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))
0.0b
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
0.2b
(*.f64 3 (*.f64 v v))

rewrite48.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt_binary64_1805
26×associate-*l*_binary64_1724
23×add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 *-un-lft-identity_binary64_1783
22×add-cube-cbrt_binary64_1818 times-frac_binary64_1789
20×sqrt-prod_binary64_1799
18×sqrt-div_binary64_1800 frac-times_binary64_1793
17×pow1_binary64_1844
15×flip3--_binary64_1787 flip--_binary64_1758
12×associate-*r*_binary64_1723
10×associate-*r/_binary64_1725 cbrt-unprod_binary64_1816 prod-exp_binary64_1832
associate-*l/_binary64_1726
pow-prod-down_binary64_1854 unswap-sqr_binary64_1751
add-log-exp_binary64_1822
*-commutative_binary64_1714
difference-of-squares_binary64_1752 distribute-lft-in_binary64_1732 cancel-sign-sub-inv_binary64_1749 cbrt-undiv_binary64_1817 distribute-rgt-in_binary64_1733 div-exp_binary64_1834 sub-neg_binary64_1776
div-inv_binary64_1780 pow1/2_binary64_1863 sqrt-pow1_binary64_1801 rem-sqrt-square_binary64_1796
Counts
4 → 129
Calls

4 calls:

14.0ms
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
12.0ms
(*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))
6.0ms
(*.f64 3 (*.f64 v v))
3.0ms
(sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))

series182.0ms (6.1%)

Counts
4 → 12
Calls

4 calls:

85.0ms
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
54.0ms
(*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))
26.0ms
(sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))
18.0ms
(*.f64 3 (*.f64 v v))

simplify83.0ms (2.8%)

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049323693
149323693

prune237.0ms (8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1392141
Fresh000
Picked101
Done000
Total1402142
Error
0b
Counts
142 → 2
Compiler

Compiled 3925 to 2921 computations (25.6% saved)

localize13.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) 3)) (-.f64 1 (*.f64 v v)))
0.0b
(cbrt.f64 (pow.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) 3))
0.2b
(*.f64 3 (*.f64 v v))
1.0b
(pow.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) 3)

rewrite47.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
25×cube-div_binary64_1812
20×cbrt-div_binary64_1815 sqrt-div_binary64_1800 frac-times_binary64_1793
18×cbrt-prod_binary64_1814
17×add-sqr-sqrt_binary64_1805 add-exp-log_binary64_1821
16×flip3--_binary64_1787 add-cbrt-cube_binary64_1819 flip--_binary64_1758
14×associate-*l*_binary64_1724 pow1_binary64_1844
12×associate-*r/_binary64_1725
11×*-un-lft-identity_binary64_1783
10×add-cube-cbrt_binary64_1818 associate-*l/_binary64_1726
cbrt-unprod_binary64_1816 prod-exp_binary64_1832 associate-*r*_binary64_1723
pow-prod-down_binary64_1854
sqr-pow_binary64_1755 unswap-sqr_binary64_1751 add-log-exp_binary64_1822
rem-cube-cbrt_binary64_1806 cube-mult_binary64_1813 pow-unpow_binary64_1860 unpow3_binary64_1849 unpow-prod-down_binary64_1862 pow-exp_binary64_1851 cube-prod_binary64_1811
difference-of-squares_binary64_1752 distribute-lft-in_binary64_1732 cancel-sign-sub-inv_binary64_1749 *-commutative_binary64_1714 distribute-rgt-in_binary64_1733 pow-pow_binary64_1855 sub-neg_binary64_1776
rem-cbrt-cube_binary64_1807 cbrt-undiv_binary64_1817 div-exp_binary64_1834 pow1/3_binary64_1865 pow-to-exp_binary64_1852
Counts
4 → 121
Calls

4 calls:

11.0ms
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) 3)) (-.f64 1 (*.f64 v v)))
11.0ms
(pow.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) 3)
8.0ms
(*.f64 3 (*.f64 v v))
3.0ms
(cbrt.f64 (pow.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) 3))

series259.0ms (8.7%)

Counts
4 → 12
Calls

4 calls:

104.0ms
(pow.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) 3)
77.0ms
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) 3)) (-.f64 1 (*.f64 v v)))
60.0ms
(cbrt.f64 (pow.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) 3))
17.0ms
(*.f64 3 (*.f64 v v))

simplify89.0ms (3%)

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049583914
149583914

prune234.0ms (7.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1330133
Fresh011
Picked011
Done000
Total1332135
Error
0b
Counts
135 → 2
Compiler

Compiled 4108 to 3102 computations (24.5% saved)

localize14.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))
0.0b
(*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))
0.0b
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
0.2b
(*.f64 3 (*.f64 v v))

rewrite52.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt_binary64_1805
26×associate-*l*_binary64_1724
23×add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821 *-un-lft-identity_binary64_1783
22×add-cube-cbrt_binary64_1818 times-frac_binary64_1789
20×sqrt-prod_binary64_1799
18×sqrt-div_binary64_1800 frac-times_binary64_1793
17×pow1_binary64_1844
15×flip3--_binary64_1787 flip--_binary64_1758
12×associate-*r*_binary64_1723
10×associate-*r/_binary64_1725 cbrt-unprod_binary64_1816 prod-exp_binary64_1832
associate-*l/_binary64_1726
pow-prod-down_binary64_1854 unswap-sqr_binary64_1751
add-log-exp_binary64_1822
*-commutative_binary64_1714
difference-of-squares_binary64_1752 distribute-lft-in_binary64_1732 cancel-sign-sub-inv_binary64_1749 cbrt-undiv_binary64_1817 distribute-rgt-in_binary64_1733 div-exp_binary64_1834 sub-neg_binary64_1776
div-inv_binary64_1780 pow1/2_binary64_1863 sqrt-pow1_binary64_1801 rem-sqrt-square_binary64_1796
Counts
4 → 129
Calls

4 calls:

14.0ms
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
12.0ms
(*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))
6.0ms
(*.f64 3 (*.f64 v v))
3.0ms
(sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))

series158.0ms (5.3%)

Counts
4 → 12
Calls

4 calls:

67.0ms
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
47.0ms
(*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))))
26.0ms
(sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))
17.0ms
(*.f64 3 (*.f64 v v))

simplify84.0ms (2.8%)

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049323693
149323693

prune241.0ms (8.1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1410141
Fresh000
Picked011
Done011
Total1412143
Error
0b
Counts
143 → 2
Compiler

Compiled 4164 to 3168 computations (23.9% saved)

regimes104.0ms (3.5%)

Accuracy

Total 0.0b remaining (91.6%)

Threshold costs 0.0b (91.6%)

Compiler

Compiled 1316 to 1085 computations (17.6% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05634
15634

end0.0ms (0%)

sample920.0ms (30.9%)

Algorithm
intervals
Results
410.0ms8000×body128valid
0.0msbody128nan
Compiler

Compiled 432 to 358 computations (17.1% saved)

Profiling

Loading profile data...