Details

Time bar (total: 1.8s)

analyze6.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 (62.2%)

Results
1.1s8256×body128valid
Compiler

Compiled 38 to 32 computations (15.8% saved)

simplify26.0ms (1.4%)

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.4%)

Local error

Found 3 expressions with local error:

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

series8.0ms (0.4%)

Counts
3 → 24
Calls

3 calls:

4.0ms
(sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
2.0ms
(/.f64 (-.f64 1 x) (+.f64 1 x))
2.0ms
(atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))

rewrite74.0ms (4.2%)

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
Calls

3 calls:

70.0ms
(atan.f64 (sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x))))
70.0ms
(sqrt.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)))
70.0ms
(/.f64 (-.f64 1 x) (+.f64 1 x))

simplify32.0ms (1.8%)

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

prune146.0ms (8.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1861187
Fresh000
Picked101
Done000
Total1871188
Error
0b
Counts
188 → 1
Alt Table
StatusErrorProgram
0b
(*.f64 2 (atan.f64 (sqrt.f64 (pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) -1))))
Compiler

Compiled 6007 to 4034 computations (32.8% saved)

localize8.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series10.0ms (0.6%)

Counts
4 → 48
Calls

4 calls:

4.0ms
(sqrt.f64 (pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) -1))
2.0ms
(pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) -1)
2.0ms
(/.f64 (+.f64 1 x) (-.f64 1 x))
2.0ms
(atan.f64 (sqrt.f64 (pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) -1)))

rewrite57.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
468×log-prod_binary64
186×prod-diff_binary64
178×fma-def_binary64
176×expm1-udef_binary64
175×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01051
121546
2275346
Stop Event
node limit
Counts
4 → 146
Calls

4 calls:

54.0ms
(atan.f64 (sqrt.f64 (pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) -1)))
54.0ms
(pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) -1)
54.0ms
(/.f64 (+.f64 1 x) (-.f64 1 x))
54.0ms
(sqrt.f64 (pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) -1))

simplify35.0ms (2%)

Algorithm
egg-herbie
Rules
530×cancel-sign-sub-inv_binary64
446×fma-neg_binary64
246×fma-def_binary64
232×sub-neg_binary64
190×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
079813
1251766
2819752
33012695
Stop Event
node limit
Counts
194 → 185

prune114.0ms (6.4%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New1850185
Fresh000
Picked011
Done000
Total1851186
Error
0b
Counts
186 → 1
Alt Table
StatusErrorProgram
0b
(*.f64 2 (atan.f64 (sqrt.f64 (pow.f64 (/.f64 (+.f64 1 x) (-.f64 1 x)) -1))))
Compiler

Compiled 3350 to 2807 computations (16.2% saved)

regimes102.0ms (5.7%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
22 → 1
Compiler

Compiled 1577 to 1347 computations (14.6% 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
01220
11820
22120
32320
42420
Stop Event
saturated

end42.0ms (2.4%)

Compiler

Compiled 42 to 36 computations (14.3% saved)

Profiling

Loading profile data...