Details

Time bar (total: 4.6s)

sample64.0ms

Algorithm
intervals
Results
22.0ms256×body80valid
19.0ms241×body80nan

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02316
12316

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.4b

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.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))
10.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
5.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series360.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
95.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
143.0ms
(* (log base) (log base))
36.0ms
(sqrt (+ (* re re) (* im im)))

simplify58.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04451361
117511236
250021203

prune431.0ms

Filtered
122 candidates to 84 candidates (68.9%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New10616122
Fresh000
Picked101
Done000
Total10716123

Merged error: 7.2b

Counts
123 → 16

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
270×times-frac
163×add-sqr-sqrt
162×*-un-lft-identity
158×add-cube-cbrt
141×sqrt-prod
31×pow1
24×associate-/l*
18×sqrt-div
16×associate-/r/
13×add-exp-log add-cbrt-cube
12×log-prod swap-sqr log-pow
flip3-+ flip-+
associate-*r* associate-*l* div-inv
distribute-rgt-in distribute-lft-in associate-/r*
add-log-exp
cbrt-undiv div-exp
pow2 pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num associate-/l/
Counts
4 → 278
Calls
4 calls:
34.0ms
(/ (/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0)))) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0))))
9.0ms
(* (log base) (log base))
5.0ms
(* (log base) (log base))
6.0ms
(sqrt (+ (* re re) (* im im)))

series441.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(/ (/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0)))) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0))))
148.0ms
(* (log base) (log base))
145.0ms
(* (log base) (log base))
45.0ms
(sqrt (+ (* re re) (* im im)))

simplify117.0ms

Algorithm
egg-herbie
Counts
290 → 290
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
08398780
131568145
250018032

prune761.0ms

Filtered
290 candidates to 137 candidates (47.2%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New2855290
Fresh31215
Picked101
Done000
Total28917306

Merged error: 7.2b

Counts
306 → 17

localize24.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (log base) (log base))
0.5b
(* (log base) (log base))
0.5b
(* (log base) (log base))
28.0b
(sqrt (+ (* re re) (* im im)))

rewrite22.0ms

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

series480.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(* (log base) (log base))
146.0ms
(* (log base) (log base))
147.0ms
(* (log base) (log base))
41.0ms
(sqrt (+ (* re re) (* im im)))

simplify89.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0183556
1603486
22608453
35001429

prune462.0ms

Filtered
135 candidates to 69 candidates (51.1%)
Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New1323135
Fresh11516
Picked011
Done000
Total13319152

Merged error: 7.1b

Counts
152 → 19

localize24.0ms

Local error

Found 4 expressions with local error:

0.5b
(pow (log base) 2)
28.0b
(sqrt (+ (* re re) (* im im)))
28.0b
(sqrt (+ (* re re) (* im im)))
28.0b
(sqrt (+ (* re re) (* im im)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
sqrt-div
add-exp-log
unpow-prod-down add-cbrt-cube add-log-exp
rem-sqrt-square pow-unpow sqrt-pow1 flip3-+ pow1/2 flip-+
pow-to-exp pow-pow pow-exp log-pow unpow2 sqr-pow
Counts
4 → 64
Calls
4 calls:
2.0ms
(pow (log base) 2)
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))
4.0ms
(sqrt (+ (* re re) (* im im)))

series254.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(pow (log base) 2)
34.0ms
(sqrt (+ (* re re) (* im im)))
39.0ms
(sqrt (+ (* re re) (* im im)))
34.0ms
(sqrt (+ (* re re) (* im im)))

simplify62.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0169373
1482348
21597348
35002344

prune290.0ms

Filtered
76 candidates to 56 candidates (73.7%)
Pruning

19 alts after pruning (17 fresh and 2 done)

PrunedKeptTotal
New76076
Fresh01717
Picked011
Done011
Total761995

Merged error: 7.1b

Counts
95 → 19

regimes449.0ms

bsearch4.0ms

Profiling

Loading profile data...