Details

Time bar (total: 17.1s)

sample82.0ms

Algorithm
intervals
Results
34.0ms256×body80valid
24.0ms252×body80nan

simplify19.0ms

Counts
1 → 1
Iterations
IterNodes
done33
233
127
018

prune13.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt *-un-lft-identity
18×add-cube-cbrt
17×pow1
times-frac
add-cbrt-cube add-exp-log
log-prod swap-sqr log-pow
expm1-log1p-u associate-*r* associate-*l* log1p-expm1-u add-log-exp
distribute-rgt-in associate-/r* distribute-lft-in associate-/l*
pow2 cbrt-undiv hypot-udef clear-num frac-2neg pow-plus div-exp pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod fma-udef div-inv unswap-sqr
Counts
4 → 87
Calls
4 calls:
0.0ms
(hypot re im)
4.0ms
(/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (fma 0.0 0.0 (* (log base) (log base))))
0.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
20.0ms
(* (log base) (log base))

series842.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(hypot re im)
369.0ms
(/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (fma 0.0 0.0 (* (log base) (log base))))
195.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
228.0ms
(* (log base) (log base))

simplify1.5s

Counts
99 → 99
Iterations
IterNodes
done5001
21567
1306
0148

prune809.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize42.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt *-un-lft-identity
31×add-cube-cbrt
30×pow1
18×times-frac
12×log-prod swap-sqr log-pow sqrt-prod
10×add-cbrt-cube add-exp-log
associate-*r* associate-*l*
distribute-rgt-in associate-/r* distribute-lft-in
expm1-log1p-u log1p-expm1-u add-log-exp
associate-/l*
pow2 pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
cbrt-undiv clear-num frac-2neg div-exp fma-udef div-inv
Counts
4 → 127
Calls
4 calls:
5.0ms
(/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (sqrt (fma 0.0 0.0 (* (log base) (log base)))))
0.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
8.0ms
(* (log base) (log base))
13.0ms
(* (log base) (log base))

series1.0s

Counts
4 → 12
Calls
4 calls:
383.0ms
(/ (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (sqrt (fma 0.0 0.0 (* (log base) (log base)))))
180.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
245.0ms
(* (log base) (log base))
225.0ms
(* (log base) (log base))

simplify1.5s

Counts
139 → 139
Iterations
IterNodes
done5000
21582
1310
0153

prune978.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0b

localize73.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt base) (cbrt base))
0.6b
(cbrt base)
0.6b
(cbrt base)
0.6b
(cbrt base)

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×*-un-lft-identity add-cube-cbrt
11×pow1
pow1/3
swap-sqr associate-*r* associate-*l* add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
13.0ms
(* (cbrt base) (cbrt base))
1.0ms
(cbrt base)
1.0ms
(cbrt base)
1.0ms
(cbrt base)

series1.3s

Counts
4 → 12
Calls
4 calls:
594.0ms
(* (cbrt base) (cbrt base))
232.0ms
(cbrt base)
241.0ms
(cbrt base)
255.0ms
(cbrt base)

simplify1.3s

Counts
93 → 93
Iterations
IterNodes
done5001
2725
1142
065

prune753.0ms

Pruning

13 alts after pruning (11 fresh and 2 done)

Merged error: 0b

localize56.0ms

Local error

Found 4 expressions with local error:

0.4b
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
0.5b
(* (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)))
0.5b
(* (log base) (log base))
0.6b
(cbrt (* (* (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))) (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
24×pow1
18×add-sqr-sqrt
16×*-un-lft-identity
14×add-cube-cbrt
swap-sqr
add-cbrt-cube add-exp-log
associate-*r* associate-*l*
log-prod log-pow
distribute-rgt-in expm1-log1p-u distribute-lft-in log1p-expm1-u add-log-exp
fma-udef
pow2 pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
cbrt-prod pow1/3 pow3 rem-cbrt-cube
Counts
4 → 89
Calls
4 calls:
0.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
6.0ms
(* (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)))
8.0ms
(* (log base) (log base))
11.0ms
(cbrt (* (* (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))) (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))))

series795.0ms

Counts
4 → 12
Calls
4 calls:
182.0ms
(fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))
291.0ms
(* (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)))
169.0ms
(* (log base) (log base))
152.0ms
(cbrt (* (* (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0)) (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))) (fma (log base) (log (hypot re im)) (* (atan2 im re) 0.0))))

simplify1.3s

Counts
101 → 101
Iterations
IterNodes
done5001
21618
1265
0121

prune728.0ms

Pruning

13 alts after pruning (10 fresh and 3 done)

Merged error: 0b

regimes672.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations
IterNodes
done21
121
017

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.5s7931×body80nan
1.2s8000×body80valid