Details

Time bar (total: 2.1s)

analyze5.0ms (0.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%50%50%3
25%25%50%4
37.5%12.5%50%5
43.7%6.2%50%6
46.9%3.1%50%7
48.4%1.6%50%8
49.2%0.8%50%9
49.6%0.4%50%10
49.8%0.2%50%11
49.9%0.1%50%12
49.9%0%50%13
49.9%0%50%14
Compiler

Compiled 13 to 11 computations (15.4% saved)

sample1.1s (51.5%)

Results
1.0s8256×body128valid
Compiler

Compiled 26 to 22 computations (15.4% saved)

preprocess35.0ms (1.7%)

Algorithm
egg-herbie
Rules
396×fma-neg_binary64
375×fma-def_binary64
260×div-sub_binary64
121×times-frac_binary64
111×associate-/l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11917
22517
33517
45817
58217
611717
718917
835617
957717
1078917
11113417
12152417
13194017
14218117
011
Stop Event
saturated
saturated
Compiler

Compiled 12 to 10 computations (16.7% saved)

simplify26.0ms (1.3%)

Algorithm
egg-herbie
Rules
396×fma-neg_binary64
375×fma-def_binary64
260×div-sub_binary64
121×times-frac_binary64
111×associate-/l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11917
22517
33517
45817
58217
611717
718917
835617
957717
1078917
11113417
12152417
13194017
14218117
Stop Event
saturated
Counts
1 → 2

prune2.0ms (0.1%)

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 2 (atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))))
Compiler

Compiled 47 to 39 computations (17% saved)

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series11.0ms (0.6%)

Counts
3 → 24
Calls

9 calls:

5.0ms
(sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
x
-inf
2.0ms
(sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
x
inf
1.0ms
(/.f64 (-.f64 1 x) (+.f64 1 x))
x
0
1.0ms
(/.f64 (-.f64 1 x) (+.f64 1 x))
x
inf
1.0ms
(/.f64 (-.f64 1 x) (+.f64 1 x))
x
-inf

rewrite81.0ms (3.9%)

Algorithm
batch-egg-rewrite
Rules
913×log1p-expm1-u_binary64
913×expm1-log1p-u_binary64
311×prod-diff_binary64
161×egg-rr
85×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0836
117736
2240836
Stop Event
node limit
Counts
3 → 161

simplify30.0ms (1.4%)

Algorithm
egg-herbie
Rules
692×fma-def_binary64
444×cancel-sign-sub-inv_binary64
314×fma-neg_binary64
262×associate-/l/_binary64
194×sub-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
061494
1189468
2609456
32374394
Stop Event
node limit
Counts
185 → 187

prune171.0ms (8.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1852187
Fresh000
Picked101
Done000
Total1862188
Error
0b
Counts
188 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (atan.f64 (exp.f64 (*.f64 1/2 (-.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))))))
0.0b
(*.f64 2 (atan.f64 (/.f64 1 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))
Compiler

Compiled 6033 to 4056 computations (32.8% saved)

localize8.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

series12.0ms (0.6%)

Counts
4 → 48
Calls

12 calls:

2.0ms
(/.f64 1 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
x
inf
2.0ms
(/.f64 1 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))
x
-inf
2.0ms
(sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))
x
-inf
2.0ms
(sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)))
x
inf
1.0ms
(/.f64 (+.f64 1 x) (-.f64 1 x))
x
0

rewrite58.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
460×log-prod_binary64
186×prod-diff_binary64
174×fma-def_binary64
168×expm1-udef_binary64
167×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0954
120148
2269548
Stop Event
node limit
Counts
4 → 130

simplify40.0ms (1.9%)

Algorithm
egg-herbie
Rules
472×cancel-sign-sub-inv_binary64
328×sub-neg_binary64
307×associate-+l+_binary64
298×fma-neg_binary64
287×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0831015
1259958
2870947
33555946
Stop Event
node limit
Counts
178 → 168

prune126.0ms (6.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1680168
Fresh011
Picked011
Done000
Total1682170
Error
0b
Counts
170 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (atan.f64 (exp.f64 (*.f64 1/2 (-.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))))))
0.0b
(*.f64 2 (atan.f64 (/.f64 1 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))
Compiler

Compiled 3246 to 2750 computations (15.3% saved)

localize8.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
0.0b
(atan.f64 (exp.f64 (*.f64 1/2 (-.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x)))))

series5.0ms (0.2%)

Counts
2 → 16
Calls

6 calls:

1.0ms
(-.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
x
0
1.0ms
(-.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
x
-inf
1.0ms
(-.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))
x
inf
1.0ms
(atan.f64 (exp.f64 (*.f64 1/2 (-.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x)))))
x
0
1.0ms
(atan.f64 (exp.f64 (*.f64 1/2 (-.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x)))))
x
inf

rewrite43.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
793×expm1-log1p-u_binary64
791×log1p-expm1-u_binary64
391×prod-diff_binary64
103×add-sqr-sqrt_binary64
96×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01027
120723
2270623
Stop Event
node limit
Counts
2 → 67

simplify32.0ms (1.6%)

Algorithm
egg-herbie
Rules
622×fma-neg_binary64
452×sub-neg_binary64
326×cancel-sign-sub-inv_binary64
194×associate-+l-_binary64
189×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
055254
1161248
2473240
31609238
44252238
Stop Event
node limit
Counts
83 → 92

prune58.0ms (2.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh000
Picked011
Done011
Total92294
Error
0b
Counts
94 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (atan.f64 (exp.f64 (*.f64 1/2 (-.f64 (log1p.f64 (neg.f64 x)) (log1p.f64 x))))))
0.0b
(*.f64 2 (atan.f64 (/.f64 1 (sqrt.f64 (/.f64 (+.f64 1 x) (-.f64 1 x))))))
Compiler

Compiled 1742 to 1111 computations (36.2% saved)

regimes136.0ms (6.6%)

Accuracy

Total 0.0b remaining (67.6%)

Threshold costs 0.0b (67.6%)

Counts
32 → 1
Compiler

Compiled 2530 to 2155 computations (14.8% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01120
11720
22120
32320
42420
Stop Event
saturated

end102.0ms (4.9%)

Stop Event
done
Compiler

Compiled 55 to 47 computations (14.5% saved)

Profiling

Loading profile data...