Details

Time bar (total: 5.6s)

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

sample98.0ms

Algorithm
intervals
Results
22.0ms51×body1280valid
16.0ms44×body640valid
14.0ms32×body1280invalid
11.0ms36×body640invalid
10.0ms140×body80valid
4.0ms19×body320invalid
3.0ms15×body320valid
1.0msbody160invalid
1.0ms12×body80invalid
1.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
010513
110513

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

localize11.0ms

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

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:
5.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:
9.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)))
13.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))

simplify44.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
051381529

prune85.0ms

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

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New985103
Fresh011
Picked011
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 (+.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))
5.1b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
5.1b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
100×sqrt-prod_binary64
91×add-sqr-sqrt_binary64
80×times-frac_binary64
61×*-un-lft-identity_binary64 add-cube-cbrt_binary64
40×associate-*r*_binary64
11×add-exp-log_binary64 add-cbrt-cube_binary64
10×unswap-sqr_binary64 sqrt-div_binary64
pow1_binary64
associate-/r*_binary64 associate-*l*_binary64 associate-/l*_binary64
flip3-+_binary64 flip-+_binary64
add-log-exp_binary64
associate-/l/_binary64 pow1/2_binary64 cbrt-unprod_binary64 cbrt-undiv_binary64 sqrt-undiv_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 prod-exp_binary64 div-inv_binary64 div-exp_binary64 frac-times_binary64 associate-*l/_binary64
pow-prod-down_binary64 associate-*r/_binary64 sqrt-unprod_binary64 clear-num_binary64 frac-2neg_binary64 *-commutative_binary64
Counts
4 → 168
Calls
4 calls:
22.0ms
(*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.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))
5.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

series42.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
050592892

prune86.0ms

Filtered
104 candidates to 180 candidates (-73.1%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1800180
Fresh055
Picked011
Done011
Total1807187

Merged error: 0b

Counts
187 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite171.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))
73.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 2))))
10.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2)))
21.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 2)))

series85.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
41.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 2))))
17.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2)))
21.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 (sqrt.f64 2))) (sqrt.f64 (sqrt.f64 2)))

simplify147.0ms

Algorithm
egg-herbie
Counts
725 → 725
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
0537716199

prune300.0ms

Filtered
249 candidates to 725 candidates (-191.2%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New7250725
Fresh044
Picked011
Done022
Total7257732

Merged error: 0b

Counts
732 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
62×times-frac_binary64
61×associate-*r*_binary64
55×add-sqr-sqrt_binary64 sqrt-prod_binary64
47×*-un-lft-identity_binary64 add-cube-cbrt_binary64
45×add-exp-log_binary64
36×cbrt-prod_binary64
35×add-cbrt-cube_binary64
20×cbrt-unprod_binary64 prod-exp_binary64
13×pow1_binary64
11×associate-*l*_binary64
10×cbrt-undiv_binary64 div-exp_binary64
pow-prod-down_binary64 add-log-exp_binary64 sqrt-div_binary64 associate-*l/_binary64
unswap-sqr_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 div-inv_binary64 flip-+_binary64 *-commutative_binary64
associate-*r/_binary64 frac-times_binary64
Counts
4 → 150
Calls
4 calls:
14.0ms
(*.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))
29.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)))

series98.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
049893312
149893312

prune99.0ms

Filtered
99 candidates to 162 candidates (-63.6%)
Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New1620162
Fresh033
Picked011
Done033
Total1627169

Merged error: 0b

Counts
169 → 7

regimes324.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
01623
11623

end0.0ms

sample2.8s

Algorithm
intervals
Results
615.0ms1366×body1280valid
526.0ms1197×body1280invalid
369.0ms1142×body640valid
339.0ms4600×body80valid
309.0ms976×body640invalid
135.0ms577×body320valid
112.0ms508×body320invalid
48.0ms315×body160valid
43.0ms521×body80invalid
36.0ms217×body160invalid

Profiling

Loading profile data...