Details

Time bar (total: 10.5s)

sample53.0ms

Algorithm
intervals
Results
18.0ms256×body80valid
17.0ms238×body80nan

simplify42.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01828
12728
24428
35628
47428
58028
done8028

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.8b

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
0.4b
(* (atan2 im re) (log base))
0.6b
(* (log base) (log base))
31.4b
(sqrt (+ (* re re) (* im im)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
25×*-un-lft-identity
23×add-cube-cbrt
21×pow1
12×log-prod
10×add-exp-log add-cbrt-cube
times-frac
associate-*r*
associate-*l* log-pow
distribute-rgt-in distribute-lft-in swap-sqr
add-log-exp
associate-/r* sqrt-prod associate-/l*
flip3-+ sqrt-div pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod flip-+ associate-/l/ unswap-sqr
cbrt-undiv pow2 rem-sqrt-square flip3-- frac-2neg sqrt-pow1 pow-plus pow1/2 div-sub div-exp clear-num pow-sqr pow-prod-up flip-- div-inv
Counts
4 → 108
Calls
4 calls:
12.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
4.0ms
(* (atan2 im re) (log base))
4.0ms
(* (log base) (log base))
3.0ms
(sqrt (+ (* re re) (* im im)))

series257.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
28.0ms
(* (atan2 im re) (log base))
152.0ms
(* (log base) (log base))
41.0ms
(sqrt (+ (* re re) (* im im)))

simplify710.0ms

Counts
120 → 120
Iterations

Useful iterations: 2 (209.0ms)

IterNodesCost
01942236
14402040
214001850
done50001850

prune458.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite7.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 frac-2neg div-exp clear-num div-inv add-log-exp
Counts
1 → 63
Calls
1 calls:
4.0ms
(/ (atan2 im re) (- (log base)))

series46.0ms

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

simplify2.4s

Counts
66 → 66
Iterations

Useful iterations: done (2.4s)

IterNodesCost
0106887
1184841
2387815
3939807
42002807
done5000804

prune166.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.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 div-exp prod-exp cbrt-unprod div-inv add-log-exp unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
2 → 66
Calls
2 calls:
2.0ms
(/ -1 (log base))
11.0ms
(* (atan2 im re) (/ -1 (log base)))

series208.0ms

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

simplify2.3s

Counts
72 → 72
Iterations

Useful iterations: 3 (1.0s)

IterNodesCost
099713
1204644
2644595
32335578
done5000578

prune186.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 0.0b

localize12.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.8b
(pow (log base) 3)

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
130×times-frac
99×add-sqr-sqrt
97×cbrt-prod
84×add-cube-cbrt *-un-lft-identity
49×associate-*r*
45×unpow-prod-down cube-prod
29×pow1
22×log-pow
14×associate-/r*
12×add-exp-log sqr-pow
11×cube-mult unpow3
add-cbrt-cube
unswap-sqr
add-log-exp
pow-unpow div-exp associate-*l* div-inv associate-/l*
pow-to-exp cbrt-div pow-exp
cbrt-undiv pow-pow frac-2neg pow1/3 associate-*r/ pow-prod-down prod-exp clear-num *-commutative cbrt-unprod rem-cube-cbrt
Counts
4 → 223
Calls
4 calls:
5.0ms
(/ -1 (pow (log base) 3))
27.0ms
(* (atan2 im re) (cbrt (/ -1 (pow (log base) 3))))
4.0ms
(cbrt (/ -1 (pow (log base) 3)))
2.0ms
(pow (log base) 3)

series627.0ms

Counts
4 → 12
Calls
4 calls:
194.0ms
(/ -1 (pow (log base) 3))
78.0ms
(* (atan2 im re) (cbrt (/ -1 (pow (log base) 3))))
186.0ms
(cbrt (/ -1 (pow (log base) 3)))
169.0ms
(pow (log base) 3)

simplify765.0ms

Counts
235 → 235
Iterations

Useful iterations: 2 (222.0ms)

IterNodesCost
02363119
14232617
212722504
done50012504

prune472.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0b

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

sample1.5s

Algorithm
intervals
Results
563.0ms7982×body80nan
559.0ms8000×body80valid