Details

Time bar (total: 33.2s)

sample509.0ms

Algorithm
intervals
Results
122.0ms255×body80valid
98.0ms65×body1280valid
85.0ms47×body640valid
16.0ms15×body320valid
4.0msbody160valid

simplify2.1s

Counts
1 → 1
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
01937
13526
26325
39625
421525
584325
done500025

prune34.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 7.9b

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
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite55.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 frac-2neg sin-sum 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)))
12.0ms
(* (atan2 x.im x.re) y.im)
8.0ms
(* (atan2 x.im x.re) y.re)
5.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series496.0ms

Counts
4 → 12
Calls
4 calls:
155.0ms
(/ (pow (hypot x.re x.im) y.re) (exp (* (atan2 x.im x.re) y.im)))
25.0ms
(* (atan2 x.im x.re) y.im)
25.0ms
(* (atan2 x.im x.re) y.re)
291.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify2.0s

Counts
109 → 109
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01851599
13381557
28441449
324261444
done50011443

prune931.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 3.8b

localize50.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (log (hypot x.re x.im)) y.re)
1.4b
(* (atan2 x.im x.re) y.im)
2.0b
(* (atan2 x.im x.re) y.re)
33.6b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
11×pow1
10×add-exp-log add-cube-cbrt *-un-lft-identity associate-*l* add-cbrt-cube
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
sin-sum log-pow fma-udef
Counts
4 → 71
Calls
4 calls:
17.0ms
(* (log (hypot x.re x.im)) y.re)
15.0ms
(* (atan2 x.im x.re) y.im)
15.0ms
(* (atan2 x.im x.re) y.re)
5.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series470.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(* (log (hypot x.re x.im)) y.re)
33.0ms
(* (atan2 x.im x.re) y.im)
28.0ms
(* (atan2 x.im x.re) y.re)
257.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify3.9s

Counts
83 → 83
Iterations

Useful iterations: 3 (533.0ms)

IterNodesCost
0120757
1232741
2572653
31000649
41430649
52734649
done5001649

prune582.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 3.8b

localize63.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (log (hypot x.re x.im)) y.re)
1.4b
(* (atan2 x.im x.re) y.im)
2.0b
(* (atan2 x.im x.re) y.re)
33.6b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
11×pow1
10×add-exp-log add-cube-cbrt *-un-lft-identity associate-*l* add-cbrt-cube
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
sin-sum log-pow fma-udef
Counts
4 → 71
Calls
4 calls:
17.0ms
(* (log (hypot x.re x.im)) y.re)
14.0ms
(* (atan2 x.im x.re) y.im)
14.0ms
(* (atan2 x.im x.re) y.re)
5.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series419.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(* (log (hypot x.re x.im)) y.re)
19.0ms
(* (atan2 x.im x.re) y.im)
33.0ms
(* (atan2 x.im x.re) y.re)
243.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify4.2s

Counts
83 → 83
Iterations

Useful iterations: 3 (567.0ms)

IterNodesCost
0120757
1232741
2572653
31000649
41430649
52734649
done5001649

prune721.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 3.8b

localize63.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))
1.4b
(* (atan2 x.im x.re) y.im)
1.5b
(* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re)))
33.7b
(sin (fma (log (hypot x.re x.im)) y.im (* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))))

rewrite160.0ms

Algorithm
rewrite-expression-head
Rules
20×pow1 add-exp-log
13×add-cbrt-cube
12×add-sqr-sqrt
10×associate-*r* pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-prod *-commutative
unswap-sqr
sin-sum fma-udef
Counts
4 → 77
Calls
4 calls:
95.0ms
(* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))
7.0ms
(* (atan2 x.im x.re) y.im)
48.0ms
(* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re)))
5.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))))

series530.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))
36.0ms
(* (atan2 x.im x.re) y.im)
118.0ms
(* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re)))
323.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))))

simplify5.7s

Counts
89 → 89
Iterations

Useful iterations: 4 (4.0s)

IterNodesCost
01351192
12851170
2875883
32012776
43288756
done5001756

prune672.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 3.8b

regimes503.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01930
12330
done2330

end0.0ms

sample8.8s

Algorithm
intervals
Results
4.3s2214×body1280valid
1.8s8010×body80valid
1.4s1390×body640valid
411.0ms539×body320valid
184.0ms41×body2560valid
74.0ms203×body160valid