Details

Time bar (total: 5.6s)

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

sample97.0ms

Algorithm
intervals
Results
22.0ms52×body1280valid
14.0ms33×body1280invalid
13.0ms137×body80valid
11.0ms35×body640valid
10.0ms32×body640invalid
5.0ms22×body320valid
4.0ms20×body320invalid
2.0ms21×body80invalid
1.0ms10×body160valid
1.0msbody160invalid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
010513
110513

prune10.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.6b

Counts
2 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

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

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

series64.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
42.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
16.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))

simplify41.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
051381529

prune128.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New967103
Fresh011
Picked101
Done000
Total978105

Merged error: 0.3b

Counts
105 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

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:
19.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)))
8.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)))

series60.0ms

Counts
4 → 12
Calls
4 calls:
30.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)))
16.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2))
7.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

simplify55.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
054292865

prune136.0ms

Filtered
99 candidates to 169 candidates (-70.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1690169
Fresh077
Picked011
Done000
Total1698177

Merged error: 0.3b

Counts
177 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))))))
0.4b
(/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))))
6.4b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
6.4b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
522×times-frac_binary64
403×sqrt-prod_binary64
312×add-sqr-sqrt_binary64
270×*-un-lft-identity_binary64 add-cube-cbrt_binary64
257×associate-*r*_binary64
18×sqrt-div_binary64
15×add-exp-log_binary64 add-cbrt-cube_binary64 associate-/r/_binary64
11×unswap-sqr_binary64
flip3-+_binary64 flip-+_binary64
pow1_binary64 div-inv_binary64
associate-/r*_binary64 associate-/l*_binary64
add-log-exp_binary64 cbrt-undiv_binary64 div-exp_binary64
cbrt-unprod_binary64 associate-*l*_binary64 prod-exp_binary64
pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64
pow-prod-down_binary64 associate-*r/_binary64 sqrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 *-commutative_binary64
Counts
4 → 380
Calls
4 calls:
68.0ms
(*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))))))
8.0ms
(/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

series72.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(*.f64 (cos.f64 th) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))))))
11.0ms
(/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))))
12.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

simplify80.0ms

Algorithm
egg-herbie
Counts
392 → 392
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049787394
149787394

prune220.0ms

Filtered
170 candidates to 392 candidates (-130.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New3911392
Fresh156
Picked101
Done011
Total3937400

Merged error: 0.3b

Counts
400 → 7

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

rewrite59.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:
9.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)))

series69.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049584503
149584503

prune194.0ms

Filtered
127 candidates to 213 candidates (-67.7%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2130213
Fresh055
Picked011
Done011
Total2137220

Merged error: 0.3b

Counts
220 → 7

regimes465.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01623
11623

end0.0ms

sample2.8s

Algorithm
intervals
Results
626.0ms1429×body1280valid
511.0ms1141×body1280invalid
347.0ms1132×body640valid
331.0ms4645×body80valid
295.0ms964×body640invalid
124.0ms516×body320invalid
117.0ms540×body320valid
41.0ms511×body80invalid
38.0ms242×body160invalid
38.0ms254×body160valid

Profiling

Loading profile data...