Details

Time bar (total: 30.5s)

sample407.0ms

Algorithm
intervals
Results
195.0ms67×body1280valid
72.0ms259×body80valid
30.0ms41×body640valid
9.0ms22×body320valid
5.0ms13×body160valid
2.0msbody2560valid

simplify2.2s

Counts
1 → 1
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
01937
13526
26325
39625
421525
584325
done500025

prune21.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.7b

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.4b
(* (atan2 x.im x.re) y.re)
2.3b
(* (atan2 x.im x.re) y.im)
34.7b
(sin (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
sin-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.re)
8.0ms
(* (atan2 x.im x.re) y.im)
5.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series476.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))
26.0ms
(* (atan2 x.im x.re) y.re)
21.0ms
(* (atan2 x.im x.re) y.im)
245.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify5.6s

Counts
72 → 72
Iterations

Useful iterations: 3 (369.0ms)

IterNodesCost
0101738
1177728
2412642
3803638
41496638
54355638
done5000638

prune523.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 6.5b

localize36.0ms

Local error

Found 4 expressions with local error:

0.4b
(log1p (sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))))
1.4b
(* (atan2 x.im x.re) y.re)
2.3b
(* (atan2 x.im x.re) y.im)
34.7b
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

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

series701.0ms

Counts
4 → 12
Calls
4 calls:
348.0ms
(log1p (sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))))
20.0ms
(* (atan2 x.im x.re) y.re)
20.0ms
(* (atan2 x.im x.re) y.im)
313.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify3.5s

Counts
73 → 73
Iterations

Useful iterations: done (3.5s)

IterNodesCost
0113789
1206777
2479682
3937677
41873677
done5001676

prune612.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 6.5b

localize80.0ms

Local error

Found 4 expressions with local error:

7.7b
(cbrt (* (atan2 x.im x.re) y.re))
7.7b
(cbrt (* (atan2 x.im x.re) y.re))
7.7b
(cbrt (* (atan2 x.im x.re) y.re))
34.3b
(sin (fma (log (hypot x.re x.im)) y.im (* (* (cbrt (* (atan2 x.im x.re) y.re)) (cbrt (* (atan2 x.im x.re) y.re))) (cbrt (* (atan2 x.im x.re) y.re)))))

rewrite28.0ms

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

series552.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(cbrt (* (atan2 x.im x.re) y.re))
87.0ms
(cbrt (* (atan2 x.im x.re) y.re))
97.0ms
(cbrt (* (atan2 x.im x.re) y.re))
268.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (* (cbrt (* (atan2 x.im x.re) y.re)) (cbrt (* (atan2 x.im x.re) y.re))) (cbrt (* (atan2 x.im x.re) y.re)))))

simplify1.8s

Counts
55 → 55
Iterations

Useful iterations: done (1.8s)

IterNodesCost
071811
1119806
2182569
3313513
4618486
51466486
done5000483

prune458.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 6.5b

localize81.0ms

Local error

Found 4 expressions with local error:

7.7b
(cbrt (* (atan2 x.im x.re) y.re))
7.7b
(cbrt (* (atan2 x.im x.re) y.re))
7.7b
(cbrt (* (atan2 x.im x.re) y.re))
34.7b
(sin (fma (log (hypot x.re x.im)) y.im (* (* (cbrt (* (atan2 x.im x.re) y.re)) (cbrt (* (atan2 x.im x.re) y.re))) (* (* (cbrt (cbrt (* (atan2 x.im x.re) y.re))) (cbrt (cbrt (* (atan2 x.im x.re) y.re)))) (cbrt (cbrt (* (atan2 x.im x.re) y.re)))))))

rewrite22.0ms

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

series957.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(cbrt (* (atan2 x.im x.re) y.re))
90.0ms
(cbrt (* (atan2 x.im x.re) y.re))
90.0ms
(cbrt (* (atan2 x.im x.re) y.re))
695.0ms
(sin (fma (log (hypot x.re x.im)) y.im (* (* (cbrt (* (atan2 x.im x.re) y.re)) (cbrt (* (atan2 x.im x.re) y.re))) (* (* (cbrt (cbrt (* (atan2 x.im x.re) y.re))) (cbrt (cbrt (* (atan2 x.im x.re) y.re)))) (cbrt (cbrt (* (atan2 x.im x.re) y.re)))))))

simplify2.3s

Counts
55 → 55
Iterations

Useful iterations: done (2.3s)

IterNodesCost
0731049
11271044
2208749
3374513
4769486
52090486
done5001465

prune448.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 6.5b

regimes641.0ms

Accuracy

87.9% (0.4b remaining)

Error of 6.0b against oracle of 5.7b and baseline of 8.7b

bsearch5.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
035119
144119
done44119

end0.0ms

sample9.0s

Algorithm
intervals
Results
4.0s2175×body1280valid
2.1s7945×body80valid
1.4s1425×body640valid
317.0ms576×body320valid
168.0ms50×body2560valid
137.0ms249×body160valid