Details

Time bar (total: 29.6s)

sample286.0ms

Algorithm
intervals
Results
75.0ms47×body640valid
58.0ms59×body1280valid
42.0ms247×body80valid
12.0ms25×body320valid
2.0msbody160valid

simplify1.9s

Counts
1 → 1
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
01937
13526
26325
39625
421525
584325
done500025

prune32.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.9b

localize24.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.7b
(* (atan2 x.im x.re) y.re)
1.2b
(* (atan2 x.im x.re) y.im)
34.2b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite26.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
cos-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))
9.0ms
(* (atan2 x.im x.re) y.re)
7.0ms
(* (atan2 x.im x.re) y.im)
5.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series515.0ms

Counts
4 → 12
Calls
4 calls:
176.0ms
(fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))
27.0ms
(* (atan2 x.im x.re) y.re)
33.0ms
(* (atan2 x.im x.re) y.im)
278.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify5.2s

Counts
72 → 72
Iterations

Useful iterations: 3 (407.0ms)

IterNodesCost
0101729
1177720
2412634
3803630
41494630
54360630
done5000630

prune459.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 6.1b

localize72.0ms

Local error

Found 4 expressions with local error:

18.0b
(cos (* (atan2 x.im x.re) y.re))
18.3b
(sin (* (atan2 x.im x.re) y.re))
24.5b
(cos (* (log (hypot x.re x.im)) y.im))
24.8b
(sin (* (log (hypot x.re x.im)) y.im))

rewrite34.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:
7.0ms
(cos (* (atan2 x.im x.re) y.re))
8.0ms
(sin (* (atan2 x.im x.re) y.re))
8.0ms
(cos (* (log (hypot x.re x.im)) y.im))
11.0ms
(sin (* (log (hypot x.re x.im)) y.im))

series532.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(cos (* (atan2 x.im x.re) y.re))
79.0ms
(sin (* (atan2 x.im x.re) y.re))
188.0ms
(cos (* (log (hypot x.re x.im)) y.im))
199.0ms
(sin (* (log (hypot x.re x.im)) y.im))

simplify2.8s

Counts
48 → 48
Iterations

Useful iterations: 3 (76.0ms)

IterNodesCost
065431
189425
2128371
3198368
4305368
5501368
6656368
7978368
82158368
done5001368

prune571.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 6.1b

localize73.0ms

Local error

Found 4 expressions with local error:

18.0b
(cos (* (atan2 x.im x.re) y.re))
18.3b
(sin (* (atan2 x.im x.re) y.re))
24.5b
(cos (* (log (hypot x.re x.im)) y.im))
24.8b
(sin (* (log (hypot x.re x.im)) y.im))

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

series481.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(cos (* (atan2 x.im x.re) y.re))
62.0ms
(sin (* (atan2 x.im x.re) y.re))
190.0ms
(cos (* (log (hypot x.re x.im)) y.im))
175.0ms
(sin (* (log (hypot x.re x.im)) y.im))

simplify2.8s

Counts
48 → 48
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
065431
189425
2128371
3198368
4305368
5501368
6656368
7978368
82158368
done5001368

prune687.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 6.1b

localize59.0ms

Local error

Found 4 expressions with local error:

18.0b
(cos (* (atan2 x.im x.re) y.re))
18.3b
(sin (* (atan2 x.im x.re) y.re))
24.5b
(cos (* (log (hypot x.re x.im)) y.im))
24.8b
(sin (* (log (hypot x.re x.im)) y.im))

rewrite48.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:
14.0ms
(cos (* (atan2 x.im x.re) y.re))
14.0ms
(sin (* (atan2 x.im x.re) y.re))
10.0ms
(cos (* (log (hypot x.re x.im)) y.im))
8.0ms
(sin (* (log (hypot x.re x.im)) y.im))

series562.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(cos (* (atan2 x.im x.re) y.re))
59.0ms
(sin (* (atan2 x.im x.re) y.re))
208.0ms
(cos (* (log (hypot x.re x.im)) y.im))
225.0ms
(sin (* (log (hypot x.re x.im)) y.im))

simplify3.3s

Counts
48 → 48
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
065431
189425
2128371
3198368
4305368
5501368
6656368
7978368
82158368
done5001368

prune536.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 6.1b

regimes544.0ms

Accuracy

82.9% (0.5b remaining)

Error of 6.1b against oracle of 5.6b and baseline of 8.6b

bsearch7.0ms

simplify12.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
042141
154141
done54141

end0.0ms

sample8.0s

Algorithm
intervals
Results
2.6s1963×body1280valid
2.3s7927×body80valid
1.6s1424×body640valid
463.0ms654×body320valid
113.0ms322×body160valid