Details

Time bar (total: 1.3s)

analyze3.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
87.5%12.5%0%4
93.7%6.2%0%5
96.8%3.1%0%6
98.4%1.6%0%7
99.2%0.8%0%8
99.6%0.4%0%9
99.8%0.2%0%10
99.9%0.1%0%11
99.9%0%0%12
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample705.0ms (53.8%)

Results
647.0ms8256×body128valid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify38.0ms (2.9%)

Algorithm
egg-herbie
Rules
476×fma-def_binary64
327×fma-neg_binary64
233×div-sub_binary64
160×times-frac_binary64
138×associate-/l/_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
11110
21510
32110
42810
53810
64810
76210
88110
910010
1012110
1114310
1220610
1328910
1435510
1547610
1663510
1768910
1878410
1980010
2072110

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 1) (-.f64 1 x))
Compiler

Compiled 24 to 18 computations (25% saved)

localize4.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))

series2.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

2.0ms
(/.f64 (+.f64 x 1) (-.f64 1 x))

rewrite43.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
737×log1p-expm1-u_binary64
737×expm1-log1p-u_binary64
241×prod-diff_binary64
69×add-sqr-sqrt_binary64
65×add-log-exp_binary64
Counts
1 → 36
Calls

1 calls:

42.0ms
(/.f64 (+.f64 x 1) (-.f64 1 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
113610
2182310
3498810

simplify51.0ms (3.9%)

Algorithm
egg-herbie
Rules
690×fma-neg_binary64
689×distribute-neg-frac_binary64
604×fma-def_binary64
436×cancel-sign-sub-inv_binary64
307×associate-/l/_binary64
Counts
48 → 50
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
032151
1101130
2287128
3756128
41839124
53993124
65048124

prune32.0ms (2.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New47350
Fresh000
Picked011
Done000
Total47451
Error
0b
Counts
51 → 4
Alt Table
StatusErrorProgram
15.2b
(*.f64 (sqrt.f64 (+.f64 x 1)) (*.f64 (sqrt.f64 (+.f64 x 1)) (/.f64 1 (-.f64 1 x))))
35.2b
(-.f64 -1 (/.f64 2 x))
27.5b
(fma.f64 2 x 1)
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
Compiler

Compiled 653 to 510 computations (21.9% saved)

localize7.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series16.0ms (1.2%)

Counts
4 → 32
Calls

4 calls:

7.0ms
(*.f64 (sqrt.f64 (+.f64 x 1)) (/.f64 1 (-.f64 1 x)))
5.0ms
(sqrt.f64 (+.f64 x 1))
2.0ms
(*.f64 (sqrt.f64 (+.f64 x 1)) (*.f64 (sqrt.f64 (+.f64 x 1)) (/.f64 1 (-.f64 1 x))))
2.0ms
(/.f64 1 (-.f64 1 x))

rewrite112.0ms (8.6%)

Algorithm
batch-egg-rewrite
Rules
477×log-prod_binary64
467×prod-diff_binary64
180×fma-def_binary64
162×expm1-udef_binary64
162×log1p-udef_binary64
Counts
4 → 118
Calls

4 calls:

108.0ms
(sqrt.f64 (+.f64 x 1))
108.0ms
(/.f64 1 (-.f64 1 x))
108.0ms
(*.f64 (sqrt.f64 (+.f64 x 1)) (*.f64 (sqrt.f64 (+.f64 x 1)) (/.f64 1 (-.f64 1 x))))
108.0ms
(*.f64 (sqrt.f64 (+.f64 x 1)) (/.f64 1 (-.f64 1 x)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0938
119935
2243935
3496235
4542635

simplify87.0ms (6.6%)

Algorithm
egg-herbie
Rules
649×div-sub_binary64
555×times-frac_binary64
429×sub-neg_binary64
320×fma-def_binary64
265×associate-*l*_binary64
Counts
150 → 156
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
072424
1205381
2575369
31507364
43207364
54182364
64799364
75188364

prune128.0ms (9.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1940194
Fresh022
Picked011
Done011
Total1944198
Error
0b
Counts
198 → 4
Alt Table
StatusErrorProgram
15.2b
(*.f64 (sqrt.f64 (+.f64 x 1)) (*.f64 (sqrt.f64 (+.f64 x 1)) (/.f64 1 (-.f64 1 x))))
35.2b
(-.f64 -1 (/.f64 2 x))
27.5b
(fma.f64 2 x 1)
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
Compiler

Compiled 3455 to 2759 computations (20.1% saved)

localize2.0ms (0.2%)

prune2.0ms (0.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done022
Total044
Error
0b
Counts
4 → 4
Alt Table
StatusErrorProgram
15.2b
(*.f64 (sqrt.f64 (+.f64 x 1)) (*.f64 (sqrt.f64 (+.f64 x 1)) (/.f64 1 (-.f64 1 x))))
35.2b
(-.f64 -1 (/.f64 2 x))
27.5b
(fma.f64 2 x 1)
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
Compiler

Compiled 41 to 33 computations (19.5% saved)

localize3.0ms (0.2%)

prune2.0ms (0.1%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done033
Total044
Error
0b
Counts
4 → 4
Alt Table
StatusErrorProgram
15.2b
(*.f64 (sqrt.f64 (+.f64 x 1)) (*.f64 (sqrt.f64 (+.f64 x 1)) (/.f64 1 (-.f64 1 x))))
35.2b
(-.f64 -1 (/.f64 2 x))
27.5b
(fma.f64 2 x 1)
0.0b
(/.f64 (+.f64 x 1) (-.f64 1 x))
Compiler

Compiled 35 to 28 computations (20% saved)

regimes18.0ms (1.4%)

Accuracy

Total 0.0b remaining (59.3%)

Threshold costs 0.0b (59.3%)

Counts
10 → 1
Compiler

Compiled 186 to 148 computations (20.4% saved)

simplify2.0ms (0.2%)

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
0610
11110
21510
31710
41810
51710

end53.0ms (4.1%)

Compiler

Compiled 51 to 40 computations (21.6% saved)

Profiling

Loading profile data...