Details

Time bar (total: 10.1s)

analyze1.4s

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
9.4%90.4%0.2%6
17.2%82.7%0.2%7
19.5%80.3%0.2%8
30.8%69%0.2%9
35.5%64.3%0.2%10
42.4%57.4%0.2%11
47.1%52.7%0.2%12
48.9%50.8%0.3%13
50%49.7%0.4%14

sample123.0ms

Algorithm
intervals
Results
42.0ms56×body1280invalid
26.0ms239×body80valid
17.0ms34×body640invalid
5.0ms13×body320invalid
4.0msbody640valid
3.0msbody1280valid
2.0msbody160invalid
2.0ms15×body80invalid
1.0msbody320valid
0.0msbody160valid

simplify507.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
0497036
1497036

prune19.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.8b

Counts
2 → 2

localize23.0ms

Local error

Found 4 expressions with local error:

1.1b
(* (atan2 x.im x.re) y.im)
26.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.6b
(cos (+ (* (log (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
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-+
cos-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 56
Calls
4 calls:
3.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
18.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
8.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series81.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
62.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify56.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04737680
14737680

prune150.0ms

Filtered
56 candidates to 68 candidates (-21.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New61768
Fresh011
Picked101
Done000
Total62870

Merged error: 19.6b

Counts
70 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))
0.2b
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
1.1b
(* (atan2 x.im x.re) y.im)
26.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×pow1
add-cube-cbrt *-un-lft-identity associate-*l*
add-exp-log add-cbrt-cube
associate-*r* add-log-exp
sqrt-prod log-pow
sqrt-pow1 pow1/2 sqrt-div pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
sub-neg rem-sqrt-square flip3-- flip3-+ diff-log flip-- flip-+
Counts
4 → 65
Calls
4 calls:
3.0ms
(- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))
5.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)
4.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

series72.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re) (* (atan2 x.im x.re) y.im))
24.0ms
(* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.re)
6.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))

simplify46.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
05159896

prune139.0ms

Filtered
56 candidates to 77 candidates (-37.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New73477
Fresh167
Picked101
Done000
Total751085

Merged error: 4.1b

Counts
85 → 10

localize30.0ms

Local error

Found 4 expressions with local error:

26.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.6b
(cos (+ (* (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)))

rewrite34.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-+
cos-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)))
22.0ms
(cos (+ (* (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)))

series72.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
55.0ms
(cos (+ (* (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)))

simplify49.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
05074679

prune151.0ms

Filtered
55 candidates to 65 candidates (-18.2%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New64165
Fresh099
Picked011
Done000
Total641175

Merged error: 4.0b

Counts
75 → 11

localize24.0ms

Local error

Found 4 expressions with local error:

1.1b
(* (atan2 x.im x.re) y.im)
26.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
26.7b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.6b
(cos (+ (* (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
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-+
cos-sum pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 56
Calls
4 calls:
3.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)))
6.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

series70.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
6.0ms
(sqrt (+ (* x.re x.re) (* x.im x.im)))
52.0ms
(cos (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

simplify54.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04737680
14737680

prune112.0ms

Filtered
56 candidates to 68 candidates (-21.4%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New67168
Fresh189
Picked011
Done011
Total681179

Merged error: 4.0b

Counts
79 → 11

regimes545.0ms

Accuracy

81.5% (5.5b remaining)

Error of 8.7b against oracle of 3.2b and baseline of 33.0b

bsearch1.5s

Steps
ItersRangePoint
10
-1.9469281993079768e-303
2.270033269815668e-298
-3.4130425136327e-311

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02727
12727

end0.0ms

analyze1.2s

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
9.4%90.4%0.2%6
17.2%82.7%0.2%7
19.5%80.3%0.2%8
30.8%69%0.2%9
35.5%64.3%0.2%10
42.4%57.4%0.2%11
47.1%52.7%0.2%12
48.9%50.8%0.3%13
50%49.7%0.4%14

sample3.5s

Algorithm
intervals
Results
1.3s1869×body1280invalid
812.0ms7603×body80valid
605.0ms1299×body640invalid
173.0ms524×body320invalid
72.0ms103×body1280valid
71.0ms153×body640valid
52.0ms242×body160invalid
42.0ms386×body80invalid
32.0ms97×body320valid
10.0ms44×body160valid

Profiling

Loading profile data...