Details

Time bar (total: 29.0s)

sample322.0ms

Algorithm
intervals
Results
79.0ms40×body640valid
61.0ms54×body1280valid
39.0ms255×body80valid
7.0ms14×body320valid
3.0msbody160valid

simplify1.9s

Counts
1 → 1
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
01937
13526
26325
39625
421525
584325
done500025

prune23.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.7b

localize44.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))
0.7b
(* (atan2 x.im x.re) y.re)
0.9b
(* (atan2 x.im x.re) y.im)
31.9b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
sin-sum
Counts
4 → 60
Calls
4 calls:
1.0ms
(fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))
14.0ms
(* (atan2 x.im x.re) y.re)
14.0ms
(* (atan2 x.im x.re) y.im)
9.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series571.0ms

Counts
4 → 12
Calls
4 calls:
211.0ms
(fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))
35.0ms
(* (atan2 x.im x.re) y.re)
35.0ms
(* (atan2 x.im x.re) y.im)
290.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify5.1s

Counts
72 → 72
Iterations

Useful iterations: 3 (355.0ms)

IterNodesCost
0101738
1177728
2412642
3803638
41496638
54355638
done5000638

prune527.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 4.4b

localize31.0ms

Local error

Found 4 expressions with local error:

3.7b
(cbrt (atan2 x.im x.re))
3.7b
(cbrt (atan2 x.im x.re))
3.7b
(cbrt (atan2 x.im x.re))
31.9b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite12.0ms

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

series434.0ms

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

simplify2.4s

Counts
61 → 61
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
057538
188524
2143464
3237453
4559453
52156453
done5000453

prune472.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 4.2b

localize51.0ms

Local error

Found 4 expressions with local error:

3.7b
(cbrt (atan2 x.im x.re))
3.7b
(cbrt (atan2 x.im x.re))
3.7b
(cbrt (atan2 x.im x.re))
31.9b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite6.0ms

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

series418.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(cbrt (atan2 x.im x.re))
53.0ms
(cbrt (atan2 x.im x.re))
71.0ms
(cbrt (atan2 x.im x.re))
239.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify2.5s

Counts
61 → 61
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
057538
188524
2143464
3237453
4559453
52156453
done5000453

prune595.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 4.2b

localize113.0ms

Local error

Found 4 expressions with local error:

19.9b
(sin (* (atan2 x.im x.re) y.re))
20.2b
(cos (* (atan2 x.im x.re) y.re))
22.2b
(sin (* (log (hypot x.re x.im)) y.im))
22.2b
(cos (* (log (hypot x.re x.im)) y.im))

rewrite77.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:
15.0ms
(sin (* (atan2 x.im x.re) y.re))
15.0ms
(cos (* (atan2 x.im x.re) y.re))
29.0ms
(sin (* (log (hypot x.re x.im)) y.im))
15.0ms
(cos (* (log (hypot x.re x.im)) y.im))

series605.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(sin (* (atan2 x.im x.re) y.re))
78.0ms
(cos (* (atan2 x.im x.re) y.re))
239.0ms
(sin (* (log (hypot x.re x.im)) y.im))
211.0ms
(cos (* (log (hypot x.re x.im)) y.im))

simplify3.2s

Counts
48 → 48
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
065431
189425
2128371
3198368
4305368
5501368
6652368
7978368
82135368
done5000368

prune534.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 4.2b

regimes571.0ms

Accuracy

85.7% (0.4b remaining)

Error of 6.2b against oracle of 5.8b and baseline of 8.8b

bsearch4.0ms

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
042132
156132
done56132

end0.0ms

sample8.5s

Algorithm
intervals
Results
2.8s2113×body1280valid
2.2s7966×body80valid
2.0s1370×body640valid
361.0ms587×body320valid
141.0ms30×body2560valid
84.0ms237×body160valid