Details

Time bar (total: 6.0s)

sample59.0ms

Algorithm
intervals
Results
22.0ms252×body80nan
18.0ms256×body80valid

simplify54.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01828
13122
25222
36822
48822
510022
610422
done10422

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite4.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)
2.0ms
(/ (fma (atan2 im re) (log base) (- (* 0.0 (log (hypot re im))))) (fma (log base) (log base) (* 0.0 0.0)))
0.0ms
(fma (atan2 im re) (log base) (- (* 0.0 (log (hypot re im)))))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series426.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(hypot re im)
72.0ms
(/ (fma (atan2 im re) (log base) (- (* 0.0 (log (hypot re im))))) (fma (log base) (log base) (* 0.0 0.0)))
31.0ms
(fma (atan2 im re) (log base) (- (* 0.0 (log (hypot re im)))))
276.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify545.0ms

Counts
71 → 71
Iterations

Useful iterations: done (543.0ms)

IterNodesCost
01051432
11891415
24541233
313081180
done50001176

prune344.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

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 expm1-log1p-u frac-2neg div-exp clear-num log1p-expm1-u div-inv add-log-exp
Counts
1 → 65
Calls
1 calls:
4.0ms
(/ (atan2 im re) (- (log base)))

series42.0ms

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

simplify1.6s

Counts
68 → 68
Iterations

Useful iterations: done (1.6s)

IterNodesCost
0108903
1190861
2470835
31112829
42520827
done5000824

prune188.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

localize8.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
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 expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv add-log-exp unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
2 → 70
Calls
2 calls:
2.0ms
(/ -1 (log base))
9.0ms
(* (atan2 im re) (/ -1 (log base)))

series216.0ms

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

simplify1.8s

Counts
76 → 76
Iterations

Useful iterations: 3 (320.0ms)

IterNodesCost
0103741
1213670
2748612
32915604
done5000604

prune225.0ms

Pruning

14 alts after pruning (12 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
300×times-frac
156×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
64×distribute-lft-neg-in distribute-rgt-neg-in
43×associate-/r*
35×pow1
32×log-pow
16×neg-mul-1
15×add-exp-log associate-/l*
add-cbrt-cube
div-exp
div-inv
cbrt-undiv
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u add-log-exp
neg-sub0 pow-flip div-sub distribute-frac-neg associate-/r/ inv-pow
Counts
2 → 253
Calls
2 calls:
6.0ms
(/ (- (log base)) (atan2 im re))
12.0ms
(/ 1 (/ (- (log base)) (atan2 im re)))

series107.0ms

Counts
2 → 6
Calls
2 calls:
51.0ms
(/ (- (log base)) (atan2 im re))
56.0ms
(/ 1 (/ (- (log base)) (atan2 im re)))

simplify294.0ms

Iterations

Useful iterations: 1 (67.0ms)

IterNodesCost
03074460
17053941