Details

Time bar (total: 7.8s)

analyze1.4s

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
9.4%90.4%0.2%6
17.2%82.7%0.2%7
19.5%80.3%0.2%8
30.8%69%0.2%9
35.5%64.3%0.2%10
42.4%57.4%0.2%11
47.1%52.7%0.2%12
49%50.8%0.2%13
50.1%49.7%0.2%14

sample137.0ms

Algorithm
intervals
Results
48.0ms61×body1280invalid
34.0ms245×body80valid
23.0ms44×body640invalid
5.0ms14×body320invalid
2.0msbody1280valid
2.0msbody640valid
1.0msbody160invalid
1.0msbody80invalid
1.0msbody320valid
1.0msbody160valid

simplify497.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
0493436
1493436

prune16.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: 32.5b

Counts
2 → 2

localize23.0ms

Local error

Found 4 expressions with local error:

1.6b
(*.f64 (atan2.f64 x.im x.re) y.re)
28.7b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
28.7b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
32.7b
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64
add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-prod_binary64
add-log-exp_binary64 sqrt-div_binary64
associate-*r*_binary64 associate-*l*_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 sin-sum_binary64 unswap-sqr_binary64 prod-exp_binary64 *-commutative_binary64
Counts
4 → 56
Calls
4 calls:
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
17.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
9.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

series86.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
64.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

simplify57.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04956685
14956685

prune114.0ms

Filtered
54 candidates to 68 candidates (-25.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New59968
Fresh011
Picked101
Done000
Total601070

Merged error: 19.5b

Counts
70 → 10

localize30.0ms

Local error

Found 4 expressions with local error:

28.7b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
28.7b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
28.7b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
32.7b
(sin.f64 (+.f64 (*.f64 (log.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))))) (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64
sqrt-prod_binary64
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64
sqrt-div_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
sin-sum_binary64
Counts
4 → 53
Calls
4 calls:
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
26.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))))) (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

series74.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
54.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im))))) (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

simplify87.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
04831684
14831684

prune99.0ms

Filtered
50 candidates to 65 candidates (-30.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New64165
Fresh189
Picked011
Done000
Total651075

Merged error: 19.2b

Counts
75 → 10

localize28.0ms

Local error

Found 4 expressions with local error:

28.7b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
32.7b
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
32.7b
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
32.7b
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
sin-sum_binary64 sqrt-prod_binary64
sqrt-div_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
Counts
4 → 39
Calls
4 calls:
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
8.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
8.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
8.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

series158.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
51.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
49.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
51.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

simplify56.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04871839
14871839

prune94.0ms

Filtered
48 candidates to 51 candidates (-6.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New49251
Fresh178
Picked101
Done011
Total511061

Merged error: 19.2b

Counts
61 → 10

localize24.0ms

Local error

Found 4 expressions with local error:

1.6b
(*.f64 y.re (atan2.f64 x.im x.re))
28.7b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
28.7b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
32.7b
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 y.re (atan2.f64 x.im x.re))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64
add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-prod_binary64
add-log-exp_binary64 sqrt-div_binary64
associate-*r*_binary64 associate-*l*_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 sin-sum_binary64 unswap-sqr_binary64 prod-exp_binary64 *-commutative_binary64
Counts
4 → 56
Calls
4 calls:
4.0ms
(*.f64 y.re (atan2.f64 x.im x.re))
4.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
7.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 y.re (atan2.f64 x.im x.re))))

series71.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(*.f64 y.re (atan2.f64 x.im x.re))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
52.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 y.re (atan2.f64 x.im x.re))))

simplify50.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
04964685
14964685

prune68.0ms

Filtered
54 candidates to 68 candidates (-25.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New67168
Fresh088
Picked101
Done011
Total681078

Merged error: 19.2b

Counts
78 → 10

regimes429.0ms

Accuracy

76.3% (3.4b remaining)

Error of 22.1b against oracle of 18.7b and baseline of 33.1b

bsearch51.0ms

Steps
ItersRangePoint
6
-4.387572817025468e-299
-1.0382332020571772e-299
-1.0480241195093906e-299

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07065
17065

end0.0ms

sample4.0s

Algorithm
intervals
Results
1.6s2116×body1280invalid
879.0ms7574×body80valid
635.0ms1236×body640invalid
164.0ms459×body320invalid
105.0ms135×body1280valid
68.0ms137×body640valid
53.0ms31×body2560invalid
48.0ms195×body160invalid
44.0ms373×body80invalid
35.0ms98×body320valid
14.0ms56×body160valid

Profiling

Loading profile data...