Details

Time bar (total: 15.8s)

analyze988.0ms (6.2%)

Algorithm
search
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%99.9%0.1%4
0%99.9%0.1%5
25%74.9%0.1%6
25%74.9%0.1%7
25%74.9%0.1%8
25%74.9%0.1%9
25%64%11.1%10
31.2%54.6%14.2%11
39%44.1%16.9%12
39%41.5%19.5%13
42.9%37%20.1%14
Compiler

Compiled 20 to 16 computations (20% saved)

sample96.0ms (0.6%)

Algorithm
intervals
Results
20.0ms52×body1024valid
17.0ms48×body1024invalid
17.0ms149×body128valid
10.0ms41×body512valid
5.0ms19×body512invalid
2.0ms23×body128invalid
2.0ms13×body256valid
2.0ms11×body256invalid
1.0msbody2048valid
Compiler

Compiled 39 to 34 computations (12.8% saved)

simplify109.0ms (0.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
010620
110620

prune6.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 45 to 37 computations (17.8% saved)

localize10.0ms (0.1%)

Local error

Found 6 expressions with local error:

0.4b
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
0.1b
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.1b
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
0.4b
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))

rewrite66.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt_binary64_782
38×times-frac_binary64_766
32×*-un-lft-identity_binary64_760 add-cube-cbrt_binary64_795
22×sqrt-prod_binary64_776 associate-*r*_binary64_700
10×add-exp-log_binary64_798 add-cbrt-cube_binary64_796
associate-/r*_binary64_704
add-log-exp_binary64_799 pow1_binary64_821
unswap-sqr_binary64_728 associate-/l*_binary64_705 associate-*l*_binary64_701
cbrt-undiv_binary64_794 prod-exp_binary64_809 flip3-+_binary64_763 associate-/l/_binary64_707 div-inv_binary64_757 flip-+_binary64_734 cbrt-unprod_binary64_793 div-exp_binary64_811
frac-2neg_binary64_771 +-commutative_binary64_690 sum-log_binary64_851 associate-*r/_binary64_702 clear-num_binary64_759 pow-prod-down_binary64_831 *-commutative_binary64_691
Counts
3 → 94
Calls

6 calls:

27.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
15.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
7.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))

series858.0ms (5.4%)

Counts
3 → 42
Calls

3 calls:

507.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
235.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
115.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
Compiler

Compiled 995 to 969 computations (2.6% saved)

simplify95.0ms (0.6%)

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
050442993

prune240.0ms (1.5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1306136
Fresh011
Picked101
Done000
Total1317138
Error
0b
Counts
138 → 7
Compiler

Compiled 2871 to 1154 computations (59.8% saved)

localize24.0ms (0.2%)

Local error

Found 8 expressions with local error:

0.2b
(*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2)))
0.1b
(*.f64 (cos.f64 th) (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2))))
0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.2b
(*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2)))
0.5b
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2))
5.9b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
5.9b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

rewrite71.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
100×sqrt-prod_binary64_776
91×add-sqr-sqrt_binary64_782
80×times-frac_binary64_766
61×*-un-lft-identity_binary64_760 add-cube-cbrt_binary64_795
40×associate-*r*_binary64_700
11×add-exp-log_binary64_798 add-cbrt-cube_binary64_796
10×unswap-sqr_binary64_728 sqrt-div_binary64_777
pow1_binary64_821
associate-/r*_binary64_704 associate-/l*_binary64_705 associate-*l*_binary64_701
flip3-+_binary64_763 flip-+_binary64_734
add-log-exp_binary64_799
rem-sqrt-square_binary64_773 cbrt-undiv_binary64_794 associate-*l/_binary64_703 prod-exp_binary64_809 associate-/l/_binary64_707 sqrt-pow1_binary64_778 div-inv_binary64_757 sqrt-undiv_binary64_781 frac-times_binary64_770 cbrt-unprod_binary64_793 pow1/2_binary64_840 div-exp_binary64_811
frac-2neg_binary64_771 sqrt-unprod_binary64_780 associate-*r/_binary64_702 clear-num_binary64_759 pow-prod-down_binary64_831 *-commutative_binary64_691
Counts
4 → 168
Calls

8 calls:

32.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2)))
7.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
0.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

series793.0ms (5%)

Counts
4 → 66
Calls

4 calls:

269.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2))
208.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2)))
177.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
137.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
Compiler

Compiled 2496 to 2070 computations (17.1% saved)

simplify134.0ms (0.8%)

Algorithm
egg-herbie
Counts
234 → 234
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
050345581

prune294.0ms (1.9%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2331234
Fresh156
Picked011
Done000
Total2347241
Error
0b
Counts
241 → 7
Compiler

Compiled 6946 to 2291 computations (67% saved)

localize21.0ms (0.1%)

Local error

Found 8 expressions with local error:

0.1b
(*.f64 (cos.f64 th) (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) 2))))
0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.0b
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) 2)
0.1b
(*.f64 (cos.f64 th) (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) 2))))
0.2b
(*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) 2)))
5.9b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
6.0b
(sqrt.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) 2))

rewrite50.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt_binary64_782
39×sqrt-prod_binary64_776
23×*-un-lft-identity_binary64_760 add-cube-cbrt_binary64_795
21×times-frac_binary64_766
17×sqrt-div_binary64_777 associate-*r*_binary64_700
15×pow1_binary64_821
11×add-exp-log_binary64_798 add-cbrt-cube_binary64_796
associate-*l*_binary64_701
associate-*r/_binary64_702
unswap-sqr_binary64_728 pow-prod-down_binary64_831
flip3-+_binary64_763 flip-+_binary64_734
associate-*l/_binary64_703 prod-exp_binary64_809 sqrt-pow1_binary64_778 add-log-exp_binary64_799 frac-times_binary64_770 cbrt-unprod_binary64_793 pow1/2_binary64_840
rem-sqrt-square_binary64_773
div-inv_binary64_757 *-commutative_binary64_691
sqrt-unprod_binary64_780
Counts
4 → 110
Calls

8 calls:

16.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) 2)))
14.0ms
(*.f64 (cos.f64 th) (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) 2))))
5.0ms
(sqrt.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) 2))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
0.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) 2)

series1.1s (6.7%)

Counts
4 → 66
Calls

4 calls:

426.0ms
(*.f64 (cos.f64 th) (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) 2))))
266.0ms
(sqrt.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) 2))
198.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) 2)))
171.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
Compiler

Compiled 2297 to 1977 computations (13.9% saved)

simplify100.0ms (0.6%)

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049714449
149714449

prune205.0ms (1.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1742176
Fresh235
Picked101
Done011
Total1776183
Error
0b
Counts
183 → 6
Compiler

Compiled 4839 to 1649 computations (65.9% saved)

localize14.0ms (0.1%)

Local error

Found 8 expressions with local error:

0.2b
(*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 1/2)))
0.1b
(*.f64 (cos.f64 th) (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 1/2))))
0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.2b
(*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 1/2)))
0.4b
(*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 1/2))
5.9b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
5.9b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

rewrite48.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64_782
19×sqrt-prod_binary64_776
18×sqrt-div_binary64_777 pow1_binary64_821
12×*-un-lft-identity_binary64_760 add-cube-cbrt_binary64_795 associate-*l*_binary64_701
11×add-exp-log_binary64_798 add-cbrt-cube_binary64_796
10×associate-*l/_binary64_703 pow-prod-down_binary64_831
flip3-+_binary64_763 flip-+_binary64_734
sqrt-pow1_binary64_778 associate-*r*_binary64_700 pow1/2_binary64_840
unswap-sqr_binary64_728 prod-exp_binary64_809 add-log-exp_binary64_799 frac-times_binary64_770 cbrt-unprod_binary64_793
sqrt-unprod_binary64_780
rem-sqrt-square_binary64_773 associate-*r/_binary64_702 *-commutative_binary64_691
Counts
4 → 94
Calls

8 calls:

16.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 1/2)))
12.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 1/2))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
0.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

series702.0ms (4.4%)

Counts
4 → 66
Calls

4 calls:

245.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 1/2))
183.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 1/2)))
138.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
136.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
Compiler

Compiled 2496 to 2070 computations (17.1% saved)

simplify71.0ms (0.5%)

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
053023040

prune171.0ms (1.1%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1600160
Fresh044
Picked011
Done011
Total1606166
Error
0b
Counts
166 → 6
Compiler

Compiled 4226 to 1418 computations (66.4% saved)

simplify30.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
04972063
14972063

regimes988.0ms (6.2%)

Accuracy

Total 0.3b remaining (95.3%)

Threshold costs 0.3b (95.3%)

Compiler

Compiled 9191 to 6653 computations (27.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01734
11734

end0.0ms (0%)

sample8.6s (54.2%)

Algorithm
intervals
Results
723.0ms1878×body1024valid
604.0ms1590×body1024invalid
428.0ms4751×body128valid
245.0ms886×body512valid
224.0ms817×body512invalid
92.0ms478×body256valid
73.0ms396×body256invalid
64.0ms665×body128invalid
3.0msbody2048valid
Compiler

Compiled 3923 to 2821 computations (28.1% saved)

Pareto

0.49157701333512493

Profiling

Loading profile data...