Details

Time bar (total: 20.1s)

sample102.0ms

Algorithm
intervals
Results
39.0ms252×body80nan
30.0ms256×body80valid

simplify64.0ms

Counts
1 → 1
Iterations
IterNodes
done91
591
487
367
251
131
018

prune19.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize42.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

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

series777.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(hypot re im)
252.0ms
(/ (- (* (log base) (atan2 im re)) (* (log (hypot re im)) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
70.0ms
(* (log base) (atan2 im re))
395.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify2.3s

Counts
85 → 85
Iterations
IterNodes
done5001
32337
2824
1307
0137

prune709.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 1 expressions with local error:

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

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
12×times-frac
10×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
pow1
associate-/r* log-pow
add-cbrt-cube add-exp-log associate-/l*
expm1-log1p-u cbrt-undiv clear-num frac-2neg div-exp log1p-expm1-u div-inv add-log-exp
Counts
1 → 33
Calls
1 calls:
7.0ms
(/ (atan2 im re) (log base))

series50.0ms

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

simplify3.7s

Counts
36 → 36
Iterations
IterNodes
done5000
54930
41906
3668
2273
1110
064

prune263.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
26×times-frac
21×*-un-lft-identity
20×add-cube-cbrt
16×associate-*r*
15×add-exp-log
12×pow1
add-cbrt-cube
log-pow
associate-/r* div-exp prod-exp
associate-*l* associate-/l* unswap-sqr
expm1-log1p-u cbrt-undiv rec-exp 1-exp cbrt-unprod log1p-expm1-u div-inv add-log-exp
clear-num frac-2neg pow-prod-down associate-*r/ un-div-inv *-commutative pow-flip inv-pow
Counts
2 → 78
Calls
2 calls:
5.0ms
(/ 1 (log base))
14.0ms
(* (atan2 im re) (/ 1 (log base)))

series252.0ms

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

simplify3.2s

Counts
84 → 84
Iterations
IterNodes
done5000
42472
31555
2763
1222
0104

prune279.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0.0b

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
23×*-un-lft-identity
22×add-cube-cbrt
20×times-frac
19×add-exp-log
16×associate-*r*
13×add-cbrt-cube
10×pow1
associate-*l*
prod-exp
expm1-log1p-u div-exp log1p-expm1-u add-log-exp unswap-sqr
associate-/r* cbrt-unprod associate-/l*
frac-times cbrt-undiv rec-exp flip3-- 1-exp pow-prod-down associate-*l/ *-commutative div-inv flip--
clear-num frac-2neg associate-*r/ log-pow un-div-inv fma-udef pow-flip inv-pow
Counts
4 → 106
Calls
4 calls:
6.0ms
(/ 1 (fma (log base) (log base) (* 0.0 0.0)))
40.0ms
(* (- (* (log base) (atan2 im re)) (* (log (hypot re im)) 0.0)) (/ 1 (fma (log base) (log base) (* 0.0 0.0))))
6.0ms
(* (log base) (atan2 im re))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series1.0s

Counts
4 → 12
Calls
4 calls:
408.0ms
(/ 1 (fma (log base) (log base) (* 0.0 0.0)))
189.0ms
(* (- (* (log base) (atan2 im re)) (* (log (hypot re im)) 0.0)) (/ 1 (fma (log base) (log base) (* 0.0 0.0))))
54.0ms
(* (log base) (atan2 im re))
366.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify2.6s

Counts
118 → 118
Iterations
IterNodes
done5001
33685
21128
1395
0172

prune668.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0b

regimes448.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
IterNodes
done6
06

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.5s7931×body80nan
1.1s8000×body80valid