Details

Time bar (total: 14.8s)

sample365.0ms

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

simplify351.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
01937
13526
26325
39825
421525
588225
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)))

series334.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))
16.0ms
(* (atan2 x.im x.re) y.re)
16.0ms
(* (atan2 x.im x.re) y.im)
167.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify1.5s

Counts
72 → 72
Iterations

Useful iterations: 3 (160.0ms)

IterNodesCost
0101738
1180728
2454642
3968638
41955638
done5000638

prune314.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.0b

localize26.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)))

series655.0ms

Counts
4 → 12
Calls
4 calls:
166.0ms
(cbrt y.im)
169.0ms
(cbrt y.im)
172.0ms
(cbrt y.im)
147.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify796.0ms

Counts
61 → 61
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
064433
1105419
2176377
3361366
41296366
done5000366

prune346.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.0b

localize28.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)))

series659.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(cbrt y.im)
167.0ms
(cbrt y.im)
166.0ms
(cbrt y.im)
150.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify796.0ms

Counts
61 → 61
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
064433
1105419
2176377
3361366
41296366
done5000366

prune388.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))

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
(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))

series322.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(cos (* (atan2 x.im x.re) y.re))
35.0ms
(sin (* (atan2 x.im x.re) y.re))
120.0ms
(sin (* (log (hypot x.re x.im)) y.im))
124.0ms
(cos (* (log (hypot x.re x.im)) y.im))

simplify3.9s

Counts
48 → 48
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
065431
189425
2131371
3199368
4397368
51165368
done5000368

prune338.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.0b

regimes311.0ms

Accuracy

91.5% (0.3b remaining)

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

bsearch4.0ms

simplify8.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
045137
161137
done61137

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.3s2157×body1280valid
697.0ms8048×body80valid
569.0ms1370×body640valid
149.0ms530×body320valid
68.0ms45×body2560valid
43.0ms231×body160valid