Details

Time bar (total: 4.9s)

sample64.0ms

Algorithm
intervals
Results
26.0ms256×body80valid
19.0ms215×body80nan

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03116
15216
26816
38816
410216
510616
610616

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

Counts
2 → 1

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

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

series246.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
26.0ms
(* (atan2 im re) (log base))
147.0ms
(* (log base) (log base))
39.0ms
(sqrt (+ (* re re) (* im im)))

simplify59.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04661254
119241122
250011081

prune419.0ms

Filtered
129 candidates to 89 candidates (69.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1218129
Fresh000
Picked101
Done000
Total1228130

Merged error: 0.1b

Counts
130 → 8

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(log (/ 1 base))
0.3b
(/ (atan2 im re) (log (/ 1 base)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
27×times-frac
20×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
15×log-pow
13×log-prod
12×pow1
add-exp-log
associate-/r*
pow-flip inv-pow
rem-log-exp add-cbrt-cube
div-exp associate-/l*
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
cbrt-undiv log-div rec-exp frac-2neg 1-exp log-rec clear-num
Counts
2 → 72
Calls
2 calls:
3.0ms
(log (/ 1 base))
4.0ms
(/ (atan2 im re) (log (/ 1 base)))

series155.0ms

Counts
2 → 6
Calls
2 calls:
119.0ms
(log (/ 1 base))
36.0ms
(/ (atan2 im re) (log (/ 1 base)))

simplify106.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (33.0ms)

IterNodesCost
0201449
1540418
21522402
33981385
45002385

prune185.0ms

Filtered
78 candidates to 46 candidates (59.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New69978
Fresh437
Picked101
Done000
Total741286

Merged error: 0.0b

Counts
86 → 12

localize8.0ms

Local error

Found 2 expressions with local error:

0.2b
(* (atan2 im re) (/ -1 (log base)))
0.3b
(/ -1 (log base))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt times-frac
20×add-cube-cbrt *-un-lft-identity
16×associate-*r*
11×pow1
add-exp-log add-cbrt-cube
log-pow
associate-/r*
associate-*l* associate-/l*
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv add-log-exp unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
2 → 70
Calls
2 calls:
8.0ms
(* (atan2 im re) (/ -1 (log base)))
3.0ms
(/ -1 (log base))

series197.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(* (atan2 im re) (/ -1 (log base)))
157.0ms
(/ -1 (log base))

simplify58.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0209396
11008363
25001323

prune171.0ms

Filtered
76 candidates to 49 candidates (64.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New74276
Fresh2911
Picked011
Done000
Total761288

Merged error: 0b

Counts
88 → 12

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (cbrt base))
0.3b
(/ (atan2 im re) (+ (* (- 2) (log (cbrt base))) (log (/ 1 (cbrt base)))))
0.6b
(cbrt base)
0.6b
(cbrt base)

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
33×times-frac
31×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×cbrt-prod
11×associate-/r*
10×add-exp-log
pow1
distribute-rgt-out log-pow
add-cbrt-cube
pow-flip associate-/l*
inv-pow
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 div-exp
cbrt-undiv frac-2neg clear-num associate-/r/ div-inv
rec-exp flip3-+ 1-exp flip-+
Counts
4 → 111
Calls
4 calls:
4.0ms
(/ 1 (cbrt base))
7.0ms
(/ (atan2 im re) (+ (* (- 2) (log (cbrt base))) (log (/ 1 (cbrt base)))))
1.0ms
(cbrt base)
1.0ms
(cbrt base)

series761.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(/ 1 (cbrt base))
224.0ms
(/ (atan2 im re) (+ (* (- 2) (log (cbrt base))) (log (/ 1 (cbrt base)))))
168.0ms
(cbrt base)
189.0ms
(cbrt base)

simplify40.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0329930
11140849
25001765

prune337.0ms

Filtered
123 candidates to 92 candidates (74.8%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1221123
Fresh1910
Picked011
Done011
Total12312135

Merged error: 0b

Counts
135 → 12

regimes199.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125
1185
2205
3205

end0.0ms

sample1.8s

Algorithm
intervals
Results
736.0ms8000×body80valid
692.0ms8007×body80nan

Profiling

Loading profile data...