Details

Time bar (total: 7.7s)

analyze1.3s (17.2%)

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

sample141.0ms (1.8%)

Algorithm
intervals
Results
59.0ms72×body1280invalid
29.0ms244×body80valid
17.0ms33×body640invalid
6.0ms13×body320invalid
3.0msbody1280valid
2.0msbody640valid
2.0msbody2560invalid
2.0ms15×body80invalid
1.0msbody160invalid
1.0msbody320valid
1.0msbody160valid

simplify507.0ms (6.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
0493436
1493436

prune15.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.7b

Counts
2 → 2

localize23.0ms (0.3%)

Local error

Found 4 expressions with local error:

1.6b
(*.f64 (atan2.f64 x.im x.re) y.re)
29.8b
(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)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite34.0ms (0.4%)

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:

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)))
6.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
(*.f64 (atan2.f64 x.im x.re) y.re)

series95.0ms (1.2%)

Counts
4 → 12
Calls

4 calls:

63.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)))
17.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
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)))

simplify64.0ms (0.8%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04957686
14957686

prune120.0ms (1.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New60868
Fresh101
Picked101
Done000
Total62870

Merged error: 20.7b

Counts
70 → 8

localize27.0ms (0.3%)

Local error

Found 4 expressions with local error:

31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite19.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64 sqrt-prod_binary64
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64 sqrt-div_binary64
flip3-+_binary64 add-log-exp_binary64 pow1/2_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
Counts
4 → 60
Calls

4 calls:

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

series32.0ms (0.4%)

Counts
4 → 12
Calls

4 calls:

10.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)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify56.0ms (0.7%)

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04905656
14905656

prune114.0ms (1.5%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New71172
Fresh077
Picked011
Done000
Total71980

Merged error: 20.7b

Counts
80 → 9

localize27.0ms (0.4%)

Local error

Found 4 expressions with local error:

31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite19.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64 sqrt-prod_binary64
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64 sqrt-div_binary64
flip3-+_binary64 add-log-exp_binary64 pow1/2_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
Counts
4 → 60
Calls

4 calls:

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

series31.0ms (0.4%)

Counts
4 → 12
Calls

4 calls:

9.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)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify53.0ms (0.7%)

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04905656
14905656

prune109.0ms (1.4%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh077
Picked011
Done011
Total72981

Merged error: 20.7b

Counts
81 → 9

localize24.0ms (0.3%)

Local error

Found 4 expressions with local error:

12.4b
(cbrt.f64 (pow.f64 (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))) 3))
29.8b
(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)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite23.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod_binary64
11×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
unpow-prod-down_binary64 cube-prod_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
rem-cbrt-cube_binary64 pow1/3_binary64 sin-sum_binary64 sqr-pow_binary64 unpow3_binary64 cube-mult_binary64
Counts
4 → 59
Calls

4 calls:

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)))
6.0ms
(cbrt.f64 (pow.f64 (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))) 3))
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)))

series131.0ms (1.7%)

Counts
4 → 12
Calls

4 calls:

58.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)))
58.0ms
(cbrt.f64 (pow.f64 (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))) 3))
8.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)))

simplify46.0ms (0.6%)

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
053321128

prune85.0ms (1.1%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New70171
Fresh066
Picked011
Done022
Total701080

Merged error: 20.7b

Counts
80 → 10

regimes394.0ms (5.1%)

Accuracy

Total 3.9b remaining (17.1%)

Threshold costs 0b (0%)

bsearch79.0ms (1%)

Steps
ItersRangePoint
7
-5.432686138407363e-292
-1.6876537305142705e-293
-1.712157975876638e-293

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07065
17065

end0.0ms (0%)

sample4.1s (53.1%)

Algorithm
intervals
Results
1.6s2104×body1280invalid
873.0ms7556×body80valid
637.0ms1242×body640invalid
169.0ms462×body320invalid
95.0ms129×body1280valid
80.0ms46×body2560invalid
75.0ms151×body640valid
51.0ms392×body80invalid
39.0ms162×body160invalid
38.0ms103×body320valid
15.0ms61×body160valid

Profiling

Loading profile data...