Details

Time bar (total: 16.2s)

sample56.0ms

Algorithm
intervals
Results
19.0ms256×body80valid
19.0ms260×body80nan

simplify14.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
01828
12721
23321
done3321

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize17.0ms

Local error

Found 3 expressions with local error:

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.5b
(fma (log base) (log base) (* 0.0 0.0))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l* add-log-exp
fma-udef
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
3 → 49
Calls
3 calls:
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))

series517.0ms

Counts
3 → 9
Calls
3 calls:
144.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
108.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
265.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify1.8s

Counts
58 → 58
Iterations

Useful iterations: 4 (861.0ms)

IterNodesCost
0991324
11791303
24091133
311451088
438651079
done50001079

prune301.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (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))

rewrite16.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:
2.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))
7.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))))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series774.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
111.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
235.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))))
275.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify1.9s

Counts
175 → 175
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
02596925
15366630
213615576
333885382
done50015382

prune614.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (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
(/ (* 1 (/ (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))

rewrite11.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:
2.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))
6.0ms
(/ (* 1 (/ (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.0ms
(fma (log base) (log base) (* 0.0 0.0))

series760.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(/ (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))
233.0ms
(/ (* 1 (/ (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))))
271.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify2.6s

Counts
95 → 95
Iterations

Useful iterations: 3 (1.3s)

IterNodesCost
01682489
13522327
210241818
335561769
done50001769

prune410.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0b

localize26.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)) (sqrt (hypot (log base) 0.0))) (sqrt (sqrt (fma (log base) (log base) (* 0.0 0.0)))))
0.4b
(/ (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.5b
(fma (log base) (log base) (* 0.0 0.0))

rewrite128.0ms

Algorithm
rewrite-expression-head
Rules
2067×times-frac
1137×sqrt-prod
951×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
85×associate-/l*
72×div-inv
15×add-exp-log add-cbrt-cube
12×associate-/r*
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num fma-udef
associate-/l/
Counts
4 → 897
Calls
4 calls:
35.0ms
(/ (/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (sqrt (hypot (log base) 0.0))) (sqrt (sqrt (fma (log base) (log base) (* 0.0 0.0)))))
2.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))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series924.0ms

Counts
4 → 12
Calls
4 calls:
254.0ms
(/ (/ (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (sqrt (hypot (log base) 0.0))) (sqrt (sqrt (fma (log base) (log base) (* 0.0 0.0)))))
149.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
110.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
410.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify960.0ms

Counts
909 → 909
Iterations

Useful iterations: 1 (610.0ms)

IterNodesCost
0105960462
1232855861
done500055861

prune2.6s

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0b

regimes264.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01934
12034
done2034

end0.0ms

sample1.5s

Algorithm
intervals
Results
586.0ms8174×body80nan
558.0ms8000×body80valid