Details

Time bar (total: 2.5s)

analyze391.0ms (15.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
25%50%25%4
25%37.5%37.5%5
25%31.2%43.8%6
25%28.1%46.9%7
25%26.5%48.5%8
25%25.8%49.2%9
25%25.4%49.6%10
25%25.2%49.8%11
25%25.1%49.9%12
25%25%50%13
25%25%50%14
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample1.7s (68.7%)

Results
863.0ms8256×body128valid
807.0ms8327×body128invalid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify28.0ms (1.1%)

Algorithm
egg-herbie
Rules
868×fma-neg_binary64
396×unsub-neg_binary64
348×distribute-neg-in_binary64
330×fma-def_binary64
262×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
11812
22212
33712
47812
515412
636012
775112
8236512
9428412
Stop Event
node limit
Counts
1 → 2

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
36.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
36.2b
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
Compiler

Compiled 38 to 26 computations (31.6% saved)

localize6.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
0.0b
(-.f64 (*.f64 x x) 1)
0.0b
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))
33.9b
(sqrt.f64 (-.f64 (*.f64 x x) 1))

series13.0ms (0.5%)

Counts
4 → 48
Calls

4 calls:

5.0ms
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
3.0ms
(sqrt.f64 (-.f64 (*.f64 x x) 1))
3.0ms
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))
2.0ms
(-.f64 (*.f64 x x) 1)

rewrite50.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
831×log1p-expm1-u_binary64
831×expm1-log1p-u_binary64
124×egg-rr
85×add-sqr-sqrt_binary64
83×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0834
117634
2239634
Stop Event
node limit
Counts
4 → 124
Calls

4 calls:

48.0ms
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
48.0ms
(-.f64 (*.f64 x x) 1)
48.0ms
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))
48.0ms
(sqrt.f64 (-.f64 (*.f64 x x) 1))

simplify38.0ms (1.5%)

Algorithm
egg-herbie
Rules
448×fma-neg_binary64
304×sub-neg_binary64
256×distribute-neg-frac_binary64
231×fma-def_binary64
184×associate-+l+_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0105753
1310702
2929700
33405700
Stop Event
node limit
Counts
172 → 191

prune96.0ms (3.8%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1901191
Fresh000
Picked011
Done000
Total1902192
Error
0b
Counts
192 → 2
Alt Table
StatusErrorProgram
36.2b
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
0.2b
(log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))
Compiler

Compiled 2847 to 2095 computations (26.4% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))

rewrite36.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
606×log1p-expm1-u_binary64
606×expm1-log1p-u_binary64
283×log-prod_binary64
126×expm1-udef_binary64
126×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
114610
2165210
Stop Event
node limit
Counts
1 → 26
Calls

1 calls:

35.0ms
(log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))

simplify26.0ms (1%)

Algorithm
egg-herbie
Rules
729×fma-def_binary64
409×cancel-sign-sub-inv_binary64
350×sub-neg_binary64
309×fma-neg_binary64
240×associate-*l*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
059272
1162258
2510258
31988258
Stop Event
node limit
Counts
38 → 48

prune25.0ms (1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New48048
Fresh000
Picked011
Done011
Total48250
Error
0b
Counts
50 → 2
Alt Table
StatusErrorProgram
36.2b
(log.f64 (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1))))
0.2b
(log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))
Compiler

Compiled 728 to 565 computations (22.4% saved)

regimes30.0ms (1.2%)

Accuracy

Total 0.3b remaining (81.7%)

Threshold costs 0.3b (81.7%)

Counts
10 → 1
Compiler

Compiled 249 to 181 computations (27.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
Stop Event
saturated

end40.0ms (1.6%)

Compiler

Compiled 34 to 25 computations (26.5% saved)

Profiling

Loading profile data...