Details

Time bar (total: 7.5s)

sample432.0ms

Algorithm
intervals
Results
41.0ms47×body640valid
38.0ms57×body1280valid
21.0ms253×body80valid
4.0ms15×body320valid
4.0msbody160valid
3.0msbody2560valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.0b

localize26.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (atan2 x.im x.re) y.re)
29.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.2b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log sqrt-prod add-cbrt-cube
sqrt-div add-log-exp
associate-*r* associate-*l*
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
sin-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 56
Calls
4 calls:
7.0ms
(* (atan2 x.im x.re) y.re)
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series230.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (atan2 x.im x.re) y.re)
32.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
35.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
147.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify73.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0194425
1496388
21117386
32398386
45002386

prune331.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 18.8b

localize28.0ms

Local error

Found 4 expressions with local error:

29.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.2b
(sin (+ (* (log (* (* (cbrt (sqrt (+ (* x.re x.re) (* x.im x.im)))) (cbrt (sqrt (+ (* x.re x.re) (* x.im x.im))))) (cbrt (sqrt (+ (* x.re x.re) (* x.im x.im)))))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite157.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log add-cbrt-cube add-log-exp
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
sin-sum
Counts
4 → 53
Calls
4 calls:
7.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
7.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
133.0ms
(sin (+ (* (log (* (* (cbrt (sqrt (+ (* x.re x.re) (* x.im x.im)))) (cbrt (sqrt (+ (* x.re x.re) (* x.im x.im))))) (cbrt (sqrt (+ (* x.re x.re) (* x.im x.im)))))) y.im) (* (atan2 x.im x.re) y.re)))

series238.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
137.0ms
(sin (+ (* (log (* (* (cbrt (sqrt (+ (* x.re x.re) (* x.im x.im)))) (cbrt (sqrt (+ (* x.re x.re) (* x.im x.im))))) (cbrt (sqrt (+ (* x.re x.re) (* x.im x.im)))))) y.im) (* (atan2 x.im x.re) y.re)))

simplify66.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 4 (59.0ms)

IterNodesCost
0148607
1303551
2643551
31821551
45001548

prune393.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 18.8b

localize26.0ms

Local error

Found 4 expressions with local error:

4.2b
(cbrt (atan2 x.im x.re))
29.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.8b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (* (cbrt (atan2 x.im x.re)) (cbrt (atan2 x.im x.re))) (* (cbrt (atan2 x.im x.re)) y.re))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 sqrt-prod
add-exp-log sqrt-div add-cbrt-cube add-log-exp
cbrt-prod
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
sin-sum pow1/3
Counts
4 → 49
Calls
4 calls:
1.0ms
(cbrt (atan2 x.im x.re))
7.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
8.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (* (cbrt (atan2 x.im x.re)) (cbrt (atan2 x.im x.re))) (* (cbrt (atan2 x.im x.re)) y.re))))

series240.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(cbrt (atan2 x.im x.re))
31.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
137.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (* (cbrt (atan2 x.im x.re)) (cbrt (atan2 x.im x.re))) (* (cbrt (atan2 x.im x.re)) y.re))))

simplify79.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 4 (73.0ms)

IterNodesCost
0167489
1366443
2822441
32327441
45001439

prune332.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 18.8b

localize26.0ms

Local error

Found 4 expressions with local error:

0.8b
(* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re)))
29.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.5b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
33.1b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
add-exp-log
add-cube-cbrt *-un-lft-identity add-cbrt-cube
sqrt-prod
sqrt-div add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
sin-sum associate-*r* *-commutative unswap-sqr
Counts
4 → 57
Calls
4 calls:
21.0ms
(* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re)))
7.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
7.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
29.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))))

series302.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re)))
37.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
156.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))))

simplify128.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 4 (122.0ms)

IterNodesCost
0240560
1596498
21516494
34223487
45001486

prune327.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 18.8b

regimes313.0ms

Accuracy

79.4% (2.9b remaining)

Error of 23.0b against oracle of 20.2b and baseline of 34.1b

bsearch138.0ms

Steps
ItersRangePoint
9
-3.8284825051561105e-306
7.462658039059417e-304
-5.108189418209377e-309

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04236
14236

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.4s2185×body1280valid
667.0ms7965×body80valid
555.0ms1363×body640valid
159.0ms579×body320valid
72.0ms46×body2560valid
40.0ms228×body160valid