Details

Time bar (total: 3.1s)

analyze37.0ms (1.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%12.8%87.2%0
0%12.8%87.2%1
0%12.8%87.2%2
6.4%6.4%87.2%3
6.4%4.8%88.8%4
7.2%3.2%89.6%5
7.2%2.4%90.4%6
7.6%1.6%90.8%7
7.6%1.2%91.2%8
7.8%0.8%91.4%9
7.8%0.6%91.5%10
7.9%0.4%91.7%11
8%0.3%91.7%12
8.1%0.2%91.7%13
8.1%0.2%91.8%14
Compiler

Compiled 25 to 17 computations (32% saved)

sample1.4s (45%)

Results
538.0ms5149×body128valid
383.0ms1165×body1024valid
292.0ms1175×body512valid
131.0ms725×body256valid
16.0ms42×body2048valid
7.0ms78×body128invalid
Compiler

Compiled 50 to 34 computations (32% saved)

preprocess24.0ms (0.8%)

Algorithm
egg-herbie
Rules
144×fma-neg_binary64
96×fma-def_binary64
54×cancel-sign-sub-inv_binary64
41×sub-neg_binary64
26×associate--r+_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01124
12124
23524
36324
410224
521024
634924
750124
860324
965524
1066524
022
Stop Event
saturated
saturated
Compiler

Compiled 10 to 6 computations (40% saved)

simplify12.0ms (0.4%)

Algorithm
egg-herbie
Rules
107×fma-def_binary64
72×fma-neg_binary64
29×cancel-sign-sub-inv_binary64
24×distribute-rgt-in_binary64
24×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11212
22012
33412
45512
510312
619612
726912
836312
944112
1049712
1150112
Stop Event
saturated
Counts
1 → 1

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
26.8b
Counts
2 → 1
Alt Table
StatusErrorProgram
26.8b
(-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))
Compiler

Compiled 30 to 18 computations (40% saved)

localize5.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (-.f64 (*.f64 x x) eps))
0.0b
(-.f64 (*.f64 x x) eps)
3.7b
(-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))

series31.0ms (1%)

Counts
3 → 56
Calls

18 calls:

4.0ms
(-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))
eps
-inf
4.0ms
(-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))
eps
inf
3.0ms
(sqrt.f64 (-.f64 (*.f64 x x) eps))
eps
-inf
3.0ms
(-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))
eps
0
3.0ms
(sqrt.f64 (-.f64 (*.f64 x x) eps))
eps
inf

rewrite53.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
871×log1p-expm1-u_binary64
871×expm1-log1p-u_binary64
104×egg-rr
82×add-sqr-sqrt_binary64
81×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0728
116228
2235628
Stop Event
node limit
Counts
3 → 104

simplify42.0ms (1.4%)

Algorithm
egg-herbie
Rules
615×cancel-sign-sub-inv_binary64
324×fma-neg_binary64
230×associate-/r/_binary64
224×associate-/l/_binary64
193×distribute-neg-frac_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
070858
1214844
2615834
32433816
Stop Event
node limit
Counts
160 → 155

prune95.0ms (3.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1514155
Fresh000
Picked011
Done000
Total1515156
Error
0b
Counts
156 → 5
Alt Table
StatusErrorProgram
0.6b
(/.f64 1 (/.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))) (+.f64 (-.f64 (*.f64 x x) (*.f64 x x)) eps)))
26.8b
(-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))
29.7b
(-.f64 x (sqrt.f64 (neg.f64 eps)))
27.2b
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (neg.f64 (sqrt.f64 (-.f64 (*.f64 x x) eps))))
0.3b
(/.f64 (+.f64 (-.f64 (*.f64 x x) (*.f64 x x)) eps) (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))))
Compiler

Compiled 2534 to 1010 computations (60.1% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (-.f64 (*.f64 x x) eps))
0.0b
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))
0.0b
(-.f64 (*.f64 x x) eps)
0.3b
(/.f64 (+.f64 (-.f64 (*.f64 x x) (*.f64 x x)) eps) (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))))

series65.0ms (2.1%)

Counts
2 → 32
Calls

12 calls:

17.0ms
(/.f64 (+.f64 (-.f64 (*.f64 x x) (*.f64 x x)) eps) (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))))
eps
-inf
16.0ms
(/.f64 (+.f64 (-.f64 (*.f64 x x) (*.f64 x x)) eps) (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))))
eps
inf
11.0ms
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))
eps
inf
4.0ms
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))
eps
-inf
3.0ms
(/.f64 (+.f64 (-.f64 (*.f64 x x) (*.f64 x x)) eps) (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))))
x
inf

rewrite73.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
700×fma-def_binary64
308×fma-neg_binary64
183×expm1-udef_binary64
183×log1p-udef_binary64
177×egg-rr
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01030
126124
2392424
Stop Event
node limit
Counts
2 → 177

simplify41.0ms (1.3%)

Algorithm
egg-herbie
Rules
759×cancel-sign-sub-inv_binary64
355×fma-neg_binary64
304×times-frac_binary64
279×distribute-neg-frac_binary64
214×associate-/l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
066786
1202759
2613751
32862717
Stop Event
node limit
Counts
209 → 206

prune155.0ms (5%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3001301
Fresh123
Picked011
Done011
Total3015306
Error
0b
Counts
306 → 5
Alt Table
StatusErrorProgram
26.8b
(-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))
29.7b
(-.f64 x (sqrt.f64 (neg.f64 eps)))
0.6b
(pow.f64 (/.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))) eps) -1)
27.2b
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (neg.f64 (sqrt.f64 (-.f64 (*.f64 x x) eps))))
0.3b
(/.f64 (+.f64 (-.f64 (*.f64 x x) (*.f64 x x)) eps) (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))))
Compiler

Compiled 7647 to 1929 computations (74.8% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series66.0ms (2.2%)

Counts
2 → 32
Calls

12 calls:

17.0ms
(pow.f64 (/.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))) eps) -1)
eps
inf
17.0ms
(pow.f64 (/.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))) eps) -1)
eps
-inf
7.0ms
(/.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))) eps)
eps
-inf
6.0ms
(/.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))) eps)
eps
inf
4.0ms
(pow.f64 (/.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))) eps) -1)
x
inf

rewrite51.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
462×fma-def_binary64
263×fma-neg_binary64
194×expm1-udef_binary64
194×log1p-udef_binary64
177×log-pow_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01033
122730
2325128
Stop Event
node limit
Counts
2 → 77

simplify42.0ms (1.4%)

Algorithm
egg-herbie
Rules
499×fma-neg_binary64
430×times-frac_binary64
283×associate-/l*_binary64
279×unswap-sqr_binary64
271×associate-/r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
087799
1268766
2845758
33851726
Stop Event
node limit
Counts
109 → 122

prune134.0ms (4.4%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New2230223
Fresh022
Picked011
Done022
Total2235228
Error
0b
Counts
228 → 5
Alt Table
StatusErrorProgram
26.8b
(-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))
29.7b
(-.f64 x (sqrt.f64 (neg.f64 eps)))
0.6b
(pow.f64 (/.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))) eps) -1)
27.2b
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (neg.f64 (sqrt.f64 (-.f64 (*.f64 x x) eps))))
0.3b
(/.f64 (+.f64 (-.f64 (*.f64 x x) (*.f64 x x)) eps) (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))))
Compiler

Compiled 4121 to 1681 computations (59.2% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 x x) eps)
0.5b
(pow.f64 (cbrt.f64 x) 2)
0.7b
(cbrt.f64 x)
26.9b
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (neg.f64 (sqrt.f64 (-.f64 (*.f64 x x) eps))))

series66.0ms (2.1%)

Counts
3 → 11
Calls

12 calls:

18.0ms
(pow.f64 (cbrt.f64 x) 2)
x
-inf
10.0ms
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (neg.f64 (sqrt.f64 (-.f64 (*.f64 x x) eps))))
x
-inf
8.0ms
(cbrt.f64 x)
x
-inf
5.0ms
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (neg.f64 (sqrt.f64 (-.f64 (*.f64 x x) eps))))
eps
0
5.0ms
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (neg.f64 (sqrt.f64 (-.f64 (*.f64 x x) eps))))
eps
-inf

rewrite81.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
915×expm1-log1p-u_binary64
711×prod-diff_binary64
175×egg-rr
109×add-sqr-sqrt_binary64
108×log1p-expm1-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01123
123521
2284321
Stop Event
node limit
Counts
3 → 175

simplify24.0ms (0.8%)

Algorithm
egg-herbie
Rules
608×associate-/r*_binary64
414×fma-def_binary64
401×associate-*l*_binary64
379×associate-*l/_binary64
279×associate-*r/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
047200
1137196
2371194
31344188
Stop Event
node limit
Counts
186 → 195

prune190.0ms (6.2%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New2660266
Fresh011
Picked011
Done033
Total2665271
Error
0b
Counts
271 → 5
Alt Table
StatusErrorProgram
26.8b
(-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))
29.7b
(-.f64 x (sqrt.f64 (neg.f64 eps)))
0.6b
(pow.f64 (/.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))) eps) -1)
27.2b
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (neg.f64 (sqrt.f64 (-.f64 (*.f64 x x) eps))))
0.3b
(/.f64 (+.f64 (-.f64 (*.f64 x x) (*.f64 x x)) eps) (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))))
Compiler

Compiled 7802 to 2385 computations (69.4% saved)

regimes293.0ms (9.5%)

Accuracy

Total 0.3b remaining (95.9%)

Threshold costs 0.3b (95.9%)

Counts
83 → 1
Compiler

Compiled 3978 to 2524 computations (36.6% saved)

simplify2.0ms (0.1%)

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
01019
12319
23619
34519
44819
Stop Event
saturated

end82.0ms (2.7%)

Stop Event
fuel
Compiler

Compiled 95 to 57 computations (40% saved)

Profiling

Loading profile data...