Details

Time bar (total: 4.3s)

analyze276.0ms (6.5%)

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
12.5%87.4%0.1%5
31.2%68.7%0.1%6
46.8%53.1%0.1%7
60.9%39%0.1%8
67.9%31.2%0.9%9
74.5%22.2%3.2%10
77.9%17.2%5%11
81.1%11.8%7.1%12
82.7%9%8.3%13
84.3%6.1%9.7%14
Compiler

Compiled 14 to 10 computations (28.6% saved)

sample1.6s (37%)

Results
1.4s8256×body128valid
43.0ms257×body128invalid
Compiler

Compiled 41 to 29 computations (29.3% saved)

simplify119.0ms (2.8%)

Algorithm
egg-herbie
Rules
1151×distribute-rgt-in_binary64
1143×distribute-lft-in_binary64
971×fma-def_binary64
653×associate-/l*_binary64
535×associate-/l/_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0916
12214
23014
37514
411214
522214
640614
741914
878314
993714
10125914
11161114
12177814
13201514
14293914
15324514
16507514

prune6.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
11.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
11.1b
(/.f64 (fma.f64 x (/.f64 x y) x) (+.f64 x 1))
11.1b
(/.f64 (*.f64 x (+.f64 (/.f64 x y) 1)) (+.f64 x 1))
Compiler

Compiled 73 to 45 computations (38.4% saved)

localize11.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 x y) 1)
0.1b
(*.f64 x (+.f64 (/.f64 x y) 1))
10.3b
(/.f64 (*.f64 x (+.f64 (/.f64 x y) 1)) (+.f64 x 1))

series47.0ms (1.1%)

Counts
3 → 63
Calls

3 calls:

21.0ms
(*.f64 x (+.f64 (/.f64 x y) 1))
19.0ms
(/.f64 (*.f64 x (+.f64 (/.f64 x y) 1)) (+.f64 x 1))
7.0ms
(+.f64 (/.f64 x y) 1)

rewrite203.0ms (4.8%)

Algorithm
batch-egg-rewrite
Rules
488×prod-diff_binary64
356×fma-udef_binary64
282×fma-def_binary64
270×fma-neg_binary64
185×log1p-udef_binary64
Counts
3 → 141
Calls

3 calls:

199.0ms
(+.f64 (/.f64 x y) 1)
199.0ms
(*.f64 x (+.f64 (/.f64 x y) 1))
199.0ms
(/.f64 (*.f64 x (+.f64 (/.f64 x y) 1)) (+.f64 x 1))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0933
120929
2296429
3480829
4483829
5497829
6496129
000
100

simplify137.0ms (3.2%)

Algorithm
egg-herbie
Rules
829×fma-def_binary64
530×associate-+l-_binary64
372×cancel-sign-sub-inv_binary64
370×associate--r+_binary64
317×sub-neg_binary64
Counts
204 → 167
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
047789
1130785
2408727
31548663
44387663
54864663
64963663

prune252.0ms (5.9%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1616167
Fresh011
Picked101
Done000
Total1627169
Error
0b
Counts
169 → 7
Alt Table
StatusErrorProgram
11.1b
(/.f64 (fma.f64 x (/.f64 x y) x) (+.f64 x 1))
0.1b
(*.f64 (+.f64 (/.f64 x y) 1) (*.f64 x (/.f64 1 (+.f64 x 1))))
14.3b
(+.f64 (/.f64 (pow.f64 x 2) (*.f64 (+.f64 1 x) y)) (/.f64 x (+.f64 1 x)))
47.2b
(/.f64 (*.f64 x x) (fma.f64 x y y))
33.4b
(pow.f64 (sqrt.f64 (/.f64 (fma.f64 x (/.f64 x y) x) (+.f64 x 1))) 2)
0.1b
(*.f64 (/.f64 x (+.f64 x 1)) (+.f64 (/.f64 x y) 1))
0.2b
(*.f64 x (/.f64 1 (/.f64 (+.f64 x 1) (+.f64 (/.f64 x y) 1))))
Compiler

Compiled 2874 to 1458 computations (49.3% saved)

localize11.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 x y) 1)
0.0b
(/.f64 x (+.f64 x 1))
0.1b
(*.f64 (/.f64 x (+.f64 x 1)) (+.f64 (/.f64 x y) 1))

series27.0ms (0.6%)

Counts
2 → 36
Calls

2 calls:

23.0ms
(*.f64 (/.f64 x (+.f64 x 1)) (+.f64 (/.f64 x y) 1))
4.0ms
(/.f64 x (+.f64 x 1))

rewrite93.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
778×prod-diff_binary64
183×log1p-udef_binary64
181×expm1-udef_binary64
106×add-sqr-sqrt_binary64
102×log1p-expm1-u_binary64
Counts
2 → 86
Calls

2 calls:

89.0ms
(/.f64 x (+.f64 x 1))
89.0ms
(*.f64 (/.f64 x (+.f64 x 1)) (+.f64 (/.f64 x y) 1))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0923
120923
2296123
3506323
000
100

simplify139.0ms (3.2%)

Algorithm
egg-herbie
Rules
608×associate-+l-_binary64
485×cancel-sign-sub-inv_binary64
388×associate--r+_binary64
382×sub-neg_binary64
296×fma-neg_binary64
Counts
122 → 118
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
057645
1161639
2499574
31792566
44533566
54757566
65003566

prune231.0ms (5.4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1672169
Fresh246
Picked101
Done000
Total1706176
Error
0b
Counts
176 → 6
Alt Table
StatusErrorProgram
0.1b
(/.f64 (+.f64 1 (/.f64 x y)) (/.f64 (+.f64 x 1) x))
14.3b
(+.f64 (/.f64 (pow.f64 x 2) (*.f64 (+.f64 1 x) y)) (/.f64 x (+.f64 1 x)))
47.2b
(/.f64 (*.f64 x x) (fma.f64 x y y))
0.1b
(/.f64 x (/.f64 (+.f64 x 1) (+.f64 1 (/.f64 x y))))
33.4b
(pow.f64 (sqrt.f64 (/.f64 (fma.f64 x (/.f64 x y) x) (+.f64 x 1))) 2)
0.1b
(*.f64 (+.f64 (/.f64 x y) 1) (*.f64 x (/.f64 1 (+.f64 x 1))))
Compiler

Compiled 3027 to 1789 computations (40.9% saved)

localize12.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series57.0ms (1.3%)

Counts
3 → 63
Calls

3 calls:

28.0ms
(/.f64 (+.f64 x 1) (+.f64 1 (/.f64 x y)))
21.0ms
(/.f64 x (/.f64 (+.f64 x 1) (+.f64 1 (/.f64 x y))))
8.0ms
(+.f64 1 (/.f64 x y))

rewrite178.0ms (4.2%)

Algorithm
batch-egg-rewrite
Rules
418×prod-diff_binary64
368×fma-udef_binary64
339×fma-def_binary64
238×fma-neg_binary64
188×log1p-udef_binary64
Counts
3 → 145
Calls

3 calls:

173.0ms
(+.f64 1 (/.f64 x y))
173.0ms
(/.f64 x (/.f64 (+.f64 x 1) (+.f64 1 (/.f64 x y))))
173.0ms
(/.f64 (+.f64 x 1) (+.f64 1 (/.f64 x y)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0936
120936
2304636
3485736
4487036
5513036
000
100

simplify92.0ms (2.2%)

Algorithm
egg-herbie
Rules
934×fma-neg_binary64
653×associate--l+_binary64
501×associate-+l+_binary64
452×associate--r+_binary64
283×fma-def_binary64
Counts
208 → 193
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0971356
12821352
210361234
348901218
457751218

prune220.0ms (5.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1921193
Fresh325
Picked011
Done000
Total1954199
Error
0b
Counts
199 → 4
Alt Table
StatusErrorProgram
0.1b
(/.f64 (+.f64 1 (/.f64 x y)) (/.f64 (+.f64 x 1) x))
14.3b
(+.f64 (/.f64 (pow.f64 x 2) (*.f64 (+.f64 1 x) y)) (/.f64 x (+.f64 1 x)))
0.1b
(/.f64 x (/.f64 (+.f64 x 1) (+.f64 1 (/.f64 x y))))
38.6b
(/.f64 x (-.f64 (+.f64 (/.f64 y x) y) (/.f64 (pow.f64 y 2) x)))
Compiler

Compiled 3676 to 2075 computations (43.6% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series15.0ms (0.4%)

Counts
2 → 36
Calls

2 calls:

13.0ms
(/.f64 (+.f64 1 (/.f64 x y)) (/.f64 (+.f64 x 1) x))
2.0ms
(/.f64 (+.f64 x 1) x)

rewrite144.0ms (3.4%)

Algorithm
batch-egg-rewrite
Rules
418×prod-diff_binary64
368×fma-udef_binary64
322×fma-def_binary64
236×fma-neg_binary64
188×log1p-udef_binary64
Counts
2 → 76
Calls

2 calls:

143.0ms
(/.f64 (+.f64 x 1) x)
143.0ms
(/.f64 (+.f64 1 (/.f64 x y)) (/.f64 (+.f64 x 1) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0923
120923
2304323
3485823
4487123
5506823
000
100

simplify84.0ms (2%)

Algorithm
egg-herbie
Rules
829×fma-def_binary64
530×associate-+l-_binary64
372×cancel-sign-sub-inv_binary64
370×associate--r+_binary64
317×sub-neg_binary64
Counts
112 → 99
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
048576
1132572
2410514
31550486
44389486
54866486
64965486

prune96.0ms (2.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1470147
Fresh022
Picked011
Done011
Total1474151
Error
0b
Counts
151 → 4
Alt Table
StatusErrorProgram
0.1b
(/.f64 (+.f64 1 (/.f64 x y)) (/.f64 (+.f64 x 1) x))
14.3b
(+.f64 (/.f64 (pow.f64 x 2) (*.f64 (+.f64 1 x) y)) (/.f64 x (+.f64 1 x)))
0.1b
(/.f64 x (/.f64 (+.f64 x 1) (+.f64 1 (/.f64 x y))))
38.6b
(/.f64 x (-.f64 (+.f64 (/.f64 y x) y) (/.f64 (pow.f64 y 2) x)))
Compiler

Compiled 2461 to 1469 computations (40.3% saved)

regimes169.0ms (4%)

Accuracy

Total 0.0b remaining (71%)

Threshold costs 0.0b (71%)

Counts
62 → 1
Compiler

Compiled 2426 to 1631 computations (32.8% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
11416
21316

end61.0ms (1.4%)

Compiler

Compiled 84 to 57 computations (32.1% saved)

Profiling

Loading profile data...