Details

Time bar (total: 34.5s)

sample135.0ms

Algorithm
intervals
Results
53.0ms254×body80nan
37.0ms256×body80valid

simplify112.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01828
12728
24428
35628
47428
58028
done8028

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.4b

localize52.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.5b
(* (log base) (log base))
29.0b
(sqrt (+ (* re re) (* im im)))

rewrite122.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:
50.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
25.0ms
(* (atan2 im re) (log base))
22.0ms
(* (log base) (log base))
19.0ms
(sqrt (+ (* re re) (* im im)))

series450.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (sqrt (+ (* re re) (* im im)))) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
51.0ms
(* (atan2 im re) (log base))
279.0ms
(* (log base) (log base))
60.0ms
(sqrt (+ (* re re) (* im im)))

simplify3.3s

Counts
120 → 120
Iterations

Useful iterations: done (3.2s)

IterNodesCost
01942236
15082059
229351858
done50001836

prune1.1s

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

localize23.0ms

Local error

Found 1 expressions with local error:

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

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

series70.0ms

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

simplify2.9s

Counts
66 → 66
Iterations

Useful iterations: 3 (759.0ms)

IterNodesCost
0106887
1199841
2687817
33597812
done5000812

prune475.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.0b

localize30.0ms

Local error

Found 2 expressions with local error:

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

rewrite81.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 rec-exp 1-exp cbrt-unprod div-inv add-log-exp
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
2 → 130
Calls
2 calls:
15.0ms
(/ 1 (- (log base)))
56.0ms
(* (atan2 im re) (/ 1 (- (log base))))

series372.0ms

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

simplify14.3s

Counts
136 → 136
Iterations

Useful iterations: 2 (1.2s)

IterNodesCost
01561468
13731151
231421017
done50001017

prune700.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0.0b

localize45.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (- (log base)))
0.5b
(cbrt (- (log base)))
0.5b
(cbrt (- (log base)))
0.5b
(* (cbrt (- (log base))) (cbrt (- (log base))))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
104×cbrt-prod
39×*-un-lft-identity
37×add-sqr-sqrt
36×distribute-rgt-neg-in
32×distribute-lft-neg-in
31×pow1
29×add-cube-cbrt
23×swap-sqr
20×log-pow
15×associate-*r* associate-*l*
pow1/3
neg-mul-1
add-exp-log
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 135
Calls
4 calls:
4.0ms
(cbrt (- (log base)))
4.0ms
(cbrt (- (log base)))
4.0ms
(cbrt (- (log base)))
46.0ms
(* (cbrt (- (log base))) (cbrt (- (log base))))

series2.3s

Counts
4 → 12
Calls
4 calls:
553.0ms
(cbrt (- (log base)))
553.0ms
(cbrt (- (log base)))
560.0ms
(cbrt (- (log base)))
619.0ms
(* (cbrt (- (log base))) (cbrt (- (log base))))

simplify1.3s

Counts
147 → 147
Iterations

Useful iterations: done (1.3s)

IterNodesCost
01041526
12231366
29641251
done50001216

prune904.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0.0b

regimes708.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
088
1108
done108

end0.0ms

sample5.0s

Algorithm
intervals
Results
2.2s8000×body80valid
1.8s7942×body80nan