Details

Time bar (total: 22.6s)

sample96.0ms

Algorithm
intervals
Results
35.0ms277×body80nan
31.0ms256×body80valid

simplify161.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
01828
13122
25222
36822
48822
510022
610422
done10422

prune17.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize24.0ms

Local error

Found 3 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 log-prod
associate-*r*
distribute-rgt-in expm1-log1p-u distribute-lft-in associate-*l* associate-/r* log1p-expm1-u associate-/l* add-log-exp
associate-/l/
cbrt-undiv 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
3 → 69
Calls
3 calls:
35.0ms
(/ (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
9.0ms
(* (atan2 im re) (log base))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series573.0ms

Counts
3 → 9
Calls
3 calls:
105.0ms
(/ (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
40.0ms
(* (atan2 im re) (log base))
428.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify2.5s

Counts
78 → 78
Iterations

Useful iterations: done (2.5s)

IterNodesCost
01411568
12911534
29001349
332041290
done50001289

prune511.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 1 expressions with local error:

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

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

series72.0ms

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

simplify4.5s

Counts
68 → 68
Iterations

Useful iterations: done (4.5s)

IterNodesCost
0108903
1186857
2396831
3777823
41638823
done5000820

prune290.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite28.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))
20.0ms
(* (atan2 im re) (/ -1 (log base)))

series305.0ms

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

simplify5.0s

Counts
76 → 76
Iterations

Useful iterations: done (5.0s)

IterNodesCost
0103741
1205670
2665612
31955604
done5000600

prune275.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0b

localize19.0ms

Local error

Found 2 expressions with local error:

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

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

series182.0ms

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

simplify3.0s

Counts
259 → 259
Iterations

Useful iterations: done (3.0s)

IterNodesCost
03074460
16573767
212593396
335483309
done50013308

prune583.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0b

regimes239.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

sample4.1s

Algorithm
intervals
Results
2.1s8000×body80valid
1.2s8045×body80nan