Details

Time bar (total: 13.8s)

analyze1.8s (12.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
0%99.9%0.1%7
25%74.9%0.1%8
54.6%45.2%0.1%9
56.2%43.7%0.1%10
62.4%37.4%0.1%11
65.9%33.9%0.1%12
66.3%33.5%0.1%13
69%30.8%0.1%14
Compiler

Compiled 20 to 15 computations (25% saved)

sample8.0s (58.1%)

Results
6.1s4722×body1024valid
1.2s1481×body512valid
366.0ms1508×body128valid
267.0ms530×body256valid
36.0ms15×body2048valid
Compiler

Compiled 59 to 44 computations (25.4% saved)

simplify45.0ms (0.3%)

Algorithm
egg-herbie
Rules
389×associate-*l*_binary64
330×sqr-pow_binary64
320×*-commutative_binary64
275×associate-/r/_binary64
269×associate-*r*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01426
12618
25118
37918
416018
545018
6170218
7304818
8389618
9414918
10448818
11497818
Stop Event
node limit
Counts
1 → 2

prune4.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
1.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
4.1b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (sin.f64 th))
2.0b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
Compiler

Compiled 96 to 63 computations (34.4% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
0.2b
(*.f64 (sin.f64 ky) (sin.f64 th))
2.0b
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))

series188.0ms (1.4%)

Counts
3 → 84
Calls

3 calls:

155.0ms
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
24.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
8.0ms
(*.f64 (sin.f64 ky) (sin.f64 th))

rewrite61.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
373×prod-diff_binary64
202×expm1-udef_binary64
202×log1p-udef_binary64
183×log-pow_binary64
149×fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01034
121034
2291334
Stop Event
node limit
Counts
3 → 82
Calls

3 calls:

60.0ms
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
60.0ms
(*.f64 (sin.f64 ky) (sin.f64 th))
60.0ms
(/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))

simplify53.0ms (0.4%)

Algorithm
egg-herbie
Rules
730×fma-def_binary64
504×cancel-sign-sub-inv_binary64
213×associate-/r/_binary64
186×fma-neg_binary64
168×distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01952472
16372312
223952085
Stop Event
node limit
Counts
166 → 139

prune129.0ms (0.9%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1327139
Fresh101
Picked101
Done000
Total1347141
Error
0b
Counts
141 → 7
Alt Table
StatusErrorProgram
0.3b
(*.f64 (/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th))) 1)
5.1b
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (*.f64 (sin.f64 th) (sin.f64 ky)))
0.4b
(*.f64 (sin.f64 ky) (/.f64 1 (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th))))
2.3b
(*.f64 (/.f64 1 (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (/.f64 (*.f64 (sin.f64 ky) (sin.f64 th)) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))))
0.6b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (/.f64 (sin.f64 th) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))))
0.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
2.0b
(/.f64 (log1p.f64 (expm1.f64 (*.f64 (sin.f64 ky) (sin.f64 th)))) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
Compiler

Compiled 3504 to 1520 computations (56.6% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
0.1b
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
0.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))

series245.0ms (1.8%)

Counts
2 → 60
Calls

2 calls:

149.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
95.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))

rewrite49.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
525×log-prod_binary64
191×expm1-udef_binary64
191×log1p-udef_binary64
178×log-pow_binary64
169×prod-diff_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
120331
2262331
Stop Event
node limit
Counts
2 → 66
Calls

2 calls:

47.0ms
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
47.0ms
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))

simplify56.0ms (0.4%)

Algorithm
egg-herbie
Rules
892×times-frac_binary64
675×fma-def_binary64
333×cancel-sign-sub-inv_binary64
154×sub-neg_binary64
131×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01832390
15922374
222432361
Stop Event
node limit
Counts
126 → 107

prune122.0ms (0.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1402142
Fresh336
Picked011
Done000
Total1436149
Error
0b
Counts
149 → 6
Alt Table
StatusErrorProgram
0.6b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (/.f64 (sin.f64 th) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))))
0.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
2.0b
(/.f64 (log1p.f64 (expm1.f64 (*.f64 (sin.f64 ky) (sin.f64 th)))) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
5.1b
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (*.f64 (sin.f64 th) (sin.f64 ky)))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
0.3b
(/.f64 (sin.f64 ky) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 th)))
Compiler

Compiled 3893 to 1831 computations (53% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
0.1b
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))

series202.0ms (1.5%)

Counts
2 → 60
Calls

2 calls:

154.0ms
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
48.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))

rewrite51.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
571×log-prod_binary64
197×expm1-udef_binary64
197×log1p-udef_binary64
183×log-pow_binary64
171×prod-diff_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01031
120931
2286031
Stop Event
node limit
Counts
2 → 82
Calls

2 calls:

49.0ms
(/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky))
49.0ms
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))

simplify54.0ms (0.4%)

Algorithm
egg-herbie
Rules
852×times-frac_binary64
764×fma-def_binary64
346×cancel-sign-sub-inv_binary64
138×sub-neg_binary64
127×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01912346
16042158
222832150
Stop Event
node limit
Counts
142 → 123

prune142.0ms (1%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1571158
Fresh134
Picked011
Done011
Total1586164
Error
0b
Counts
164 → 6
Alt Table
StatusErrorProgram
0.6b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (/.f64 (sin.f64 th) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))))
0.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
2.0b
(/.f64 (log1p.f64 (expm1.f64 (*.f64 (sin.f64 ky) (sin.f64 th)))) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
0.2b
(/.f64 (sin.f64 th) (pow.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) -1))
5.1b
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (*.f64 (sin.f64 th) (sin.f64 ky)))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
Compiler

Compiled 4179 to 1825 computations (56.3% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 (sin.f64 ky) (sin.f64 kx))
0.1b
(/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
0.2b
(pow.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) -1)
0.2b
(/.f64 (sin.f64 th) (pow.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) -1))

series328.0ms (2.4%)

Counts
2 → 60
Calls

2 calls:

175.0ms
(pow.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) -1)
153.0ms
(/.f64 (sin.f64 th) (pow.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) -1))

rewrite66.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
602×log-prod_binary64
222×expm1-udef_binary64
222×log1p-udef_binary64
207×log-pow_binary64
174×prod-diff_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01237
124931
2320431
Stop Event
node limit
Counts
2 → 82
Calls

2 calls:

65.0ms
(pow.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) -1)
65.0ms
(/.f64 (sin.f64 th) (pow.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) -1))

simplify50.0ms (0.4%)

Algorithm
egg-herbie
Rules
852×times-frac_binary64
764×fma-def_binary64
346×cancel-sign-sub-inv_binary64
138×sub-neg_binary64
127×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01912346
16042158
222832150
Stop Event
node limit
Counts
142 → 123

prune178.0ms (1.3%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2110211
Fresh033
Picked011
Done022
Total2116217
Error
0b
Counts
217 → 6
Alt Table
StatusErrorProgram
0.6b
(*.f64 (/.f64 (sin.f64 ky) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))) (/.f64 (sin.f64 th) (sqrt.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)))))
0.2b
(*.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) (sin.f64 th))
2.0b
(/.f64 (log1p.f64 (expm1.f64 (*.f64 (sin.f64 ky) (sin.f64 th)))) (hypot.f64 (sin.f64 ky) (sin.f64 kx)))
0.2b
(/.f64 (sin.f64 th) (pow.f64 (/.f64 (sin.f64 ky) (hypot.f64 (sin.f64 ky) (sin.f64 kx))) -1))
5.1b
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (pow.f64 (sin.f64 kx) 2) (pow.f64 (sin.f64 ky) 2)))) (*.f64 (sin.f64 th) (sin.f64 ky)))
0.2b
(/.f64 (sin.f64 th) (/.f64 (hypot.f64 (sin.f64 ky) (sin.f64 kx)) (sin.f64 ky)))
Compiler

Compiled 5617 to 2535 computations (54.9% saved)

regimes1.8s (13.3%)

Accuracy

Total 0.2b remaining (81.7%)

Threshold costs 0.2b (81.7%)

Counts
178 → 1
Compiler

Compiled 28282 to 19629 computations (30.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01018
11118
Stop Event
saturated

end105.0ms (0.8%)

Compiler

Compiled 131 to 85 computations (35.1% saved)

Profiling

Loading profile data...