Details

Time bar (total: 3.0s)

analyze176.0ms (5.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0503929
011
111
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)

sample22.0ms (0.7%)

Algorithm
intervals
Results
15.0ms256×body128valid
Compiler

Compiled 39 to 32 computations (17.9% saved)

simplify82.0ms (2.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (76.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)

localize12.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
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.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)))
13.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))))

series172.0ms (5.7%)

Counts
4 → 12
Calls

4 calls:

78.0ms
(*.f64 (*.f64 (/.f64 (sqrt.f64 2) 4) (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))) (-.f64 1 (*.f64 v v)))
51.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))

simplify87.0ms (2.9%)

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049323693
149323693

prune238.0ms (7.9%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 3927 to 2923 computations (25.6% saved)

localize17.0ms (0.6%)

Local error

Found 4 expressions with local error:

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

rewrite49.0ms (1.6%)

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

4 calls:

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

series169.0ms (5.6%)

Counts
4 → 12
Calls

4 calls:

80.0ms
(*.f64 (/.f64 (sqrt.f64 2) 4) (*.f64 (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))) (-.f64 1 (*.f64 v v))))
45.0ms
(*.f64 (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))) (-.f64 1 (*.f64 v v)))
25.0ms
(sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))
17.0ms
(*.f64 3 (*.f64 v v))

simplify88.0ms (2.9%)

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049154109
149154109

prune231.0ms (7.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1480148
Fresh011
Picked011
Done000
Total1482150
Error
0b
Counts
150 → 2
Compiler

Compiled 4178 to 3068 computations (26.6% saved)

localize15.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

rewrite78.0ms (2.6%)

Algorithm
rewrite-expression-head
Rules
82×sqrt-div_binary64_1800
58×frac-times_binary64_1793
34×sqrt-prod_binary64_1799
31×associate-*l/_binary64_1726
30×associate-*r/_binary64_1725
29×flip3--_binary64_1787 associate-*l*_binary64_1724 flip--_binary64_1758
27×pow1_binary64_1844
24×add-sqr-sqrt_binary64_1805
23×add-cbrt-cube_binary64_1819 add-exp-log_binary64_1821
22×*-un-lft-identity_binary64_1783
21×add-cube-cbrt_binary64_1818
18×times-frac_binary64_1789
16×pow-prod-down_binary64_1854
12×cbrt-unprod_binary64_1816 prod-exp_binary64_1832
associate-*r*_binary64_1723
pow1/2_binary64_1863 sqrt-pow1_binary64_1801 add-log-exp_binary64_1822
*-commutative_binary64_1714
difference-of-squares_binary64_1752 distribute-lft-in_binary64_1732 sqrt-unprod_binary64_1803 cancel-sign-sub-inv_binary64_1749 distribute-rgt-in_binary64_1733 sub-neg_binary64_1776
div-inv_binary64_1780 unswap-sqr_binary64_1751 rem-sqrt-square_binary64_1796
Counts
4 → 150
Calls

4 calls:

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

series171.0ms (5.6%)

Counts
4 → 12
Calls

4 calls:

73.0ms
(*.f64 (*.f64 (sqrt.f64 (/.f64 (sqrt.f64 2) 4)) (*.f64 (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))) (sqrt.f64 (/.f64 (sqrt.f64 2) 4)))) (-.f64 1 (*.f64 v v)))
53.0ms
(*.f64 (sqrt.f64 (/.f64 (sqrt.f64 2) 4)) (*.f64 (sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v)))) (sqrt.f64 (/.f64 (sqrt.f64 2) 4))))
24.0ms
(sqrt.f64 (-.f64 1 (*.f64 3 (*.f64 v v))))
20.0ms
(*.f64 3 (*.f64 v v))

simplify84.0ms (2.8%)

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
050214964

prune318.0ms (10.5%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1620162
Fresh000
Picked011
Done011
Total1622164
Error
0b
Counts
164 → 2
Compiler

Compiled 5179 to 4027 computations (22.2% saved)

regimes85.0ms (2.8%)

Accuracy

Total 0.0b remaining (94.3%)

Threshold costs 0.0b (94.3%)

Compiler

Compiled 971 to 791 computations (18.5% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05429
15429

end0.0ms (0%)

sample870.0ms (28.8%)

Algorithm
intervals
Results
433.0ms8000×body128valid
0.0msbody128nan
Compiler

Compiled 314 to 257 computations (18.2% saved)

Profiling

Loading profile data...