Details

Time bar (total: 14.4s)

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

sample95.0ms

Algorithm
intervals
Results
19.0ms38×body1280valid
17.0ms40×body1280invalid
11.0ms154×body80valid
11.0ms36×body640valid
10.0ms33×body640invalid
4.0ms20×body320valid
4.0ms17×body320invalid
1.0ms17×body80invalid
1.0msbody160invalid
1.0msbody160valid

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.4b

Counts
2 → 2

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

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

series65.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
49.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2.0)))
11.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049651529
149651529

prune120.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New976103
Fresh011
Picked101
Done000
Total987105

Merged error: 0b

Counts
105 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 2.0) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))))
0.5b
(/.f64 (sqrt.f64 2.0) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))))
4.9b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
4.9b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
540×times-frac_binary64
429×sqrt-prod_binary64
297×add-sqr-sqrt_binary64
295×*-un-lft-identity_binary64 add-cube-cbrt_binary64
48×associate-/r*_binary64
22×sqrt-div_binary64
17×associate-/r/_binary64
12×associate-/l*_binary64
11×flip3-+_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 flip-+_binary64
div-inv_binary64
pow1_binary64
add-log-exp_binary64 cbrt-undiv_binary64 div-exp_binary64
sqrt-undiv_binary64
associate-/l/_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64
Counts
4 → 411
Calls
4 calls:
20.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 2.0) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))))
10.0ms
(/.f64 (sqrt.f64 2.0) (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)))

series59.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 2.0) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))))
33.0ms
(/.f64 (sqrt.f64 2.0) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))))
7.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

simplify125.0ms

Algorithm
egg-herbie
Counts
423 → 423
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
0508111244

prune211.0ms

Filtered
163 candidates to 423 candidates (-159.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New4230423
Fresh066
Picked011
Done000
Total4237430

Merged error: 0b

Counts
430 → 7

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

rewrite167.0ms

Algorithm
rewrite-expression-head
Rules
1137×sqrt-prod_binary64
1119×times-frac_binary64
625×add-sqr-sqrt_binary64
578×*-un-lft-identity_binary64 add-cube-cbrt_binary64
283×associate-*r*_binary64
34×associate-/l*_binary64
22×div-inv_binary64
20×add-exp-log_binary64 add-cbrt-cube_binary64
18×associate-/r*_binary64
13×unswap-sqr_binary64
cbrt-undiv_binary64 div-exp_binary64
add-log-exp_binary64 pow1_binary64
associate-/l/_binary64 cbrt-unprod_binary64 associate-*l*_binary64 prod-exp_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 → 713
Calls
4 calls:
5.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
71.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2.0))) (sqrt.f64 (sqrt.f64 2.0))))
9.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2.0)))
19.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2.0))) (sqrt.f64 (sqrt.f64 2.0)))

series91.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
45.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2.0))) (sqrt.f64 (sqrt.f64 2.0))))
21.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2.0)))
19.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2.0))) (sqrt.f64 (sqrt.f64 2.0)))

simplify143.0ms

Algorithm
egg-herbie
Counts
725 → 725
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
0538416199

prune428.0ms

Filtered
251 candidates to 725 candidates (-188.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New7241725
Fresh145
Picked101
Done011
Total7266732

Merged error: 0b

Counts
732 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite849.0ms

Algorithm
rewrite-expression-head
Rules
6954×times-frac_binary64
4541×sqrt-prod_binary64
3231×add-sqr-sqrt_binary64
3141×*-un-lft-identity_binary64 add-cube-cbrt_binary64
1180×cbrt-prod_binary64
1168×associate-*r*_binary64
131×associate-/l*_binary64
108×div-inv_binary64
34×add-exp-log_binary64 add-cbrt-cube_binary64
24×associate-/r*_binary64
21×unswap-sqr_binary64
16×cbrt-undiv_binary64 div-exp_binary64
pow1_binary64
associate-/l/_binary64 add-log-exp_binary64 cbrt-unprod_binary64 prod-exp_binary64
associate-*l*_binary64 clear-num_binary64 frac-2neg_binary64
pow-prod-down_binary64 flip3-+_binary64 associate-*r/_binary64 flip-+_binary64 *-commutative_binary64
Counts
4 → 2695
Calls
4 calls:
255.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2.0))) (fabs.f64 (cbrt.f64 (sqrt.f64 2.0)))) (sqrt.f64 (cbrt.f64 (sqrt.f64 2.0)))))
15.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2.0))) (fabs.f64 (cbrt.f64 (sqrt.f64 2.0))))
9.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2.0)))
49.0ms
(/.f64 (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2.0))) (fabs.f64 (cbrt.f64 (sqrt.f64 2.0)))) (sqrt.f64 (cbrt.f64 (sqrt.f64 2.0))))

series271.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2.0))) (fabs.f64 (cbrt.f64 (sqrt.f64 2.0)))) (sqrt.f64 (cbrt.f64 (sqrt.f64 2.0)))))
36.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2.0))) (fabs.f64 (cbrt.f64 (sqrt.f64 2.0))))
21.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2.0)))
78.0ms
(/.f64 (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2.0))) (fabs.f64 (cbrt.f64 (sqrt.f64 2.0)))) (sqrt.f64 (cbrt.f64 (sqrt.f64 2.0))))

simplify646.0ms

Algorithm
egg-herbie
Counts
2707 → 2707
Iterations

Useful iterations: 0 (91.0ms)

IterNodesCost
0498895226
1498895226

prune7.0s

Filtered
1154 candidates to 2707 candidates (-134.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New270702707
Fresh044
Picked011
Done011
Total270762713

Merged error: 0b

Counts
2713 → 6

regimes415.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01924
11924

end0.0ms

sample2.7s

Algorithm
intervals
Results
575.0ms1314×body1280valid
517.0ms1144×body1280invalid
348.0ms1136×body640valid
348.0ms4722×body80valid
296.0ms989×body640invalid
127.0ms559×body320valid
111.0ms495×body320invalid
45.0ms527×body80invalid
40.0ms269×body160valid
35.0ms238×body160invalid

Profiling

Loading profile data...