Details

Time bar (total: 9.0s)

sample58.0ms

Algorithm
intervals
Results
21.0ms265×body80nan
18.0ms256×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02716
13316
23316

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: 35.0b

Counts
2 → 1

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)) (+ (* (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.5b
(sqrt (+ (* re re) (* im im)))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
413×*-un-lft-identity
189×distribute-lft-out
182×associate-*l*
117×times-frac
111×pow1
98×swap-sqr log-pow
94×add-sqr-sqrt
39×add-cube-cbrt
26×hypot-def
13×associate-/r*
12×log-prod *-commutative unswap-sqr
10×add-exp-log add-cbrt-cube
associate-/l*
associate-*r* sqrt-prod
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u add-log-exp
flip3-+ flip-+
sqrt-pow1 pow1/2 sqrt-div pow-prod-down prod-exp associate-/r/ cbrt-unprod associate-/l/
cbrt-undiv +-commutative pow2 rem-sqrt-square frac-2neg pow-plus div-exp clear-num pow-sqr pow-prod-up div-inv
Counts
4 → 273
Calls
4 calls:
43.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))
5.0ms
(* (log base) (log base))
17.0ms
(sqrt (+ (* re re) (* im im)))

series411.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
100.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
156.0ms
(* (log base) (log base))
47.0ms
(sqrt (+ (* re re) (* im im)))

simplify89.0ms

Algorithm
egg-herbie
Counts
285 → 285
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04683824
117933485
250013407

prune428.0ms

Filtered
285 candidates to 104 candidates (36.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New27312285
Fresh000
Picked101
Done000
Total27412286

Merged error: 0.2b

Counts
286 → 12

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite219.0ms

Algorithm
rewrite-expression-head
Rules
1316×*-un-lft-identity
820×distribute-lft-out
694×associate-*l*
357×pow1
338×log-pow
325×times-frac
214×swap-sqr
96×associate-*r*
88×add-sqr-sqrt
66×add-cube-cbrt
61×*-commutative
30×log-prod
28×distribute-rgt-out
27×distribute-rgt-in distribute-lft-in
25×associate-/l*
22×add-exp-log
18×add-cbrt-cube
15×unswap-sqr
13×associate-/r*
11×prod-exp
pow-prod-down cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
sqrt-pow1 flip3-+ pow1/2 1-exp associate-/r/ flip-+ associate-/l/
cbrt-undiv pow2 frac-2neg pow-plus div-exp clear-num pow-sqr pow-prod-up div-inv
Counts
4 → 523
Calls
4 calls:
137.0ms
(/ (+ (+ (* (log (sqrt base)) (* 1 (log (hypot re im)))) (* (log (sqrt base)) (* 1 (log (hypot re im))))) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
10.0ms
(* (log (sqrt base)) (* 1 (log (hypot re im))))
10.0ms
(* (log (sqrt base)) (* 1 (log (hypot re im))))
5.0ms
(* (log base) (log base))

series815.0ms

Counts
4 → 12
Calls
4 calls:
298.0ms
(/ (+ (+ (* (log (sqrt base)) (* 1 (log (hypot re im)))) (* (log (sqrt base)) (* 1 (log (hypot re im))))) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
178.0ms
(* (log (sqrt base)) (* 1 (log (hypot re im))))
175.0ms
(* (log (sqrt base)) (* 1 (log (hypot re im))))
163.0ms
(* (log base) (log base))

simplify162.0ms

Algorithm
egg-herbie
Counts
535 → 535
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
074610218
130807269
250017173

prune623.0ms

Filtered
535 candidates to 120 candidates (22.4%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New52312535
Fresh8311
Picked101
Done000
Total53215547

Merged error: 0.0b

Counts
547 → 15

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (/ (hypot (log base) 0.0) 1))
0.4b
(* (/ 1 (/ (hypot (log base) 0.0) 1)) (/ (fma 2 (* (log (sqrt base)) (log (hypot re im))) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)))
0.4b
(/ (fma 2 (* (log (sqrt base)) (log (hypot re im))) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
0.4b
(* (log (sqrt base)) (log (hypot re im)))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
277×times-frac
276×add-sqr-sqrt
236×*-un-lft-identity
224×add-cube-cbrt
212×associate-/r*
171×frac-times
106×associate-/l*
85×add-exp-log
58×associate-*l*
47×div-exp
36×clear-num
34×frac-2neg add-cbrt-cube
21×prod-exp div-inv
20×associate-/r/
19×associate-*l/
18×1-exp
17×associate-*r* unswap-sqr
13×cbrt-undiv
12×pow1
rec-exp associate-*r/
cbrt-unprod
log-prod
expm1-log1p-u log-pow log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in
pow-prod-down un-div-inv *-commutative remove-double-div
pow-flip sqrt-pow1 pow1/2 inv-pow
Counts
4 → 469
Calls
4 calls:
7.0ms
(/ 1 (/ (hypot (log base) 0.0) 1))
33.0ms
(* (/ 1 (/ (hypot (log base) 0.0) 1)) (/ (fma 2 (* (log (sqrt base)) (log (hypot re im))) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)))
3.0ms
(/ (fma 2 (* (log (sqrt base)) (log (hypot re im))) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
5.0ms
(* (log (sqrt base)) (log (hypot re im)))

series1.5s

Counts
4 → 12
Calls
4 calls:
390.0ms
(/ 1 (/ (hypot (log base) 0.0) 1))
439.0ms
(* (/ 1 (/ (hypot (log base) 0.0) 1)) (/ (fma 2 (* (log (sqrt base)) (log (hypot re im))) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)))
472.0ms
(/ (fma 2 (* (log (sqrt base)) (log (hypot re im))) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
179.0ms
(* (log (sqrt base)) (log (hypot re im)))

simplify121.0ms

Algorithm
egg-herbie
Counts
481 → 481
Iterations

Useful iterations: 1 (44.0ms)

IterNodesCost
021868635
150017980

prune1.2s

Filtered
481 candidates to 233 candidates (48.4%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New4765481
Fresh8614
Picked101
Done000
Total48511496

Merged error: 0b

Counts
496 → 11

localize35.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (log (sqrt base)) (* 1 (log (hypot re im))))
0.5b
(* (log base) (log base))
0.6b
(cbrt (hypot re im))
0.6b
(cbrt (hypot re im))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
25×pow1
24×*-un-lft-identity
22×associate-*r*
20×add-cube-cbrt
18×log-prod
15×distribute-rgt-in distribute-lft-in
13×add-exp-log associate-*l*
11×add-cbrt-cube
10×log-pow
unswap-sqr
cbrt-prod swap-sqr prod-exp
expm1-log1p-u pow-prod-down cbrt-unprod log1p-expm1-u add-log-exp
*-commutative
pow1/3
pow2 sqrt-pow1 pow-plus pow1/2 1-exp pow-sqr pow-prod-up
Counts
4 → 116
Calls
4 calls:
10.0ms
(* (log (sqrt base)) (* 1 (log (hypot re im))))
5.0ms
(* (log base) (log base))
1.0ms
(cbrt (hypot re im))
1.0ms
(cbrt (hypot re im))

series613.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(* (log (sqrt base)) (* 1 (log (hypot re im))))
165.0ms
(* (log base) (log base))
133.0ms
(cbrt (hypot re im))
131.0ms
(cbrt (hypot re im))

simplify51.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0456776
11524680
25001642

prune682.0ms

Filtered
128 candidates to 82 candidates (64.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1271128
Fresh1910
Picked101
Done000
Total12910139

Merged error: 0b

Counts
139 → 10

regimes275.0ms

Accuracy

0% (0.5b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 0.6b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03731
13731

end0.0ms

sample1.5s

Algorithm
intervals
Results
578.0ms8000×body80valid
539.0ms7955×body80nan