Details

Time bar (total: 7.4s)

analyze756.0ms (10.3%)

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)

sample77.0ms (1%)

Algorithm
intervals
Results
21.0ms61×body1024valid
15.0ms49×body1024invalid
12.0ms160×body128valid
7.0ms31×body512invalid
5.0ms21×body512valid
2.0ms14×body256valid
1.0ms19×body128invalid
1.0msbody256invalid
Compiler

Compiled 39 to 34 computations (12.8% saved)

simplify96.0ms (1.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
010620
110620

prune7.0ms (0.1%)

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 3 expressions with local error:

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))

rewrite33.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

3 calls:

13.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
7.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
4.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

series232.0ms (3.1%)

Counts
3 → 9
Calls

3 calls:

163.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
49.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
20.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify75.0ms (1%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049772380
149772380

prune122.0ms (1.7%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New967103
Fresh101
Picked101
Done000
Total987105
Error
0.0b
Counts
105 → 7
Compiler

Compiled 2425 to 945 computations (61% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))
0.3b
(*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))))
6.2b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
6.2b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

rewrite88.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
149×add-sqr-sqrt_binary64_782
146×times-frac_binary64_766
127×sqrt-prod_binary64_776
90×cbrt-prod_binary64_791
87×*-un-lft-identity_binary64_760 add-cube-cbrt_binary64_795
58×associate-*r*_binary64_700
27×add-exp-log_binary64_798
21×unswap-sqr_binary64_728
19×add-cbrt-cube_binary64_796
10×associate-*l*_binary64_701
associate-/r*_binary64_704
cbrt-undiv_binary64_794 prod-exp_binary64_809 cbrt-unprod_binary64_793 div-exp_binary64_811 pow1_binary64_821
sqrt-div_binary64_777 associate-/l*_binary64_705
add-log-exp_binary64_799
flip3-+_binary64_763 div-inv_binary64_757 flip-+_binary64_734
rem-sqrt-square_binary64_773 associate-/l/_binary64_707 sqrt-pow1_binary64_778 pow1/2_binary64_840
frac-2neg_binary64_771 associate-*l/_binary64_703 frac-times_binary64_770 associate-*r/_binary64_702 clear-num_binary64_759 pow-prod-down_binary64_831 *-commutative_binary64_691
Counts
4 → 226
Calls

4 calls:

35.0ms
(*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))))
12.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (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)))

series217.0ms (2.9%)

Counts
4 → 12
Calls

4 calls:

110.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))
60.0ms
(*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))))
24.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
23.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

simplify115.0ms (1.6%)

Algorithm
egg-herbie
Counts
238 → 238
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
051818434

prune398.0ms (5.4%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2380238
Fresh066
Picked011
Done000
Total2387245
Error
0.0b
Counts
245 → 7
Compiler

Compiled 9735 to 4502 computations (53.8% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

rewrite24.0ms (0.3%)

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

3 calls:

9.0ms
(/.f64 (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th)) (sqrt.f64 2))
7.0ms
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th))
4.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

series213.0ms (2.9%)

Counts
3 → 9
Calls

3 calls:

125.0ms
(/.f64 (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th)) (sqrt.f64 2))
67.0ms
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th))
20.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify84.0ms (1.1%)

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
049321303
149321303

prune64.0ms (0.9%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New67269
Fresh235
Picked011
Done011
Total69776
Error
0b
Counts
76 → 7
Compiler

Compiled 1399 to 541 computations (61.3% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.2b
(/.f64 (cos.f64 th) (cbrt.f64 (sqrt.f64 2)))
0.3b
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))
0.3b
(*.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (cos.f64 th) (cbrt.f64 (sqrt.f64 2))))

rewrite60.0ms (0.8%)

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

4 calls:

23.0ms
(*.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (cos.f64 th) (cbrt.f64 (sqrt.f64 2))))
11.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))
6.0ms
(/.f64 (cos.f64 th) (cbrt.f64 (sqrt.f64 2)))
4.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

series434.0ms (5.9%)

Counts
4 → 12
Calls

4 calls:

169.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))
133.0ms
(*.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (/.f64 (cos.f64 th) (cbrt.f64 (sqrt.f64 2))))
110.0ms
(/.f64 (cos.f64 th) (cbrt.f64 (sqrt.f64 2)))
22.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify118.0ms (1.6%)

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 0 (74.0ms)

IterNodesCost
049424311
149424311

prune230.0ms (3.1%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1661167
Fresh134
Picked011
Done022
Total1677174
Error
0b
Counts
174 → 7
Compiler

Compiled 4649 to 2630 computations (43.4% saved)

regimes664.0ms (9%)

Accuracy

Total 0.4b remaining (94.6%)

Threshold costs 0.4b (94.6%)

Compiler

Compiled 8538 to 6207 computations (27.3% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01320
11320

end0.0ms (0%)

sample3.2s (43.6%)

Algorithm
intervals
Results
571.0ms1835×body1024valid
454.0ms1462×body1024invalid
372.0ms4857×body128valid
203.0ms911×body512valid
178.0ms775×body512invalid
64.0ms392×body256valid
55.0ms347×body256invalid
46.0ms579×body128invalid
2.0msbody2048valid
Compiler

Compiled 1085 to 789 computations (27.3% saved)

Profiling

Loading profile data...