Details

Time bar (total: 17.9s)

analyze2.7s (15%)

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)

sample201.0ms (1.1%)

Algorithm
intervals
Results
70.0ms70×body1024invalid
53.0ms244×body128valid
25.0ms27×body512invalid
5.0msbody1024valid
4.0msbody256invalid
4.0msbody2048invalid
3.0msbody512valid
3.0ms14×body128invalid
1.0msbody256valid
Compiler

Compiled 75 to 43 computations (42.7% saved)

simplify258.0ms (1.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (98.0ms)

IterNodesCost
0494472
1494472

prune14.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 28.0b

Counts
2 → 1
Compiler

Compiled 73 to 38 computations (47.9% saved)

localize57.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite54.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:

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

series505.0ms (2.8%)

Counts
4 → 12
Calls

4 calls:

387.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)))
42.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
39.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
36.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify181.0ms (1%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (145.0ms)

IterNodesCost
048741270
148741270

prune226.0ms (1.3%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New59968
Fresh000
Picked101
Done000
Total60969

Merged error: 16.7b

Counts
69 → 9
Compiler

Compiled 3222 to 962 computations (70.1% saved)

localize53.0ms (0.3%)

Local error

Found 4 expressions with local error:

6.7b
(cbrt.f64 (*.f64 (atan2.f64 x.im x.re) y.re))
24.8b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
24.8b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (*.f64 (cbrt.f64 (*.f64 (atan2.f64 x.im x.re) y.re)) (cbrt.f64 (*.f64 (atan2.f64 x.im x.re) y.re))) (cbrt.f64 (*.f64 (atan2.f64 x.im x.re) y.re)))))

rewrite51.0ms (0.3%)

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

4 calls:

16.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (*.f64 (cbrt.f64 (*.f64 (atan2.f64 x.im x.re) y.re)) (cbrt.f64 (*.f64 (atan2.f64 x.im x.re) y.re))) (cbrt.f64 (*.f64 (atan2.f64 x.im x.re) y.re)))))
8.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
8.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
4.0ms
(cbrt.f64 (*.f64 (atan2.f64 x.im x.re) y.re))

series668.0ms (3.7%)

Counts
4 → 12
Calls

4 calls:

436.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (*.f64 (cbrt.f64 (*.f64 (atan2.f64 x.im x.re) y.re)) (cbrt.f64 (*.f64 (atan2.f64 x.im x.re) y.re))) (cbrt.f64 (*.f64 (atan2.f64 x.im x.re) y.re)))))
149.0ms
(cbrt.f64 (*.f64 (atan2.f64 x.im x.re) y.re))
42.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)))

simplify122.0ms (0.7%)

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 0 (89.0ms)

IterNodesCost
048711173
148711173

prune192.0ms (1.1%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New59059
Fresh088
Picked011
Done000
Total59968

Merged error: 16.7b

Counts
68 → 9
Compiler

Compiled 3546 to 913 computations (74.3% saved)

localize69.0ms (0.4%)

Local error

Found 4 expressions with local error:

24.8b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(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.1b
(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.1b
(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)))

rewrite65.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:

16.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)))
13.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)))
13.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
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

series1.1s (5.9%)

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)))
331.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)))
325.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)))
51.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify137.0ms (0.8%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (98.0ms)

IterNodesCost
050561579

prune335.0ms (1.9%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New51051
Fresh077
Picked011
Done011
Total51960

Merged error: 16.7b

Counts
60 → 9
Compiler

Compiled 4545 to 2355 computations (48.2% saved)

localize63.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

rewrite59.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity_binary64
12×cbrt-prod_binary64
11×add-sqr-sqrt_binary64
add-cube-cbrt_binary64
sqrt-prod_binary64
pow1_binary64
unpow-prod-down_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-div_binary64
cube-prod_binary64
flip3-+_binary64 pow1/2_binary64 distribute-lft-out_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 → 61
Calls

4 calls:

14.0ms
(sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))
12.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)))
9.0ms
(cbrt.f64 (pow.f64 (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))) 3))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

series769.0ms (4.3%)

Counts
4 → 12
Calls

4 calls:

366.0ms
(cbrt.f64 (pow.f64 (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))) 3))
323.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)))
42.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
38.0ms
(sqrt.f64 (+.f64 (pow.f64 x.re 2) (pow.f64 x.im 2)))

simplify137.0ms (0.8%)

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (91.0ms)

IterNodesCost
051572116

prune236.0ms (1.3%)

Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New70373
Fresh156
Picked011
Done022
Total711182

Merged error: 16.7b

Counts
82 → 11
Compiler

Compiled 3323 to 1447 computations (56.5% saved)

regimes1.2s (6.5%)

Compiler

Compiled 6427 to 4215 computations (34.4% saved)

bsearch453.0ms (2.5%)

Steps
ItersRangePoint
10
-2.3035672796801733e-298
2.2681328871212016e-307
2.03323265387355e-310
7
-4.112949967345281e-264
-1.1636684244090466e-265
-3.681246395840957e-264
9
-2.7033259684250657e+100
-1.915997100528093e+95
-1.938303095832879e+95
Compiler

Compiled 1 to 4 computations (-300% saved)

simplify10.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
087279
187279

end0.0ms (0%)

sample8.1s (45.3%)

Algorithm
intervals
Results
2.4s2491×body1024invalid
1.6s7579×body128valid
595.0ms913×body512invalid
256.0ms161×body2048invalid
161.0ms170×body1024valid
157.0ms350×body256invalid
108.0ms507×body128invalid
103.0ms157×body512valid
34.0ms80×body256valid
21.0ms14×body2048valid
Compiler

Compiled 1448 to 892 computations (38.4% saved)

Profiling

Loading profile data...