Details

Time bar (total: 3.3s)

analyze1.1s

Algorithm
search
sampling

Space saved by range analysis: 0.146413%

Space saved by search: 46.952782%

Guaranteed chance to sample good point: 88.149127%

sample39.0ms

Algorithm
intervals
Results
26.0ms256×body80valid
2.0ms18×body80nan

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02316
12316

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.3b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
0.4b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.5b
(* (log base) (log base))
32.8b
(sqrt (+ (* re re) (* im im)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
25×*-un-lft-identity
23×pow1 add-cube-cbrt
12×log-prod
10×add-exp-log associate-*l* log-pow add-cbrt-cube
times-frac
associate-*r*
distribute-rgt-in distribute-lft-in swap-sqr
add-log-exp
flip3-+ associate-/r* sqrt-prod flip-+ associate-/l*
sqrt-pow1 pow1/2 sqrt-div pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod associate-/l/ unswap-sqr
cbrt-undiv pow2 rem-sqrt-square frac-2neg pow-plus div-exp clear-num pow-sqr pow-prod-up div-inv
Counts
4 → 110
Calls
4 calls:
9.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
6.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
4.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series71.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
25.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
15.0ms
(* (log base) (log base))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify58.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04571397
117161276
250011225

prune209.0ms

Filtered
80 candidates to 122 candidates (-52.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New11111122
Fresh000
Picked011
Done000
Total11112123

Merged error: 7.3b

Counts
123 → 12

localize22.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.5b
(* (log base) (log base))
0.5b
(* (log base) (log base))
32.8b
(sqrt (+ (* re re) (* im im)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
36×pow1
28×add-sqr-sqrt
25×*-un-lft-identity
21×add-cube-cbrt
18×log-prod
16×log-pow
14×associate-*l*
12×swap-sqr associate-*r*
10×add-exp-log add-cbrt-cube
distribute-rgt-in distribute-lft-in
add-log-exp
pow-prod-down prod-exp sqrt-prod *-commutative cbrt-unprod unswap-sqr
pow2 sqrt-pow1 pow-plus pow1/2 sqrt-div pow-sqr pow-prod-up
rem-sqrt-square flip3-+ flip-+
Counts
4 → 115
Calls
4 calls:
5.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
5.0ms
(* (log base) (log base))
5.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series57.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
15.0ms
(* (log base) (log base))
15.0ms
(* (log base) (log base))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify147.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 3 (138.0ms)

IterNodesCost
0273768
1973677
24633614
35001580

prune199.0ms

Filtered
71 candidates to 127 candidates (-78.9%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1243127
Fresh01010
Picked101
Done011
Total12514139

Merged error: 7.3b

Counts
139 → 14

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (/ 1 (+ (* (log base) (log base)) (* 0.0 0.0))))
0.4b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.5b
(* (log base) (log base))
32.8b
(sqrt (+ (* re re) (* im im)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
26×*-un-lft-identity
25×pow1
23×add-cube-cbrt associate-*r*
17×add-exp-log
13×associate-*l* add-cbrt-cube
12×log-prod
11×times-frac
10×log-pow
distribute-rgt-in distribute-lft-in swap-sqr prod-exp
unswap-sqr
flip3-+ cbrt-unprod flip-+ add-log-exp
pow-prod-down sqrt-prod *-commutative
frac-times sqrt-pow1 pow1/2 sqrt-div div-exp associate-*l/ associate-/r/
cbrt-undiv pow2 rem-sqrt-square rec-exp pow-plus 1-exp associate-*r/ pow-sqr un-div-inv pow-prod-up div-inv
Counts
4 → 121
Calls
4 calls:
12.0ms
(* (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (/ 1 (+ (* (log base) (log base)) (* 0.0 0.0))))
5.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
4.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series68.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (/ 1 (+ (* (log base) (log base)) (* 0.0 0.0))))
21.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
16.0ms
(* (log base) (log base))
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify74.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05811547
125481393
250011339

prune190.0ms

Filtered
83 candidates to 133 candidates (-60.2%)
Pruning

16 alts after pruning (14 fresh and 2 done)

PrunedKeptTotal
New1303133
Fresh11112
Picked011
Done011
Total13116147

Merged error: 7.3b

Counts
147 → 16

localize27.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.7b
(cbrt base)
0.7b
(cbrt base)
32.8b
(sqrt (+ (* re re) (* im im)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
10×pow1
add-exp-log cbrt-prod log-prod associate-*l* add-cbrt-cube
associate-*r* log-pow add-log-exp
distribute-rgt-in distribute-lft-in sqrt-prod
sqrt-pow1 pow1/2 pow1/3 sqrt-div
rem-sqrt-square flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 65
Calls
4 calls:
5.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
1.0ms
(cbrt base)
1.0ms
(cbrt base)
4.0ms
(sqrt (+ (* re re) (* im im)))

series76.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
22.0ms
(cbrt base)
23.0ms
(cbrt base)
6.0ms
(sqrt (+ (* re re) (* im im)))

simplify54.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
0244528
1664483
21904432
35001430

prune90.0ms

Filtered
55 candidates to 77 candidates (-40.0%)
Pruning

15 alts after pruning (12 fresh and 3 done)

PrunedKeptTotal
New75277
Fresh31013
Picked011
Done022
Total781593

Merged error: 7.2b

Counts
93 → 15

regimes724.0ms

bsearch1.0ms

Profiling

Loading profile data...