Details

Time bar (total: 15.3s)

sample53.0ms

Algorithm
intervals
Results
18.0ms256×body80valid
17.0ms224×body80nan

simplify44.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01828
12728
24428
35628
47428
58028
done8028

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.9b

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

rewrite27.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:
12.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
4.0ms
(* (atan2 im re) (log base))
4.0ms
(* (log base) (log base))
4.0ms
(sqrt (+ (* re re) (* im im)))

series251.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
28.0ms
(* (atan2 im re) (log base))
149.0ms
(* (log base) (log base))
40.0ms
(sqrt (+ (* re re) (* im im)))

simplify785.0ms

Counts
120 → 120
Iterations

Useful iterations: 2 (224.0ms)

IterNodesCost
01942236
14402040
214001850
done50021850

prune476.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
26×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×distribute-lft-neg-in distribute-rgt-neg-in
12×associate-/r*
pow1
log-pow
neg-mul-1
add-exp-log add-cbrt-cube associate-/l*
cbrt-undiv frac-2neg div-exp clear-num div-inv add-log-exp
Counts
1 → 63
Calls
1 calls:
4.0ms
(/ (atan2 im re) (- (log base)))

series43.0ms

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

simplify4.8s

Counts
66 → 66
Iterations

Useful iterations: 5 (3.3s)

IterNodesCost
0106887
1184841
2387815
3938809
41911807
54281804
done5000804

prune194.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

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

series203.0ms

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

simplify2.9s

Counts
72 → 72
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
099713
1204644
2645595
32365578
done5000578

prune196.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 1 expressions with local error:

0.3b
(/ (- (atan2 im re)) (+ (log base) 0))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
63×*-un-lft-identity
50×times-frac
30×add-sqr-sqrt add-cube-cbrt
22×distribute-lft-out
18×distribute-lft-neg-in distribute-rgt-neg-in
12×pow1
11×log-pow
10×associate-/l*
neg-mul-1
associate-/r*
add-exp-log add-cbrt-cube
associate-/r/
cbrt-undiv neg-sub0 frac-2neg flip3-+ div-sub distribute-frac-neg div-exp clear-num flip-+ div-inv add-log-exp
Counts
1 → 81
Calls
1 calls:
8.0ms
(/ (- (atan2 im re)) (+ (log base) 0))

series45.0ms

Counts
1 → 3
Calls
1 calls:
45.0ms
(/ (- (atan2 im re)) (+ (log base) 0))

simplify3.3s

Counts
84 → 84
Iterations

Useful iterations: 3 (456.0ms)

IterNodesCost
01201344
12441028
25451002
31585997
done5000997

prune155.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

regimes202.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
099
1149
2189
done189

end0.0ms

sample1.5s

Algorithm
intervals
Results
581.0ms7961×body80nan
567.0ms8000×body80valid