Details

Time bar (total: 3.1s)

analyze5.0ms (0.2%)

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 (35.5%)

Results
1.0s8256×body128valid
Compiler

Compiled 38 to 32 computations (15.8% saved)

simplify27.0ms (0.9%)

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

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))

series8.0ms (0.2%)

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))))

rewrite77.0ms (2.5%)

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:

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

simplify30.0ms (1%)

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

prune209.0ms (6.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 6101 to 4112 computations (32.6% saved)

localize8.0ms (0.2%)

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))

series13.0ms (0.4%)

Counts
4 → 48
Calls

4 calls:

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

rewrite53.0ms (1.7%)

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
Calls

4 calls:

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

simplify38.0ms (1.2%)

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

prune155.0ms (5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1671168
Fresh112
Picked101
Done000
Total1692171
Error
0b
Counts
171 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (atan.f64 (/.f64 1 (*.f64 (sqrt.f64 (+.f64 1 x)) (/.f64 1 (sqrt.f64 (-.f64 1 x)))))))
0.0b
(*.f64 2 (atan.f64 (pow.f64 (pow.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)) 3/2) 1/3)))
Compiler

Compiled 3270 to 2772 computations (15.2% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series17.0ms (0.6%)

Counts
4 → 32
Calls

4 calls:

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

rewrite55.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
543×log-prod_binary64
196×expm1-udef_binary64
195×log1p-udef_binary64
191×log-pow_binary64
190×fma-def_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01148
124241
2312441
Stop Event
node limit
Counts
4 → 113
Calls

4 calls:

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

simplify29.0ms (1%)

Algorithm
egg-herbie
Rules
961×fma-def_binary64
230×distribute-neg-in_binary64
206×sub-neg_binary64
202×cancel-sign-sub-inv_binary64
190×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
068604
1191582
2597569
32440553
Stop Event
node limit
Counts
145 → 137

prune113.0ms (3.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1370137
Fresh011
Picked011
Done000
Total1372139
Error
0b
Counts
139 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (atan.f64 (/.f64 1 (*.f64 (sqrt.f64 (+.f64 1 x)) (/.f64 1 (sqrt.f64 (-.f64 1 x)))))))
0.0b
(*.f64 2 (atan.f64 (pow.f64 (pow.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)) 3/2) 1/3)))
Compiler

Compiled 2750 to 2388 computations (13.2% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series15.0ms (0.5%)

Counts
3 → 24
Calls

3 calls:

10.0ms
(pow.f64 (pow.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)) 3/2) 1/3)
3.0ms
(pow.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)) 3/2)
2.0ms
(atan.f64 (pow.f64 (pow.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)) 3/2) 1/3))

rewrite47.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
311×prod-diff_binary64
194×expm1-udef_binary64
193×log1p-udef_binary64
184×fma-def_binary64
168×log-pow_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01141
125039
2309939
Stop Event
node limit
Counts
3 → 64
Calls

3 calls:

46.0ms
(pow.f64 (pow.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)) 3/2) 1/3)
46.0ms
(pow.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)) 3/2)
46.0ms
(atan.f64 (pow.f64 (pow.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)) 3/2) 1/3))

simplify85.0ms (2.8%)

Algorithm
egg-herbie
Rules
677×fma-neg_binary64
316×sub-neg_binary64
233×distribute-rgt-neg-in_binary64
226×distribute-neg-frac_binary64
222×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
065569
1191533
2690483
33033464
Stop Event
node limit
Counts
88 → 89

prune197.0ms (6.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2150215
Fresh000
Picked011
Done011
Total2152217
Error
0b
Counts
217 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 2 (atan.f64 (/.f64 1 (*.f64 (sqrt.f64 (+.f64 1 x)) (/.f64 1 (sqrt.f64 (-.f64 1 x)))))))
0.0b
(*.f64 2 (atan.f64 (pow.f64 (pow.f64 (/.f64 (-.f64 1 x) (+.f64 1 x)) 3/2) 1/3)))
Compiler

Compiled 6964 to 4907 computations (29.5% saved)

regimes701.0ms (22.9%)

Accuracy

Total 0.0b remaining (35.2%)

Threshold costs 0.0b (35.2%)

Counts
161 → 1
Compiler

Compiled 15123 to 12692 computations (16.1% 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
0144294967295
1214294967295
2264294967295
3294294967295
4304294967295
Stop Event
saturated

end66.0ms (2.2%)

Compiler

Compiled 62 to 54 computations (12.9% saved)

Profiling

Loading profile data...