Details

Time bar (total: 4.5s)

analyze521.0ms (11.5%)

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
Compiler

Compiled 16 to 12 computations (25% saved)

sample30.0ms (0.7%)

Algorithm
intervals
Results
17.0ms256×body128valid
1.0ms17×body128invalid
Compiler

Compiled 31 to 27 computations (12.9% saved)

simplify411.0ms (9.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (241.0ms)

IterNodesCost
0512730

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 26.2b

Counts
2 → 1
Compiler

Compiled 30 to 22 computations (26.7% saved)

localize10.0ms (0.2%)

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.im y.re) (*.f64 x.re y.im))
25.8b
(/.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite25.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64_1109 *-un-lft-identity_binary64_1088 add-cube-cbrt_binary64_1120
times-frac_binary64_1094
add-log-exp_binary64_1124
add-cbrt-cube_binary64_1121 add-exp-log_binary64_1123
associate-/r*_binary64_1034 pow1_binary64_1146 associate-/l*_binary64_1035
flip3--_binary64_1092 associate-/l/_binary64_1037 flip--_binary64_1063 associate-/r/_binary64_1036 flip-+_binary64_1062 flip3-+_binary64_1091
clear-num_binary64_1087 frac-2neg_binary64_1099 sub-neg_binary64_1081 sum-log_binary64_1176 div-exp_binary64_1136 div-sub_binary64_1093 +-commutative_binary64_1020 diff-log_binary64_1177 cbrt-undiv_binary64_1119 div-inv_binary64_1085
Counts
3 → 54
Calls

3 calls:

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

series322.0ms (7.1%)

Counts
3 → 9
Calls

3 calls:

197.0ms
(/.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
87.0ms
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))
38.0ms
(+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))

simplify74.0ms (1.6%)

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
057161814

prune94.0ms (2.1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New56763
Fresh000
Picked101
Done000
Total57764

Merged error: 25.5b

Counts
64 → 7
Compiler

Compiled 1628 to 667 computations (59% saved)

localize17.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.2b
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))
14.6b
(/.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
28.0b
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
28.0b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite45.0ms (1%)

Algorithm
rewrite-expression-head
Rules
43×*-un-lft-identity_binary64_1088
28×sqrt-prod_binary64_1103
25×add-sqr-sqrt_binary64_1109
24×times-frac_binary64_1094
23×add-cube-cbrt_binary64_1120
10×unpow-prod-down_binary64_1164 distribute-lft-out_binary64_1041
associate-/r*_binary64_1034
add-cbrt-cube_binary64_1121 add-exp-log_binary64_1123 sqrt-div_binary64_1104 add-log-exp_binary64_1124 pow1_binary64_1146
flip-+_binary64_1062 flip3-+_binary64_1091 associate-/l*_binary64_1035
rem-sqrt-square_binary64_1101 flip3--_binary64_1092 associate-/l/_binary64_1037 flip--_binary64_1063 associate-/r/_binary64_1036 sqrt-pow1_binary64_1105 pow1/2_binary64_1165
clear-num_binary64_1087 frac-2neg_binary64_1099 sub-neg_binary64_1081 div-exp_binary64_1136 div-sub_binary64_1093 diff-log_binary64_1177 cbrt-undiv_binary64_1119 div-inv_binary64_1085
Counts
4 → 95
Calls

4 calls:

17.0ms
(/.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
8.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
4.0ms
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))

series430.0ms (9.5%)

Counts
4 → 12
Calls

4 calls:

245.0ms
(/.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
93.0ms
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))
49.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
42.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

simplify68.0ms (1.5%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
051853239

prune150.0ms (3.3%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1025107
Fresh246
Picked011
Done000
Total10410114

Merged error: 23.1b

Counts
114 → 10
Compiler

Compiled 3703 to 1560 computations (57.9% saved)

localize21.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.2b
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))
14.7b
(*.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (/.f64 1 (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))))
28.0b
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
28.0b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite52.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity_binary64_1088
36×add-sqr-sqrt_binary64_1109
30×associate-*r*_binary64_1030
28×times-frac_binary64_1094
25×sqrt-prod_binary64_1103
22×add-cube-cbrt_binary64_1120
13×add-exp-log_binary64_1123
add-cbrt-cube_binary64_1121
unpow-prod-down_binary64_1164 pow1_binary64_1146 distribute-lft-out_binary64_1041
sqrt-div_binary64_1104 add-log-exp_binary64_1124
unswap-sqr_binary64_1056
prod-exp_binary64_1134
flip3--_binary64_1092 flip--_binary64_1063 associate-*l*_binary64_1031 flip-+_binary64_1062 flip3-+_binary64_1091
rem-sqrt-square_binary64_1101 associate-*l/_binary64_1033 cbrt-unprod_binary64_1118 frac-times_binary64_1098 associate-/r/_binary64_1036 div-exp_binary64_1136 sqrt-pow1_binary64_1105 pow1/2_binary64_1165
*-commutative_binary64_1021 sub-neg_binary64_1081 rec-exp_binary64_1135 un-div-inv_binary64_1086 1-exp_binary64_1129 diff-log_binary64_1177 cbrt-undiv_binary64_1119 pow-prod-down_binary64_1156 associate-*r/_binary64_1032 div-inv_binary64_1085
Counts
4 → 102
Calls

4 calls:

23.0ms
(*.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (/.f64 1 (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))))
8.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
4.0ms
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))

series413.0ms (9.1%)

Counts
4 → 12
Calls

4 calls:

245.0ms
(*.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (/.f64 1 (sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))))
76.0ms
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))
46.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
46.0ms
(sqrt.f64 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))

simplify77.0ms (1.7%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
051922914

prune159.0ms (3.5%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1140114
Fresh088
Picked011
Done011
Total11410124

Merged error: 23.1b

Counts
124 → 10
Compiler

Compiled 3967 to 1856 computations (53.2% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))
0.2b
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))
0.7b
(/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
25.6b
(*.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))

rewrite56.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity_binary64_1088
32×times-frac_binary64_1094
31×add-sqr-sqrt_binary64_1109
24×add-cube-cbrt_binary64_1120
21×associate-*r*_binary64_1030
17×add-exp-log_binary64_1123
16×unpow-prod-down_binary64_1164 distribute-lft-out_binary64_1041
11×add-cbrt-cube_binary64_1121
add-log-exp_binary64_1124
pow1_binary64_1146
associate-/r*_binary64_1034
associate-/r/_binary64_1036 div-exp_binary64_1136 prod-exp_binary64_1134
unswap-sqr_binary64_1056 flip3--_binary64_1092 flip--_binary64_1063 associate-*l*_binary64_1031 flip-+_binary64_1062 flip3-+_binary64_1091 associate-/l*_binary64_1035
associate-*l/_binary64_1033 cbrt-unprod_binary64_1118 frac-times_binary64_1098 rec-exp_binary64_1135 1-exp_binary64_1129 cbrt-undiv_binary64_1119 div-inv_binary64_1085
*-commutative_binary64_1021 clear-num_binary64_1087 frac-2neg_binary64_1099 inv-pow_binary64_1170 sub-neg_binary64_1081 sum-log_binary64_1176 un-div-inv_binary64_1086 +-commutative_binary64_1020 diff-log_binary64_1177 pow-prod-down_binary64_1156 pow-flip_binary64_1159 associate-*r/_binary64_1032
Counts
4 → 113
Calls

4 calls:

19.0ms
(*.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
11.0ms
(+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))
10.0ms
(/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
4.0ms
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))

series352.0ms (7.8%)

Counts
4 → 12
Calls

4 calls:

193.0ms
(*.f64 (-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im)) (/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))))
78.0ms
(-.f64 (*.f64 x.im y.re) (*.f64 x.re y.im))
46.0ms
(/.f64 1 (+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2)))
35.0ms
(+.f64 (pow.f64 y.re 2) (pow.f64 y.im 2))

simplify80.0ms (1.8%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
052262881

prune135.0ms (3%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1250125
Fresh077
Picked011
Done022
Total12510135

Merged error: 23.1b

Counts
135 → 10
Compiler

Compiled 2868 to 1538 computations (46.4% saved)

regimes105.0ms (2.3%)

Compiler

Compiled 840 to 684 computations (18.6% saved)

bsearch18.0ms (0.4%)

Steps
ItersRangePoint
7
8.552798055396875e+67
1.631459502626628e+69
3.641078765129503e+68
Compiler

Compiled 1 to 4 computations (-300% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06377
16377

end0.0ms (0%)

sample841.0ms (18.6%)

Algorithm
intervals
Results
344.0ms8000×body128valid
20.0ms490×body128invalid
Compiler

Compiled 264 to 203 computations (23.1% saved)

Profiling

Loading profile data...