Details

Time bar (total: 5.1s)

sample55.0ms

Algorithm
intervals
Results
19.0ms256×body80valid
18.0ms265×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: 34.6b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
505×*-un-lft-identity
216×add-sqr-sqrt
207×associate-*l*
169×times-frac
145×distribute-lft-out
133×pow1
120×swap-sqr
119×log-pow
84×distribute-lft-out--
58×unswap-sqr
56×difference-of-squares
43×add-cube-cbrt
13×associate-/r* associate-/l*
12×log-prod
10×add-exp-log add-cbrt-cube
associate-*r* sqrt-prod
distribute-rgt-in distribute-lft-in
add-log-exp
flip3-+ sqrt-div pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod flip-+ associate-/l/
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 → 293
Calls
4 calls:
4.0ms
(* (atan2 im re) (log base))
48.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
5.0ms
(* (log base) (log base))
17.0ms
(sqrt (+ (* re re) (* im im)))

series267.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* (atan2 im re) (log base))
36.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
157.0ms
(* (log base) (log base))
45.0ms
(sqrt (+ (* re re) (* im im)))

simplify102.0ms

Algorithm
egg-herbie
Counts
305 → 305
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05405486
119825294
250015252

prune461.0ms

Filtered
305 candidates to 95 candidates (31.1%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New29114305
Fresh000
Picked101
Done000
Total29214306

Merged error: 0.1b

Counts
306 → 14

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

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

series158.0ms

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

simplify111.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (37.0ms)

IterNodesCost
0210469
1591433
21598413
34410390
45001390

prune154.0ms

Filtered
84 candidates to 45 candidates (53.6%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New741084
Fresh8513
Picked101
Done000
Total831598

Merged error: 0.0b

Counts
98 → 15

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
25×times-frac
23×*-un-lft-identity
22×add-cube-cbrt
16×associate-*r*
12×pow1
10×associate-*r/
add-exp-log add-cbrt-cube
associate-/r* log-pow
associate-/l*
associate-*l* clear-num
cbrt-undiv frac-2neg div-exp prod-exp un-div-inv cbrt-unprod div-inv add-log-exp unswap-sqr
pow-prod-down *-commutative
Counts
2 → 77
Calls
2 calls:
3.0ms
(/ -1 (log base))
9.0ms
(* (atan2 im re) (/ -1 (log base)))

series220.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0221408
11148375
25001336

prune160.0ms

Filtered
83 candidates to 55 candidates (66.3%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New79483
Fresh6814
Picked011
Done000
Total851398

Merged error: 0.0b

Counts
98 → 13

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
132×*-un-lft-identity
102×times-frac
82×add-sqr-sqrt add-cube-cbrt
65×cbrt-prod
50×log-pow
48×log-prod
45×distribute-rgt-out associate-*r*
44×pow1
32×associate-+l+
28×associate-/r*
27×cbrt-div
20×distribute-lft-out
16×distribute-rgt-in associate-+r+ distribute-lft-in
15×distribute-lft1-in
12×pow1/3 associate-/l*
10×associate-*l*
associate-+r- log-div
add-log-exp
add-exp-log add-cbrt-cube div-inv
frac-2neg clear-num
flip3-+ sum-log associate-/r/ flip-+
cbrt-undiv +-commutative div-exp
Counts
4 → 238
Calls
4 calls:
21.0ms
(+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base))))
13.0ms
(/ (atan2 im re) (+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base)))))
4.0ms
(cbrt (/ 1 base))
4.0ms
(cbrt (/ 1 base))

series756.0ms

Counts
4 → 12
Calls
4 calls:
285.0ms
(+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base))))
104.0ms
(/ (atan2 im re) (+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base)))))
181.0ms
(cbrt (/ 1 base))
185.0ms
(cbrt (/ 1 base))

simplify72.0ms

Algorithm
egg-herbie
Counts
250 → 250
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04802135
116241886
250011769

prune563.0ms

Filtered
250 candidates to 159 candidates (63.6%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2464250
Fresh5611
Picked101
Done011
Total25211263

Merged error: 0b

Counts
263 → 11

regimes231.0ms

Accuracy

0% (0.3b 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
02311
12511
22511

end0.0ms

sample1.5s

Algorithm
intervals
Results
586.0ms8000×body80valid
547.0ms7955×body80nan