Details

Time bar (total: 5.1s)

sample56.0ms

Algorithm
intervals
Results
21.0ms256×body80valid
18.0ms265×body80nan

simplify13.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: 34.6b

Counts
2 → 1

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

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
505×*-un-lft-identity
266×add-sqr-sqrt
207×associate-*l*
169×times-frac
145×distribute-lft-out
133×pow1
130×swap-sqr
119×log-pow
84×distribute-lft-out--
68×unswap-sqr
56×difference-of-squares
43×add-cube-cbrt
26×hypot-def
13×associate-/r* associate-/l*
12×log-prod *-commutative
10×add-exp-log add-cbrt-cube
associate-*r* sqrt-prod
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u add-log-exp
flip3-+ sqrt-div pow-prod-down prod-exp associate-/r/ cbrt-unprod flip-+ associate-/l/
cbrt-undiv +-commutative 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 → 327
Calls
4 calls:
4.0ms
(* (atan2 im re) (log base))
54.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)))

series246.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (atan2 im re) (log base))
37.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
145.0ms
(* (log base) (log base))
37.0ms
(sqrt (+ (* re re) (* im im)))

simplify97.0ms

Algorithm
egg-herbie
Counts
339 → 339
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05645478
120815120
250015058

prune479.0ms

Filtered
339 candidates to 114 candidates (33.6%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New32613339
Fresh000
Picked101
Done000
Total32713340

Merged error: 0.1b

Counts
340 → 13

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
expm1-log1p-u frac-2neg log1p-expm1-u div-inv add-log-exp
cbrt-undiv rec-exp 1-exp
Counts
2 → 82
Calls
2 calls:
4.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)))

simplify118.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (38.0ms)

IterNodesCost
0214485
1595449
21607429
34551406
45001406

prune161.0ms

Filtered
88 candidates to 49 candidates (55.7%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New771188
Fresh8412
Picked101
Done000
Total8615101

Merged error: 0.0b

Counts
101 → 15

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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 expm1-log1p-u frac-2neg div-exp prod-exp un-div-inv cbrt-unprod log1p-expm1-u div-inv add-log-exp unswap-sqr
pow-prod-down *-commutative
Counts
2 → 81
Calls
2 calls:
3.0ms
(/ -1 (log base))
8.0ms
(* (atan2 im re) (/ -1 (log base)))

series218.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0225424
11152391
25001352

prune168.0ms

Filtered
87 candidates to 59 candidates (67.8%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New83487
Fresh7714
Picked011
Done000
Total9012102

Merged error: 0.0b

Counts
102 → 12

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
135×*-un-lft-identity
102×times-frac
87×add-sqr-sqrt
85×add-cube-cbrt
65×cbrt-prod
52×log-pow
50×associate-*r*
48×log-prod
45×pow1 distribute-rgt-out
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
14×fma-def
13×pow1/3 associate-*l*
12×associate-/l*
associate-+r- log-div
add-log-exp
add-exp-log add-cbrt-cube div-inv
expm1-log1p-u frac-2neg clear-num log1p-expm1-u
flip3-+ sum-log associate-/r/ flip-+
cbrt-undiv +-commutative div-exp *-commutative unswap-sqr
Counts
4 → 260
Calls
4 calls:
24.0ms
(+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base))))
13.0ms
(/ (atan2 im re) (+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base)))))
3.0ms
(cbrt (/ 1 base))
4.0ms
(cbrt (/ 1 base))

series759.0ms

Counts
4 → 12
Calls
4 calls:
282.0ms
(+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base))))
102.0ms
(/ (atan2 im re) (+ (* 2 (log (cbrt (/ 1 base)))) (log (cbrt (/ 1 base)))))
191.0ms
(cbrt (/ 1 base))
183.0ms
(cbrt (/ 1 base))

simplify75.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05362137
118271889
250011746

prune601.0ms

Filtered
272 candidates to 179 candidates (65.8%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2666272
Fresh7310
Picked101
Done011
Total27410284

Merged error: 0b

Counts
284 → 10

regimes227.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
572.0ms8000×body80valid
544.0ms7955×body80nan