Details

Time bar (total: 8.3s)

analyze1.6s (18.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05006504
044
144
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
Compiler

Compiled 38 to 20 computations (47.4% saved)

sample110.0ms (1.3%)

Algorithm
intervals
Results
34.0ms68×body1024invalid
27.0ms242×body128valid
11.0ms33×body512invalid
8.0msbody1024valid
3.0ms12×body256invalid
2.0ms19×body128invalid
2.0msbody2048valid
2.0msbody512valid
1.0msbody2048invalid
Compiler

Compiled 75 to 43 computations (42.7% saved)

simplify66.0ms (0.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
0494472
1494472

prune8.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 30.5b

Counts
2 → 1
Compiler

Compiled 73 to 38 computations (47.9% saved)

localize24.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite28.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 unswap-sqr_binary64 prod-exp_binary64 cos-sum_binary64 *-commutative_binary64
Counts
4 → 56
Calls

4 calls:

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

series292.0ms (3.5%)

Counts
4 → 12
Calls

4 calls:

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

simplify119.0ms (1.4%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (101.0ms)

IterNodesCost
048631251
148631251

prune113.0ms (1.4%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New63568
Fresh000
Picked101
Done000
Total64569

Merged error: 19.7b

Counts
69 → 5
Compiler

Compiled 3039 to 864 computations (71.6% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(-.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.3b
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
2.7b
(*.f64 (atan2.f64 x.im x.re) y.im)
27.6b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite23.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
11×pow1_binary64
*-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
pow-prod-down_binary64 pow1/2_binary64 cbrt-unprod_binary64 sqrt-pow1_binary64 unswap-sqr_binary64 prod-exp_binary64 sqrt-div_binary64 *-commutative_binary64
flip3-+_binary64 sub-neg_binary64 flip3--_binary64 diff-log_binary64 cancel-sign-sub-inv_binary64 rem-sqrt-square_binary64 flip--_binary64 flip-+_binary64
Counts
4 → 66
Calls

4 calls:

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

series238.0ms (2.9%)

Counts
4 → 12
Calls

4 calls:

115.0ms
(-.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))
74.0ms
(*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.re)
27.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
22.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify65.0ms (0.8%)

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049581662
149581662

prune99.0ms (1.2%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New75378
Fresh044
Picked011
Done000
Total75883

Merged error: 3.3b

Counts
83 → 8
Compiler

Compiled 2207 to 1090 computations (50.6% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(exp.f64 (-.f64 (*.f64 (log.f64 x.re) y.re) (*.f64 (atan2.f64 x.im x.re) y.im)))
0.0b
(-.f64 (*.f64 (log.f64 x.re) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))
0.2b
(*.f64 (log.f64 x.re) y.re)
2.7b
(*.f64 (atan2.f64 x.im x.re) y.im)

rewrite23.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt_binary64
*-un-lft-identity_binary64 add-log-exp_binary64 pow1_binary64 add-cube-cbrt_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
associate-*l*_binary64
associate-*r*_binary64
exp-prod_binary64
pow-prod-down_binary64 sub-neg_binary64 diff-log_binary64 cbrt-unprod_binary64 rem-exp-log_binary64 cancel-sign-sub-inv_binary64 unswap-sqr_binary64 exp-sum_binary64 prod-exp_binary64 *-commutative_binary64
flip3--_binary64 log-pow_binary64 exp-diff_binary64 flip--_binary64
Counts
4 → 64
Calls

4 calls:

6.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
5.0ms
(exp.f64 (-.f64 (*.f64 (log.f64 x.re) y.re) (*.f64 (atan2.f64 x.im x.re) y.im)))
4.0ms
(*.f64 (log.f64 x.re) y.re)
4.0ms
(-.f64 (*.f64 (log.f64 x.re) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))

series232.0ms (2.8%)

Counts
4 → 12
Calls

4 calls:

85.0ms
(exp.f64 (-.f64 (*.f64 (log.f64 x.re) y.re) (*.f64 (atan2.f64 x.im x.re) y.im)))
82.0ms
(-.f64 (*.f64 (log.f64 x.re) y.re) (*.f64 (atan2.f64 x.im x.re) y.im))
38.0ms
(*.f64 (log.f64 x.re) y.re)
27.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

simplify47.0ms (0.6%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
052011277

prune71.0ms (0.9%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New74276
Fresh066
Picked011
Done011
Total741084

Merged error: 3.3b

Counts
84 → 10
Compiler

Compiled 1611 to 568 computations (64.7% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite76.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
146×add-sqr-sqrt_binary64
140×cbrt-prod_binary64
114×times-frac_binary64
70×*-un-lft-identity_binary64 add-cube-cbrt_binary64
46×unpow-prod-down_binary64
37×associate-*r*_binary64 associate-*l*_binary64
28×swap-sqr_binary64 unswap-sqr_binary64
22×sqr-pow_binary64
17×pow1_binary64
12×add-exp-log_binary64
10×add-cbrt-cube_binary64
pow1/3_binary64
pow-prod-down_binary64
cbrt-div_binary64 add-log-exp_binary64 cbrt-unprod_binary64 prod-exp_binary64 div-inv_binary64 *-commutative_binary64
pow-prod-up_binary64 pow-sqr_binary64
associate-*r/_binary64 pow-plus_binary64 frac-times_binary64 pow2_binary64 associate-*l/_binary64
Counts
4 → 184
Calls

4 calls:

34.0ms
(*.f64 (cbrt.f64 (/.f64 (pow.f64 x.re y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))) (cbrt.f64 (/.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)
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

series456.0ms (5.5%)

Counts
4 → 12
Calls

4 calls:

376.0ms
(*.f64 (cbrt.f64 (/.f64 (pow.f64 x.re y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))) (cbrt.f64 (/.f64 (pow.f64 x.re y.re) (exp.f64 (*.f64 (atan2.f64 x.im x.re) y.im)))))
31.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
25.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)
24.0ms
(*.f64 (atan2.f64 x.im x.re) y.im)

simplify152.0ms (1.8%)

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
049328966
149328966

prune222.0ms (2.7%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1951196
Fresh077
Picked101
Done022
Total19610206

Merged error: 3.3b

Counts
206 → 10
Compiler

Compiled 9580 to 1445 computations (84.9% saved)

regimes469.0ms (5.6%)

Compiler

Compiled 3192 to 2170 computations (32% saved)

bsearch86.0ms (1%)

Steps
ItersRangePoint
10
-1.3438403193467702e-297
1.5520194723550723e-306
7.0491519677833e-311
Compiler

Compiled 1 to 4 computations (-300% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06353
16353

end0.0ms (0%)

sample3.7s (44.4%)

Algorithm
intervals
Results
1.2s2341×body1024invalid
835.0ms7593×body128valid
327.0ms954×body512invalid
104.0ms444×body256invalid
88.0ms175×body1024valid
63.0ms548×body128invalid
49.0ms142×body512valid
31.0ms42×body2048invalid
18.0ms79×body256valid
9.0ms11×body2048valid
Compiler

Compiled 687 to 462 computations (32.8% saved)

Profiling

Loading profile data...