Details

Time bar (total: 20.6s)

sample93.0ms

Algorithm
intervals
Results
33.0ms305×body80nan
31.0ms256×body80valid

simplify23.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
01828
12721
23321
done3321

prune16.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize57.0ms

Local error

Found 4 expressions with local error:

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

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

series809.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(hypot re im)
139.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
202.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
391.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify1.2s

Counts
71 → 71
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01111384
11961361
24331185
312611140
done50001131

prune618.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize36.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (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))
0.4b
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
0.5b
(fma (log base) (log base) (* 0.0 0.0))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
150×times-frac
89×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
42×sqrt-prod
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 fma-udef
associate-/l/
Counts
4 → 163
Calls
4 calls:
8.0ms
(/ (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))
22.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
1.0ms
(fma (log base) (log base) (* 0.0 0.0))

series1.0s

Counts
4 → 12
Calls
4 calls:
186.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
117.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
311.0ms
(/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
407.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify2.2s

Counts
175 → 175
Iterations

Useful iterations: done (2.2s)

IterNodesCost
02596925
15336630
211105576
329965382
done50025253

prune1.1s

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 0b

localize35.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

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

series1.0s

Counts
4 → 12
Calls
4 calls:
194.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot 0.0 (log base)))
125.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
314.0ms
(/ (* 1 (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot 0.0 (log base)))) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
412.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify3.1s

Counts
95 → 95
Iterations

Useful iterations: done (3.1s)

IterNodesCost
01682489
13282327
29241841
329261769
done50011768

prune689.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
23×*-un-lft-identity
22×add-cube-cbrt
20×times-frac
18×add-exp-log
13×associate-*r*
11×add-cbrt-cube
pow1
expm1-log1p-u unpow-prod-down div-exp prod-exp log1p-expm1-u add-log-exp
pow-unpow associate-*l* associate-/r* associate-/l* unswap-sqr
cbrt-undiv rec-exp 1-exp cbrt-unprod div-inv
pow-to-exp pow-flip pow-pow frac-2neg associate-*r/ pow-prod-down pow-exp clear-num log-pow un-div-inv *-commutative fma-udef unpow2 inv-pow sqr-pow
Counts
4 → 102
Calls
4 calls:
5.0ms
(/ 1 (fma 0.0 0.0 (pow (log base) 2)))
15.0ms
(* (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (/ 1 (fma 0.0 0.0 (pow (log base) 2))))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
3.0ms
(pow (log base) 2)

series1.1s

Counts
4 → 12
Calls
4 calls:
291.0ms
(/ 1 (fma 0.0 0.0 (pow (log base) 2)))
499.0ms
(* (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (/ 1 (fma 0.0 0.0 (pow (log base) 2))))
127.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
182.0ms
(pow (log base) 2)

simplify3.0s

Counts
114 → 114
Iterations

Useful iterations: done (3.0s)

IterNodesCost
01631963
13271788
27811518
328351510
done50011503

prune435.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0b

regimes365.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01928
12326
done2326

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.5s8062×body80nan
1.3s8000×body80valid