Details

Time bar (total: 19.9s)

sample92.0ms

Algorithm
intervals
Results
33.0ms232×body80nan
29.0ms256×body80valid

simplify152.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
01828
13122
25222
36822
48822
510222
610622
done10622

prune15.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize34.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))

rewrite43.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:
0.0ms
(hypot re im)
23.0ms
(/ (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
17.0ms
(* (atan2 im re) (log base))
1.0ms
(fma (log base) (log base) (* 0.0 0.0))

series605.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(hypot re im)
88.0ms
(/ (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
52.0ms
(* (atan2 im re) (log base))
411.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify827.0ms

Counts
91 → 91
Iterations

Useful iterations: done (823.0ms)

IterNodesCost
01531628
13291592
213011404
done50011348

prune662.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 1 expressions with local error:

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

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

series77.0ms

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

simplify1.9s

Counts
68 → 68
Iterations

Useful iterations: 3 (721.0ms)

IterNodesCost
0108903
1201857
2688833
33734828
done5000828

prune190.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 2 expressions with local error:

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

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
74×times-frac
57×add-sqr-sqrt
51×*-un-lft-identity
50×add-cube-cbrt
40×associate-*r*
28×distribute-lft-neg-in distribute-rgt-neg-in
19×pow1
15×add-exp-log
14×log-pow
12×associate-/r*
add-cbrt-cube
neg-mul-1
div-exp prod-exp
associate-*l* associate-/l* unswap-sqr
cbrt-undiv expm1-log1p-u rec-exp 1-exp cbrt-unprod log1p-expm1-u div-inv add-log-exp
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
2 → 134
Calls
2 calls:
13.0ms
(/ 1 (- (log base)))
39.0ms
(* (atan2 im re) (/ 1 (- (log base))))

series353.0ms

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

simplify8.3s

Counts
140 → 140
Iterations

Useful iterations: done (8.3s)

IterNodesCost
01601500
13781189
229741045
done50001041

prune414.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 2 expressions with local error:

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

rewrite61.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:
19.0ms
(/ (- (log base)) (atan2 im re))
23.0ms
(/ 1 (/ (- (log base)) (atan2 im re)))

series165.0ms

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

simplify1.6s

Counts
259 → 259
Iterations

Useful iterations: done (1.5s)

IterNodesCost
03074460
18233773
240513669
done50003667

prune473.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 0.0b

regimes199.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
088
1108
done108

end0.0ms

sample3.7s

Algorithm
intervals
Results
1.6s8000×body80valid
1.3s8096×body80nan