Details

Time bar (total: 7.0s)

sample54.0ms

Algorithm
intervals
Results
19.0ms256×body80valid
14.0ms217×body80nan

simplify5.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02716
13316
23316
done3316

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.4b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
0.4b
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
0.5b
(* (log base) (log base))
28.1b
(sqrt (+ (* re re) (* im im)))

rewrite73.0ms

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

series387.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
96.0ms
(* (log (sqrt (+ (* re re) (* im im)))) (log base))
146.0ms
(* (log base) (log base))
41.0ms
(sqrt (+ (* re re) (* im im)))

simplify57.0ms

Counts
131 → 131
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04671408
118201268
250011217
done50011217

prune480.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

localize17.0ms

Local error

Found 3 expressions with local error:

0.3b
(/ (+ (* (log (* 1 (hypot re im))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
0.4b
(* (log (* 1 (hypot re im))) (log base))
0.5b
(* (log base) (log base))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
23×*-un-lft-identity
22×pow1
21×add-cube-cbrt
12×log-prod
add-exp-log times-frac associate-*l* log-pow add-cbrt-cube
associate-*r*
distribute-rgt-in distribute-lft-in swap-sqr
expm1-log1p-u pow-prod-down associate-/r* log1p-expm1-u associate-/l* add-log-exp
flip3-+ prod-exp associate-/r/ *-commutative cbrt-unprod flip-+ associate-/l/ unswap-sqr
cbrt-undiv pow2 frac-2neg pow-plus div-exp clear-num pow-sqr pow-prod-up div-inv
Counts
3 → 100
Calls
3 calls:
40.0ms
(/ (+ (* (log (* 1 (hypot re im))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
21.0ms
(* (log (* 1 (hypot re im))) (log base))
10.0ms
(* (log base) (log base))

series366.0ms

Counts
3 → 9
Calls
3 calls:
111.0ms
(/ (+ (* (log (* 1 (hypot re im))) (log base)) (* (atan2 im re) 0.0)) (+ (* (log base) (log base)) (* 0.0 0.0)))
105.0ms
(* (log (* 1 (hypot re im))) (log base))
149.0ms
(* (log base) (log base))

simplify57.0ms

Counts
109 → 109
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
03811125
11567988
25001945
done5001945

prune392.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0))))
0.4b
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
0.4b
(/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1))
0.5b
(* (log base) (log base))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
44×add-sqr-sqrt *-un-lft-identity
42×add-cube-cbrt
25×add-exp-log
24×sqrt-prod
20×add-cbrt-cube
17×pow1
10×div-exp associate-/l*
div-inv
cbrt-undiv associate-/r*
log-prod swap-sqr log-pow
prod-exp
expm1-log1p-u associate-*r* associate-*l* log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in cbrt-unprod
frac-2neg sqrt-div 1-exp clear-num associate-/r/
pow2 flip3-+ pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up flip-+ fma-udef associate-/l/ unswap-sqr
Counts
4 → 149
Calls
4 calls:
26.0ms
(/ (/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0))))
0.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
8.0ms
(/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1))
10.0ms
(* (log base) (log base))

series1.2s

Counts
4 → 12
Calls
4 calls:
572.0ms
(/ (/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1)) (sqrt (+ (* (log base) (log base)) (* 0.0 0.0))))
147.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
351.0ms
(/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (* (hypot (log base) 0.0) 1))
150.0ms
(* (log base) (log base))

simplify63.0ms

Counts
161 → 161
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05522655
120042343
250022317
done50022317

prune597.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (/ (+ (* (log base) (log base)) (* 0.0 0.0)) (+ (* (log (* 1 (hypot re im))) (log base)) (* (atan2 im re) 0.0))))
0.4b
(* (log (* 1 (hypot re im))) (log base))
0.4b
(/ (+ (* (log base) (log base)) (* 0.0 0.0)) (+ (* (log (* 1 (hypot re im))) (log base)) (* (atan2 im re) 0.0)))
0.5b
(* (log base) (log base))

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
70×add-sqr-sqrt
68×*-un-lft-identity
66×add-cube-cbrt
24×pow1
21×add-exp-log
18×associate-/r*
15×add-cbrt-cube
12×log-prod
11×associate-/r/
associate-*l* log-pow
div-exp associate-*r*
distribute-rgt-in distribute-lft-in flip3-+ swap-sqr flip-+ div-inv associate-/l*
cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down
rec-exp frac-2neg 1-exp prod-exp clear-num *-commutative cbrt-unprod associate-/l/ unswap-sqr
pow2 pow-flip pow-plus pow-sqr pow-prod-up inv-pow
Counts
4 → 186
Calls
4 calls:
28.0ms
(/ 1 (/ (+ (* (log base) (log base)) (* 0.0 0.0)) (+ (* (log (* 1 (hypot re im))) (log base)) (* (atan2 im re) 0.0))))
18.0ms
(* (log (* 1 (hypot re im))) (log base))
38.0ms
(/ (+ (* (log base) (log base)) (* 0.0 0.0)) (+ (* (log (* 1 (hypot re im))) (log base)) (* (atan2 im re) 0.0)))
10.0ms
(* (log base) (log base))

series540.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(/ 1 (/ (+ (* (log base) (log base)) (* 0.0 0.0)) (+ (* (log (* 1 (hypot re im))) (log base)) (* (atan2 im re) 0.0))))
103.0ms
(* (log (* 1 (hypot re im))) (log base))
154.0ms
(/ (+ (* (log base) (log base)) (* 0.0 0.0)) (+ (* (log (* 1 (hypot re im))) (log base)) (* (atan2 im re) 0.0)))
146.0ms
(* (log base) (log base))

simplify96.0ms

Counts
198 → 198
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
06623288
130992903
250012776
done50012776

prune541.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

regimes217.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02515
12715
22715
done2715

end0.0ms

sample1.5s

Algorithm
intervals
Results
525.0ms8000×body80valid
518.0ms7931×body80nan