Details

Time bar (total: 27.4s)

sample110.0ms

Algorithm
intervals
Results
42.0ms273×body80nan
37.0ms256×body80valid

simplify116.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
018724
131594
251594
367594
487594
591594
done91594

prune26.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize41.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×*-un-lft-identity add-cube-cbrt
times-frac
add-cbrt-cube add-exp-log
pow1
log-prod
expm1-log1p-u associate-*r* log1p-expm1-u add-log-exp
distribute-rgt-in associate-/r* distribute-lft-in associate-*l* associate-/l*
associate-/l/
cbrt-undiv hypot-udef clear-num frac-2neg flip3-- div-sub div-exp pow-prod-down prod-exp log-pow *-commutative cbrt-unprod fma-udef div-inv flip-- unswap-sqr
Counts
4 → 79
Calls
4 calls:
0.0ms
(hypot re im)
31.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (hypot re im)) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
12.0ms
(* (atan2 im re) (log base))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series563.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(hypot re im)
76.0ms
(/ (- (* (atan2 im re) (log base)) (* (log (hypot re im)) 0.0)) (fma (log base) (log base) (* 0.0 0.0)))
30.0ms
(* (atan2 im re) (log base))
402.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify3.9s

Counts
91 → 91
Iterations

Useful iterations: done (3.8s)

IterNodesCost
015342856
132941488
293940154
3318939839
done507439814

prune836.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 1 expressions with local error:

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

rewrite5.0ms

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

series36.0ms

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

simplify5.4s

Counts
36 → 36
Iterations

Useful iterations: 5 (3.9s)

IterNodesCost
06414350
111013912
227313832
366813722
4190613681
5493013601
done500013601

prune272.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ 1 (log base))
0.3b
(* (atan2 im re) (/ 1 (log base)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
26×times-frac
21×*-un-lft-identity
20×add-cube-cbrt
16×associate-*r*
15×add-exp-log
12×pow1
add-cbrt-cube
log-pow
associate-/r* div-exp prod-exp
associate-*l* associate-/l* unswap-sqr
expm1-log1p-u cbrt-undiv rec-exp 1-exp cbrt-unprod log1p-expm1-u div-inv add-log-exp
clear-num frac-2neg pow-prod-down associate-*r/ un-div-inv *-commutative pow-flip inv-pow
Counts
2 → 78
Calls
2 calls:
7.0ms
(/ 1 (log base))
22.0ms
(* (atan2 im re) (/ 1 (log base)))

series259.0ms

Counts
2 → 6
Calls
2 calls:
208.0ms
(/ 1 (log base))
51.0ms
(* (atan2 im re) (/ 1 (log base)))

simplify4.6s

Counts
84 → 84
Iterations

Useful iterations: done (4.6s)

IterNodesCost
010424874
122221033
276319967
3155519587
4247219505
done500019425

prune508.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0b

localize48.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
25×*-un-lft-identity
24×add-cube-cbrt
20×times-frac
19×add-exp-log
17×associate-*r*
13×add-cbrt-cube
10×pow1
log-prod associate-*l*
prod-exp
expm1-log1p-u div-exp log1p-expm1-u add-log-exp unswap-sqr
distribute-rgt-in associate-/r* distribute-lft-in cbrt-unprod associate-/l*
frac-times cbrt-undiv rec-exp flip3-- 1-exp pow-prod-down associate-*l/ *-commutative div-inv flip--
clear-num frac-2neg associate-*r/ log-pow un-div-inv fma-udef pow-flip inv-pow
Counts
4 → 112
Calls
4 calls:
4.0ms
(/ 1 (fma (log base) (log base) (* 0.0 0.0)))
41.0ms
(* (- (* (atan2 im re) (log base)) (* (log (hypot re im)) 0.0)) (/ 1 (fma (log base) (log base) (* 0.0 0.0))))
7.0ms
(* (atan2 im re) (log base))
0.0ms
(fma (log base) (log base) (* 0.0 0.0))

series1.1s

Counts
4 → 12
Calls
4 calls:
500.0ms
(/ 1 (fma (log base) (log base) (* 0.0 0.0)))
115.0ms
(* (- (* (atan2 im re) (log base)) (* (log (hypot re im)) 0.0)) (/ 1 (fma (log base) (log base) (* 0.0 0.0))))
49.0ms
(* (atan2 im re) (log base))
451.0ms
(fma (log base) (log base) (* 0.0 0.0))

simplify4.8s

Counts
124 → 124
Iterations

Useful iterations: 3 (2.5s)

IterNodesCost
018760261
141754132
2123551699
3423951369
done500051369

prune851.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0b

regimes478.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06253
done6253

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.5s8000×body80valid
1.3s7971×body80nan