Details

Time bar (total: 18.5s)

sample55.0ms

Algorithm
intervals
Results
20.0ms224×body80nan
18.0ms256×body80valid

simplify10.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01828
12721
23321
done3321

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

series526.0ms

Counts
3 → 9
Calls
3 calls:
149.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
107.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
270.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify2.1s

Counts
58 → 58
Iterations

Useful iterations: 4 (965.0ms)

IterNodesCost
0991324
11791303
24091133
311451088
439081079
done50001079

prune297.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.0b

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

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

series784.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
105.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))
238.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))))
286.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify2.5s

Counts
175 → 175
Iterations

Useful iterations: 3 (1.5s)

IterNodesCost
02596925
15366658
213635576
334215382
done50005382

prune678.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 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)) (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/ un-div-inv *-commutative fma-udef inv-pow
Counts
4 → 131
Calls
4 calls:
2.0ms
(/ 1 (hypot (log base) 0.0))
14.0ms
(* (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (/ 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))
0.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

series815.0ms

Counts
4 → 12
Calls
4 calls:
360.0ms
(/ 1 (hypot (log base) 0.0))
188.0ms
(* (/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0)) (/ 1 (hypot (log base) 0.0)))
153.0ms
(/ (fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0)) (hypot (log base) 0.0))
115.0ms
(fma (log (hypot re im)) (log base) (* (atan2 im re) 0.0))

simplify3.3s

Counts
143 → 143
Iterations

Useful iterations: 3 (2.2s)

IterNodesCost
01863267
14493100
212072688
341042663
done50002663

prune529.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0b

localize25.0ms

Local error

Found 4 expressions with local error:

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

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

series915.0ms

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

simplify3.7s

Counts
105 → 105
Iterations

Useful iterations: 3 (2.5s)

IterNodesCost
01782645
14022429
212121830
341471780
done50011780

prune402.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0b

regimes267.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
01524
11924
done1924

end0.0ms

sample1.5s

Algorithm
intervals
Results
575.0ms8000×body80valid
574.0ms7961×body80nan