Details

Time bar (total: 27.5s)

sample223.0ms

Algorithm
intervals
Results
65.0ms50×body640valid
47.0ms60×body1280valid
30.0ms255×body80valid
8.0ms16×body320valid
2.0msbody160valid

simplify1.6s

Counts
1 → 1
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
01937
13526
26325
39625
421525
584325
done500025

prune35.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 7.8b

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

rewrite68.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:
23.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)
14.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)))

series594.0ms

Counts
4 → 12
Calls
4 calls:
218.0ms
(/ (pow (hypot x.re x.im) y.re) (exp (* (atan2 x.im x.re) y.im)))
38.0ms
(* (atan2 x.im x.re) y.im)
29.0ms
(* (atan2 x.im x.re) y.re)
309.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify2.1s

Counts
109 → 109
Iterations

Useful iterations: done (2.1s)

IterNodesCost
01831590
13331549
28381441
324071436
done50011435

prune684.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.1b

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

rewrite26.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 (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))
8.0ms
(* (atan2 x.im x.re) y.im)
14.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)))

series547.0ms

Counts
4 → 12
Calls
4 calls:
222.0ms
(fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))
38.0ms
(* (atan2 x.im x.re) y.im)
34.0ms
(* (atan2 x.im x.re) y.re)
253.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify5.2s

Counts
72 → 72
Iterations

Useful iterations: 3 (419.0ms)

IterNodesCost
0101729
1177720
2414634
3809630
41501630
54377630
done5000630

prune656.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 3.0b

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

series432.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(cbrt (atan2 x.im x.re))
58.0ms
(cbrt (atan2 x.im x.re))
50.0ms
(cbrt (atan2 x.im x.re))
255.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 (81.0ms)

IterNodesCost
054529
182516
2134456
3235445
4567445
52110445
done5000445

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

series896.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(cbrt (atan2 x.im x.re))
60.0ms
(cbrt (atan2 x.im x.re))
79.0ms
(cbrt (atan2 x.im x.re))
703.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

prune433.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.0b

regimes382.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify26.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02352
13352
24652
35252
45452
done5452

end0.0ms

sample8.3s

Algorithm
intervals
Results
2.9s2058×body1280valid
2.2s8031×body80valid
1.8s1437×body640valid
419.0ms607×body320valid
141.0ms264×body160valid