Details

Time bar (total: 35.0s)

sample348.0ms

Algorithm
intervals
Results
105.0ms258×body80valid
57.0ms47×body1280valid
35.0ms39×body640valid
11.0ms17×body320valid
4.0ms10×body160valid

simplify1.6s

Counts
1 → 1
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
01937
13526
26325
39625
421525
584325
done500025

prune31.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.7b

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

rewrite28.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))
7.0ms
(* (atan2 x.im x.re) y.re)
8.0ms
(* (atan2 x.im x.re) y.im)
10.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series516.0ms

Counts
4 → 12
Calls
4 calls:
219.0ms
(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)
27.0ms
(* (atan2 x.im x.re) y.im)
250.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify5.3s

Counts
72 → 72
Iterations

Useful iterations: 3 (360.0ms)

IterNodesCost
0101729
1177720
2412634
3803630
41494630
54360630
done5000630

prune560.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.4b

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

rewrite46.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:
7.0ms
(pow (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))) 3)
15.0ms
(* (atan2 x.im x.re) y.re)
14.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

series738.0ms

Counts
4 → 12
Calls
4 calls:
358.0ms
(pow (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))) 3)
33.0ms
(* (atan2 x.im x.re) y.re)
35.0ms
(* (atan2 x.im x.re) y.im)
312.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify3.2s

Counts
87 → 87
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
01171100
12411018
2624910
32587902
done5000902

prune637.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.4b

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

rewrite44.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)))))
14.0ms
(* (atan2 x.im x.re) y.re)
21.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)))

series550.0ms

Counts
4 → 12
Calls
4 calls:
226.0ms
(log (exp (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))))
21.0ms
(* (atan2 x.im x.re) y.re)
39.0ms
(* (atan2 x.im x.re) y.im)
263.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify5.3s

Counts
80 → 80
Iterations

Useful iterations: 3 (382.0ms)

IterNodesCost
0116936
1195889
2430788
3743784
41081784
52032784
64780784
done5000784

prune1.1s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 4.4b

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

rewrite31.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:
11.0ms
(log (exp (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))))
7.0ms
(* (atan2 x.im x.re) y.re)
8.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)))

series539.0ms

Counts
4 → 12
Calls
4 calls:
241.0ms
(log (exp (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))))
37.0ms
(* (atan2 x.im x.re) y.re)
23.0ms
(* (atan2 x.im x.re) y.im)
238.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify5.6s

Counts
80 → 80
Iterations

Useful iterations: 3 (357.0ms)

IterNodesCost
0116936
1195889
2430788
3743784
41081784
52032784
64780784
done5000784

prune524.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 4.4b

regimes568.0ms

Accuracy

84.9% (0.5b remaining)

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

bsearch7.0ms

simplify10.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
033129
142129
done42129

end0.0ms

sample7.6s

Algorithm
intervals
Results
3.3s1936×body1280valid
1.8s7997×body80valid
1.2s1402×body640valid
415.0ms663×body320valid
98.0ms305×body160valid