Details

Time bar (total: 6.0s)

sample53.0ms

Algorithm
intervals
Results
18.0ms256×body80valid
17.0ms260×body80nan

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 31.2b

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.4b
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
0.6b
(* (log base) (log base))
28.9b
(sqrt (+ (* re re) (* im im)))

rewrite26.0ms

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

series393.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
103.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
156.0ms
(* (log base) (log base))
37.0ms
(sqrt (+ (* re re) (* im im)))

simplify67.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04671408
118201268
250011217

prune464.0ms

Filtered
131 candidates to 95 candidates (72.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New12011131
Fresh000
Picked101
Done000
Total12111132

Merged error: 0.2b

Counts
132 → 11

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.4b
(* (log (hypot re im)) (log base))
0.4b
(/ (+ (* (log (hypot re im)) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
0.6b
(* (log base) (log base))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
24×*-un-lft-identity
22×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* associate-/l*
flip3-+ pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod flip-+ associate-/l/ unswap-sqr
cbrt-undiv pow2 hypot-udef frac-2neg pow-plus div-exp clear-num pow-sqr pow-prod-up div-inv
Counts
4 → 109
Calls
4 calls:
1.0ms
(hypot re im)
4.0ms
(* (log (hypot re im)) (log base))
8.0ms
(/ (+ (* (log (hypot re im)) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
5.0ms
(* (log base) (log base))

series426.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(hypot re im)
104.0ms
(* (log (hypot re im)) (log base))
114.0ms
(/ (+ (* (log (hypot re im)) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
157.0ms
(* (log base) (log base))

simplify54.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
03941062
11578949
25001919

prune398.0ms

Filtered
121 candidates to 85 candidates (70.2%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New10813121
Fresh10010
Picked101
Done000
Total11913132

Merged error: 0b

Counts
132 → 13

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
44×add-sqr-sqrt *-un-lft-identity
42×add-cube-cbrt
25×add-exp-log
24×sqrt-prod
20×add-cbrt-cube
17×pow1
10×div-exp associate-/l*
div-inv
cbrt-undiv associate-/r*
log-prod swap-sqr log-pow
prod-exp
expm1-log1p-u associate-*r* associate-*l* log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in cbrt-unprod
frac-2neg sqrt-div 1-exp clear-num associate-/r/
pow2 flip3-+ pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up flip-+ fma-udef associate-/l/ unswap-sqr
Counts
4 → 149
Calls
4 calls:
10.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0))))
1.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
4.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1))
5.0ms
(* (log base) (log base))

series769.0ms

Counts
4 → 12
Calls
4 calls:
198.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0))))
111.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
299.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1))
161.0ms
(* (log base) (log base))

simplify65.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
05262615
118932303
250012279

prune531.0ms

Filtered
161 candidates to 110 candidates (68.3%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1565161
Fresh6612
Picked101
Done000
Total16311174

Merged error: 0b

Counts
174 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.4b
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
0.4b
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma 0.0 0.0 (pow (log base) 2)))
0.6b
(pow (log base) 2)

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log
pow1 add-cbrt-cube
expm1-log1p-u unpow-prod-down log1p-expm1-u add-log-exp
pow-unpow associate-/r* associate-/l*
cbrt-undiv pow-to-exp hypot-udef pow-pow frac-2neg div-exp pow-exp clear-num log-pow fma-udef div-inv unpow2 sqr-pow
Counts
4 → 70
Calls
4 calls:
1.0ms
(hypot re im)
1.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
3.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma 0.0 0.0 (pow (log base) 2)))
2.0ms
(pow (log base) 2)

series455.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(hypot re im)
109.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
150.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma 0.0 0.0 (pow (log base) 2)))
150.0ms
(pow (log base) 2)

simplify107.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0231703
1675626
23194619
35003615

prune260.0ms

Filtered
82 candidates to 65 candidates (79.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New81182
Fresh1910
Picked011
Done000
Total821193

Merged error: 0b

Counts
93 → 11

regimes252.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01510
11510

end0.0ms

sample1.5s

Algorithm
intervals
Results
588.0ms8000×body80valid
552.0ms7984×body80nan