Details

Time bar (total: 2.3s)

analyze3.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%25%25%3
62.5%12.5%25%4
68.7%6.2%25%5
71.8%3.1%25%6
73.4%1.6%25%7
74.2%0.8%25%8
74.6%0.4%25%9
74.8%0.2%25%10
74.9%0.1%25%11
74.9%0%25%12
74.9%0%25%13
74.9%0%25%14
Compiler

Compiled 10 to 8 computations (20% saved)

sample816.0ms (35.6%)

Results
788.0ms8254×body128valid
1.0msbody2048valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify6.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11112
21012

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 27 to 21 computations (22.2% saved)

localize10.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 x 1))
0.0b
(+.f64 1 (sqrt.f64 (+.f64 x 1)))
0.2b
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))

series37.0ms (1.6%)

Counts
3 → 12
Calls

3 calls:

26.0ms
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
5.0ms
(+.f64 1 (sqrt.f64 (+.f64 x 1)))
5.0ms
(sqrt.f64 (+.f64 x 1))

rewrite64.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
804×log1p-expm1-u_binary64
804×expm1-log1p-u_binary64
424×prod-diff_binary64
96×egg-rr
76×add-sqr-sqrt_binary64
Counts
3 → 96
Calls

3 calls:

62.0ms
(sqrt.f64 (+.f64 x 1))
62.0ms
(+.f64 1 (sqrt.f64 (+.f64 x 1)))
62.0ms
(/.f64 x (+.f64 1 (sqrt.f64 (+.f64 x 1))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0727
115627
2201527
3566627
000
100

simplify76.0ms (3.3%)

Algorithm
egg-herbie
Rules
594×fma-def_binary64
446×distribute-rgt-out--_binary64
382×sub-neg_binary64
363×distribute-rgt-neg-in_binary64
348×*-commutative_binary64
Counts
108 → 117
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
031158
187142
2211130
3622109
42023109
53826109
64801109
74921109

prune81.0ms (3.5%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1134117
Fresh000
Picked101
Done000
Total1144118
Error
0b
Counts
118 → 4
Alt Table
StatusErrorProgram
0.2b
(/.f64 x (fma.f64 1 (sqrt.f64 (+.f64 x 1)) 1))
1.0b
(/.f64 x (pow.f64 (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4)) 2))
39.7b
(/.f64 x (/.f64 x (-.f64 (sqrt.f64 (+.f64 x 1)) 1)))
21.2b
(*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
Compiler

Compiled 1584 to 1232 computations (22.2% saved)

localize50.0ms (2.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 x 1))
0.0b
(fma.f64 1 (sqrt.f64 (+.f64 x 1)) 1)
0.2b
(/.f64 x (fma.f64 1 (sqrt.f64 (+.f64 x 1)) 1))

series34.0ms (1.5%)

Counts
2 → 8
Calls

2 calls:

28.0ms
(/.f64 x (fma.f64 1 (sqrt.f64 (+.f64 x 1)) 1))
6.0ms
(fma.f64 1 (sqrt.f64 (+.f64 x 1)) 1)

rewrite52.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
703×log1p-expm1-u_binary64
703×expm1-log1p-u_binary64
145×fma-def_binary64
123×log1p-udef_binary64
122×expm1-udef_binary64
Counts
2 → 56
Calls

2 calls:

51.0ms
(fma.f64 1 (sqrt.f64 (+.f64 x 1)) 1)
50.0ms
(/.f64 x (fma.f64 1 (sqrt.f64 (+.f64 x 1)) 1))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0721
114821
2179321
3498021
000
100

simplify74.0ms (3.2%)

Algorithm
egg-herbie
Rules
446×distribute-rgt-out--_binary64
433×fma-def_binary64
394×distribute-rgt-out_binary64
363×distribute-rgt-neg-in_binary64
348×*-commutative_binary64
Counts
64 → 70
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
026111
172101
217993
353078
4178978
5352878
6465078
7490178

prune61.0ms (2.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1040104
Fresh033
Picked011
Done000
Total1044108
Error
0b
Counts
108 → 4
Alt Table
StatusErrorProgram
0.2b
(/.f64 x (fma.f64 1 (sqrt.f64 (+.f64 x 1)) 1))
1.0b
(/.f64 x (pow.f64 (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4)) 2))
39.7b
(/.f64 x (/.f64 x (-.f64 (sqrt.f64 (+.f64 x 1)) 1)))
21.2b
(*.f64 (/.f64 (sqrt.f64 x) 1) (/.f64 (sqrt.f64 x) (+.f64 1 (sqrt.f64 (+.f64 x 1)))))
Compiler

Compiled 1391 to 1090 computations (21.6% saved)

localize9.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (+.f64 x 1) 1/4)
0.0b
(hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))
0.2b
(/.f64 x (pow.f64 (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4)) 2))
0.9b
(pow.f64 (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4)) 2)

series116.0ms (5%)

Counts
4 → 48
Calls

4 calls:

61.0ms
(/.f64 x (pow.f64 (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4)) 2))
30.0ms
(hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))
20.0ms
(pow.f64 (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4)) 2)
4.0ms
(pow.f64 (+.f64 x 1) 1/4)

rewrite63.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
910×log1p-expm1-u_binary64
910×expm1-log1p-u_binary64
158×prod-diff_binary64
100×add-sqr-sqrt_binary64
97×add-log-exp_binary64
Counts
4 → 96
Calls

4 calls:

61.0ms
(pow.f64 (+.f64 x 1) 1/4)
61.0ms
(hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4))
61.0ms
(/.f64 x (pow.f64 (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4)) 2))
61.0ms
(pow.f64 (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4)) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01046
122038
2233538
3575538
000
100

simplify81.0ms (3.5%)

Algorithm
egg-herbie
Rules
961×times-frac_binary64
531×cancel-sign-sub-inv_binary64
210×fma-def_binary64
200×sub-neg_binary64
161×fma-neg_binary64
Counts
144 → 186
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02752905
18192732
228342248
352142248

prune163.0ms (7.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1851186
Fresh112
Picked011
Done011
Total1864190
Error
0b
Counts
190 → 4
Alt Table
StatusErrorProgram
0.2b
(/.f64 x (fma.f64 1 (sqrt.f64 (+.f64 x 1)) 1))
1.0b
(/.f64 x (pow.f64 (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4)) 2))
39.7b
(/.f64 x (/.f64 x (-.f64 (sqrt.f64 (+.f64 x 1)) 1)))
20.8b
(-.f64 (/.f64 x 2) (*.f64 1/2 (/.f64 (*.f64 x x) 4)))
Compiler

Compiled 5075 to 4116 computations (18.9% saved)

localize8.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (*.f64 x x) 4)
0.0b
(-.f64 (/.f64 x 2) (*.f64 1/2 (/.f64 (*.f64 x x) 4)))
0.0b
(*.f64 1/2 (/.f64 (*.f64 x x) 4))

series7.0ms (0.3%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(-.f64 (/.f64 x 2) (*.f64 1/2 (/.f64 (*.f64 x x) 4)))
2.0ms
(*.f64 1/2 (/.f64 (*.f64 x x) 4))
2.0ms
(/.f64 (*.f64 x x) 4)

rewrite74.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
476×log-prod_binary64
327×fma-def_binary64
196×fma-neg_binary64
185×expm1-udef_binary64
185×log1p-udef_binary64
Counts
3 → 177
Calls

3 calls:

70.0ms
(/.f64 (*.f64 x x) 4)
70.0ms
(-.f64 (/.f64 x 2) (*.f64 1/2 (/.f64 (*.f64 x x) 4)))
70.0ms
(*.f64 1/2 (/.f64 (*.f64 x x) 4))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01033
123327
2271727
3497227
000
100

simplify71.0ms (3.1%)

Algorithm
egg-herbie
Rules
687×unsub-neg_binary64
626×fma-neg_binary64
596×fma-def_binary64
521×distribute-rgt-neg-in_binary64
420×distribute-lft-neg-in_binary64
Counts
213 → 186
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
013303
127285
251276
3123258
4318258
5913258
61533258
72468258
83993258
95110258

prune123.0ms (5.4%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1860186
Fresh011
Picked011
Done022
Total1864190
Error
0b
Counts
190 → 4
Alt Table
StatusErrorProgram
0.2b
(/.f64 x (fma.f64 1 (sqrt.f64 (+.f64 x 1)) 1))
1.0b
(/.f64 x (pow.f64 (hypot.f64 1 (pow.f64 (+.f64 x 1) 1/4)) 2))
39.7b
(/.f64 x (/.f64 x (-.f64 (sqrt.f64 (+.f64 x 1)) 1)))
20.8b
(-.f64 (/.f64 x 2) (*.f64 1/2 (/.f64 (*.f64 x x) 4)))
Compiler

Compiled 3397 to 2240 computations (34.1% saved)

regimes139.0ms (6.1%)

Accuracy

Total 0.2b remaining (97.4%)

Threshold costs 0.2b (97.4%)

Counts
57 → 1
Compiler

Compiled 1406 to 1094 computations (22.2% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11112
21012

end69.0ms (3%)

Compiler

Compiled 63 to 49 computations (22.2% saved)

Profiling

Loading profile data...