Details

Time bar (total: 2.7s)

analyze389.0ms (14.2%)

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.8s (66.8%)

Results
868.0ms8256×body128valid
776.0ms8186×body128invalid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify150.0ms (5.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

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 36 to 24 computations (33.3% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series9.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

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

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
log-prod_binary64
add-cube-cbrt_binary64
pow1_binary64
Counts
2 → 32
Calls

2 calls:

3.0ms
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
1.0ms
(sqrt.f64 (fma.f64 x x -1))

simplify68.0ms (2.5%)

Algorithm
egg-herbie
Rules
549×fma-neg_binary64
294×associate-/l/_binary64
291×sub-neg_binary64
254×distribute-neg-frac_binary64
221×fma-def_binary64
Counts
56 → 79
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0136988
1330928
2885889
33023888
44940888
54940888

prune42.0ms (1.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New77279
Fresh000
Picked011
Done000
Total77380
Error
0b
Counts
80 → 3
Alt Table
StatusErrorProgram
0.5b
(log.f64 (+.f64 x x))
31.3b
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
31.3b
(log.f64 (+.f64 x (exp.f64 (log.f64 (sqrt.f64 (fma.f64 x x -1))))))
Compiler

Compiled 1316 to 987 computations (25% saved)

localize3.0ms (0.1%)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done011
Total033
Error
0b
Counts
3 → 3
Alt Table
StatusErrorProgram
0.5b
(log.f64 (+.f64 x x))
31.3b
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
31.3b
(log.f64 (+.f64 x (exp.f64 (log.f64 (sqrt.f64 (fma.f64 x x -1))))))
Compiler

Compiled 36 to 25 computations (30.6% saved)

localize9.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (+.f64 x (exp.f64 (log.f64 (sqrt.f64 (fma.f64 x x -1))))))
5.6b
(exp.f64 (log.f64 (sqrt.f64 (fma.f64 x x -1))))
29.1b
(sqrt.f64 (fma.f64 x x -1))

series11.0ms (0.4%)

Counts
2 → 24
Calls

2 calls:

7.0ms
(log.f64 (+.f64 x (exp.f64 (log.f64 (sqrt.f64 (fma.f64 x x -1))))))
4.0ms
(exp.f64 (log.f64 (sqrt.f64 (fma.f64 x x -1))))

rewrite8.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
10×log-prod_binary64
*-un-lft-identity_binary64
exp-sum_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
2 → 39
Calls

2 calls:

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

simplify70.0ms (2.6%)

Algorithm
egg-herbie
Rules
561×fma-neg_binary64
295×associate-/l/_binary64
294×sub-neg_binary64
254×distribute-neg-frac_binary64
217×fma-def_binary64
Counts
63 → 101
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01591126
13541023
29011020
33046975
44991975
55003975

prune71.0ms (2.6%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1390139
Fresh000
Picked011
Done022
Total1393142
Error
0b
Counts
142 → 3
Alt Table
StatusErrorProgram
0.5b
(log.f64 (+.f64 x x))
31.3b
(log.f64 (+.f64 x (sqrt.f64 (fma.f64 x x -1))))
31.3b
(log.f64 (+.f64 x (exp.f64 (log.f64 (sqrt.f64 (fma.f64 x x -1))))))
Compiler

Compiled 2363 to 1800 computations (23.8% saved)

regimes20.0ms (0.7%)

Accuracy

Total 0.5b remaining (91.5%)

Threshold costs 0.5b (91.5%)

Counts
5 → 1
Compiler

Compiled 165 to 115 computations (30.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
046
146

end41.0ms (1.5%)

Compiler

Compiled 35 to 23 computations (34.3% saved)

Profiling

Loading profile data...