Details

Time bar (total: 7.9s)

sample401.0ms

Algorithm
intervals
Results
43.0ms59×body1280valid
32.0ms262×body80valid
30.0ms61×body640valid
5.0ms14×body320valid
2.0msbody160valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
03121
15320
28420
320320
487920
5500120

prune16.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.4b

Counts
2 → 2

localize25.0ms

Local error

Found 4 expressions with local error:

2.2b
(* (atan2 x.im x.re) y.im)
28.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.1b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite22.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:
4.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
8.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series254.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (atan2 x.im x.re) y.im)
38.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
36.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
164.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify78.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0196425
1506388
21139386
32507386
45002386

prune321.0ms

Filtered
68 candidates to 54 candidates (79.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New59968
Fresh011
Picked101
Done000
Total601070

Merged error: 18.4b

Counts
70 → 10

localize27.0ms

Local error

Found 4 expressions with local error:

4.5b
(cbrt (* (atan2 x.im x.re) y.im))
28.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.1b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite18.0ms

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

series282.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(cbrt (* (atan2 x.im x.re) y.im))
38.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
36.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)))

simplify65.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 4 (59.0ms)

IterNodesCost
0195416
1381381
2797375
31958373
45001371

prune311.0ms

Filtered
59 candidates to 50 candidates (84.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New57259
Fresh189
Picked101
Done000
Total591069

Merged error: 18.4b

Counts
69 → 10

localize34.0ms

Local error

Found 4 expressions with local error:

4.5b
(cbrt (* (atan2 x.im x.re) y.im))
28.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.1b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

rewrite17.0ms

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

series277.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(cbrt (* (atan2 x.im x.re) y.im))
36.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
39.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
143.0ms
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify64.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 4 (59.0ms)

IterNodesCost
0195416
1381381
2797375
31958373
45001371

prune342.0ms

Filtered
59 candidates to 50 candidates (84.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New58159
Fresh189
Picked101
Done000
Total60969

Merged error: 18.4b

Counts
69 → 9

localize32.0ms

Local error

Found 4 expressions with local error:

28.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
28.8b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
32.1b
(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)))

rewrite36.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:
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
23.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)))

series253.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
35.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
37.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
143.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)))

simplify65.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 4 (58.0ms)

IterNodesCost
0148607
1303551
2643551
31810551
45001548

prune319.0ms

Filtered
65 candidates to 56 candidates (86.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New64165
Fresh088
Picked011
Done000
Total641074

Merged error: 18.4b

Counts
74 → 10

regimes337.0ms

Accuracy

77.1% (3.4b remaining)

Error of 22.5b against oracle of 19.1b and baseline of 33.8b

bsearch425.0ms

Steps
ItersRangePoint
6
-1.278936478791097e-308
8.023207831786666e-308
-5.156319062013225e-309
11
-1.9611360856757354e-231
-1.558821736665248e-255
-1.9359566382749546e-231
9
-1.0594230812862767e-201
-1.7141606252680141e-208
-2.209948046406341e-208

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
065113
165113

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.5s2128×body1280valid
858.0ms7944×body80valid
692.0ms1418×body640valid
188.0ms565×body320valid
74.0ms45×body2560valid
58.0ms263×body160valid

Profiling

Loading profile data...