Details

Time bar (total: 12.3s)

sample58.0ms

Algorithm
intervals
Results
19.0ms241×body80nan
17.0ms256×body80valid

simplify62.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01828
12728
24428
35628
47428
57828
done7828

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.1b

localize20.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.3b
(* (atan2 im re) (log base))
0.5b
(* (log base) (log base))
29.2b
(sqrt (+ (* re re) (* im im)))

rewrite60.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:
31.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
8.0ms
(* (atan2 im re) (log base))
9.0ms
(* (log base) (log base))
8.0ms
(sqrt (+ (* re re) (* im im)))

series271.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
31.0ms
(* (atan2 im re) (log base))
158.0ms
(* (log base) (log base))
39.0ms
(sqrt (+ (* re re) (* im im)))

simplify3.0s

Counts
120 → 120
Iterations

Useful iterations: 3 (1.4s)

IterNodesCost
01942236
14412040
213951850
349371817
done50001817

prune442.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 1 expressions with local error:

0.3b
(/ (atan2 im re) (log base))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
12×times-frac
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1
associate-/r* log-pow
add-exp-log add-cbrt-cube associate-/l*
cbrt-undiv frac-2neg div-exp clear-num div-inv add-log-exp
Counts
1 → 31
Calls
1 calls:
5.0ms
(/ (atan2 im re) (log base))

series36.0ms

Counts
1 → 3
Calls
1 calls:
36.0ms
(/ (atan2 im re) (log base))

simplify2.1s

Counts
34 → 34
Iterations

Useful iterations: 4 (242.0ms)

IterNodesCost
062380
1103361
2210337
3388334
4672330
52100330
done5000330

prune112.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
60×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
19×pow1 associate-/r*
16×log-pow
15×add-exp-log
add-cbrt-cube
div-exp
associate-/l*
div-inv
cbrt-undiv
rec-exp frac-2neg 1-exp clear-num add-log-exp
pow-flip associate-/r/ inv-pow
Counts
2 → 119
Calls
2 calls:
10.0ms
(/ 1 (/ (log base) (atan2 im re)))
7.0ms
(/ (log base) (atan2 im re))

series100.0ms

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

simplify1.3s

Counts
125 → 125
Iterations

Useful iterations: 3 (463.0ms)

IterNodesCost
01621850
13211561
26211382
316171346
done50001346

prune196.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
603×times-frac
279×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
73×associate-/r*
59×add-exp-log
58×pow1
52×log-pow
43×div-exp
23×div-inv
19×add-cbrt-cube
15×rec-exp 1-exp
10×cbrt-undiv
associate-/l*
associate-/r/
pow-flip
frac-2neg clear-num inv-pow add-log-exp
remove-double-div
Counts
3 → 374
Calls
3 calls:
10.0ms
(/ 1 (/ (atan2 im re) (log base)))
26.0ms
(/ 1 (/ 1 (/ (atan2 im re) (log base))))
5.0ms
(/ (atan2 im re) (log base))

series111.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ 1 (/ (atan2 im re) (log base)))
36.0ms
(/ 1 (/ 1 (/ (atan2 im re) (log base))))
43.0ms
(/ (atan2 im re) (log base))

simplify2.1s

Counts
383 → 383
Iterations

Useful iterations: 3 (1.0s)

IterNodesCost
04257395
19014602
213874316
324054277
done50014277

prune337.0ms

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 0.0b

regimes218.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11110
done1110

end0.0ms

sample1.6s

Algorithm
intervals
Results
564.0ms8038×body80nan
547.0ms8000×body80valid