Details

Time bar (total: 31.6s)

sample297.0ms

Algorithm
intervals
Results
116.0ms82×body1280valid
39.0ms260×body80valid
31.0ms49×body640valid
15.0ms32×body320valid
3.0msbody160valid

simplify1.8s

Counts
1 → 1
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
01937
13526
26325
39625
421525
584325
done500025

prune17.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.3b

localize29.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (pow (hypot x.re x.im) y.re) (exp (* (atan2 x.im x.re) y.im)))
1.7b
(* (atan2 x.im x.re) y.re)
2.0b
(* (atan2 x.im x.re) y.im)
34.0b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×add-cube-cbrt *-un-lft-identity
21×times-frac
12×unpow-prod-down
10×add-exp-log add-cbrt-cube
pow1
associate-/l*
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp sqr-pow
div-exp associate-/r*
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
cbrt-undiv pow-to-exp cos-sum frac-2neg pow-exp clear-num fma-udef div-inv
Counts
4 → 97
Calls
4 calls:
24.0ms
(/ (pow (hypot x.re x.im) y.re) (exp (* (atan2 x.im x.re) y.im)))
14.0ms
(* (atan2 x.im x.re) y.re)
14.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)))

series562.0ms

Counts
4 → 12
Calls
4 calls:
196.0ms
(/ (pow (hypot x.re x.im) y.re) (exp (* (atan2 x.im x.re) y.im)))
36.0ms
(* (atan2 x.im x.re) y.re)
39.0ms
(* (atan2 x.im x.re) y.im)
290.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify2.2s

Counts
109 → 109
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01831590
13331549
28331441
323981436
done50001435

prune775.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 2.6b

localize42.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma y.re (log (hypot x.re x.im)) (- (* (atan2 x.im x.re) y.im)))
1.7b
(* (atan2 x.im x.re) y.re)
2.0b
(* (atan2 x.im x.re) y.im)
34.0b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite28.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:
0.0ms
(fma y.re (log (hypot x.re x.im)) (- (* (atan2 x.im x.re) y.im)))
7.0ms
(* (atan2 x.im x.re) y.re)
14.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)))

series522.0ms

Counts
4 → 12
Calls
4 calls:
222.0ms
(fma y.re (log (hypot x.re x.im)) (- (* (atan2 x.im x.re) y.im)))
22.0ms
(* (atan2 x.im x.re) y.re)
29.0ms
(* (atan2 x.im x.re) y.im)
249.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify3.2s

Counts
72 → 72
Iterations

Useful iterations: 3 (495.0ms)

IterNodesCost
0110743
1202733
2474645
3956641
42069641
done5001641

prune603.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 2.6b

localize44.0ms

Local error

Found 4 expressions with local error:

0.4b
(log1p (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))))
1.7b
(* (atan2 x.im x.re) y.re)
2.0b
(* (atan2 x.im x.re) y.im)
34.0b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite19.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 unswap-sqr
cos-sum log1p-udef log1p-expm1 fma-udef
Counts
4 → 61
Calls
4 calls:
0.0ms
(log1p (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))))
7.0ms
(* (atan2 x.im x.re) y.re)
7.0ms
(* (atan2 x.im x.re) y.im)
3.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series733.0ms

Counts
4 → 12
Calls
4 calls:
369.0ms
(log1p (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))))
36.0ms
(* (atan2 x.im x.re) y.re)
35.0ms
(* (atan2 x.im x.re) y.im)
292.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify4.9s

Counts
73 → 73
Iterations

Useful iterations: 3 (375.0ms)

IterNodesCost
0105761
1181751
2400657
3672653
4928653
51600653
63521653
done5001653

prune623.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 2.6b

localize62.0ms

Local error

Found 4 expressions with local error:

0.5b
(log (exp (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))))
1.7b
(* (atan2 x.im x.re) y.re)
2.0b
(* (atan2 x.im x.re) y.im)
34.0b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
pow1
add-exp-log add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u log-pow log1p-expm1-u add-log-exp
log-prod exp-prod
cos-sum pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
log-div exp-diff rem-log-exp
Counts
4 → 68
Calls
4 calls:
5.0ms
(log (exp (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))))
7.0ms
(* (atan2 x.im x.re) y.re)
7.0ms
(* (atan2 x.im x.re) y.im)
17.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:
255.0ms
(log (exp (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))))
30.0ms
(* (atan2 x.im x.re) y.re)
25.0ms
(* (atan2 x.im x.re) y.im)
205.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify6.1s

Counts
80 → 80
Iterations

Useful iterations: 3 (712.0ms)

IterNodesCost
0116936
1195889
2430788
3743784
41081784
52032784
64780784
done5000784

prune587.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 2.6b

regimes324.0ms

Accuracy

0% (0.4b remaining)

Error of 3.4b against oracle of 3.0b and baseline of 3.4b

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01728
12428
22628
done2628

end0.0ms

sample7.6s

Algorithm
intervals
Results
3.1s1893×body1280valid
2.1s8022×body80valid
1.3s1414×body640valid
382.0ms663×body320valid
104.0ms294×body160valid