Details

Time bar (total: 19.8s)

sample127.0ms

Algorithm
intervals
Results
43.0ms273×body80nan
38.0ms256×body80valid

simplify56.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
01828
12721
23321
done3321

prune22.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize33.0ms

Local error

Found 3 expressions with local error:

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

rewrite6.0ms

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

series740.0ms

Counts
3 → 9
Calls
3 calls:
161.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)))
377.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify1.0s

Counts
58 → 58
Iterations

Useful iterations: done (1.0s)

IterNodesCost
0991324
11801303
24741131
318191087
done50011083

prune530.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
150×times-frac
89×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
42×sqrt-prod
16×associate-/l*
11×add-cbrt-cube add-exp-log
associate-/r* div-inv
expm1-log1p-u pow1 cbrt-undiv div-exp log1p-expm1-u add-log-exp
clear-num frac-2neg fma-udef
associate-/l/
Counts
4 → 163
Calls
4 calls:
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))))
16.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
1.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
1.0ms
(fma (log base) (log base) (* 0.0 0.0))

series1.6s

Counts
4 → 12
Calls
4 calls:
342.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))))
651.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
148.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
417.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify957.0ms

Counts
175 → 175
Iterations

Useful iterations: done (946.0ms)

IterNodesCost
02596925
15466630
220895589
done50015395

prune1.4s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize32.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.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)) (/ 1 (hypot (log base) 0.0)))
0.3b
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

rewrite52.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
clear-num frac-2neg
frac-times pow-prod-down associate-*l/ associate-*r/ un-div-inv *-commutative fma-udef pow-flip inv-pow
Counts
4 → 131
Calls
4 calls:
4.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
4.0ms
(/ 1 (hypot (log base) 0.0))
40.0ms
(* (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (/ 1 (hypot (log base) 0.0)))
1.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

series1.2s

Counts
4 → 12
Calls
4 calls:
187.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
516.0ms
(/ 1 (hypot (log base) 0.0))
297.0ms
(* (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (/ 1 (hypot (log base) 0.0)))
172.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

simplify1.7s

Counts
143 → 143
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01863267
14633084
229712690
done50002689

prune1.1s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize38.0ms

Local error

Found 4 expressions with local error:

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

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
735×times-frac
347×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
135×sqrt-prod
47×associate-/l*
30×div-inv
25×add-exp-log
15×add-cbrt-cube div-exp
associate-/r*
cbrt-undiv associate-/r/
expm1-log1p-u pow1 log1p-expm1-u add-log-exp
rec-exp clear-num frac-2neg 1-exp fma-udef
associate-/l/
Counts
4 → 386
Calls
4 calls:
41.0ms
(/ (/ 1 (/ (hypot (log base) 0.0) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
1.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
7.0ms
(/ (hypot (log base) 0.0) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series1.9s

Counts
4 → 12
Calls
4 calls:
693.0ms
(/ (/ 1 (/ (hypot (log base) 0.0) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
158.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
596.0ms
(/ (hypot (log base) 0.0) (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)))
416.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify925.0ms

Counts
398 → 398
Iterations

Useful iterations: done (899.0ms)

IterNodesCost
063420577
1156018839
done500015893

prune1.8s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

regimes427.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01829
12129
done2129

end0.0ms

sample4.1s

Algorithm
intervals
Results
1.9s8160×body80nan
1.4s8000×body80valid