Details

Time bar (total: 5.6s)

analyze763.0ms (13.5%)

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

sample88.0ms (1.6%)

Algorithm
intervals
Results
16.0ms36×body1280invalid
14.0ms155×body80valid
13.0ms29×body1280valid
13.0ms42×body640valid
9.0ms30×body640invalid
5.0ms21×body320valid
2.0msbody320invalid
1.0ms10×body160invalid
1.0ms18×body80invalid
1.0msbody160valid

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
010513
110513

prune11.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.6b

Counts
2 → 2

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.2b
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2.0)))
0.6b
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2.0))

rewrite30.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt_binary64
38×times-frac_binary64
32×*-un-lft-identity_binary64 add-cube-cbrt_binary64
22×associate-*r*_binary64 sqrt-prod_binary64
10×add-exp-log_binary64 add-cbrt-cube_binary64
associate-/r*_binary64
add-log-exp_binary64 pow1_binary64
associate-*l*_binary64 unswap-sqr_binary64 associate-/l*_binary64
flip3-+_binary64 associate-/l/_binary64 cbrt-unprod_binary64 cbrt-undiv_binary64 prod-exp_binary64 div-inv_binary64 div-exp_binary64 flip-+_binary64
pow-prod-down_binary64 associate-*r/_binary64 clear-num_binary64 frac-2neg_binary64 +-commutative_binary64 sum-log_binary64 *-commutative_binary64
Counts
3 → 94
Calls

3 calls:

14.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2.0)))
8.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2.0))
4.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

series68.0ms (1.2%)

Counts
3 → 9
Calls

3 calls:

47.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2.0)))
14.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2.0))
7.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify69.0ms (1.2%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049651529
149651529

prune157.0ms (2.8%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New985103
Fresh011
Picked101
Done000
Total996105

Merged error: 0.3b

Counts
105 → 6

localize16.0ms (0.3%)

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)))
0.3b
(*.f64 (*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2.0)) (cbrt.f64 (sqrt.f64 2.0)))) (cos.f64 th)) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2.0))))
5.7b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
5.7b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

rewrite55.0ms (1%)

Algorithm
rewrite-expression-head
Rules
108×times-frac_binary64
102×sqrt-prod_binary64
86×add-sqr-sqrt_binary64
84×*-un-lft-identity_binary64 add-cube-cbrt_binary64
78×cbrt-prod_binary64
58×associate-*r*_binary64
38×add-exp-log_binary64
29×add-cbrt-cube_binary64
16×cbrt-unprod_binary64 prod-exp_binary64
11×pow1_binary64
associate-/r*_binary64 cbrt-undiv_binary64 div-exp_binary64
associate-/l*_binary64 sqrt-div_binary64
add-log-exp_binary64
pow-prod-down_binary64 flip3-+_binary64 flip-+_binary64 associate-*l/_binary64
associate-/l/_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 div-inv_binary64
associate-*r/_binary64 associate-*l*_binary64 clear-num_binary64 frac-2neg_binary64 frac-times_binary64 *-commutative_binary64
Counts
4 → 201
Calls

4 calls:

28.0ms
(*.f64 (*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2.0)) (cbrt.f64 (sqrt.f64 2.0)))) (cos.f64 th)) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2.0))))
9.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2.0)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

series81.0ms (1.4%)

Counts
4 → 12
Calls

4 calls:

33.0ms
(*.f64 (*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2.0)) (cbrt.f64 (sqrt.f64 2.0)))) (cos.f64 th)) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2.0))))
29.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2.0)))
10.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
8.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

simplify98.0ms (1.7%)

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
049704143
149704143

prune343.0ms (6.1%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2130213
Fresh055
Picked011
Done000
Total2136219

Merged error: 0.3b

Counts
219 → 6

localize11.0ms (0.2%)

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.6b
(/.f64 (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th)) (sqrt.f64 2.0))

rewrite23.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
10×add-exp-log_binary64 add-cbrt-cube_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64
associate-/r*_binary64 times-frac_binary64 sqrt-prod_binary64
add-log-exp_binary64 pow1_binary64
associate-*l/_binary64
flip3-+_binary64 associate-*r*_binary64 associate-*l*_binary64 flip-+_binary64
associate-/l/_binary64 cbrt-unprod_binary64 cbrt-undiv_binary64 prod-exp_binary64 div-exp_binary64
pow-prod-down_binary64 unswap-sqr_binary64 clear-num_binary64 frac-2neg_binary64 associate-/l*_binary64 div-inv_binary64 +-commutative_binary64 sum-log_binary64 *-commutative_binary64
Counts
3 → 60
Calls

3 calls:

9.0ms
(/.f64 (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th)) (sqrt.f64 2.0))
7.0ms
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th))
5.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

series62.0ms (1.1%)

Counts
3 → 9
Calls

3 calls:

34.0ms
(/.f64 (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th)) (sqrt.f64 2.0))
20.0ms
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th))
7.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify54.0ms (1%)

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
05036853

prune91.0ms (1.6%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New67269
Fresh224
Picked011
Done011
Total69675

Merged error: 0.3b

Counts
75 → 6

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cos.f64 th)) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2.0)))
0.4b
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2.0))
5.7b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
5.7b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

rewrite44.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
84×sqrt-prod_binary64
72×times-frac_binary64
61×add-sqr-sqrt_binary64
59×*-un-lft-identity_binary64 add-cube-cbrt_binary64
40×associate-*r*_binary64
18×add-exp-log_binary64 add-cbrt-cube_binary64
11×pow1_binary64
10×sqrt-div_binary64
associate-/r*_binary64 cbrt-unprod_binary64 prod-exp_binary64 associate-/l*_binary64 associate-*l/_binary64
flip3-+_binary64 flip-+_binary64
add-log-exp_binary64
pow-prod-down_binary64 cbrt-undiv_binary64 div-exp_binary64
associate-/l/_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 div-inv_binary64 frac-times_binary64
associate-*r/_binary64 associate-*l*_binary64 sqrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 *-commutative_binary64
Counts
4 → 157
Calls

4 calls:

21.0ms
(*.f64 (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cos.f64 th)) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2.0)))
8.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2.0))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

series62.0ms (1.1%)

Counts
4 → 12
Calls

4 calls:

33.0ms
(*.f64 (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cos.f64 th)) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2.0)))
14.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2.0))
7.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

simplify55.0ms (1%)

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
054772865

prune189.0ms (3.4%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1681169
Fresh033
Picked011
Done022
Total1687175

Merged error: 0.0b

Counts
175 → 7

regimes461.0ms (8.2%)

Accuracy

Total 0.4b remaining (92.4%)

Threshold costs 0.4b (92.4%)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01932
11932

end0.0ms (0%)

sample2.8s (49.2%)

Algorithm
intervals
Results
596.0ms1324×body1280valid
515.0ms1133×body1280invalid
372.0ms1198×body640valid
353.0ms4664×body80valid
287.0ms942×body640invalid
121.0ms546×body320valid
107.0ms471×body320invalid
40.0ms268×body160valid
37.0ms474×body80invalid
32.0ms211×body160invalid

Profiling

Loading profile data...