Details

Time bar (total: 16.2s)

sample356.0ms

Algorithm
intervals
Results
37.0ms62×body1280valid
24.0ms264×body80valid
22.0ms56×body640valid
6.0ms22×body320valid
2.0ms12×body160valid

simplify1.3s

Counts
1 → 1
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
01937
13526
26325
39825
421525
585925
done500025

prune15.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.0b

localize29.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))
0.5b
(* (atan2 x.im x.re) y.re)
0.5b
(* (atan2 x.im x.re) y.im)
33.7b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite12.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))
3.0ms
(* (atan2 x.im x.re) y.re)
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)))

series349.0ms

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

simplify2.6s

Counts
72 → 72
Iterations

Useful iterations: 3 (214.0ms)

IterNodesCost
0101729
1177720
2409634
3852630
41517630
53614630
done5000630

prune330.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (pow (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))) 3))
0.5b
(* (atan2 x.im x.re) y.re)
0.5b
(* (atan2 x.im x.re) y.im)
33.7b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×cbrt-prod
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 cube-prod
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
cube-mult cos-sum pow1/3 unpow3 rem-cbrt-cube fma-udef sqr-pow
Counts
4 → 73
Calls
4 calls:
1.0ms
(cbrt (pow (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))) 3))
3.0ms
(* (atan2 x.im x.re) y.re)
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)))

series347.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(cbrt (pow (cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re))) 3))
17.0ms
(* (atan2 x.im x.re) y.re)
17.0ms
(* (atan2 x.im x.re) y.im)
156.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify1.9s

Counts
85 → 85
Iterations

Useful iterations: 3 (260.0ms)

IterNodesCost
01181167
12151018
2508908
31107904
42543904
done5000904

prune408.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 5.0b

localize45.0ms

Local error

Found 4 expressions with local error:

3.5b
(cbrt (atan2 x.im x.re))
3.5b
(cbrt (atan2 x.im x.re))
3.5b
(cbrt (atan2 x.im x.re))
33.7b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite3.0ms

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

series279.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(cbrt (atan2 x.im x.re))
40.0ms
(cbrt (atan2 x.im x.re))
46.0ms
(cbrt (atan2 x.im x.re))
153.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify1.8s

Counts
61 → 61
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
054529
182516
2134456
3229445
4516445
51888445
done5001445

prune341.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 5.0b

localize31.0ms

Local error

Found 4 expressions with local error:

3.5b
(cbrt (atan2 x.im x.re))
3.5b
(cbrt (atan2 x.im x.re))
3.5b
(cbrt (atan2 x.im x.re))
33.7b
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

rewrite3.0ms

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

series280.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(cbrt (atan2 x.im x.re))
40.0ms
(cbrt (atan2 x.im x.re))
45.0ms
(cbrt (atan2 x.im x.re))
153.0ms
(cos (fma (log (hypot x.re x.im)) y.im (* (atan2 x.im x.re) y.re)))

simplify1.9s

Counts
61 → 61
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
054529
182516
2134456
3229445
4516445
51888445
done5001445

prune349.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 5.0b

regimes266.0ms

Accuracy

87.2% (0.4b remaining)

Error of 5.7b against oracle of 5.3b and baseline of 8.5b

bsearch4.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
040129
151129
done51129

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.2s1989×body1280valid
696.0ms8076×body80valid
557.0ms1408×body640valid
313.0ms614×body320valid
53.0ms294×body160valid