Details

Time bar (total: 18.6s)

sample364.0ms

Algorithm
intervals
Results
50.0ms77×body1280valid
25.0ms265×body80valid
17.0ms41×body640valid
4.0ms15×body320valid
2.0ms11×body160valid
2.0msbody2560valid

simplify344.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
01937
13526
26325
39825
421525
588225
done500025

prune15.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.2b

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* (pow (hypot x.re x.im) y.re) (sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))) (exp (* (atan2 x.im x.re) y.im)))
1.1b
(* (atan2 x.im x.re) y.im)
1.2b
(* (atan2 x.im x.re) y.re)
32.1b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-sqr-sqrt
13×add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
pow1
associate-*r* associate-*l*
prod-exp
expm1-log1p-u div-exp log1p-expm1-u add-log-exp
times-frac associate-/r* cbrt-unprod
cbrt-undiv pow-prod-down *-commutative unswap-sqr
pow-to-exp frac-2neg sin-sum pow-exp clear-num fma-udef div-inv associate-/l*
Counts
4 → 75
Calls
4 calls:
6.0ms
(/ (* (pow (hypot x.re x.im) y.re) (sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))) (exp (* (atan2 x.im x.re) y.im)))
3.0ms
(* (atan2 x.im x.re) y.im)
8.0ms
(* (atan2 x.im x.re) y.re)
3.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series602.0ms

Counts
4 → 12
Calls
4 calls:
397.0ms
(/ (* (pow (hypot x.re x.im) y.re) (sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))) (exp (* (atan2 x.im x.re) y.im)))
16.0ms
(* (atan2 x.im x.re) y.im)
20.0ms
(* (atan2 x.im x.re) y.re)
169.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify442.0ms

Counts
87 → 87
Iterations

Useful iterations: done (439.0ms)

IterNodesCost
01531462
13371430
211401222
done50011215

prune408.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 3.4b

localize30.0ms

Local error

Found 4 expressions with local error:

17.8b
(sin (* (atan2 x.im x.re) y.re))
17.8b
(cos (* (atan2 x.im x.re) y.re))
21.8b
(cos (* (log (hypot x.re x.im)) y.im))
21.9b
(sin (* (log (hypot x.re x.im)) y.im))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 36
Calls
4 calls:
2.0ms
(sin (* (atan2 x.im x.re) y.re))
2.0ms
(cos (* (atan2 x.im x.re) y.re))
2.0ms
(cos (* (log (hypot x.re x.im)) y.im))
2.0ms
(sin (* (log (hypot x.re x.im)) y.im))

series329.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(sin (* (atan2 x.im x.re) y.re))
44.0ms
(cos (* (atan2 x.im x.re) y.re))
123.0ms
(cos (* (log (hypot x.re x.im)) y.im))
124.0ms
(sin (* (log (hypot x.re x.im)) y.im))

simplify3.8s

Counts
48 → 48
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
065431
189425
2131371
3198368
4396368
51166368
done5001368

prune358.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 3.4b

localize31.0ms

Local error

Found 4 expressions with local error:

17.8b
(sin (* (atan2 x.im x.re) y.re))
17.8b
(cos (* (atan2 x.im x.re) y.re))
21.8b
(cos (* (log (hypot x.re x.im)) y.im))
21.9b
(sin (* (log (hypot x.re x.im)) y.im))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 36
Calls
4 calls:
2.0ms
(sin (* (atan2 x.im x.re) y.re))
2.0ms
(cos (* (atan2 x.im x.re) y.re))
2.0ms
(cos (* (log (hypot x.re x.im)) y.im))
2.0ms
(sin (* (log (hypot x.re x.im)) y.im))

series335.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(sin (* (atan2 x.im x.re) y.re))
44.0ms
(cos (* (atan2 x.im x.re) y.re))
125.0ms
(cos (* (log (hypot x.re x.im)) y.im))
129.0ms
(sin (* (log (hypot x.re x.im)) y.im))

simplify3.8s

Counts
48 → 48
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
065431
189425
2131371
3198368
4396368
51166368
done5001368

prune384.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 3.4b

localize23.0ms

Local error

Found 4 expressions with local error:

8.1b
(cbrt (* (atan2 x.im x.re) y.im))
8.1b
(cbrt (* (atan2 x.im x.re) y.im))
8.1b
(cbrt (* (atan2 x.im x.re) y.im))
32.1b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
cbrt-prod pow1/3
sin-sum fma-udef
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt (* (atan2 x.im x.re) y.im))
1.0ms
(cbrt (* (atan2 x.im x.re) y.im))
1.0ms
(cbrt (* (atan2 x.im x.re) y.im))
1.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series344.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(cbrt (* (atan2 x.im x.re) y.im))
58.0ms
(cbrt (* (atan2 x.im x.re) y.im))
63.0ms
(cbrt (* (atan2 x.im x.re) y.im))
159.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify2.6s

Counts
55 → 55
Iterations

Useful iterations: done (2.6s)

IterNodesCost
072601
1121596
2192533
3331513
4697486
52184486
done5001483

prune417.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 3.4b

regimes460.0ms

Accuracy

50.9% (2.5b remaining)

Error of 6.0b against oracle of 3.5b and baseline of 8.6b

bsearch4.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
038121
150121
done50121

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.4s2221×body1280valid
717.0ms7941×body80valid
604.0ms1418×body640valid
158.0ms550×body320valid
64.0ms43×body2560valid
44.0ms234×body160valid