Details

Time bar (total: 11.8s)

sample58.0ms

Algorithm
intervals
Results
21.0ms238×body80nan
18.0ms256×body80valid

simplify11.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
01828
12721
23321
done3321

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot re im)
0.3b
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
0.4b
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
0.6b
(fma (log base) (log base) (* 0.0 0.0))

rewrite4.0ms

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

series568.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(hypot re im)
148.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
109.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
266.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify856.0ms

Counts
71 → 71
Iterations

Useful iterations: 3 (216.0ms)

IterNodesCost
01111384
11961361
24711185
317831140
done50001140

prune342.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
43×times-frac
36×*-un-lft-identity
34×add-cube-cbrt
32×add-exp-log
20×add-cbrt-cube
13×associate-*r* associate-*l*
11×div-exp
prod-exp
pow1
cbrt-undiv associate-/r* associate-/l* unswap-sqr
expm1-log1p-u cbrt-unprod log1p-expm1-u div-inv add-log-exp
rec-exp 1-exp
frac-2neg clear-num
frac-times pow-flip associate-*r/ pow-prod-down associate-*l/ *-commutative fma-udef inv-pow
Counts
4 → 130
Calls
4 calls:
2.0ms
(/ 1 (hypot (log base) 0.0))
2.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
13.0ms
(* (/ 1 (hypot (log base) 0.0)) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

series1.1s

Counts
4 → 12
Calls
4 calls:
526.0ms
(/ 1 (hypot (log base) 0.0))
153.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
351.0ms
(* (/ 1 (hypot (log base) 0.0)) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)))
107.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

simplify857.0ms

Counts
142 → 142
Iterations

Useful iterations: 2 (204.0ms)

IterNodesCost
01853303
14423105
213852729
done50002729

prune492.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
121×times-frac
109×add-sqr-sqrt
93×add-exp-log
73×*-un-lft-identity
62×add-cube-cbrt
45×div-exp
44×associate-*r*
29×add-cbrt-cube
28×prod-exp
16×rec-exp 1-exp
15×unswap-sqr
13×associate-*l*
11×cbrt-undiv
pow1
div-inv
associate-/r* cbrt-unprod associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-flip pow-prod-down inv-pow
frac-2neg clear-num
frac-times associate-*r/ associate-*l/ associate-/r/ un-div-inv *-commutative fma-udef
Counts
4 → 195
Calls
4 calls:
2.0ms
(/ 1 (hypot (log base) 0.0))
2.0ms
(/ (hypot (log base) 0.0) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))
29.0ms
(* (/ 1 (hypot (log base) 0.0)) (/ 1 (/ (hypot (log base) 0.0) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))))
1.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

series1.2s

Counts
4 → 12
Calls
4 calls:
365.0ms
(/ 1 (hypot (log base) 0.0))
382.0ms
(/ (hypot (log base) 0.0) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))
355.0ms
(* (/ 1 (hypot (log base) 0.0)) (/ 1 (/ (hypot (log base) 0.0) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))))
106.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

simplify1.2s

Counts
207 → 207
Iterations

Useful iterations: done (1.2s)

IterNodesCost
02985665
18425133
219134615
done50014483

prune661.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
54×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×associate-/l*
11×add-exp-log add-cbrt-cube
associate-/r* div-inv
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg clear-num
hypot-udef fma-udef associate-/l/
Counts
4 → 121
Calls
4 calls:
0.0ms
(hypot re im)
2.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
6.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (hypot (log base) 0.0))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

series508.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(hypot re im)
161.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
189.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (hypot (log base) 0.0))
112.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

simplify1.5s

Counts
133 → 133
Iterations

Useful iterations: 3 (599.0ms)

IterNodesCost
01943869
13923796
29693514
330443434
done50003434

prune475.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

regimes227.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01524
11824
done1824

end0.0ms

sample1.5s

Algorithm
intervals
Results
572.0ms7982×body80nan
572.0ms8000×body80valid