Details

Time bar (total: 3.1s)

analyze519.0ms (16.9%)

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
0%99.8%0.2%6
0%99.8%0.2%7
6.2%93.6%0.2%8
25%74.9%0.2%9
28.1%71.7%0.2%10
29.6%70.2%0.2%11
53%46.8%0.2%12
71.3%28.5%0.2%13
71.7%28.1%0.2%14

sample22.0ms (0.7%)

Algorithm
intervals
Results
11.0ms256×body80valid
0.0msbody80invalid

simplify5.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01515
11515

prune7.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.7b

Counts
2 → 1

localize9.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))
0.2b
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
29.2b
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite19.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
times-frac_binary64
add-log-exp_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
flip3-+_binary64 flip-+_binary64
associate-/r*_binary64 pow1_binary64 associate-/l*_binary64
associate-/l/_binary64 associate-/r/_binary64 +-commutative_binary64 sum-log_binary64
cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64
Counts
3 → 53
Calls

3 calls:

9.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
4.0ms
(+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))
4.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))

series55.0ms (1.8%)

Counts
3 → 9
Calls

3 calls:

36.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
12.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
7.0ms
(+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))

simplify48.0ms (1.6%)

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
05334951

prune105.0ms (3.4%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New54862
Fresh000
Picked011
Done000
Total54963

Merged error: 28.9b

Counts
63 → 9

localize12.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.2b
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
19.7b
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))))
30.6b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
30.6b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite25.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64
21×*-un-lft-identity_binary64 add-cube-cbrt_binary64
18×times-frac_binary64 sqrt-prod_binary64
associate-/r*_binary64 add-log-exp_binary64 pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-div_binary64
flip3-+_binary64 flip-+_binary64
associate-/l*_binary64
associate-/l/_binary64 pow1/2_binary64 associate-/r/_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64
cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 +-commutative_binary64 sum-log_binary64
Counts
4 → 84
Calls

4 calls:

10.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))))
4.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
4.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

series93.0ms (3%)

Counts
4 → 12
Calls

4 calls:

62.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))))
14.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
10.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

simplify60.0ms (2%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
055031525

prune126.0ms (4.1%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New91596
Fresh257
Picked101
Done011
Total9411105

Merged error: 24.9b

Counts
105 → 11

localize13.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.4b
(/.f64 1 (/.f64 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))) (+.f64 (*.f64 y.re x.re) (*.f64 y.im x.im))))
19.7b
(/.f64 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))) (+.f64 (*.f64 y.re x.re) (*.f64 y.im x.im)))
30.6b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
30.6b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite40.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
162×times-frac_binary64
100×add-sqr-sqrt_binary64
98×*-un-lft-identity_binary64 add-cube-cbrt_binary64
54×sqrt-prod_binary64
27×associate-/r*_binary64
17×add-exp-log_binary64
11×add-cbrt-cube_binary64 associate-/r/_binary64
associate-/l*_binary64
flip3-+_binary64 div-exp_binary64 flip-+_binary64
pow1_binary64
div-inv_binary64 sqrt-div_binary64
add-log-exp_binary64 cbrt-undiv_binary64
associate-/l/_binary64 pow1/2_binary64 1-exp_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 rec-exp_binary64
inv-pow_binary64 pow-flip_binary64
Counts
4 → 193
Calls

4 calls:

13.0ms
(/.f64 1 (/.f64 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))) (+.f64 (*.f64 y.re x.re) (*.f64 y.im x.im))))
10.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))) (+.f64 (*.f64 y.re x.re) (*.f64 y.im x.im)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

series80.0ms (2.6%)

Counts
4 → 12
Calls

4 calls:

33.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))) (+.f64 (*.f64 y.re x.re) (*.f64 y.im x.im)))
32.0ms
(/.f64 1 (/.f64 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))) (+.f64 (*.f64 y.re x.re) (*.f64 y.im x.im))))
7.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

simplify72.0ms (2.4%)

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049624856
149624856

prune225.0ms (7.4%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New2050205
Fresh099
Picked011
Done011
Total20511216

Merged error: 24.9b

Counts
216 → 11

localize25.0ms (0.8%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))) (/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))))
19.7b
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))))
30.6b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
30.6b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite84.0ms (2.7%)

Algorithm
rewrite-expression-head
Rules
95×add-sqr-sqrt_binary64
76×times-frac_binary64
53×*-un-lft-identity_binary64
47×add-cube-cbrt_binary64 sqrt-prod_binary64
28×add-exp-log_binary64
24×associate-*r*_binary64 associate-*l*_binary64
18×add-cbrt-cube_binary64
15×unswap-sqr_binary64
10×sqrt-div_binary64
div-exp_binary64
pow1_binary64 prod-exp_binary64
flip3-+_binary64 associate-/r*_binary64 associate-/r/_binary64 flip-+_binary64
cbrt-undiv_binary64
add-log-exp_binary64 cbrt-unprod_binary64
associate-/l*_binary64 div-inv_binary64
associate-/l/_binary64 pow1/2_binary64 1-exp_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 rec-exp_binary64
pow-prod-down_binary64 associate-*r/_binary64 clear-num_binary64 frac-2neg_binary64 frac-times_binary64 associate-*l/_binary64 *-commutative_binary64
Counts
4 → 160
Calls

4 calls:

39.0ms
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))) (/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))))
23.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))))
8.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
8.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

series97.0ms (3.2%)

Counts
4 → 12
Calls

4 calls:

46.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))))
35.0ms
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))) (/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))))
7.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

simplify72.0ms (2.4%)

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049893794
149893794

prune158.0ms (5.2%)

Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1702172
Fresh178
Picked011
Done022
Total17112183

Merged error: 24.9b

Counts
183 → 12

regimes472.0ms (15.4%)

Accuracy

Total 2.2b remaining (8.6%)

Threshold costs 0b (0%)

bsearch1.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02983
12983

end0.0ms (0%)

sample618.0ms (20.2%)

Algorithm
intervals
Results
370.0ms8000×body80valid
24.0ms496×body80invalid

Profiling

Loading profile data...