Details

Time bar (total: 5.2s)

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

sample89.0ms

Algorithm
intervals
Results
19.0ms36×body1280invalid
13.0ms29×body1280valid
13.0ms42×body640valid
12.0ms155×body80valid
9.0ms30×body640invalid
5.0ms21×body320valid
2.0msbody320invalid
1.0ms10×body160invalid
1.0ms18×body80invalid
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.6b

Counts
2 → 2

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

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

series68.0ms

Counts
3 → 9
Calls
3 calls:
8.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
46.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
14.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))

simplify40.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
051381529

prune117.0ms

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New985103
Fresh011
Picked101
Done000
Total996105

Merged error: 0.3b

Counts
105 → 6

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

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

series81.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049584503
149584503

prune205.0ms

Filtered
126 candidates to 213 candidates (-69.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2121213
Fresh145
Picked011
Done000
Total2136219

Merged error: 0.3b

Counts
219 → 6

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log_binary64
22×add-cbrt-cube_binary64
19×add-sqr-sqrt_binary64
16×times-frac_binary64
15×*-un-lft-identity_binary64 add-cube-cbrt_binary64
12×cbrt-prod_binary64
10×associate-/r*_binary64 cbrt-undiv_binary64 div-exp_binary64
cbrt-unprod_binary64 prod-exp_binary64
associate-*r*_binary64
add-log-exp_binary64 pow1_binary64 sqrt-prod_binary64
associate-/l*_binary64
associate-/l/_binary64 associate-*l*_binary64 div-inv_binary64
flip3-+_binary64 associate-*r/_binary64 unswap-sqr_binary64 clear-num_binary64 frac-2neg_binary64 flip-+_binary64
pow-prod-down_binary64 +-commutative_binary64 sum-log_binary64 *-commutative_binary64
Counts
4 → 100
Calls
4 calls:
4.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
13.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))))
14.0ms
(/.f64 (*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) (cbrt.f64 (sqrt.f64 2)))
10.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))

series192.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
91.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))))
46.0ms
(/.f64 (*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))) (cbrt.f64 (sqrt.f64 2)))
47.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))

simplify47.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
050161745

prune118.0ms

Filtered
79 candidates to 112 candidates (-41.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1120112
Fresh044
Picked011
Done011
Total1126118

Merged error: 0.3b

Counts
118 → 6

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

rewrite22.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:
4.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))

series61.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
04986841
14986841

prune51.0ms

Filtered
46 candidates to 69 candidates (-50.0%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh033
Picked011
Done022
Total69675

Merged error: 0.3b

Counts
75 → 6

regimes307.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
01622
11622

end0.0ms

sample2.7s

Algorithm
intervals
Results
585.0ms1324×body1280valid
506.0ms1133×body1280invalid
370.0ms1198×body640valid
357.0ms4664×body80valid
285.0ms942×body640invalid
123.0ms546×body320valid
104.0ms471×body320invalid
41.0ms268×body160valid
37.0ms474×body80invalid
32.0ms211×body160invalid

Profiling

Loading profile data...