Details

Time bar (total: 15.9s)

sample373.0ms

Algorithm
intervals
Results
44.0ms69×body1280valid
25.0ms263×body80valid
22.0ms55×body640valid
5.0ms17×body320valid
2.0ms11×body160valid
1.0msbody2560valid

simplify674.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
01937
13526
26325
39825
421525
586925
done500025

prune15.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.1b

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))
0.5b
(* (atan2 x.im x.re) y.re)
0.5b
(* (atan2 x.im x.re) y.im)
33.7b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite12.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:
0.0ms
(fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))
3.0ms
(* (atan2 x.im x.re) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)
3.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series342.0ms

Counts
4 → 12
Calls
4 calls:
134.0ms
(fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))
19.0ms
(* (atan2 x.im x.re) y.re)
16.0ms
(* (atan2 x.im x.re) y.im)
171.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify4.0s

Counts
72 → 72
Iterations

Useful iterations: 3 (162.0ms)

IterNodesCost
0101738
1177728
2409642
3844638
41608638
54832638
done5000638

prune323.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y.im)
0.6b
(cbrt y.im)
0.6b
(cbrt y.im)
33.7b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite3.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:
0.0ms
(cbrt y.im)
0.0ms
(cbrt y.im)
0.0ms
(cbrt y.im)
1.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series685.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(cbrt y.im)
174.0ms
(cbrt y.im)
179.0ms
(cbrt y.im)
151.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify620.0ms

Counts
61 → 61
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
064433
1105419
2172377
3322366
41167366
done5000366

prune357.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.0b

localize33.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y.im)
0.6b
(cbrt y.im)
0.6b
(cbrt y.im)
33.7b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite3.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:
0.0ms
(cbrt y.im)
1.0ms
(cbrt y.im)
1.0ms
(cbrt y.im)
1.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series698.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(cbrt y.im)
180.0ms
(cbrt y.im)
184.0ms
(cbrt y.im)
155.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify619.0ms

Counts
61 → 61
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
064433
1105419
2172377
3322366
41167366
done5000366

prune396.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.0b

localize37.0ms

Local error

Found 4 expressions with local error:

21.2b
(cos (* (atan2 x.im x.re) y.re))
21.5b
(sin (* (atan2 x.im x.re) y.re))
22.0b
(sin (* (log (hypot x.re x.im)) y.im))
22.4b
(cos (* (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
(cos (* (atan2 x.im x.re) y.re))
2.0ms
(sin (* (atan2 x.im x.re) y.re))
2.0ms
(sin (* (log (hypot x.re x.im)) y.im))
2.0ms
(cos (* (log (hypot x.re x.im)) y.im))

series335.0ms

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

simplify2.4s

Counts
48 → 48
Iterations

Useful iterations: 3 (41.0ms)

IterNodesCost
065431
189425
2130371
3191368
4356368
51036368
done5001368

prune337.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.0b

regimes309.0ms

Accuracy

91.5% (0.3b remaining)

Error of 5.8b against oracle of 5.5b and baseline of 8.6b

bsearch4.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
045137
161137
done61137

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.4s2157×body1280valid
723.0ms8048×body80valid
559.0ms1370×body640valid
147.0ms530×body320valid
69.0ms45×body2560valid
43.0ms231×body160valid