Details

Time bar (total: 4.1s)

analyze56.0ms (1.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
25%74.9%0.1%3
25%74.9%0.1%4
56.2%43.7%0.1%5
65.6%34.3%0.1%6
79.6%20.3%0.1%7
83.5%16.4%0.1%8
90.1%9.8%0.1%9
91.9%8%0.1%10
95.1%4.8%0.1%11
96%4%0.1%12
97.5%2.4%0.1%13
97.9%2%0.1%14
Compiler

Compiled 12 to 8 computations (33.3% saved)

sample1.1s (25.6%)

Results
750.0ms8256×body128valid
Compiler

Compiled 35 to 23 computations (34.3% saved)

simplify272.0ms (6.6%)

Algorithm
egg-herbie
Rules
1222×fma-neg_binary64
983×fma-def_binary64
688×div-sub_binary64
423×sub-neg_binary64
412×distribute-rgt-in_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
11813
23513
37413
415113
524513
664113
7112513
8215813
9272913
10303713
11299513
12304913
13306313
14356913
15355913
16355913
17355913
18355913
19355913
20365513
21370313
22378513
23359313

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))
Compiler

Compiled 33 to 21 computations (36.4% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))

series16.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

16.0ms
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))

rewrite132.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
843×prod-diff_binary64
233×egg-rr
189×log1p-udef_binary64
103×add-sqr-sqrt_binary64
100×log1p-expm1-u_binary64
Counts
1 → 233
Calls

1 calls:

120.0ms
(/.f64 (-.f64 x y) (-.f64 2 (+.f64 x y)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0813
119713
2293813
3497913
000
100

simplify71.0ms (1.7%)

Algorithm
egg-herbie
Rules
593×fma-def_binary64
491×times-frac_binary64
377×associate-/l*_binary64
363×fma-neg_binary64
349×associate-/r*_binary64
Counts
257 → 262
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01321038
14121030
21562918
34954918
45192918

prune305.0ms (7.4%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2584262
Fresh000
Picked101
Done000
Total2594263
Error
0b
Counts
263 → 4
Alt Table
StatusErrorProgram
29.2b
(*.f64 (/.f64 (-.f64 x y) (-.f64 4 (pow.f64 (+.f64 x y) 2))) (+.f64 2 (+.f64 x y)))
40.2b
(+.f64 (fma.f64 2 (/.f64 y x) -1) (/.f64 -2 x))
0.0b
(-.f64 (/.f64 x (-.f64 2 (+.f64 x y))) (/.f64 y (-.f64 2 (+.f64 x y))))
0.1b
(pow.f64 (/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y)) -1)
Compiler

Compiled 15341 to 8660 computations (43.5% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (-.f64 2 (+.f64 x y)))
0.0b
(-.f64 (/.f64 x (-.f64 2 (+.f64 x y))) (/.f64 y (-.f64 2 (+.f64 x y))))
0.0b
(/.f64 y (-.f64 2 (+.f64 x y)))

series50.0ms (1.2%)

Counts
3 → 72
Calls

3 calls:

22.0ms
(-.f64 (/.f64 x (-.f64 2 (+.f64 x y))) (/.f64 y (-.f64 2 (+.f64 x y))))
14.0ms
(/.f64 y (-.f64 2 (+.f64 x y)))
14.0ms
(/.f64 x (-.f64 2 (+.f64 x y)))

rewrite100.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
542×fma-def_binary64
278×fma-neg_binary64
227×egg-rr
221×expm1-udef_binary64
221×log1p-udef_binary64
Counts
3 → 227
Calls

3 calls:

94.0ms
(/.f64 x (-.f64 2 (+.f64 x y)))
94.0ms
(-.f64 (/.f64 x (-.f64 2 (+.f64 x y))) (/.f64 y (-.f64 2 (+.f64 x y))))
94.0ms
(/.f64 y (-.f64 2 (+.f64 x y)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0933
122933
2360133
3507633
000
100

simplify81.0ms (2%)

Algorithm
egg-herbie
Rules
820×times-frac_binary64
392×sub-neg_binary64
331×cancel-sign-sub-inv_binary64
226×associate-+r+_binary64
214×+-commutative_binary64
Counts
299 → 309
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02272940
17612912
229292846
350012846

prune244.0ms (6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3090309
Fresh033
Picked011
Done000
Total3094313
Error
0b
Counts
313 → 4
Alt Table
StatusErrorProgram
29.2b
(*.f64 (/.f64 (-.f64 x y) (-.f64 4 (pow.f64 (+.f64 x y) 2))) (+.f64 2 (+.f64 x y)))
40.2b
(+.f64 (fma.f64 2 (/.f64 y x) -1) (/.f64 -2 x))
0.0b
(-.f64 (/.f64 x (-.f64 2 (+.f64 x y))) (/.f64 y (-.f64 2 (+.f64 x y))))
0.1b
(pow.f64 (/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y)) -1)
Compiler

Compiled 9287 to 5123 computations (44.8% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y))
0.1b
(pow.f64 (/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y)) -1)

series68.0ms (1.6%)

Counts
2 → 48
Calls

2 calls:

52.0ms
(pow.f64 (/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y)) -1)
16.0ms
(/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y))

rewrite100.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
722×prod-diff_binary64
215×log1p-udef_binary64
170×egg-rr
121×add-sqr-sqrt_binary64
117×log1p-expm1-u_binary64
Counts
2 → 170
Calls

2 calls:

93.0ms
(/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y))
93.0ms
(pow.f64 (/.f64 (-.f64 2 (+.f64 x y)) (-.f64 x y)) -1)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01029
123826
2327726
3509526
000
100

simplify76.0ms (1.9%)

Algorithm
egg-herbie
Rules
500×cancel-sign-sub-inv_binary64
372×sub-neg_binary64
345×fma-def_binary64
268×times-frac_binary64
265×associate-+r+_binary64
Counts
218 → 227
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02762396
19552348
240062299
353282299

prune186.0ms (4.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2261227
Fresh112
Picked101
Done011
Total2283231
Error
0b
Counts
231 → 3
Alt Table
StatusErrorProgram
29.2b
(*.f64 (/.f64 (-.f64 x y) (-.f64 4 (pow.f64 (+.f64 x y) 2))) (+.f64 2 (+.f64 x y)))
0.1b
(pow.f64 (-.f64 (/.f64 (-.f64 2 x) (-.f64 x y)) (/.f64 y (-.f64 x y))) -1)
0.0b
(-.f64 (/.f64 x (-.f64 2 (+.f64 x y))) (/.f64 y (-.f64 2 (+.f64 x y))))
Compiler

Compiled 9843 to 4247 computations (56.9% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 y (-.f64 x y))
0.0b
(/.f64 (-.f64 2 x) (-.f64 x y))
0.0b
(-.f64 (/.f64 (-.f64 2 x) (-.f64 x y)) (/.f64 y (-.f64 x y)))
0.1b
(pow.f64 (-.f64 (/.f64 (-.f64 2 x) (-.f64 x y)) (/.f64 y (-.f64 x y))) -1)

series117.0ms (2.8%)

Counts
4 → 96
Calls

4 calls:

66.0ms
(pow.f64 (-.f64 (/.f64 (-.f64 2 x) (-.f64 x y)) (/.f64 y (-.f64 x y))) -1)
21.0ms
(-.f64 (/.f64 (-.f64 2 x) (-.f64 x y)) (/.f64 y (-.f64 x y)))
20.0ms
(/.f64 (-.f64 2 x) (-.f64 x y))
9.0ms
(/.f64 y (-.f64 x y))

rewrite102.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
365×fma-neg_binary64
253×expm1-udef_binary64
253×log1p-udef_binary64
191×egg-rr
140×add-sqr-sqrt_binary64
Counts
4 → 191
Calls

4 calls:

98.0ms
(/.f64 y (-.f64 x y))
98.0ms
(/.f64 (-.f64 2 x) (-.f64 x y))
98.0ms
(-.f64 (/.f64 (-.f64 2 x) (-.f64 x y)) (/.f64 y (-.f64 x y)))
98.0ms
(pow.f64 (-.f64 (/.f64 (-.f64 2 x) (-.f64 x y)) (/.f64 y (-.f64 x y))) -1)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01146
127146
2409446
3519246
000
100

simplify104.0ms (2.5%)

Algorithm
egg-herbie
Rules
363×fma-neg_binary64
358×fma-def_binary64
301×associate-+r+_binary64
293×+-commutative_binary64
284×times-frac_binary64
Counts
287 → 290
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03324068
111313993
249023990
351983990

prune253.0ms (6.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2900290
Fresh011
Picked011
Done011
Total2903293
Error
0b
Counts
293 → 3
Alt Table
StatusErrorProgram
29.2b
(*.f64 (/.f64 (-.f64 x y) (-.f64 4 (pow.f64 (+.f64 x y) 2))) (+.f64 2 (+.f64 x y)))
0.1b
(pow.f64 (-.f64 (/.f64 (-.f64 2 x) (-.f64 x y)) (/.f64 y (-.f64 x y))) -1)
0.0b
(-.f64 (/.f64 x (-.f64 2 (+.f64 x y))) (/.f64 y (-.f64 2 (+.f64 x y))))
Compiler

Compiled 8939 to 5212 computations (41.7% saved)

regimes591.0ms (14.4%)

Accuracy

Total 0.0b remaining (64.5%)

Threshold costs 0.0b (64.5%)

Counts
145 → 1
Compiler

Compiled 6910 to 4944 computations (28.5% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0922
11422
22722
33722
44322
54522
64522

end96.0ms (2.3%)

Compiler

Compiled 87 to 52 computations (40.2% saved)

Profiling

Loading profile data...