Details

Time bar (total: 7.5s)

analyze1.3s

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

sample139.0ms

Algorithm
intervals
Results
54.0ms72×body1280invalid
28.0ms244×body80valid
16.0ms33×body640invalid
10.0ms13×body320invalid
3.0msbody1280valid
2.0msbody640valid
2.0msbody2560invalid
2.0ms15×body80invalid
1.0msbody160invalid
1.0msbody320valid
0.0msbody160valid

simplify485.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
0493436
1493436

prune27.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: 34.7b

Counts
2 → 2

localize23.0ms

Local error

Found 4 expressions with local error:

1.6b
(*.f64 (atan2.f64 x.im x.re) y.re)
29.8b
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64
add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-prod_binary64
add-log-exp_binary64 sqrt-div_binary64
associate-*r*_binary64 associate-*l*_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 sin-sum_binary64 unswap-sqr_binary64 prod-exp_binary64 *-commutative_binary64
Counts
4 → 56
Calls
4 calls:
4.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
7.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

series97.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(*.f64 (atan2.f64 x.im x.re) y.re)
65.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
16.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify60.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04957686
14957686

prune108.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New60868
Fresh101
Picked101
Done000
Total62870

Merged error: 20.7b

Counts
70 → 8

localize27.0ms

Local error

Found 4 expressions with local error:

31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64 sqrt-prod_binary64
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64 sqrt-div_binary64
flip3-+_binary64 add-log-exp_binary64 pow1/2_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
Counts
4 → 60
Calls
4 calls:
4.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

series28.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify54.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04905656
14905656

prune102.0ms

Filtered
60 candidates to 72 candidates (-20.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New71172
Fresh077
Picked011
Done000
Total71980

Merged error: 20.7b

Counts
80 → 9

localize28.0ms

Local error

Found 4 expressions with local error:

31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64 sqrt-prod_binary64
*-un-lft-identity_binary64 pow1_binary64 add-cube-cbrt_binary64 sqrt-div_binary64
flip3-+_binary64 add-log-exp_binary64 pow1/2_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
Counts
4 → 60
Calls
4 calls:
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

series30.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
9.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify54.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04905656
14905656

prune97.0ms

Filtered
60 candidates to 72 candidates (-20.0%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh077
Picked011
Done011
Total72981

Merged error: 20.7b

Counts
81 → 9

localize24.0ms

Local error

Found 4 expressions with local error:

12.4b
(cbrt.f64 (pow.f64 (sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re))) 3))
29.8b
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
31.1b
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod_binary64
11×add-sqr-sqrt_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64
pow1_binary64 sqrt-prod_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-div_binary64
unpow-prod-down_binary64 cube-prod_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
rem-cbrt-cube_binary64 pow1/3_binary64 sin-sum_binary64 sqr-pow_binary64 unpow3_binary64 cube-mult_binary64
Counts
4 → 59
Calls
4 calls:
6.0ms
(cbrt.f64 (pow.f64 (sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re))) 3))
7.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

series125.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(cbrt.f64 (pow.f64 (sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re))) 3))
56.0ms
(sin.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))) y.im) (*.f64 (atan2.f64 x.im x.re) y.re)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 x.re x.re) (*.f64 x.im x.im)))

simplify48.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
053321128

prune70.0ms

Filtered
55 candidates to 71 candidates (-29.1%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New70171
Fresh066
Picked011
Done022
Total701080

Merged error: 20.7b

Counts
80 → 10

regimes381.0ms

Accuracy

72.7% (3.9b remaining)

Error of 22.9b against oracle of 18.9b and baseline of 33.3b

bsearch75.0ms

Steps
ItersRangePoint
7
-5.432686138407363e-292
-1.6876537305142705e-293
-1.712157975876638e-293

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07065
17065

end0.0ms

sample4.0s

Algorithm
intervals
Results
1.6s2104×body1280invalid
857.0ms7556×body80valid
631.0ms1242×body640invalid
164.0ms462×body320invalid
95.0ms129×body1280valid
81.0ms46×body2560invalid
74.0ms151×body640valid
48.0ms392×body80invalid
36.0ms162×body160invalid
35.0ms103×body320valid
14.0ms61×body160valid

Profiling

Loading profile data...