Details

Time bar (total: 9.3s)

analyze1.5s

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

sample148.0ms

Algorithm
intervals
Results
55.0ms74×body1280invalid
32.0ms245×body80valid
23.0ms44×body640invalid
8.0ms19×body320invalid
3.0msbody2560invalid
2.0ms15×body80invalid
2.0msbody640valid
1.0msbody1280valid
1.0msbody160invalid
1.0msbody160valid
1.0msbody320valid

simplify647.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (99.0ms)

IterNodesCost
0495072
1495072

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 32.3b

Counts
2 → 1

localize24.0ms

Local error

Found 4 expressions with local error:

0.6b
(*.f64 (atan2.f64 x.im x.re) y.im)
28.8b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
28.8b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
33.5b
(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)))

rewrite38.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.im)
4.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)))
23.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)))

series297.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
23.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
24.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
225.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)))

simplify128.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (105.0ms)

IterNodesCost
048381270
148381270

prune117.0ms

Filtered
58 candidates to 68 candidates (-17.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New61768
Fresh000
Picked101
Done000
Total62769

Merged error: 18.2b

Counts
69 → 7

localize29.0ms

Local error

Found 4 expressions with local error:

3.1b
(cbrt.f64 (atan2.f64 x.im x.re))
28.8b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
28.8b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
33.5b
(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)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64
pow1_binary64 sqrt-prod_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-div_binary64
cbrt-prod_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
pow1/3_binary64 sin-sum_binary64
Counts
4 → 49
Calls
4 calls:
1.0ms
(cbrt.f64 (atan2.f64 x.im x.re))
4.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)))
7.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)))

series301.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(cbrt.f64 (atan2.f64 x.im x.re))
26.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
26.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
198.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)))

simplify80.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
050291162

prune98.0ms

Filtered
53 candidates to 61 candidates (-15.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New60161
Fresh066
Picked011
Done000
Total60868

Merged error: 18.2b

Counts
68 → 8

localize39.0ms

Local error

Found 4 expressions with local error:

28.8b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
33.5b
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
33.5b
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
33.5b
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

rewrite27.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:
4.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 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
7.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
8.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

series597.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
192.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
192.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
189.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))

simplify88.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
050441579

prune175.0ms

Filtered
49 candidates to 51 candidates (-4.1%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New51051
Fresh066
Picked011
Done011
Total51859

Merged error: 18.2b

Counts
59 → 8

localize23.0ms

Local error

Found 4 expressions with local error:

0.4b
(*.f64 (atan2.f64 x.im x.re) y.re)
0.6b
(*.f64 (atan2.f64 x.im x.re) y.im)
16.6b
(sin.f64 (+.f64 (*.f64 (log.f64 (neg.f64 x.re)) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
28.8b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite20.0ms

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

series225.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
27.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
147.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (neg.f64 x.re)) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
26.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify131.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (110.0ms)

IterNodesCost
048391147
148391147

prune69.0ms

Filtered
54 candidates to 71 candidates (-31.5%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New69271
Fresh055
Picked011
Done022
Total691079

Merged error: 12.4b

Counts
79 → 10

regimes275.0ms

Accuracy

74.5% (5.3b remaining)

Error of 18.4b against oracle of 13.1b and baseline of 33.8b

bsearch124.0ms

Steps
ItersRangePoint
9
-3.012847183078543e-303
2.7494504005465715e-308
2.7935567998281e-310

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
080117
180117

end0.0ms

sample4.0s

Algorithm
intervals
Results
1.6s2104×body1280invalid
855.0ms7557×body80valid
664.0ms1323×body640invalid
170.0ms481×body320invalid
101.0ms132×body1280valid
75.0ms155×body640valid
65.0ms39×body2560invalid
45.0ms386×body80invalid
40.0ms174×body160invalid
30.0ms87×body320valid
16.0ms69×body160valid

Profiling

Loading profile data...