Details

Time bar (total: 3.5s)

analyze193.0ms (5.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.2s (35.6%)

Results
1.1s8256×body128valid
25.0ms276×body128invalid
Compiler

Compiled 41 to 29 computations (29.3% saved)

simplify83.0ms (2.4%)

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

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
9.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
9.6b
(/.f64 (fma.f64 x (/.f64 x y) x) (+.f64 x 1))
Compiler

Compiled 47 to 27 computations (42.6% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series28.0ms (0.8%)

Counts
2 → 48
Calls

2 calls:

20.0ms
(/.f64 (fma.f64 x (/.f64 x y) x) (+.f64 x 1))
7.0ms
(fma.f64 x (/.f64 x y) x)

rewrite88.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
447×log-prod_binary64
385×prod-diff_binary64
164×pow1/3_binary64
158×log1p-udef_binary64
157×expm1-udef_binary64
Counts
2 → 71
Calls

2 calls:

87.0ms
(fma.f64 x (/.f64 x y) x)
87.0ms
(/.f64 (fma.f64 x (/.f64 x y) x) (+.f64 x 1))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0822
117522
2233622
3487622
4532622
000
100

simplify80.0ms (2.3%)

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
119 → 95
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
047711
1130707
2408649
31548585
44387585
54864585
64963585

prune85.0ms (2.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New92395
Fresh000
Picked011
Done000
Total92496
Error
0.0b
Counts
96 → 4
Alt Table
StatusErrorProgram
13.8b
(+.f64 (/.f64 (pow.f64 x 2) (*.f64 (+.f64 1 x) y)) (/.f64 x (+.f64 1 x)))
9.6b
(/.f64 (fma.f64 x (/.f64 x y) x) (+.f64 x 1))
39.7b
(-.f64 (+.f64 1 (/.f64 x y)) (/.f64 1 y))
10.7b
(/.f64 (*.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) (pow.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) 2)) (+.f64 x 1))
Compiler

Compiled 1626 to 738 computations (54.6% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) (pow.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) 2))
0.5b
(pow.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) 2)
8.9b
(/.f64 (*.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) (pow.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) 2)) (+.f64 x 1))
9.6b
(cbrt.f64 (fma.f64 x (/.f64 x y) x))

series73.0ms (2.1%)

Counts
4 → 96
Calls

4 calls:

28.0ms
(pow.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) 2)
22.0ms
(cbrt.f64 (fma.f64 x (/.f64 x y) x))
12.0ms
(/.f64 (*.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) (pow.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) 2)) (+.f64 x 1))
9.0ms
(*.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) (pow.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) 2))

rewrite76.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
557×log-prod_binary64
214×prod-diff_binary64
196×log1p-udef_binary64
195×expm1-udef_binary64
173×log-pow_binary64
Counts
4 → 137
Calls

4 calls:

73.0ms
(*.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) (pow.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) 2))
73.0ms
(pow.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) 2)
73.0ms
(/.f64 (*.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) (pow.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) 2)) (+.f64 x 1))
73.0ms
(cbrt.f64 (fma.f64 x (/.f64 x y) x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01245
124045
2292645
3549945
000
100

simplify78.0ms (2.2%)

Algorithm
egg-herbie
Rules
1022×times-frac_binary64
631×associate-/l*_binary64
509×fma-def_binary64
182×cancel-sign-sub-inv_binary64
163×associate-/r/_binary64
Counts
233 → 216
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01993237
16392935
218362647
351322647

prune174.0ms (5%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2692271
Fresh112
Picked011
Done011
Total2705275
Error
0.0b
Counts
275 → 5
Alt Table
StatusErrorProgram
0.1b
(*.f64 (+.f64 1 (/.f64 x y)) (/.f64 x (+.f64 x 1)))
13.8b
(+.f64 (/.f64 (pow.f64 x 2) (*.f64 (+.f64 1 x) y)) (/.f64 x (+.f64 1 x)))
9.6b
(/.f64 (fma.f64 x (/.f64 x y) x) (+.f64 x 1))
10.7b
(/.f64 (*.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) (pow.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) 2)) (+.f64 x 1))
31.3b
(/.f64 (fma.f64 (*.f64 x (sqrt.f64 (/.f64 x y))) (sqrt.f64 (/.f64 x y)) x) (+.f64 x 1))
Compiler

Compiled 8171 to 4066 computations (50.2% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series14.0ms (0.4%)

Counts
2 → 39
Calls

2 calls:

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

rewrite105.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
511×prod-diff_binary64
339×fma-def_binary64
182×log1p-udef_binary64
181×expm1-udef_binary64
161×fma-neg_binary64
Counts
2 → 132
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0923
120323
2283823
3485523
4511723
000
100

simplify78.0ms (2.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
171 → 154
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
048585
1130581
2408523
31548495
44387495
54864495
64963495

prune138.0ms (4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1531154
Fresh112
Picked011
Done112
Total1554159
Error
0b
Counts
159 → 4
Alt Table
StatusErrorProgram
13.8b
(+.f64 (/.f64 (pow.f64 x 2) (*.f64 (+.f64 1 x) y)) (/.f64 x (+.f64 1 x)))
13.6b
(/.f64 (*.f64 (-.f64 1 (pow.f64 (/.f64 x y) 2)) x) (*.f64 (-.f64 1 (/.f64 x y)) (+.f64 1 x)))
0.1b
(*.f64 (+.f64 1 (/.f64 x y)) (/.f64 x (+.f64 x 1)))
10.7b
(/.f64 (*.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) (pow.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) 2)) (+.f64 x 1))
Compiler

Compiled 2824 to 1619 computations (42.7% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (-.f64 1 (/.f64 x y)) (+.f64 1 x))
0.2b
(pow.f64 (/.f64 x y) 2)
0.8b
(*.f64 (-.f64 1 (pow.f64 (/.f64 x y) 2)) x)
12.3b
(/.f64 (*.f64 (-.f64 1 (pow.f64 (/.f64 x y) 2)) x) (*.f64 (-.f64 1 (/.f64 x y)) (+.f64 1 x)))

series179.0ms (5.1%)

Counts
4 → 96
Calls

4 calls:

134.0ms
(*.f64 (-.f64 1 (pow.f64 (/.f64 x y) 2)) x)
26.0ms
(/.f64 (*.f64 (-.f64 1 (pow.f64 (/.f64 x y) 2)) x) (*.f64 (-.f64 1 (/.f64 x y)) (+.f64 1 x)))
12.0ms
(pow.f64 (/.f64 x y) 2)
6.0ms
(*.f64 (-.f64 1 (/.f64 x y)) (+.f64 1 x))

rewrite92.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
264×expm1-udef_binary64
262×log1p-udef_binary64
161×egg-rr
151×add-sqr-sqrt_binary64
147×log1p-expm1-u_binary64
Counts
4 → 161
Calls

4 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01361
130549
2434049
3505149
000
100

simplify86.0ms (2.5%)

Algorithm
egg-herbie
Rules
535×associate-/l*_binary64
485×associate-/r*_binary64
468×fma-def_binary64
190×associate-*r*_binary64
182×fma-neg_binary64
Counts
257 → 206
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01172096
13662092
214121994
348881994
449941994

prune171.0ms (4.9%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2060206
Fresh011
Picked011
Done022
Total2064210
Error
0b
Counts
210 → 4
Alt Table
StatusErrorProgram
13.8b
(+.f64 (/.f64 (pow.f64 x 2) (*.f64 (+.f64 1 x) y)) (/.f64 x (+.f64 1 x)))
13.6b
(/.f64 (*.f64 (-.f64 1 (pow.f64 (/.f64 x y) 2)) x) (*.f64 (-.f64 1 (/.f64 x y)) (+.f64 1 x)))
0.1b
(*.f64 (+.f64 1 (/.f64 x y)) (/.f64 x (+.f64 x 1)))
10.7b
(/.f64 (*.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) (pow.f64 (cbrt.f64 (fma.f64 x (/.f64 x y) x)) 2)) (+.f64 x 1))
Compiler

Compiled 5352 to 3239 computations (39.5% saved)

regimes287.0ms (8.2%)

Accuracy

Total 0.0b remaining (68.4%)

Threshold costs 0.0b (68.4%)

Counts
84 → 1
Compiler

Compiled 4073 to 2687 computations (34% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0820
11120
21020

end98.0ms (2.8%)

Compiler

Compiled 106 to 66 computations (37.7% saved)

Profiling

Loading profile data...