Details

Time bar (total: 30.4s)

sample539.0ms

Algorithm
intervals
Results
189.0ms88×body1280valid
64.0ms58×body640valid
56.0ms256×body80valid
13.0ms20×body320valid
6.0ms13×body160valid

simplify1.6s

Counts
1 → 1
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
01937
13526
26325
39925
423225
5103425
done500025

prune16.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.4b

localize37.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))
1.0b
(* (atan2 x.im x.re) y.re)
1.6b
(* (atan2 x.im x.re) y.im)
31.2b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

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

series525.0ms

Counts
4 → 12
Calls
4 calls:
197.0ms
(fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))
29.0ms
(* (atan2 x.im x.re) y.re)
19.0ms
(* (atan2 x.im x.re) y.im)
280.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify4.8s

Counts
72 → 72
Iterations

Useful iterations: 3 (998.0ms)

IterNodesCost
0101729
1182720
2576638
34394630
done5000630

prune519.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 4.9b

localize64.0ms

Local error

Found 4 expressions with local error:

0.4b
(pow (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))) 3)
1.0b
(* (atan2 x.im x.re) y.re)
1.6b
(* (atan2 x.im x.re) y.im)
31.2b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
unpow-prod-down pow-unpow cube-prod
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
cube-mult pow-to-exp cos-sum pow-pow unpow3 pow-exp fma-udef rem-cube-cbrt sqr-pow
Counts
4 → 75
Calls
4 calls:
4.0ms
(pow (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))) 3)
11.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)))

series661.0ms

Counts
4 → 12
Calls
4 calls:
381.0ms
(pow (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))) 3)
26.0ms
(* (atan2 x.im x.re) y.re)
20.0ms
(* (atan2 x.im x.re) y.im)
233.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify980.0ms

Counts
87 → 87
Iterations

Useful iterations: done (976.0ms)

IterNodesCost
01171100
12801018
21114910
done5001906

prune617.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 4.9b

localize43.0ms

Local error

Found 4 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
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:
7.0ms
(* (atan2 x.im x.re) y.im)
2.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
2.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
3.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series744.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* (atan2 x.im x.re) y.im)
242.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
243.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
228.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify2.6s

Counts
62 → 62
Iterations

Useful iterations: 3 (504.0ms)

IterNodesCost
067800
1120794
2359702
32404696
done5000696

prune918.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 4.9b

localize45.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (atan2 x.im x.re) y.re)
1.0b
(* (atan2 x.im x.re) y.re)
1.6b
(* (atan2 x.im x.re) y.im)
31.7b
(cos (* (* (cbrt (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))) (cbrt (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))) (cbrt (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
10×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
Counts
4 → 69
Calls
4 calls:
10.0ms
(* (atan2 x.im x.re) y.re)
8.0ms
(* (atan2 x.im x.re) y.re)
8.0ms
(* (atan2 x.im x.re) y.im)
48.0ms
(cos (* (* (cbrt (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))) (cbrt (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))) (cbrt (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))))

series343.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* (atan2 x.im x.re) y.re)
20.0ms
(* (atan2 x.im x.re) y.re)
29.0ms
(* (atan2 x.im x.re) y.im)
262.0ms
(cos (* (* (cbrt (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))) (cbrt (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))) (cbrt (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))))

simplify5.6s

Counts
81 → 81
Iterations

Useful iterations: 3 (1.0s)

IterNodesCost
0851008
1161998
2541624
34569588
done5000588

prune695.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 4.9b

regimes470.0ms

Accuracy

74.5% (0.8b remaining)

Error of 6.5b against oracle of 5.7b and baseline of 8.9b

bsearch7.0ms

simplify14.0ms

Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
03194
14191
24389
done4389

end0.0ms

sample8.4s

Algorithm
intervals
Results
3.4s2048×body1280valid
1.8s7982×body80valid
1.4s1511×body640valid
847.0ms612×body320valid
100.0ms305×body160valid