Details

Time bar (total: 5.0s)

sample62.0ms

Algorithm
intervals
Results
26.0ms256×body80valid
18.0ms215×body80nan

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02716
14416
25616
37416
48016
58016

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)))

rewrite25.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
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-- div-inv
Counts
4 → 108
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)))
4.0ms
(* (atan2 im re) (log base))
5.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series251.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)))
27.0ms
(* (atan2 im re) (log base))
150.0ms
(* (log base) (log base))
41.0ms
(sqrt (+ (* re re) (* im im)))

simplify57.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04441213
118161100
250011070

prune434.0ms

Filtered
120 candidates to 79 candidates (65.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New11010120
Fresh000
Picked101
Done000
Total11110121

Merged error: 0.1b

Counts
121 → 10

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*
div-inv add-log-exp
cbrt-undiv log-div rec-exp frac-2neg 1-exp log-rec clear-num
Counts
2 → 68
Calls
2 calls:
3.0ms
(log (/ 1 base))
4.0ms
(/ (atan2 im re) (log (/ 1 base)))

series150.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (34.0ms)

IterNodesCost
0197433
1536402
21518386
33905369
45001369

prune180.0ms

Filtered
74 candidates to 42 candidates (56.8%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New65974
Fresh549
Picked101
Done000
Total711384

Merged error: 0.0b

Counts
84 → 13

localize9.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 div-exp prod-exp cbrt-unprod div-inv add-log-exp unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
2 → 66
Calls
2 calls:
7.0ms
(* (atan2 im re) (/ -1 (log base)))
3.0ms
(/ -1 (log base))

series206.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0205380
11004347
25001307

prune171.0ms

Filtered
72 candidates to 45 candidates (62.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New70272
Fresh3912
Picked011
Done000
Total731285

Merged error: 0b

Counts
85 → 12

localize16.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)

rewrite17.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
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 → 103
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)

series779.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(/ 1 (cbrt base))
225.0ms
(/ (atan2 im re) (+ (* (- 2) (log (cbrt base))) (log (/ 1 (cbrt base)))))
183.0ms
(cbrt base)
186.0ms
(cbrt base)

simplify40.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0321897
11111815
25001733

prune350.0ms

Filtered
115 candidates to 84 candidates (73.0%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1141115
Fresh1910
Picked011
Done011
Total11512127

Merged error: 0b

Counts
127 → 12

regimes224.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.9s

Algorithm
intervals
Results
748.0ms8000×body80valid
706.0ms8007×body80nan

Profiling

Loading profile data...