Details

Time bar (total: 6.7s)

analyze813.0ms

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

sample94.0ms

Algorithm
intervals
Results
17.0ms38×body1280invalid
16.0ms36×body1280valid
15.0ms158×body80valid
12.0ms39×body640valid
10.0ms30×body640invalid
3.0ms13×body320valid
3.0ms13×body320invalid
2.0ms10×body160valid
1.0ms14×body80invalid
1.0msbody160invalid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
010620
110620

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 2

localize11.0ms

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.4b
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))

rewrite26.0ms

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:
4.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
12.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))

series231.0ms

Counts
3 → 9
Calls
3 calls:
21.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
157.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
53.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))

simplify69.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
053322380

prune106.0ms

Filtered
69 candidates to 103 candidates (-49.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New9310103
Fresh101
Picked101
Done000
Total9510105

Merged error: 0b

Counts
105 → 10

localize16.0ms

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))))
5.2b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
5.2b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
149×add-sqr-sqrt_binary64
146×times-frac_binary64
127×sqrt-prod_binary64
90×cbrt-prod_binary64
87×*-un-lft-identity_binary64 add-cube-cbrt_binary64
58×associate-*r*_binary64
27×add-exp-log_binary64
21×unswap-sqr_binary64
19×add-cbrt-cube_binary64
10×associate-*l*_binary64
associate-/r*_binary64
pow1_binary64 cbrt-unprod_binary64 cbrt-undiv_binary64 prod-exp_binary64 div-exp_binary64
associate-/l*_binary64 sqrt-div_binary64
add-log-exp_binary64
flip3-+_binary64 div-inv_binary64 flip-+_binary64
associate-/l/_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64
pow-prod-down_binary64 associate-*r/_binary64 clear-num_binary64 frac-2neg_binary64 frac-times_binary64 associate-*l/_binary64 *-commutative_binary64
Counts
4 → 226
Calls
4 calls:
9.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))
32.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))))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

series212.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))
53.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))))
22.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
25.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

simplify187.0ms

Algorithm
egg-herbie
Counts
238 → 238
Iterations

Useful iterations: 0 (113.0ms)

IterNodesCost
049048058
149048058

prune233.0ms

Filtered
140 candidates to 238 candidates (-70.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2362238
Fresh279
Picked011
Done000
Total23810248

Merged error: 0b

Counts
248 → 10

localize19.0ms

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

rewrite55.0ms

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:
8.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))
28.0ms
(*.f64 (*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cos.f64 th)) (/.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)))

series290.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))
134.0ms
(*.f64 (*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cos.f64 th)) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))))
23.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
24.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

simplify167.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 0 (101.0ms)

IterNodesCost
049626998
149626998

prune215.0ms

Filtered
128 candidates to 213 candidates (-66.4%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2130213
Fresh088
Picked011
Done011
Total21310223

Merged error: 0b

Counts
223 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
177×times-frac_binary64
98×add-sqr-sqrt_binary64
85×*-un-lft-identity_binary64 add-cube-cbrt_binary64
80×cbrt-prod_binary64
40×sqrt-prod_binary64
36×add-exp-log_binary64
35×associate-*r*_binary64
34×associate-/l*_binary64
23×add-cbrt-cube_binary64
13×cbrt-undiv_binary64 div-exp_binary64
10×associate-/r*_binary64
cbrt-unprod_binary64 prod-exp_binary64
add-log-exp_binary64 pow1_binary64 div-inv_binary64
unswap-sqr_binary64
associate-/l/_binary64 associate-*l*_binary64
flip3-+_binary64 clear-num_binary64 frac-2neg_binary64 flip-+_binary64
pow-prod-down_binary64 associate-*r/_binary64 +-commutative_binary64 sum-log_binary64 *-commutative_binary64
Counts
4 → 209
Calls
4 calls:
4.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
23.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))))
16.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))
9.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2)))

series349.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
151.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))))
53.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))
122.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 (sqrt.f64 2)))

simplify134.0ms

Algorithm
egg-herbie
Counts
221 → 221
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
049386676
149386676

prune237.0ms

Filtered
156 candidates to 221 candidates (-41.7%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New2210221
Fresh077
Picked011
Done022
Total22110231

Merged error: 0b

Counts
231 → 10

regimes132.0ms

Accuracy

0% (0.4b remaining)

Error of 0.5b against oracle of 0.1b and baseline of 0.5b

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02052
12052

end0.0ms

sample2.9s

Algorithm
intervals
Results
630.0ms1359×body1280valid
559.0ms1190×body1280invalid
382.0ms4714×body80valid
359.0ms1103×body640valid
308.0ms956×body640invalid
133.0ms566×body320valid
117.0ms482×body320invalid
44.0ms258×body160valid
43.0ms518×body80invalid
37.0ms234×body160invalid

Profiling

Loading profile data...