Details

Time bar (total: 20.5s)

sample114.0ms

Algorithm
intervals
Results
41.0ms305×body80nan
33.0ms256×body80valid

simplify49.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
01828
12721
23321
done3321

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize19.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.5b
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
0.5b
(fma (log base) (log base) (* 0.0 0.0))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
associate-/r* associate-/l*
fma-udef
cbrt-undiv hypot-udef frac-2neg div-exp clear-num div-inv
Counts
4 → 59
Calls
4 calls:
0.0ms
(hypot re im)
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
5.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series860.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(hypot re im)
162.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
221.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
419.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify1.2s

Counts
71 → 71
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01111384
11961361
24331185
312611140
done50001131

prune510.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize23.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))
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)) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
0.5b
(fma (log base) (log base) (* 0.0 0.0))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
150×times-frac
89×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
42×sqrt-prod
16×associate-/l*
11×add-exp-log add-cbrt-cube
associate-/r* div-inv
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg clear-num fma-udef
associate-/l/
Counts
4 → 163
Calls
4 calls:
10.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
1.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
34.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
1.0ms
(fma (log base) (log base) (* 0.0 0.0))

series1.2s

Counts
4 → 12
Calls
4 calls:
220.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
172.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
400.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
379.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify2.5s

Counts
175 → 175
Iterations

Useful iterations: done (2.5s)

IterNodesCost
02596925
15336630
211105576
329965382
done50025253

prune904.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 0b

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
150×times-frac
95×add-sqr-sqrt
93×add-cube-cbrt *-un-lft-identity
42×sqrt-prod
16×associate-/l*
13×add-exp-log add-cbrt-cube
associate-/r* div-inv
pow1
log-prod
cbrt-undiv expm1-log1p-u div-exp associate-*r* associate-*l* log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in
frac-2neg clear-num log-pow
pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef associate-/l/ unswap-sqr
Counts
4 → 181
Calls
4 calls:
8.0ms
(/ (fma (atan2 im re) 0.0 (* (log (hypot re im)) (log base))) (hypot (log base) 0.0))
25.0ms
(* (log (hypot re im)) (log base))
24.0ms
(/ (/ (fma (atan2 im re) 0.0 (* (log (hypot re im)) (log base))) (hypot (log base) 0.0)) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
1.0ms
(fma (log base) (log base) (* 0.0 0.0))

series1.1s

Counts
4 → 12
Calls
4 calls:
189.0ms
(/ (fma (atan2 im re) 0.0 (* (log (hypot re im)) (log base))) (hypot (log base) 0.0))
125.0ms
(* (log (hypot re im)) (log base))
352.0ms
(/ (/ (fma (atan2 im re) 0.0 (* (log (hypot re im)) (log base))) (hypot (log base) 0.0)) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
404.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify2.1s

Counts
193 → 193
Iterations

Useful iterations: done (2.1s)

IterNodesCost
03027072
16026770
213035702
334995505
done50015378

prune980.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0b

localize35.0ms

Local error

Found 4 expressions with local error:

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

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
27×*-un-lft-identity
26×add-cube-cbrt
20×add-exp-log times-frac
17×associate-*r*
13×pow1 add-cbrt-cube
associate-*l*
log-prod
prod-exp
expm1-log1p-u unpow-prod-down div-exp log1p-expm1-u add-log-exp unswap-sqr
distribute-rgt-in pow-unpow distribute-lft-in associate-/r* log-pow cbrt-unprod associate-/l*
cbrt-undiv rec-exp 1-exp pow-prod-down *-commutative div-inv
pow-to-exp pow-flip pow-pow frac-2neg associate-*r/ pow-exp clear-num un-div-inv unpow2 inv-pow sqr-pow
Counts
4 → 120
Calls
4 calls:
10.0ms
(/ 1 (fma 0.0 0.0 (pow (log base) 2)))
34.0ms
(* (fma (atan2 im re) 0.0 (* (log (hypot re im)) (log base))) (/ 1 (fma 0.0 0.0 (pow (log base) 2))))
17.0ms
(* (log (hypot re im)) (log base))
6.0ms
(pow (log base) 2)

series851.0ms

Counts
4 → 12
Calls
4 calls:
305.0ms
(/ 1 (fma 0.0 0.0 (pow (log base) 2)))
188.0ms
(* (fma (atan2 im re) 0.0 (* (log (hypot re im)) (log base))) (/ 1 (fma 0.0 0.0 (pow (log base) 2))))
148.0ms
(* (log (hypot re im)) (log base))
209.0ms
(pow (log base) 2)

simplify3.1s

Counts
132 → 132
Iterations

Useful iterations: done (3.1s)

IterNodesCost
02012110
13921926
29961642
335421627
done50001624

prune582.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0b

regimes526.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01622
12022
done2022

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.5s8000×body80valid
1.3s8062×body80nan