Details

Time bar (total: 2.9s)

analyze546.0ms

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
0%99.8%0.2%6
0%99.8%0.2%7
6.2%93.6%0.2%8
25%74.9%0.2%9
28.1%71.7%0.2%10
29.6%70.2%0.2%11
53%46.8%0.2%12
71.3%28.5%0.2%13
71.7%28.1%0.2%14

sample22.0ms

Algorithm
intervals
Results
11.0ms256×body80valid
0.0msbody80invalid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
01515
11515

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.7b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))
0.2b
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
29.2b
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
times-frac_binary64
add-log-exp_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
flip3-+_binary64 flip-+_binary64
associate-/r*_binary64 pow1_binary64 associate-/l*_binary64
associate-/l/_binary64 associate-/r/_binary64 +-commutative_binary64 sum-log_binary64
cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64
Counts
3 → 53
Calls
3 calls:
4.0ms
(+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))
4.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
9.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

series53.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))
12.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
33.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

simplify51.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
05334951

prune94.0ms

Filtered
48 candidates to 62 candidates (-29.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New54862
Fresh000
Picked011
Done000
Total54963

Merged error: 28.9b

Counts
63 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
19.7b
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))))
30.6b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
30.6b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64
21×*-un-lft-identity_binary64 add-cube-cbrt_binary64
18×times-frac_binary64 sqrt-prod_binary64
associate-/r*_binary64 add-log-exp_binary64 pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-div_binary64
flip3-+_binary64 flip-+_binary64
associate-/l*_binary64
associate-/l/_binary64 pow1/2_binary64 associate-/r/_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64
cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 +-commutative_binary64 sum-log_binary64
Counts
4 → 84
Calls
4 calls:
4.0ms
(+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im))
10.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))))
4.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
6.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

series70.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
055031525

prune117.0ms

Filtered
76 candidates to 96 candidates (-26.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New91596
Fresh257
Picked101
Done011
Total9411105

Merged error: 24.9b

Counts
105 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.4b
(/.f64 1 (/.f64 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))) (+.f64 (*.f64 y.re x.re) (*.f64 y.im x.im))))
19.7b
(/.f64 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))) (+.f64 (*.f64 y.re x.re) (*.f64 y.im x.im)))
30.6b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
30.6b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
162×times-frac_binary64
100×add-sqr-sqrt_binary64
98×*-un-lft-identity_binary64 add-cube-cbrt_binary64
54×sqrt-prod_binary64
27×associate-/r*_binary64
17×add-exp-log_binary64
11×add-cbrt-cube_binary64 associate-/r/_binary64
associate-/l*_binary64
flip3-+_binary64 div-exp_binary64 flip-+_binary64
pow1_binary64
div-inv_binary64 sqrt-div_binary64
add-log-exp_binary64 cbrt-undiv_binary64
associate-/l/_binary64 pow1/2_binary64 1-exp_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 rec-exp_binary64
inv-pow_binary64 pow-flip_binary64
Counts
4 → 193
Calls
4 calls:
13.0ms
(/.f64 1 (/.f64 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))) (+.f64 (*.f64 y.re x.re) (*.f64 y.im x.im))))
10.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))) (+.f64 (*.f64 y.re x.re) (*.f64 y.im x.im)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

series80.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(/.f64 1 (/.f64 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))) (+.f64 (*.f64 y.re x.re) (*.f64 y.im x.im))))
32.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))) (+.f64 (*.f64 y.re x.re) (*.f64 y.im x.im)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
8.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

simplify76.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049624856
149624856

prune155.0ms

Filtered
123 candidates to 205 candidates (-66.7%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New2050205
Fresh099
Picked011
Done011
Total20511216

Merged error: 24.9b

Counts
216 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))) (/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))))
19.7b
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))))
30.6b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
30.6b
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
95×add-sqr-sqrt_binary64
76×times-frac_binary64
53×*-un-lft-identity_binary64
47×add-cube-cbrt_binary64 sqrt-prod_binary64
28×add-exp-log_binary64
24×associate-*r*_binary64 associate-*l*_binary64
18×add-cbrt-cube_binary64
15×unswap-sqr_binary64
10×sqrt-div_binary64
div-exp_binary64
pow1_binary64 prod-exp_binary64
flip3-+_binary64 associate-/r*_binary64 associate-/r/_binary64 flip-+_binary64
cbrt-undiv_binary64
add-log-exp_binary64 cbrt-unprod_binary64
associate-/l*_binary64 div-inv_binary64
associate-/l/_binary64 pow1/2_binary64 1-exp_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 rec-exp_binary64
pow-prod-down_binary64 associate-*r/_binary64 clear-num_binary64 frac-2neg_binary64 frac-times_binary64 associate-*l/_binary64 *-commutative_binary64
Counts
4 → 160
Calls
4 calls:
27.0ms
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))) (/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))))
13.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))))
4.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

series99.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))) (/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))))
47.0ms
(/.f64 (+.f64 (*.f64 x.re y.re) (*.f64 x.im y.im)) (sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im))))
7.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))
8.0ms
(sqrt.f64 (+.f64 (*.f64 y.re y.re) (*.f64 y.im y.im)))

simplify67.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049893794
149893794

prune115.0ms

Filtered
116 candidates to 172 candidates (-48.3%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1702172
Fresh178
Picked011
Done022
Total17112183

Merged error: 24.9b

Counts
183 → 12

regimes503.0ms

Accuracy

28.4% (2.2b remaining)

Error of 25.4b against oracle of 23.2b and baseline of 26.3b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02983
12983

end0.0ms

sample597.0ms

Algorithm
intervals
Results
357.0ms8000×body80valid
22.0ms496×body80invalid

Profiling

Loading profile data...