Details

Time bar (total: 8.7s)

analyze1.6s

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
49%50.8%0.2%13
50.1%49.7%0.2%14

sample163.0ms

Algorithm
intervals
Results
66.0ms80×body1280invalid
32.0ms247×body80valid
21.0ms32×body640invalid
7.0ms17×body320invalid
4.0msbody2560invalid
2.0msbody640valid
2.0msbody1280valid
1.0msbody160invalid
1.0msbody80invalid
1.0msbody320valid
0.0msbody160valid

simplify497.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
0493436
1493436

prune16.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 33.8b

Counts
2 → 1

localize43.0ms

Local error

Found 4 expressions with local error:

0.9b
(* (atan2 x.im x.re) y.re)
31.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
31.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))
34.6b
(sin (+ (* (log (sqrt (+ (* x.re x.re) (* x.im x.im)))) y.im) (* (atan2 x.im x.re) y.re)))

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

series89.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
05128689

prune131.0ms

Filtered
54 candidates to 68 candidates (-25.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New64468
Fresh000
Picked011
Done000
Total64569

Merged error: 19.7b

Counts
69 → 5

localize25.0ms

Local error

Found 4 expressions with local error:

0.9b
(* (atan2 x.im x.re) y.im)
0.9b
(* (atan2 x.im x.re) y.re)
18.6b
(sin (+ (* (log (neg x.re)) y.im) (* (atan2 x.im x.re) y.re)))
31.0b
(sqrt (+ (* x.re x.re) (* x.im x.im)))

rewrite17.0ms

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

series57.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
05190596

prune114.0ms

Filtered
53 candidates to 71 candidates (-34.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New70171
Fresh033
Picked011
Done011
Total70676

Merged error: 9.9b

Counts
76 → 6

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (log (neg x.re)) y.re)
0.9b
(* (atan2 x.im x.re) y.im)
0.9b
(* (atan2 x.im x.re) y.re)
18.6b
(sin (+ (* (log (neg x.re)) y.im) (* (atan2 x.im x.re) y.re)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
11×pow1
10×add-exp-log add-cube-cbrt *-un-lft-identity associate-*l* add-cbrt-cube
associate-*r*
add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
sin-sum log-pow
Counts
4 → 63
Calls
4 calls:
4.0ms
(* (log (neg x.re)) y.re)
3.0ms
(* (atan2 x.im x.re) y.im)
3.0ms
(* (atan2 x.im x.re) y.re)
5.0ms
(sin (+ (* (log (neg x.re)) y.im) (* (atan2 x.im x.re) y.re)))

series65.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (log (neg x.re)) y.re)
6.0ms
(* (atan2 x.im x.re) y.im)
6.0ms
(* (atan2 x.im x.re) y.re)
38.0ms
(sin (+ (* (log (neg x.re)) y.im) (* (atan2 x.im x.re) y.re)))

simplify65.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
04924566
14924566

prune123.0ms

Filtered
50 candidates to 75 candidates (-50.0%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New69675
Fresh123
Picked011
Done022
Total701181

Merged error: 9.8b

Counts
81 → 11

localize24.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y.re)
0.7b
(* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re)))
0.9b
(* (atan2 x.im x.re) y.im)
18.4b
(sin (+ (* (log (neg x.re)) y.im) (* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 add-exp-log add-sqr-sqrt
add-cbrt-cube
add-cube-cbrt *-un-lft-identity
associate-*l*
associate-*r* pow-prod-down prod-exp cbrt-unprod add-log-exp
cbrt-prod
*-commutative unswap-sqr
sin-sum pow1/3
Counts
4 → 56
Calls
4 calls:
1.0ms
(cbrt y.re)
7.0ms
(* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re)))
3.0ms
(* (atan2 x.im x.re) y.im)
7.0ms
(sin (+ (* (log (neg x.re)) y.im) (* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))))

series97.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(cbrt y.re)
28.0ms
(* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re)))
6.0ms
(* (atan2 x.im x.re) y.im)
41.0ms
(sin (+ (* (log (neg x.re)) y.im) (* (* (atan2 x.im x.re) (* (cbrt y.re) (cbrt y.re))) (cbrt y.re))))

simplify75.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
05359526

prune78.0ms

Filtered
46 candidates to 68 candidates (-47.8%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New66268
Fresh077
Picked101
Done033
Total671279

Merged error: 9.8b

Counts
79 → 12

regimes757.0ms

Accuracy

78.1% (4.5b remaining)

Error of 17.3b against oracle of 12.8b and baseline of 33.5b

bsearch176.0ms

Steps
ItersRangePoint
7
-7.036436276718186e-307
7.528892925760773e-309
3.9364112129988e-310
10
-493.3232908439566
-4.368127075019549e-09
-0.86023829955213

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08194
18194

end0.0ms

sample4.3s

Algorithm
intervals
Results
1.7s2122×body1280invalid
929.0ms7585×body80valid
684.0ms1283×body640invalid
186.0ms499×body320invalid
82.0ms157×body640valid
80.0ms106×body1280valid
79.0ms44×body2560invalid
50.0ms380×body80invalid
39.0ms99×body320valid
37.0ms150×body160invalid
13.0ms53×body160valid

Profiling

Loading profile data...