Details

Time bar (total: 1.5s)

analyze5.0ms (0.3%)

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

Compiled 13 to 10 computations (23.1% saved)

sample861.0ms (58.8%)

Results
741.0ms8256×body128valid
Compiler

Compiled 38 to 29 computations (23.7% saved)

simplify92.0ms (6.3%)

Algorithm
egg-herbie
Rules
997×fma-def_binary64
725×rules-15-rev_binary64
502×rules-20_binary64
178×rules-48_binary64
166×rules-33_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11816
24016
311016
437316
5195016
6461116
7433716
8497116
9497216

prune2.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
Compiler

Compiled 47 to 35 computations (25.5% saved)

localize7.0ms (0.5%)

Local error

Found 3 expressions with local error:

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

series8.0ms (0.5%)

Counts
3 → 36
Calls

3 calls:

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

rewrite66.0ms (4.5%)

Algorithm
batch-egg-rewrite
Rules
925×expm1-log1p-u_binary64
528×prod-diff_binary64
110×egg-rr
86×add-sqr-sqrt_binary64
83×log1p-expm1-u_binary64
Counts
3 → 110
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0830
119730
2260130
3532230
000
100

simplify64.0ms (4.4%)

Algorithm
egg-herbie
Rules
794×fma-neg_binary64
556×rules-20_binary64
499×rules-21_binary64
440×rules-15-rev_binary64
230×fma-def_binary64
Counts
146 → 149
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
059488
1206466
2763398
32593397
44776397
54953397

prune95.0ms (6.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1472149
Fresh000
Picked011
Done000
Total1473150
Error
0b
Counts
150 → 3
Alt Table
StatusErrorProgram
31.8b
(*.f64 (fma.f64 x x 1/2) -2)
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
31.9b
(+.f64 1 (/.f64 2 (*.f64 x x)))
Compiler

Compiled 2508 to 1906 computations (24% saved)

localize6.0ms (0.4%)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done011
Total033
Error
0b
Counts
3 → 3
Alt Table
StatusErrorProgram
31.8b
(*.f64 (fma.f64 x x 1/2) -2)
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
31.9b
(+.f64 1 (/.f64 2 (*.f64 x x)))
Compiler

Compiled 35 to 26 computations (25.7% saved)

localize4.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (/.f64 2 (*.f64 x x)))
0.4b
(/.f64 2 (*.f64 x x))

series5.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

2.0ms
(/.f64 2 (*.f64 x x))
2.0ms
(+.f64 1 (/.f64 2 (*.f64 x x)))

rewrite55.0ms (3.8%)

Algorithm
batch-egg-rewrite
Rules
624×log1p-expm1-u_binary64
624×expm1-log1p-u_binary64
452×fma-neg_binary64
189×prod-diff_binary64
112×expm1-udef_binary64
Counts
2 → 90
Calls

2 calls:

53.0ms
(+.f64 1 (/.f64 2 (*.f64 x x)))
53.0ms
(/.f64 2 (*.f64 x x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0717
116617
2181017
3506317
000
100

simplify74.0ms (5.1%)

Algorithm
egg-herbie
Rules
378×rules-14-rev_binary64
333×rules-20_binary64
284×rules-14_binary64
252×rules-10-rev_binary64
247×rules-49-rev_binary64
Counts
114 → 95
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09183
121183
244183
3101183
4257183
51119183
62852183
74735183
85012183

prune46.0ms (3.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New95095
Fresh000
Picked011
Done022
Total95398
Error
0b
Counts
98 → 3
Alt Table
StatusErrorProgram
31.8b
(*.f64 (fma.f64 x x 1/2) -2)
0.0b
(+.f64 (/.f64 1 (-.f64 x 1)) (/.f64 x (+.f64 x 1)))
31.9b
(+.f64 1 (/.f64 2 (*.f64 x x)))
Compiler

Compiled 1293 to 901 computations (30.3% saved)

regimes24.0ms (1.6%)

Accuracy

Total 0.0b remaining (71.8%)

Threshold costs 0.0b (71.8%)

Counts
14 → 1
Compiler

Compiled 302 to 236 computations (21.9% saved)

simplify1.0ms (0.1%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0816
11016
2916

end47.0ms (3.2%)

Compiler

Compiled 51 to 38 computations (25.5% saved)

Profiling

Loading profile data...