Details

Time bar (total: 21.8s)

sample112.0ms

Algorithm
intervals
Results
37.0ms224×body80nan
36.0ms256×body80valid

simplify15.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
01828
12721
23321
done3321

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize39.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))
0.3b
(/ (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))

series885.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(hypot re im)
131.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
241.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
446.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify1.1s

Counts
71 → 71
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01111384
11961361
24331185
312611140
done50001131

prune479.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.0b

localize31.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
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
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.5b
(fma (log base) (log base) (* 0.0 0.0))

rewrite61.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:
7.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))
28.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.2s

Counts
4 → 12
Calls
4 calls:
233.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
167.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
390.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))))
438.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify2.5s

Counts
175 → 175
Iterations

Useful iterations: done (2.5s)

IterNodesCost
02596925
15336630
211105576
329965382
done50025253

prune956.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0b

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

rewrite53.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:
5.0ms
(/ 1 (hypot (log base) 0.0))
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))
38.0ms
(* (/ 1 (hypot (log base) 0.0)) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot 0.0 (log base))))

series1.5s

Counts
4 → 12
Calls
4 calls:
499.0ms
(/ 1 (hypot (log base) 0.0))
219.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot 0.0 (log base)))
126.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
659.0ms
(* (/ 1 (hypot (log base) 0.0)) (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot 0.0 (log base))))

simplify3.0s

Counts
142 → 142
Iterations

Useful iterations: done (3.0s)

IterNodesCost
01973303
14373105
212522729
341662723
done50002721

prune897.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

localize53.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
28×add-exp-log
23×add-sqr-sqrt
18×add-cbrt-cube
17×*-un-lft-identity times-frac
16×add-cube-cbrt
13×associate-*r*
div-exp
prod-exp
pow1 associate-/r* sqrt-prod
cbrt-undiv
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
associate-*l* unswap-sqr
rec-exp 1-exp associate-*r/ un-div-inv fma-udef div-inv associate-/l/
frac-2neg pow-prod-down clear-num *-commutative associate-/l*
Counts
4 → 93
Calls
4 calls:
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
24.0ms
(/ (* (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (/ 1 (hypot (log base) 0.0))) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
23.0ms
(* (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (/ 1 (hypot (log base) 0.0)))
1.0ms
(fma (log base) (log base) (* 0.0 0.0))

series1.0s

Counts
4 → 12
Calls
4 calls:
148.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
289.0ms
(/ (* (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (/ 1 (hypot (log base) 0.0))) (sqrt (fma (log base) (log base) (* 0.0 0.0))))
179.0ms
(* (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (/ 1 (hypot (log base) 0.0)))
393.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify3.3s

Counts
105 → 105
Iterations

Useful iterations: done (3.3s)

IterNodesCost
01782645
13842407
210131830
338201780
done50001779

prune587.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0b

regimes298.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01624
12024
done2024

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.4s7907×body80nan
1.4s8000×body80valid