Details

Time bar (total: 27.1s)

sample257.0ms

Algorithm
intervals
Results
97.0ms60×body1280valid
37.0ms255×body80valid
32.0ms50×body640valid
10.0ms16×body320valid
2.0msbody160valid

simplify1.8s

Counts
1 → 1
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
01937
13526
26325
39625
421525
584325
done500025

prune27.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 7.8b

localize28.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.4b
(* (atan2 x.im x.re) y.im)
2.0b
(* (atan2 x.im x.re) y.re)
33.6b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite67.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:
22.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.im)
15.0ms
(* (atan2 x.im x.re) y.re)
9.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series614.0ms

Counts
4 → 12
Calls
4 calls:
227.0ms
(/ (pow (hypot x.re x.im) y.re) (exp (* (atan2 x.im x.re) y.im)))
33.0ms
(* (atan2 x.im x.re) y.im)
34.0ms
(* (atan2 x.im x.re) y.re)
320.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify2.3s

Counts
109 → 109
Iterations

Useful iterations: done (2.3s)

IterNodesCost
01831590
13331549
28381441
324071436
done50011435

prune623.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.1b

localize22.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.4b
(* (atan2 x.im x.re) y.im)
2.0b
(* (atan2 x.im x.re) y.re)
33.6b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite24.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))
11.0ms
(* (atan2 x.im x.re) y.im)
7.0ms
(* (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)))

series461.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))
33.0ms
(* (atan2 x.im x.re) y.im)
26.0ms
(* (atan2 x.im x.re) y.re)
223.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify4.9s

Counts
72 → 72
Iterations

Useful iterations: 3 (297.0ms)

IterNodesCost
0101729
1177720
2414634
3809630
41501630
54377630
done5000630

prune497.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 3.0b

localize43.0ms

Local error

Found 4 expressions with local error:

4.2b
(cbrt (atan2 x.im x.re))
4.2b
(cbrt (atan2 x.im x.re))
4.2b
(cbrt (atan2 x.im x.re))
33.6b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite6.0ms

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

series462.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(cbrt (atan2 x.im x.re))
70.0ms
(cbrt (atan2 x.im x.re))
78.0ms
(cbrt (atan2 x.im x.re))
263.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify2.3s

Counts
61 → 61
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
054529
182516
2134456
3235445
4567445
52110445
done5000445

prune480.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 3.0b

localize39.0ms

Local error

Found 4 expressions with local error:

4.2b
(cbrt (atan2 x.im x.re))
4.2b
(cbrt (atan2 x.im x.re))
4.2b
(cbrt (atan2 x.im x.re))
33.6b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite6.0ms

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

series400.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(cbrt (atan2 x.im x.re))
65.0ms
(cbrt (atan2 x.im x.re))
55.0ms
(cbrt (atan2 x.im x.re))
229.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify2.3s

Counts
61 → 61
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
054529
182516
2134456
3235445
4567445
52110445
done5000445

prune476.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.0b

regimes433.0ms

Accuracy

0% (0.5b remaining)

Error of 3.2b against oracle of 2.7b and baseline of 3.2b

bsearch0.0ms

simplify14.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02352
13352
24652
35252
45452
done5452

end0.0ms

sample8.5s

Algorithm
intervals
Results
3.2s2058×body1280valid
2.2s8031×body80valid
2.0s1437×body640valid
431.0ms607×body320valid
99.0ms264×body160valid