Details

Time bar (total: 15.8s)

sample52.0ms

Algorithm
intervals
Results
18.0ms256×body80valid
16.0ms224×body80nan

simplify62.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
01828
13122
25222
36822
48822
510022
610422
done10422

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize17.0ms

Local error

Found 3 expressions with local error:

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

series384.0ms

Counts
3 → 9
Calls
3 calls:
71.0ms
(/ (fma (atan2 im re) (log base) (- (* 0.0 (log (hypot re im))))) (fma (log base) (log base) (* 0.0 0.0)))
38.0ms
(fma (atan2 im re) (log base) (- (* 0.0 (log (hypot re im)))))
274.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify1.1s

Counts
58 → 58
Iterations

Useful iterations: done (1.1s)

IterNodesCost
0931372
11691357
23921181
311671128
done50001123

prune438.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 1 expressions with local error:

0.3b
(/ (atan2 im re) (- (log base)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
26×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×distribute-lft-neg-in distribute-rgt-neg-in
12×associate-/r*
pow1
log-pow
neg-mul-1
add-exp-log add-cbrt-cube associate-/l*
cbrt-undiv expm1-log1p-u frac-2neg div-exp clear-num log1p-expm1-u div-inv add-log-exp
Counts
1 → 65
Calls
1 calls:
4.0ms
(/ (atan2 im re) (- (log base)))

series48.0ms

Counts
1 → 3
Calls
1 calls:
47.0ms
(/ (atan2 im re) (- (log base)))

simplify4.8s

Counts
68 → 68
Iterations

Useful iterations: 5 (3.5s)

IterNodesCost
0108903
1186861
2389835
3941829
41924827
54381824
done5000824

prune176.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

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

series474.0ms

Counts
4 → 12
Calls
4 calls:
219.0ms
(/ 1 (fma 0.0 0.0 (pow (log base) 2)))
72.0ms
(* (fma (atan2 im re) (log base) (- (* 0.0 (log (hypot re im))))) (/ 1 (fma 0.0 0.0 (pow (log base) 2))))
32.0ms
(fma (atan2 im re) (log base) (- (* 0.0 (log (hypot re im)))))
150.0ms
(pow (log base) 2)

simplify1.9s

Counts
114 → 114
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01572015
13281874
28291568
328861553
done50001547

prune367.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
283×times-frac
175×add-sqr-sqrt
155×*-un-lft-identity
153×add-cube-cbrt
84×sqrt-prod
82×associate-*r*
29×add-exp-log
18×add-cbrt-cube
15×div-inv
13×associate-/l*
12×div-exp
pow1
unswap-sqr
cbrt-undiv associate-/r*
prod-exp
expm1-log1p-u unpow-prod-down log1p-expm1-u add-log-exp
pow-unpow associate-*l* cbrt-unprod
rec-exp 1-exp
pow-to-exp pow-pow frac-2neg associate-*r/ pow-prod-down pow-exp clear-num log-pow *-commutative fma-udef associate-/l/ unpow2 sqr-pow
Counts
4 → 259
Calls
4 calls:
30.0ms
(* (fma (atan2 im re) (log base) (- (* 0.0 (log (hypot re im))))) (/ (/ 1 (hypot 0.0 (log base))) (sqrt (fma 0.0 0.0 (pow (log base) 2)))))
7.0ms
(/ (/ 1 (hypot 0.0 (log base))) (sqrt (fma 0.0 0.0 (pow (log base) 2))))
0.0ms
(fma (atan2 im re) (log base) (- (* 0.0 (log (hypot re im)))))
2.0ms
(pow (log base) 2)

series964.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(* (fma (atan2 im re) (log base) (- (* 0.0 (log (hypot re im))))) (/ (/ 1 (hypot 0.0 (log base))) (sqrt (fma 0.0 0.0 (pow (log base) 2)))))
624.0ms
(/ (/ 1 (hypot 0.0 (log base))) (sqrt (fma 0.0 0.0 (pow (log base) 2))))
33.0ms
(fma (atan2 im re) (log base) (- (* 0.0 (log (hypot re im)))))
152.0ms
(pow (log base) 2)

simplify2.1s

Counts
271 → 271
Iterations

Useful iterations: done (2.1s)

IterNodesCost
03507985
18327264
222245589
done50005573

prune849.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

regimes429.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01723
12523
22723
done2723

end0.0ms

sample1.5s

Algorithm
intervals
Results
590.0ms7961×body80nan
574.0ms8000×body80valid