Details

Time bar (total: 31.9s)

sample419.0ms

Algorithm
intervals
Results
72.0ms45×body640valid
62.0ms69×body1280valid
38.0ms257×body80valid
8.0ms19×body320valid
4.0ms14×body160valid

simplify2.7s

Counts
1 → 1
Iterations
IterNodes
done5000
5823
4210
395
262
135
019

prune38.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 3.6b

localize64.0ms

Local error

Found 4 expressions with local error:

0.3b
(* y.re (log (hypot x.re x.im)))
0.9b
(* (atan2 x.im x.re) y.re)
1.2b
(* (atan2 x.im x.re) y.im)
29.4b
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
12×*-un-lft-identity add-cube-cbrt
11×pow1
10×add-cbrt-cube associate-*r* add-exp-log
associate-*l*
log-prod
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
cos-sum log-pow fma-udef
Counts
4 → 77
Calls
4 calls:
13.0ms
(* y.re (log (hypot x.re x.im)))
10.0ms
(* (atan2 x.im x.re) y.re)
10.0ms
(* (atan2 x.im x.re) y.im)
7.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

series386.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(* y.re (log (hypot x.re x.im)))
26.0ms
(* (atan2 x.im x.re) y.re)
32.0ms
(* (atan2 x.im x.re) y.im)
240.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify2.4s

Counts
89 → 89
Iterations
IterNodes
done5000
32437
2751
1298
0146

prune873.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 3.6b

localize115.0ms

Local error

Found 4 expressions with local error:

1.2b
(* (atan2 x.im x.re) y.im)
29.4b
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
29.4b
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
29.4b
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

rewrite20.0ms

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

series555.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* (atan2 x.im x.re) y.im)
178.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
202.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
149.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify3.6s

Counts
62 → 62
Iterations
IterNodes
done5005
44310
31085
2373
1158
080

prune855.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 3.6b

localize198.0ms

Local error

Found 4 expressions with local error:

29.4b
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
29.4b
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
29.4b
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
29.4b
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt expm1-log1p-u pow1 cos-sum *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt fma-udef log1p-expm1-u add-log-exp
Counts
4 → 40
Calls
4 calls:
2.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
2.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
2.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
4.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

series779.0ms

Counts
4 → 12
Calls
4 calls:
201.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
201.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
201.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
175.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify3.7s

Counts
52 → 52
Iterations
IterNodes
done5001
54139
41481
3488
2195
195
050

prune732.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 3.6b

localize328.0ms

Local error

Found 4 expressions with local error:

29.4b
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
29.4b
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
29.4b
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
29.4b
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

rewrite17.0ms

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

series740.0ms

Counts
4 → 12
Calls
4 calls:
194.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
187.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
168.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))
191.0ms
(cos (fma y.im (log (hypot x.re x.im)) (* (atan2 x.im x.re) y.re)))

simplify3.4s

Counts
52 → 52
Iterations
IterNodes
done5001
54139
41481
3488
2195
195
050

prune889.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 3.6b

regimes552.0ms

Accuracy

0% (0.0b remaining)

Error of 3.3b against oracle of 3.3b and baseline of 3.3b

bsearch0.0ms

simplify8.0ms

Iterations
IterNodes
done27
127
021

end0.0ms

sample8.5s

Algorithm
intervals
Results
2.6s7984×body80valid
2.6s2050×body1280valid
1.9s1496×body640valid
429.0ms660×body320valid
207.0ms295×body160valid