Details

Time bar (total: 29.7s)

sample288.0ms

Algorithm
intervals
Results
76.0ms247×body80valid
43.0ms59×body1280valid
25.0ms47×body640valid
11.0ms25×body320valid
2.0msbody160valid

simplify1.8s

Counts
1 → 1
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
01937
13526
26325
39625
421525
584325
done500025

prune18.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.9b

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

rewrite41.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))
14.0ms
(* (atan2 x.im x.re) y.re)
13.0ms
(* (atan2 x.im x.re) y.im)
8.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series574.0ms

Counts
4 → 12
Calls
4 calls:
228.0ms
(fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))
23.0ms
(* (atan2 x.im x.re) y.re)
23.0ms
(* (atan2 x.im x.re) y.im)
300.0ms
(cos (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 (341.0ms)

IterNodesCost
0101729
1177720
2412634
3803630
41494630
54360630
done5000630

prune575.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 6.1b

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

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

series528.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(cos (* (atan2 x.im x.re) y.re))
77.0ms
(sin (* (atan2 x.im x.re) y.re))
204.0ms
(cos (* (log (hypot x.re x.im)) y.im))
201.0ms
(sin (* (log (hypot x.re x.im)) y.im))

simplify2.8s

Counts
48 → 48
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
065431
189425
2128371
3198368
4305368
5501368
6656368
7978368
82158368
done5001368

prune644.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 6.1b

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

rewrite57.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))
25.0ms
(cos (* (log (hypot x.re x.im)) y.im))
16.0ms
(sin (* (log (hypot x.re x.im)) y.im))

series587.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(cos (* (atan2 x.im x.re) y.re))
72.0ms
(sin (* (atan2 x.im x.re) y.re))
229.0ms
(cos (* (log (hypot x.re x.im)) y.im))
208.0ms
(sin (* (log (hypot x.re x.im)) y.im))

simplify3.3s

Counts
48 → 48
Iterations

Useful iterations: 3 (106.0ms)

IterNodesCost
065431
189425
2128371
3198368
4305368
5501368
6656368
7978368
82158368
done5001368

prune542.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 6.1b

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

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

series513.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(cos (* (atan2 x.im x.re) y.re))
58.0ms
(sin (* (atan2 x.im x.re) y.re))
190.0ms
(cos (* (log (hypot x.re x.im)) y.im))
213.0ms
(sin (* (log (hypot x.re x.im)) y.im))

simplify2.8s

Counts
48 → 48
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
065431
189425
2128371
3198368
4305368
5501368
6656368
7978368
82158368
done5001368

prune583.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 6.1b

regimes437.0ms

Accuracy

82.9% (0.5b remaining)

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

bsearch4.0ms

simplify6.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
044143
156143
done56143

end0.0ms

sample8.1s

Algorithm
intervals
Results
2.9s1963×body1280valid
1.8s7927×body80valid
1.6s1424×body640valid
845.0ms654×body320valid
112.0ms322×body160valid