Details

Time bar (total: 16.8s)

sample62.0ms

Algorithm
intervals
Results
19.0ms256×body80valid
18.0ms238×body80nan

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

localize20.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))

series597.0ms

Counts
4 → 12
Calls
4 calls:
51.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)))
116.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
282.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify1.8s

Counts
71 → 71
Iterations

Useful iterations: 4 (853.0ms)

IterNodesCost
01111384
11961361
24281185
311631140
438751131
done50001131

prune350.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))

rewrite23.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))
14.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))

series993.0ms

Counts
4 → 12
Calls
4 calls:
349.0ms
(/ 1 (hypot (log base) 0.0))
162.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
369.0ms
(* (/ 1 (hypot (log base) 0.0)) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)))
112.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

simplify2.9s

Counts
142 → 142
Iterations

Useful iterations: 3 (2.1s)

IterNodesCost
01853303
14423105
212272729
346462714
done50012714

prune511.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize17.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))

rewrite49.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)))
35.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)))))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

series1.4s

Counts
4 → 12
Calls
4 calls:
549.0ms
(/ 1 (hypot (log base) 0.0))
391.0ms
(/ (hypot (log base) 0.0) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))
363.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)))))
109.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

simplify2.8s

Counts
207 → 207
Iterations

Useful iterations: done (2.8s)

IterNodesCost
02985665
18425133
216204615
345914448
done50004419

prune675.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

localize15.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))

series486.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(hypot re im)
152.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
184.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (hypot (log base) 0.0))
105.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

simplify1.7s

Counts
133 → 133
Iterations

Useful iterations: 3 (670.0ms)

IterNodesCost
01943869
13923796
28853514
324773434
done50003434

prune461.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0b

regimes227.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01322
11422
done1422

end0.0ms

sample1.6s

Algorithm
intervals
Results
596.0ms7982×body80nan
586.0ms8000×body80valid