Details

Time bar (total: 5.1s)

analyze764.0ms (15.1%)

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)

sample3.3s (65.2%)

Results
1.6s8256×body128valid
1.5s8309×body128invalid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify175.0ms (3.5%)

Algorithm
egg-herbie
Rules
871×fma-neg_binary64
804×unsub-neg_binary64
461×distribute-neg-in_binary64
434×sub-neg_binary64
338×distribute-rgt-out_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
11812
22212
33712
46412
511312
624712
750012
8156012
9251312
10321812
11360212
12380312
13397412
14407512
15439212
16483612
17489812
18490112

prune5.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
32.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
32.3b
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
Compiler

Compiled 36 to 24 computations (33.3% saved)

localize13.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
0.0b
(+.f64 x (sqrt.f64 (fma.f64 x x -1)))
30.0b
(sqrt.f64 (fma.f64 x x -1))

series25.0ms (0.5%)

Counts
3 → 36
Calls

3 calls:

12.0ms
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
7.0ms
(sqrt.f64 (fma.f64 x x -1))
6.0ms
(+.f64 x (sqrt.f64 (fma.f64 x x -1)))

rewrite16.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-log-exp_binary64
pow1_binary64
Counts
3 → 49
Calls

3 calls:

6.0ms
(+.f64 x (sqrt.f64 (fma.f64 x x -1)))
6.0ms
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
2.0ms
(sqrt.f64 (fma.f64 x x -1))

simplify120.0ms (2.4%)

Algorithm
egg-herbie
Rules
583×fma-neg_binary64
330×sub-neg_binary64
301×fma-def_binary64
254×distribute-neg-frac_binary64
210×associate-+l+_binary64
Counts
85 → 118
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01591395
14011305
210521265
334241265
447731265
549151265

prune122.0ms (2.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1162118
Fresh000
Picked101
Done000
Total1172119
Error
0b
Counts
119 → 2
Alt Table
StatusErrorProgram
32.3b
(log.f64 (+.f64 x (expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x x -1))))))
0.1b
(log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))
Compiler

Compiled 1903 to 1421 computations (25.3% saved)

localize10.0ms (0.2%)

prune3.0ms (0.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done000
Total022
Error
0b
Counts
2 → 2
Alt Table
StatusErrorProgram
32.3b
(log.f64 (+.f64 x (expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x x -1))))))
0.1b
(log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))
Compiler

Compiled 30 to 22 computations (26.7% saved)

localize20.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (+.f64 x (expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x x -1))))))
0.0b
(+.f64 x (expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x x -1)))))
5.8b
(expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x x -1))))
30.0b
(sqrt.f64 (fma.f64 x x -1))

series25.0ms (0.5%)

Counts
3 → 36
Calls

3 calls:

11.0ms
(log.f64 (+.f64 x (expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x x -1))))))
7.0ms
(expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x x -1))))
6.0ms
(+.f64 x (expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x x -1)))))

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-log-exp_binary64
log-prod_binary64
Counts
3 → 46
Calls

3 calls:

6.0ms
(+.f64 x (expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x x -1)))))
4.0ms
(log.f64 (+.f64 x (expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x x -1))))))
1.0ms
(expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x x -1))))

simplify127.0ms (2.5%)

Algorithm
egg-herbie
Rules
580×fma-neg_binary64
333×sub-neg_binary64
297×fma-def_binary64
254×distribute-neg-frac_binary64
206×associate-+l+_binary64
Counts
82 → 136
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01571433
13981295
210331291
334071245
447541245
549001245

prune174.0ms (3.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1740174
Fresh000
Picked011
Done011
Total1742176
Error
0b
Counts
176 → 2
Alt Table
StatusErrorProgram
32.3b
(log.f64 (+.f64 x (expm1.f64 (log1p.f64 (sqrt.f64 (fma.f64 x x -1))))))
0.1b
(log.f64 (fma.f64 x 2 (/.f64 -1/2 x)))
Compiler

Compiled 2902 to 2206 computations (24% saved)

regimes61.0ms (1.2%)

Accuracy

Total 0.3b remaining (84.1%)

Threshold costs 0.3b (84.1%)

Counts
10 → 1
Compiler

Compiled 258 to 187 computations (27.5% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
1710

end85.0ms (1.7%)

Compiler

Compiled 35 to 26 computations (25.7% saved)

Profiling

Loading profile data...