Details

Time bar (total: 12.6s)

analyze275.0ms (2.2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0497880
1497880
022
122
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%50%50%4
0%50%50%5
12.5%37.5%50%6
18.7%31.2%50%7
28.1%21.9%50%8
32.8%17.2%50%9
38.2%11.7%50%10
41%9%50%11
43.9%6%50%12
45.4%4.6%50%13
46.9%3.1%50%14
Compiler

Compiled 29 to 22 computations (24.1% saved)

sample27.0ms (0.2%)

Algorithm
intervals
Results
16.0ms256×body128valid
Compiler

Compiled 57 to 45 computations (21.1% saved)

simplify65.0ms (0.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
0499040
1499040

prune8.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
0.4b
Counts
2 → 1
Compiler

Compiled 52 to 40 computations (23.1% saved)

localize22.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 5 (*.f64 v v))
0.2b
(*.f64 PI.f64 t)
0.3b
(/.f64 (-.f64 1 (*.f64 5 (*.f64 v v))) (*.f64 (sqrt.f64 (+.f64 2 (*.f64 v (*.f64 -6 v)))) (*.f64 (*.f64 PI.f64 t) (-.f64 1 (*.f64 v v)))))
0.5b
(*.f64 (sqrt.f64 (+.f64 2 (*.f64 v (*.f64 -6 v)))) (*.f64 (*.f64 PI.f64 t) (-.f64 1 (*.f64 v v))))

rewrite311.0ms (2.5%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
34×add-exp-log_binary64_1821 add-cbrt-cube_binary64_1819
20×pow1_binary64_1844
16×prod-exp_binary64_1832 cbrt-unprod_binary64_1816 associate-*r/_binary64_1725
14×add-sqr-sqrt_binary64_1805
12×sqrt-div_binary64_1800 associate-*l*_binary64_1724
11×add-cube-cbrt_binary64_1818 *-un-lft-identity_binary64_1783
10×pow-prod-down_binary64_1854
frac-times_binary64_1793 distribute-rgt-in_binary64_1733 distribute-lft-in_binary64_1732 associate-/r/_binary64_1729
flip3--_binary64_1787 flip--_binary64_1758
flip3-+_binary64_1786 flip-+_binary64_1757
associate-*r*_binary64_1723
add-log-exp_binary64_1822 sub-neg_binary64_1776 cancel-sign-sub-inv_binary64_1749 associate-*l/_binary64_1726 div-exp_binary64_1834 cbrt-undiv_binary64_1817
sqrt-prod_binary64_1799 *-commutative_binary64_1714 times-frac_binary64_1789 associate-/l*_binary64_1728
associate-/l/_binary64_1730 unswap-sqr_binary64_1751
frac-2neg_binary64_1794 div-sub_binary64_1788 clear-num_binary64_1782 div-inv_binary64_1780 associate-/r*_binary64_1727
Counts
4 → 113
Calls

4 calls:

28.0ms
(/.f64 (-.f64 1 (*.f64 5 (*.f64 v v))) (*.f64 (sqrt.f64 (+.f64 2 (*.f64 v (*.f64 -6 v)))) (*.f64 (*.f64 PI.f64 t) (-.f64 1 (*.f64 v v)))))
16.0ms
(*.f64 (sqrt.f64 (+.f64 2 (*.f64 v (*.f64 -6 v)))) (*.f64 (*.f64 PI.f64 t) (-.f64 1 (*.f64 v v))))
6.0ms
(*.f64 5 (*.f64 v v))
4.0ms
(*.f64 PI.f64 t)
Compiler

Compiled 4540 to 2736 computations (39.7% saved)

series767.0ms (6.1%)

Error
0.2b
Counts
4 → 24
Calls

4 calls:

387.0ms
(/.f64 (-.f64 1 (*.f64 5 (*.f64 v v))) (*.f64 (sqrt.f64 (+.f64 2 (*.f64 v (*.f64 -6 v)))) (*.f64 (*.f64 PI.f64 t) (-.f64 1 (*.f64 v v)))))
270.0ms
(*.f64 (sqrt.f64 (+.f64 2 (*.f64 v (*.f64 -6 v)))) (*.f64 (*.f64 PI.f64 t) (-.f64 1 (*.f64 v v))))
47.0ms
(*.f64 5 (*.f64 v v))
22.0ms
(*.f64 PI.f64 t)
Compiler

Compiled 2153 to 1676 computations (22.2% saved)

simplify95.0ms (0.8%)

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
050184315

prune247.0ms (2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1316137
Fresh000
Picked011
Done000
Total1317138
Error
0.0b
Counts
138 → 7
Compiler

Compiled 4929 to 2984 computations (39.5% saved)

localize28.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.5b
(/.f64 (/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6)))) (*.f64 (-.f64 1 (*.f64 v v)) (*.f64 t PI.f64)))
1.0b
(/.f64 5 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6))))
1.0b
(/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6))))
9.3b
(/.f64 (*.f64 v v) (*.f64 (-.f64 1 (*.f64 v v)) (*.f64 t PI.f64)))

rewrite695.0ms (5.5%)

Algorithm
rewrite-expression-head
Error
0b
Rules
97×times-frac_binary64_1789
70×add-exp-log_binary64_1821
60×add-cube-cbrt_binary64_1818 add-sqr-sqrt_binary64_1805 *-un-lft-identity_binary64_1783
50×add-cbrt-cube_binary64_1819
42×sqrt-prod_binary64_1799
31×associate-/l*_binary64_1728
27×div-exp_binary64_1834
21×prod-exp_binary64_1832
17×cbrt-undiv_binary64_1817
15×cbrt-unprod_binary64_1816
14×associate-/r*_binary64_1727
12×associate-/r/_binary64_1729
sqrt-div_binary64_1800
pow1_binary64_1844 div-inv_binary64_1780 flip3--_binary64_1787 flip--_binary64_1758
add-log-exp_binary64_1822 frac-2neg_binary64_1794 clear-num_binary64_1782 associate-*l/_binary64_1726 1-exp_binary64_1827 rec-exp_binary64_1833
pow-flip_binary64_1857
inv-pow_binary64_1868 pow1/2_binary64_1863 sqrt-pow1_binary64_1801 associate-/l/_binary64_1730
Counts
4 → 195
Calls

4 calls:

16.0ms
(/.f64 (/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6)))) (*.f64 (-.f64 1 (*.f64 v v)) (*.f64 t PI.f64)))
12.0ms
(/.f64 (*.f64 v v) (*.f64 (-.f64 1 (*.f64 v v)) (*.f64 t PI.f64)))
6.0ms
(/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6))))
6.0ms
(/.f64 5 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6))))
Compiler

Compiled 11331 to 6494 computations (42.7% saved)

series748.0ms (5.9%)

Error
0.0b
Counts
4 → 30
Calls

4 calls:

349.0ms
(/.f64 (/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6)))) (*.f64 (-.f64 1 (*.f64 v v)) (*.f64 t PI.f64)))
196.0ms
(/.f64 (*.f64 v v) (*.f64 (-.f64 1 (*.f64 v v)) (*.f64 t PI.f64)))
71.0ms
(/.f64 5 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6))))
54.0ms
(/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6))))
Compiler

Compiled 3930 to 2667 computations (32.1% saved)

simplify111.0ms (0.9%)

Algorithm
egg-herbie
Counts
225 → 225
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049626622
149626622

prune738.0ms (5.9%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2241225
Fresh145
Picked011
Done011
Total2257232
Error
0b
Counts
232 → 7
Compiler

Compiled 12183 to 7051 computations (42.1% saved)

localize35.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 t PI.f64)
0.3b
(/.f64 (-.f64 1 (*.f64 (*.f64 v v) 5)) (*.f64 (-.f64 1 (*.f64 v v)) (*.f64 t PI.f64)))
0.5b
(*.f64 (/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6)))) (/.f64 (-.f64 1 (*.f64 (*.f64 v v) 5)) (*.f64 (-.f64 1 (*.f64 v v)) (*.f64 t PI.f64))))
1.0b
(/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6))))

rewrite508.0ms (4%)

Algorithm
rewrite-expression-head
Error
0b
Rules
79×add-exp-log_binary64_1821
52×add-sqr-sqrt_binary64_1805
49×add-cbrt-cube_binary64_1819
46×times-frac_binary64_1789
40×*-un-lft-identity_binary64_1783
38×add-cube-cbrt_binary64_1818
32×prod-exp_binary64_1832
27×associate-*l*_binary64_1724
25×div-exp_binary64_1834
23×sqrt-prod_binary64_1799
18×cbrt-unprod_binary64_1816
14×cbrt-undiv_binary64_1817
12×associate-*r*_binary64_1723
10×pow1_binary64_1844
associate-/r/_binary64_1729
associate-/r*_binary64_1727
associate-/l*_binary64_1728 unswap-sqr_binary64_1751
1-exp_binary64_1827 rec-exp_binary64_1833 flip3--_binary64_1787 flip--_binary64_1758 associate-*l/_binary64_1726
add-log-exp_binary64_1822 div-inv_binary64_1780 sqrt-div_binary64_1800
pow-flip_binary64_1857
frac-2neg_binary64_1794 clear-num_binary64_1782 pow-prod-down_binary64_1854 *-commutative_binary64_1714 associate-/l/_binary64_1730
inv-pow_binary64_1868 pow1/2_binary64_1863 sqrt-pow1_binary64_1801 frac-times_binary64_1793 associate-*r/_binary64_1725 div-sub_binary64_1788
Counts
4 → 167
Calls

4 calls:

31.0ms
(*.f64 (/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6)))) (/.f64 (-.f64 1 (*.f64 (*.f64 v v) 5)) (*.f64 (-.f64 1 (*.f64 v v)) (*.f64 t PI.f64))))
11.0ms
(/.f64 (-.f64 1 (*.f64 (*.f64 v v) 5)) (*.f64 (-.f64 1 (*.f64 v v)) (*.f64 t PI.f64)))
10.0ms
(/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6))))
4.0ms
(*.f64 t PI.f64)
Compiler

Compiled 7029 to 4266 computations (39.3% saved)

series772.0ms (6.1%)

Error
0b
Counts
4 → 27
Calls

4 calls:

405.0ms
(*.f64 (/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6)))) (/.f64 (-.f64 1 (*.f64 (*.f64 v v) 5)) (*.f64 (-.f64 1 (*.f64 v v)) (*.f64 t PI.f64))))
235.0ms
(/.f64 (-.f64 1 (*.f64 (*.f64 v v) 5)) (*.f64 (-.f64 1 (*.f64 v v)) (*.f64 t PI.f64)))
66.0ms
(/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6))))
23.0ms
(*.f64 t PI.f64)
Compiler

Compiled 2238 to 1722 computations (23.1% saved)

simplify116.0ms (0.9%)

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
050006233

prune423.0ms (3.4%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1931194
Fresh134
Picked011
Done022
Total1947201
Error
0b
Counts
201 → 7
Compiler

Compiled 7000 to 4240 computations (39.4% saved)

localize25.0ms (0.2%)

Local error

Found 4 expressions with local error:

1.0b
(sqrt.f64 (/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6)))))
1.0b
(sqrt.f64 (/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6)))))
1.0b
(/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6))))
1.0b
(/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6))))

rewrite688.0ms (5.5%)

Algorithm
rewrite-expression-head
Error
0b
Rules
94×sqrt-prod_binary64_1799
80×times-frac_binary64_1789
74×add-sqr-sqrt_binary64_1805
64×*-un-lft-identity_binary64_1783
60×add-cube-cbrt_binary64_1818
14×pow1_binary64_1844 sqrt-pow1_binary64_1801
12×pow-flip_binary64_1857 add-exp-log_binary64_1821 associate-/r*_binary64_1727
10×sqrt-div_binary64_1800 rem-sqrt-square_binary64_1796
add-cbrt-cube_binary64_1819 associate-/r/_binary64_1729
pow1/2_binary64_1863 associate-/l*_binary64_1728
inv-pow_binary64_1868 div-exp_binary64_1834 add-log-exp_binary64_1822 div-inv_binary64_1780 flip3--_binary64_1787 flip--_binary64_1758
1-exp_binary64_1827 rec-exp_binary64_1833 cbrt-undiv_binary64_1817 frac-2neg_binary64_1794 clear-num_binary64_1782
Counts
4 → 180
Calls

4 calls:

14.0ms
(sqrt.f64 (/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6)))))
11.0ms
(sqrt.f64 (/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6)))))
6.0ms
(/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6))))
6.0ms
(/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6))))
Compiler

Compiled 9386 to 6289 computations (33% saved)

series373.0ms (3%)

Error
0b
Counts
4 → 24
Calls

4 calls:

90.0ms
(sqrt.f64 (/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6)))))
84.0ms
(sqrt.f64 (/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6)))))
77.0ms
(/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6))))
62.0ms
(/.f64 1 (sqrt.f64 (-.f64 2 (*.f64 (*.f64 v v) 6))))
Compiler

Compiled 2740 to 2133 computations (22.2% saved)

simplify126.0ms (1%)

Algorithm
egg-herbie
Counts
204 → 204
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
049064494
149064494

prune663.0ms (5.3%)

Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New2040204
Fresh033
Picked011
Done033
Total2047211
Error
0b
Counts
211 → 7
Compiler

Compiled 9856 to 6538 computations (33.7% saved)

regimes1.3s (10.5%)

Accuracy

Total 0.4b remaining (94.6%)

Threshold costs 0.4b (94.6%)

Compiler

Compiled 15938 to 11413 computations (28.4% saved)

bsearch0.0ms (0%)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
09370
19370

end0.0ms (0%)

sample3.4s (26.9%)

Algorithm
intervals
Results
602.0ms8000×body128valid
1.0msbody128nan
0.0msbody128invalid
Compiler

Compiled 2967 to 2124 computations (28.4% saved)

Profiling

Loading profile data...