Details

Time bar (total: 21.8s)

sample145.0ms

Algorithm
intervals
Results
56.0ms251×body80nan
45.0ms256×body80valid

simplify161.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
01828
13122
25222
36822
48822
510022
610422
done10422

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize49.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1
log-prod
expm1-log1p-u associate-*r* log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in associate-*l* associate-/r* associate-/l*
associate-/l/
cbrt-undiv hypot-udef flip3-- frac-2neg div-sub div-exp pow-prod-down prod-exp clear-num log-pow *-commutative flip-- cbrt-unprod fma-udef div-inv unswap-sqr
Counts
4 → 79
Calls
4 calls:
1.0ms
(hypot re im)
45.0ms
(/ (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
18.0ms
(* (atan2 im re) (log base))
1.0ms
(fma (log base) (log base) (* 0.0 0.0))

series647.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(hypot re im)
95.0ms
(/ (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
34.0ms
(* (atan2 im re) (log base))
456.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify2.6s

Counts
91 → 91
Iterations

Useful iterations: done (2.6s)

IterNodesCost
01531628
13081592
29231401
332071342
done50021341

prune608.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 1 expressions with local error:

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

rewrite17.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:
14.0ms
(/ (atan2 im re) (- (log base)))

series49.0ms

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

simplify3.9s

Counts
68 → 68
Iterations

Useful iterations: done (3.9s)

IterNodesCost
0108903
1186857
2396831
3777823
41638823
done5000820

prune221.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite26.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:
6.0ms
(/ -1 (log base))
18.0ms
(* (atan2 im re) (/ -1 (log base)))

series275.0ms

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

simplify4.9s

Counts
76 → 76
Iterations

Useful iterations: done (4.8s)

IterNodesCost
0103741
1205670
2665612
31955604
done5000600

prune351.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0b

localize22.0ms

Local error

Found 2 expressions with local error:

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

rewrite63.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:
11.0ms
(/ (- (log base)) (atan2 im re))
30.0ms
(/ 1 (/ (- (log base)) (atan2 im re)))

series126.0ms

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

simplify3.1s

Counts
259 → 259
Iterations

Useful iterations: done (3.1s)

IterNodesCost
03074460
16573767
212593396
335483309
done50013308

prune403.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0b

regimes267.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 2 (2.0ms)

IterNodesCost
099
1149
2198
3218
done218

end0.0ms

sample3.9s

Algorithm
intervals
Results
1.6s8000×body80valid
1.5s8157×body80nan