Details

Time bar (total: 6.2s)

analyze775.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
23.0ms50×body1280valid
21.0ms38×body1280invalid
12.0ms155×body80valid
10.0ms33×body640invalid
8.0ms25×body640valid
5.0ms20×body320valid
3.0ms15×body320invalid
2.0ms21×body80invalid
1.0msbody160valid
0.0msbody160invalid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
010620
110620

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

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

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

series235.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
155.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
57.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))

simplify67.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
053322380

prune97.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.0b

Counts
105 → 8

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

rewrite67.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) (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)))

series148.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))))
42.0ms
(/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))))
22.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
26.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

simplify217.0ms

Algorithm
egg-herbie
Counts
423 → 423
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
0505817836

prune214.0ms

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

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New4230423
Fresh077
Picked011
Done000
Total4238431

Merged error: 0.0b

Counts
431 → 8

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

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
195×times-frac_binary64
111×add-sqr-sqrt_binary64
94×cbrt-prod_binary64
91×*-un-lft-identity_binary64 add-cube-cbrt_binary64
67×associate-*r*_binary64
47×sqrt-prod_binary64
32×add-exp-log_binary64
22×div-inv_binary64
20×add-cbrt-cube_binary64
12×cbrt-undiv_binary64 div-exp_binary64
10×associate-/r*_binary64 associate-/l*_binary64
cbrt-unprod_binary64 unswap-sqr_binary64 prod-exp_binary64
add-log-exp_binary64 pow1_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 → 225
Calls
4 calls:
4.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
27.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2))))
11.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))
14.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2)))

series413.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
156.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2))))
175.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))
57.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2)))

simplify146.0ms

Algorithm
egg-herbie
Counts
237 → 237
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
049598081
149598081

prune297.0ms

Filtered
172 candidates to 237 candidates (-37.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2361237
Fresh246
Picked011
Done011
Total2387245

Merged error: 0b

Counts
245 → 7

localize10.0ms

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

rewrite24.0ms

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

series206.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
71.0ms
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th))
115.0ms
(/.f64 (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cos.f64 th)) (sqrt.f64 2))

simplify83.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049571303
149571303

prune45.0ms

Filtered
48 candidates to 69 candidates (-43.8%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh044
Picked011
Done022
Total69776

Merged error: 0b

Counts
76 → 7

regimes104.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
01636
11636

end0.0ms

sample2.8s

Algorithm
intervals
Results
604.0ms1313×body1280valid
524.0ms1141×body1280invalid
369.0ms4776×body80valid
352.0ms1093×body640valid
326.0ms1003×body640invalid
123.0ms541×body320valid
123.0ms519×body320invalid
43.0ms277×body160valid
41.0ms499×body80invalid
32.0ms206×body160invalid

Profiling

Loading profile data...