Details

Time bar (total: 3.3s)

analyze336.0ms (10.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
25%25%50%2
25%25%50%3
31.2%18.7%50%4
31.2%18.7%50%5
34.3%15.6%50%6
34.3%15.6%50%7
35.9%14%50%8
35.9%14%50%9
36.7%13.3%50%10
36.7%13.3%50%11
37.1%12.9%50%12
37.1%12.9%50%13
37.3%12.7%50%14

sample38.0ms (1.2%)

Algorithm
intervals
Results
8.0ms182×body80valid
6.0ms24×body2560valid
4.0ms19×body1280valid
4.0ms13×body5120valid
3.0ms256×pre80true
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify16.0ms (0.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (15.0ms)

IterNodesCost
026515
126515

prune6.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 39.6b

Counts
2 → 1

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+ (* re re) (* im im))
0.2b
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
0.8b
(- (sqrt (+ (* re re) (* im im))) re)
30.0b
(sqrt (+ (* re re) (* im im)))

rewrite25.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
pow1 add-log-exp
*-un-lft-identity
add-cube-cbrt sqrt-prod
add-exp-log sqrt-div add-cbrt-cube
sqrt-pow1
flip3-- flip3-+ pow1/2 associate-*r/ flip-- flip-+ difference-of-squares
+-commutative sub-neg rem-sqrt-square diff-log pow-prod-down sum-log distribute-lft-out--
Counts
4 → 53
Calls

4 calls:

8.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
7.0ms
(- (sqrt (+ (* re re) (* im im))) re)
4.0ms
(+ (* re re) (* im im))
4.0ms
(sqrt (+ (* re re) (* im im)))

series47.0ms (1.4%)

Counts
4 → 12
Calls

4 calls:

24.0ms
(sqrt (* 2.0 (- (sqrt (+ (* re re) (* im im))) re)))
10.0ms
(sqrt (+ (* re re) (* im im)))
7.0ms
(- (sqrt (+ (* re re) (* im im))) re)
6.0ms
(+ (* re re) (* im im))

simplify56.0ms (1.7%)

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
04962739
14962739

prune136.0ms (4.2%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New58765
Fresh000
Picked011
Done000
Total58866

Merged error: 11.6b

Counts
66 → 8

localize8.0ms (0.2%)

Local error

Found 1 expressions with local error:

0.0b
(sqrt (* 2.0 (- im re)))

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
pow1
sqrt-pow1 sqrt-div associate-*r/
add-exp-log add-sqr-sqrt add-cube-cbrt flip3-- *-un-lft-identity pow1/2 pow-prod-down sqrt-prod add-cbrt-cube flip-- add-log-exp
Counts
1 → 13
Calls

1 calls:

5.0ms
(sqrt (* 2.0 (- im re)))

series15.0ms (0.5%)

Counts
1 → 3
Calls

1 calls:

15.0ms
(sqrt (* 2.0 (- im re)))

simplify39.0ms (1.2%)

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05758162

prune56.0ms (1.7%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New13316
Fresh066
Picked011
Done011
Total131124

Merged error: 11.6b

Counts
24 → 11

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(sqrt (- im re))
0.3b
(* (sqrt 2.0) (sqrt (- im re)))

rewrite13.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
17×sqrt-prod
11×*-un-lft-identity
associate-*r*
pow1 add-cube-cbrt
associate-*l*
add-exp-log sqrt-div add-cbrt-cube unswap-sqr
sqrt-pow1 pow1/2 pow-prod-down
flip3-- associate-*r/ flip-- distribute-lft-out-- add-log-exp difference-of-squares
rem-sqrt-square sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
2 → 51
Calls

2 calls:

8.0ms
(* (sqrt 2.0) (sqrt (- im re)))
3.0ms
(sqrt (- im re))

series24.0ms (0.7%)

Counts
2 → 6
Calls

2 calls:

15.0ms
(* (sqrt 2.0) (sqrt (- im re)))
9.0ms
(sqrt (- im re))

simplify47.0ms (1.4%)

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
04936522
14936522

prune115.0ms (3.5%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New56157
Fresh088
Picked101
Done022
Total571168

Merged error: 11.6b

Counts
68 → 11

localize18.0ms (0.6%)

Local error

Found 4 expressions with local error:

0.0b
(log (sqrt (- im re)))
0.0b
(sqrt (- im re))
0.3b
(* (sqrt 2.0) (exp (log (sqrt (- im re)))))
3.3b
(exp (log (sqrt (- im re))))

rewrite32.0ms (1%)

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
28×log-prod sqrt-prod
23×*-un-lft-identity
20×exp-sum
15×add-cube-cbrt
11×pow1 associate-*r*
sqrt-div
add-exp-log log-div exp-prod associate-*l* log-pow add-cbrt-cube unswap-sqr
flip3-- exp-diff flip-- distribute-lft-out-- add-log-exp difference-of-squares
sqrt-pow1 pow1/2
associate-*r/
rem-sqrt-square rem-log-exp pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log
Counts
4 → 98
Calls

4 calls:

12.0ms
(* (sqrt 2.0) (exp (log (sqrt (- im re)))))
8.0ms
(exp (log (sqrt (- im re))))
6.0ms
(log (sqrt (- im re)))
3.0ms
(sqrt (- im re))

series46.0ms (1.4%)

Counts
4 → 12
Calls

4 calls:

15.0ms
(* (sqrt 2.0) (exp (log (sqrt (- im re)))))
12.0ms
(log (sqrt (- im re)))
9.0ms
(exp (log (sqrt (- im re))))
9.0ms
(sqrt (- im re))

simplify66.0ms (2%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
04955997
14955997

prune173.0ms (5.3%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1073110
Fresh268
Picked101
Done022
Total11011121

Merged error: 11.6b

Counts
121 → 11

regimes799.0ms (24.6%)

Accuracy

Total 10.1b remaining (50.4%)

Threshold costs 0b (0%)

bsearch50.0ms (1.5%)

Steps
ItersRangePoint
7
1.0250922956797423e-98
3.9960023839108e-97
1.040253303888319e-98
9
-4.18142418170851e-60
-2.756128105475179e-68
-2.8053796276591436e-68
7
-4.285299441618348e+123
-2.2129268921572134e+122
-3.0912337318531483e+123

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05963
15963

end0.0ms (0%)

sample1.1s (32.9%)

Algorithm
intervals
Results
290.0ms5958×body80valid
196.0ms687×body2560valid
114.0ms499×body1280valid
108.0ms8000×pre80true
104.0ms305×body5120valid
54.0ms291×body640valid
24.0ms174×body320valid
10.0ms86×body160valid

Profiling

Loading profile data...