Details

Time bar (total: 10.4s)

analyze1.5s (14.3%)

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
Compiler

Compiled 38 to 20 computations (47.4% saved)

sample129.0ms (1.2%)

Algorithm
intervals
Results
53.0ms80×body1024invalid
29.0ms237×body128valid
10.0ms27×body512invalid
4.0msbody2048invalid
4.0ms10×body512valid
3.0msbody1024valid
2.0ms10×body256invalid
2.0ms13×body128invalid
1.0msbody2048valid
1.0msbody256valid
Compiler

Compiled 75 to 43 computations (42.7% saved)

simplify250.0ms (2.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
0494972
1494972

prune14.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 34.3b

Counts
2 → 1
Compiler

Compiled 73 to 38 computations (47.9% saved)

localize24.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite30.0ms (0.3%)

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:

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

series535.0ms (5.2%)

Counts
4 → 12
Calls

4 calls:

390.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)))
54.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
50.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
40.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify99.0ms (1%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
048371270
148371270

prune126.0ms (1.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New59968
Fresh000
Picked101
Done000
Total60969

Merged error: 20.2b

Counts
69 → 9
Compiler

Compiled 3196 to 969 computations (69.7% saved)

localize37.0ms (0.4%)

Local error

Found 4 expressions with local error:

29.3b
(sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))
29.3b
(sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))
29.3b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.4b
(sin.f64 (+.f64 (*.f64 (log.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) (cbrt.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2))))) (cbrt.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)))

rewrite75.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity_binary64
13×sqrt-prod_binary64
10×add-sqr-sqrt_binary64
pow1_binary64 add-cube-cbrt_binary64
sqrt-div_binary64
add-log-exp_binary64 distribute-lft-out_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 unpow-prod-down_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
sin-sum_binary64
Counts
4 → 57
Calls

4 calls:

40.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) (cbrt.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2))))) (cbrt.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
(sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))
8.0ms
(sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

series508.0ms (4.9%)

Counts
4 → 12
Calls

4 calls:

377.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))) (cbrt.f64 (sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2))))) (cbrt.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)))
49.0ms
(sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))
42.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
40.0ms
(sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))

simplify72.0ms (0.7%)

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
050271297

prune191.0ms (1.8%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New68169
Fresh178
Picked011
Done000
Total69978

Merged error: 20.1b

Counts
78 → 9
Compiler

Compiled 4427 to 2387 computations (46.1% saved)

localize36.0ms (0.3%)

Local error

Found 4 expressions with local error:

29.3b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.4b
(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)))
31.4b
(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)))
31.4b
(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)))

rewrite37.0ms (0.4%)

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:

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

series1.1s (10.3%)

Counts
4 → 12
Calls

4 calls:

346.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)))
345.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)))
332.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)))
47.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify73.0ms (0.7%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
050431579

prune183.0ms (1.8%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New50151
Fresh077
Picked011
Done011
Total501060

Merged error: 20.1b

Counts
60 → 10
Compiler

Compiled 4615 to 2412 computations (47.7% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.4b
(*.f64 (atan2.f64 x.im x.re) y.re)
1.8b
(*.f64 (atan2.f64 x.im x.re) y.im)
18.4b
(sin.f64 (+.f64 (*.f64 (atan2.f64 x.im x.re) y.re) (*.f64 y.im (log.f64 x.re))))
29.3b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite24.0ms (0.2%)

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
(sin.f64 (+.f64 (*.f64 (atan2.f64 x.im x.re) y.re) (*.f64 y.im (log.f64 x.re))))
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.im)
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)

series367.0ms (3.5%)

Counts
4 → 12
Calls

4 calls:

212.0ms
(sin.f64 (+.f64 (*.f64 (atan2.f64 x.im x.re) y.re) (*.f64 y.im (log.f64 x.re))))
55.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
52.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
47.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify78.0ms (0.8%)

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
049201120
149201120

prune84.0ms (0.8%)

Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New65671
Fresh257
Picked101
Done022
Total681381

Merged error: 13.9b

Counts
81 → 13
Compiler

Compiled 2433 to 457 computations (81.2% saved)

regimes276.0ms (2.7%)

Compiler

Compiled 2204 to 1528 computations (30.7% saved)

bsearch291.0ms (2.8%)

Steps
ItersRangePoint
10
15821337948131.822
4.2902547215702305e+24
35323782267678.79
7
8.510819758434254e-65
4.71210344297255e-63
2.7034704071498713e-64
10
-3.067921034983855e-296
1.2608510414788044e-302
-3.27709251007574e-310
Compiler

Compiled 1 to 4 computations (-300% saved)

simplify5.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0107241
1107241

end0.0ms (0%)

sample4.2s (40.9%)

Algorithm
intervals
Results
1.5s2512×body1024invalid
888.0ms7562×body128valid
361.0ms941×body512invalid
200.0ms164×body2048invalid
108.0ms188×body1024valid
84.0ms325×body256invalid
63.0ms502×body128invalid
55.0ms148×body512valid
20.0ms83×body256valid
19.0ms19×body2048valid
Compiler

Compiled 712 to 465 computations (34.7% saved)

Profiling

Loading profile data...