Details

Time bar (total: 16.6s)

sample367.0ms

Algorithm
intervals
Results
38.0ms65×body1280valid
21.0ms255×body80valid
20.0ms53×body640valid
8.0ms22×body320valid
2.0msbody160valid

simplify1.4s

Counts
1 → 1
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
01937
13526
26325
39825
421525
585925
done500025

prune15.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.9b

localize27.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (atan2 x.im x.re) y.re)
0.5b
(/ (* (pow (hypot x.re x.im) y.re) (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))) (exp (* (atan2 x.im x.re) y.im)))
1.7b
(* (atan2 x.im x.re) y.im)
34.5b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-sqr-sqrt
13×add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
pow1
associate-*r* associate-*l*
prod-exp
expm1-log1p-u div-exp log1p-expm1-u add-log-exp
times-frac associate-/r* cbrt-unprod
cbrt-undiv pow-prod-down *-commutative unswap-sqr
pow-to-exp cos-sum frac-2neg pow-exp clear-num fma-udef div-inv associate-/l*
Counts
4 → 75
Calls
4 calls:
3.0ms
(* (atan2 x.im x.re) y.re)
6.0ms
(/ (* (pow (hypot x.re x.im) y.re) (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))) (exp (* (atan2 x.im x.re) y.im)))
3.0ms
(* (atan2 x.im x.re) y.im)
3.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series522.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (atan2 x.im x.re) y.re)
326.0ms
(/ (* (pow (hypot x.re x.im) y.re) (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))) (exp (* (atan2 x.im x.re) y.im)))
17.0ms
(* (atan2 x.im x.re) y.im)
162.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify1.8s

Counts
87 → 87
Iterations

Useful iterations: 3 (868.0ms)

IterNodesCost
01491444
13211414
29721207
342841200
done50011200

prune361.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 4.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (atan2 x.im x.re) y.re)
0.5b
(/ (* (pow (hypot x.re x.im) y.re) (cbrt (pow (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))) 3))) (exp (* (atan2 x.im x.re) y.im)))
1.7b
(* (atan2 x.im x.re) y.im)
34.5b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-sqr-sqrt
12×add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
pow1
associate-*r* associate-*l*
prod-exp
expm1-log1p-u div-exp log1p-expm1-u add-log-exp
times-frac associate-/r* cbrt-unprod
cbrt-undiv pow-prod-down *-commutative unswap-sqr
pow-to-exp cos-sum frac-2neg pow-exp clear-num fma-udef div-inv associate-/l*
Counts
4 → 75
Calls
4 calls:
5.0ms
(* (atan2 x.im x.re) y.re)
7.0ms
(/ (* (pow (hypot x.re x.im) y.re) (cbrt (pow (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))) 3))) (exp (* (atan2 x.im x.re) y.im)))
3.0ms
(* (atan2 x.im x.re) y.im)
1.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series501.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(* (atan2 x.im x.re) y.re)
321.0ms
(/ (* (pow (hypot x.re x.im) y.re) (cbrt (pow (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))) 3))) (exp (* (atan2 x.im x.re) y.im)))
16.0ms
(* (atan2 x.im x.re) y.im)
147.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify1.9s

Counts
87 → 87
Iterations

Useful iterations: 3 (884.0ms)

IterNodesCost
01531504
13281366
29961211
344631200
done50011200

prune398.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 4.0b

localize30.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (atan2 x.im x.re) y.re)
0.5b
(/ (* (pow (hypot x.re x.im) y.re) (cbrt (pow (log (exp (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))))) 3))) (exp (* (atan2 x.im x.re) y.im)))
1.7b
(* (atan2 x.im x.re) y.im)
34.5b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-sqr-sqrt
12×add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
pow1
associate-*r* associate-*l*
prod-exp
expm1-log1p-u div-exp log1p-expm1-u add-log-exp
times-frac associate-/r* cbrt-unprod
cbrt-undiv pow-prod-down *-commutative unswap-sqr
pow-to-exp cos-sum frac-2neg pow-exp clear-num fma-udef div-inv associate-/l*
Counts
4 → 75
Calls
4 calls:
3.0ms
(* (atan2 x.im x.re) y.re)
8.0ms
(/ (* (pow (hypot x.re x.im) y.re) (cbrt (pow (log (exp (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))))) 3))) (exp (* (atan2 x.im x.re) y.im)))
3.0ms
(* (atan2 x.im x.re) y.im)
1.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series484.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (atan2 x.im x.re) y.re)
307.0ms
(/ (* (pow (hypot x.re x.im) y.re) (cbrt (pow (log (exp (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))))) 3))) (exp (* (atan2 x.im x.re) y.im)))
18.0ms
(* (atan2 x.im x.re) y.im)
143.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify1.9s

Counts
87 → 87
Iterations

Useful iterations: 3 (881.0ms)

IterNodesCost
01541562
13301366
29981211
344681200
done50001200

prune429.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 4.0b

localize25.0ms

Local error

Found 4 expressions with local error:

1.7b
(* (atan2 x.im x.re) y.im)
34.5b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
34.5b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
34.5b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite7.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:
3.0ms
(* (atan2 x.im x.re) y.im)
1.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
1.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
1.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series460.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (atan2 x.im x.re) y.im)
149.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
146.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))
148.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify2.1s

Counts
62 → 62
Iterations

Useful iterations: 3 (113.0ms)

IterNodesCost
067800
1116794
2251702
3460696
4665696
51149696
62158696
done5001696

prune341.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 4.0b

regimes277.0ms

Accuracy

48.9% (2.5b remaining)

Error of 6.2b against oracle of 3.7b and baseline of 8.5b

bsearch228.0ms

Steps
ItersRangePoint
9
1.4399921914486052e-44
2.2458426208391953e-38
2.2221650931193274e-38
11
-1.710852101153785e+75
-1.0452457700408589e+52
-2.368427375727665e+74

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02888
13563
done3563

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.2s2028×body1280valid
676.0ms8025×body80valid
593.0ms1534×body640valid
190.0ms690×body320valid
54.0ms305×body160valid