Details

Time bar (total: 35.1s)

sample460.0ms

Algorithm
intervals
Results
116.0ms258×body80valid
115.0ms39×body640valid
70.0ms47×body1280valid
11.0ms17×body320valid
5.0ms10×body160valid

simplify1.8s

Counts
1 → 1
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
01937
13526
26325
39625
421525
584325
done500025

prune29.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.7b

localize39.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))
0.7b
(* (atan2 x.im x.re) y.re)
0.9b
(* (atan2 x.im x.re) y.im)
32.3b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite30.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))
11.0ms
(* (atan2 x.im x.re) y.re)
11.0ms
(* (atan2 x.im x.re) y.im)
5.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series497.0ms

Counts
4 → 12
Calls
4 calls:
191.0ms
(fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))
31.0ms
(* (atan2 x.im x.re) y.re)
30.0ms
(* (atan2 x.im x.re) y.im)
245.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify5.1s

Counts
72 → 72
Iterations

Useful iterations: 3 (435.0ms)

IterNodesCost
0101729
1177720
2412634
3803630
41494630
54360630
done5000630

prune471.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.4b

localize62.0ms

Local error

Found 4 expressions with local error:

0.4b
(pow (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))) 3)
0.7b
(* (atan2 x.im x.re) y.re)
0.9b
(* (atan2 x.im x.re) y.im)
32.3b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
unpow-prod-down pow-unpow cube-prod
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
cube-mult pow-to-exp cos-sum pow-pow unpow3 pow-exp fma-udef rem-cube-cbrt sqr-pow
Counts
4 → 75
Calls
4 calls:
4.0ms
(pow (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))) 3)
7.0ms
(* (atan2 x.im x.re) y.re)
7.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)))

series697.0ms

Counts
4 → 12
Calls
4 calls:
406.0ms
(pow (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))) 3)
20.0ms
(* (atan2 x.im x.re) y.re)
25.0ms
(* (atan2 x.im x.re) y.im)
246.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify3.1s

Counts
87 → 87
Iterations

Useful iterations: 3 (1.0s)

IterNodesCost
01171100
12411018
2624910
32587902
done5000902

prune622.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.4b

localize68.0ms

Local error

Found 4 expressions with local error:

0.4b
(log (exp (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))))
0.7b
(* (atan2 x.im x.re) y.re)
0.9b
(* (atan2 x.im x.re) y.im)
32.3b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite46.0ms

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

series982.0ms

Counts
4 → 12
Calls
4 calls:
689.0ms
(log (exp (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))))
33.0ms
(* (atan2 x.im x.re) y.re)
20.0ms
(* (atan2 x.im x.re) y.im)
239.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify5.5s

Counts
80 → 80
Iterations

Useful iterations: 3 (339.0ms)

IterNodesCost
0116936
1195889
2430788
3743784
41081784
52032784
64780784
done5000784

prune751.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 4.4b

localize60.0ms

Local error

Found 4 expressions with local error:

0.4b
(log (exp (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))))
0.7b
(* (atan2 x.im x.re) y.re)
0.9b
(* (atan2 x.im x.re) y.im)
32.3b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
pow1
add-exp-log add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u log-pow log1p-expm1-u add-log-exp
log-prod exp-prod
cos-sum pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
log-div exp-diff rem-log-exp
Counts
4 → 68
Calls
4 calls:
5.0ms
(log (exp (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))))
10.0ms
(* (atan2 x.im x.re) y.re)
24.0ms
(* (atan2 x.im x.re) y.im)
5.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series539.0ms

Counts
4 → 12
Calls
4 calls:
234.0ms
(log (exp (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))))
33.0ms
(* (atan2 x.im x.re) y.re)
25.0ms
(* (atan2 x.im x.re) y.im)
246.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify5.0s

Counts
80 → 80
Iterations

Useful iterations: 3 (301.0ms)

IterNodesCost
0116936
1195889
2430788
3743784
41081784
52032784
64780784
done5000784

prune659.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 4.4b

regimes411.0ms

Accuracy

84.9% (0.5b remaining)

Error of 6.1b against oracle of 5.6b and baseline of 8.7b

bsearch4.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
033129
142129
done42129

end0.0ms

sample8.1s

Algorithm
intervals
Results
3.0s1936×body1280valid
2.0s1402×body640valid
1.7s7997×body80valid
341.0ms663×body320valid
199.0ms305×body160valid