Details

Time bar (total: 22.6s)

sample102.0ms

Algorithm
intervals
Results
54.0ms256×body80valid
32.0ms207×body80nan

simplify4.0s

Counts
1 → 1
Iterations
IterNodes
done5000
71130
6438
5190
4132
386
248
131
018

prune13.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.3b

localize12.0ms

Local error

Found 1 expressions with local error:

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

rewrite6.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 insert-posit16 log1p-expm1-u div-inv add-log-exp
Counts
1 → 34
Calls
1 calls:
5.0ms
(/ (atan2 im re) (log base))

series34.0ms

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

simplify2.0s

Counts
37 → 37
Iterations
IterNodes
done5001
41860
3649
2274
1111
065

prune154.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 3 expressions with local error:

0.1b
(log1p (expm1 (/ (atan2 im re) (log base))))
0.1b
(expm1 (/ (atan2 im re) (log base)))
0.3b
(/ (atan2 im re) (log base))

rewrite7.0ms

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

series159.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(log1p (expm1 (/ (atan2 im re) (log base))))
63.0ms
(expm1 (/ (atan2 im re) (log base)))
36.0ms
(/ (atan2 im re) (log base))

simplify2.4s

Counts
68 → 68
Iterations
IterNodes
done5044
42534
3750
2345
1150
091

prune275.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(log1p (expm1 (/ 1 (/ (log base) (atan2 im re)))))
0.1b
(expm1 (/ 1 (/ (log base) (atan2 im re))))
0.2b
(/ 1 (/ (log base) (atan2 im re)))
0.3b
(/ (log base) (atan2 im re))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
65×*-un-lft-identity
64×add-sqr-sqrt add-cube-cbrt
23×pow1
22×associate-/r*
18×log-pow
17×add-exp-log
13×associate-/l*
11×add-cbrt-cube
10×associate-/r/
div-exp
div-inv
expm1-log1p-u log1p-expm1-u
cbrt-undiv clear-num insert-posit16 add-log-exp
frac-2neg remove-double-div
rec-exp 1-exp log1p-expm1
log1p-udef expm1-log1p pow-flip inv-pow expm1-udef
Counts
4 → 162
Calls
4 calls:
0.0ms
(log1p (expm1 (/ 1 (/ (log base) (atan2 im re)))))
0.0ms
(expm1 (/ 1 (/ (log base) (atan2 im re))))
13.0ms
(/ 1 (/ (log base) (atan2 im re)))
7.0ms
(/ (log base) (atan2 im re))

series349.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(log1p (expm1 (/ 1 (/ (log base) (atan2 im re)))))
107.0ms
(expm1 (/ 1 (/ (log base) (atan2 im re))))
65.0ms
(/ 1 (/ (log base) (atan2 im re)))
65.0ms
(/ (log base) (atan2 im re))

simplify2.0s

Counts
174 → 174
Iterations
IterNodes
done5000
33006
21099
1434
0200

prune602.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
26×times-frac
24×*-un-lft-identity
22×add-cube-cbrt
16×associate-*r*
15×add-exp-log
13×pow1
10×associate-*r/
add-cbrt-cube
associate-/r* log-pow
associate-/l*
div-exp prod-exp
clear-num associate-*l* un-div-inv unswap-sqr
expm1-log1p-u cbrt-undiv rec-exp frac-2neg 1-exp cbrt-unprod insert-posit16 log1p-expm1-u div-inv add-log-exp
pow-prod-down *-commutative pow-flip inv-pow
Counts
2 → 91
Calls
2 calls:
25.0ms
(* (atan2 im re) (/ 1 (log base)))
7.0ms
(/ 1 (log base))

series285.0ms

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

simplify3.7s

Counts
97 → 97
Iterations
IterNodes
done5001
42134
31056
2613
1235
0109

prune305.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

regimes588.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations
IterNodes
done8
08

end0.0ms

sample5.5s

Algorithm
intervals
Results
2.6s7974×body80nan
2.3s8000×body80valid