Details

Time bar (total: 15.5s)

sample136.0ms

Algorithm
intervals
Results
50.0ms245×body80nan
42.0ms256×body80valid

simplify161.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
01828
13122
25222
36822
48822
510222
610622
done10622

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.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)
9.0ms
(* (atan2 im re) (log base))
39.0ms
(/ (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
1.0ms
(fma (log base) (log base) (* 0.0 0.0))

series514.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(hypot re im)
34.0ms
(* (atan2 im re) (log base))
69.0ms
(/ (- (* (atan2 im re) (log base)) (* 0.0 (log (hypot re im)))) (fma (log base) (log base) (* 0.0 0.0)))
352.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify831.0ms

Counts
91 → 91
Iterations

Useful iterations: done (827.0ms)

IterNodesCost
01531628
13291592
212931404
done50011348

prune527.0ms

Pruning

13 alts after pruning (13 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))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
12×times-frac
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1
associate-/r* log-pow
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 → 33
Calls
1 calls:
9.0ms
(/ (atan2 im re) (log base))

series46.0ms

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

simplify1.2s

Counts
36 → 36
Iterations

Useful iterations: done (1.2s)

IterNodesCost
064394
1110375
2305353
31463348
done5000346

prune118.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite29.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
div-exp prod-exp associate-/r*
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 → 78
Calls
2 calls:
6.0ms
(/ 1 (log base))
20.0ms
(* (atan2 im re) (/ 1 (log base)))

series218.0ms

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

simplify4.5s

Counts
84 → 84
Iterations

Useful iterations: done (4.5s)

IterNodesCost
0104789
1225657
22061552
done5000540

prune254.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (pow (log base) 3))
0.3b
(* (atan2 im re) (cbrt (/ 1 (pow (log base) 3))))
0.6b
(cbrt (/ 1 (pow (log base) 3)))
0.7b
(pow (log base) 3)

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
134×times-frac
106×add-sqr-sqrt
101×cbrt-prod
88×*-un-lft-identity
84×add-cube-cbrt
49×associate-*r*
46×unpow-prod-down cube-prod
29×pow1
22×log-pow
16×add-exp-log
14×associate-/r*
13×sqr-pow
11×cube-mult unpow3
10×unswap-sqr
add-cbrt-cube
div-exp
expm1-log1p-u pow-to-exp pow-exp log1p-expm1-u add-log-exp
rec-exp pow-unpow 1-exp associate-*l* div-inv associate-/l*
cbrt-div
cbrt-undiv pow-flip pow-pow frac-2neg pow1/3 associate-*r/ pow-prod-down prod-exp clear-num *-commutative cbrt-unprod inv-pow rem-cube-cbrt
Counts
4 → 243
Calls
4 calls:
17.0ms
(/ 1 (pow (log base) 3))
70.0ms
(* (atan2 im re) (cbrt (/ 1 (pow (log base) 3))))
19.0ms
(cbrt (/ 1 (pow (log base) 3)))
6.0ms
(pow (log base) 3)

series776.0ms

Counts
4 → 12
Calls
4 calls:
263.0ms
(/ 1 (pow (log base) 3))
47.0ms
(* (atan2 im re) (cbrt (/ 1 (pow (log base) 3))))
243.0ms
(cbrt (/ 1 (pow (log base) 3)))
222.0ms
(pow (log base) 3)

simplify1.2s

Counts
255 → 255
Iterations

Useful iterations: done (1.2s)

IterNodesCost
02353316
14622463
219792346
done50012343

prune468.0ms

Pruning

12 alts after pruning (9 fresh and 3 done)

Merged error: 0b

regimes301.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
066
done66

end0.0ms

sample3.9s

Algorithm
intervals
Results
1.6s7966×body80nan
1.5s8000×body80valid