Details

Time bar (total: 7.3s)

analyze1.3s

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
48.9%50.8%0.3%13
50%49.7%0.4%14

sample121.0ms

Algorithm
intervals
Results
34.0ms47×body1280invalid
27.0ms237×body80valid
19.0ms31×body640invalid
5.0ms15×body320invalid
5.0msbody1280valid
5.0msbody640valid
3.0ms14×body160invalid
1.0ms11×body80invalid
1.0msbody320valid
0.0msbody160valid

simplify511.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
0493436
1493436

prune15.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: 33.8b

Counts
2 → 2

localize24.0ms

Local error

Found 4 expressions with local error:

1.8b
(*.f64 (atan2.f64 x.im x.re) y.im)
28.9b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
28.9b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.2b
(cos.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)))

rewrite36.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 unswap-sqr_binary64 prod-exp_binary64 cos-sum_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)))
9.0ms
(cos.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)))

series82.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(*.f64 (atan2.f64 x.im x.re) y.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)))
60.0ms
(cos.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)))

simplify104.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (96.0ms)

IterNodesCost
04801676
14801676

prune98.0ms

Filtered
56 candidates to 68 candidates (-21.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New64468
Fresh011
Picked101
Done000
Total65570

Merged error: 20.0b

Counts
70 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp.f64 (-.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re) (*.f64 (atan2.f64 x.im x.re) y.im)))
0.2b
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
1.8b
(*.f64 (atan2.f64 x.im x.re) y.im)
28.9b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64
11×pow1_binary64
10×*-un-lft-identity_binary64 add-cube-cbrt_binary64
associate-*l*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64
associate-*r*_binary64
log-pow_binary64 sqrt-prod_binary64 exp-prod_binary64
pow-prod-down_binary64 pow1/2_binary64 cbrt-unprod_binary64 rem-exp-log_binary64 sqrt-pow1_binary64 unswap-sqr_binary64 prod-exp_binary64 sqrt-div_binary64 *-commutative_binary64
flip3-+_binary64 sub-neg_binary64 diff-log_binary64 exp-diff_binary64 rem-sqrt-square_binary64 exp-sum_binary64 flip-+_binary64
Counts
4 → 68
Calls
4 calls:
5.0ms
(exp.f64 (-.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re) (*.f64 (atan2.f64 x.im x.re) y.im)))
5.0ms
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
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)))

series79.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(exp.f64 (-.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re) (*.f64 (atan2.f64 x.im x.re) y.im)))
28.0ms
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
8.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
9.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify48.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
05267840

prune93.0ms

Filtered
61 candidates to 80 candidates (-31.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New78280
Fresh044
Picked011
Done000
Total78785

Merged error: 4.6b

Counts
85 → 7

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(/.f64 (pow.f64 x.re y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
1.8b
(*.f64 (atan2.f64 x.im x.re) y.im)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
21×times-frac_binary64
20×*-un-lft-identity_binary64 add-cube-cbrt_binary64
12×unpow-prod-down_binary64
associate-/l*_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
pow1_binary64 sqr-pow_binary64
associate-/r*_binary64 associate-*r*_binary64 associate-*l*_binary64 div-exp_binary64
add-log-exp_binary64
pow-to-exp_binary64 pow-prod-down_binary64 cbrt-unprod_binary64 cbrt-undiv_binary64 unswap-sqr_binary64 clear-num_binary64 prod-exp_binary64 frac-2neg_binary64 div-inv_binary64 pow-exp_binary64 *-commutative_binary64
Counts
2 → 63
Calls
2 calls:
6.0ms
(/.f64 (pow.f64 x.re y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

series42.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(/.f64 (pow.f64 x.re y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))
8.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

simplify43.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
04924928
14924928

prune78.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New66369
Fresh055
Picked101
Done011
Total67976

Merged error: 4.6b

Counts
76 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt.f64 x.re)
0.6b
(cbrt.f64 x.re)
0.6b
(cbrt.f64 x.re)
1.8b
(*.f64 (atan2.f64 x.im x.re) y.im)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64 cbrt-prod_binary64
pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64
associate-*r*_binary64 pow1/3_binary64 associate-*l*_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 unswap-sqr_binary64 prod-exp_binary64 *-commutative_binary64
Counts
4 → 51
Calls
4 calls:
1.0ms
(cbrt.f64 x.re)
1.0ms
(cbrt.f64 x.re)
1.0ms
(cbrt.f64 x.re)
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

series95.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(cbrt.f64 x.re)
27.0ms
(cbrt.f64 x.re)
30.0ms
(cbrt.f64 x.re)
8.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

simplify25.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
05413291

prune51.0ms

Filtered
49 candidates to 63 candidates (-28.6%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New63063
Fresh077
Picked011
Done011
Total63972

Merged error: 4.6b

Counts
72 → 9

regimes434.0ms

Accuracy

59% (6.4b remaining)

Error of 10.3b against oracle of 3.8b and baseline of 19.5b

bsearch239.0ms

Steps
ItersRangePoint
7
3.855574762716742e-36
1.1904091354241852e-34
7.691521858662134e-35
10
4.1136646491794746e-182
3.0420156237048115e-172
2.432862549184466e-179
9
-1.0382332020571772e-299
-9.460081165269269e-306
-9.571765797869584e-306

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08362
18362

end0.0ms

sample3.7s

Algorithm
intervals
Results
1.4s1934×body1280invalid
833.0ms7569×body80valid
610.0ms1261×body640invalid
179.0ms519×body320invalid
95.0ms129×body1280valid
79.0ms165×body640valid
55.0ms245×body160invalid
47.0ms404×body80invalid
29.0ms87×body320valid
12.0ms50×body160valid

Profiling

Loading profile data...